erc721Enumerable

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Erc721EnumerableABI = Erc721EnumerableMetaData.ABI

Erc721EnumerableABI is the input ABI used to generate the binding from. Deprecated: Use Erc721EnumerableMetaData.ABI instead.

View Source
var Erc721EnumerableMetaData = &bind.MetaData{
	ABI: "[{\"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\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\"}]",
}

Erc721EnumerableMetaData contains all meta data concerning the Erc721Enumerable contract.

Functions

This section is empty.

Types

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 Erc721EnumerableApproval

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

Erc721EnumerableApproval represents a Approval event raised by the Erc721Enumerable contract.

type Erc721EnumerableApprovalForAll

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

Erc721EnumerableApprovalForAll represents a ApprovalForAll event raised by the Erc721Enumerable contract.

type Erc721EnumerableApprovalForAllIterator

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

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

func (*Erc721EnumerableApprovalForAllIterator) Close

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

func (*Erc721EnumerableApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721EnumerableApprovalForAllIterator) 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 Erc721EnumerableApprovalIterator

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

Erc721EnumerableApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Erc721Enumerable contract.

func (*Erc721EnumerableApprovalIterator) Close

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

func (*Erc721EnumerableApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721EnumerableApprovalIterator) 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 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) BalanceOf

func (_Erc721Enumerable *Erc721EnumerableCaller) 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 (*Erc721EnumerableCaller) GetApproved

func (_Erc721Enumerable *Erc721EnumerableCaller) 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 (*Erc721EnumerableCaller) IsApprovedForAll

func (_Erc721Enumerable *Erc721EnumerableCaller) 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 (*Erc721EnumerableCaller) Name

func (_Erc721Enumerable *Erc721EnumerableCaller) 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 (*Erc721EnumerableCaller) OwnerOf

func (_Erc721Enumerable *Erc721EnumerableCaller) 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 (*Erc721EnumerableCaller) SupportsInterface

func (_Erc721Enumerable *Erc721EnumerableCaller) 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 (*Erc721EnumerableCaller) Symbol

func (_Erc721Enumerable *Erc721EnumerableCaller) 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 (*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) TokenURI

func (_Erc721Enumerable *Erc721EnumerableCaller) 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)

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) BalanceOf

func (_Erc721Enumerable *Erc721EnumerableCallerSession) 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 (*Erc721EnumerableCallerSession) GetApproved

func (_Erc721Enumerable *Erc721EnumerableCallerSession) 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 (*Erc721EnumerableCallerSession) IsApprovedForAll

func (_Erc721Enumerable *Erc721EnumerableCallerSession) 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 (*Erc721EnumerableCallerSession) Name

func (_Erc721Enumerable *Erc721EnumerableCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Erc721EnumerableCallerSession) OwnerOf

func (_Erc721Enumerable *Erc721EnumerableCallerSession) 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 (*Erc721EnumerableCallerSession) SupportsInterface

func (_Erc721Enumerable *Erc721EnumerableCallerSession) 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 (*Erc721EnumerableCallerSession) Symbol

func (_Erc721Enumerable *Erc721EnumerableCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

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) TokenURI

