cw721

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CurrentVersion uint16 = 2

Variables

View Source
var Cw721ABI = Cw721MetaData.ABI

Cw721ABI is the input ABI used to generate the binding from. Deprecated: Use Cw721MetaData.ABI instead.

View Source
var Cw721MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"Cw721Address_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721IncorrectOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721InsufficientApproval\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOperator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC721InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721NonexistentToken\",\"type\":\"error\"},{\"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\":[],\"name\":\"AddrPrecompile\",\"outputs\":[{\"internalType\":\"contractIAddr\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Cw721Address\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"JsonPrecompile\",\"outputs\":[{\"internalType\":\"contractIJson\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WasmdPrecompile\",\"outputs\":[{\"internalType\":\"contractIWasmd\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approved\",\"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\":\"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\"}]",
}

Cw721MetaData contains all meta data concerning the Cw721 contract.

Functions

func GetABI

func GetABI() []byte

func GetBin

func GetBin() []byte

func GetLegacyBin

func GetLegacyBin() []byte

func GetParsedABI

func GetParsedABI() *abi.ABI

func IsCodeFromBin

func IsCodeFromBin(code []byte) bool

Types

type Cw721

type Cw721 struct {
	Cw721Caller     // Read-only binding to the contract
	Cw721Transactor // Write-only binding to the contract
	Cw721Filterer   // Log filterer for contract events
}

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

func NewCw721

func NewCw721(address common.Address, backend bind.ContractBackend) (*Cw721, error)

NewCw721 creates a new instance of Cw721, bound to a specific deployed contract.

type Cw721Approval

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

Cw721Approval represents a Approval event raised by the Cw721 contract.

type Cw721ApprovalForAll

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

Cw721ApprovalForAll represents a ApprovalForAll event raised by the Cw721 contract.

type Cw721ApprovalForAllIterator

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

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

func (*Cw721ApprovalForAllIterator) Close

func (it *Cw721ApprovalForAllIterator) Close() error

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

func (*Cw721ApprovalForAllIterator) Error

func (it *Cw721ApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Cw721ApprovalForAllIterator) Next

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

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

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

func (*Cw721ApprovalIterator) Close

func (it *Cw721ApprovalIterator) Close() error

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

func (*Cw721ApprovalIterator) Error

func (it *Cw721ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Cw721ApprovalIterator) Next

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

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

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

func NewCw721Caller

func NewCw721Caller(address common.Address, caller bind.ContractCaller) (*Cw721Caller, error)

NewCw721Caller creates a new read-only instance of Cw721, bound to a specific deployed contract.

func (*Cw721Caller) AddrPrecompile

func (_Cw721 *Cw721Caller) AddrPrecompile(opts *bind.CallOpts) (common.Address, error)

AddrPrecompile is a free data retrieval call binding the contract method 0xc2aed302.

Solidity: function AddrPrecompile() view returns(address)

func (*Cw721Caller) BalanceOf

func (_Cw721 *Cw721Caller) 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 (*Cw721Caller) Cw721Address

func (_Cw721 *Cw721Caller) Cw721Address(opts *bind.CallOpts) (string, error)

Cw721Address is a free data retrieval call binding the contract method 0x5c4aead7.

Solidity: function Cw721Address() view returns(string)

func (*Cw721Caller) GetApproved

func (_Cw721 *Cw721Caller) 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 (*Cw721Caller) IsApprovedForAll

func (_Cw721 *Cw721Caller) 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 (*Cw721Caller) JsonPrecompile

func (_Cw721 *Cw721Caller) JsonPrecompile(opts *bind.CallOpts) (common.Address, error)

JsonPrecompile is a free data retrieval call binding the contract method 0xde4725cc.

Solidity: function JsonPrecompile() view returns(address)

func (*Cw721Caller) Name

func (_Cw721 *Cw721Caller) 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 (*Cw721Caller) OwnerOf

func (_Cw721 *Cw721Caller) 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 (*Cw721Caller) SupportsInterface

func (_Cw721 *Cw721Caller) 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 (*Cw721Caller) Symbol

func (_Cw721 *Cw721Caller) 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 (*Cw721Caller) TokenURI

