mockerc721

package
v1.0.0-9 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Mockerc721ABI = Mockerc721MetaData.ABI

Mockerc721ABI is the input ABI used to generate the binding from. Deprecated: Use Mockerc721MetaData.ABI instead.

View Source
var Mockerc721MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_usr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

Mockerc721MetaData contains all meta data concerning the Mockerc721 contract.

Functions

This section is empty.

Types

type Mockerc721

type Mockerc721 struct {
	Mockerc721Caller     // Read-only binding to the contract
	Mockerc721Transactor // Write-only binding to the contract
	Mockerc721Filterer   // Log filterer for contract events
}

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

func NewMockerc721

func NewMockerc721(address common.Address, backend bind.ContractBackend) (*Mockerc721, error)

NewMockerc721 creates a new instance of Mockerc721, bound to a specific deployed contract.

type Mockerc721Approval

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

Mockerc721Approval represents a Approval event raised by the Mockerc721 contract.

type Mockerc721ApprovalForAll

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

Mockerc721ApprovalForAll represents a ApprovalForAll event raised by the Mockerc721 contract.

type Mockerc721ApprovalForAllIterator

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

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

func (*Mockerc721ApprovalForAllIterator) Close

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

func (*Mockerc721ApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Mockerc721ApprovalForAllIterator) 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 Mockerc721ApprovalIterator

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

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

func (*Mockerc721ApprovalIterator) Close

func (it *Mockerc721ApprovalIterator) Close() error

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

func (*Mockerc721ApprovalIterator) Error

func (it *Mockerc721ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Mockerc721ApprovalIterator) Next

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

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

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

func NewMockerc721Caller

func NewMockerc721Caller(address common.Address, caller bind.ContractCaller) (*Mockerc721Caller, error)

NewMockerc721Caller creates a new read-only instance of Mockerc721, bound to a specific deployed contract.

func (*Mockerc721Caller) BalanceOf

func (_Mockerc721 *Mockerc721Caller) 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 (*Mockerc721Caller) GetApproved

func (_Mockerc721 *Mockerc721Caller) 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 (*Mockerc721Caller) IsApprovedForAll

func (_Mockerc721 *Mockerc721Caller) 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 (*Mockerc721Caller) Name

func (_Mockerc721 *Mockerc721Caller) 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 (*Mockerc721Caller) OwnerOf

func (_Mockerc721 *Mockerc721Caller) 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 (*Mockerc721Caller) SupportsInterface

func (_Mockerc721 *Mockerc721Caller) 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 (*Mockerc721Caller) Symbol

func (_Mockerc721 *Mockerc721Caller) 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 (*Mockerc721Caller) TokenURI

