Documentation ¶
Index ¶
- Constants
- type ERC1155
- type ERC1155ApprovalForAll
- type ERC1155ApprovalForAllIterator
- type ERC1155ApprovalForAllOrChainReorg
- type ERC1155BulkCaller
- func (_ERC1155 *ERC1155BulkCaller) BalanceOf(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, account common.Address, ...) (**big.Int, *error)
- func (_ERC1155 *ERC1155BulkCaller) BalanceOfBatch(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, accounts []common.Address, ...) (*[]*big.Int, *error)
- func (_ERC1155 *ERC1155BulkCaller) IsApprovedForAll(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, account common.Address, ...) (*bool, *error)
- func (_ERC1155 *ERC1155BulkCaller) SupportsInterface(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, interfaceId [4]byte) (*bool, *error)
- type ERC1155BulkTransactor
- func (_ERC1155 *ERC1155BulkTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) types.UnsignedTransaction
- func (_ERC1155 *ERC1155BulkTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, ...) types.UnsignedTransaction
- func (_ERC1155 *ERC1155BulkTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) types.UnsignedTransaction
- type ERC1155Caller
- func (_ERC1155 *ERC1155Caller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)
- func (_ERC1155 *ERC1155Caller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_ERC1155 *ERC1155Caller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)
- func (_ERC1155 *ERC1155Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type ERC1155CallerRaw
- type ERC1155CallerSession
- func (_ERC1155 *ERC1155CallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)
- func (_ERC1155 *ERC1155CallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_ERC1155 *ERC1155CallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)
- func (_ERC1155 *ERC1155CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type ERC1155Filterer
- func (_ERC1155 *ERC1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*ERC1155ApprovalForAllIterator, error)
- func (_ERC1155 *ERC1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, ...) (*ERC1155TransferBatchIterator, error)
- func (_ERC1155 *ERC1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, ...) (*ERC1155TransferSingleIterator, error)
- func (_ERC1155 *ERC1155Filterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*ERC1155URIIterator, error)
- func (_ERC1155 *ERC1155Filterer) ParseApprovalForAll(log types.Log) (*ERC1155ApprovalForAll, error)
- func (_ERC1155 *ERC1155Filterer) ParseTransferBatch(log types.Log) (*ERC1155TransferBatch, error)
- func (_ERC1155 *ERC1155Filterer) ParseTransferSingle(log types.Log) (*ERC1155TransferSingle, error)
- func (_ERC1155 *ERC1155Filterer) ParseURI(log types.Log) (*ERC1155URI, error)
- func (_ERC1155 *ERC1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC1155ApprovalForAllOrChainReorg, ...) (event.Subscription, error)
- func (_ERC1155 *ERC1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *ERC1155TransferBatchOrChainReorg, ...) (event.Subscription, error)
- func (_ERC1155 *ERC1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *ERC1155TransferSingleOrChainReorg, ...) (event.Subscription, error)
- func (_ERC1155 *ERC1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *ERC1155URIOrChainReorg, id []*big.Int) (event.Subscription, error)
- type ERC1155Raw
- func (_ERC1155 *ERC1155Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC1155 *ERC1155Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC1155 *ERC1155Raw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC1155Session
- func (_ERC1155 *ERC1155Session) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)
- func (_ERC1155 *ERC1155Session) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_ERC1155 *ERC1155Session) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)
- func (_ERC1155 *ERC1155Session) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC1155 *ERC1155Session) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC1155 *ERC1155Session) SetApprovalForAll(operator common.Address, approved bool) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC1155 *ERC1155Session) SupportsInterface(interfaceId [4]byte) (bool, error)
- type ERC1155Transactor
- func (_ERC1155 *ERC1155Transactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC1155 *ERC1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC1155 *ERC1155Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC1155TransactorRaw
- type ERC1155TransactorSession
- func (_ERC1155 *ERC1155TransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC1155 *ERC1155TransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC1155 *ERC1155TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC1155TransferBatch
- type ERC1155TransferBatchIterator
- type ERC1155TransferBatchOrChainReorg
- type ERC1155TransferSingle
- type ERC1155TransferSingleIterator
- type ERC1155TransferSingleOrChainReorg
- type ERC1155URI
- type ERC1155URIIterator
- type ERC1155URIOrChainReorg
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20ApprovalOrChainReorg
- type ERC20BulkCaller
- func (_ERC20 *ERC20BulkCaller) Allowance(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, owner common.Address, ...) (**big.Int, *error)
- func (_ERC20 *ERC20BulkCaller) BalanceOf(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, account common.Address) (**big.Int, *error)
- func (_ERC20 *ERC20BulkCaller) TotalSupply(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (**big.Int, *error)
- type ERC20BulkTransactor
- func (_ERC20 *ERC20BulkTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) types.UnsignedTransaction
- func (_ERC20 *ERC20BulkTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) types.UnsignedTransaction
- func (_ERC20 *ERC20BulkTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) types.UnsignedTransaction
- type ERC20Caller
- type ERC20CallerRaw
- type ERC20CallerSession
- type ERC20Filterer
- func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
- func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
- func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
- func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
- func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20ApprovalOrChainReorg, ...) (event.Subscription, error)
- func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20TransferOrChainReorg, ...) (event.Subscription, error)
- type ERC20Raw
- func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC20Session
- func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC20 *ERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
- func (_ERC20 *ERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC20 *ERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC20Transactor
- func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC20TransactorRaw
- type ERC20TransactorSession
- func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC20 *ERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC20 *ERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC20Transfer
- type ERC20TransferIterator
- type ERC20TransferOrChainReorg
- type ERC721
- type ERC721Approval
- type ERC721ApprovalForAll
- type ERC721ApprovalForAllIterator
- type ERC721ApprovalForAllOrChainReorg
- type ERC721ApprovalIterator
- type ERC721ApprovalOrChainReorg
- type ERC721BulkCaller
- func (_ERC721 *ERC721BulkCaller) BalanceOf(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, owner common.Address) (**big.Int, *error)
- func (_ERC721 *ERC721BulkCaller) GetApproved(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, tokenId *big.Int) (*common.Address, *error)
- func (_ERC721 *ERC721BulkCaller) IsApprovedForAll(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, owner common.Address, ...) (*bool, *error)
- func (_ERC721 *ERC721BulkCaller) OwnerOf(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, tokenId *big.Int) (*common.Address, *error)
- func (_ERC721 *ERC721BulkCaller) SupportsInterface(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, interfaceId [4]byte) (*bool, *error)
- type ERC721BulkTransactor
- func (_ERC721 *ERC721BulkTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) types.UnsignedTransaction
- func (_ERC721 *ERC721BulkTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) types.UnsignedTransaction
- func (_ERC721 *ERC721BulkTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) types.UnsignedTransaction
- func (_ERC721 *ERC721BulkTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, _approved bool) types.UnsignedTransaction
- func (_ERC721 *ERC721BulkTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) types.UnsignedTransaction
- type ERC721Caller
- func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_ERC721 *ERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type ERC721CallerRaw
- type ERC721CallerSession
- func (_ERC721 *ERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC721 *ERC721CallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721CallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_ERC721 *ERC721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type ERC721Filterer
- func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*ERC721ApprovalIterator, error)
- func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ApprovalForAllIterator, error)
- func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*ERC721TransferIterator, error)
- func (_ERC721 *ERC721Filterer) ParseApproval(log types.Log) (*ERC721Approval, error)
- func (_ERC721 *ERC721Filterer) ParseApprovalForAll(log types.Log) (*ERC721ApprovalForAll, error)
- func (_ERC721 *ERC721Filterer) ParseTransfer(log types.Log) (*ERC721Transfer, error)
- func (_ERC721 *ERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalOrChainReorg, ...) (event.Subscription, error)
- func (_ERC721 *ERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalForAllOrChainReorg, ...) (event.Subscription, error)
- func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721TransferOrChainReorg, ...) (event.Subscription, error)
- type ERC721Raw
- func (_ERC721 *ERC721Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC721 *ERC721Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721Raw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC721Session
- func (_ERC721 *ERC721Session) Approve(to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721Session) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC721 *ERC721Session) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721Session) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_ERC721 *ERC721Session) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721Session) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721Session) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721Session) SetApprovalForAll(operator common.Address, _approved bool) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721Session) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_ERC721 *ERC721Session) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC721Transactor
- func (_ERC721 *ERC721Transactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, _approved bool) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC721TransactorRaw
- type ERC721TransactorSession
- func (_ERC721 *ERC721TransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721TransactorSession) SetApprovalForAll(operator common.Address, _approved bool) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC721 *ERC721TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC721Transfer
- type ERC721TransferIterator
- type ERC721TransferOrChainReorg
- type ERC777
- type ERC777AuthorizedOperator
- type ERC777AuthorizedOperatorIterator
- type ERC777AuthorizedOperatorOrChainReorg
- type ERC777BulkCaller
- func (_ERC777 *ERC777BulkCaller) BalanceOf(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, owner common.Address) (**big.Int, *error)
- func (_ERC777 *ERC777BulkCaller) DefaultOperators(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (*[]common.Address, *error)
- func (_ERC777 *ERC777BulkCaller) Granularity(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (**big.Int, *error)
- func (_ERC777 *ERC777BulkCaller) IsOperatorFor(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, operator common.Address, ...) (*bool, *error)
- func (_ERC777 *ERC777BulkCaller) Name(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (*string, *error)
- func (_ERC777 *ERC777BulkCaller) Symbol(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (*string, *error)
- func (_ERC777 *ERC777BulkCaller) TotalSupply(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (**big.Int, *error)
- type ERC777BulkTransactor
- func (_ERC777 *ERC777BulkTransactor) AuthorizeOperator(opts *bind.TransactOpts, operator common.Address) types.UnsignedTransaction
- func (_ERC777 *ERC777BulkTransactor) Burn(opts *bind.TransactOpts, amount *big.Int, data []byte) types.UnsignedTransaction
- func (_ERC777 *ERC777BulkTransactor) OperatorBurn(opts *bind.TransactOpts, account common.Address, amount *big.Int, data []byte, ...) types.UnsignedTransaction
- func (_ERC777 *ERC777BulkTransactor) OperatorSend(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) types.UnsignedTransaction
- func (_ERC777 *ERC777BulkTransactor) RevokeOperator(opts *bind.TransactOpts, operator common.Address) types.UnsignedTransaction
- func (_ERC777 *ERC777BulkTransactor) Send(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) types.UnsignedTransaction
- type ERC777Burned
- type ERC777BurnedIterator
- type ERC777BurnedOrChainReorg
- type ERC777Caller
- func (_ERC777 *ERC777Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_ERC777 *ERC777Caller) DefaultOperators(opts *bind.CallOpts) ([]common.Address, error)
- func (_ERC777 *ERC777Caller) Granularity(opts *bind.CallOpts) (*big.Int, error)
- func (_ERC777 *ERC777Caller) IsOperatorFor(opts *bind.CallOpts, operator common.Address, tokenHolder common.Address) (bool, error)
- func (_ERC777 *ERC777Caller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC777 *ERC777Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC777 *ERC777Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC777CallerRaw
- type ERC777CallerSession
- func (_ERC777 *ERC777CallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC777 *ERC777CallerSession) DefaultOperators() ([]common.Address, error)
- func (_ERC777 *ERC777CallerSession) Granularity() (*big.Int, error)
- func (_ERC777 *ERC777CallerSession) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error)
- func (_ERC777 *ERC777CallerSession) Name() (string, error)
- func (_ERC777 *ERC777CallerSession) Symbol() (string, error)
- func (_ERC777 *ERC777CallerSession) TotalSupply() (*big.Int, error)
- type ERC777Filterer
- func (_ERC777 *ERC777Filterer) FilterAuthorizedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*ERC777AuthorizedOperatorIterator, error)
- func (_ERC777 *ERC777Filterer) FilterBurned(opts *bind.FilterOpts, operator []common.Address, from []common.Address) (*ERC777BurnedIterator, error)
- func (_ERC777 *ERC777Filterer) FilterMinted(opts *bind.FilterOpts, operator []common.Address, to []common.Address) (*ERC777MintedIterator, error)
- func (_ERC777 *ERC777Filterer) FilterRevokedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*ERC777RevokedOperatorIterator, error)
- func (_ERC777 *ERC777Filterer) FilterSent(opts *bind.FilterOpts, operator []common.Address, from []common.Address, ...) (*ERC777SentIterator, error)
- func (_ERC777 *ERC777Filterer) ParseAuthorizedOperator(log types.Log) (*ERC777AuthorizedOperator, error)
- func (_ERC777 *ERC777Filterer) ParseBurned(log types.Log) (*ERC777Burned, error)
- func (_ERC777 *ERC777Filterer) ParseMinted(log types.Log) (*ERC777Minted, error)
- func (_ERC777 *ERC777Filterer) ParseRevokedOperator(log types.Log) (*ERC777RevokedOperator, error)
- func (_ERC777 *ERC777Filterer) ParseSent(log types.Log) (*ERC777Sent, error)
- func (_ERC777 *ERC777Filterer) WatchAuthorizedOperator(opts *bind.WatchOpts, sink chan<- *ERC777AuthorizedOperatorOrChainReorg, ...) (event.Subscription, error)
- func (_ERC777 *ERC777Filterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *ERC777BurnedOrChainReorg, ...) (event.Subscription, error)
- func (_ERC777 *ERC777Filterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *ERC777MintedOrChainReorg, ...) (event.Subscription, error)
- func (_ERC777 *ERC777Filterer) WatchRevokedOperator(opts *bind.WatchOpts, sink chan<- *ERC777RevokedOperatorOrChainReorg, ...) (event.Subscription, error)
- func (_ERC777 *ERC777Filterer) WatchSent(opts *bind.WatchOpts, sink chan<- *ERC777SentOrChainReorg, ...) (event.Subscription, error)
- type ERC777Minted
- type ERC777MintedIterator
- type ERC777MintedOrChainReorg
- type ERC777Raw
- func (_ERC777 *ERC777Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC777 *ERC777Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Raw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC777RevokedOperator
- type ERC777RevokedOperatorIterator
- type ERC777RevokedOperatorOrChainReorg
- type ERC777Sent
- type ERC777SentIterator
- type ERC777SentOrChainReorg
- type ERC777Session
- func (_ERC777 *ERC777Session) AuthorizeOperator(operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Session) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC777 *ERC777Session) Burn(amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Session) DefaultOperators() ([]common.Address, error)
- func (_ERC777 *ERC777Session) Granularity() (*big.Int, error)
- func (_ERC777 *ERC777Session) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error)
- func (_ERC777 *ERC777Session) Name() (string, error)
- func (_ERC777 *ERC777Session) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Session) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Session) RevokeOperator(operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Session) Send(recipient common.Address, amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Session) Symbol() (string, error)
- func (_ERC777 *ERC777Session) TotalSupply() (*big.Int, error)
- type ERC777Transactor
- func (_ERC777 *ERC777Transactor) AuthorizeOperator(opts *bind.TransactOpts, operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Transactor) Burn(opts *bind.TransactOpts, amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Transactor) OperatorBurn(opts *bind.TransactOpts, account common.Address, amount *big.Int, data []byte, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Transactor) OperatorSend(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Transactor) RevokeOperator(opts *bind.TransactOpts, operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777Transactor) Send(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.UnsignedTransaction, *types.Hash, error)
- type ERC777TransactorRaw
- type ERC777TransactorSession
- func (_ERC777 *ERC777TransactorSession) AuthorizeOperator(operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777TransactorSession) Burn(amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777TransactorSession) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777TransactorSession) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, ...) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777TransactorSession) RevokeOperator(operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
- func (_ERC777 *ERC777TransactorSession) Send(recipient common.Address, amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
Constants ¶
const ERC1155ABI = "" /* 4041-byte string literal not displayed */
ERC1155ABI is the input ABI used to generate the binding from.
const ERC20ABI = "" /* 2426-byte string literal not displayed */
ERC20ABI is the input ABI used to generate the binding from.
const ERC721ABI = "" /* 3892-byte string literal not displayed */
ERC721ABI is the input ABI used to generate the binding from.
const ERC777ABI = "" /* 5398-byte string literal not displayed */
ERC777ABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ERC1155 ¶
type ERC1155 struct { ERC1155Caller // Read-only binding to the contract ERC1155Transactor // Write-only binding to the contract ERC1155Filterer // Log filterer for contract events }
ERC1155 is an auto generated Go binding around an Conflux contract.
func NewERC1155 ¶
NewERC1155 creates a new instance of ERC1155, bound to a specific deployed contract.
type ERC1155ApprovalForAll ¶
type ERC1155ApprovalForAll struct { Account common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
ERC1155ApprovalForAll represents a ApprovalForAll event raised by the ERC1155 contract.
type ERC1155ApprovalForAllIterator ¶
type ERC1155ApprovalForAllIterator struct { Event *ERC1155ApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the ERC1155 contract.
func (*ERC1155ApprovalForAllIterator) Close ¶
func (it *ERC1155ApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155ApprovalForAllIterator) Error ¶
func (it *ERC1155ApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155ApprovalForAllIterator) Next ¶
func (it *ERC1155ApprovalForAllIterator) 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 ERC1155ApprovalForAllOrChainReorg ¶
type ERC1155ApprovalForAllOrChainReorg struct { Event *ERC1155ApprovalForAll ChainReorg *types.ChainReorg }
ERC1155ApprovalForAllOrChainReorg represents a ApprovalForAll subscription event raised by the ERC1155 contract.
type ERC1155BulkCaller ¶
type ERC1155BulkCaller struct {
// contains filtered or unexported fields
}
ERC1155BulkCaller is an auto generated read-only Go binding around an Conflux contract.
func NewERC1155BulkCaller ¶
func NewERC1155BulkCaller(address types.Address, caller bind.ContractCaller) (*ERC1155BulkCaller, error)
NewERC1155Caller creates a new read-only instance of ERC1155, bound to a specific deployed contract.
func (*ERC1155BulkCaller) BalanceOf ¶
func (_ERC1155 *ERC1155BulkCaller) BalanceOf(bulkcaller bulk.BulkCaller, 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 (*ERC1155BulkCaller) BalanceOfBatch ¶
func (_ERC1155 *ERC1155BulkCaller) BalanceOfBatch(bulkcaller bulk.BulkCaller, 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 (*ERC1155BulkCaller) IsApprovedForAll ¶
func (_ERC1155 *ERC1155BulkCaller) IsApprovedForAll(bulkcaller bulk.BulkCaller, 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 (*ERC1155BulkCaller) SupportsInterface ¶
func (_ERC1155 *ERC1155BulkCaller) SupportsInterface(bulkcaller bulk.BulkCaller, 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 ERC1155BulkTransactor ¶
type ERC1155BulkTransactor struct {
// contains filtered or unexported fields
}
ERC1155BulkTransactor is an auto generated write-only Go binding around an Conflux contract.
func NewERC1155BulkTransactor ¶
func NewERC1155BulkTransactor(address types.Address, transactor bind.ContractTransactor) (*ERC1155BulkTransactor, error)
NewERC1155BulkTransactor creates a new write-only instance of ERC1155, bound to a specific deployed contract.
func (*ERC1155BulkTransactor) SafeBatchTransferFrom ¶
func (_ERC1155 *ERC1155BulkTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) types.UnsignedTransaction
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 (*ERC1155BulkTransactor) SafeTransferFrom ¶
func (_ERC1155 *ERC1155BulkTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) types.UnsignedTransaction
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 (*ERC1155BulkTransactor) SetApprovalForAll ¶
func (_ERC1155 *ERC1155BulkTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) types.UnsignedTransaction
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
type ERC1155Caller ¶
type ERC1155Caller struct {
// contains filtered or unexported fields
}
ERC1155Caller is an auto generated read-only Go binding around an Conflux contract.
func NewERC1155Caller ¶
func NewERC1155Caller(address types.Address, caller bind.ContractCaller) (*ERC1155Caller, error)
NewERC1155Caller creates a new read-only instance of ERC1155, bound to a specific deployed contract.
func (*ERC1155Caller) BalanceOf ¶
func (_ERC1155 *ERC1155Caller) 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 (*ERC1155Caller) BalanceOfBatch ¶
func (_ERC1155 *ERC1155Caller) 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 (*ERC1155Caller) IsApprovedForAll ¶
func (_ERC1155 *ERC1155Caller) 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 (*ERC1155Caller) SupportsInterface ¶
func (_ERC1155 *ERC1155Caller) 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 ERC1155CallerRaw ¶
type ERC1155CallerRaw struct {
Contract *ERC1155Caller // Generic read-only contract binding to access the raw methods on
}
ERC1155CallerRaw is an auto generated low-level read-only Go binding around an Conflux contract.
func (*ERC1155CallerRaw) Call ¶
func (_ERC1155 *ERC1155CallerRaw) 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 ERC1155CallerSession ¶
type ERC1155CallerSession struct { Contract *ERC1155Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC1155CallerSession is an auto generated read-only Go binding around an Conflux contract, with pre-set call options.
func (*ERC1155CallerSession) BalanceOf ¶
func (_ERC1155 *ERC1155CallerSession) 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 (*ERC1155CallerSession) BalanceOfBatch ¶
func (_ERC1155 *ERC1155CallerSession) 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 (*ERC1155CallerSession) IsApprovedForAll ¶
func (_ERC1155 *ERC1155CallerSession) 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 (*ERC1155CallerSession) SupportsInterface ¶
func (_ERC1155 *ERC1155CallerSession) 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 ERC1155Filterer ¶
type ERC1155Filterer struct {
// contains filtered or unexported fields
}
ERC1155Filterer is an auto generated log filtering Go binding around an Conflux contract events.
func NewERC1155Filterer ¶
func NewERC1155Filterer(address types.Address, filterer bind.ContractFilterer) (*ERC1155Filterer, error)
NewERC1155Filterer creates a new log filterer instance of ERC1155, bound to a specific deployed contract.
func (*ERC1155Filterer) FilterApprovalForAll ¶
func (_ERC1155 *ERC1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*ERC1155ApprovalForAllIterator, 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 (*ERC1155Filterer) FilterTransferBatch ¶
func (_ERC1155 *ERC1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*ERC1155TransferBatchIterator, 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 (*ERC1155Filterer) FilterTransferSingle ¶
func (_ERC1155 *ERC1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*ERC1155TransferSingleIterator, 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 (*ERC1155Filterer) FilterURI ¶
func (_ERC1155 *ERC1155Filterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*ERC1155URIIterator, error)
FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.
Solidity: event URI(string value, uint256 indexed id)
func (*ERC1155Filterer) ParseApprovalForAll ¶
func (_ERC1155 *ERC1155Filterer) ParseApprovalForAll(log types.Log) (*ERC1155ApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)
func (*ERC1155Filterer) ParseTransferBatch ¶
func (_ERC1155 *ERC1155Filterer) ParseTransferBatch(log types.Log) (*ERC1155TransferBatch, 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 (*ERC1155Filterer) ParseTransferSingle ¶
func (_ERC1155 *ERC1155Filterer) ParseTransferSingle(log types.Log) (*ERC1155TransferSingle, 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 (*ERC1155Filterer) ParseURI ¶
func (_ERC1155 *ERC1155Filterer) ParseURI(log types.Log) (*ERC1155URI, error)
ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.
Solidity: event URI(string value, uint256 indexed id)
func (*ERC1155Filterer) WatchApprovalForAll ¶
func (_ERC1155 *ERC1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC1155ApprovalForAllOrChainReorg, 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 (*ERC1155Filterer) WatchTransferBatch ¶
func (_ERC1155 *ERC1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *ERC1155TransferBatchOrChainReorg, 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 (*ERC1155Filterer) WatchTransferSingle ¶
func (_ERC1155 *ERC1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *ERC1155TransferSingleOrChainReorg, 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 (*ERC1155Filterer) WatchURI ¶
func (_ERC1155 *ERC1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *ERC1155URIOrChainReorg, 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 ERC1155Raw ¶
type ERC1155Raw struct {
Contract *ERC1155 // Generic contract binding to access the raw methods on
}
ERC1155Raw is an auto generated low-level Go binding around an Conflux contract.
func (*ERC1155Raw) Call ¶
func (_ERC1155 *ERC1155Raw) 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 (*ERC1155Raw) Transact ¶
func (_ERC1155 *ERC1155Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC1155Raw) Transfer ¶
func (_ERC1155 *ERC1155Raw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC1155Session ¶
type ERC1155Session struct { Contract *ERC1155 // 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 }
ERC1155Session is an auto generated Go binding around an Conflux contract, with pre-set call and transact options.
func (*ERC1155Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address account, uint256 id) view returns(uint256)
func (*ERC1155Session) BalanceOfBatch ¶
func (_ERC1155 *ERC1155Session) 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 (*ERC1155Session) IsApprovedForAll ¶
func (_ERC1155 *ERC1155Session) 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 (*ERC1155Session) SafeBatchTransferFrom ¶
func (_ERC1155 *ERC1155Session) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, 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 (*ERC1155Session) SafeTransferFrom ¶
func (_ERC1155 *ERC1155Session) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, 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 (*ERC1155Session) SetApprovalForAll ¶
func (_ERC1155 *ERC1155Session) SetApprovalForAll(operator common.Address, approved bool) (*types.UnsignedTransaction, *types.Hash, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*ERC1155Session) SupportsInterface ¶
func (_ERC1155 *ERC1155Session) 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 ERC1155Transactor ¶
type ERC1155Transactor struct {
// contains filtered or unexported fields
}
ERC1155Transactor is an auto generated write-only Go binding around an Conflux contract.
func NewERC1155Transactor ¶
func NewERC1155Transactor(address types.Address, transactor bind.ContractTransactor) (*ERC1155Transactor, error)
NewERC1155Transactor creates a new write-only instance of ERC1155, bound to a specific deployed contract.
func (*ERC1155Transactor) SafeBatchTransferFrom ¶
func (_ERC1155 *ERC1155Transactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, 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 (*ERC1155Transactor) SafeTransferFrom ¶
func (_ERC1155 *ERC1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, 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 (*ERC1155Transactor) SetApprovalForAll ¶
func (_ERC1155 *ERC1155Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.UnsignedTransaction, *types.Hash, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
type ERC1155TransactorRaw ¶
type ERC1155TransactorRaw struct {
Contract *ERC1155Transactor // Generic write-only contract binding to access the raw methods on
}
ERC1155TransactorRaw is an auto generated low-level write-only Go binding around an Conflux contract.
func (*ERC1155TransactorRaw) Transact ¶
func (_ERC1155 *ERC1155TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC1155TransactorRaw) Transfer ¶
func (_ERC1155 *ERC1155TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC1155TransactorSession ¶
type ERC1155TransactorSession struct { Contract *ERC1155Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC1155TransactorSession is an auto generated write-only Go binding around an Conflux contract, with pre-set transact options.
func (*ERC1155TransactorSession) SafeBatchTransferFrom ¶
func (_ERC1155 *ERC1155TransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, 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 (*ERC1155TransactorSession) SafeTransferFrom ¶
func (_ERC1155 *ERC1155TransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, 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 (*ERC1155TransactorSession) SetApprovalForAll ¶
func (_ERC1155 *ERC1155TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.UnsignedTransaction, *types.Hash, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
type ERC1155TransferBatch ¶
type ERC1155TransferBatch struct { Operator common.Address From common.Address To common.Address Ids []*big.Int Values []*big.Int Raw types.Log // Blockchain specific contextual infos }
ERC1155TransferBatch represents a TransferBatch event raised by the ERC1155 contract.
type ERC1155TransferBatchIterator ¶
type ERC1155TransferBatchIterator struct { Event *ERC1155TransferBatch // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155TransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the ERC1155 contract.
func (*ERC1155TransferBatchIterator) Close ¶
func (it *ERC1155TransferBatchIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155TransferBatchIterator) Error ¶
func (it *ERC1155TransferBatchIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155TransferBatchIterator) Next ¶
func (it *ERC1155TransferBatchIterator) 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 ERC1155TransferBatchOrChainReorg ¶
type ERC1155TransferBatchOrChainReorg struct { Event *ERC1155TransferBatch ChainReorg *types.ChainReorg }
ERC1155TransferBatchOrChainReorg represents a TransferBatch subscription event raised by the ERC1155 contract.
type ERC1155TransferSingle ¶
type ERC1155TransferSingle struct { Operator common.Address From common.Address To common.Address Id *big.Int Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC1155TransferSingle represents a TransferSingle event raised by the ERC1155 contract.
type ERC1155TransferSingleIterator ¶
type ERC1155TransferSingleIterator struct { Event *ERC1155TransferSingle // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155TransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the ERC1155 contract.
func (*ERC1155TransferSingleIterator) Close ¶
func (it *ERC1155TransferSingleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155TransferSingleIterator) Error ¶
func (it *ERC1155TransferSingleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155TransferSingleIterator) Next ¶
func (it *ERC1155TransferSingleIterator) 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 ERC1155TransferSingleOrChainReorg ¶
type ERC1155TransferSingleOrChainReorg struct { Event *ERC1155TransferSingle ChainReorg *types.ChainReorg }
ERC1155TransferSingleOrChainReorg represents a TransferSingle subscription event raised by the ERC1155 contract.
type ERC1155URI ¶
type ERC1155URI struct { Value string Id *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC1155URI represents a URI event raised by the ERC1155 contract.
type ERC1155URIIterator ¶
type ERC1155URIIterator struct { Event *ERC1155URI // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155URIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the ERC1155 contract.
func (*ERC1155URIIterator) Close ¶
func (it *ERC1155URIIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155URIIterator) Error ¶
func (it *ERC1155URIIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155URIIterator) Next ¶
func (it *ERC1155URIIterator) 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 ERC1155URIOrChainReorg ¶
type ERC1155URIOrChainReorg struct { Event *ERC1155URI ChainReorg *types.ChainReorg }
ERC1155URIOrChainReorg represents a URI subscription event raised by the ERC1155 contract.
type ERC20 ¶
type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events }
ERC20 is an auto generated Go binding around an Conflux contract.
type ERC20Approval ¶
type ERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Approval represents a Approval event raised by the ERC20 contract.
type ERC20ApprovalIterator ¶
type ERC20ApprovalIterator struct { Event *ERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.
func (*ERC20ApprovalIterator) Close ¶
func (it *ERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ApprovalIterator) Error ¶
func (it *ERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ApprovalIterator) Next ¶
func (it *ERC20ApprovalIterator) 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 ERC20ApprovalOrChainReorg ¶
type ERC20ApprovalOrChainReorg struct { Event *ERC20Approval ChainReorg *types.ChainReorg }
ERC20ApprovalOrChainReorg represents a Approval subscription event raised by the ERC20 contract.
type ERC20BulkCaller ¶
type ERC20BulkCaller struct {
// contains filtered or unexported fields
}
ERC20BulkCaller is an auto generated read-only Go binding around an Conflux contract.
func NewERC20BulkCaller ¶
func NewERC20BulkCaller(address types.Address, caller bind.ContractCaller) (*ERC20BulkCaller, error)
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20BulkCaller) Allowance ¶
func (_ERC20 *ERC20BulkCaller) Allowance(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, owner common.Address, spender common.Address) (**big.Int, *error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20BulkCaller) BalanceOf ¶
func (_ERC20 *ERC20BulkCaller) BalanceOf(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, account common.Address) (**big.Int, *error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20BulkCaller) TotalSupply ¶
func (_ERC20 *ERC20BulkCaller) TotalSupply(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (**big.Int, *error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20BulkTransactor ¶
type ERC20BulkTransactor struct {
// contains filtered or unexported fields
}
ERC20BulkTransactor is an auto generated write-only Go binding around an Conflux contract.
func NewERC20BulkTransactor ¶
func NewERC20BulkTransactor(address types.Address, transactor bind.ContractTransactor) (*ERC20BulkTransactor, error)
NewERC20BulkTransactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20BulkTransactor) Approve ¶
func (_ERC20 *ERC20BulkTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) types.UnsignedTransaction
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20BulkTransactor) Transfer ¶
func (_ERC20 *ERC20BulkTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) types.UnsignedTransaction
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20BulkTransactor) TransferFrom ¶
func (_ERC20 *ERC20BulkTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) types.UnsignedTransaction
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20Caller ¶
type ERC20Caller struct {
// contains filtered or unexported fields
}
ERC20Caller is an auto generated read-only Go binding around an Conflux contract.
func NewERC20Caller ¶
func NewERC20Caller(address types.Address, caller bind.ContractCaller) (*ERC20Caller, error)
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Caller) Allowance ¶
func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20CallerRaw ¶
type ERC20CallerRaw struct {
Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on
}
ERC20CallerRaw is an auto generated low-level read-only Go binding around an Conflux contract.
func (*ERC20CallerRaw) Call ¶
func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession ¶
type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20CallerSession is an auto generated read-only Go binding around an Conflux contract, with pre-set call options.
func (*ERC20CallerSession) Allowance ¶
func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20CallerSession) TotalSupply ¶
func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20Filterer ¶
type ERC20Filterer struct {
// contains filtered or unexported fields
}
ERC20Filterer is an auto generated log filtering Go binding around an Conflux contract events.
func NewERC20Filterer ¶
func NewERC20Filterer(address types.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)
NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.
func (*ERC20Filterer) FilterApproval ¶
func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) FilterTransfer ¶
func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) ParseApproval ¶
func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) ParseTransfer ¶
func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) WatchApproval ¶
func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20ApprovalOrChainReorg, owner []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 owner, address indexed spender, uint256 value)
func (*ERC20Filterer) WatchTransfer ¶
func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20TransferOrChainReorg, 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 value)
type ERC20Raw ¶
type ERC20Raw struct {
Contract *ERC20 // Generic contract binding to access the raw methods on
}
ERC20Raw is an auto generated low-level Go binding around an Conflux contract.
func (*ERC20Raw) Call ¶
func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact ¶
func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20Raw) Transfer ¶
func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20Session ¶
type ERC20Session struct { Contract *ERC20 // 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 }
ERC20Session is an auto generated Go binding around an Conflux contract, with pre-set call and transact options.
func (*ERC20Session) Allowance ¶
func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20Session) Approve ¶
func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20Session) TotalSupply ¶
func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC20Session) Transfer ¶
func (_ERC20 *ERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20Session) TransferFrom ¶
func (_ERC20 *ERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20Transactor ¶
type ERC20Transactor struct {
// contains filtered or unexported fields
}
ERC20Transactor is an auto generated write-only Go binding around an Conflux contract.
func NewERC20Transactor ¶
func NewERC20Transactor(address types.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)
NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Transactor) Approve ¶
func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20Transactor) Transfer ¶
func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20Transactor) TransferFrom ¶
func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20TransactorRaw ¶
type ERC20TransactorRaw struct {
Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on
}
ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Conflux contract.
func (*ERC20TransactorRaw) Transact ¶
func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20TransactorRaw) Transfer ¶
func (_ERC20 *ERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20TransactorSession ¶
type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20TransactorSession is an auto generated write-only Go binding around an Conflux contract, with pre-set transact options.
func (*ERC20TransactorSession) Approve ¶
func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20TransactorSession) Transfer ¶
func (_ERC20 *ERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20TransactorSession) TransferFrom ¶
func (_ERC20 *ERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20Transfer ¶
type ERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Transfer represents a Transfer event raised by the ERC20 contract.
type ERC20TransferIterator ¶
type ERC20TransferIterator struct { Event *ERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.
func (*ERC20TransferIterator) Close ¶
func (it *ERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20TransferIterator) Error ¶
func (it *ERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20TransferIterator) Next ¶
func (it *ERC20TransferIterator) 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 ERC20TransferOrChainReorg ¶
type ERC20TransferOrChainReorg struct { Event *ERC20Transfer ChainReorg *types.ChainReorg }
ERC20TransferOrChainReorg represents a Transfer subscription event raised by the ERC20 contract.
type ERC721 ¶
type ERC721 struct { ERC721Caller // Read-only binding to the contract ERC721Transactor // Write-only binding to the contract ERC721Filterer // Log filterer for contract events }
ERC721 is an auto generated Go binding around an Conflux contract.
type ERC721Approval ¶
type ERC721Approval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC721Approval represents a Approval event raised by the ERC721 contract.
type ERC721ApprovalForAll ¶
type ERC721ApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
ERC721ApprovalForAll represents a ApprovalForAll event raised by the ERC721 contract.
type ERC721ApprovalForAllIterator ¶
type ERC721ApprovalForAllIterator struct { Event *ERC721ApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the ERC721 contract.
func (*ERC721ApprovalForAllIterator) Close ¶
func (it *ERC721ApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721ApprovalForAllIterator) Error ¶
func (it *ERC721ApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721ApprovalForAllIterator) Next ¶
func (it *ERC721ApprovalForAllIterator) 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 ERC721ApprovalForAllOrChainReorg ¶
type ERC721ApprovalForAllOrChainReorg struct { Event *ERC721ApprovalForAll ChainReorg *types.ChainReorg }
ERC721ApprovalForAllOrChainReorg represents a ApprovalForAll subscription event raised by the ERC721 contract.
type ERC721ApprovalIterator ¶
type ERC721ApprovalIterator struct { Event *ERC721Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC721 contract.
func (*ERC721ApprovalIterator) Close ¶
func (it *ERC721ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721ApprovalIterator) Error ¶
func (it *ERC721ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721ApprovalIterator) Next ¶
func (it *ERC721ApprovalIterator) 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 ERC721ApprovalOrChainReorg ¶
type ERC721ApprovalOrChainReorg struct { Event *ERC721Approval ChainReorg *types.ChainReorg }
ERC721ApprovalOrChainReorg represents a Approval subscription event raised by the ERC721 contract.
type ERC721BulkCaller ¶
type ERC721BulkCaller struct {
// contains filtered or unexported fields
}
ERC721BulkCaller is an auto generated read-only Go binding around an Conflux contract.
func NewERC721BulkCaller ¶
func NewERC721BulkCaller(address types.Address, caller bind.ContractCaller) (*ERC721BulkCaller, error)
NewERC721Caller creates a new read-only instance of ERC721, bound to a specific deployed contract.
func (*ERC721BulkCaller) BalanceOf ¶
func (_ERC721 *ERC721BulkCaller) BalanceOf(bulkcaller bulk.BulkCaller, 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 (*ERC721BulkCaller) GetApproved ¶
func (_ERC721 *ERC721BulkCaller) GetApproved(bulkcaller bulk.BulkCaller, 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 (*ERC721BulkCaller) IsApprovedForAll ¶
func (_ERC721 *ERC721BulkCaller) IsApprovedForAll(bulkcaller bulk.BulkCaller, 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 (*ERC721BulkCaller) OwnerOf ¶
func (_ERC721 *ERC721BulkCaller) OwnerOf(bulkcaller bulk.BulkCaller, 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 (*ERC721BulkCaller) SupportsInterface ¶
func (_ERC721 *ERC721BulkCaller) SupportsInterface(bulkcaller bulk.BulkCaller, 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 ERC721BulkTransactor ¶
type ERC721BulkTransactor struct {
// contains filtered or unexported fields
}
ERC721BulkTransactor is an auto generated write-only Go binding around an Conflux contract.
func NewERC721BulkTransactor ¶
func NewERC721BulkTransactor(address types.Address, transactor bind.ContractTransactor) (*ERC721BulkTransactor, error)
NewERC721BulkTransactor creates a new write-only instance of ERC721, bound to a specific deployed contract.
func (*ERC721BulkTransactor) Approve ¶
func (_ERC721 *ERC721BulkTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) types.UnsignedTransaction
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721BulkTransactor) SafeTransferFrom ¶
func (_ERC721 *ERC721BulkTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) types.UnsignedTransaction
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721BulkTransactor) SafeTransferFrom0 ¶
func (_ERC721 *ERC721BulkTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) types.UnsignedTransaction
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ERC721BulkTransactor) SetApprovalForAll ¶
func (_ERC721 *ERC721BulkTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, _approved bool) types.UnsignedTransaction
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool _approved) returns()
func (*ERC721BulkTransactor) TransferFrom ¶
func (_ERC721 *ERC721BulkTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) types.UnsignedTransaction
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type ERC721Caller ¶
type ERC721Caller struct {
// contains filtered or unexported fields
}
ERC721Caller is an auto generated read-only Go binding around an Conflux contract.
func NewERC721Caller ¶
func NewERC721Caller(address types.Address, caller bind.ContractCaller) (*ERC721Caller, error)
NewERC721Caller creates a new read-only instance of ERC721, bound to a specific deployed contract.
func (*ERC721Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256 balance)
func (*ERC721Caller) GetApproved ¶
func (_ERC721 *ERC721Caller) 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 (*ERC721Caller) IsApprovedForAll ¶
func (_ERC721 *ERC721Caller) 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 (*ERC721Caller) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address owner)
func (*ERC721Caller) SupportsInterface ¶
func (_ERC721 *ERC721Caller) 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 ERC721CallerRaw ¶
type ERC721CallerRaw struct {
Contract *ERC721Caller // Generic read-only contract binding to access the raw methods on
}
ERC721CallerRaw is an auto generated low-level read-only Go binding around an Conflux contract.
func (*ERC721CallerRaw) Call ¶
func (_ERC721 *ERC721CallerRaw) 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 ERC721CallerSession ¶
type ERC721CallerSession struct { Contract *ERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC721CallerSession is an auto generated read-only Go binding around an Conflux contract, with pre-set call options.
func (*ERC721CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256 balance)
func (*ERC721CallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address operator)
func (*ERC721CallerSession) IsApprovedForAll ¶
func (_ERC721 *ERC721CallerSession) 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 (*ERC721CallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address owner)
func (*ERC721CallerSession) SupportsInterface ¶
func (_ERC721 *ERC721CallerSession) 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 ERC721Filterer ¶
type ERC721Filterer struct {
// contains filtered or unexported fields
}
ERC721Filterer is an auto generated log filtering Go binding around an Conflux contract events.
func NewERC721Filterer ¶
func NewERC721Filterer(address types.Address, filterer bind.ContractFilterer) (*ERC721Filterer, error)
NewERC721Filterer creates a new log filterer instance of ERC721, bound to a specific deployed contract.
func (*ERC721Filterer) FilterApproval ¶
func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721ApprovalIterator, 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 (*ERC721Filterer) FilterApprovalForAll ¶
func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ApprovalForAllIterator, 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 (*ERC721Filterer) FilterTransfer ¶
func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721TransferIterator, 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 (*ERC721Filterer) ParseApproval ¶
func (_ERC721 *ERC721Filterer) ParseApproval(log types.Log) (*ERC721Approval, 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 (*ERC721Filterer) ParseApprovalForAll ¶
func (_ERC721 *ERC721Filterer) ParseApprovalForAll(log types.Log) (*ERC721ApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*ERC721Filterer) ParseTransfer ¶
func (_ERC721 *ERC721Filterer) ParseTransfer(log types.Log) (*ERC721Transfer, 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 (*ERC721Filterer) WatchApproval ¶
func (_ERC721 *ERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalOrChainReorg, 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 (*ERC721Filterer) WatchApprovalForAll ¶
func (_ERC721 *ERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalForAllOrChainReorg, 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 (*ERC721Filterer) WatchTransfer ¶
func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721TransferOrChainReorg, 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 ERC721Raw ¶
type ERC721Raw struct {
Contract *ERC721 // Generic contract binding to access the raw methods on
}
ERC721Raw is an auto generated low-level Go binding around an Conflux contract.
func (*ERC721Raw) Call ¶
func (_ERC721 *ERC721Raw) 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 (*ERC721Raw) Transact ¶
func (_ERC721 *ERC721Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC721Raw) Transfer ¶
func (_ERC721 *ERC721Raw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC721Session ¶
type ERC721Session struct { Contract *ERC721 // 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 }
ERC721Session is an auto generated Go binding around an Conflux contract, with pre-set call and transact options.
func (*ERC721Session) Approve ¶
func (_ERC721 *ERC721Session) Approve(to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256 balance)
func (*ERC721Session) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address operator)
func (*ERC721Session) IsApprovedForAll ¶
func (_ERC721 *ERC721Session) 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 (*ERC721Session) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address owner)
func (*ERC721Session) SafeTransferFrom ¶
func (_ERC721 *ERC721Session) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721Session) SafeTransferFrom0 ¶
func (_ERC721 *ERC721Session) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, 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 (*ERC721Session) SetApprovalForAll ¶
func (_ERC721 *ERC721Session) SetApprovalForAll(operator common.Address, _approved bool) (*types.UnsignedTransaction, *types.Hash, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool _approved) returns()
func (*ERC721Session) SupportsInterface ¶
func (_ERC721 *ERC721Session) 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 (*ERC721Session) TransferFrom ¶
func (_ERC721 *ERC721Session) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type ERC721Transactor ¶
type ERC721Transactor struct {
// contains filtered or unexported fields
}
ERC721Transactor is an auto generated write-only Go binding around an Conflux contract.
func NewERC721Transactor ¶
func NewERC721Transactor(address types.Address, transactor bind.ContractTransactor) (*ERC721Transactor, error)
NewERC721Transactor creates a new write-only instance of ERC721, bound to a specific deployed contract.
func (*ERC721Transactor) Approve ¶
func (_ERC721 *ERC721Transactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721Transactor) SafeTransferFrom ¶
func (_ERC721 *ERC721Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721Transactor) SafeTransferFrom0 ¶
func (_ERC721 *ERC721Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, 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 (*ERC721Transactor) SetApprovalForAll ¶
func (_ERC721 *ERC721Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, _approved bool) (*types.UnsignedTransaction, *types.Hash, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool _approved) returns()
func (*ERC721Transactor) TransferFrom ¶
func (_ERC721 *ERC721Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type ERC721TransactorRaw ¶
type ERC721TransactorRaw struct {
Contract *ERC721Transactor // Generic write-only contract binding to access the raw methods on
}
ERC721TransactorRaw is an auto generated low-level write-only Go binding around an Conflux contract.
func (*ERC721TransactorRaw) Transact ¶
func (_ERC721 *ERC721TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC721TransactorRaw) Transfer ¶
func (_ERC721 *ERC721TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC721TransactorSession ¶
type ERC721TransactorSession struct { Contract *ERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC721TransactorSession is an auto generated write-only Go binding around an Conflux contract, with pre-set transact options.
func (*ERC721TransactorSession) Approve ¶
func (_ERC721 *ERC721TransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721TransactorSession) SafeTransferFrom ¶
func (_ERC721 *ERC721TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721TransactorSession) SafeTransferFrom0 ¶
func (_ERC721 *ERC721TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, 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 (*ERC721TransactorSession) SetApprovalForAll ¶
func (_ERC721 *ERC721TransactorSession) SetApprovalForAll(operator common.Address, _approved bool) (*types.UnsignedTransaction, *types.Hash, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool _approved) returns()
func (*ERC721TransactorSession) TransferFrom ¶
func (_ERC721 *ERC721TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.UnsignedTransaction, *types.Hash, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type ERC721Transfer ¶
type ERC721Transfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC721Transfer represents a Transfer event raised by the ERC721 contract.
type ERC721TransferIterator ¶
type ERC721TransferIterator struct { Event *ERC721Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC721 contract.
func (*ERC721TransferIterator) Close ¶
func (it *ERC721TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TransferIterator) Error ¶
func (it *ERC721TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TransferIterator) Next ¶
func (it *ERC721TransferIterator) 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 ERC721TransferOrChainReorg ¶
type ERC721TransferOrChainReorg struct { Event *ERC721Transfer ChainReorg *types.ChainReorg }
ERC721TransferOrChainReorg represents a Transfer subscription event raised by the ERC721 contract.
type ERC777 ¶
type ERC777 struct { ERC777Caller // Read-only binding to the contract ERC777Transactor // Write-only binding to the contract ERC777Filterer // Log filterer for contract events }
ERC777 is an auto generated Go binding around an Conflux contract.
type ERC777AuthorizedOperator ¶
type ERC777AuthorizedOperator struct { Operator common.Address TokenHolder common.Address Raw types.Log // Blockchain specific contextual infos }
ERC777AuthorizedOperator represents a AuthorizedOperator event raised by the ERC777 contract.
type ERC777AuthorizedOperatorIterator ¶
type ERC777AuthorizedOperatorIterator struct { Event *ERC777AuthorizedOperator // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777AuthorizedOperatorIterator is returned from FilterAuthorizedOperator and is used to iterate over the raw logs and unpacked data for AuthorizedOperator events raised by the ERC777 contract.
func (*ERC777AuthorizedOperatorIterator) Close ¶
func (it *ERC777AuthorizedOperatorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777AuthorizedOperatorIterator) Error ¶
func (it *ERC777AuthorizedOperatorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777AuthorizedOperatorIterator) Next ¶
func (it *ERC777AuthorizedOperatorIterator) 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 ERC777AuthorizedOperatorOrChainReorg ¶
type ERC777AuthorizedOperatorOrChainReorg struct { Event *ERC777AuthorizedOperator ChainReorg *types.ChainReorg }
ERC777AuthorizedOperatorOrChainReorg represents a AuthorizedOperator subscription event raised by the ERC777 contract.
type ERC777BulkCaller ¶
type ERC777BulkCaller struct {
// contains filtered or unexported fields
}
ERC777BulkCaller is an auto generated read-only Go binding around an Conflux contract.
func NewERC777BulkCaller ¶
func NewERC777BulkCaller(address types.Address, caller bind.ContractCaller) (*ERC777BulkCaller, error)
NewERC777Caller creates a new read-only instance of ERC777, bound to a specific deployed contract.
func (*ERC777BulkCaller) BalanceOf ¶
func (_ERC777 *ERC777BulkCaller) BalanceOf(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, owner common.Address) (**big.Int, *error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC777BulkCaller) DefaultOperators ¶
func (_ERC777 *ERC777BulkCaller) DefaultOperators(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (*[]common.Address, *error)
DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.
Solidity: function defaultOperators() view returns(address[])
func (*ERC777BulkCaller) Granularity ¶
func (_ERC777 *ERC777BulkCaller) Granularity(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (**big.Int, *error)
Granularity is a free data retrieval call binding the contract method 0x556f0dc7.
Solidity: function granularity() view returns(uint256)
func (*ERC777BulkCaller) IsOperatorFor ¶
func (_ERC777 *ERC777BulkCaller) IsOperatorFor(bulkcaller bulk.BulkCaller, opts *bind.CallOpts, operator common.Address, tokenHolder common.Address) (*bool, *error)
IsOperatorFor is a free data retrieval call binding the contract method 0xd95b6371.
Solidity: function isOperatorFor(address operator, address tokenHolder) view returns(bool)
func (*ERC777BulkCaller) Name ¶
func (_ERC777 *ERC777BulkCaller) Name(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (*string, *error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC777BulkCaller) Symbol ¶
func (_ERC777 *ERC777BulkCaller) Symbol(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (*string, *error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC777BulkCaller) TotalSupply ¶
func (_ERC777 *ERC777BulkCaller) TotalSupply(bulkcaller bulk.BulkCaller, opts *bind.CallOpts) (**big.Int, *error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC777BulkTransactor ¶
type ERC777BulkTransactor struct {
// contains filtered or unexported fields
}
ERC777BulkTransactor is an auto generated write-only Go binding around an Conflux contract.
func NewERC777BulkTransactor ¶
func NewERC777BulkTransactor(address types.Address, transactor bind.ContractTransactor) (*ERC777BulkTransactor, error)
NewERC777BulkTransactor creates a new write-only instance of ERC777, bound to a specific deployed contract.
func (*ERC777BulkTransactor) AuthorizeOperator ¶
func (_ERC777 *ERC777BulkTransactor) AuthorizeOperator(opts *bind.TransactOpts, operator common.Address) types.UnsignedTransaction
AuthorizeOperator is a paid mutator transaction binding the contract method 0x959b8c3f.
Solidity: function authorizeOperator(address operator) returns()
func (*ERC777BulkTransactor) Burn ¶
func (_ERC777 *ERC777BulkTransactor) Burn(opts *bind.TransactOpts, amount *big.Int, data []byte) types.UnsignedTransaction
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 amount, bytes data) returns()
func (*ERC777BulkTransactor) OperatorBurn ¶
func (_ERC777 *ERC777BulkTransactor) OperatorBurn(opts *bind.TransactOpts, account common.Address, amount *big.Int, data []byte, operatorData []byte) types.UnsignedTransaction
OperatorBurn is a paid mutator transaction binding the contract method 0xfc673c4f.
Solidity: function operatorBurn(address account, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777BulkTransactor) OperatorSend ¶
func (_ERC777 *ERC777BulkTransactor) OperatorSend(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) types.UnsignedTransaction
OperatorSend is a paid mutator transaction binding the contract method 0x62ad1b83.
Solidity: function operatorSend(address sender, address recipient, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777BulkTransactor) RevokeOperator ¶
func (_ERC777 *ERC777BulkTransactor) RevokeOperator(opts *bind.TransactOpts, operator common.Address) types.UnsignedTransaction
RevokeOperator is a paid mutator transaction binding the contract method 0xfad8b32a.
Solidity: function revokeOperator(address operator) returns()
func (*ERC777BulkTransactor) Send ¶
func (_ERC777 *ERC777BulkTransactor) Send(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, data []byte) types.UnsignedTransaction
Send is a paid mutator transaction binding the contract method 0x9bd9bbc6.
Solidity: function send(address recipient, uint256 amount, bytes data) returns()
type ERC777Burned ¶
type ERC777Burned struct { Operator common.Address From common.Address Amount *big.Int Data []byte OperatorData []byte Raw types.Log // Blockchain specific contextual infos }
ERC777Burned represents a Burned event raised by the ERC777 contract.
type ERC777BurnedIterator ¶
type ERC777BurnedIterator struct { Event *ERC777Burned // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777BurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the ERC777 contract.
func (*ERC777BurnedIterator) Close ¶
func (it *ERC777BurnedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777BurnedIterator) Error ¶
func (it *ERC777BurnedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777BurnedIterator) Next ¶
func (it *ERC777BurnedIterator) 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 ERC777BurnedOrChainReorg ¶
type ERC777BurnedOrChainReorg struct { Event *ERC777Burned ChainReorg *types.ChainReorg }
ERC777BurnedOrChainReorg represents a Burned subscription event raised by the ERC777 contract.
type ERC777Caller ¶
type ERC777Caller struct {
// contains filtered or unexported fields
}
ERC777Caller is an auto generated read-only Go binding around an Conflux contract.
func NewERC777Caller ¶
func NewERC777Caller(address types.Address, caller bind.ContractCaller) (*ERC777Caller, error)
NewERC777Caller creates a new read-only instance of ERC777, bound to a specific deployed contract.
func (*ERC777Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC777Caller) DefaultOperators ¶
DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.
Solidity: function defaultOperators() view returns(address[])
func (*ERC777Caller) Granularity ¶
Granularity is a free data retrieval call binding the contract method 0x556f0dc7.
Solidity: function granularity() view returns(uint256)
func (*ERC777Caller) IsOperatorFor ¶
func (_ERC777 *ERC777Caller) IsOperatorFor(opts *bind.CallOpts, operator common.Address, tokenHolder common.Address) (bool, error)
IsOperatorFor is a free data retrieval call binding the contract method 0xd95b6371.
Solidity: function isOperatorFor(address operator, address tokenHolder) view returns(bool)
func (*ERC777Caller) Name ¶
func (_ERC777 *ERC777Caller) 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 (*ERC777Caller) Symbol ¶
func (_ERC777 *ERC777Caller) 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 (*ERC777Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC777CallerRaw ¶
type ERC777CallerRaw struct {
Contract *ERC777Caller // Generic read-only contract binding to access the raw methods on
}
ERC777CallerRaw is an auto generated low-level read-only Go binding around an Conflux contract.
func (*ERC777CallerRaw) Call ¶
func (_ERC777 *ERC777CallerRaw) 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 ERC777CallerSession ¶
type ERC777CallerSession struct { Contract *ERC777Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC777CallerSession is an auto generated read-only Go binding around an Conflux contract, with pre-set call options.
func (*ERC777CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC777CallerSession) DefaultOperators ¶
func (_ERC777 *ERC777CallerSession) DefaultOperators() ([]common.Address, error)
DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.
Solidity: function defaultOperators() view returns(address[])
func (*ERC777CallerSession) Granularity ¶
func (_ERC777 *ERC777CallerSession) Granularity() (*big.Int, error)
Granularity is a free data retrieval call binding the contract method 0x556f0dc7.
Solidity: function granularity() view returns(uint256)
func (*ERC777CallerSession) IsOperatorFor ¶
func (_ERC777 *ERC777CallerSession) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error)
IsOperatorFor is a free data retrieval call binding the contract method 0xd95b6371.
Solidity: function isOperatorFor(address operator, address tokenHolder) view returns(bool)
func (*ERC777CallerSession) Name ¶
func (_ERC777 *ERC777CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC777CallerSession) Symbol ¶
func (_ERC777 *ERC777CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC777CallerSession) TotalSupply ¶
func (_ERC777 *ERC777CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC777Filterer ¶
type ERC777Filterer struct {
// contains filtered or unexported fields
}
ERC777Filterer is an auto generated log filtering Go binding around an Conflux contract events.
func NewERC777Filterer ¶
func NewERC777Filterer(address types.Address, filterer bind.ContractFilterer) (*ERC777Filterer, error)
NewERC777Filterer creates a new log filterer instance of ERC777, bound to a specific deployed contract.
func (*ERC777Filterer) FilterAuthorizedOperator ¶
func (_ERC777 *ERC777Filterer) FilterAuthorizedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*ERC777AuthorizedOperatorIterator, error)
FilterAuthorizedOperator is a free log retrieval operation binding the contract event 0xf4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f9.
Solidity: event AuthorizedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777Filterer) FilterBurned ¶
func (_ERC777 *ERC777Filterer) FilterBurned(opts *bind.FilterOpts, operator []common.Address, from []common.Address) (*ERC777BurnedIterator, error)
FilterBurned is a free log retrieval operation binding the contract event 0xa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098.
Solidity: event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData)
func (*ERC777Filterer) FilterMinted ¶
func (_ERC777 *ERC777Filterer) FilterMinted(opts *bind.FilterOpts, operator []common.Address, to []common.Address) (*ERC777MintedIterator, error)
FilterMinted is a free log retrieval operation binding the contract event 0x2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d.
Solidity: event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData)
func (*ERC777Filterer) FilterRevokedOperator ¶
func (_ERC777 *ERC777Filterer) FilterRevokedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*ERC777RevokedOperatorIterator, error)
FilterRevokedOperator is a free log retrieval operation binding the contract event 0x50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa1.
Solidity: event RevokedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777Filterer) FilterSent ¶
func (_ERC777 *ERC777Filterer) FilterSent(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*ERC777SentIterator, error)
FilterSent is a free log retrieval operation binding the contract event 0x06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987.
Solidity: event Sent(address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData)
func (*ERC777Filterer) ParseAuthorizedOperator ¶
func (_ERC777 *ERC777Filterer) ParseAuthorizedOperator(log types.Log) (*ERC777AuthorizedOperator, error)
ParseAuthorizedOperator is a log parse operation binding the contract event 0xf4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f9.
Solidity: event AuthorizedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777Filterer) ParseBurned ¶
func (_ERC777 *ERC777Filterer) ParseBurned(log types.Log) (*ERC777Burned, error)
ParseBurned is a log parse operation binding the contract event 0xa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098.
Solidity: event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData)
func (*ERC777Filterer) ParseMinted ¶
func (_ERC777 *ERC777Filterer) ParseMinted(log types.Log) (*ERC777Minted, error)
ParseMinted is a log parse operation binding the contract event 0x2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d.
Solidity: event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData)
func (*ERC777Filterer) ParseRevokedOperator ¶
func (_ERC777 *ERC777Filterer) ParseRevokedOperator(log types.Log) (*ERC777RevokedOperator, error)
ParseRevokedOperator is a log parse operation binding the contract event 0x50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa1.
Solidity: event RevokedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777Filterer) ParseSent ¶
func (_ERC777 *ERC777Filterer) ParseSent(log types.Log) (*ERC777Sent, error)
ParseSent is a log parse operation binding the contract event 0x06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987.
Solidity: event Sent(address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData)
func (*ERC777Filterer) WatchAuthorizedOperator ¶
func (_ERC777 *ERC777Filterer) WatchAuthorizedOperator(opts *bind.WatchOpts, sink chan<- *ERC777AuthorizedOperatorOrChainReorg, operator []common.Address, tokenHolder []common.Address) (event.Subscription, error)
WatchAuthorizedOperator is a free log subscription operation binding the contract event 0xf4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f9.
Solidity: event AuthorizedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777Filterer) WatchBurned ¶
func (_ERC777 *ERC777Filterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *ERC777BurnedOrChainReorg, operator []common.Address, from []common.Address) (event.Subscription, error)
WatchBurned is a free log subscription operation binding the contract event 0xa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098.
Solidity: event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData)
func (*ERC777Filterer) WatchMinted ¶
func (_ERC777 *ERC777Filterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *ERC777MintedOrChainReorg, operator []common.Address, to []common.Address) (event.Subscription, error)
WatchMinted is a free log subscription operation binding the contract event 0x2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d.
Solidity: event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData)
func (*ERC777Filterer) WatchRevokedOperator ¶
func (_ERC777 *ERC777Filterer) WatchRevokedOperator(opts *bind.WatchOpts, sink chan<- *ERC777RevokedOperatorOrChainReorg, operator []common.Address, tokenHolder []common.Address) (event.Subscription, error)
WatchRevokedOperator is a free log subscription operation binding the contract event 0x50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa1.
Solidity: event RevokedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777Filterer) WatchSent ¶
func (_ERC777 *ERC777Filterer) WatchSent(opts *bind.WatchOpts, sink chan<- *ERC777SentOrChainReorg, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)
WatchSent is a free log subscription operation binding the contract event 0x06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987.
Solidity: event Sent(address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData)
type ERC777Minted ¶
type ERC777Minted struct { Operator common.Address To common.Address Amount *big.Int Data []byte OperatorData []byte Raw types.Log // Blockchain specific contextual infos }
ERC777Minted represents a Minted event raised by the ERC777 contract.
type ERC777MintedIterator ¶
type ERC777MintedIterator struct { Event *ERC777Minted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777MintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the ERC777 contract.
func (*ERC777MintedIterator) Close ¶
func (it *ERC777MintedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777MintedIterator) Error ¶
func (it *ERC777MintedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777MintedIterator) Next ¶
func (it *ERC777MintedIterator) 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 ERC777MintedOrChainReorg ¶
type ERC777MintedOrChainReorg struct { Event *ERC777Minted ChainReorg *types.ChainReorg }
ERC777MintedOrChainReorg represents a Minted subscription event raised by the ERC777 contract.
type ERC777Raw ¶
type ERC777Raw struct {
Contract *ERC777 // Generic contract binding to access the raw methods on
}
ERC777Raw is an auto generated low-level Go binding around an Conflux contract.
func (*ERC777Raw) Call ¶
func (_ERC777 *ERC777Raw) 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 (*ERC777Raw) Transact ¶
func (_ERC777 *ERC777Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC777Raw) Transfer ¶
func (_ERC777 *ERC777Raw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC777RevokedOperator ¶
type ERC777RevokedOperator struct { Operator common.Address TokenHolder common.Address Raw types.Log // Blockchain specific contextual infos }
ERC777RevokedOperator represents a RevokedOperator event raised by the ERC777 contract.
type ERC777RevokedOperatorIterator ¶
type ERC777RevokedOperatorIterator struct { Event *ERC777RevokedOperator // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777RevokedOperatorIterator is returned from FilterRevokedOperator and is used to iterate over the raw logs and unpacked data for RevokedOperator events raised by the ERC777 contract.
func (*ERC777RevokedOperatorIterator) Close ¶
func (it *ERC777RevokedOperatorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777RevokedOperatorIterator) Error ¶
func (it *ERC777RevokedOperatorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777RevokedOperatorIterator) Next ¶
func (it *ERC777RevokedOperatorIterator) 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 ERC777RevokedOperatorOrChainReorg ¶
type ERC777RevokedOperatorOrChainReorg struct { Event *ERC777RevokedOperator ChainReorg *types.ChainReorg }
ERC777RevokedOperatorOrChainReorg represents a RevokedOperator subscription event raised by the ERC777 contract.
type ERC777Sent ¶
type ERC777Sent struct { Operator common.Address From common.Address To common.Address Amount *big.Int Data []byte OperatorData []byte Raw types.Log // Blockchain specific contextual infos }
ERC777Sent represents a Sent event raised by the ERC777 contract.
type ERC777SentIterator ¶
type ERC777SentIterator struct { Event *ERC777Sent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777SentIterator is returned from FilterSent and is used to iterate over the raw logs and unpacked data for Sent events raised by the ERC777 contract.
func (*ERC777SentIterator) Close ¶
func (it *ERC777SentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777SentIterator) Error ¶
func (it *ERC777SentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777SentIterator) Next ¶
func (it *ERC777SentIterator) 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 ERC777SentOrChainReorg ¶
type ERC777SentOrChainReorg struct { Event *ERC777Sent ChainReorg *types.ChainReorg }
ERC777SentOrChainReorg represents a Sent subscription event raised by the ERC777 contract.
type ERC777Session ¶
type ERC777Session struct { Contract *ERC777 // 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 }
ERC777Session is an auto generated Go binding around an Conflux contract, with pre-set call and transact options.
func (*ERC777Session) AuthorizeOperator ¶
func (_ERC777 *ERC777Session) AuthorizeOperator(operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
AuthorizeOperator is a paid mutator transaction binding the contract method 0x959b8c3f.
Solidity: function authorizeOperator(address operator) returns()
func (*ERC777Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC777Session) Burn ¶
func (_ERC777 *ERC777Session) Burn(amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 amount, bytes data) returns()
func (*ERC777Session) DefaultOperators ¶
func (_ERC777 *ERC777Session) DefaultOperators() ([]common.Address, error)
DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.
Solidity: function defaultOperators() view returns(address[])
func (*ERC777Session) Granularity ¶
func (_ERC777 *ERC777Session) Granularity() (*big.Int, error)
Granularity is a free data retrieval call binding the contract method 0x556f0dc7.
Solidity: function granularity() view returns(uint256)
func (*ERC777Session) IsOperatorFor ¶
func (_ERC777 *ERC777Session) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error)
IsOperatorFor is a free data retrieval call binding the contract method 0xd95b6371.
Solidity: function isOperatorFor(address operator, address tokenHolder) view returns(bool)
func (*ERC777Session) Name ¶
func (_ERC777 *ERC777Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC777Session) OperatorBurn ¶
func (_ERC777 *ERC777Session) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.UnsignedTransaction, *types.Hash, error)
OperatorBurn is a paid mutator transaction binding the contract method 0xfc673c4f.
Solidity: function operatorBurn(address account, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777Session) OperatorSend ¶
func (_ERC777 *ERC777Session) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.UnsignedTransaction, *types.Hash, error)
OperatorSend is a paid mutator transaction binding the contract method 0x62ad1b83.
Solidity: function operatorSend(address sender, address recipient, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777Session) RevokeOperator ¶
func (_ERC777 *ERC777Session) RevokeOperator(operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
RevokeOperator is a paid mutator transaction binding the contract method 0xfad8b32a.
Solidity: function revokeOperator(address operator) returns()
func (*ERC777Session) Send ¶
func (_ERC777 *ERC777Session) Send(recipient common.Address, amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
Send is a paid mutator transaction binding the contract method 0x9bd9bbc6.
Solidity: function send(address recipient, uint256 amount, bytes data) returns()
func (*ERC777Session) Symbol ¶
func (_ERC777 *ERC777Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC777Session) TotalSupply ¶
func (_ERC777 *ERC777Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC777Transactor ¶
type ERC777Transactor struct {
// contains filtered or unexported fields
}
ERC777Transactor is an auto generated write-only Go binding around an Conflux contract.
func NewERC777Transactor ¶
func NewERC777Transactor(address types.Address, transactor bind.ContractTransactor) (*ERC777Transactor, error)
NewERC777Transactor creates a new write-only instance of ERC777, bound to a specific deployed contract.
func (*ERC777Transactor) AuthorizeOperator ¶
func (_ERC777 *ERC777Transactor) AuthorizeOperator(opts *bind.TransactOpts, operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
AuthorizeOperator is a paid mutator transaction binding the contract method 0x959b8c3f.
Solidity: function authorizeOperator(address operator) returns()
func (*ERC777Transactor) Burn ¶
func (_ERC777 *ERC777Transactor) Burn(opts *bind.TransactOpts, amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 amount, bytes data) returns()
func (*ERC777Transactor) OperatorBurn ¶
func (_ERC777 *ERC777Transactor) OperatorBurn(opts *bind.TransactOpts, account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.UnsignedTransaction, *types.Hash, error)
OperatorBurn is a paid mutator transaction binding the contract method 0xfc673c4f.
Solidity: function operatorBurn(address account, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777Transactor) OperatorSend ¶
func (_ERC777 *ERC777Transactor) OperatorSend(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.UnsignedTransaction, *types.Hash, error)
OperatorSend is a paid mutator transaction binding the contract method 0x62ad1b83.
Solidity: function operatorSend(address sender, address recipient, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777Transactor) RevokeOperator ¶
func (_ERC777 *ERC777Transactor) RevokeOperator(opts *bind.TransactOpts, operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
RevokeOperator is a paid mutator transaction binding the contract method 0xfad8b32a.
Solidity: function revokeOperator(address operator) returns()
func (*ERC777Transactor) Send ¶
func (_ERC777 *ERC777Transactor) Send(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
Send is a paid mutator transaction binding the contract method 0x9bd9bbc6.
Solidity: function send(address recipient, uint256 amount, bytes data) returns()
type ERC777TransactorRaw ¶
type ERC777TransactorRaw struct {
Contract *ERC777Transactor // Generic write-only contract binding to access the raw methods on
}
ERC777TransactorRaw is an auto generated low-level write-only Go binding around an Conflux contract.
func (*ERC777TransactorRaw) Transact ¶
func (_ERC777 *ERC777TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.UnsignedTransaction, *types.Hash, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC777TransactorRaw) Transfer ¶
func (_ERC777 *ERC777TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.UnsignedTransaction, *types.Hash, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC777TransactorSession ¶
type ERC777TransactorSession struct { Contract *ERC777Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC777TransactorSession is an auto generated write-only Go binding around an Conflux contract, with pre-set transact options.
func (*ERC777TransactorSession) AuthorizeOperator ¶
func (_ERC777 *ERC777TransactorSession) AuthorizeOperator(operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
AuthorizeOperator is a paid mutator transaction binding the contract method 0x959b8c3f.
Solidity: function authorizeOperator(address operator) returns()
func (*ERC777TransactorSession) Burn ¶
func (_ERC777 *ERC777TransactorSession) Burn(amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 amount, bytes data) returns()
func (*ERC777TransactorSession) OperatorBurn ¶
func (_ERC777 *ERC777TransactorSession) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.UnsignedTransaction, *types.Hash, error)
OperatorBurn is a paid mutator transaction binding the contract method 0xfc673c4f.
Solidity: function operatorBurn(address account, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777TransactorSession) OperatorSend ¶
func (_ERC777 *ERC777TransactorSession) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.UnsignedTransaction, *types.Hash, error)
OperatorSend is a paid mutator transaction binding the contract method 0x62ad1b83.
Solidity: function operatorSend(address sender, address recipient, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777TransactorSession) RevokeOperator ¶
func (_ERC777 *ERC777TransactorSession) RevokeOperator(operator common.Address) (*types.UnsignedTransaction, *types.Hash, error)
RevokeOperator is a paid mutator transaction binding the contract method 0xfad8b32a.
Solidity: function revokeOperator(address operator) returns()
func (*ERC777TransactorSession) Send ¶
func (_ERC777 *ERC777TransactorSession) Send(recipient common.Address, amount *big.Int, data []byte) (*types.UnsignedTransaction, *types.Hash, error)
Send is a paid mutator transaction binding the contract method 0x9bd9bbc6.
Solidity: function send(address recipient, uint256 amount, bytes data) returns()