FactoryNFT

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FactoryNFTABI = FactoryNFTMetaData.ABI

FactoryNFTABI is the input ABI used to generate the binding from. Deprecated: Use FactoryNFTMetaData.ABI instead.

View Source
var FactoryNFTMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"collection\",\"type\":\"address\"}],\"name\":\"CollectionCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"Collections\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"smbl_\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"file_ids\",\"type\":\"string[]\"}],\"name\":\"CreateCollection\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasure_fund\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

FactoryNFTMetaData contains all meta data concerning the FactoryNFT contract.

Functions

This section is empty.

Types

type FactoryNFT

type FactoryNFT struct {
	FactoryNFTCaller     // Read-only binding to the contract
	FactoryNFTTransactor // Write-only binding to the contract
	FactoryNFTFilterer   // Log filterer for contract events
}

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

func NewFactoryNFT

func NewFactoryNFT(address common.Address, backend bind.ContractBackend) (*FactoryNFT, error)

NewFactoryNFT creates a new instance of FactoryNFT, bound to a specific deployed contract.

type FactoryNFTCaller

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

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

func NewFactoryNFTCaller

func NewFactoryNFTCaller(address common.Address, caller bind.ContractCaller) (*FactoryNFTCaller, error)

NewFactoryNFTCaller creates a new read-only instance of FactoryNFT, bound to a specific deployed contract.

func (*FactoryNFTCaller) Collections added in v0.3.0

func (_FactoryNFT *FactoryNFTCaller) Collections(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

Collections is a free data retrieval call binding the contract method 0x144ee425.

Solidity: function Collections(address ) view returns(address)

func (*FactoryNFTCaller) Owner

func (_FactoryNFT *FactoryNFTCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FactoryNFTCaller) TreasureFund added in v0.1.0

func (_FactoryNFT *FactoryNFTCaller) TreasureFund(opts *bind.CallOpts) (common.Address, error)

TreasureFund is a free data retrieval call binding the contract method 0xf9a4bb1e.

Solidity: function treasure_fund() view returns(address)

type FactoryNFTCallerRaw

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

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

func (*FactoryNFTCallerRaw) Call

func (_FactoryNFT *FactoryNFTCallerRaw) 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 FactoryNFTCallerSession

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

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

func (*FactoryNFTCallerSession) Collections added in v0.3.0

func (_FactoryNFT *FactoryNFTCallerSession) Collections(arg0 common.Address) (common.Address, error)

Collections is a free data retrieval call binding the contract method 0x144ee425.

Solidity: function Collections(address ) view returns(address)

func (*FactoryNFTCallerSession) Owner

func (_FactoryNFT *FactoryNFTCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FactoryNFTCallerSession) TreasureFund added in v0.1.0

func (_FactoryNFT *FactoryNFTCallerSession) TreasureFund() (common.Address, error)

TreasureFund is a free data retrieval call binding the contract method 0xf9a4bb1e.

Solidity: function treasure_fund() view returns(address)

type FactoryNFTCollectionCreated added in v0.3.0

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

FactoryNFTCollectionCreated represents a CollectionCreated event raised by the FactoryNFT contract.

type FactoryNFTCollectionCreatedIterator added in v0.3.0

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

FactoryNFTCollectionCreatedIterator is returned from FilterCollectionCreated and is used to iterate over the raw logs and unpacked data for CollectionCreated events raised by the FactoryNFT contract.

func (*FactoryNFTCollectionCreatedIterator) Close added in v0.3.0

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

func (*FactoryNFTCollectionCreatedIterator) Error added in v0.3.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FactoryNFTCollectionCreatedIterator) Next added in v0.3.0

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 FactoryNFTFilterer

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

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

func NewFactoryNFTFilterer

func NewFactoryNFTFilterer(address common.Address, filterer bind.ContractFilterer) (*FactoryNFTFilterer, error)

NewFactoryNFTFilterer creates a new log filterer instance of FactoryNFT, bound to a specific deployed contract.

func (*FactoryNFTFilterer) FilterCollectionCreated added in v0.3.0

func (_FactoryNFT *FactoryNFTFilterer) FilterCollectionCreated(opts *bind.FilterOpts, creator []common.Address) (*FactoryNFTCollectionCreatedIterator, error)

FilterCollectionCreated is a free log retrieval operation binding the contract event 0x5d0de243db1669e3a7056744cd715c625f0c1c348736c2c2d53d0ddebff1a6c7.

Solidity: event CollectionCreated(address indexed creator, address collection)

func (*FactoryNFTFilterer) FilterOwnershipTransferred

func (_FactoryNFT *FactoryNFTFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FactoryNFTOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FactoryNFTFilterer) ParseCollectionCreated added in v0.3.0

func (_FactoryNFT *FactoryNFTFilterer) ParseCollectionCreated(log types.Log) (*FactoryNFTCollectionCreated, error)

ParseCollectionCreated is a log parse operation binding the contract event 0x5d0de243db1669e3a7056744cd715c625f0c1c348736c2c2d53d0ddebff1a6c7.