func (_Mockerc721 *Mockerc721Caller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

type Mockerc721CallerRaw

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

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

func (*Mockerc721CallerRaw) Call

func (_Mockerc721 *Mockerc721CallerRaw) 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 Mockerc721CallerSession

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

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

func (*Mockerc721CallerSession) BalanceOf

func (_Mockerc721 *Mockerc721CallerSession) 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 (*Mockerc721CallerSession) GetApproved

func (_Mockerc721 *Mockerc721CallerSession) 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 (*Mockerc721CallerSession) IsApprovedForAll

func (_Mockerc721 *Mockerc721CallerSession) 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 (*Mockerc721CallerSession) Name

func (_Mockerc721 *Mockerc721CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Mockerc721CallerSession) OwnerOf

func (_Mockerc721 *Mockerc721CallerSession) 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 (*Mockerc721CallerSession) SupportsInterface

func (_Mockerc721 *Mockerc721CallerSession) 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 (*Mockerc721CallerSession) Symbol

func (_Mockerc721 *Mockerc721CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Mockerc721CallerSession) TokenURI

func (_Mockerc721 *Mockerc721CallerSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

type Mockerc721Filterer

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

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

func NewMockerc721Filterer

func NewMockerc721Filterer(address common.Address, filterer bind.ContractFilterer) (*Mockerc721Filterer, error)

NewMockerc721Filterer creates a new log filterer instance of Mockerc721, bound to a specific deployed contract.

func (*Mockerc721Filterer) FilterApproval

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

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

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

func (_Mockerc721 *Mockerc721Filterer) ParseApproval(log types.Log) (*Mockerc721Approval, 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 (*Mockerc721Filterer) ParseApprovalForAll

func (_Mockerc721 *Mockerc721Filterer) ParseApprovalForAll(log types.Log) (*Mockerc721ApprovalForAll, error)

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

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

func (*Mockerc721Filterer) ParseTransfer

func (_Mockerc721 *Mockerc721Filterer) ParseTransfer(log types.Log) (*Mockerc721Transfer, 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 (*Mockerc721Filterer) WatchApproval

func (_Mockerc721 *Mockerc721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Mockerc721Approval, 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 (*Mockerc721Filterer) WatchApprovalForAll

func (_Mockerc721 *Mockerc721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Mockerc721ApprovalForAll, 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 (*Mockerc721Filterer) WatchTransfer

func (_Mockerc721 *Mockerc721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Mockerc721Transfer, 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 Mockerc721Raw

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

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

func (*Mockerc721Raw) Call

func (_Mockerc721 *Mockerc721Raw) 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 (*Mockerc721Raw) Transact

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

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

func (*Mockerc721Raw) Transfer

func (_Mockerc721 *Mockerc721Raw) 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 Mockerc721Session

type Mockerc721Session struct {
	Contract     *Mockerc721       // 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
}

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

func (*Mockerc721Session) Approve

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

func (_Mockerc721 *Mockerc721Session) 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 (*Mockerc721Session) GetApproved

func (_Mockerc721 *Mockerc721Session) 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 (*Mockerc721Session) IsApprovedForAll

func (_Mockerc721 *Mockerc721Session) 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 (*Mockerc721Session) Mint

func (_Mockerc721 *Mockerc721Session) Mint(_usr common.Address, _tokenId *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _usr, uint256 _tokenId) returns()

func (*Mockerc721Session) Name

func (_Mockerc721 *Mockerc721Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Mockerc721Session) OwnerOf

func (_Mockerc721 *Mockerc721Session) 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 (*Mockerc721Session) SafeTransferFrom

func (_Mockerc721 *Mockerc721Session) 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 (*Mockerc721Session) SafeTransferFrom0

func (_Mockerc721 *Mockerc721Session) 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 (*Mockerc721Session) SetApprovalForAll

func (_Mockerc721 *Mockerc721Session) 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 (*Mockerc721Session) SupportsInterface

func (_Mockerc721 *Mockerc721Session) 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 (*Mockerc721Session) Symbol

func (_Mockerc721 *Mockerc721Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Mockerc721Session) TokenURI

func (_Mockerc721 *Mockerc721Session) 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 (*Mockerc721Session) TransferFrom

func (_Mockerc721 *Mockerc721Session) 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 Mockerc721Transactor

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

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

func NewMockerc721Transactor

func NewMockerc721Transactor(address common.Address, transactor bind.ContractTransactor) (*Mockerc721Transactor, error)

NewMockerc721Transactor creates a new write-only instance of Mockerc721, bound to a specific deployed contract.

func (*Mockerc721Transactor) Approve

func (_Mockerc721 *Mockerc721Transactor) 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 (*Mockerc721Transactor) Mint

func (_Mockerc721 *Mockerc721Transactor) Mint(opts *bind.TransactOpts, _usr common.Address, _tokenId *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _usr, uint256 _tokenId) returns()

func (*Mockerc721Transactor) SafeTransferFrom

func (_Mockerc721 *Mockerc721Transactor) 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 (*Mockerc721Transactor) SafeTransferFrom0

func (_Mockerc721 *Mockerc721Transactor) 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 (*Mockerc721Transactor) SetApprovalForAll

func (_Mockerc721 *Mockerc721Transactor) 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 (*Mockerc721Transactor) TransferFrom

func (_Mockerc721 *Mockerc721Transactor) 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 Mockerc721TransactorRaw

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

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

func (*Mockerc721TransactorRaw) Transact

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

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

func (*Mockerc721TransactorRaw) Transfer

func (_Mockerc721 *Mockerc721TransactorRaw) 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 Mockerc721TransactorSession

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

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

func (*Mockerc721TransactorSession) Approve

func (_Mockerc721 *Mockerc721TransactorSession) 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 (*Mockerc721TransactorSession) Mint

func (_Mockerc721 *Mockerc721TransactorSession) Mint(_usr common.Address, _tokenId *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _usr, uint256 _tokenId) returns()

func (*Mockerc721TransactorSession) SafeTransferFrom

func (_Mockerc721 *Mockerc721TransactorSession) 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 (*Mockerc721TransactorSession) SafeTransferFrom0

func (_Mockerc721 *Mockerc721TransactorSession) 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 (*Mockerc721TransactorSession) SetApprovalForAll

func (_Mockerc721 *Mockerc721TransactorSession) 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 (*Mockerc721TransactorSession) TransferFrom

func (_Mockerc721 *Mockerc721TransactorSession) 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 Mockerc721Transfer

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

Mockerc721Transfer represents a Transfer event raised by the Mockerc721 contract.

type Mockerc721TransferIterator

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

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

func (*Mockerc721TransferIterator) Close

func (it *Mockerc721TransferIterator) Close() error

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

func (*Mockerc721TransferIterator) Error

func (it *Mockerc721TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Mockerc721TransferIterator) Next

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