erc721

package
v1.4.1-rc-345 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ERC721ABI = "" /* 3054-byte string literal not displayed */

ERC721ABI is the input ABI used to generate the binding from.

View Source
const ERC721CompatABI = "" /* 256-byte string literal not displayed */

ERC721CompatABI is the input ABI used to generate the binding from.

View Source
const ERC721EnumerableABI = "" /* 674-byte string literal not displayed */

ERC721EnumerableABI is the input ABI used to generate the binding from.

View Source
const ERC721MetadataABI = "" /* 576-byte string literal not displayed */

ERC721MetadataABI is the input ABI used to generate the binding from.

Variables

This section is empty.

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 NewERC721

func NewERC721(address common.Address, backend bind.ContractBackend) (*ERC721, error)

NewERC721 creates a new instance of ERC721, bound to a specific deployed contract.

type ERC721Approval

type ERC721Approval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ERC721Approval represents a Approval event raised by the ERC721 contract.

type ERC721ApprovalForAll

type ERC721ApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

ERC721ApprovalForAll represents a ApprovalForAll event raised by the ERC721 contract.

type ERC721ApprovalForAllIterator

type ERC721ApprovalForAllIterator struct {
	Event *ERC721ApprovalForAll // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the ERC721 contract.

func (*ERC721ApprovalForAllIterator) Close

func (it *ERC721ApprovalForAllIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721ApprovalForAllIterator) Error

func (it *ERC721ApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721ApprovalForAllIterator) Next

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

func (_ERC721 *ERC721Caller) 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 (*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) OwnerOf

func (_ERC721 *ERC721Caller) 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)

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

func (_ERC721 *ERC721CallerSession) 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 (*ERC721CallerSession) GetApproved

func (_ERC721 *ERC721CallerSession) 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 (*ERC721CallerSession) IsApprovedForAll

func (_ERC721 *ERC721CallerSession) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address _owner, address _operator) view returns(bool)

func (*ERC721CallerSession) OwnerOf

func (_ERC721 *ERC721CallerSession) 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)

type ERC721Compat

type ERC721Compat struct {
	ERC721CompatCaller     // Read-only binding to the contract
	ERC721CompatTransactor // Write-only binding to the contract
	ERC721CompatFilterer   // Log filterer for contract events
}

ERC721Compat is an auto generated Go binding around an Ethereum contract.

func NewERC721Compat

func NewERC721Compat(address common.Address, backend bind.ContractBackend) (*ERC721Compat, error)

NewERC721Compat creates a new instance of ERC721Compat, bound to a specific deployed contract.

type ERC721CompatCaller

type ERC721CompatCaller struct {
	// contains filtered or unexported fields
}

ERC721CompatCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewERC721CompatCaller

func NewERC721CompatCaller(address common.Address, caller bind.ContractCaller) (*ERC721CompatCaller, error)

NewERC721CompatCaller creates a new read-only instance of ERC721Compat, bound to a specific deployed contract.

type ERC721CompatCallerRaw

type ERC721CompatCallerRaw struct {
	Contract *ERC721CompatCaller // Generic read-only contract binding to access the raw methods on
}

ERC721CompatCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ERC721CompatCallerRaw) Call

func (_ERC721Compat *ERC721CompatCallerRaw) 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 ERC721CompatCallerSession

type ERC721CompatCallerSession struct {
	Contract *ERC721CompatCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

ERC721CompatCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type ERC721CompatFilterer

type ERC721CompatFilterer struct {
	// contains filtered or unexported fields
}

ERC721CompatFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewERC721CompatFilterer

func NewERC721CompatFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721CompatFilterer, error)

NewERC721CompatFilterer creates a new log filterer instance of ERC721Compat, bound to a specific deployed contract.

func (*ERC721CompatFilterer) FilterTransfer

func (_ERC721Compat *ERC721CompatFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*ERC721CompatTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _tokenId)

func (*ERC721CompatFilterer) ParseTransfer

func (_ERC721Compat *ERC721CompatFilterer) ParseTransfer(log types.Log) (*ERC721CompatTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _tokenId)

func (*ERC721CompatFilterer) WatchTransfer

