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) 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) TokenColor(opts *bind.CallOpts, tokenId *big.Int) (uint, error)
- func (_Erc721 *Erc721Caller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, 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) 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) TokenURI(tokenId *big.Int) (string, 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) 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) TokenURI(tokenId *big.Int) (string, 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 = "" /* 4654-byte string literal not displayed */
Erc721ABI is the input ABI used to generate the binding from.
Variables ¶
var Erc721Bin = "" /* 20056-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) 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) TokenColor ¶
TokenColor is a free data retrieval call binding the contract method.
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) 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)
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) 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) 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) 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.