Documentation ¶
Index ¶
- Constants
- Variables
- type MasterToken
- type MasterTokenApproval
- type MasterTokenApprovalForAll
- type MasterTokenApprovalForAllIterator
- type MasterTokenApprovalIterator
- type MasterTokenCaller
- func (_MasterToken *MasterTokenCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_MasterToken *MasterTokenCaller) BaseTokenURI(opts *bind.CallOpts) (string, error)
- func (_MasterToken *MasterTokenCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_MasterToken *MasterTokenCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_MasterToken *MasterTokenCaller) MasterToken(opts *bind.CallOpts) (common.Address, error)
- func (_MasterToken *MasterTokenCaller) MaxSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_MasterToken *MasterTokenCaller) MintedCount(opts *bind.CallOpts) (*big.Int, error)
- func (_MasterToken *MasterTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_MasterToken *MasterTokenCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_MasterToken *MasterTokenCaller) OwnerToken(opts *bind.CallOpts) (common.Address, error)
- func (_MasterToken *MasterTokenCaller) RemoteBurnable(opts *bind.CallOpts) (bool, error)
- func (_MasterToken *MasterTokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_MasterToken *MasterTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_MasterToken *MasterTokenCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
- func (_MasterToken *MasterTokenCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
- func (_MasterToken *MasterTokenCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_MasterToken *MasterTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_MasterToken *MasterTokenCaller) Transferable(opts *bind.CallOpts) (bool, error)
- type MasterTokenCallerRaw
- type MasterTokenCallerSession
- func (_MasterToken *MasterTokenCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_MasterToken *MasterTokenCallerSession) BaseTokenURI() (string, error)
- func (_MasterToken *MasterTokenCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_MasterToken *MasterTokenCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_MasterToken *MasterTokenCallerSession) MasterToken() (common.Address, error)
- func (_MasterToken *MasterTokenCallerSession) MaxSupply() (*big.Int, error)
- func (_MasterToken *MasterTokenCallerSession) MintedCount() (*big.Int, error)
- func (_MasterToken *MasterTokenCallerSession) Name() (string, error)
- func (_MasterToken *MasterTokenCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_MasterToken *MasterTokenCallerSession) OwnerToken() (common.Address, error)
- func (_MasterToken *MasterTokenCallerSession) RemoteBurnable() (bool, error)
- func (_MasterToken *MasterTokenCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_MasterToken *MasterTokenCallerSession) Symbol() (string, error)
- func (_MasterToken *MasterTokenCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_MasterToken *MasterTokenCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_MasterToken *MasterTokenCallerSession) TokenURI(tokenId *big.Int) (string, error)
- func (_MasterToken *MasterTokenCallerSession) TotalSupply() (*big.Int, error)
- func (_MasterToken *MasterTokenCallerSession) Transferable() (bool, error)
- type MasterTokenFilterer
- func (_MasterToken *MasterTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*MasterTokenApprovalIterator, error)
- func (_MasterToken *MasterTokenFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*MasterTokenApprovalForAllIterator, error)
- func (_MasterToken *MasterTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*MasterTokenTransferIterator, error)
- func (_MasterToken *MasterTokenFilterer) ParseApproval(log types.Log) (*MasterTokenApproval, error)
- func (_MasterToken *MasterTokenFilterer) ParseApprovalForAll(log types.Log) (*MasterTokenApprovalForAll, error)
- func (_MasterToken *MasterTokenFilterer) ParseTransfer(log types.Log) (*MasterTokenTransfer, error)
- func (_MasterToken *MasterTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MasterTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_MasterToken *MasterTokenFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *MasterTokenApprovalForAll, ...) (event.Subscription, error)
- func (_MasterToken *MasterTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MasterTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type MasterTokenRaw
- func (_MasterToken *MasterTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MasterToken *MasterTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MasterToken *MasterTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MasterTokenSession
- func (_MasterToken *MasterTokenSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_MasterToken *MasterTokenSession) BaseTokenURI() (string, error)
- func (_MasterToken *MasterTokenSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_MasterToken *MasterTokenSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_MasterToken *MasterTokenSession) MasterToken() (common.Address, error)
- func (_MasterToken *MasterTokenSession) MaxSupply() (*big.Int, error)
- func (_MasterToken *MasterTokenSession) MintTo(addresses []common.Address) (*types.Transaction, error)
- func (_MasterToken *MasterTokenSession) MintedCount() (*big.Int, error)
- func (_MasterToken *MasterTokenSession) Name() (string, error)
- func (_MasterToken *MasterTokenSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_MasterToken *MasterTokenSession) OwnerToken() (common.Address, error)
- func (_MasterToken *MasterTokenSession) RemoteBurn(tokenIds []*big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenSession) RemoteBurnable() (bool, error)
- func (_MasterToken *MasterTokenSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_MasterToken *MasterTokenSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_MasterToken *MasterTokenSession) SetMaxSupply(newMaxSupply *big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_MasterToken *MasterTokenSession) Symbol() (string, error)
- func (_MasterToken *MasterTokenSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_MasterToken *MasterTokenSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_MasterToken *MasterTokenSession) TokenURI(tokenId *big.Int) (string, error)
- func (_MasterToken *MasterTokenSession) TotalSupply() (*big.Int, error)
- func (_MasterToken *MasterTokenSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenSession) Transferable() (bool, error)
- type MasterTokenTransactor
- func (_MasterToken *MasterTokenTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactor) MintTo(opts *bind.TransactOpts, addresses []common.Address) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactor) RemoteBurn(opts *bind.TransactOpts, tokenIds []*big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactor) SetMaxSupply(opts *bind.TransactOpts, newMaxSupply *big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type MasterTokenTransactorRaw
- type MasterTokenTransactorSession
- func (_MasterToken *MasterTokenTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactorSession) MintTo(addresses []common.Address) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactorSession) RemoteBurn(tokenIds []*big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactorSession) SetMaxSupply(newMaxSupply *big.Int) (*types.Transaction, error)
- func (_MasterToken *MasterTokenTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type MasterTokenTransfer
- type MasterTokenTransferIterator
Constants ¶
const MasterTokenABI = "" /* 7301-byte string literal not displayed */
MasterTokenABI is the input ABI used to generate the binding from.
Variables ¶
var MasterTokenBin = "" /* 19584-byte string literal not displayed */
MasterTokenBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type MasterToken ¶
type MasterToken struct { MasterTokenCaller // Read-only binding to the contract MasterTokenTransactor // Write-only binding to the contract MasterTokenFilterer // Log filterer for contract events }
MasterToken is an auto generated Go binding around an Ethereum contract.
func DeployMasterToken ¶
func DeployMasterToken(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, _symbol string, _baseTokenURI string, _ownerToken common.Address) (common.Address, *types.Transaction, *MasterToken, error)
DeployMasterToken deploys a new Ethereum contract, binding an instance of MasterToken to it.
func NewMasterToken ¶
func NewMasterToken(address common.Address, backend bind.ContractBackend) (*MasterToken, error)
NewMasterToken creates a new instance of MasterToken, bound to a specific deployed contract.
type MasterTokenApproval ¶
type MasterTokenApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
MasterTokenApproval represents a Approval event raised by the MasterToken contract.
type MasterTokenApprovalForAll ¶
type MasterTokenApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
MasterTokenApprovalForAll represents a ApprovalForAll event raised by the MasterToken contract.
type MasterTokenApprovalForAllIterator ¶
type MasterTokenApprovalForAllIterator struct { Event *MasterTokenApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterTokenApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the MasterToken contract.
func (*MasterTokenApprovalForAllIterator) Close ¶
func (it *MasterTokenApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterTokenApprovalForAllIterator) Error ¶
func (it *MasterTokenApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterTokenApprovalForAllIterator) Next ¶
func (it *MasterTokenApprovalForAllIterator) 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 MasterTokenApprovalIterator ¶
type MasterTokenApprovalIterator struct { Event *MasterTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the MasterToken contract.
func (*MasterTokenApprovalIterator) Close ¶
func (it *MasterTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterTokenApprovalIterator) Error ¶
func (it *MasterTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterTokenApprovalIterator) Next ¶
func (it *MasterTokenApprovalIterator) 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 MasterTokenCaller ¶
type MasterTokenCaller struct {
// contains filtered or unexported fields
}
MasterTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMasterTokenCaller ¶
func NewMasterTokenCaller(address common.Address, caller bind.ContractCaller) (*MasterTokenCaller, error)
NewMasterTokenCaller creates a new read-only instance of MasterToken, bound to a specific deployed contract.
func (*MasterTokenCaller) BalanceOf ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) BaseTokenURI ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) GetApproved ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) IsApprovedForAll ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) MasterToken ¶
MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.
Solidity: function masterToken() view returns(address)
func (*MasterTokenCaller) MaxSupply ¶
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*MasterTokenCaller) MintedCount ¶
MintedCount is a free data retrieval call binding the contract method 0xcf721b15.
Solidity: function mintedCount() view returns(uint256)
func (*MasterTokenCaller) Name ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) OwnerOf ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) OwnerToken ¶
OwnerToken is a free data retrieval call binding the contract method 0x65371883.
Solidity: function ownerToken() view returns(address)
func (*MasterTokenCaller) RemoteBurnable ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) SupportsInterface ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) Symbol ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) TokenByIndex ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) TokenOfOwnerByIndex ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) TokenURI ¶
func (_MasterToken *MasterTokenCaller) 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 (*MasterTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*MasterTokenCaller) Transferable ¶
func (_MasterToken *MasterTokenCaller) 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 MasterTokenCallerRaw ¶
type MasterTokenCallerRaw struct {
Contract *MasterTokenCaller // Generic read-only contract binding to access the raw methods on
}
MasterTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MasterTokenCallerRaw) Call ¶
func (_MasterToken *MasterTokenCallerRaw) 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 MasterTokenCallerSession ¶
type MasterTokenCallerSession struct { Contract *MasterTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MasterTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MasterTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*MasterTokenCallerSession) BaseTokenURI ¶
func (_MasterToken *MasterTokenCallerSession) BaseTokenURI() (string, error)
BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.
Solidity: function baseTokenURI() view returns(string)
func (*MasterTokenCallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*MasterTokenCallerSession) IsApprovedForAll ¶
func (_MasterToken *MasterTokenCallerSession) 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 (*MasterTokenCallerSession) MasterToken ¶
func (_MasterToken *MasterTokenCallerSession) MasterToken() (common.Address, error)
MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.
Solidity: function masterToken() view returns(address)
func (*MasterTokenCallerSession) MaxSupply ¶
func (_MasterToken *MasterTokenCallerSession) MaxSupply() (*big.Int, error)
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*MasterTokenCallerSession) MintedCount ¶
func (_MasterToken *MasterTokenCallerSession) MintedCount() (*big.Int, error)
MintedCount is a free data retrieval call binding the contract method 0xcf721b15.
Solidity: function mintedCount() view returns(uint256)
func (*MasterTokenCallerSession) Name ¶
func (_MasterToken *MasterTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*MasterTokenCallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*MasterTokenCallerSession) OwnerToken ¶
func (_MasterToken *MasterTokenCallerSession) OwnerToken() (common.Address, error)
OwnerToken is a free data retrieval call binding the contract method 0x65371883.
Solidity: function ownerToken() view returns(address)
func (*MasterTokenCallerSession) RemoteBurnable ¶
func (_MasterToken *MasterTokenCallerSession) RemoteBurnable() (bool, error)
RemoteBurnable is a free data retrieval call binding the contract method 0x101639f5.
Solidity: function remoteBurnable() view returns(bool)
func (*MasterTokenCallerSession) SupportsInterface ¶
func (_MasterToken *MasterTokenCallerSession) 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 (*MasterTokenCallerSession) Symbol ¶
func (_MasterToken *MasterTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*MasterTokenCallerSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*MasterTokenCallerSession) TokenOfOwnerByIndex ¶
func (_MasterToken *MasterTokenCallerSession) 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 (*MasterTokenCallerSession) TokenURI ¶
func (_MasterToken *MasterTokenCallerSession) 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 (*MasterTokenCallerSession) TotalSupply ¶
func (_MasterToken *MasterTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*MasterTokenCallerSession) Transferable ¶
func (_MasterToken *MasterTokenCallerSession) Transferable() (bool, error)
Transferable is a free data retrieval call binding the contract method 0x92ff0d31.
Solidity: function transferable() view returns(bool)
type MasterTokenFilterer ¶
type MasterTokenFilterer struct {
// contains filtered or unexported fields
}
MasterTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMasterTokenFilterer ¶
func NewMasterTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*MasterTokenFilterer, error)
NewMasterTokenFilterer creates a new log filterer instance of MasterToken, bound to a specific deployed contract.
func (*MasterTokenFilterer) FilterApproval ¶
func (_MasterToken *MasterTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*MasterTokenApprovalIterator, 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 (*MasterTokenFilterer) FilterApprovalForAll ¶
func (_MasterToken *MasterTokenFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*MasterTokenApprovalForAllIterator, 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 (*MasterTokenFilterer) FilterTransfer ¶
func (_MasterToken *MasterTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*MasterTokenTransferIterator, 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 (*MasterTokenFilterer) ParseApproval ¶
func (_MasterToken *MasterTokenFilterer) ParseApproval(log types.Log) (*MasterTokenApproval, 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 (*MasterTokenFilterer) ParseApprovalForAll ¶
func (_MasterToken *MasterTokenFilterer) ParseApprovalForAll(log types.Log) (*MasterTokenApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*MasterTokenFilterer) ParseTransfer ¶
func (_MasterToken *MasterTokenFilterer) ParseTransfer(log types.Log) (*MasterTokenTransfer, 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 (*MasterTokenFilterer) WatchApproval ¶
func (_MasterToken *MasterTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MasterTokenApproval, 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 (*MasterTokenFilterer) WatchApprovalForAll ¶
func (_MasterToken *MasterTokenFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *MasterTokenApprovalForAll, 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 (*MasterTokenFilterer) WatchTransfer ¶
func (_MasterToken *MasterTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MasterTokenTransfer, 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 MasterTokenRaw ¶
type MasterTokenRaw struct {
Contract *MasterToken // Generic contract binding to access the raw methods on
}
MasterTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MasterTokenRaw) Call ¶
func (_MasterToken *MasterTokenRaw) 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 (*MasterTokenRaw) Transact ¶
func (_MasterToken *MasterTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MasterTokenRaw) Transfer ¶
func (_MasterToken *MasterTokenRaw) 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 MasterTokenSession ¶
type MasterTokenSession struct { Contract *MasterToken // 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 }
MasterTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MasterTokenSession) Approve ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*MasterTokenSession) BaseTokenURI ¶
func (_MasterToken *MasterTokenSession) BaseTokenURI() (string, error)
BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.
Solidity: function baseTokenURI() view returns(string)
func (*MasterTokenSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*MasterTokenSession) IsApprovedForAll ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) MasterToken ¶
func (_MasterToken *MasterTokenSession) MasterToken() (common.Address, error)
MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.
Solidity: function masterToken() view returns(address)
func (*MasterTokenSession) MaxSupply ¶
func (_MasterToken *MasterTokenSession) MaxSupply() (*big.Int, error)
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*MasterTokenSession) MintTo ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) MintedCount ¶
func (_MasterToken *MasterTokenSession) MintedCount() (*big.Int, error)
MintedCount is a free data retrieval call binding the contract method 0xcf721b15.
Solidity: function mintedCount() view returns(uint256)
func (*MasterTokenSession) Name ¶
func (_MasterToken *MasterTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*MasterTokenSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*MasterTokenSession) OwnerToken ¶
func (_MasterToken *MasterTokenSession) OwnerToken() (common.Address, error)
OwnerToken is a free data retrieval call binding the contract method 0x65371883.
Solidity: function ownerToken() view returns(address)
func (*MasterTokenSession) RemoteBurn ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) RemoteBurnable ¶
func (_MasterToken *MasterTokenSession) RemoteBurnable() (bool, error)
RemoteBurnable is a free data retrieval call binding the contract method 0x101639f5.
Solidity: function remoteBurnable() view returns(bool)
func (*MasterTokenSession) SafeTransferFrom ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) SafeTransferFrom0 ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) SetApprovalForAll ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) SetMaxSupply ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) SupportsInterface ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) Symbol ¶
func (_MasterToken *MasterTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*MasterTokenSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*MasterTokenSession) TokenOfOwnerByIndex ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) TokenURI ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) TotalSupply ¶
func (_MasterToken *MasterTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*MasterTokenSession) TransferFrom ¶
func (_MasterToken *MasterTokenSession) 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 (*MasterTokenSession) Transferable ¶
func (_MasterToken *MasterTokenSession) Transferable() (bool, error)
Transferable is a free data retrieval call binding the contract method 0x92ff0d31.
Solidity: function transferable() view returns(bool)
type MasterTokenTransactor ¶
type MasterTokenTransactor struct {
// contains filtered or unexported fields
}
MasterTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMasterTokenTransactor ¶
func NewMasterTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*MasterTokenTransactor, error)
NewMasterTokenTransactor creates a new write-only instance of MasterToken, bound to a specific deployed contract.
func (*MasterTokenTransactor) Approve ¶
func (_MasterToken *MasterTokenTransactor) 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 (*MasterTokenTransactor) MintTo ¶
func (_MasterToken *MasterTokenTransactor) 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 (*MasterTokenTransactor) RemoteBurn ¶
func (_MasterToken *MasterTokenTransactor) 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 (*MasterTokenTransactor) SafeTransferFrom ¶
func (_MasterToken *MasterTokenTransactor) 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 (*MasterTokenTransactor) SafeTransferFrom0 ¶
func (_MasterToken *MasterTokenTransactor) 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 (*MasterTokenTransactor) SetApprovalForAll ¶
func (_MasterToken *MasterTokenTransactor) 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 (*MasterTokenTransactor) SetMaxSupply ¶
func (_MasterToken *MasterTokenTransactor) 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 (*MasterTokenTransactor) TransferFrom ¶
func (_MasterToken *MasterTokenTransactor) 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 MasterTokenTransactorRaw ¶
type MasterTokenTransactorRaw struct {
Contract *MasterTokenTransactor // Generic write-only contract binding to access the raw methods on
}
MasterTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MasterTokenTransactorRaw) Transact ¶
func (_MasterToken *MasterTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MasterTokenTransactorRaw) Transfer ¶
func (_MasterToken *MasterTokenTransactorRaw) 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 MasterTokenTransactorSession ¶
type MasterTokenTransactorSession struct { Contract *MasterTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MasterTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MasterTokenTransactorSession) Approve ¶
func (_MasterToken *MasterTokenTransactorSession) 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 (*MasterTokenTransactorSession) MintTo ¶
func (_MasterToken *MasterTokenTransactorSession) 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 (*MasterTokenTransactorSession) RemoteBurn ¶
func (_MasterToken *MasterTokenTransactorSession) 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 (*MasterTokenTransactorSession) SafeTransferFrom ¶
func (_MasterToken *MasterTokenTransactorSession) 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 (*MasterTokenTransactorSession) SafeTransferFrom0 ¶
func (_MasterToken *MasterTokenTransactorSession) 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 (*MasterTokenTransactorSession) SetApprovalForAll ¶
func (_MasterToken *MasterTokenTransactorSession) 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 (*MasterTokenTransactorSession) SetMaxSupply ¶
func (_MasterToken *MasterTokenTransactorSession) 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 (*MasterTokenTransactorSession) TransferFrom ¶
func (_MasterToken *MasterTokenTransactorSession) 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 MasterTokenTransfer ¶
type MasterTokenTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
MasterTokenTransfer represents a Transfer event raised by the MasterToken contract.
type MasterTokenTransferIterator ¶
type MasterTokenTransferIterator struct { Event *MasterTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the MasterToken contract.
func (*MasterTokenTransferIterator) Close ¶
func (it *MasterTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterTokenTransferIterator) Error ¶
func (it *MasterTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterTokenTransferIterator) Next ¶
func (it *MasterTokenTransferIterator) 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.