func (_ERC721Compat *ERC721CompatFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721CompatTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _tokenId)

type ERC721CompatRaw

type ERC721CompatRaw struct {
	Contract *ERC721Compat // Generic contract binding to access the raw methods on
}

ERC721CompatRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ERC721CompatRaw) Call

func (_ERC721Compat *ERC721CompatRaw) 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 (*ERC721CompatRaw) Transact

func (_ERC721Compat *ERC721CompatRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ERC721CompatRaw) Transfer

func (_ERC721Compat *ERC721CompatRaw) 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 ERC721CompatSession

type ERC721CompatSession struct {
	Contract     *ERC721Compat     // 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
}

ERC721CompatSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type ERC721CompatTransactor

type ERC721CompatTransactor struct {
	// contains filtered or unexported fields
}

ERC721CompatTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewERC721CompatTransactor

func NewERC721CompatTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721CompatTransactor, error)

NewERC721CompatTransactor creates a new write-only instance of ERC721Compat, bound to a specific deployed contract.

type ERC721CompatTransactorRaw

type ERC721CompatTransactorRaw struct {
	Contract *ERC721CompatTransactor // Generic write-only contract binding to access the raw methods on
}

ERC721CompatTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ERC721CompatTransactorRaw) Transact

func (_ERC721Compat *ERC721CompatTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ERC721CompatTransactorRaw) Transfer

func (_ERC721Compat *ERC721CompatTransactorRaw) 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 ERC721CompatTransactorSession

type ERC721CompatTransactorSession struct {
	Contract     *ERC721CompatTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

ERC721CompatTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type ERC721CompatTransfer

type ERC721CompatTransfer struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ERC721CompatTransfer represents a Transfer event raised by the ERC721Compat contract.

type ERC721CompatTransferIterator

type ERC721CompatTransferIterator struct {
	Event *ERC721CompatTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721CompatTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC721Compat contract.

func (*ERC721CompatTransferIterator) Close

func (it *ERC721CompatTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721CompatTransferIterator) Error

func (it *ERC721CompatTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721CompatTransferIterator) Next

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 ERC721Enumerable

type ERC721Enumerable struct {
	ERC721EnumerableCaller     // Read-only binding to the contract
	ERC721EnumerableTransactor // Write-only binding to the contract
	ERC721EnumerableFilterer   // Log filterer for contract events
}

ERC721Enumerable is an auto generated Go binding around an Ethereum contract.

func NewERC721Enumerable

func NewERC721Enumerable(address common.Address, backend bind.ContractBackend) (*ERC721Enumerable, error)

NewERC721Enumerable creates a new instance of ERC721Enumerable, bound to a specific deployed contract.

type ERC721EnumerableCaller

type ERC721EnumerableCaller struct {
	// contains filtered or unexported fields
}

ERC721EnumerableCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewERC721EnumerableCaller

func NewERC721EnumerableCaller(address common.Address, caller bind.ContractCaller) (*ERC721EnumerableCaller, error)

NewERC721EnumerableCaller creates a new read-only instance of ERC721Enumerable, bound to a specific deployed contract.

func (*ERC721EnumerableCaller) TokenByIndex

func (_ERC721Enumerable *ERC721EnumerableCaller) TokenByIndex(opts *bind.CallOpts, _index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 _index) view returns(uint256)

func (*ERC721EnumerableCaller) TokenOfOwnerByIndex

func (_ERC721Enumerable *ERC721EnumerableCaller) 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 (*ERC721EnumerableCaller) TotalSupply

func (_ERC721Enumerable *ERC721EnumerableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type ERC721EnumerableCallerRaw

type ERC721EnumerableCallerRaw struct {
	Contract *ERC721EnumerableCaller // Generic read-only contract binding to access the raw methods on
}

ERC721EnumerableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ERC721EnumerableCallerRaw) Call

func (_ERC721Enumerable *ERC721EnumerableCallerRaw) 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 ERC721EnumerableCallerSession

type ERC721EnumerableCallerSession struct {
	Contract *ERC721EnumerableCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts           // Call options to use throughout this session
}

ERC721EnumerableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ERC721EnumerableCallerSession) TokenByIndex

func (_ERC721Enumerable *ERC721EnumerableCallerSession) TokenByIndex(_index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 _index) view returns(uint256)

func (*ERC721EnumerableCallerSession) TokenOfOwnerByIndex

func (_ERC721Enumerable *ERC721EnumerableCallerSession) 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 (*ERC721EnumerableCallerSession) TotalSupply

func (_ERC721Enumerable *ERC721EnumerableCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type ERC721EnumerableFilterer

type ERC721EnumerableFilterer struct {
	// contains filtered or unexported fields
}

ERC721EnumerableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewERC721EnumerableFilterer

func NewERC721EnumerableFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721EnumerableFilterer, error)

NewERC721EnumerableFilterer creates a new log filterer instance of ERC721Enumerable, bound to a specific deployed contract.

type ERC721EnumerableRaw

type ERC721EnumerableRaw struct {
	Contract *ERC721Enumerable // Generic contract binding to access the raw methods on
}

ERC721EnumerableRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ERC721EnumerableRaw) Call

