factory

package
v0.0.0-...-499f22c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FactoryABI = FactoryMetaData.ABI

FactoryABI is the input ABI used to generate the binding from. Deprecated: Use FactoryMetaData.ABI instead.

View Source
var FactoryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"nft\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"}],\"name\":\"NFTCreated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"create\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

FactoryMetaData contains all meta data concerning the Factory contract.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	FactoryCaller     // Read-only binding to the contract
	FactoryTransactor // Write-only binding to the contract
	FactoryFilterer   // Log filterer for contract events
}

Factory is an auto generated Go binding around an Ethereum contract.

func NewFactory

func NewFactory(address common.Address, backend bind.ContractBackend) (*Factory, error)

NewFactory creates a new instance of Factory, bound to a specific deployed contract.

type FactoryCaller

type FactoryCaller struct {
	// contains filtered or unexported fields
}

FactoryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewFactoryCaller

func NewFactoryCaller(address common.Address, caller bind.ContractCaller) (*FactoryCaller, error)

NewFactoryCaller creates a new read-only instance of Factory, bound to a specific deployed contract.

type FactoryCallerRaw

type FactoryCallerRaw struct {
	Contract *FactoryCaller // Generic read-only contract binding to access the raw methods on
}

FactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*FactoryCallerRaw) Call

func (_Factory *FactoryCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type FactoryCallerSession

type FactoryCallerSession struct {
	Contract *FactoryCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

FactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type FactoryFilterer

type FactoryFilterer struct {
	// contains filtered or unexported fields
}

FactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewFactoryFilterer

func NewFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*FactoryFilterer, error)

NewFactoryFilterer creates a new log filterer instance of Factory, bound to a specific deployed contract.

func (*FactoryFilterer) FilterNFTCreated

func (_Factory *FactoryFilterer) FilterNFTCreated(opts *bind.FilterOpts, nft []common.Address) (*FactoryNFTCreatedIterator, error)

FilterNFTCreated is a free log retrieval operation binding the contract event 0xe4944a5f0bf5ee82c3c6769e53000a678b52be77b461a2e8f7b3434eff94670e.

Solidity: event NFTCreated(address indexed nft, address creator)

func (*FactoryFilterer) ParseNFTCreated

func (_Factory *FactoryFilterer) ParseNFTCreated(log types.Log) (*FactoryNFTCreated, error)

ParseNFTCreated is a log parse operation binding the contract event 0xe4944a5f0bf5ee82c3c6769e53000a678b52be77b461a2e8f7b3434eff94670e.

Solidity: event NFTCreated(address indexed nft, address creator)

func (*FactoryFilterer) WatchNFTCreated

func (_Factory *FactoryFilterer) WatchNFTCreated(opts *bind.WatchOpts, sink chan<- *FactoryNFTCreated, nft []common.Address) (event.Subscription, error)

WatchNFTCreated is a free log subscription operation binding the contract event 0xe4944a5f0bf5ee82c3c6769e53000a678b52be77b461a2e8f7b3434eff94670e.

Solidity: event NFTCreated(address indexed nft, address creator)

type FactoryNFTCreated

type FactoryNFTCreated struct {
	Nft     common.Address
	Creator common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

FactoryNFTCreated represents a NFTCreated event raised by the Factory contract.

type FactoryNFTCreatedIterator

type FactoryNFTCreatedIterator struct {
	Event *FactoryNFTCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

FactoryNFTCreatedIterator is returned from FilterNFTCreated and is used to iterate over the raw logs and unpacked data for NFTCreated events raised by the Factory contract.

func (*FactoryNFTCreatedIterator) Close

func (it *FactoryNFTCreatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*FactoryNFTCreatedIterator) Error

func (it *FactoryNFTCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FactoryNFTCreatedIterator) Next

func (it *FactoryNFTCreatedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type FactoryRaw

type FactoryRaw struct {
	Contract *Factory // Generic contract binding to access the raw methods on
}

FactoryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*FactoryRaw) Call

func (_Factory *FactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*FactoryRaw) Transact

func (_Factory *FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*FactoryRaw) Transfer

func (_Factory *FactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type FactorySession

type FactorySession struct {
	Contract     *Factory          // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

FactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*FactorySession) Create

func (_Factory *FactorySession) Create() (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0xefc81a8c.

Solidity: function create() returns()

type FactoryTransactor

type FactoryTransactor struct {
	// contains filtered or unexported fields
}

FactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewFactoryTransactor

func NewFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*FactoryTransactor, error)

NewFactoryTransactor creates a new write-only instance of Factory, bound to a specific deployed contract.

func (*FactoryTransactor) Create

func (_Factory *FactoryTransactor) Create(opts *bind.TransactOpts) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0xefc81a8c.

Solidity: function create() returns()

type FactoryTransactorRaw

type FactoryTransactorRaw struct {
	Contract *FactoryTransactor // Generic write-only contract binding to access the raw methods on
}

FactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*FactoryTransactorRaw) Transact

func (_Factory *FactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*FactoryTransactorRaw) Transfer

func (_Factory *FactoryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type FactoryTransactorSession

type FactoryTransactorSession struct {
	Contract     *FactoryTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

FactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*FactoryTransactorSession) Create

func (_Factory *FactoryTransactorSession) Create() (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0xefc81a8c.

Solidity: function create() returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL