proxyreader

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContractABI = ContractMetaData.ABI

ContractABI is the input ABI used to generate the binding from. Deprecated: Use ContractMetaData.ABI instead.

View Source
var ContractMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\":false,\"internalType\":\"string\",\"name\":\"tokenKey\",\"type\":\"string\"}],\"name\":\"SetLegacyRecords\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"network\",\"type\":\"string\"}],\"name\":\"SetNetworkFamily\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"NAME\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"networks\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"families\",\"type\":\"string[]\"}],\"name\":\"addBlockchainNetworks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"networks\",\"type\":\"string[]\"},{\"internalType\":\"string\",\"name\":\"family\",\"type\":\"string\"}],\"name\":\"addBlockchainNetworks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"keys\",\"type\":\"string[]\"},{\"internalType\":\"string[][]\",\"name\":\"legacyKeys\",\"type\":\"string[][]\"}],\"name\":\"addLegacyRecords\",\"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\":\"exists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"get\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"network\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"token\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getAddress\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"addr\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"network\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"token\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getAddressKey\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"network\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"token\",\"type\":\"string\"}],\"name\":\"getAddressKeys\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"keys\",\"type\":\"string[]\"}],\"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\":\"uint256\",\"name\":\"keyHash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getByHash\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"keys\",\"type\":\"string[]\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getData\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"string[]\",\"name\":\"values\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"keyHashes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getDataByHash\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"string[]\",\"name\":\"keys\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"values\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"keyHashes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"}],\"name\":\"getDataByHashForMany\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"resolvers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"owners\",\"type\":\"address[]\"},{\"internalType\":\"string[][]\",\"name\":\"keys\",\"type\":\"string[][]\"},{\"internalType\":\"string[][]\",\"name\":\"values\",\"type\":\"string[][]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"keys\",\"type\":\"string[]\"},{\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"}],\"name\":\"getDataForMany\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"resolvers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"owners\",\"type\":\"address[]\"},{\"internalType\":\"string[][]\",\"name\":\"values\",\"type\":\"string[][]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"keys\",\"type\":\"string[]\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getMany\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"values\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"keyHashes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getManyByHash\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"keys\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"values\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIUNSRegistry\",\"name\":\"unsRegistry\",\"type\":\"address\"},{\"internalType\":\"contractICNSRegistry\",\"name\":\"cnsRegistry\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"isApprovedOrOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"labels\",\"type\":\"string[]\"}],\"name\":\"namehash\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":[{\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"}],\"name\":\"ownerOfForMany\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"owners\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"registryOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"resolverOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"reverseNameOf\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"reverseOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"setOwner\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ContractMetaData contains all meta data concerning the Contract contract.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	ContractCaller     // Read-only binding to the contract
	ContractTransactor // Write-only binding to the contract
	ContractFilterer   // Log filterer for contract events
}

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

func NewContract

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

type ContractCaller

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

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

func NewContractCaller

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

NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.

func (*ContractCaller) BalanceOf

func (_Contract *ContractCaller) 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 (*ContractCaller) Exists

func (_Contract *ContractCaller) Exists(opts *bind.CallOpts, tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 tokenId) view returns(bool)

func (*ContractCaller) Get

func (_Contract *ContractCaller) Get(opts *bind.CallOpts, key string, tokenId *big.Int) (string, error)

Get is a free data retrieval call binding the contract method 0x1be5e7ed.

Solidity: function get(string key, uint256 tokenId) view returns(string value)

func (*ContractCaller) GetAddress added in v3.1.0

func (_Contract *ContractCaller) GetAddress(opts *bind.CallOpts, network string, token string, tokenId *big.Int) (string, error)

GetAddress is a free data retrieval call binding the contract method 0xbfc5429b.

Solidity: function getAddress(string network, string token, uint256 tokenId) view returns(string addr)

func (*ContractCaller) GetAddressKey added in v3.1.0

func (_Contract *ContractCaller) GetAddressKey(opts *bind.CallOpts, network string, token string, tokenId *big.Int) (string, error)

GetAddressKey is a free data retrieval call binding the contract method 0xb98b3526.

Solidity: function getAddressKey(string network, string token, uint256 tokenId) view returns(string key)

func (*ContractCaller) GetAddressKeys added in v3.1.0

func (_Contract *ContractCaller) GetAddressKeys(opts *bind.CallOpts, network string, token string) ([]string, error)

GetAddressKeys is a free data retrieval call binding the contract method 0x83caffbe.

Solidity: function getAddressKeys(string network, string token) view returns(string[] keys)

func (*ContractCaller) GetApproved

func (_Contract *ContractCaller) 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 (*ContractCaller) GetByHash

func (_Contract *ContractCaller) GetByHash(opts *bind.CallOpts, keyHash *big.Int, tokenId *big.Int) (struct {
	Key   string
	Value string
}, error)

GetByHash is a free data retrieval call binding the contract method 0x672b9f81.

Solidity: function getByHash(uint256 keyHash, uint256 tokenId) view returns(string key, string value)

func (*ContractCaller) GetData

func (_Contract *ContractCaller) GetData(opts *bind.CallOpts, keys []string, tokenId *big.Int) (struct {
	Resolver common.Address
	Owner    common.Address
	Values   []string
}, error)

GetData is a free data retrieval call binding the contract method 0x91015f6b.

Solidity: function getData(string[] keys, uint256 tokenId) view returns(address resolver, address owner, string[] values)

func (*ContractCaller) GetDataByHash

func (_Contract *ContractCaller) GetDataByHash(opts *bind.CallOpts, keyHashes []*big.Int, tokenId *big.Int) (struct {
	Resolver common.Address
	Owner    common.Address
	Keys     []string
	Values   []string
}, error)

GetDataByHash is a free data retrieval call binding the contract method 0x03280755.

Solidity: function getDataByHash(uint256[] keyHashes, uint256 tokenId) view returns(address resolver, address owner, string[] keys, string[] values)

func (*ContractCaller) GetDataByHashForMany

func (_Contract *ContractCaller) GetDataByHashForMany(opts *bind.CallOpts, keyHashes []*big.Int, tokenIds []*big.Int) (struct {
	Resolvers []common.Address
	Owners    []common.Address
	Keys      [][]string
	Values    [][]string
}, error)

GetDataByHashForMany is a free data retrieval call binding the contract method 0x869b8884.

Solidity: function getDataByHashForMany(uint256[] keyHashes, uint256[] tokenIds) view returns(address[] resolvers, address[] owners, string[][] keys, string[][] values)

func (*ContractCaller) GetDataForMany

func (_Contract *ContractCaller) GetDataForMany(opts *bind.CallOpts, keys []string, tokenIds []*big.Int) (struct {
	Resolvers []common.Address
	Owners    []common.Address
	Values    [][]string
}, error)

GetDataForMany is a free data retrieval call binding the contract method 0x933c051d.

Solidity: function getDataForMany(string[] keys, uint256[] tokenIds) view returns(address[] resolvers, address[] owners, string[][] values)

func (*ContractCaller) GetMany

func (_Contract *ContractCaller) GetMany(opts *bind.CallOpts, keys []string, tokenId *big.Int) ([]string, error)

GetMany is a free data retrieval call binding the contract method 0x1bd8cc1a.

Solidity: function getMany(string[] keys, uint256 tokenId) view returns(string[] values)

func (*ContractCaller) GetManyByHash

func (_Contract *ContractCaller) GetManyByHash(opts *bind.CallOpts, keyHashes []*big.Int, tokenId *big.Int) (struct {
	Keys   []string
	Values []string
}, error)

GetManyByHash is a free data retrieval call binding the contract method 0xb85afd28.

Solidity: function getManyByHash(uint256[] keyHashes, uint256 tokenId) view returns(string[] keys, string[] values)

func (*ContractCaller) IsApprovedForAll

func (_Contract *ContractCaller) IsApprovedForAll(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address , address ) pure returns(bool)

func (*ContractCaller) IsApprovedOrOwner

func (_Contract *ContractCaller) IsApprovedOrOwner(opts *bind.CallOpts, spender common.Address, tokenId *big.Int) (bool, error)

IsApprovedOrOwner is a free data retrieval call binding the contract method 0x430c2081.

Solidity: function isApprovedOrOwner(address spender, uint256 tokenId) view returns(bool)

func (*ContractCaller) Multicall

func (_Contract *ContractCaller) Multicall(opts *bind.CallOpts, data [][]byte) ([][]byte, error)

Multicall is a free data retrieval call binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) view returns(bytes[] results)

func (*ContractCaller) NAME

func (_Contract *ContractCaller) NAME(opts *bind.CallOpts) (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() view returns(string)

func (*ContractCaller) Namehash added in v3.1.0

func (_Contract *ContractCaller) Namehash(opts *bind.CallOpts, labels []string) (*big.Int, error)

Namehash is a free data retrieval call binding the contract method 0x276fabb1.

Solidity: function namehash(string[] labels) view returns(uint256)

func (*ContractCaller) Owner added in v3.1.0

func (_Contract *ContractCaller) 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 (*ContractCaller) OwnerOf

func (_Contract *ContractCaller) 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 (*ContractCaller) OwnerOfForMany

func (_Contract *ContractCaller) OwnerOfForMany(opts *bind.CallOpts, tokenIds []*big.Int) ([]common.Address, error)

OwnerOfForMany is a free data retrieval call binding the contract method 0xc15ae7cf.

Solidity: function ownerOfForMany(uint256[] tokenIds) view returns(address[] owners)

func (*ContractCaller) RegistryOf

func (_Contract *ContractCaller) RegistryOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

RegistryOf is a free data retrieval call binding the contract method 0xa81ce6f9.

Solidity: function registryOf(uint256 tokenId) view returns(address)

func (*ContractCaller) ResolverOf

func (_Contract *ContractCaller) ResolverOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

ResolverOf is a free data retrieval call binding the contract method 0xb3f9e4cb.

Solidity: function resolverOf(uint256 tokenId) view returns(address)

func (*ContractCaller) ReverseNameOf added in v3.1.0

func (_Contract *ContractCaller) ReverseNameOf(opts *bind.CallOpts, addr common.Address) (string, error)

ReverseNameOf is a free data retrieval call binding the contract method 0xbebec6b4.

Solidity: function reverseNameOf(address addr) view returns(string)

func (*ContractCaller) ReverseOf

func (_Contract *ContractCaller) ReverseOf(opts *bind.CallOpts, addr common.Address) (*big.Int, error)

ReverseOf is a free data retrieval call binding the contract method 0x7e37479e.

Solidity: function reverseOf(address addr) view returns(uint256)

func (*ContractCaller) SupportsInterface

func (_Contract *ContractCaller) 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 (*ContractCaller) TokenURI

func (_Contract *ContractCaller) 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 (*ContractCaller) VERSION

func (_Contract *ContractCaller) VERSION(opts *bind.CallOpts) (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() view returns(string)

type ContractCallerRaw

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

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

func (*ContractCallerRaw) Call

func (_Contract *ContractCallerRaw) 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 ContractCallerSession

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

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

func (*ContractCallerSession) BalanceOf

func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) Exists

func (_Contract *ContractCallerSession) Exists(tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 tokenId) view returns(bool)

func (*ContractCallerSession) Get

func (_Contract *ContractCallerSession) Get(key string, tokenId *big.Int) (string, error)

Get is a free data retrieval call binding the contract method 0x1be5e7ed.

Solidity: function get(string key, uint256 tokenId) view returns(string value)

func (*ContractCallerSession) GetAddress added in v3.1.0

func (_Contract *ContractCallerSession) GetAddress(network string, token string, tokenId *big.Int) (string, error)

GetAddress is a free data retrieval call binding the contract method 0xbfc5429b.

Solidity: function getAddress(string network, string token, uint256 tokenId) view returns(string addr)

func (*ContractCallerSession) GetAddressKey added in v3.1.0

func (_Contract *ContractCallerSession) GetAddressKey(network string, token string, tokenId *big.Int) (string, error)

GetAddressKey is a free data retrieval call binding the contract method 0xb98b3526.

Solidity: function getAddressKey(string network, string token, uint256 tokenId) view returns(string key)

func (*ContractCallerSession) GetAddressKeys added in v3.1.0

func (_Contract *ContractCallerSession) GetAddressKeys(network string, token string) ([]string, error)

GetAddressKeys is a free data retrieval call binding the contract method 0x83caffbe.

Solidity: function getAddressKeys(string network, string token) view returns(string[] keys)

func (*ContractCallerSession) GetApproved

func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) GetByHash