func (_ERC721Enumerable *ERC721EnumerableRaw) 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 (*ERC721EnumerableRaw) Transact

func (_ERC721Enumerable *ERC721EnumerableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ERC721EnumerableRaw) Transfer

func (_ERC721Enumerable *ERC721EnumerableRaw) 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 ERC721EnumerableSession

type ERC721EnumerableSession struct {
	Contract     *ERC721Enumerable // 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
}

ERC721EnumerableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ERC721EnumerableSession) TokenByIndex

func (_ERC721Enumerable *ERC721EnumerableSession) TokenByIndex(_index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 _index) view returns(uint256)

func (*ERC721EnumerableSession) TokenOfOwnerByIndex

func (_ERC721Enumerable *ERC721EnumerableSession) 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 (*ERC721EnumerableSession) TotalSupply

func (_ERC721Enumerable *ERC721EnumerableSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type ERC721EnumerableTransactor

type ERC721EnumerableTransactor struct {
	// contains filtered or unexported fields
}

ERC721EnumerableTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewERC721EnumerableTransactor

func NewERC721EnumerableTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721EnumerableTransactor, error)

NewERC721EnumerableTransactor creates a new write-only instance of ERC721Enumerable, bound to a specific deployed contract.

type ERC721EnumerableTransactorRaw

type ERC721EnumerableTransactorRaw struct {
	Contract *ERC721EnumerableTransactor // Generic write-only contract binding to access the raw methods on
}

ERC721EnumerableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ERC721EnumerableTransactorRaw) Transact

func (_ERC721Enumerable *ERC721EnumerableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ERC721EnumerableTransactorRaw) Transfer

func (_ERC721Enumerable *ERC721EnumerableTransactorRaw) 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 ERC721EnumerableTransactorSession

type ERC721EnumerableTransactorSession struct {
	Contract     *ERC721EnumerableTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts           // Transaction auth options to use throughout this session
}

ERC721EnumerableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

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 ERC721Metadata

type ERC721Metadata struct {
	ERC721MetadataCaller     // Read-only binding to the contract
	ERC721MetadataTransactor // Write-only binding to the contract
	ERC721MetadataFilterer   // Log filterer for contract events
}

ERC721Metadata is an auto generated Go binding around an Ethereum contract.

func NewERC721Metadata

func NewERC721Metadata(address common.Address, backend bind.ContractBackend) (*ERC721Metadata, error)

NewERC721Metadata creates a new instance of ERC721Metadata, bound to a specific deployed contract.

type ERC721MetadataCaller

type ERC721MetadataCaller struct {
	// contains filtered or unexported fields
}

ERC721MetadataCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewERC721MetadataCaller

func NewERC721MetadataCaller(address common.Address, caller bind.ContractCaller) (*ERC721MetadataCaller, error)

NewERC721MetadataCaller creates a new read-only instance of ERC721Metadata, bound to a specific deployed contract.

func (*ERC721MetadataCaller) Name

func (_ERC721Metadata *ERC721MetadataCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string _name)

func (*ERC721MetadataCaller) Symbol

