TokenERC721

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenERC721ABI = TokenERC721MetaData.ABI

TokenERC721ABI is the input ABI used to generate the binding from. Deprecated: Use TokenERC721MetaData.ABI instead.

View Source
var TokenERC721MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"smbl_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"NewTokenCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"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\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mintNft\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

TokenERC721MetaData contains all meta data concerning the TokenERC721 contract.

Functions

This section is empty.

Types

type TokenERC721

type TokenERC721 struct {
	TokenERC721Caller     // Read-only binding to the contract
	TokenERC721Transactor // Write-only binding to the contract
	TokenERC721Filterer   // Log filterer for contract events
}

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

func NewTokenERC721

func NewTokenERC721(address common.Address, backend bind.ContractBackend) (*TokenERC721, error)

NewTokenERC721 creates a new instance of TokenERC721, bound to a specific deployed contract.

type TokenERC721Approval

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

TokenERC721Approval represents a Approval event raised by the TokenERC721 contract.

type TokenERC721ApprovalForAll

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

TokenERC721ApprovalForAll represents a ApprovalForAll event raised by the TokenERC721 contract.

type TokenERC721ApprovalForAllIterator

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

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

func (*TokenERC721ApprovalForAllIterator) Close

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

func (*TokenERC721ApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenERC721ApprovalForAllIterator) 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 TokenERC721ApprovalIterator

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

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

func (*TokenERC721ApprovalIterator) Close

func (it *TokenERC721ApprovalIterator) Close() error

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

func (*TokenERC721ApprovalIterator) Error

func (it *TokenERC721ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenERC721ApprovalIterator) Next

func (it *TokenERC721ApprovalIterator) 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 TokenERC721Caller

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

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

func NewTokenERC721Caller

func NewTokenERC721Caller(address common.Address, caller bind.ContractCaller) (*TokenERC721Caller, error)

NewTokenERC721Caller creates a new read-only instance of TokenERC721, bound to a specific deployed contract.

func (*TokenERC721Caller) BalanceOf

func (_TokenERC721 *TokenERC721Caller) 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 (*TokenERC721Caller) GetApproved

func (_TokenERC721 *TokenERC721Caller) 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 (*TokenERC721Caller) IsApprovedForAll

func (_TokenERC721 *TokenERC721Caller) 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 (*TokenERC721Caller) Name

func (_TokenERC721 *TokenERC721Caller) 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 (*TokenERC721Caller) Owner

func (_TokenERC721 *TokenERC721Caller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*TokenERC721Caller) OwnerOf

func (_TokenERC721 *TokenERC721Caller) 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 (*TokenERC721Caller) SupportsInterface

func (_TokenERC721 *TokenERC721Caller) 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 (*TokenERC721Caller) Symbol

func (_TokenERC721 *TokenERC721Caller) 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 (*TokenERC721Caller) TokenByIndex

func (_TokenERC721 *TokenERC721Caller) 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 (*TokenERC721Caller) TokenOfOwnerByIndex

func (_TokenERC721 *TokenERC721Caller) 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 (*TokenERC721Caller) TokenURI

func (_TokenERC721 *TokenERC721Caller) 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 (*TokenERC721Caller) TotalSupply

func (_TokenERC721 *TokenERC721Caller) 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 TokenERC721CallerRaw

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

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

func (*TokenERC721CallerRaw) Call

func (_TokenERC721 *TokenERC721CallerRaw) 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 TokenERC721CallerSession

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

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

func (*TokenERC721CallerSession) BalanceOf

func (_TokenERC721 *TokenERC721CallerSession) 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 (*TokenERC721CallerSession) GetApproved

func (_TokenERC721 *TokenERC721CallerSession) 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 (*TokenERC721CallerSession) IsApprovedForAll

func (_TokenERC721 *TokenERC721CallerSession) 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 (*TokenERC721CallerSession) Name

func (_TokenERC721 *TokenERC721CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TokenERC721CallerSession) Owner

func (_TokenERC721 *TokenERC721CallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*TokenERC721CallerSession) OwnerOf

func (_TokenERC721 *TokenERC721CallerSession) 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 (*TokenERC721CallerSession) SupportsInterface

func (_TokenERC721 *TokenERC721CallerSession) 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 (*TokenERC721CallerSession) Symbol

func (_TokenERC721 *TokenERC721CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TokenERC721CallerSession) TokenByIndex

func (_TokenERC721 *TokenERC721CallerSession) 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 (*TokenERC721CallerSession) TokenOfOwnerByIndex

func (_TokenERC721 *TokenERC721CallerSession) 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 (*TokenERC721CallerSession) TokenURI

func (_TokenERC721 *TokenERC721CallerSession) 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 (*TokenERC721CallerSession) TotalSupply