func (_Contract *ContractCallerSession) GetByHash(keyHash *big.Int, tokenId *big.Int) (struct {
	Key   string
	Value string
}, error)

GetByHash is a free data retrieval call binding the contract method 0x672b9f81.

Solidity: function getByHash(uint256 keyHash, uint256 tokenId) view returns(string key, string value)

func (*ContractCallerSession) GetData

func (_Contract *ContractCallerSession) GetData(keys []string, tokenId *big.Int) (struct {
	Resolver common.Address
	Owner    common.Address
	Values   []string
}, error)

GetData is a free data retrieval call binding the contract method 0x91015f6b.

Solidity: function getData(string[] keys, uint256 tokenId) view returns(address resolver, address owner, string[] values)

func (*ContractCallerSession) GetDataByHash

func (_Contract *ContractCallerSession) GetDataByHash(keyHashes []*big.Int, tokenId *big.Int) (struct {
	Resolver common.Address
	Owner    common.Address
	Keys     []string
	Values   []string
}, error)

GetDataByHash is a free data retrieval call binding the contract method 0x03280755.

Solidity: function getDataByHash(uint256[] keyHashes, uint256 tokenId) view returns(address resolver, address owner, string[] keys, string[] values)

func (*ContractCallerSession) GetDataByHashForMany

func (_Contract *ContractCallerSession) GetDataByHashForMany(keyHashes []*big.Int, tokenIds []*big.Int) (struct {
	Resolvers []common.Address
	Owners    []common.Address
	Keys      [][]string
	Values    [][]string
}, error)