func (_Cw721 *Cw721Caller) 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 (*Cw721Caller) WasmdPrecompile

func (_Cw721 *Cw721Caller) WasmdPrecompile(opts *bind.CallOpts) (common.Address, error)

WasmdPrecompile is a free data retrieval call binding the contract method 0xf00b0255.

Solidity: function WasmdPrecompile() view returns(address)

type Cw721CallerRaw

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

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

func (*Cw721CallerRaw) Call

func (_Cw721 *Cw721CallerRaw) 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 Cw721CallerSession

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

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

func (*Cw721CallerSession) AddrPrecompile

func (_Cw721 *Cw721CallerSession) AddrPrecompile() (common.Address, error)

AddrPrecompile is a free data retrieval call binding the contract method 0xc2aed302.

Solidity: function AddrPrecompile() view returns(address)

func (*Cw721CallerSession) BalanceOf

func (_Cw721 *Cw721CallerSession) 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 (*Cw721CallerSession) Cw721Address

func (_Cw721 *Cw721CallerSession) Cw721Address() (string, error)

Cw721Address is a free data retrieval call binding the contract method 0x5c4aead7.

Solidity: function Cw721Address() view returns(string)

func (*Cw721CallerSession) GetApproved

func (_Cw721 *Cw721CallerSession) 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 (*Cw721CallerSession) IsApprovedForAll

func (_Cw721 *Cw721CallerSession) 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 (*Cw721CallerSession) JsonPrecompile

func (_Cw721 *Cw721CallerSession) JsonPrecompile() (common.Address, error)

JsonPrecompile is a free data retrieval call binding the contract method 0xde4725cc.

Solidity: function JsonPrecompile() view returns(address)

func (*Cw721CallerSession) Name

func (_Cw721 *Cw721CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Cw721CallerSession) OwnerOf

func (_Cw721 *Cw721CallerSession) 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 (*Cw721CallerSession) SupportsInterface

func (_Cw721 *Cw721CallerSession) 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 (*Cw721CallerSession) Symbol

func (_Cw721 *Cw721CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Cw721CallerSession) TokenURI

func (_Cw721 *Cw721CallerSession) 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 (*Cw721CallerSession) WasmdPrecompile

func (_Cw721 *Cw721CallerSession) WasmdPrecompile() (common.Address, error)

WasmdPrecompile is a free data retrieval call binding the contract method 0xf00b0255.

Solidity: function WasmdPrecompile() view returns(address)

type Cw721Filterer

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

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

func NewCw721Filterer

func NewCw721Filterer(address common.Address, filterer bind.ContractFilterer) (*Cw721Filterer, error)

NewCw721Filterer creates a new log filterer instance of Cw721, bound to a specific deployed contract.

func (*Cw721Filterer) FilterApproval

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

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

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

