erc721

package
v0.0.0-...-73b4c3b Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Erc721ABI = Erc721MetaData.ABI

Erc721ABI is the input ABI used to generate the binding from. Deprecated: Use Erc721MetaData.ABI instead.

View Source
var Erc721MetaData = &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\"}]",
}

Erc721MetaData contains all meta data concerning the Erc721 contract.

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.

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.

type Erc721Filterer

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

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

func NewErc721Filterer

func NewErc721Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc721Filterer, error)

NewErc721Filterer creates a new log filterer instance of Erc721, bound to a specific deployed contract.

func (*Erc721Filterer) FilterApproval

func (_Erc721 *Erc721Filterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _approved []common.Address, _tokenId []*big.Int) (*Erc721ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _approved, uint256 indexed _tokenId)

func (*Erc721Filterer) FilterApprovalForAll

func (_Erc721 *Erc721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, _owner []common.Address, _operator []common.Address) (*Erc721ApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved)

func (*Erc721Filterer) FilterTransfer

func (_Erc721 *Erc721Filterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address, _tokenId []*big.Int) (*Erc721TransferIterator, error)

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

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

func (*Erc721Filterer) ParseApproval

func (_Erc721 *Erc721Filterer) ParseApproval(log types.Log) (*Erc721Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _approved, uint256 indexed _tokenId)

func (*Erc721Filterer) ParseApprovalForAll

func (_Erc721 *Erc721Filterer) ParseApprovalForAll(log types.Log) (*Erc721ApprovalForAll, error)

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

Solidity: event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved)

func (*Erc721Filterer) ParseTransfer

func (_Erc721 *Erc721Filterer) ParseTransfer(log types.Log) (*Erc721Transfer, error)

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

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

func (*Erc721Filterer) WatchApproval

func (_Erc721 *Erc721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc721Approval, _owner []common.Address, _approved []common.Address, _tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _approved, uint256 indexed _tokenId)

func (*Erc721Filterer) WatchApprovalForAll

func (_Erc721 *Erc721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc721ApprovalForAll, _owner []common.Address, _operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved)

func (*Erc721Filterer) WatchTransfer

func (_Erc721 *Erc721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc721Transfer, _from []common.Address, _to []common.Address, _tokenId []*big.Int) (event.Subscription, error)

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

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

type Erc721Raw

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

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

func (*Erc721Raw) Call

func (_Erc721 *Erc721Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*Erc721Raw) Transact

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

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

func (*Erc721Raw) Transfer

func (_Erc721 *Erc721Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type Erc721Session

type Erc721Session struct {
	Contract     *Erc721           // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

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.

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.

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