GetDataByHashForMany is a free data retrieval call binding the contract method 0x869b8884.

Solidity: function getDataByHashForMany(uint256[] keyHashes, uint256[] tokenIds) view returns(address[] resolvers, address[] owners, string[][] keys, string[][] values)

func (*ContractCallerSession) GetDataForMany

func (_Contract *ContractCallerSession) GetDataForMany(keys []string, tokenIds []*big.Int) (struct {
	Resolvers []common.Address
	Owners    []common.Address
	Values    [][]string
}, error)

GetDataForMany is a free data retrieval call binding the contract method 0x933c051d.

Solidity: function getDataForMany(string[] keys, uint256[] tokenIds) view returns(address[] resolvers, address[] owners, string[][] values)

func (*ContractCallerSession) GetMany

func (_Contract *ContractCallerSession) GetMany(keys []string, tokenId *big.Int) ([]string, error)

GetMany is a free data retrieval call binding the contract method 0x1bd8cc1a.

Solidity: function getMany(string[] keys, uint256 tokenId) view returns(string[] values)

func (*ContractCallerSession) GetManyByHash

func (_Contract *ContractCallerSession) GetManyByHash(keyHashes []*big.Int, tokenId *big.Int) (struct {
	Keys   []string
	Values []string
}, error)

GetManyByHash is a free data retrieval call binding the contract method 0xb85afd28.

Solidity: function getManyByHash(uint256[] keyHashes, uint256 tokenId) view returns(string[] keys, string[] values)

func (*ContractCallerSession) IsApprovedForAll

func (_Contract *ContractCallerSession) IsApprovedForAll(arg0 common.Address, arg1 common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address , address ) pure returns(bool)

func (*ContractCallerSession) IsApprovedOrOwner

func (_Contract *ContractCallerSession) IsApprovedOrOwner(spender common.Address, tokenId *big.Int) (bool, error)

IsApprovedOrOwner is a free data retrieval call binding the contract method 0x430c2081.

Solidity: function isApprovedOrOwner(address spender, uint256 tokenId) view returns(bool)

func (*ContractCallerSession) Multicall

func (_Contract *ContractCallerSession) Multicall(data [][]byte) ([][]byte, error)

Multicall is a free data retrieval call binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) view returns(bytes[] results)

func (*ContractCallerSession) NAME

func (_Contract *ContractCallerSession) NAME() (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() view returns(string)

func (*ContractCallerSession) Namehash added in v3.1.0

func (_Contract *ContractCallerSession) Namehash(labels []string) (*big.Int, error)

Namehash is a free data retrieval call binding the contract method 0x276fabb1.

Solidity: function namehash(string[] labels) view returns(uint256)

func (*ContractCallerSession) Owner added in v3.1.0

func (_Contract *ContractCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ContractCallerSession) OwnerOf

func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) OwnerOfForMany

func (_Contract *ContractCallerSession) OwnerOfForMany(tokenIds []*big.Int) ([]common.Address, error)

OwnerOfForMany is a free data retrieval call binding the contract method 0xc15ae7cf.

Solidity: function ownerOfForMany(uint256[] tokenIds) view returns(address[] owners)

func (*ContractCallerSession) RegistryOf

func (_Contract *ContractCallerSession) RegistryOf(tokenId *big.Int) (common.Address, error)

RegistryOf is a free data retrieval call binding the contract method 0xa81ce6f9.

Solidity: function registryOf(uint256 tokenId) view returns(address)

func (*ContractCallerSession) ResolverOf

func (_Contract *ContractCallerSession) ResolverOf(tokenId *big.Int) (common.Address, error)

ResolverOf is a free data retrieval call binding the contract method 0xb3f9e4cb.

Solidity: function resolverOf(uint256 tokenId) view returns(address)

func (*ContractCallerSession) ReverseNameOf added in v3.1.0

func (_Contract *ContractCallerSession) ReverseNameOf(addr common.Address) (string, error)

ReverseNameOf is a free data retrieval call binding the contract method 0xbebec6b4.

Solidity: function reverseNameOf(address addr) view returns(string)

func (*ContractCallerSession) ReverseOf

func (_Contract *ContractCallerSession) ReverseOf(addr common.Address) (*big.Int, error)

ReverseOf is a free data retrieval call binding the contract method 0x7e37479e.

Solidity: function reverseOf(address addr) view returns(uint256)

func (*ContractCallerSession) SupportsInterface

func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) TokenURI

func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) VERSION

