Documentation ¶
Index ¶
- Constants
- Variables
- type Collectibles
- type CollectiblesApproval
- type CollectiblesApprovalForAll
- type CollectiblesApprovalForAllIterator
- type CollectiblesApprovalIterator
- type CollectiblesCaller
- func (_Collectibles *CollectiblesCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Collectibles *CollectiblesCaller) BaseTokenURI(opts *bind.CallOpts) (string, error)
- func (_Collectibles *CollectiblesCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Collectibles *CollectiblesCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Collectibles *CollectiblesCaller) MasterToken(opts *bind.CallOpts) (common.Address, error)
- func (_Collectibles *CollectiblesCaller) MaxSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Collectibles *CollectiblesCaller) MintedCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Collectibles *CollectiblesCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Collectibles *CollectiblesCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Collectibles *CollectiblesCaller) OwnerToken(opts *bind.CallOpts) (common.Address, error)
- func (_Collectibles *CollectiblesCaller) RemoteBurnable(opts *bind.CallOpts) (bool, error)
- func (_Collectibles *CollectiblesCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Collectibles *CollectiblesCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Collectibles *CollectiblesCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
- func (_Collectibles *CollectiblesCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
- func (_Collectibles *CollectiblesCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_Collectibles *CollectiblesCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Collectibles *CollectiblesCaller) Transferable(opts *bind.CallOpts) (bool, error)
- type CollectiblesCallerRaw
- type CollectiblesCallerSession
- func (_Collectibles *CollectiblesCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Collectibles *CollectiblesCallerSession) BaseTokenURI() (string, error)
- func (_Collectibles *CollectiblesCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Collectibles *CollectiblesCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Collectibles *CollectiblesCallerSession) MasterToken() (common.Address, error)
- func (_Collectibles *CollectiblesCallerSession) MaxSupply() (*big.Int, error)
- func (_Collectibles *CollectiblesCallerSession) MintedCount() (*big.Int, error)
- func (_Collectibles *CollectiblesCallerSession) Name() (string, error)
- func (_Collectibles *CollectiblesCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Collectibles *CollectiblesCallerSession) OwnerToken() (common.Address, error)
- func (_Collectibles *CollectiblesCallerSession) RemoteBurnable() (bool, error)
- func (_Collectibles *CollectiblesCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Collectibles *CollectiblesCallerSession) Symbol() (string, error)
- func (_Collectibles *CollectiblesCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_Collectibles *CollectiblesCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_Collectibles *CollectiblesCallerSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Collectibles *CollectiblesCallerSession) TotalSupply() (*big.Int, error)
- func (_Collectibles *CollectiblesCallerSession) Transferable() (bool, error)
- type CollectiblesFilterer
- func (_Collectibles *CollectiblesFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*CollectiblesApprovalIterator, error)
- func (_Collectibles *CollectiblesFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*CollectiblesApprovalForAllIterator, error)
- func (_Collectibles *CollectiblesFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*CollectiblesTransferIterator, error)
- func (_Collectibles *CollectiblesFilterer) ParseApproval(log types.Log) (*CollectiblesApproval, error)
- func (_Collectibles *CollectiblesFilterer) ParseApprovalForAll(log types.Log) (*CollectiblesApprovalForAll, error)
- func (_Collectibles *CollectiblesFilterer) ParseTransfer(log types.Log) (*CollectiblesTransfer, error)
- func (_Collectibles *CollectiblesFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CollectiblesApproval, ...) (event.Subscription, error)
- func (_Collectibles *CollectiblesFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *CollectiblesApprovalForAll, ...) (event.Subscription, error)
- func (_Collectibles *CollectiblesFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CollectiblesTransfer, from []common.Address, ...) (event.Subscription, error)
- type CollectiblesRaw
- func (_Collectibles *CollectiblesRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Collectibles *CollectiblesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Collectibles *CollectiblesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CollectiblesSession
- func (_Collectibles *CollectiblesSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Collectibles *CollectiblesSession) BaseTokenURI() (string, error)
- func (_Collectibles *CollectiblesSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Collectibles *CollectiblesSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Collectibles *CollectiblesSession) MasterToken() (common.Address, error)
- func (_Collectibles *CollectiblesSession) MaxSupply() (*big.Int, error)
- func (_Collectibles *CollectiblesSession) MintTo(addresses []common.Address) (*types.Transaction, error)
- func (_Collectibles *CollectiblesSession) MintedCount() (*big.Int, error)
- func (_Collectibles *CollectiblesSession) Name() (string, error)
- func (_Collectibles *CollectiblesSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Collectibles *CollectiblesSession) OwnerToken() (common.Address, error)
- func (_Collectibles *CollectiblesSession) RemoteBurn(tokenIds []*big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesSession) RemoteBurnable() (bool, error)
- func (_Collectibles *CollectiblesSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Collectibles *CollectiblesSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Collectibles *CollectiblesSession) SetMaxSupply(newMaxSupply *big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Collectibles *CollectiblesSession) Symbol() (string, error)
- func (_Collectibles *CollectiblesSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_Collectibles *CollectiblesSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_Collectibles *CollectiblesSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Collectibles *CollectiblesSession) TotalSupply() (*big.Int, error)
- func (_Collectibles *CollectiblesSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesSession) Transferable() (bool, error)
- type CollectiblesTransactor
- func (_Collectibles *CollectiblesTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactor) MintTo(opts *bind.TransactOpts, addresses []common.Address) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactor) RemoteBurn(opts *bind.TransactOpts, tokenIds []*big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactor) SetMaxSupply(opts *bind.TransactOpts, newMaxSupply *big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type CollectiblesTransactorRaw
- type CollectiblesTransactorSession
- func (_Collectibles *CollectiblesTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactorSession) MintTo(addresses []common.Address) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactorSession) RemoteBurn(tokenIds []*big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactorSession) SetMaxSupply(newMaxSupply *big.Int) (*types.Transaction, error)
- func (_Collectibles *CollectiblesTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type CollectiblesTransfer
- type CollectiblesTransferIterator
Constants ¶
const CollectiblesABI = "" /* 7603-byte string literal not displayed */
CollectiblesABI is the input ABI used to generate the binding from.
Variables ¶
var CollectiblesBin = "" /* 19780-byte string literal not displayed */
CollectiblesBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type Collectibles ¶
type Collectibles struct { CollectiblesCaller // Read-only binding to the contract CollectiblesTransactor // Write-only binding to the contract CollectiblesFilterer // Log filterer for contract events }
Collectibles is an auto generated Go binding around an Ethereum contract.
func DeployCollectibles ¶
func DeployCollectibles(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, _symbol string, _maxSupply *big.Int, _remoteBurnable bool, _transferable bool, _baseTokenURI string, _ownerToken common.Address, _masterToken common.Address) (common.Address, *types.Transaction, *Collectibles, error)
DeployCollectibles deploys a new Ethereum contract, binding an instance of Collectibles to it.
func NewCollectibles ¶
func NewCollectibles(address common.Address, backend bind.ContractBackend) (*Collectibles, error)
NewCollectibles creates a new instance of Collectibles, bound to a specific deployed contract.
type CollectiblesApproval ¶
type CollectiblesApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
CollectiblesApproval represents a Approval event raised by the Collectibles contract.
type CollectiblesApprovalForAll ¶
type CollectiblesApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
CollectiblesApprovalForAll represents a ApprovalForAll event raised by the Collectibles contract.
type CollectiblesApprovalForAllIterator ¶
type CollectiblesApprovalForAllIterator struct { Event *CollectiblesApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CollectiblesApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Collectibles contract.
func (*CollectiblesApprovalForAllIterator) Close ¶
func (it *CollectiblesApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CollectiblesApprovalForAllIterator) Error ¶
func (it *CollectiblesApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CollectiblesApprovalForAllIterator) Next ¶
func (it *CollectiblesApprovalForAllIterator) 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 CollectiblesApprovalIterator ¶
type CollectiblesApprovalIterator struct { Event *CollectiblesApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CollectiblesApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Collectibles contract.
func (*CollectiblesApprovalIterator) Close ¶
func (it *CollectiblesApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CollectiblesApprovalIterator) Error ¶
func (it *CollectiblesApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CollectiblesApprovalIterator) Next ¶
func (it *CollectiblesApprovalIterator) 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 CollectiblesCaller ¶
type CollectiblesCaller struct {
// contains filtered or unexported fields
}
CollectiblesCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCollectiblesCaller ¶
func NewCollectiblesCaller(address common.Address, caller bind.ContractCaller) (*CollectiblesCaller, error)
NewCollectiblesCaller creates a new read-only instance of Collectibles, bound to a specific deployed contract.
func (*CollectiblesCaller) BalanceOf ¶
func (_Collectibles *CollectiblesCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*CollectiblesCaller) BaseTokenURI ¶
func (_Collectibles *CollectiblesCaller) BaseTokenURI(opts *bind.CallOpts) (string, error)
BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.
Solidity: function baseTokenURI() view returns(string)
func (*CollectiblesCaller) GetApproved ¶
func (_Collectibles *CollectiblesCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*CollectiblesCaller) IsApprovedForAll ¶
func (_Collectibles *CollectiblesCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*CollectiblesCaller) MasterToken ¶
MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.
Solidity: function masterToken() view returns(address)
func (*CollectiblesCaller) MaxSupply ¶
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*CollectiblesCaller) MintedCount ¶
MintedCount is a free data retrieval call binding the contract method 0xcf721b15.
Solidity: function mintedCount() view returns(uint256)
func (*CollectiblesCaller) Name ¶
func (_Collectibles *CollectiblesCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*CollectiblesCaller) OwnerOf ¶
func (_Collectibles *CollectiblesCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*CollectiblesCaller) OwnerToken ¶
OwnerToken is a free data retrieval call binding the contract method 0x65371883.
Solidity: function ownerToken() view returns(address)
func (*CollectiblesCaller) RemoteBurnable ¶
func (_Collectibles *CollectiblesCaller) RemoteBurnable(opts *bind.CallOpts) (bool, error)
RemoteBurnable is a free data retrieval call binding the contract method 0x101639f5.
Solidity: function remoteBurnable() view returns(bool)
func (*CollectiblesCaller) SupportsInterface ¶
func (_Collectibles *CollectiblesCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CollectiblesCaller) Symbol ¶
func (_Collectibles *CollectiblesCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*CollectiblesCaller) TokenByIndex ¶
func (_Collectibles *CollectiblesCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*CollectiblesCaller) TokenOfOwnerByIndex ¶
func (_Collectibles *CollectiblesCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*CollectiblesCaller) TokenURI ¶
func (_Collectibles *CollectiblesCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*CollectiblesCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*CollectiblesCaller) Transferable ¶
func (_Collectibles *CollectiblesCaller) Transferable(opts *bind.CallOpts) (bool, error)
Transferable is a free data retrieval call binding the contract method 0x92ff0d31.
Solidity: function transferable() view returns(bool)
type CollectiblesCallerRaw ¶
type CollectiblesCallerRaw struct {
Contract *CollectiblesCaller // Generic read-only contract binding to access the raw methods on
}
CollectiblesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CollectiblesCallerRaw) Call ¶
func (_Collectibles *CollectiblesCallerRaw) 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 CollectiblesCallerSession ¶
type CollectiblesCallerSession struct { Contract *CollectiblesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CollectiblesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CollectiblesCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*CollectiblesCallerSession) BaseTokenURI ¶
func (_Collectibles *CollectiblesCallerSession) BaseTokenURI() (string, error)
BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.
Solidity: function baseTokenURI() view returns(string)
func (*CollectiblesCallerSession) GetApproved ¶
func (_Collectibles *CollectiblesCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*CollectiblesCallerSession) IsApprovedForAll ¶
func (_Collectibles *CollectiblesCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*CollectiblesCallerSession) MasterToken ¶
func (_Collectibles *CollectiblesCallerSession) MasterToken() (common.Address, error)
MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.
Solidity: function masterToken() view returns(address)
func (*CollectiblesCallerSession) MaxSupply ¶
func (_Collectibles *CollectiblesCallerSession) MaxSupply() (*big.Int, error)
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*CollectiblesCallerSession) MintedCount ¶
func (_Collectibles *CollectiblesCallerSession) MintedCount() (*big.Int, error)
MintedCount is a free data retrieval call binding the contract method 0xcf721b15.
Solidity: function mintedCount() view returns(uint256)
func (*CollectiblesCallerSession) Name ¶
func (_Collectibles *CollectiblesCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*CollectiblesCallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*CollectiblesCallerSession) OwnerToken ¶
func (_Collectibles *CollectiblesCallerSession) OwnerToken() (common.Address, error)
OwnerToken is a free data retrieval call binding the contract method 0x65371883.
Solidity: function ownerToken() view returns(address)
func (*CollectiblesCallerSession) RemoteBurnable ¶
func (_Collectibles *CollectiblesCallerSession) RemoteBurnable() (bool, error)
RemoteBurnable is a free data retrieval call binding the contract method 0x101639f5.
Solidity: function remoteBurnable() view returns(bool)
func (*CollectiblesCallerSession) SupportsInterface ¶
func (_Collectibles *CollectiblesCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CollectiblesCallerSession) Symbol ¶
func (_Collectibles *CollectiblesCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*CollectiblesCallerSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*CollectiblesCallerSession) TokenOfOwnerByIndex ¶
func (_Collectibles *CollectiblesCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*CollectiblesCallerSession) TokenURI ¶
func (_Collectibles *CollectiblesCallerSession) TokenURI(tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*CollectiblesCallerSession) TotalSupply ¶
func (_Collectibles *CollectiblesCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*CollectiblesCallerSession) Transferable ¶
func (_Collectibles *CollectiblesCallerSession) Transferable() (bool, error)
Transferable is a free data retrieval call binding the contract method 0x92ff0d31.
Solidity: function transferable() view returns(bool)
type CollectiblesFilterer ¶
type CollectiblesFilterer struct {
// contains filtered or unexported fields
}
CollectiblesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCollectiblesFilterer ¶
func NewCollectiblesFilterer(address common.Address, filterer bind.ContractFilterer) (*CollectiblesFilterer, error)
NewCollectiblesFilterer creates a new log filterer instance of Collectibles, bound to a specific deployed contract.
func (*CollectiblesFilterer) FilterApproval ¶
func (_Collectibles *CollectiblesFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*CollectiblesApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*CollectiblesFilterer) FilterApprovalForAll ¶
func (_Collectibles *CollectiblesFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*CollectiblesApprovalForAllIterator, error)
FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*CollectiblesFilterer) FilterTransfer ¶
func (_Collectibles *CollectiblesFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*CollectiblesTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*CollectiblesFilterer) ParseApproval ¶
func (_Collectibles *CollectiblesFilterer) ParseApproval(log types.Log) (*CollectiblesApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*CollectiblesFilterer) ParseApprovalForAll ¶
func (_Collectibles *CollectiblesFilterer) ParseApprovalForAll(log types.Log) (*CollectiblesApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*CollectiblesFilterer) ParseTransfer ¶
func (_Collectibles *CollectiblesFilterer) ParseTransfer(log types.Log) (*CollectiblesTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*CollectiblesFilterer) WatchApproval ¶
func (_Collectibles *CollectiblesFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CollectiblesApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*CollectiblesFilterer) WatchApprovalForAll ¶
func (_Collectibles *CollectiblesFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *CollectiblesApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)
WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*CollectiblesFilterer) WatchTransfer ¶
func (_Collectibles *CollectiblesFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CollectiblesTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
type CollectiblesRaw ¶
type CollectiblesRaw struct {
Contract *Collectibles // Generic contract binding to access the raw methods on
}
CollectiblesRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CollectiblesRaw) Call ¶
func (_Collectibles *CollectiblesRaw) 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 (*CollectiblesRaw) Transact ¶
func (_Collectibles *CollectiblesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CollectiblesRaw) Transfer ¶
func (_Collectibles *CollectiblesRaw) 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 CollectiblesSession ¶
type CollectiblesSession struct { Contract *Collectibles // 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 }
CollectiblesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CollectiblesSession) Approve ¶
func (_Collectibles *CollectiblesSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*CollectiblesSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*CollectiblesSession) BaseTokenURI ¶
func (_Collectibles *CollectiblesSession) BaseTokenURI() (string, error)
BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.
Solidity: function baseTokenURI() view returns(string)
func (*CollectiblesSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*CollectiblesSession) IsApprovedForAll ¶
func (_Collectibles *CollectiblesSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*CollectiblesSession) MasterToken ¶
func (_Collectibles *CollectiblesSession) MasterToken() (common.Address, error)
MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.
Solidity: function masterToken() view returns(address)
func (*CollectiblesSession) MaxSupply ¶
func (_Collectibles *CollectiblesSession) MaxSupply() (*big.Int, error)
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*CollectiblesSession) MintTo ¶
func (_Collectibles *CollectiblesSession) MintTo(addresses []common.Address) (*types.Transaction, error)
MintTo is a paid mutator transaction binding the contract method 0xce7c8b49.
Solidity: function mintTo(address[] addresses) returns()
func (*CollectiblesSession) MintedCount ¶
func (_Collectibles *CollectiblesSession) MintedCount() (*big.Int, error)
MintedCount is a free data retrieval call binding the contract method 0xcf721b15.
Solidity: function mintedCount() view returns(uint256)
func (*CollectiblesSession) Name ¶
func (_Collectibles *CollectiblesSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*CollectiblesSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*CollectiblesSession) OwnerToken ¶
func (_Collectibles *CollectiblesSession) OwnerToken() (common.Address, error)
OwnerToken is a free data retrieval call binding the contract method 0x65371883.
Solidity: function ownerToken() view returns(address)
func (*CollectiblesSession) RemoteBurn ¶
func (_Collectibles *CollectiblesSession) RemoteBurn(tokenIds []*big.Int) (*types.Transaction, error)
RemoteBurn is a paid mutator transaction binding the contract method 0x4fb95e02.
Solidity: function remoteBurn(uint256[] tokenIds) returns()
func (*CollectiblesSession) RemoteBurnable ¶
func (_Collectibles *CollectiblesSession) RemoteBurnable() (bool, error)
RemoteBurnable is a free data retrieval call binding the contract method 0x101639f5.
Solidity: function remoteBurnable() view returns(bool)
func (*CollectiblesSession) SafeTransferFrom ¶
func (_Collectibles *CollectiblesSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*CollectiblesSession) SafeTransferFrom0 ¶
func (_Collectibles *CollectiblesSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*CollectiblesSession) SetApprovalForAll ¶
func (_Collectibles *CollectiblesSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*CollectiblesSession) SetMaxSupply ¶
func (_Collectibles *CollectiblesSession) SetMaxSupply(newMaxSupply *big.Int) (*types.Transaction, error)
SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.
Solidity: function setMaxSupply(uint256 newMaxSupply) returns()
func (*CollectiblesSession) SupportsInterface ¶
func (_Collectibles *CollectiblesSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CollectiblesSession) Symbol ¶
func (_Collectibles *CollectiblesSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*CollectiblesSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*CollectiblesSession) TokenOfOwnerByIndex ¶
func (_Collectibles *CollectiblesSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*CollectiblesSession) TokenURI ¶
func (_Collectibles *CollectiblesSession) TokenURI(tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*CollectiblesSession) TotalSupply ¶
func (_Collectibles *CollectiblesSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*CollectiblesSession) TransferFrom ¶
func (_Collectibles *CollectiblesSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*CollectiblesSession) Transferable ¶
func (_Collectibles *CollectiblesSession) Transferable() (bool, error)
Transferable is a free data retrieval call binding the contract method 0x92ff0d31.
Solidity: function transferable() view returns(bool)
type CollectiblesTransactor ¶
type CollectiblesTransactor struct {
// contains filtered or unexported fields
}
CollectiblesTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCollectiblesTransactor ¶
func NewCollectiblesTransactor(address common.Address, transactor bind.ContractTransactor) (*CollectiblesTransactor, error)
NewCollectiblesTransactor creates a new write-only instance of Collectibles, bound to a specific deployed contract.
func (*CollectiblesTransactor) Approve ¶
func (_Collectibles *CollectiblesTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*CollectiblesTransactor) MintTo ¶
func (_Collectibles *CollectiblesTransactor) MintTo(opts *bind.TransactOpts, addresses []common.Address) (*types.Transaction, error)
MintTo is a paid mutator transaction binding the contract method 0xce7c8b49.
Solidity: function mintTo(address[] addresses) returns()
func (*CollectiblesTransactor) RemoteBurn ¶
func (_Collectibles *CollectiblesTransactor) RemoteBurn(opts *bind.TransactOpts, tokenIds []*big.Int) (*types.Transaction, error)
RemoteBurn is a paid mutator transaction binding the contract method 0x4fb95e02.
Solidity: function remoteBurn(uint256[] tokenIds) returns()
func (*CollectiblesTransactor) SafeTransferFrom ¶
func (_Collectibles *CollectiblesTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*CollectiblesTransactor) SafeTransferFrom0 ¶
func (_Collectibles *CollectiblesTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*CollectiblesTransactor) SetApprovalForAll ¶
func (_Collectibles *CollectiblesTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*CollectiblesTransactor) SetMaxSupply ¶
func (_Collectibles *CollectiblesTransactor) SetMaxSupply(opts *bind.TransactOpts, newMaxSupply *big.Int) (*types.Transaction, error)
SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.
Solidity: function setMaxSupply(uint256 newMaxSupply) returns()
func (*CollectiblesTransactor) TransferFrom ¶
func (_Collectibles *CollectiblesTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type CollectiblesTransactorRaw ¶
type CollectiblesTransactorRaw struct {
Contract *CollectiblesTransactor // Generic write-only contract binding to access the raw methods on
}
CollectiblesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CollectiblesTransactorRaw) Transact ¶
func (_Collectibles *CollectiblesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CollectiblesTransactorRaw) Transfer ¶
func (_Collectibles *CollectiblesTransactorRaw) 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 CollectiblesTransactorSession ¶
type CollectiblesTransactorSession struct { Contract *CollectiblesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CollectiblesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CollectiblesTransactorSession) Approve ¶
func (_Collectibles *CollectiblesTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*CollectiblesTransactorSession) MintTo ¶
func (_Collectibles *CollectiblesTransactorSession) MintTo(addresses []common.Address) (*types.Transaction, error)
MintTo is a paid mutator transaction binding the contract method 0xce7c8b49.
Solidity: function mintTo(address[] addresses) returns()
func (*CollectiblesTransactorSession) RemoteBurn ¶
func (_Collectibles *CollectiblesTransactorSession) RemoteBurn(tokenIds []*big.Int) (*types.Transaction, error)
RemoteBurn is a paid mutator transaction binding the contract method 0x4fb95e02.
Solidity: function remoteBurn(uint256[] tokenIds) returns()
func (*CollectiblesTransactorSession) SafeTransferFrom ¶
func (_Collectibles *CollectiblesTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*CollectiblesTransactorSession) SafeTransferFrom0 ¶
func (_Collectibles *CollectiblesTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*CollectiblesTransactorSession) SetApprovalForAll ¶
func (_Collectibles *CollectiblesTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*CollectiblesTransactorSession) SetMaxSupply ¶
func (_Collectibles *CollectiblesTransactorSession) SetMaxSupply(newMaxSupply *big.Int) (*types.Transaction, error)
SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.
Solidity: function setMaxSupply(uint256 newMaxSupply) returns()
func (*CollectiblesTransactorSession) TransferFrom ¶
func (_Collectibles *CollectiblesTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type CollectiblesTransfer ¶
type CollectiblesTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
CollectiblesTransfer represents a Transfer event raised by the Collectibles contract.
type CollectiblesTransferIterator ¶
type CollectiblesTransferIterator struct { Event *CollectiblesTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CollectiblesTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Collectibles contract.
func (*CollectiblesTransferIterator) Close ¶
func (it *CollectiblesTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CollectiblesTransferIterator) Error ¶
func (it *CollectiblesTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CollectiblesTransferIterator) Next ¶
func (it *CollectiblesTransferIterator) 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.