func (_Cw721 *Cw721Filterer) ParseApproval(log types.Log) (*Cw721Approval, 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 (*Cw721Filterer) ParseApprovalForAll

func (_Cw721 *Cw721Filterer) ParseApprovalForAll(log types.Log) (*Cw721ApprovalForAll, error)

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

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

func (*Cw721Filterer) ParseTransfer

func (_Cw721 *Cw721Filterer) ParseTransfer(log types.Log) (*Cw721Transfer, 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 (*Cw721Filterer) WatchApproval

func (_Cw721 *Cw721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Cw721Approval, 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 (*Cw721Filterer) WatchApprovalForAll

func (_Cw721 *Cw721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Cw721ApprovalForAll, 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 (*Cw721Filterer) WatchTransfer

func (_Cw721 *Cw721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Cw721Transfer, 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 Cw721Raw

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

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

func (*Cw721Raw) Call

func (_Cw721 *Cw721Raw) 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 (*Cw721Raw) Transact

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

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

func (*Cw721Raw) Transfer

func (_Cw721 *Cw721Raw) 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 Cw721Session

type Cw721Session struct {
	Contract     *Cw721            // 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
}

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

func (*Cw721Session) AddrPrecompile

func (_Cw721 *Cw721Session) AddrPrecompile() (common.Address, error)

AddrPrecompile is a free data retrieval call binding the contract method 0xc2aed302.

Solidity: function AddrPrecompile() view returns(address)

func (*Cw721Session) Approve

func (_Cw721 *Cw721Session) Approve(approved common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address approved, uint256 tokenId) returns()

func (*Cw721Session) BalanceOf

func (_Cw721 *Cw721Session) 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 (*Cw721Session) Cw721Address

func (_Cw721 *Cw721Session) Cw721Address() (string, error)

Cw721Address is a free data retrieval call binding the contract method 0x5c4aead7.

Solidity: function Cw721Address() view returns(string)

func (*Cw721Session) GetApproved

func (_Cw721 *Cw721Session) 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 (*Cw721Session) IsApprovedForAll

func (_Cw721 *Cw721Session) 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 (*Cw721Session) JsonPrecompile

func (_Cw721 *Cw721Session) JsonPrecompile() (common.Address, error)

JsonPrecompile is a free data retrieval call binding the contract method 0xde4725cc.

Solidity: function JsonPrecompile() view returns(address)

func (*Cw721Session) Name

func (_Cw721 *Cw721Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Cw721Session) OwnerOf

func (_Cw721 *Cw721Session) 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 (*Cw721Session) SafeTransferFrom

func (_Cw721 *Cw721Session) 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 (*Cw721Session) SafeTransferFrom0

func (_Cw721 *Cw721Session) 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 (*Cw721Session) SetApprovalForAll

func (_Cw721 *Cw721Session) 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 (*Cw721Session) SupportsInterface

func (_Cw721 *Cw721Session) 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 (*Cw721Session) Symbol

func (_Cw721 *Cw721Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Cw721Session) TokenURI

func (_Cw721 *Cw721Session) 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 (*Cw721Session) TransferFrom

func (_Cw721 *Cw721Session) 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 (*Cw721Session) WasmdPrecompile

func (_Cw721 *Cw721Session) WasmdPrecompile() (common.Address, error)

WasmdPrecompile is a free data retrieval call binding the contract method 0xf00b0255.

Solidity: function WasmdPrecompile() view returns(address)

type Cw721Transactor

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

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

func NewCw721Transactor

func NewCw721Transactor(address common.Address, transactor bind.ContractTransactor) (*Cw721Transactor, error)

NewCw721Transactor creates a new write-only instance of Cw721, bound to a specific deployed contract.

func (*Cw721Transactor) Approve

func (_Cw721 *Cw721Transactor) Approve(opts *bind.TransactOpts, approved common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address approved, uint256 tokenId) returns()

func (*Cw721Transactor) SafeTransferFrom

func (_Cw721 *Cw721Transactor) 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 (*Cw721Transactor) SafeTransferFrom0

func (_Cw721 *Cw721Transactor) 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 (*Cw721Transactor) SetApprovalForAll

func (_Cw721 *Cw721Transactor) 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 (*Cw721Transactor) TransferFrom

func (_Cw721 *Cw721Transactor) 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 Cw721TransactorRaw

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

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

func (*Cw721TransactorRaw) Transact

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

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

func (*Cw721TransactorRaw) Transfer

func (_Cw721 *Cw721TransactorRaw) 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 Cw721TransactorSession

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

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

func (*Cw721TransactorSession) Approve

func (_Cw721 *Cw721TransactorSession) Approve(approved common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address approved, uint256 tokenId) returns()

func (*Cw721TransactorSession) SafeTransferFrom

func (_Cw721 *Cw721TransactorSession) 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 (*Cw721TransactorSession) SafeTransferFrom0

func (_Cw721 *Cw721TransactorSession) 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 (*Cw721TransactorSession) SetApprovalForAll

func (_Cw721 *Cw721TransactorSession) 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 (*Cw721TransactorSession) TransferFrom

func (_Cw721 *Cw721TransactorSession) 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 Cw721Transfer

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

Cw721Transfer represents a Transfer event raised by the Cw721 contract.

type Cw721TransferIterator

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

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

func (*Cw721TransferIterator) Close

func (it *Cw721TransferIterator) Close() error

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

func (*Cw721TransferIterator) Error

func (it *Cw721TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Cw721TransferIterator) Next

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