func (_Contract *ContractCallerSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() view returns(string)

type ContractFilterer

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

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

func NewContractFilterer

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

NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.

func (*ContractFilterer) FilterInitialized added in v3.1.0

func (_Contract *ContractFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContractInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) FilterOwnershipTransferred added in v3.1.0

func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractOwnershipTransferredIterator, error)

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

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

func (*ContractFilterer) FilterSetLegacyRecords added in v3.1.0

func (_Contract *ContractFilterer) FilterSetLegacyRecords(opts *bind.FilterOpts) (*ContractSetLegacyRecordsIterator, error)

FilterSetLegacyRecords is a free log retrieval operation binding the contract event 0xb2b57b54285120d17f49f2490a39ef791441fd0ad1e6b6818c23262bf91f061c.

Solidity: event SetLegacyRecords(string tokenKey)

func (*ContractFilterer) FilterSetNetworkFamily added in v3.1.0

func (_Contract *ContractFilterer) FilterSetNetworkFamily(opts *bind.FilterOpts) (*ContractSetNetworkFamilyIterator, error)

FilterSetNetworkFamily is a free log retrieval operation binding the contract event 0x0bf4b04a0f6d7d0800284e1abb0f58f795c0a25b9088634b6ab847be51001dec.

Solidity: event SetNetworkFamily(string network)

func (*ContractFilterer) ParseInitialized added in v3.1.0

func (_Contract *ContractFilterer) ParseInitialized(log types.Log) (*ContractInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) ParseOwnershipTransferred added in v3.1.0

func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)

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

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

func (*ContractFilterer) ParseSetLegacyRecords added in v3.1.0

func (_Contract *ContractFilterer) ParseSetLegacyRecords(log types.Log) (*ContractSetLegacyRecords, error)

ParseSetLegacyRecords is a log parse operation binding the contract event 0xb2b57b54285120d17f49f2490a39ef791441fd0ad1e6b6818c23262bf91f061c.

Solidity: event SetLegacyRecords(string tokenKey)

func (*ContractFilterer) ParseSetNetworkFamily added in v3.1.0

func (_Contract *ContractFilterer) ParseSetNetworkFamily(log types.Log) (*ContractSetNetworkFamily, error)

ParseSetNetworkFamily is a log parse operation binding the contract event 0x0bf4b04a0f6d7d0800284e1abb0f58f795c0a25b9088634b6ab847be51001dec.

Solidity: event SetNetworkFamily(string network)

func (*ContractFilterer) WatchInitialized added in v3.1.0

func (_Contract *ContractFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) WatchOwnershipTransferred added in v3.1.0

func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, 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 (*ContractFilterer) WatchSetLegacyRecords added in v3.1.0

func (_Contract *ContractFilterer) WatchSetLegacyRecords(opts *bind.WatchOpts, sink chan<- *ContractSetLegacyRecords) (event.Subscription, error)

WatchSetLegacyRecords is a free log subscription operation binding the contract event 0xb2b57b54285120d17f49f2490a39ef791441fd0ad1e6b6818c23262bf91f061c.

Solidity: event SetLegacyRecords(string tokenKey)

func (*ContractFilterer) WatchSetNetworkFamily added in v3.1.0

func (_Contract *ContractFilterer) WatchSetNetworkFamily(opts *bind.WatchOpts, sink chan<- *ContractSetNetworkFamily) (event.Subscription, error)

WatchSetNetworkFamily is a free log subscription operation binding the contract event 0x0bf4b04a0f6d7d0800284e1abb0f58f795c0a25b9088634b6ab847be51001dec.

Solidity: event SetNetworkFamily(string network)

type ContractInitialized added in v3.1.0

type ContractInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ContractInitialized represents a Initialized event raised by the Contract contract.

type ContractInitializedIterator added in v3.1.0

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

ContractInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Contract contract.

func (*ContractInitializedIterator) Close added in v3.1.0

func (it *ContractInitializedIterator) Close() error

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

func (*ContractInitializedIterator) Error added in v3.1.0

func (it *ContractInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractInitializedIterator) Next added in v3.1.0

func (it *ContractInitializedIterator) 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 ContractOwnershipTransferred added in v3.1.0

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

ContractOwnershipTransferred represents a OwnershipTransferred event raised by the Contract contract.

type ContractOwnershipTransferredIterator added in v3.1.0

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

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

func (*ContractOwnershipTransferredIterator) Close added in v3.1.0

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

func (*ContractOwnershipTransferredIterator) Error added in v3.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOwnershipTransferredIterator) Next added in v3.1.0

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 ContractRaw

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

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

func (*ContractRaw) Call

func (_Contract *ContractRaw) 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 (*ContractRaw) Transact

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

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

func (*ContractRaw) Transfer

func (_Contract *ContractRaw) 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 ContractSession

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

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

func (*ContractSession) AddBlockchainNetworks added in v3.1.0