func (_TokenERC721 *TokenERC721CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type TokenERC721Filterer

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

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

func NewTokenERC721Filterer

func NewTokenERC721Filterer(address common.Address, filterer bind.ContractFilterer) (*TokenERC721Filterer, error)

NewTokenERC721Filterer creates a new log filterer instance of TokenERC721, bound to a specific deployed contract.

func (*TokenERC721Filterer) FilterApproval

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

func (_TokenERC721 *TokenERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*TokenERC721ApprovalForAllIterator, 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 (*TokenERC721Filterer) FilterNewTokenCreated

func (_TokenERC721 *TokenERC721Filterer) FilterNewTokenCreated(opts *bind.FilterOpts) (*TokenERC721NewTokenCreatedIterator, error)

FilterNewTokenCreated is a free log retrieval operation binding the contract event 0x926cf7568edfc999d006009720ee2cdecd12e636d81b861c1c58cdadf855673f.

Solidity: event NewTokenCreated(address receiver, uint256 tokenId)

func (*TokenERC721Filterer) FilterOwnershipTransferred

func (_TokenERC721 *TokenERC721Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TokenERC721OwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TokenERC721Filterer) FilterTransfer

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

func (_TokenERC721 *TokenERC721Filterer) ParseApproval(log types.Log) (*TokenERC721Approval, 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 (*TokenERC721Filterer) ParseApprovalForAll

func (_TokenERC721 *TokenERC721Filterer) ParseApprovalForAll(log types.Log) (*TokenERC721ApprovalForAll, error)

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

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

func (*TokenERC721Filterer) ParseNewTokenCreated

func (_TokenERC721 *TokenERC721Filterer) ParseNewTokenCreated(log types.Log) (*TokenERC721NewTokenCreated, error)

ParseNewTokenCreated is a log parse operation binding the contract event 0x926cf7568edfc999d006009720ee2cdecd12e636d81b861c1c58cdadf855673f.

Solidity: event NewTokenCreated(address receiver, uint256 tokenId)

func (*TokenERC721Filterer) ParseOwnershipTransferred

func (_TokenERC721 *TokenERC721Filterer) ParseOwnershipTransferred(log types.Log) (*TokenERC721OwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TokenERC721Filterer) ParseTransfer

func (_TokenERC721 *TokenERC721Filterer) ParseTransfer(log types.Log) (*TokenERC721Transfer, 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 (*TokenERC721Filterer) WatchApproval

func (_TokenERC721 *TokenERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenERC721Approval, 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 (*TokenERC721Filterer) WatchApprovalForAll

func (_TokenERC721 *TokenERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *TokenERC721ApprovalForAll, 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 (*TokenERC721Filterer) WatchNewTokenCreated

func (_TokenERC721 *TokenERC721Filterer) WatchNewTokenCreated(opts *bind.WatchOpts, sink chan<- *TokenERC721NewTokenCreated) (event.Subscription, error)

WatchNewTokenCreated is a free log subscription operation binding the contract event 0x926cf7568edfc999d006009720ee2cdecd12e636d81b861c1c58cdadf855673f.

Solidity: event NewTokenCreated(address receiver, uint256 tokenId)

func (*TokenERC721Filterer) WatchOwnershipTransferred

func (_TokenERC721 *TokenERC721Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenERC721OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TokenERC721Filterer) WatchTransfer

func (_TokenERC721 *TokenERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenERC721Transfer, 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 TokenERC721NewTokenCreated

type TokenERC721NewTokenCreated struct {
	Receiver common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

TokenERC721NewTokenCreated represents a NewTokenCreated event raised by the TokenERC721 contract.

type TokenERC721NewTokenCreatedIterator

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

TokenERC721NewTokenCreatedIterator is returned from FilterNewTokenCreated and is used to iterate over the raw logs and unpacked data for NewTokenCreated events raised by the TokenERC721 contract.

func (*TokenERC721NewTokenCreatedIterator) Close

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

func (*TokenERC721NewTokenCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenERC721NewTokenCreatedIterator) 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 TokenERC721OwnershipTransferred

type TokenERC721OwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

TokenERC721OwnershipTransferred represents a OwnershipTransferred event raised by the TokenERC721 contract.

type TokenERC721OwnershipTransferredIterator

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

TokenERC721OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the TokenERC721 contract.

func (*TokenERC721OwnershipTransferredIterator) Close

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

func (*TokenERC721OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenERC721OwnershipTransferredIterator) 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 TokenERC721Raw

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

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

func (*TokenERC721Raw) Call

func (_TokenERC721 *TokenERC721Raw) 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 (*TokenERC721Raw) Transact

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

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

func (*TokenERC721Raw) Transfer

func (_TokenERC721 *TokenERC721Raw) 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 TokenERC721Session

type TokenERC721Session struct {
	Contract     *TokenERC721      // 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
}

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

func (*TokenERC721Session) Approve

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

func (_TokenERC721 *TokenERC721Session) 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 (*TokenERC721Session) GetApproved

func (_TokenERC721 *TokenERC721Session) 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 (*TokenERC721Session) IsApprovedForAll

func (_TokenERC721 *TokenERC721Session) 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 (*TokenERC721Session) MintNft

func (_TokenERC721 *TokenERC721Session) MintNft(receiver common.Address) (*types.Transaction, error)

MintNft is a paid mutator transaction binding the contract method 0xe9c2e14b.

Solidity: function mintNft(address receiver) returns(uint256)

func (*TokenERC721Session) Name

func (_TokenERC721 *TokenERC721Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TokenERC721Session) Owner

func (_TokenERC721 *TokenERC721Session) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*TokenERC721Session) OwnerOf

func (_TokenERC721 *TokenERC721Session) 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 (*TokenERC721Session) RenounceOwnership

func (_TokenERC721 *TokenERC721Session) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TokenERC721Session) SafeTransferFrom

func (_TokenERC721 *TokenERC721Session) 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 (*TokenERC721Session) SafeTransferFrom0

func (_TokenERC721 *TokenERC721Session) 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 (*TokenERC721Session) SetApprovalForAll

func (_TokenERC721 *TokenERC721Session) 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 (*TokenERC721Session) SupportsInterface

func (_TokenERC721 *TokenERC721Session) 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 (*TokenERC721Session) Symbol

func (_TokenERC721 *TokenERC721Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TokenERC721Session) TokenByIndex

func (_TokenERC721 *TokenERC721Session) 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 (*TokenERC721Session) TokenOfOwnerByIndex

func (_TokenERC721 *TokenERC721Session) 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 (*TokenERC721Session) TokenURI

func (_TokenERC721 *TokenERC721Session) 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 (*TokenERC721Session) TotalSupply

func (_TokenERC721 *TokenERC721Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TokenERC721Session) TransferFrom

func (_TokenERC721 *TokenERC721Session) 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()

func (*TokenERC721Session) TransferOwnership

func (_TokenERC721 *TokenERC721Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type TokenERC721Transactor

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

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

func NewTokenERC721Transactor

func NewTokenERC721Transactor(address common.Address, transactor bind.ContractTransactor) (*TokenERC721Transactor, error)

NewTokenERC721Transactor creates a new write-only instance of TokenERC721, bound to a specific deployed contract.

func (*TokenERC721Transactor) Approve

func (_TokenERC721 *TokenERC721Transactor) 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 (*TokenERC721Transactor) MintNft

func (_TokenERC721 *TokenERC721Transactor) MintNft(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)

MintNft is a paid mutator transaction binding the contract method 0xe9c2e14b.

Solidity: function mintNft(address receiver) returns(uint256)

func (*TokenERC721Transactor) RenounceOwnership

func (_TokenERC721 *TokenERC721Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TokenERC721Transactor) SafeTransferFrom

func (_TokenERC721 *TokenERC721Transactor) 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 (*TokenERC721Transactor) SafeTransferFrom0

func (_TokenERC721 *TokenERC721Transactor) 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 (*TokenERC721Transactor) SetApprovalForAll

func (_TokenERC721 *TokenERC721Transactor) 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 (*TokenERC721Transactor) TransferFrom

func (_TokenERC721 *TokenERC721Transactor) 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()

func (*TokenERC721Transactor) TransferOwnership

func (_TokenERC721 *TokenERC721Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type TokenERC721TransactorRaw

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

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

func (*TokenERC721TransactorRaw) Transact

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

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

func (*TokenERC721TransactorRaw) Transfer

func (_TokenERC721 *TokenERC721TransactorRaw) 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 TokenERC721TransactorSession

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

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

func (*TokenERC721TransactorSession) Approve

func (_TokenERC721 *TokenERC721TransactorSession) 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 (*TokenERC721TransactorSession) MintNft

func (_TokenERC721 *TokenERC721TransactorSession) MintNft(receiver common.Address) (*types.Transaction, error)

MintNft is a paid mutator transaction binding the contract method 0xe9c2e14b.

Solidity: function mintNft(address receiver) returns(uint256)

func (*TokenERC721TransactorSession) RenounceOwnership

func (_TokenERC721 *TokenERC721TransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TokenERC721TransactorSession) SafeTransferFrom

func (_TokenERC721 *TokenERC721TransactorSession) 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 (*TokenERC721TransactorSession) SafeTransferFrom0

func (_TokenERC721 *TokenERC721TransactorSession) 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 (*TokenERC721TransactorSession) SetApprovalForAll

func (_TokenERC721 *TokenERC721TransactorSession) 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 (*TokenERC721TransactorSession) TransferFrom

func (_TokenERC721 *TokenERC721TransactorSession) 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()

func (*TokenERC721TransactorSession) TransferOwnership

func (_TokenERC721 *TokenERC721TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type TokenERC721Transfer

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

TokenERC721Transfer represents a Transfer event raised by the TokenERC721 contract.

type TokenERC721TransferIterator

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

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

func (*TokenERC721TransferIterator) Close

func (it *TokenERC721TransferIterator) Close() error

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

func (*TokenERC721TransferIterator) Error

func (it *TokenERC721TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenERC721TransferIterator) Next

func (it *TokenERC721TransferIterator) 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