Documentation ¶
Index ¶
- Variables
- type ERC721Contract
- type ERC721ContractApproval
- type ERC721ContractApprovalForAll
- type ERC721ContractApprovalForAllIterator
- type ERC721ContractApprovalIterator
- type ERC721ContractCaller
- func (_ERC721Contract *ERC721ContractCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_ERC721Contract *ERC721ContractCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_ERC721Contract *ERC721ContractCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_ERC721Contract *ERC721ContractCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC721Contract *ERC721ContractCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_ERC721Contract *ERC721ContractCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_ERC721Contract *ERC721ContractCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC721Contract *ERC721ContractCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- type ERC721ContractCallerRaw
- type ERC721ContractCallerSession
- func (_ERC721Contract *ERC721ContractCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC721Contract *ERC721ContractCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_ERC721Contract *ERC721ContractCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_ERC721Contract *ERC721ContractCallerSession) Name() (string, error)
- func (_ERC721Contract *ERC721ContractCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_ERC721Contract *ERC721ContractCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_ERC721Contract *ERC721ContractCallerSession) Symbol() (string, error)
- func (_ERC721Contract *ERC721ContractCallerSession) TokenURI(tokenId *big.Int) (string, error)
- type ERC721ContractFilterer
- func (_ERC721Contract *ERC721ContractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*ERC721ContractApprovalIterator, error)
- func (_ERC721Contract *ERC721ContractFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ContractApprovalForAllIterator, error)
- func (_ERC721Contract *ERC721ContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*ERC721ContractTransferIterator, error)
- func (_ERC721Contract *ERC721ContractFilterer) ParseApproval(log types.Log) (*ERC721ContractApproval, error)
- func (_ERC721Contract *ERC721ContractFilterer) ParseApprovalForAll(log types.Log) (*ERC721ContractApprovalForAll, error)
- func (_ERC721Contract *ERC721ContractFilterer) ParseTransfer(log types.Log) (*ERC721ContractTransfer, error)
- func (_ERC721Contract *ERC721ContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721ContractApproval, ...) (event.Subscription, error)
- func (_ERC721Contract *ERC721ContractFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ContractApprovalForAll, ...) (event.Subscription, error)
- func (_ERC721Contract *ERC721ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721ContractTransfer, ...) (event.Subscription, error)
- type ERC721ContractRaw
- func (_ERC721Contract *ERC721ContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC721Contract *ERC721ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC721ContractSession
- func (_ERC721Contract *ERC721ContractSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC721Contract *ERC721ContractSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_ERC721Contract *ERC721ContractSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_ERC721Contract *ERC721ContractSession) Name() (string, error)
- func (_ERC721Contract *ERC721ContractSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_ERC721Contract *ERC721ContractSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_ERC721Contract *ERC721ContractSession) Symbol() (string, error)
- func (_ERC721Contract *ERC721ContractSession) TokenURI(tokenId *big.Int) (string, error)
- func (_ERC721Contract *ERC721ContractSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type ERC721ContractTransactor
- func (_ERC721Contract *ERC721ContractTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type ERC721ContractTransactorRaw
- type ERC721ContractTransactorSession
- func (_ERC721Contract *ERC721ContractTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721Contract *ERC721ContractTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type ERC721ContractTransfer
- type ERC721ContractTransferIterator
Constants ¶
This section is empty.
Variables ¶
var ERC721ContractABI = ERC721ContractMetaData.ABI
ERC721ContractABI is the input ABI used to generate the binding from. Deprecated: Use ERC721ContractMetaData.ABI instead.
var ERC721ContractMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
ERC721ContractMetaData contains all meta data concerning the ERC721Contract contract.
Functions ¶
This section is empty.
Types ¶
type ERC721Contract ¶
type ERC721Contract struct { ERC721ContractCaller // Read-only binding to the contract ERC721ContractTransactor // Write-only binding to the contract ERC721ContractFilterer // Log filterer for contract events }
ERC721Contract is an auto generated Go binding around an Ethereum contract.
func NewERC721Contract ¶
func NewERC721Contract(address common.Address, backend bind.ContractBackend) (*ERC721Contract, error)
NewERC721Contract creates a new instance of ERC721Contract, bound to a specific deployed contract.
type ERC721ContractApproval ¶
type ERC721ContractApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC721ContractApproval represents a Approval event raised by the ERC721Contract contract.
type ERC721ContractApprovalForAll ¶
type ERC721ContractApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
ERC721ContractApprovalForAll represents a ApprovalForAll event raised by the ERC721Contract contract.
type ERC721ContractApprovalForAllIterator ¶
type ERC721ContractApprovalForAllIterator struct { Event *ERC721ContractApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721ContractApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the ERC721Contract contract.
func (*ERC721ContractApprovalForAllIterator) Close ¶
func (it *ERC721ContractApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721ContractApprovalForAllIterator) Error ¶
func (it *ERC721ContractApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721ContractApprovalForAllIterator) Next ¶
func (it *ERC721ContractApprovalForAllIterator) 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 ERC721ContractApprovalIterator ¶
type ERC721ContractApprovalIterator struct { Event *ERC721ContractApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721ContractApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC721Contract contract.
func (*ERC721ContractApprovalIterator) Close ¶
func (it *ERC721ContractApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721ContractApprovalIterator) Error ¶
func (it *ERC721ContractApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721ContractApprovalIterator) Next ¶
func (it *ERC721ContractApprovalIterator) 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 ERC721ContractCaller ¶
type ERC721ContractCaller struct {
// contains filtered or unexported fields
}
ERC721ContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC721ContractCaller ¶
func NewERC721ContractCaller(address common.Address, caller bind.ContractCaller) (*ERC721ContractCaller, error)
NewERC721ContractCaller creates a new read-only instance of ERC721Contract, bound to a specific deployed contract.
func (*ERC721ContractCaller) BalanceOf ¶
func (_ERC721Contract *ERC721ContractCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC721ContractCaller) GetApproved ¶
func (_ERC721Contract *ERC721ContractCaller) 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 (*ERC721ContractCaller) IsApprovedForAll ¶
func (_ERC721Contract *ERC721ContractCaller) 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 (*ERC721ContractCaller) Name ¶
func (_ERC721Contract *ERC721ContractCaller) 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 (*ERC721ContractCaller) OwnerOf ¶
func (_ERC721Contract *ERC721ContractCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ERC721ContractCaller) SupportsInterface ¶
func (_ERC721Contract *ERC721ContractCaller) 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 ERC721ContractCallerRaw ¶
type ERC721ContractCallerRaw struct {
Contract *ERC721ContractCaller // Generic read-only contract binding to access the raw methods on
}
ERC721ContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC721ContractCallerRaw) Call ¶
func (_ERC721Contract *ERC721ContractCallerRaw) 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 ERC721ContractCallerSession ¶
type ERC721ContractCallerSession struct { Contract *ERC721ContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC721ContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC721ContractCallerSession) BalanceOf ¶
func (_ERC721Contract *ERC721ContractCallerSession) BalanceOf(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 (*ERC721ContractCallerSession) GetApproved ¶
func (_ERC721Contract *ERC721ContractCallerSession) GetApproved(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 (*ERC721ContractCallerSession) IsApprovedForAll ¶
func (_ERC721Contract *ERC721ContractCallerSession) 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 (*ERC721ContractCallerSession) Name ¶
func (_ERC721Contract *ERC721ContractCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC721ContractCallerSession) OwnerOf ¶
func (_ERC721Contract *ERC721ContractCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ERC721ContractCallerSession) SupportsInterface ¶
func (_ERC721Contract *ERC721ContractCallerSession) 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 (*ERC721ContractCallerSession) Symbol ¶
func (_ERC721Contract *ERC721ContractCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
type ERC721ContractFilterer ¶
type ERC721ContractFilterer struct {
// contains filtered or unexported fields
}
ERC721ContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC721ContractFilterer ¶
func NewERC721ContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721ContractFilterer, error)
NewERC721ContractFilterer creates a new log filterer instance of ERC721Contract, bound to a specific deployed contract.
func (*ERC721ContractFilterer) FilterApproval ¶
func (_ERC721Contract *ERC721ContractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721ContractApprovalIterator, 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 (*ERC721ContractFilterer) FilterApprovalForAll ¶
func (_ERC721Contract *ERC721ContractFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ContractApprovalForAllIterator, 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 (*ERC721ContractFilterer) FilterTransfer ¶
func (_ERC721Contract *ERC721ContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721ContractTransferIterator, 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 (*ERC721ContractFilterer) ParseApproval ¶
func (_ERC721Contract *ERC721ContractFilterer) ParseApproval(log types.Log) (*ERC721ContractApproval, 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 (*ERC721ContractFilterer) ParseApprovalForAll ¶
func (_ERC721Contract *ERC721ContractFilterer) ParseApprovalForAll(log types.Log) (*ERC721ContractApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*ERC721ContractFilterer) ParseTransfer ¶
func (_ERC721Contract *ERC721ContractFilterer) ParseTransfer(log types.Log) (*ERC721ContractTransfer, 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 (*ERC721ContractFilterer) WatchApproval ¶
func (_ERC721Contract *ERC721ContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721ContractApproval, 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 (*ERC721ContractFilterer) WatchApprovalForAll ¶
func (_ERC721Contract *ERC721ContractFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ContractApprovalForAll, 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 (*ERC721ContractFilterer) WatchTransfer ¶
func (_ERC721Contract *ERC721ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721ContractTransfer, 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 ERC721ContractRaw ¶
type ERC721ContractRaw struct {
Contract *ERC721Contract // Generic contract binding to access the raw methods on
}
ERC721ContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC721ContractRaw) Call ¶
func (_ERC721Contract *ERC721ContractRaw) 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 (*ERC721ContractRaw) Transact ¶
func (_ERC721Contract *ERC721ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC721ContractRaw) Transfer ¶
func (_ERC721Contract *ERC721ContractRaw) 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 ERC721ContractSession ¶
type ERC721ContractSession struct { Contract *ERC721Contract // 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 }
ERC721ContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC721ContractSession) Approve ¶
func (_ERC721Contract *ERC721ContractSession) 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 (*ERC721ContractSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC721ContractSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*ERC721ContractSession) IsApprovedForAll ¶
func (_ERC721Contract *ERC721ContractSession) 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 (*ERC721ContractSession) Name ¶
func (_ERC721Contract *ERC721ContractSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC721ContractSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ERC721ContractSession) SafeTransferFrom ¶
func (_ERC721Contract *ERC721ContractSession) 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 (*ERC721ContractSession) SafeTransferFrom0 ¶
func (_ERC721Contract *ERC721ContractSession) 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 (*ERC721ContractSession) SetApprovalForAll ¶
func (_ERC721Contract *ERC721ContractSession) 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 (*ERC721ContractSession) SupportsInterface ¶
func (_ERC721Contract *ERC721ContractSession) 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 (*ERC721ContractSession) Symbol ¶
func (_ERC721Contract *ERC721ContractSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC721ContractSession) TokenURI ¶
func (_ERC721Contract *ERC721ContractSession) 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 (*ERC721ContractSession) TransferFrom ¶
func (_ERC721Contract *ERC721ContractSession) 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 ERC721ContractTransactor ¶
type ERC721ContractTransactor struct {
// contains filtered or unexported fields
}
ERC721ContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC721ContractTransactor ¶
func NewERC721ContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721ContractTransactor, error)
NewERC721ContractTransactor creates a new write-only instance of ERC721Contract, bound to a specific deployed contract.
func (*ERC721ContractTransactor) Approve ¶
func (_ERC721Contract *ERC721ContractTransactor) 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 (*ERC721ContractTransactor) SafeTransferFrom ¶
func (_ERC721Contract *ERC721ContractTransactor) 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 (*ERC721ContractTransactor) SafeTransferFrom0 ¶
func (_ERC721Contract *ERC721ContractTransactor) 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 (*ERC721ContractTransactor) SetApprovalForAll ¶
func (_ERC721Contract *ERC721ContractTransactor) 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 (*ERC721ContractTransactor) TransferFrom ¶
func (_ERC721Contract *ERC721ContractTransactor) 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 ERC721ContractTransactorRaw ¶
type ERC721ContractTransactorRaw struct {
Contract *ERC721ContractTransactor // Generic write-only contract binding to access the raw methods on
}
ERC721ContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC721ContractTransactorRaw) Transact ¶
func (_ERC721Contract *ERC721ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC721ContractTransactorRaw) Transfer ¶
func (_ERC721Contract *ERC721ContractTransactorRaw) 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 ERC721ContractTransactorSession ¶
type ERC721ContractTransactorSession struct { Contract *ERC721ContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC721ContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC721ContractTransactorSession) Approve ¶
func (_ERC721Contract *ERC721ContractTransactorSession) 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 (*ERC721ContractTransactorSession) SafeTransferFrom ¶
func (_ERC721Contract *ERC721ContractTransactorSession) 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 (*ERC721ContractTransactorSession) SafeTransferFrom0 ¶
func (_ERC721Contract *ERC721ContractTransactorSession) 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 (*ERC721ContractTransactorSession) SetApprovalForAll ¶
func (_ERC721Contract *ERC721ContractTransactorSession) 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 (*ERC721ContractTransactorSession) TransferFrom ¶
func (_ERC721Contract *ERC721ContractTransactorSession) 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 ERC721ContractTransfer ¶
type ERC721ContractTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC721ContractTransfer represents a Transfer event raised by the ERC721Contract contract.
type ERC721ContractTransferIterator ¶
type ERC721ContractTransferIterator struct { Event *ERC721ContractTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721ContractTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC721Contract contract.
func (*ERC721ContractTransferIterator) Close ¶
func (it *ERC721ContractTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721ContractTransferIterator) Error ¶
func (it *ERC721ContractTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721ContractTransferIterator) Next ¶
func (it *ERC721ContractTransferIterator) 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.