func (_Contract *ContractSession) AddBlockchainNetworks(networks []string, families []string) (*types.Transaction, error)

AddBlockchainNetworks is a paid mutator transaction binding the contract method 0xf0592359.

Solidity: function addBlockchainNetworks(string[] networks, string[] families) returns()

func (*ContractSession) AddBlockchainNetworks0 added in v3.1.0

func (_Contract *ContractSession) AddBlockchainNetworks0(networks []string, family string) (*types.Transaction, error)

AddBlockchainNetworks0 is a paid mutator transaction binding the contract method 0xffad6f55.

Solidity: function addBlockchainNetworks(string[] networks, string family) returns()

func (*ContractSession) AddLegacyRecords added in v3.1.0

func (_Contract *ContractSession) AddLegacyRecords(keys []string, legacyKeys [][]string) (*types.Transaction, error)

AddLegacyRecords is a paid mutator transaction binding the contract method 0x4bd79ed0.

Solidity: function addLegacyRecords(string[] keys, string[][] legacyKeys) returns()

func (*ContractSession) BalanceOf

func (_Contract *ContractSession) 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 (*ContractSession) Exists

func (_Contract *ContractSession) Exists(tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 tokenId) view returns(bool)

func (*ContractSession) Get

func (_Contract *ContractSession) Get(key string, tokenId *big.Int) (string, error)

Get is a free data retrieval call binding the contract method 0x1be5e7ed.

Solidity: function get(string key, uint256 tokenId) view returns(string value)

func (*ContractSession) GetAddress added in v3.1.0

func (_Contract *ContractSession) GetAddress(network string, token string, tokenId *big.Int) (string, error)

GetAddress is a free data retrieval call binding the contract method 0xbfc5429b.

Solidity: function getAddress(string network, string token, uint256 tokenId) view returns(string addr)

func (*ContractSession) GetAddressKey added in v3.1.0

func (_Contract *ContractSession) GetAddressKey(network string, token string, tokenId *big.Int) (string, error)

GetAddressKey is a free data retrieval call binding the contract method 0xb98b3526.

Solidity: function getAddressKey(string network, string token, uint256 tokenId) view returns(string key)

func (*ContractSession) GetAddressKeys added in v3.1.0

func (_Contract *ContractSession) GetAddressKeys(network string, token string) ([]string, error)

GetAddressKeys is a free data retrieval call binding the contract method 0x83caffbe.

Solidity: function getAddressKeys(string network, string token) view returns(string[] keys)

func (*ContractSession) GetApproved

func (_Contract *ContractSession) 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 (*ContractSession) GetByHash

func (_Contract *ContractSession) GetByHash(keyHash *big.Int, tokenId *big.Int) (struct {
	Key   string
	Value string
}, error)

GetByHash is a free data retrieval call binding the contract method 0x672b9f81.

Solidity: function getByHash(uint256 keyHash, uint256 tokenId) view returns(string key, string value)

func (*ContractSession) GetData

func (_Contract *ContractSession) GetData(keys []string, tokenId *big.Int) (struct {
	Resolver common.Address
	Owner    common.Address
	Values   []string
}, error)

GetData is a free data retrieval call binding the contract method 0x91015f6b.

Solidity: function getData(string[] keys, uint256 tokenId) view returns(address resolver, address owner, string[] values)

func (*ContractSession) GetDataByHash

func (_Contract *ContractSession) GetDataByHash(keyHashes []*big.Int, tokenId *big.Int) (struct {
	Resolver common.Address
	Owner    common.Address
	Keys     []string
	Values   []string
}, error)

GetDataByHash is a free data retrieval call binding the contract method 0x03280755.

Solidity: function getDataByHash(uint256[] keyHashes, uint256 tokenId) view returns(address resolver, address owner, string[] keys, string[] values)

func (*ContractSession) GetDataByHashForMany

func (_Contract *ContractSession) GetDataByHashForMany(keyHashes []*big.Int, tokenIds []*big.Int) (struct {
	Resolvers []common.Address
	Owners    []common.Address
	Keys      [][]string
	Values    [][]string
}, error)

GetDataByHashForMany is a free data retrieval call binding the contract method 0x869b8884.

Solidity: function getDataByHashForMany(uint256[] keyHashes, uint256[] tokenIds) view returns(address[] resolvers, address[] owners, string[][] keys, string[][] values)

func (*ContractSession) GetDataForMany

func (_Contract *ContractSession) GetDataForMany(keys []string, tokenIds []*big.Int) (struct {
	Resolvers []common.Address
	Owners    []common.Address
	Values    [][]string
}, error)

GetDataForMany is a free data retrieval call binding the contract method 0x933c051d.

Solidity: function getDataForMany(string[] keys, uint256[] tokenIds) view returns(address[] resolvers, address[] owners, string[][] values)