func (_Erc721Enumerable *Erc721EnumerableCallerSession) 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 (*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.

func (*Erc721EnumerableFilterer) FilterApproval

func (_Erc721Enumerable *Erc721EnumerableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*Erc721EnumerableApprovalIterator, 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 (*Erc721EnumerableFilterer) FilterApprovalForAll

func (_Erc721Enumerable *Erc721EnumerableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*Erc721EnumerableApprovalForAllIterator, 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 (*Erc721EnumerableFilterer) FilterTransfer

func (_Erc721Enumerable *Erc721EnumerableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*Erc721EnumerableTransferIterator, 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 (*Erc721EnumerableFilterer) ParseApproval

func (_Erc721Enumerable *Erc721EnumerableFilterer) ParseApproval(log types.Log) (*Erc721EnumerableApproval, 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 (*Erc721EnumerableFilterer) ParseApprovalForAll

func (_Erc721Enumerable *Erc721EnumerableFilterer) ParseApprovalForAll(log types.Log) (*Erc721EnumerableApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*Erc721EnumerableFilterer) ParseTransfer

func (_Erc721Enumerable *Erc721EnumerableFilterer) ParseTransfer(log types.Log) (*Erc721EnumerableTransfer, 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 (*Erc721EnumerableFilterer) WatchApproval

func (_Erc721Enumerable *Erc721EnumerableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc721EnumerableApproval, 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 (*Erc721EnumerableFilterer) WatchApprovalForAll

func (_Erc721Enumerable *Erc721EnumerableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc721EnumerableApprovalForAll, 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 (*Erc721EnumerableFilterer) WatchTransfer

func (_Erc721Enumerable *Erc721EnumerableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc721EnumerableTransfer, 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 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) Approve

func (_Erc721Enumerable *Erc721EnumerableSession) 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 (*Erc721EnumerableSession) BalanceOf

func (_Erc721Enumerable *Erc721EnumerableSession) 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 (*Erc721EnumerableSession) GetApproved

func (_Erc721Enumerable *Erc721EnumerableSession) 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 (*Erc721EnumerableSession) IsApprovedForAll

func (_Erc721Enumerable *Erc721EnumerableSession) 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 (*Erc721EnumerableSession) Name

func (_Erc721Enumerable *Erc721EnumerableSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Erc721EnumerableSession) OwnerOf

func (_Erc721Enumerable *Erc721EnumerableSession) 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 (*Erc721EnumerableSession) SafeTransferFrom

func (_Erc721Enumerable *Erc721EnumerableSession) 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 (*Erc721EnumerableSession) SafeTransferFrom0

func (_Erc721Enumerable *Erc721EnumerableSession) 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 (*Erc721EnumerableSession) SetApprovalForAll

func (_Erc721Enumerable *Erc721EnumerableSession) 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 (*Erc721EnumerableSession) SupportsInterface

func (_Erc721Enumerable *Erc721EnumerableSession) 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 (*Erc721EnumerableSession) Symbol

func (_Erc721Enumerable *Erc721EnumerableSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

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) TokenURI

func (_Erc721Enumerable *Erc721EnumerableSession) 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 (*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)

func (*Erc721EnumerableSession) TransferFrom

func (_Erc721Enumerable *Erc721EnumerableSession) 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 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.

func (*Erc721EnumerableTransactor) Approve

func (_Erc721Enumerable *Erc721EnumerableTransactor) 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 (*Erc721EnumerableTransactor) SafeTransferFrom

func (_Erc721Enumerable *Erc721EnumerableTransactor) 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 (*Erc721EnumerableTransactor) SafeTransferFrom0

func (_Erc721Enumerable *Erc721EnumerableTransactor) 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 (*Erc721EnumerableTransactor) SetApprovalForAll

func (_Erc721Enumerable *Erc721EnumerableTransactor) 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 (*Erc721EnumerableTransactor) TransferFrom

func (_Erc721Enumerable *Erc721EnumerableTransactor) 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 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.

func (*Erc721EnumerableTransactorSession) Approve

func (_Erc721Enumerable *Erc721EnumerableTransactorSession) 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 (*Erc721EnumerableTransactorSession) SafeTransferFrom

func (_Erc721Enumerable *Erc721EnumerableTransactorSession) 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 (*Erc721EnumerableTransactorSession) SafeTransferFrom0

func (_Erc721Enumerable *Erc721EnumerableTransactorSession) 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 (*Erc721EnumerableTransactorSession) SetApprovalForAll

func (_Erc721Enumerable *Erc721EnumerableTransactorSession) 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 (*Erc721EnumerableTransactorSession) TransferFrom

func (_Erc721Enumerable *Erc721EnumerableTransactorSession) 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 Erc721EnumerableTransfer

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

Erc721EnumerableTransfer represents a Transfer event raised by the Erc721Enumerable contract.

type Erc721EnumerableTransferIterator

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

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

func (*Erc721EnumerableTransferIterator) Close

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

func (*Erc721EnumerableTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721EnumerableTransferIterator) 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.

Jump to

Keyboard shortcuts

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