Solidity: event CollectionCreated(address indexed creator, address collection)

func (*FactoryNFTFilterer) ParseOwnershipTransferred

func (_FactoryNFT *FactoryNFTFilterer) ParseOwnershipTransferred(log types.Log) (*FactoryNFTOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FactoryNFTFilterer) WatchCollectionCreated added in v0.3.0

func (_FactoryNFT *FactoryNFTFilterer) WatchCollectionCreated(opts *bind.WatchOpts, sink chan<- *FactoryNFTCollectionCreated, creator []common.Address) (event.Subscription, error)

WatchCollectionCreated is a free log subscription operation binding the contract event 0x5d0de243db1669e3a7056744cd715c625f0c1c348736c2c2d53d0ddebff1a6c7.

Solidity: event CollectionCreated(address indexed creator, address collection)

func (*FactoryNFTFilterer) WatchOwnershipTransferred

func (_FactoryNFT *FactoryNFTFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FactoryNFTOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type FactoryNFTOwnershipTransferred

type FactoryNFTOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FactoryNFTOwnershipTransferred represents a OwnershipTransferred event raised by the FactoryNFT contract.

type FactoryNFTOwnershipTransferredIterator

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

FactoryNFTOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the FactoryNFT contract.

func (*FactoryNFTOwnershipTransferredIterator) Close

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

func (*FactoryNFTOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FactoryNFTOwnershipTransferredIterator) Next

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 FactoryNFTRaw

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

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

func (*FactoryNFTRaw) Call

func (_FactoryNFT *FactoryNFTRaw) 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 (*FactoryNFTRaw) Transact

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

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

func (*FactoryNFTRaw) Transfer

func (_FactoryNFT *FactoryNFTRaw) 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 FactoryNFTSession

type FactoryNFTSession struct {
	Contract     *FactoryNFT       // 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
}

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

func (*FactoryNFTSession) Collections added in v0.3.0

func (_FactoryNFT *FactoryNFTSession) Collections(arg0 common.Address) (common.Address, error)

Collections is a free data retrieval call binding the contract method 0x144ee425.

Solidity: function Collections(address ) view returns(address)

func (*FactoryNFTSession) CreateCollection

func (_FactoryNFT *FactoryNFTSession) CreateCollection(name_ string, smbl_ string, file_ids []string) (*types.Transaction, error)

CreateCollection is a paid mutator transaction binding the contract method 0x0f1d60c9.

Solidity: function CreateCollection(string name_, string smbl_, string[] file_ids) returns(address)

func (*FactoryNFTSession) Owner

func (_FactoryNFT *FactoryNFTSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FactoryNFTSession) RenounceOwnership

func (_FactoryNFT *FactoryNFTSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FactoryNFTSession) TransferOwnership

func (_FactoryNFT *FactoryNFTSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FactoryNFTSession) TreasureFund added in v0.1.0

func (_FactoryNFT *FactoryNFTSession) TreasureFund() (common.Address, error)

TreasureFund is a free data retrieval call binding the contract method 0xf9a4bb1e.

Solidity: function treasure_fund() view returns(address)

type FactoryNFTTransactor

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

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

func NewFactoryNFTTransactor

func NewFactoryNFTTransactor(address common.Address, transactor bind.ContractTransactor) (*FactoryNFTTransactor, error)

NewFactoryNFTTransactor creates a new write-only instance of FactoryNFT, bound to a specific deployed contract.

func (*FactoryNFTTransactor) CreateCollection

func (_FactoryNFT *FactoryNFTTransactor) CreateCollection(opts *bind.TransactOpts, name_ string, smbl_ string, file_ids []string) (*types.Transaction, error)

CreateCollection is a paid mutator transaction binding the contract method 0x0f1d60c9.

Solidity: function CreateCollection(string name_, string smbl_, string[] file_ids) returns(address)

func (*FactoryNFTTransactor) RenounceOwnership

func (_FactoryNFT *FactoryNFTTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FactoryNFTTransactor) TransferOwnership

func (_FactoryNFT *FactoryNFTTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type FactoryNFTTransactorRaw

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

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

func (*FactoryNFTTransactorRaw) Transact

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

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

func (*FactoryNFTTransactorRaw) Transfer

func (_FactoryNFT *FactoryNFTTransactorRaw) 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 FactoryNFTTransactorSession

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

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

func (*FactoryNFTTransactorSession) CreateCollection

func (_FactoryNFT *FactoryNFTTransactorSession) CreateCollection(name_ string, smbl_ string, file_ids []string) (*types.Transaction, error)

CreateCollection is a paid mutator transaction binding the contract method 0x0f1d60c9.

Solidity: function CreateCollection(string name_, string smbl_, string[] file_ids) returns(address)

func (*FactoryNFTTransactorSession) RenounceOwnership

func (_FactoryNFT *FactoryNFTTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FactoryNFTTransactorSession) TransferOwnership

func (_FactoryNFT *FactoryNFTTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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