func (*ContractSession) GetMany

func (_Contract *ContractSession) GetMany(keys []string, tokenId *big.Int) ([]string, error)

GetMany is a free data retrieval call binding the contract method 0x1bd8cc1a.

Solidity: function getMany(string[] keys, uint256 tokenId) view returns(string[] values)

func (*ContractSession) GetManyByHash

func (_Contract *ContractSession) GetManyByHash(keyHashes []*big.Int, tokenId *big.Int) (struct {
	Keys   []string
	Values []string
}, error)

GetManyByHash is a free data retrieval call binding the contract method 0xb85afd28.

Solidity: function getManyByHash(uint256[] keyHashes, uint256 tokenId) view returns(string[] keys, string[] values)

func (*ContractSession) Initialize added in v3.1.0

func (_Contract *ContractSession) Initialize(unsRegistry common.Address, cnsRegistry common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address unsRegistry, address cnsRegistry) returns()

func (*ContractSession) IsApprovedForAll

func (_Contract *ContractSession) IsApprovedForAll(arg0 common.Address, arg1 common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address , address ) pure returns(bool)

func (*ContractSession) IsApprovedOrOwner

func (_Contract *ContractSession) IsApprovedOrOwner(spender common.Address, tokenId *big.Int) (bool, error)

IsApprovedOrOwner is a free data retrieval call binding the contract method 0x430c2081.

Solidity: function isApprovedOrOwner(address spender, uint256 tokenId) view returns(bool)

func (*ContractSession) Multicall

func (_Contract *ContractSession) Multicall(data [][]byte) ([][]byte, error)

Multicall is a free data retrieval call binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) view returns(bytes[] results)

func (*ContractSession) NAME

func (_Contract *ContractSession) NAME() (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() view returns(string)

func (*ContractSession) Namehash added in v3.1.0

func (_Contract *ContractSession) Namehash(labels []string) (*big.Int, error)

Namehash is a free data retrieval call binding the contract method 0x276fabb1.

Solidity: function namehash(string[] labels) view returns(uint256)

func (*ContractSession) Owner added in v3.1.0

func (_Contract *ContractSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ContractSession) OwnerOf

func (_Contract *ContractSession) 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 (*ContractSession) OwnerOfForMany

func (_Contract *ContractSession) OwnerOfForMany(tokenIds []*big.Int) ([]common.Address, error)

OwnerOfForMany is a free data retrieval call binding the contract method 0xc15ae7cf.

Solidity: function ownerOfForMany(uint256[] tokenIds) view returns(address[] owners)

func (*ContractSession) RegistryOf

func (_Contract *ContractSession) RegistryOf(tokenId *big.Int) (common.Address, error)

RegistryOf is a free data retrieval call binding the contract method 0xa81ce6f9.

Solidity: function registryOf(uint256 tokenId) view returns(address)

func (*ContractSession) RenounceOwnership added in v3.1.0

func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractSession) ResolverOf

func (_Contract *ContractSession) ResolverOf(tokenId *big.Int) (common.Address, error)

ResolverOf is a free data retrieval call binding the contract method 0xb3f9e4cb.

Solidity: function resolverOf(uint256 tokenId) view returns(address)

func (*ContractSession) ReverseNameOf added in v3.1.0

func (_Contract *ContractSession) ReverseNameOf(addr common.Address) (string, error)

ReverseNameOf is a free data retrieval call binding the contract method 0xbebec6b4.

Solidity: function reverseNameOf(address addr) view returns(string)

func (*ContractSession) ReverseOf

func (_Contract *ContractSession) ReverseOf(addr common.Address) (*big.Int, error)

ReverseOf is a free data retrieval call binding the contract method 0x7e37479e.

Solidity: function reverseOf(address addr) view returns(uint256)

func (*ContractSession) SetOwner added in v3.1.0

func (_Contract *ContractSession) SetOwner(addr common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address addr) returns()

func (*ContractSession) SupportsInterface

func (_Contract *ContractSession) 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 (*ContractSession) TokenURI

func (_Contract *ContractSession) 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 (*ContractSession) TransferOwnership added in v3.1.0

func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*ContractSession) VERSION

func (_Contract *ContractSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() view returns(string)

type ContractSetLegacyRecords added in v3.1.0

type ContractSetLegacyRecords struct {
	TokenKey string
	Raw      types.Log // Blockchain specific contextual infos
}

ContractSetLegacyRecords represents a SetLegacyRecords event raised by the Contract contract.

type ContractSetLegacyRecordsIterator added in v3.1.0

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

ContractSetLegacyRecordsIterator is returned from FilterSetLegacyRecords and is used to iterate over the raw logs and unpacked data for SetLegacyRecords events raised by the Contract contract.

func (*ContractSetLegacyRecordsIterator) Close added in v3.1.0

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

func (*ContractSetLegacyRecordsIterator) Error added in v3.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractSetLegacyRecordsIterator) Next added in v3.1.0

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 ContractSetNetworkFamily added in v3.1.0

