Documentation ¶
Index ¶
- Constants
- Variables
- type ERC721
- type ERC721Approval
- type ERC721ApprovalForAll
- type ERC721ApprovalForAllIterator
- type ERC721ApprovalIterator
- type ERC721Caller
- func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_ERC721 *ERC721Caller) BaseURI(opts *bind.CallOpts) (string, 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) Name(opts *bind.CallOpts) (string, 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)
- func (_ERC721 *ERC721Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC721 *ERC721Caller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
- func (_ERC721 *ERC721Caller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
- func (_ERC721 *ERC721Caller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_ERC721 *ERC721Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC721CallerRaw
- type ERC721CallerSession
- func (_ERC721 *ERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC721 *ERC721CallerSession) BaseURI() (string, 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) Name() (string, error)
- func (_ERC721 *ERC721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_ERC721 *ERC721CallerSession) Symbol() (string, error)
- func (_ERC721 *ERC721CallerSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_ERC721 *ERC721CallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_ERC721 *ERC721CallerSession) TokenURI(tokenId *big.Int) (string, error)
- func (_ERC721 *ERC721CallerSession) TotalSupply() (*big.Int, 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<- *ERC721Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ERC721 *ERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalForAll, ...) (event.Subscription, error)
- func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721Transfer, from []common.Address, ...) (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.Transaction, error)
- func (_ERC721 *ERC721Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC721Session
- func (_ERC721 *ERC721Session) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721Session) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC721 *ERC721Session) BaseURI() (string, 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) Name() (string, 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.Transaction, error)
- func (_ERC721 *ERC721Session) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_ERC721 *ERC721Session) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721 *ERC721Session) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_ERC721 *ERC721Session) Symbol() (string, error)
- func (_ERC721 *ERC721Session) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_ERC721 *ERC721Session) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_ERC721 *ERC721Session) TokenURI(tokenId *big.Int) (string, error)
- func (_ERC721 *ERC721Session) TotalSupply() (*big.Int, error)
- func (_ERC721 *ERC721Session) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type ERC721Transactor
- func (_ERC721 *ERC721Transactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type ERC721TransactorRaw
- type ERC721TransactorSession
- func (_ERC721 *ERC721TransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type ERC721Transfer
- type ERC721TransferIterator
Constants ¶
const ERC721ABI = "" /* 5554-byte string literal not displayed */
ERC721ABI is the input ABI used to generate the binding from.
Variables ¶
var ERC721Bin = "" /* 21508-byte string literal not displayed */
ERC721Bin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
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 Ethereum contract.
func DeployERC721 ¶
func DeployERC721(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string) (common.Address, *types.Transaction, *ERC721, error)
DeployERC721 deploys a new Ethereum contract, binding an instance of ERC721 to it.
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 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 ERC721Caller ¶
type ERC721Caller struct {
// contains filtered or unexported fields
}
ERC721Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC721Caller ¶
func NewERC721Caller(address common.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)
func (*ERC721Caller) BaseURI ¶
func (_ERC721 *ERC721Caller) BaseURI(opts *bind.CallOpts) (string, error)
BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.
Solidity: function baseURI() view returns(string)
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)
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) Name ¶
func (_ERC721 *ERC721Caller) 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 (*ERC721Caller) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
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)
func (*ERC721Caller) Symbol ¶
func (_ERC721 *ERC721Caller) 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 (*ERC721Caller) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*ERC721Caller) TokenOfOwnerByIndex ¶
func (_ERC721 *ERC721Caller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*ERC721Caller) TokenURI ¶
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*ERC721Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
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 Ethereum 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 Ethereum 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)
func (*ERC721CallerSession) BaseURI ¶
func (_ERC721 *ERC721CallerSession) BaseURI() (string, error)
BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.
Solidity: function baseURI() view returns(string)
func (*ERC721CallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
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) Name ¶
func (_ERC721 *ERC721CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC721CallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
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)
func (*ERC721CallerSession) Symbol ¶
func (_ERC721 *ERC721CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC721CallerSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*ERC721CallerSession) TokenOfOwnerByIndex ¶
func (_ERC721 *ERC721CallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*ERC721CallerSession) TokenURI ¶
func (_ERC721 *ERC721CallerSession) TokenURI(tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*ERC721CallerSession) TotalSupply ¶
func (_ERC721 *ERC721CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC721Filterer ¶
type ERC721Filterer struct {
// contains filtered or unexported fields
}
ERC721Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC721Filterer ¶
func NewERC721Filterer(address common.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<- *ERC721Approval, 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<- *ERC721ApprovalForAll, 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<- *ERC721Transfer, 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 Ethereum 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.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC721Raw) Transfer ¶
func (_ERC721 *ERC721Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type 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 Ethereum contract, with pre-set call and transact options.
func (*ERC721Session) Approve ¶
func (_ERC721 *ERC721Session) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC721Session) BaseURI ¶
func (_ERC721 *ERC721Session) BaseURI() (string, error)
BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.
Solidity: function baseURI() view returns(string)
func (*ERC721Session) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
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) Name ¶
func (_ERC721 *ERC721Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC721Session) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ERC721Session) SafeTransferFrom ¶
func (_ERC721 *ERC721Session) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721Session) SafeTransferFrom0 ¶
func (_ERC721 *ERC721Session) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()
func (*ERC721Session) SetApprovalForAll ¶
func (_ERC721 *ERC721Session) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*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) Symbol ¶
func (_ERC721 *ERC721Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC721Session) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*ERC721Session) TokenOfOwnerByIndex ¶
func (_ERC721 *ERC721Session) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*ERC721Session) TokenURI ¶
func (_ERC721 *ERC721Session) TokenURI(tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*ERC721Session) TotalSupply ¶
func (_ERC721 *ERC721Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC721Session) TransferFrom ¶
func (_ERC721 *ERC721Session) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type ERC721Transactor ¶
type ERC721Transactor struct {
// contains filtered or unexported fields
}
ERC721Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC721Transactor ¶
func NewERC721Transactor(address common.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.Transaction, 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.Transaction, 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.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()
func (*ERC721Transactor) SetApprovalForAll ¶
func (_ERC721 *ERC721Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*ERC721Transactor) TransferFrom ¶
func (_ERC721 *ERC721Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type 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 Ethereum contract.
func (*ERC721TransactorRaw) Transact ¶
func (_ERC721 *ERC721TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC721TransactorRaw) Transfer ¶
func (_ERC721 *ERC721TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type 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 Ethereum contract, with pre-set transact options.
func (*ERC721TransactorSession) Approve ¶
func (_ERC721 *ERC721TransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721TransactorSession) SafeTransferFrom ¶
func (_ERC721 *ERC721TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721TransactorSession) SafeTransferFrom0 ¶
func (_ERC721 *ERC721TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()
func (*ERC721TransactorSession) SetApprovalForAll ¶
func (_ERC721 *ERC721TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*ERC721TransactorSession) TransferFrom ¶
func (_ERC721 *ERC721TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type 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.