erc165

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

https://eips.ethereum.org/EIPS/eip-165 interface IDs Used for ERC721 supportsInterface call.

https://github.com/snarkdotart/eth-go-bindings

Index

Constants

View Source
const Erc165ABI = "" /* 247-byte string literal not displayed */

Erc165ABI is the input ABI used to generate the binding from.

Variables

View Source
var (
	InterfaceIdErc165           = [4]byte{1, 255, 201, 167}  // 0x01ffc9a7
	InterfaceIdErc721           = [4]byte{128, 172, 88, 205} // 0x80ac58cd
	InterfaceIdErc721Metadata   = [4]byte{91, 94, 19, 159}   // 0x5b5e139f
	InterfaceIdErc721Enumerable = [4]byte{120, 14, 157, 99}  // 0x780e9d63
	InterfaceIdErc1155          = [4]byte{217, 182, 122, 38} // 0xd9b67a26
)

Functions

This section is empty.

Types

type Erc165

type Erc165 struct {
	Erc165Caller     // Read-only binding to the contract
	Erc165Transactor // Write-only binding to the contract
	Erc165Filterer   // Log filterer for contract events
}

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

func NewErc165

func NewErc165(address common.Address, backend bind.ContractBackend) (*Erc165, error)

NewErc165 creates a new instance of Erc165, bound to a specific deployed contract.

type Erc165Caller

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

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

func NewErc165Caller

func NewErc165Caller(address common.Address, caller bind.ContractCaller) (*Erc165Caller, error)

NewErc165Caller creates a new read-only instance of Erc165, bound to a specific deployed contract.

func (*Erc165Caller) SupportsInterface

func (_Erc165 *Erc165Caller) 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)

type Erc165CallerRaw

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

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

func (*Erc165CallerRaw) Call

func (_Erc165 *Erc165CallerRaw) 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 Erc165CallerSession

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

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

func (*Erc165CallerSession) SupportsInterface

func (_Erc165 *Erc165CallerSession) 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)

type Erc165Filterer

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

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

func NewErc165Filterer

func NewErc165Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc165Filterer, error)

NewErc165Filterer creates a new log filterer instance of Erc165, bound to a specific deployed contract.

type Erc165Raw

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

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

func (*Erc165Raw) Call

func (_Erc165 *Erc165Raw) 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 (*Erc165Raw) Transact

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

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

func (*Erc165Raw) Transfer

func (_Erc165 *Erc165Raw) 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 Erc165Session

type Erc165Session struct {
	Contract     *Erc165           // 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
}

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

func (*Erc165Session) SupportsInterface

func (_Erc165 *Erc165Session) 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)

type Erc165Transactor

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

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

func NewErc165Transactor

func NewErc165Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc165Transactor, error)

NewErc165Transactor creates a new write-only instance of Erc165, bound to a specific deployed contract.

type Erc165TransactorRaw

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

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

func (*Erc165TransactorRaw) Transact

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

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

func (*Erc165TransactorRaw) Transfer

func (_Erc165 *Erc165TransactorRaw) 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 Erc165TransactorSession

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

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

Jump to

Keyboard shortcuts

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