type ContractSetNetworkFamily struct {
	Network string
	Raw     types.Log // Blockchain specific contextual infos
}

ContractSetNetworkFamily represents a SetNetworkFamily event raised by the Contract contract.

type ContractSetNetworkFamilyIterator added in v3.1.0

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

ContractSetNetworkFamilyIterator is returned from FilterSetNetworkFamily and is used to iterate over the raw logs and unpacked data for SetNetworkFamily events raised by the Contract contract.

func (*ContractSetNetworkFamilyIterator) Close added in v3.1.0

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

func (*ContractSetNetworkFamilyIterator) Error added in v3.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractSetNetworkFamilyIterator) Next added in v3.1.0

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 ContractTransactor

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

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

func NewContractTransactor

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

NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.

func (*ContractTransactor) AddBlockchainNetworks added in v3.1.0

func (_Contract *ContractTransactor) AddBlockchainNetworks(opts *bind.TransactOpts, networks []string, families []string) (*types.Transaction, error)

AddBlockchainNetworks is a paid mutator transaction binding the contract method 0xf0592359.

Solidity: function addBlockchainNetworks(string[] networks, string[] families) returns()

func (*ContractTransactor) AddBlockchainNetworks0 added in v3.1.0

func (_Contract *ContractTransactor) AddBlockchainNetworks0(opts *bind.TransactOpts, networks []string, family string) (*types.Transaction, error)

AddBlockchainNetworks0 is a paid mutator transaction binding the contract method 0xffad6f55.

Solidity: function addBlockchainNetworks(string[] networks, string family) returns()

func (*ContractTransactor) AddLegacyRecords added in v3.1.0

func (_Contract *ContractTransactor) AddLegacyRecords(opts *bind.TransactOpts, keys []string, legacyKeys [][]string) (*types.Transaction, error)

AddLegacyRecords is a paid mutator transaction binding the contract method 0x4bd79ed0.

Solidity: function addLegacyRecords(string[] keys, string[][] legacyKeys) returns()

func (*ContractTransactor) Initialize added in v3.1.0

func (_Contract *ContractTransactor) Initialize(opts *bind.TransactOpts, unsRegistry common.Address, cnsRegistry common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address unsRegistry, address cnsRegistry) returns()

func (*ContractTransactor) RenounceOwnership added in v3.1.0

func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractTransactor) SetOwner added in v3.1.0

func (_Contract *ContractTransactor) SetOwner(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address addr) returns()

func (*ContractTransactor) TransferOwnership added in v3.1.0

func (_Contract *ContractTransactor) 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 ContractTransactorRaw

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

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

func (*ContractTransactorRaw) Transact

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

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

func (*ContractTransactorRaw) Transfer

func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession

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

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

func (*ContractTransactorSession) AddBlockchainNetworks added in v3.1.0

func (_Contract *ContractTransactorSession) AddBlockchainNetworks(networks []string, families []string) (*types.Transaction, error)

AddBlockchainNetworks is a paid mutator transaction binding the contract method 0xf0592359.

Solidity: function addBlockchainNetworks(string[] networks, string[] families) returns()

func (*ContractTransactorSession) AddBlockchainNetworks0 added in v3.1.0

func (_Contract *ContractTransactorSession) AddBlockchainNetworks0(networks []string, family string) (*types.Transaction, error)

AddBlockchainNetworks0 is a paid mutator transaction binding the contract method 0xffad6f55.

Solidity: function addBlockchainNetworks(string[] networks, string family) returns()

func (*ContractTransactorSession) AddLegacyRecords added in v3.1.0

func (_Contract *ContractTransactorSession) AddLegacyRecords(keys []string, legacyKeys [][]string) (*types.Transaction, error)

AddLegacyRecords is a paid mutator transaction binding the contract method 0x4bd79ed0.

Solidity: function addLegacyRecords(string[] keys, string[][] legacyKeys) returns()

func (*ContractTransactorSession) Initialize added in v3.1.0

func (_Contract *ContractTransactorSession) Initialize(unsRegistry common.Address, cnsRegistry common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address unsRegistry, address cnsRegistry) returns()

func (*ContractTransactorSession) RenounceOwnership added in v3.1.0

func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractTransactorSession) SetOwner added in v3.1.0

func (_Contract *ContractTransactorSession) SetOwner(addr common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address addr) returns()

func (*ContractTransactorSession) TransferOwnership added in v3.1.0

func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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