Documentation ¶
Index ¶
- Variables
- type Token
- type Token1155
- type Token1155ApprovalForAll
- type Token1155ApprovalForAllIterator
- type Token1155Caller
- func (_Token1155 *Token1155Caller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)
- func (_Token1155 *Token1155Caller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_Token1155 *Token1155Caller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)
- func (_Token1155 *Token1155Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Token1155 *Token1155Caller) Uri(opts *bind.CallOpts, id *big.Int) (string, error)
- type Token1155CallerRaw
- type Token1155CallerSession
- func (_Token1155 *Token1155CallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)
- func (_Token1155 *Token1155CallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_Token1155 *Token1155CallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)
- func (_Token1155 *Token1155CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Token1155 *Token1155CallerSession) Uri(id *big.Int) (string, error)
- type Token1155Filterer
- func (_Token1155 *Token1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*Token1155ApprovalForAllIterator, error)
- func (_Token1155 *Token1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, ...) (*Token1155TransferBatchIterator, error)
- func (_Token1155 *Token1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, ...) (*Token1155TransferSingleIterator, error)
- func (_Token1155 *Token1155Filterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*Token1155URIIterator, error)
- func (_Token1155 *Token1155Filterer) ParseApprovalForAll(log types.Log) (*Token1155ApprovalForAll, error)
- func (_Token1155 *Token1155Filterer) ParseTransferBatch(log types.Log) (*Token1155TransferBatch, error)
- func (_Token1155 *Token1155Filterer) ParseTransferSingle(log types.Log) (*Token1155TransferSingle, error)
- func (_Token1155 *Token1155Filterer) ParseURI(log types.Log) (*Token1155URI, error)
- func (_Token1155 *Token1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Token1155ApprovalForAll, ...) (event.Subscription, error)
- func (_Token1155 *Token1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *Token1155TransferBatch, ...) (event.Subscription, error)
- func (_Token1155 *Token1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *Token1155TransferSingle, ...) (event.Subscription, error)
- func (_Token1155 *Token1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *Token1155URI, id []*big.Int) (event.Subscription, error)
- type Token1155Raw
- func (_Token1155 *Token1155Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Token1155 *Token1155Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Token1155 *Token1155Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Token1155Session
- func (_Token1155 *Token1155Session) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)
- func (_Token1155 *Token1155Session) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_Token1155 *Token1155Session) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)
- func (_Token1155 *Token1155Session) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Token1155 *Token1155Session) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_Token1155 *Token1155Session) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Token1155 *Token1155Session) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Token1155 *Token1155Session) Uri(id *big.Int) (string, error)
- type Token1155Transactor
- func (_Token1155 *Token1155Transactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Token1155 *Token1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, ...) (*types.Transaction, error)
- func (_Token1155 *Token1155Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- type Token1155TransactorRaw
- type Token1155TransactorSession
- func (_Token1155 *Token1155TransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Token1155 *Token1155TransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_Token1155 *Token1155TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- type Token1155TransferBatch
- type Token1155TransferBatchIterator
- type Token1155TransferSingle
- type Token1155TransferSingleIterator
- type Token1155URI
- type Token1155URIIterator
- type Token721
- type Token721Approval
- type Token721ApprovalForAll
- type Token721ApprovalForAllIterator
- type Token721ApprovalIterator
- type Token721Caller
- func (_Token721 *Token721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Token721 *Token721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Token721 *Token721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Token721 *Token721Caller) Name(opts *bind.CallOpts) (string, error)
- func (_Token721 *Token721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Token721 *Token721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Token721 *Token721Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Token721 *Token721Caller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_Token721 *Token721Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type Token721CallerRaw
- type Token721CallerSession
- func (_Token721 *Token721CallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Token721 *Token721CallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Token721 *Token721CallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Token721 *Token721CallerSession) Name() (string, error)
- func (_Token721 *Token721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Token721 *Token721CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Token721 *Token721CallerSession) Symbol() (string, error)
- func (_Token721 *Token721CallerSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Token721 *Token721CallerSession) TotalSupply() (*big.Int, error)
- type Token721Filterer
- func (_Token721 *Token721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*Token721ApprovalIterator, error)
- func (_Token721 *Token721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*Token721ApprovalForAllIterator, error)
- func (_Token721 *Token721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*Token721TransferIterator, error)
- func (_Token721 *Token721Filterer) ParseApproval(log types.Log) (*Token721Approval, error)
- func (_Token721 *Token721Filterer) ParseApprovalForAll(log types.Log) (*Token721ApprovalForAll, error)
- func (_Token721 *Token721Filterer) ParseTransfer(log types.Log) (*Token721Transfer, error)
- func (_Token721 *Token721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Token721Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_Token721 *Token721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Token721ApprovalForAll, ...) (event.Subscription, error)
- func (_Token721 *Token721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Token721Transfer, from []common.Address, ...) (event.Subscription, error)
- type Token721Raw
- func (_Token721 *Token721Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Token721 *Token721Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Token721 *Token721Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Token721Session
- func (_Token721 *Token721Session) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token721 *Token721Session) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Token721 *Token721Session) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Token721 *Token721Session) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Token721 *Token721Session) Name() (string, error)
- func (_Token721 *Token721Session) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Token721 *Token721Session) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token721 *Token721Session) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Token721 *Token721Session) SetApprovalForAll(operator common.Address, _approved bool) (*types.Transaction, error)
- func (_Token721 *Token721Session) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Token721 *Token721Session) Symbol() (string, error)
- func (_Token721 *Token721Session) TokenURI(tokenId *big.Int) (string, error)
- func (_Token721 *Token721Session) TotalSupply() (*big.Int, error)
- func (_Token721 *Token721Session) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type Token721Transactor
- func (_Token721 *Token721Transactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token721 *Token721Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Token721 *Token721Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Token721 *Token721Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, _approved bool) (*types.Transaction, error)
- func (_Token721 *Token721Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type Token721TransactorRaw
- type Token721TransactorSession
- func (_Token721 *Token721TransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token721 *Token721TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token721 *Token721TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Token721 *Token721TransactorSession) SetApprovalForAll(operator common.Address, _approved bool) (*types.Transaction, error)
- func (_Token721 *Token721TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type Token721Transfer
- type Token721TransferIterator
- type TokenApproval
- type TokenApprovalIterator
- type TokenCaller
- func (_Token *TokenCaller) Allowance(opts *bind.CallOpts, tokenOwner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, tokenOwner common.Address) (*big.Int, error)
- func (_Token *TokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Token *TokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Token *TokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type TokenCallerRaw
- type TokenCallerSession
- func (_Token *TokenCallerSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) BalanceOf(tokenOwner common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) Decimals() (uint8, error)
- func (_Token *TokenCallerSession) Name() (string, error)
- func (_Token *TokenCallerSession) Symbol() (string, error)
- func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
- type TokenFilterer
- func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, tokenOwner []common.Address, spender []common.Address) (*TokenApprovalIterator, error)
- func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, error)
- func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error)
- func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error)
- func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, tokenOwner []common.Address, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type TokenRaw
- func (_Token *TokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Token *TokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenSession
- func (_Token *TokenSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) BalanceOf(tokenOwner common.Address) (*big.Int, error)
- func (_Token *TokenSession) Decimals() (uint8, error)
- func (_Token *TokenSession) Name() (string, error)
- func (_Token *TokenSession) Symbol() (string, error)
- func (_Token *TokenSession) TotalSupply() (*big.Int, error)
- func (_Token *TokenSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)
- type TokenTransactor
- func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, tokens *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, tokens *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type TokenTransactorRaw
- type TokenTransactorSession
- func (_Token *TokenTransactorSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)
- type TokenTransfer
- type TokenTransferIterator
Constants ¶
This section is empty.
Variables ¶
var Token1155ABI = Token1155MetaData.ABI
Token1155ABI is the input ABI used to generate the binding from. Deprecated: Use Token1155MetaData.ABI instead.
var Token1155MetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"TransferBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"TransferSingle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"URI\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"accounts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
Token1155MetaData contains all meta data concerning the Token1155 contract.
var Token721ABI = Token721MetaData.ABI
Token721ABI is the input ABI used to generate the binding from. Deprecated: Use Token721MetaData.ABI instead.
var Token721MetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
Token721MetaData contains all meta data concerning the Token721 contract.
var TokenABI = TokenMetaData.ABI
TokenABI is the input ABI used to generate the binding from. Deprecated: Use TokenMetaData.ABI instead.
var TokenMetaData = &bind.MetaData{
ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"tokens\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"to\",\"type\":\"address\"},{\"name\":\"tokens\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"tokenOwner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"to\",\"type\":\"address\"},{\"name\":\"tokens\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"tokenOwner\",\"type\":\"address\"},{\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"tokens\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"tokenOwner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"tokens\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"}]",
}
TokenMetaData contains all meta data concerning the Token contract.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct { TokenCaller // Read-only binding to the contract TokenTransactor // Write-only binding to the contract TokenFilterer // Log filterer for contract events }
Token is an auto generated Go binding around an Ethereum contract.
type Token1155 ¶ added in v0.5.1
type Token1155 struct { Token1155Caller // Read-only binding to the contract Token1155Transactor // Write-only binding to the contract Token1155Filterer // Log filterer for contract events }
Token1155 is an auto generated Go binding around an Ethereum contract.
func NewToken1155 ¶ added in v0.5.1
NewToken1155 creates a new instance of Token1155, bound to a specific deployed contract.
type Token1155ApprovalForAll ¶ added in v0.5.1
type Token1155ApprovalForAll struct { Account common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
Token1155ApprovalForAll represents a ApprovalForAll event raised by the Token1155 contract.
type Token1155ApprovalForAllIterator ¶ added in v0.5.1
type Token1155ApprovalForAllIterator struct { Event *Token1155ApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Token1155ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Token1155 contract.
func (*Token1155ApprovalForAllIterator) Close ¶ added in v0.5.1
func (it *Token1155ApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Token1155ApprovalForAllIterator) Error ¶ added in v0.5.1
func (it *Token1155ApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Token1155ApprovalForAllIterator) Next ¶ added in v0.5.1
func (it *Token1155ApprovalForAllIterator) 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 Token1155Caller ¶ added in v0.5.1
type Token1155Caller struct {
// contains filtered or unexported fields
}
Token1155Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewToken1155Caller ¶ added in v0.5.1
func NewToken1155Caller(address common.Address, caller bind.ContractCaller) (*Token1155Caller, error)
NewToken1155Caller creates a new read-only instance of Token1155, bound to a specific deployed contract.
func (*Token1155Caller) BalanceOf ¶ added in v0.5.1
func (_Token1155 *Token1155Caller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address account, uint256 id) view returns(uint256)
func (*Token1155Caller) BalanceOfBatch ¶ added in v0.5.1
func (_Token1155 *Token1155Caller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.
Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])
func (*Token1155Caller) IsApprovedForAll ¶ added in v0.5.1
func (_Token1155 *Token1155Caller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address account, address operator) view returns(bool)
func (*Token1155Caller) SupportsInterface ¶ added in v0.5.1
func (_Token1155 *Token1155Caller) 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)
type Token1155CallerRaw ¶ added in v0.5.1
type Token1155CallerRaw struct {
Contract *Token1155Caller // Generic read-only contract binding to access the raw methods on
}
Token1155CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Token1155CallerRaw) Call ¶ added in v0.5.1
func (_Token1155 *Token1155CallerRaw) 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 Token1155CallerSession ¶ added in v0.5.1
type Token1155CallerSession struct { Contract *Token1155Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Token1155CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Token1155CallerSession) BalanceOf ¶ added in v0.5.1
func (_Token1155 *Token1155CallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address account, uint256 id) view returns(uint256)
func (*Token1155CallerSession) BalanceOfBatch ¶ added in v0.5.1
func (_Token1155 *Token1155CallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.
Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])
func (*Token1155CallerSession) IsApprovedForAll ¶ added in v0.5.1
func (_Token1155 *Token1155CallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address account, address operator) view returns(bool)
func (*Token1155CallerSession) SupportsInterface ¶ added in v0.5.1
func (_Token1155 *Token1155CallerSession) 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)
type Token1155Filterer ¶ added in v0.5.1
type Token1155Filterer struct {
// contains filtered or unexported fields
}
Token1155Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewToken1155Filterer ¶ added in v0.5.1
func NewToken1155Filterer(address common.Address, filterer bind.ContractFilterer) (*Token1155Filterer, error)
NewToken1155Filterer creates a new log filterer instance of Token1155, bound to a specific deployed contract.
func (*Token1155Filterer) FilterApprovalForAll ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*Token1155ApprovalForAllIterator, error)
FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)
func (*Token1155Filterer) FilterTransferBatch ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*Token1155TransferBatchIterator, error)
FilterTransferBatch is a free log retrieval operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.
Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)
func (*Token1155Filterer) FilterTransferSingle ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*Token1155TransferSingleIterator, error)
FilterTransferSingle is a free log retrieval operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.
Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)
func (*Token1155Filterer) FilterURI ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*Token1155URIIterator, error)
FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.
Solidity: event URI(string value, uint256 indexed id)
func (*Token1155Filterer) ParseApprovalForAll ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) ParseApprovalForAll(log types.Log) (*Token1155ApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)
func (*Token1155Filterer) ParseTransferBatch ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) ParseTransferBatch(log types.Log) (*Token1155TransferBatch, error)
ParseTransferBatch is a log parse operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.
Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)
func (*Token1155Filterer) ParseTransferSingle ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) ParseTransferSingle(log types.Log) (*Token1155TransferSingle, error)
ParseTransferSingle is a log parse operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.
Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)
func (*Token1155Filterer) ParseURI ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) ParseURI(log types.Log) (*Token1155URI, error)
ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.
Solidity: event URI(string value, uint256 indexed id)
func (*Token1155Filterer) WatchApprovalForAll ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Token1155ApprovalForAll, account []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 account, address indexed operator, bool approved)
func (*Token1155Filterer) WatchTransferBatch ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *Token1155TransferBatch, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransferBatch is a free log subscription operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.
Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)
func (*Token1155Filterer) WatchTransferSingle ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *Token1155TransferSingle, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransferSingle is a free log subscription operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.
Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)
func (*Token1155Filterer) WatchURI ¶ added in v0.5.1
func (_Token1155 *Token1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *Token1155URI, id []*big.Int) (event.Subscription, error)
WatchURI is a free log subscription operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.
Solidity: event URI(string value, uint256 indexed id)
type Token1155Raw ¶ added in v0.5.1
type Token1155Raw struct {
Contract *Token1155 // Generic contract binding to access the raw methods on
}
Token1155Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Token1155Raw) Call ¶ added in v0.5.1
func (_Token1155 *Token1155Raw) 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 (*Token1155Raw) Transact ¶ added in v0.5.1
func (_Token1155 *Token1155Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Token1155Raw) Transfer ¶ added in v0.5.1
func (_Token1155 *Token1155Raw) 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 Token1155Session ¶ added in v0.5.1
type Token1155Session struct { Contract *Token1155 // 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 }
Token1155Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Token1155Session) BalanceOf ¶ added in v0.5.1
func (_Token1155 *Token1155Session) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address account, uint256 id) view returns(uint256)
func (*Token1155Session) BalanceOfBatch ¶ added in v0.5.1
func (_Token1155 *Token1155Session) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.
Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])
func (*Token1155Session) IsApprovedForAll ¶ added in v0.5.1
func (_Token1155 *Token1155Session) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address account, address operator) view returns(bool)
func (*Token1155Session) SafeBatchTransferFrom ¶ added in v0.5.1
func (_Token1155 *Token1155Session) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)
SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.
Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()
func (*Token1155Session) SafeTransferFrom ¶ added in v0.5.1
func (_Token1155 *Token1155Session) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.
Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()
func (*Token1155Session) SetApprovalForAll ¶ added in v0.5.1
func (_Token1155 *Token1155Session) 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 (*Token1155Session) SupportsInterface ¶ added in v0.5.1
func (_Token1155 *Token1155Session) 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)
type Token1155Transactor ¶ added in v0.5.1
type Token1155Transactor struct {
// contains filtered or unexported fields
}
Token1155Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewToken1155Transactor ¶ added in v0.5.1
func NewToken1155Transactor(address common.Address, transactor bind.ContractTransactor) (*Token1155Transactor, error)
NewToken1155Transactor creates a new write-only instance of Token1155, bound to a specific deployed contract.
func (*Token1155Transactor) SafeBatchTransferFrom ¶ added in v0.5.1
func (_Token1155 *Token1155Transactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)
SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.
Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()
func (*Token1155Transactor) SafeTransferFrom ¶ added in v0.5.1
func (_Token1155 *Token1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.
Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()
func (*Token1155Transactor) SetApprovalForAll ¶ added in v0.5.1
func (_Token1155 *Token1155Transactor) 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()
type Token1155TransactorRaw ¶ added in v0.5.1
type Token1155TransactorRaw struct {
Contract *Token1155Transactor // Generic write-only contract binding to access the raw methods on
}
Token1155TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Token1155TransactorRaw) Transact ¶ added in v0.5.1
func (_Token1155 *Token1155TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Token1155TransactorRaw) Transfer ¶ added in v0.5.1
func (_Token1155 *Token1155TransactorRaw) 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 Token1155TransactorSession ¶ added in v0.5.1
type Token1155TransactorSession struct { Contract *Token1155Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Token1155TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Token1155TransactorSession) SafeBatchTransferFrom ¶ added in v0.5.1
func (_Token1155 *Token1155TransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)
SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.
Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()
func (*Token1155TransactorSession) SafeTransferFrom ¶ added in v0.5.1
func (_Token1155 *Token1155TransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.
Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()
func (*Token1155TransactorSession) SetApprovalForAll ¶ added in v0.5.1
func (_Token1155 *Token1155TransactorSession) 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()
type Token1155TransferBatch ¶ added in v0.5.1
type Token1155TransferBatch struct { Operator common.Address From common.Address To common.Address Ids []*big.Int Values []*big.Int Raw types.Log // Blockchain specific contextual infos }
Token1155TransferBatch represents a TransferBatch event raised by the Token1155 contract.
type Token1155TransferBatchIterator ¶ added in v0.5.1
type Token1155TransferBatchIterator struct { Event *Token1155TransferBatch // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Token1155TransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the Token1155 contract.
func (*Token1155TransferBatchIterator) Close ¶ added in v0.5.1
func (it *Token1155TransferBatchIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Token1155TransferBatchIterator) Error ¶ added in v0.5.1
func (it *Token1155TransferBatchIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Token1155TransferBatchIterator) Next ¶ added in v0.5.1
func (it *Token1155TransferBatchIterator) 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 Token1155TransferSingle ¶ added in v0.5.1
type Token1155TransferSingle struct { Operator common.Address From common.Address To common.Address Id *big.Int Value *big.Int Raw types.Log // Blockchain specific contextual infos }
Token1155TransferSingle represents a TransferSingle event raised by the Token1155 contract.
type Token1155TransferSingleIterator ¶ added in v0.5.1
type Token1155TransferSingleIterator struct { Event *Token1155TransferSingle // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Token1155TransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the Token1155 contract.
func (*Token1155TransferSingleIterator) Close ¶ added in v0.5.1
func (it *Token1155TransferSingleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Token1155TransferSingleIterator) Error ¶ added in v0.5.1
func (it *Token1155TransferSingleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Token1155TransferSingleIterator) Next ¶ added in v0.5.1
func (it *Token1155TransferSingleIterator) 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 Token1155URI ¶ added in v0.5.1
type Token1155URI struct { Value string Id *big.Int Raw types.Log // Blockchain specific contextual infos }
Token1155URI represents a URI event raised by the Token1155 contract.
type Token1155URIIterator ¶ added in v0.5.1
type Token1155URIIterator struct { Event *Token1155URI // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Token1155URIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the Token1155 contract.
func (*Token1155URIIterator) Close ¶ added in v0.5.1
func (it *Token1155URIIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Token1155URIIterator) Error ¶ added in v0.5.1
func (it *Token1155URIIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Token1155URIIterator) Next ¶ added in v0.5.1
func (it *Token1155URIIterator) 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 Token721 ¶ added in v0.5.1
type Token721 struct { Token721Caller // Read-only binding to the contract Token721Transactor // Write-only binding to the contract Token721Filterer // Log filterer for contract events }
Token721 is an auto generated Go binding around an Ethereum contract.
func NewToken721 ¶ added in v0.5.1
NewToken721 creates a new instance of Token721, bound to a specific deployed contract.
type Token721Approval ¶ added in v0.5.1
type Token721Approval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
Token721Approval represents a Approval event raised by the Token721 contract.
type Token721ApprovalForAll ¶ added in v0.5.1
type Token721ApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
Token721ApprovalForAll represents a ApprovalForAll event raised by the Token721 contract.
type Token721ApprovalForAllIterator ¶ added in v0.5.1
type Token721ApprovalForAllIterator struct { Event *Token721ApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Token721ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Token721 contract.
func (*Token721ApprovalForAllIterator) Close ¶ added in v0.5.1
func (it *Token721ApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Token721ApprovalForAllIterator) Error ¶ added in v0.5.1
func (it *Token721ApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Token721ApprovalForAllIterator) Next ¶ added in v0.5.1
func (it *Token721ApprovalForAllIterator) 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 Token721ApprovalIterator ¶ added in v0.5.1
type Token721ApprovalIterator struct { Event *Token721Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Token721ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Token721 contract.
func (*Token721ApprovalIterator) Close ¶ added in v0.5.1
func (it *Token721ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Token721ApprovalIterator) Error ¶ added in v0.5.1
func (it *Token721ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Token721ApprovalIterator) Next ¶ added in v0.5.1
func (it *Token721ApprovalIterator) 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 Token721Caller ¶ added in v0.5.1
type Token721Caller struct {
// contains filtered or unexported fields
}
Token721Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewToken721Caller ¶ added in v0.5.1
func NewToken721Caller(address common.Address, caller bind.ContractCaller) (*Token721Caller, error)
NewToken721Caller creates a new read-only instance of Token721, bound to a specific deployed contract.
func (*Token721Caller) BalanceOf ¶ added in v0.5.1
func (_Token721 *Token721Caller) 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 balance)
func (*Token721Caller) GetApproved ¶ added in v0.5.1
func (_Token721 *Token721Caller) 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 operator)
func (*Token721Caller) IsApprovedForAll ¶ added in v0.5.1
func (_Token721 *Token721Caller) 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 (*Token721Caller) Name ¶ added in v0.5.1
func (_Token721 *Token721Caller) 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 (*Token721Caller) OwnerOf ¶ added in v0.5.1
func (_Token721 *Token721Caller) 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 owner)
func (*Token721Caller) SupportsInterface ¶ added in v0.5.1
func (_Token721 *Token721Caller) 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 (*Token721Caller) Symbol ¶ added in v0.5.1
func (_Token721 *Token721Caller) 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 (*Token721Caller) TokenURI ¶ added in v0.5.1
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*Token721Caller) TotalSupply ¶ added in v0.5.1
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type Token721CallerRaw ¶ added in v0.5.1
type Token721CallerRaw struct {
Contract *Token721Caller // Generic read-only contract binding to access the raw methods on
}
Token721CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Token721CallerRaw) Call ¶ added in v0.5.1
func (_Token721 *Token721CallerRaw) 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 Token721CallerSession ¶ added in v0.5.1
type Token721CallerSession struct { Contract *Token721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Token721CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Token721CallerSession) BalanceOf ¶ added in v0.5.1
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256 balance)
func (*Token721CallerSession) GetApproved ¶ added in v0.5.1
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address operator)
func (*Token721CallerSession) IsApprovedForAll ¶ added in v0.5.1
func (_Token721 *Token721CallerSession) 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 (*Token721CallerSession) Name ¶ added in v0.5.1
func (_Token721 *Token721CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*Token721CallerSession) OwnerOf ¶ added in v0.5.1
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address owner)
func (*Token721CallerSession) SupportsInterface ¶ added in v0.5.1
func (_Token721 *Token721CallerSession) 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 (*Token721CallerSession) Symbol ¶ added in v0.5.1
func (_Token721 *Token721CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*Token721CallerSession) TokenURI ¶ added in v0.5.1
func (_Token721 *Token721CallerSession) 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 (*Token721CallerSession) TotalSupply ¶ added in v0.5.1
func (_Token721 *Token721CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type Token721Filterer ¶ added in v0.5.1
type Token721Filterer struct {
// contains filtered or unexported fields
}
Token721Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewToken721Filterer ¶ added in v0.5.1
func NewToken721Filterer(address common.Address, filterer bind.ContractFilterer) (*Token721Filterer, error)
NewToken721Filterer creates a new log filterer instance of Token721, bound to a specific deployed contract.
func (*Token721Filterer) FilterApproval ¶ added in v0.5.1
func (_Token721 *Token721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*Token721ApprovalIterator, 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 (*Token721Filterer) FilterApprovalForAll ¶ added in v0.5.1
func (_Token721 *Token721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*Token721ApprovalForAllIterator, 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 (*Token721Filterer) FilterTransfer ¶ added in v0.5.1
func (_Token721 *Token721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*Token721TransferIterator, 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 (*Token721Filterer) ParseApproval ¶ added in v0.5.1
func (_Token721 *Token721Filterer) ParseApproval(log types.Log) (*Token721Approval, 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 (*Token721Filterer) ParseApprovalForAll ¶ added in v0.5.1
func (_Token721 *Token721Filterer) ParseApprovalForAll(log types.Log) (*Token721ApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*Token721Filterer) ParseTransfer ¶ added in v0.5.1
func (_Token721 *Token721Filterer) ParseTransfer(log types.Log) (*Token721Transfer, 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 (*Token721Filterer) WatchApproval ¶ added in v0.5.1
func (_Token721 *Token721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Token721Approval, 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 (*Token721Filterer) WatchApprovalForAll ¶ added in v0.5.1
func (_Token721 *Token721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Token721ApprovalForAll, 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 (*Token721Filterer) WatchTransfer ¶ added in v0.5.1
func (_Token721 *Token721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Token721Transfer, 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 Token721Raw ¶ added in v0.5.1
type Token721Raw struct {
Contract *Token721 // Generic contract binding to access the raw methods on
}
Token721Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Token721Raw) Call ¶ added in v0.5.1
func (_Token721 *Token721Raw) 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 (*Token721Raw) Transact ¶ added in v0.5.1
func (_Token721 *Token721Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Token721Raw) Transfer ¶ added in v0.5.1
func (_Token721 *Token721Raw) 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 Token721Session ¶ added in v0.5.1
type Token721Session struct { Contract *Token721 // 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 }
Token721Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Token721Session) Approve ¶ added in v0.5.1
func (_Token721 *Token721Session) 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 (*Token721Session) BalanceOf ¶ added in v0.5.1
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256 balance)
func (*Token721Session) GetApproved ¶ added in v0.5.1
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address operator)
func (*Token721Session) IsApprovedForAll ¶ added in v0.5.1
func (_Token721 *Token721Session) 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 (*Token721Session) Name ¶ added in v0.5.1
func (_Token721 *Token721Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*Token721Session) OwnerOf ¶ added in v0.5.1
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address owner)
func (*Token721Session) SafeTransferFrom ¶ added in v0.5.1
func (_Token721 *Token721Session) 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 (*Token721Session) SafeTransferFrom0 ¶ added in v0.5.1
func (_Token721 *Token721Session) 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 (*Token721Session) SetApprovalForAll ¶ added in v0.5.1
func (_Token721 *Token721Session) 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 (*Token721Session) SupportsInterface ¶ added in v0.5.1
func (_Token721 *Token721Session) 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 (*Token721Session) Symbol ¶ added in v0.5.1
func (_Token721 *Token721Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*Token721Session) TokenURI ¶ added in v0.5.1
func (_Token721 *Token721Session) 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 (*Token721Session) TotalSupply ¶ added in v0.5.1
func (_Token721 *Token721Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*Token721Session) TransferFrom ¶ added in v0.5.1
func (_Token721 *Token721Session) 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 Token721Transactor ¶ added in v0.5.1
type Token721Transactor struct {
// contains filtered or unexported fields
}
Token721Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewToken721Transactor ¶ added in v0.5.1
func NewToken721Transactor(address common.Address, transactor bind.ContractTransactor) (*Token721Transactor, error)
NewToken721Transactor creates a new write-only instance of Token721, bound to a specific deployed contract.
func (*Token721Transactor) Approve ¶ added in v0.5.1
func (_Token721 *Token721Transactor) 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 (*Token721Transactor) SafeTransferFrom ¶ added in v0.5.1
func (_Token721 *Token721Transactor) 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 (*Token721Transactor) SafeTransferFrom0 ¶ added in v0.5.1
func (_Token721 *Token721Transactor) 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 (*Token721Transactor) SetApprovalForAll ¶ added in v0.5.1
func (_Token721 *Token721Transactor) 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 (*Token721Transactor) TransferFrom ¶ added in v0.5.1
func (_Token721 *Token721Transactor) 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 Token721TransactorRaw ¶ added in v0.5.1
type Token721TransactorRaw struct {
Contract *Token721Transactor // Generic write-only contract binding to access the raw methods on
}
Token721TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Token721TransactorRaw) Transact ¶ added in v0.5.1
func (_Token721 *Token721TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Token721TransactorRaw) Transfer ¶ added in v0.5.1
func (_Token721 *Token721TransactorRaw) 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 Token721TransactorSession ¶ added in v0.5.1
type Token721TransactorSession struct { Contract *Token721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Token721TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Token721TransactorSession) Approve ¶ added in v0.5.1
func (_Token721 *Token721TransactorSession) 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 (*Token721TransactorSession) SafeTransferFrom ¶ added in v0.5.1
func (_Token721 *Token721TransactorSession) 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 (*Token721TransactorSession) SafeTransferFrom0 ¶ added in v0.5.1
func (_Token721 *Token721TransactorSession) 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 (*Token721TransactorSession) SetApprovalForAll ¶ added in v0.5.1
func (_Token721 *Token721TransactorSession) 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 (*Token721TransactorSession) TransferFrom ¶ added in v0.5.1
func (_Token721 *Token721TransactorSession) 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 Token721Transfer ¶ added in v0.5.1
type Token721Transfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
Token721Transfer represents a Transfer event raised by the Token721 contract.
type Token721TransferIterator ¶ added in v0.5.1
type Token721TransferIterator struct { Event *Token721Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Token721TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Token721 contract.
func (*Token721TransferIterator) Close ¶ added in v0.5.1
func (it *Token721TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Token721TransferIterator) Error ¶ added in v0.5.1
func (it *Token721TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Token721TransferIterator) Next ¶ added in v0.5.1
func (it *Token721TransferIterator) 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 TokenApproval ¶
type TokenApproval struct { TokenOwner common.Address Spender common.Address Tokens *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenApproval represents a Approval event raised by the Token contract.
type TokenApprovalIterator ¶
type TokenApprovalIterator struct { Event *TokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Token contract.
func (*TokenApprovalIterator) Close ¶
func (it *TokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenApprovalIterator) Error ¶
func (it *TokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenApprovalIterator) Next ¶
func (it *TokenApprovalIterator) 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 TokenCaller ¶
type TokenCaller struct {
// contains filtered or unexported fields
}
TokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenCaller ¶
func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)
NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.
func (*TokenCaller) Allowance ¶
func (_Token *TokenCaller) Allowance(opts *bind.CallOpts, tokenOwner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address tokenOwner, address spender) view returns(uint256 remaining)
func (*TokenCaller) BalanceOf ¶
func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, tokenOwner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address tokenOwner) view returns(uint256 balance)
func (*TokenCaller) Decimals ¶
func (_Token *TokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*TokenCaller) Name ¶
func (_Token *TokenCaller) 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 (*TokenCaller) Symbol ¶
func (_Token *TokenCaller) 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 (*TokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type TokenCallerRaw ¶
type TokenCallerRaw struct {
Contract *TokenCaller // Generic read-only contract binding to access the raw methods on
}
TokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenCallerRaw) Call ¶
func (_Token *TokenCallerRaw) 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 TokenCallerSession ¶
type TokenCallerSession struct { Contract *TokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TokenCallerSession) Allowance ¶
func (_Token *TokenCallerSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address tokenOwner, address spender) view returns(uint256 remaining)
func (*TokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address tokenOwner) view returns(uint256 balance)
func (*TokenCallerSession) Decimals ¶
func (_Token *TokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*TokenCallerSession) Name ¶
func (_Token *TokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenCallerSession) Symbol ¶
func (_Token *TokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*TokenCallerSession) TotalSupply ¶
func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type TokenFilterer ¶
type TokenFilterer struct {
// contains filtered or unexported fields
}
TokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenFilterer ¶
func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)
NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.
func (*TokenFilterer) FilterApproval ¶
func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, tokenOwner []common.Address, spender []common.Address) (*TokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed tokenOwner, address indexed spender, uint256 tokens)
func (*TokenFilterer) FilterTransfer ¶
func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 tokens)
func (*TokenFilterer) ParseApproval ¶
func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed tokenOwner, address indexed spender, uint256 tokens)
func (*TokenFilterer) ParseTransfer ¶
func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 tokens)
func (*TokenFilterer) WatchApproval ¶
func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, tokenOwner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed tokenOwner, address indexed spender, uint256 tokens)
func (*TokenFilterer) WatchTransfer ¶
func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, from []common.Address, to []common.Address) (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 tokens)
type TokenRaw ¶
type TokenRaw struct {
Contract *Token // Generic contract binding to access the raw methods on
}
TokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenRaw) Call ¶
func (_Token *TokenRaw) 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 (*TokenRaw) Transact ¶
func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenRaw) Transfer ¶
func (_Token *TokenRaw) 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 TokenSession ¶
type TokenSession struct { Contract *Token // 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 }
TokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TokenSession) Allowance ¶
func (_Token *TokenSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address tokenOwner, address spender) view returns(uint256 remaining)
func (*TokenSession) Approve ¶
func (_Token *TokenSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 tokens) returns(bool success)
func (*TokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address tokenOwner) view returns(uint256 balance)
func (*TokenSession) Decimals ¶
func (_Token *TokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*TokenSession) Name ¶
func (_Token *TokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenSession) Symbol ¶
func (_Token *TokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*TokenSession) TotalSupply ¶
func (_Token *TokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*TokenSession) Transfer ¶
func (_Token *TokenSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 tokens) returns(bool success)
func (*TokenSession) TransferFrom ¶
func (_Token *TokenSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokens) returns(bool success)
type TokenTransactor ¶
type TokenTransactor struct {
// contains filtered or unexported fields
}
TokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenTransactor ¶
func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)
NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.
func (*TokenTransactor) Approve ¶
func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, tokens *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 tokens) returns(bool success)
func (*TokenTransactor) Transfer ¶
func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, tokens *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 tokens) returns(bool success)
func (*TokenTransactor) TransferFrom ¶
func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokens) returns(bool success)
type TokenTransactorRaw ¶
type TokenTransactorRaw struct {
Contract *TokenTransactor // Generic write-only contract binding to access the raw methods on
}
TokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenTransactorRaw) Transact ¶
func (_Token *TokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenTransactorRaw) Transfer ¶
func (_Token *TokenTransactorRaw) 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 TokenTransactorSession ¶
type TokenTransactorSession struct { Contract *TokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TokenTransactorSession) Approve ¶
func (_Token *TokenTransactorSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 tokens) returns(bool success)
func (*TokenTransactorSession) Transfer ¶
func (_Token *TokenTransactorSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 tokens) returns(bool success)
func (*TokenTransactorSession) TransferFrom ¶
func (_Token *TokenTransactorSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokens) returns(bool success)
type TokenTransfer ¶
type TokenTransfer struct { From common.Address To common.Address Tokens *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenTransfer represents a Transfer event raised by the Token contract.
type TokenTransferIterator ¶
type TokenTransferIterator struct { Event *TokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Token contract.
func (*TokenTransferIterator) Close ¶
func (it *TokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenTransferIterator) Error ¶
func (it *TokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenTransferIterator) Next ¶
func (it *TokenTransferIterator) 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.