func (_ERC721Metadata *ERC721MetadataCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string _symbol)

func (*ERC721MetadataCaller) TokenURI

func (_ERC721Metadata *ERC721MetadataCaller) TokenURI(opts *bind.CallOpts, _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)

type ERC721MetadataCallerRaw

type ERC721MetadataCallerRaw struct {
	Contract *ERC721MetadataCaller // Generic read-only contract binding to access the raw methods on
}

ERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ERC721MetadataCallerRaw) Call

func (_ERC721Metadata *ERC721MetadataCallerRaw) 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 ERC721MetadataCallerSession

type ERC721MetadataCallerSession struct {
	Contract *ERC721MetadataCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

ERC721MetadataCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ERC721MetadataCallerSession) Name

func (_ERC721Metadata *ERC721MetadataCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string _name)

func (*ERC721MetadataCallerSession) Symbol

func (_ERC721Metadata *ERC721MetadataCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string _symbol)

func (*ERC721MetadataCallerSession) TokenURI

func (_ERC721Metadata *ERC721MetadataCallerSession) 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)

type ERC721MetadataFilterer

type ERC721MetadataFilterer struct {
	// contains filtered or unexported fields
}

ERC721MetadataFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewERC721MetadataFilterer

func NewERC721MetadataFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721MetadataFilterer, error)

NewERC721MetadataFilterer creates a new log filterer instance of ERC721Metadata, bound to a specific deployed contract.

type ERC721MetadataRaw

type ERC721MetadataRaw struct {
	Contract *ERC721Metadata // Generic contract binding to access the raw methods on
}

ERC721MetadataRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ERC721MetadataRaw) Call

func (_ERC721Metadata *ERC721MetadataRaw) 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 (*ERC721MetadataRaw) Transact

func (_ERC721Metadata *ERC721MetadataRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ERC721MetadataRaw) Transfer

func (_ERC721Metadata *ERC721MetadataRaw) 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 ERC721MetadataSession

type ERC721MetadataSession struct {
	Contract     *ERC721Metadata   // 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
}

ERC721MetadataSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ERC721MetadataSession) Name

func (_ERC721Metadata *ERC721MetadataSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string _name)

func (*ERC721MetadataSession) Symbol

func (_ERC721Metadata *ERC721MetadataSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string _symbol)

func (*ERC721MetadataSession) TokenURI

func (_ERC721Metadata *ERC721MetadataSession) 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)

type ERC721MetadataTransactor

type ERC721MetadataTransactor struct {
	// contains filtered or unexported fields
}

ERC721MetadataTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewERC721MetadataTransactor

func NewERC721MetadataTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721MetadataTransactor, error)

NewERC721MetadataTransactor creates a new write-only instance of ERC721Metadata, bound to a specific deployed contract.

type ERC721MetadataTransactorRaw

type ERC721MetadataTransactorRaw struct {
	Contract *ERC721MetadataTransactor // Generic write-only contract binding to access the raw methods on
}

ERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ERC721MetadataTransactorRaw) Transact

func (_ERC721Metadata *ERC721MetadataTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ERC721MetadataTransactorRaw) Transfer

func (_ERC721Metadata *ERC721MetadataTransactorRaw) 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 ERC721MetadataTransactorSession

type ERC721MetadataTransactorSession struct {
	Contract     *ERC721MetadataTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

ERC721MetadataTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

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(_approved common.Address, _tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _approved, uint256 _tokenId) payable returns()

func (*ERC721Session) BalanceOf

func (_ERC721 *ERC721Session) 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 (*ERC721Session) GetApproved

func (_ERC721 *ERC721Session) 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 (*ERC721Session) IsApprovedForAll

func (_ERC721 *ERC721Session) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address _owner, address _operator) view returns(bool)

func (*ERC721Session) OwnerOf

func (_ERC721 *ERC721Session) 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 (*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) payable 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) payable 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) 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) payable 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, _approved common.Address, _tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _approved, uint256 _tokenId) payable 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) payable 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) payable 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) payable 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(_approved common.Address, _tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _approved, uint256 _tokenId) payable 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) payable 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) payable 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) payable 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL