utils

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UtilsABI = UtilsMetaData.ABI

UtilsABI is the input ABI used to generate the binding from. Deprecated: Use UtilsMetaData.ABI instead.

View Source
var UtilsMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"contentType\",\"type\":\"uint256\"}],\"name\":\"ABIChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"a\",\"type\":\"address\"}],\"name\":\"AddrChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"coinType\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"newAddress\",\"type\":\"bytes\"}],\"name\":\"AddressChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"Approved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"hash\",\"type\":\"bytes\"}],\"name\":\"ContenthashChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"name\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"resource\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"record\",\"type\":\"bytes\"}],\"name\":\"DNSRecordChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"name\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"resource\",\"type\":\"uint16\"}],\"name\":\"DNSRecordDeleted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"lastzonehash\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"zonehash\",\"type\":\"bytes\"}],\"name\":\"DNSZonehashChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"implementer\",\"type\":\"address\"}],\"name\":\"InterfaceChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"NameChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"x\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"y\",\"type\":\"bytes32\"}],\"name\":\"PubkeyChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"indexedKey\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"}],\"name\":\"TextChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"newVersion\",\"type\":\"uint64\"}],\"name\":\"VersionChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"contentTypes\",\"type\":\"uint256\"}],\"name\":\"ABI\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"addr\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"coinType\",\"type\":\"uint256\"}],\"name\":\"addr\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"clearRecords\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"contenthash\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"uint16\",\"name\":\"resource\",\"type\":\"uint16\"}],\"name\":\"dnsRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"}],\"name\":\"hasDNSRecords\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractENS\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"contractINameWrapper\",\"name\":\"wrapperAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_trustedETHController\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_trustedReverseRegistrar\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"interfaceImplementer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"}],\"name\":\"isApprovedFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"pubkey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"x\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"y\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"recordVersions\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"contentType\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setABI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"coinType\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"a\",\"type\":\"bytes\"}],\"name\":\"setAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"a\",\"type\":\"address\"}],\"name\":\"setAddr\",\"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\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"hash\",\"type\":\"bytes\"}],\"name\":\"setContenthash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setDNSRecords\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"implementer\",\"type\":\"address\"}],\"name\":\"setInterface\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"newName\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"x\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"y\",\"type\":\"bytes32\"}],\"name\":\"setPubkey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"}],\"name\":\"setText\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"hash\",\"type\":\"bytes\"}],\"name\":\"setZonehash\",\"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\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"}],\"name\":\"text\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"zonehash\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

UtilsMetaData contains all meta data concerning the Utils contract.

Functions

func ABICoding

func ABICoding(node, value, method string, id int64) (string, error)

* * abi:调用合约生成data * node:域名 * value:自定义数据 * method:abi:setABI 、 addr:setAddr 、 text:setText

func ABIResolver

func ABIResolver(resultHex, method string) ([]interface{}, error)

* * abi:解析 * resultHex:查询合约的结果 * method:abi:ABI 、 addr:addr0 、 text:text

func Callback

func Callback(r *http.Request, path, apiSecret string) bool

Callback V2 及以上版本请使用以下签名、验签

func CallbackV1

func CallbackV1(r *http.Request, apiSecret string) bool

CallbackV1 V1 版本签名回调验签

func Logger

func Logger(level log.Level) *log.Logger

func NewHttpClient

func NewHttpClient(httpTimeout time.Duration, baseParams models.BaseParams) *httpClient

func OnCallback

func OnCallback(ctx context.Context, version, apiSecret, path string, r *http.Request, w http.ResponseWriter, app App) error

OnCallback *

  • @description: 接收推送消息
  • @param {*} ctx 上下文
  • @param {*} version 版本,V1 需要传 APIVersionV1 , V2 或者 V3 版本传 APIVersionsOther
  • @param {*} apiSecret 项目密钥
  • @param {string} path 路由地址(回调地址去掉域名)
  • @param {*http.Request} r 该笔推送消息属于文昌链上链完成所推送消息,请及时存储数据
  • @param {http.ResponseWriter} w 返回给消息推送端
  • @param app 自己的业务逻辑代码(验证签名通过才会执行)
  • @return {*}

func QueryABICoding

func QueryABICoding(node, method string, id int64) (string, error)

* * abi:查询合约生成data * node:域名 * method:abi:ABI 、 addr:addr0 、 text:text

func SignRequest

func SignRequest(r *http.Request, apiKey, apiSecret string) *http.Request

SignRequest 生成签名

Types

type App

type App func(ctx context.Context, version, kind string, onCallbackRes interface{}) error

App *

  • @description: 回调函数的定义
  • @param {*} ctx 上下文
  • @param {*} version 版本,V1 版本为 APIVersionV1,V2 或者 V3 版本为 APIVersionsOther
  • @param {*} kind 区分服务,native/evm
  • @param onCallbackRes 回调服务推送参数
  • @return {*}

type HttpClient

type HttpClient interface {
	DoHttpRequest(method, path string, bodyParams, queryParams []byte) ([]byte, models.Error)
}

type Utils

type Utils struct {
	UtilsCaller     // Read-only binding to the contract
	UtilsTransactor // Write-only binding to the contract
	UtilsFilterer   // Log filterer for contract events
}

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

func NewUtils

func NewUtils(address common.Address, backend bind.ContractBackend) (*Utils, error)

NewUtils creates a new instance of Utils, bound to a specific deployed contract.

type UtilsABIChanged

type UtilsABIChanged struct {
	Node        [32]byte
	ContentType *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

UtilsABIChanged represents a ABIChanged event raised by the Utils contract.

type UtilsABIChangedIterator

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

UtilsABIChangedIterator is returned from FilterABIChanged and is used to iterate over the raw logs and unpacked data for ABIChanged events raised by the Utils contract.

func (*UtilsABIChangedIterator) Close

func (it *UtilsABIChangedIterator) Close() error

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

func (*UtilsABIChangedIterator) Error

func (it *UtilsABIChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsABIChangedIterator) Next

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

type UtilsAddrChanged struct {
	Node [32]byte
	A    common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

UtilsAddrChanged represents a AddrChanged event raised by the Utils contract.

type UtilsAddrChangedIterator

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

UtilsAddrChangedIterator is returned from FilterAddrChanged and is used to iterate over the raw logs and unpacked data for AddrChanged events raised by the Utils contract.

func (*UtilsAddrChangedIterator) Close

func (it *UtilsAddrChangedIterator) Close() error

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

func (*UtilsAddrChangedIterator) Error

func (it *UtilsAddrChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsAddrChangedIterator) Next

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

type UtilsAddressChanged struct {
	Node       [32]byte
	CoinType   *big.Int
	NewAddress []byte
	Raw        types.Log // Blockchain specific contextual infos
}

UtilsAddressChanged represents a AddressChanged event raised by the Utils contract.

type UtilsAddressChangedIterator

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

UtilsAddressChangedIterator is returned from FilterAddressChanged and is used to iterate over the raw logs and unpacked data for AddressChanged events raised by the Utils contract.

func (*UtilsAddressChangedIterator) Close

func (it *UtilsAddressChangedIterator) Close() error

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

func (*UtilsAddressChangedIterator) Error

func (it *UtilsAddressChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsAddressChangedIterator) Next

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

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

UtilsApprovalForAll represents a ApprovalForAll event raised by the Utils contract.

type UtilsApprovalForAllIterator

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

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

func (*UtilsApprovalForAllIterator) Close

func (it *UtilsApprovalForAllIterator) Close() error

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

func (*UtilsApprovalForAllIterator) Error

func (it *UtilsApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsApprovalForAllIterator) Next

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

type UtilsApproved struct {
	Owner    common.Address
	Node     [32]byte
	Delegate common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

UtilsApproved represents a Approved event raised by the Utils contract.

type UtilsApprovedIterator

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

UtilsApprovedIterator is returned from FilterApproved and is used to iterate over the raw logs and unpacked data for Approved events raised by the Utils contract.

func (*UtilsApprovedIterator) Close

func (it *UtilsApprovedIterator) Close() error

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

func (*UtilsApprovedIterator) Error

func (it *UtilsApprovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsApprovedIterator) Next

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

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

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

func NewUtilsCaller

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

NewUtilsCaller creates a new read-only instance of Utils, bound to a specific deployed contract.

func (*UtilsCaller) ABI

func (_Utils *UtilsCaller) ABI(opts *bind.CallOpts, node [32]byte, contentTypes *big.Int) (*big.Int, []byte, error)

ABI is a free data retrieval call binding the contract method 0x2203ab56.

Solidity: function ABI(bytes32 node, uint256 contentTypes) view returns(uint256, bytes)

func (*UtilsCaller) Addr

func (_Utils *UtilsCaller) Addr(opts *bind.CallOpts, node [32]byte) (common.Address, error)

Addr is a free data retrieval call binding the contract method 0x3b3b57de.

Solidity: function addr(bytes32 node) view returns(address)

func (*UtilsCaller) Addr0

func (_Utils *UtilsCaller) Addr0(opts *bind.CallOpts, node [32]byte, coinType *big.Int) ([]byte, error)

Addr0 is a free data retrieval call binding the contract method 0xf1cb7e06.

Solidity: function addr(bytes32 node, uint256 coinType) view returns(bytes)

func (*UtilsCaller) Contenthash

func (_Utils *UtilsCaller) Contenthash(opts *bind.CallOpts, node [32]byte) ([]byte, error)

Contenthash is a free data retrieval call binding the contract method 0xbc1c58d1.

Solidity: function contenthash(bytes32 node) view returns(bytes)

func (*UtilsCaller) DnsRecord

func (_Utils *UtilsCaller) DnsRecord(opts *bind.CallOpts, node [32]byte, name [32]byte, resource uint16) ([]byte, error)

DnsRecord is a free data retrieval call binding the contract method 0xa8fa5682.

Solidity: function dnsRecord(bytes32 node, bytes32 name, uint16 resource) view returns(bytes)

func (*UtilsCaller) HasDNSRecords

func (_Utils *UtilsCaller) HasDNSRecords(opts *bind.CallOpts, node [32]byte, name [32]byte) (bool, error)

HasDNSRecords is a free data retrieval call binding the contract method 0x4cbf6ba4.

Solidity: function hasDNSRecords(bytes32 node, bytes32 name) view returns(bool)

func (*UtilsCaller) InterfaceImplementer

func (_Utils *UtilsCaller) InterfaceImplementer(opts *bind.CallOpts, node [32]byte, interfaceID [4]byte) (common.Address, error)

InterfaceImplementer is a free data retrieval call binding the contract method 0x124a319c.

Solidity: function interfaceImplementer(bytes32 node, bytes4 interfaceID) view returns(address)

func (*UtilsCaller) IsApprovedFor

func (_Utils *UtilsCaller) IsApprovedFor(opts *bind.CallOpts, owner common.Address, node [32]byte, delegate common.Address) (bool, error)

IsApprovedFor is a free data retrieval call binding the contract method 0xa9784b3e.

Solidity: function isApprovedFor(address owner, bytes32 node, address delegate) view returns(bool)

func (*UtilsCaller) IsApprovedForAll

func (_Utils *UtilsCaller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)

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

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*UtilsCaller) Name

func (_Utils *UtilsCaller) Name(opts *bind.CallOpts, node [32]byte) (string, error)

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

Solidity: function name(bytes32 node) view returns(string)

func (*UtilsCaller) Pubkey

func (_Utils *UtilsCaller) Pubkey(opts *bind.CallOpts, node [32]byte) (struct {
	X [32]byte
	Y [32]byte
}, error)

Pubkey is a free data retrieval call binding the contract method 0xc8690233.

Solidity: function pubkey(bytes32 node) view returns(bytes32 x, bytes32 y)

func (*UtilsCaller) RecordVersions

func (_Utils *UtilsCaller) RecordVersions(opts *bind.CallOpts, arg0 [32]byte) (uint64, error)

RecordVersions is a free data retrieval call binding the contract method 0xd700ff33.

Solidity: function recordVersions(bytes32 ) view returns(uint64)

func (*UtilsCaller) Resolve

func (_Utils *UtilsCaller) Resolve(opts *bind.CallOpts, arg0 []byte, data []byte) ([]byte, error)

Resolve is a free data retrieval call binding the contract method 0x9061b923.

Solidity: function resolve(bytes , bytes data) view returns(bytes)

func (*UtilsCaller) SupportsInterface

func (_Utils *UtilsCaller) 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 (*UtilsCaller) Text

func (_Utils *UtilsCaller) Text(opts *bind.CallOpts, node [32]byte, key string) (string, error)

Text is a free data retrieval call binding the contract method 0x59d1d43c.

Solidity: function text(bytes32 node, string key) view returns(string)

func (*UtilsCaller) Zonehash

func (_Utils *UtilsCaller) Zonehash(opts *bind.CallOpts, node [32]byte) ([]byte, error)

Zonehash is a free data retrieval call binding the contract method 0x5c98042b.

Solidity: function zonehash(bytes32 node) view returns(bytes)

type UtilsCallerRaw

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

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

func (*UtilsCallerRaw) Call

func (_Utils *UtilsCallerRaw) 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 UtilsCallerSession

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

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

func (*UtilsCallerSession) ABI

func (_Utils *UtilsCallerSession) ABI(node [32]byte, contentTypes *big.Int) (*big.Int, []byte, error)

ABI is a free data retrieval call binding the contract method 0x2203ab56.

Solidity: function ABI(bytes32 node, uint256 contentTypes) view returns(uint256, bytes)

func (*UtilsCallerSession) Addr

func (_Utils *UtilsCallerSession) Addr(node [32]byte) (common.Address, error)

Addr is a free data retrieval call binding the contract method 0x3b3b57de.

Solidity: function addr(bytes32 node) view returns(address)

func (*UtilsCallerSession) Addr0

func (_Utils *UtilsCallerSession) Addr0(node [32]byte, coinType *big.Int) ([]byte, error)

Addr0 is a free data retrieval call binding the contract method 0xf1cb7e06.

Solidity: function addr(bytes32 node, uint256 coinType) view returns(bytes)

func (*UtilsCallerSession) Contenthash

func (_Utils *UtilsCallerSession) Contenthash(node [32]byte) ([]byte, error)

Contenthash is a free data retrieval call binding the contract method 0xbc1c58d1.

Solidity: function contenthash(bytes32 node) view returns(bytes)

func (*UtilsCallerSession) DnsRecord

func (_Utils *UtilsCallerSession) DnsRecord(node [32]byte, name [32]byte, resource uint16) ([]byte, error)

DnsRecord is a free data retrieval call binding the contract method 0xa8fa5682.

Solidity: function dnsRecord(bytes32 node, bytes32 name, uint16 resource) view returns(bytes)

func (*UtilsCallerSession) HasDNSRecords

func (_Utils *UtilsCallerSession) HasDNSRecords(node [32]byte, name [32]byte) (bool, error)

HasDNSRecords is a free data retrieval call binding the contract method 0x4cbf6ba4.

Solidity: function hasDNSRecords(bytes32 node, bytes32 name) view returns(bool)

func (*UtilsCallerSession) InterfaceImplementer

func (_Utils *UtilsCallerSession) InterfaceImplementer(node [32]byte, interfaceID [4]byte) (common.Address, error)

InterfaceImplementer is a free data retrieval call binding the contract method 0x124a319c.

Solidity: function interfaceImplementer(bytes32 node, bytes4 interfaceID) view returns(address)

func (*UtilsCallerSession) IsApprovedFor

func (_Utils *UtilsCallerSession) IsApprovedFor(owner common.Address, node [32]byte, delegate common.Address) (bool, error)

IsApprovedFor is a free data retrieval call binding the contract method 0xa9784b3e.

Solidity: function isApprovedFor(address owner, bytes32 node, address delegate) view returns(bool)

func (*UtilsCallerSession) IsApprovedForAll

func (_Utils *UtilsCallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

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

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*UtilsCallerSession) Name

func (_Utils *UtilsCallerSession) Name(node [32]byte) (string, error)

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

Solidity: function name(bytes32 node) view returns(string)

func (*UtilsCallerSession) Pubkey

func (_Utils *UtilsCallerSession) Pubkey(node [32]byte) (struct {
	X [32]byte
	Y [32]byte
}, error)

Pubkey is a free data retrieval call binding the contract method 0xc8690233.

Solidity: function pubkey(bytes32 node) view returns(bytes32 x, bytes32 y)

func (*UtilsCallerSession) RecordVersions

func (_Utils *UtilsCallerSession) RecordVersions(arg0 [32]byte) (uint64, error)

RecordVersions is a free data retrieval call binding the contract method 0xd700ff33.

Solidity: function recordVersions(bytes32 ) view returns(uint64)

func (*UtilsCallerSession) Resolve

func (_Utils *UtilsCallerSession) Resolve(arg0 []byte, data []byte) ([]byte, error)

Resolve is a free data retrieval call binding the contract method 0x9061b923.

Solidity: function resolve(bytes , bytes data) view returns(bytes)

func (*UtilsCallerSession) SupportsInterface

func (_Utils *UtilsCallerSession) 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 (*UtilsCallerSession) Text

func (_Utils *UtilsCallerSession) Text(node [32]byte, key string) (string, error)

Text is a free data retrieval call binding the contract method 0x59d1d43c.

Solidity: function text(bytes32 node, string key) view returns(string)

func (*UtilsCallerSession) Zonehash

func (_Utils *UtilsCallerSession) Zonehash(node [32]byte) ([]byte, error)

Zonehash is a free data retrieval call binding the contract method 0x5c98042b.

Solidity: function zonehash(bytes32 node) view returns(bytes)

type UtilsContenthashChanged

type UtilsContenthashChanged struct {
	Node [32]byte
	Hash []byte
	Raw  types.Log // Blockchain specific contextual infos
}

UtilsContenthashChanged represents a ContenthashChanged event raised by the Utils contract.

type UtilsContenthashChangedIterator

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

UtilsContenthashChangedIterator is returned from FilterContenthashChanged and is used to iterate over the raw logs and unpacked data for ContenthashChanged events raised by the Utils contract.

func (*UtilsContenthashChangedIterator) Close

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

func (*UtilsContenthashChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsContenthashChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UtilsDNSRecordChanged

type UtilsDNSRecordChanged struct {
	Node     [32]byte
	Name     []byte
	Resource uint16
	Record   []byte
	Raw      types.Log // Blockchain specific contextual infos
}

UtilsDNSRecordChanged represents a DNSRecordChanged event raised by the Utils contract.

type UtilsDNSRecordChangedIterator

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

UtilsDNSRecordChangedIterator is returned from FilterDNSRecordChanged and is used to iterate over the raw logs and unpacked data for DNSRecordChanged events raised by the Utils contract.

func (*UtilsDNSRecordChangedIterator) Close

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

func (*UtilsDNSRecordChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsDNSRecordChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UtilsDNSRecordDeleted

type UtilsDNSRecordDeleted struct {
	Node     [32]byte
	Name     []byte
	Resource uint16
	Raw      types.Log // Blockchain specific contextual infos
}

UtilsDNSRecordDeleted represents a DNSRecordDeleted event raised by the Utils contract.

type UtilsDNSRecordDeletedIterator

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

UtilsDNSRecordDeletedIterator is returned from FilterDNSRecordDeleted and is used to iterate over the raw logs and unpacked data for DNSRecordDeleted events raised by the Utils contract.

func (*UtilsDNSRecordDeletedIterator) Close

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

func (*UtilsDNSRecordDeletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsDNSRecordDeletedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UtilsDNSZonehashChanged

type UtilsDNSZonehashChanged struct {
	Node         [32]byte
	Lastzonehash []byte
	Zonehash     []byte
	Raw          types.Log // Blockchain specific contextual infos
}

UtilsDNSZonehashChanged represents a DNSZonehashChanged event raised by the Utils contract.

type UtilsDNSZonehashChangedIterator

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

UtilsDNSZonehashChangedIterator is returned from FilterDNSZonehashChanged and is used to iterate over the raw logs and unpacked data for DNSZonehashChanged events raised by the Utils contract.

func (*UtilsDNSZonehashChangedIterator) Close

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

func (*UtilsDNSZonehashChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsDNSZonehashChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UtilsFilterer

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

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

func NewUtilsFilterer

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

NewUtilsFilterer creates a new log filterer instance of Utils, bound to a specific deployed contract.

func (*UtilsFilterer) FilterABIChanged

func (_Utils *UtilsFilterer) FilterABIChanged(opts *bind.FilterOpts, node [][32]byte, contentType []*big.Int) (*UtilsABIChangedIterator, error)

FilterABIChanged is a free log retrieval operation binding the contract event 0xaa121bbeef5f32f5961a2a28966e769023910fc9479059ee3495d4c1a696efe3.

Solidity: event ABIChanged(bytes32 indexed node, uint256 indexed contentType)

func (*UtilsFilterer) FilterAddrChanged

func (_Utils *UtilsFilterer) FilterAddrChanged(opts *bind.FilterOpts, node [][32]byte) (*UtilsAddrChangedIterator, error)

FilterAddrChanged is a free log retrieval operation binding the contract event 0x52d7d861f09ab3d26239d492e8968629f95e9e318cf0b73bfddc441522a15fd2.

Solidity: event AddrChanged(bytes32 indexed node, address a)

func (*UtilsFilterer) FilterAddressChanged

func (_Utils *UtilsFilterer) FilterAddressChanged(opts *bind.FilterOpts, node [][32]byte) (*UtilsAddressChangedIterator, error)

FilterAddressChanged is a free log retrieval operation binding the contract event 0x65412581168e88a1e60c6459d7f44ae83ad0832e670826c05a4e2476b57af752.

Solidity: event AddressChanged(bytes32 indexed node, uint256 coinType, bytes newAddress)

func (*UtilsFilterer) FilterApprovalForAll

func (_Utils *UtilsFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*UtilsApprovalForAllIterator, 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 (*UtilsFilterer) FilterApproved

func (_Utils *UtilsFilterer) FilterApproved(opts *bind.FilterOpts, node [][32]byte, delegate []common.Address, approved []bool) (*UtilsApprovedIterator, error)

FilterApproved is a free log retrieval operation binding the contract event 0xf0ddb3b04746704017f9aa8bd728fcc2c1d11675041205350018915f5e4750a0.

Solidity: event Approved(address owner, bytes32 indexed node, address indexed delegate, bool indexed approved)

func (*UtilsFilterer) FilterContenthashChanged

func (_Utils *UtilsFilterer) FilterContenthashChanged(opts *bind.FilterOpts, node [][32]byte) (*UtilsContenthashChangedIterator, error)

FilterContenthashChanged is a free log retrieval operation binding the contract event 0xe379c1624ed7e714cc0937528a32359d69d5281337765313dba4e081b72d7578.

Solidity: event ContenthashChanged(bytes32 indexed node, bytes hash)

func (*UtilsFilterer) FilterDNSRecordChanged

func (_Utils *UtilsFilterer) FilterDNSRecordChanged(opts *bind.FilterOpts, node [][32]byte) (*UtilsDNSRecordChangedIterator, error)

FilterDNSRecordChanged is a free log retrieval operation binding the contract event 0x52a608b3303a48862d07a73d82fa221318c0027fbbcfb1b2329bface3f19ff2b.

Solidity: event DNSRecordChanged(bytes32 indexed node, bytes name, uint16 resource, bytes record)

func (*UtilsFilterer) FilterDNSRecordDeleted

func (_Utils *UtilsFilterer) FilterDNSRecordDeleted(opts *bind.FilterOpts, node [][32]byte) (*UtilsDNSRecordDeletedIterator, error)

FilterDNSRecordDeleted is a free log retrieval operation binding the contract event 0x03528ed0c2a3ebc993b12ce3c16bb382f9c7d88ef7d8a1bf290eaf35955a1207.

Solidity: event DNSRecordDeleted(bytes32 indexed node, bytes name, uint16 resource)

func (*UtilsFilterer) FilterDNSZonehashChanged

func (_Utils *UtilsFilterer) FilterDNSZonehashChanged(opts *bind.FilterOpts, node [][32]byte) (*UtilsDNSZonehashChangedIterator, error)

FilterDNSZonehashChanged is a free log retrieval operation binding the contract event 0x8f15ed4b723ef428f250961da8315675b507046737e19319fc1a4d81bfe87f85.

Solidity: event DNSZonehashChanged(bytes32 indexed node, bytes lastzonehash, bytes zonehash)

func (*UtilsFilterer) FilterInitialized

func (_Utils *UtilsFilterer) FilterInitialized(opts *bind.FilterOpts) (*UtilsInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*UtilsFilterer) FilterInterfaceChanged

func (_Utils *UtilsFilterer) FilterInterfaceChanged(opts *bind.FilterOpts, node [][32]byte, interfaceID [][4]byte) (*UtilsInterfaceChangedIterator, error)

FilterInterfaceChanged is a free log retrieval operation binding the contract event 0x7c69f06bea0bdef565b709e93a147836b0063ba2dd89f02d0b7e8d931e6a6daa.

Solidity: event InterfaceChanged(bytes32 indexed node, bytes4 indexed interfaceID, address implementer)

func (*UtilsFilterer) FilterNameChanged

func (_Utils *UtilsFilterer) FilterNameChanged(opts *bind.FilterOpts, node [][32]byte) (*UtilsNameChangedIterator, error)

FilterNameChanged is a free log retrieval operation binding the contract event 0xb7d29e911041e8d9b843369e890bcb72c9388692ba48b65ac54e7214c4c348f7.

Solidity: event NameChanged(bytes32 indexed node, string name)

func (*UtilsFilterer) FilterPubkeyChanged

func (_Utils *UtilsFilterer) FilterPubkeyChanged(opts *bind.FilterOpts, node [][32]byte) (*UtilsPubkeyChangedIterator, error)

FilterPubkeyChanged is a free log retrieval operation binding the contract event 0x1d6f5e03d3f63eb58751986629a5439baee5079ff04f345becb66e23eb154e46.

Solidity: event PubkeyChanged(bytes32 indexed node, bytes32 x, bytes32 y)

func (*UtilsFilterer) FilterTextChanged

func (_Utils *UtilsFilterer) FilterTextChanged(opts *bind.FilterOpts, node [][32]byte, indexedKey []string) (*UtilsTextChangedIterator, error)

FilterTextChanged is a free log retrieval operation binding the contract event 0x448bc014f1536726cf8d54ff3d6481ed3cbc683c2591ca204274009afa09b1a1.

Solidity: event TextChanged(bytes32 indexed node, string indexed indexedKey, string key, string value)

func (*UtilsFilterer) FilterVersionChanged

func (_Utils *UtilsFilterer) FilterVersionChanged(opts *bind.FilterOpts, node [][32]byte) (*UtilsVersionChangedIterator, error)

FilterVersionChanged is a free log retrieval operation binding the contract event 0xc6621ccb8f3f5a04bb6502154b2caf6adf5983fe76dfef1cfc9c42e3579db444.

Solidity: event VersionChanged(bytes32 indexed node, uint64 newVersion)

func (*UtilsFilterer) ParseABIChanged

func (_Utils *UtilsFilterer) ParseABIChanged(log types.Log) (*UtilsABIChanged, error)

ParseABIChanged is a log parse operation binding the contract event 0xaa121bbeef5f32f5961a2a28966e769023910fc9479059ee3495d4c1a696efe3.

Solidity: event ABIChanged(bytes32 indexed node, uint256 indexed contentType)

func (*UtilsFilterer) ParseAddrChanged

func (_Utils *UtilsFilterer) ParseAddrChanged(log types.Log) (*UtilsAddrChanged, error)

ParseAddrChanged is a log parse operation binding the contract event 0x52d7d861f09ab3d26239d492e8968629f95e9e318cf0b73bfddc441522a15fd2.

Solidity: event AddrChanged(bytes32 indexed node, address a)

func (*UtilsFilterer) ParseAddressChanged

func (_Utils *UtilsFilterer) ParseAddressChanged(log types.Log) (*UtilsAddressChanged, error)

ParseAddressChanged is a log parse operation binding the contract event 0x65412581168e88a1e60c6459d7f44ae83ad0832e670826c05a4e2476b57af752.

Solidity: event AddressChanged(bytes32 indexed node, uint256 coinType, bytes newAddress)

func (*UtilsFilterer) ParseApprovalForAll

func (_Utils *UtilsFilterer) ParseApprovalForAll(log types.Log) (*UtilsApprovalForAll, error)

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

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

func (*UtilsFilterer) ParseApproved

func (_Utils *UtilsFilterer) ParseApproved(log types.Log) (*UtilsApproved, error)

ParseApproved is a log parse operation binding the contract event 0xf0ddb3b04746704017f9aa8bd728fcc2c1d11675041205350018915f5e4750a0.

Solidity: event Approved(address owner, bytes32 indexed node, address indexed delegate, bool indexed approved)

func (*UtilsFilterer) ParseContenthashChanged

func (_Utils *UtilsFilterer) ParseContenthashChanged(log types.Log) (*UtilsContenthashChanged, error)

ParseContenthashChanged is a log parse operation binding the contract event 0xe379c1624ed7e714cc0937528a32359d69d5281337765313dba4e081b72d7578.

Solidity: event ContenthashChanged(bytes32 indexed node, bytes hash)

func (*UtilsFilterer) ParseDNSRecordChanged

func (_Utils *UtilsFilterer) ParseDNSRecordChanged(log types.Log) (*UtilsDNSRecordChanged, error)

ParseDNSRecordChanged is a log parse operation binding the contract event 0x52a608b3303a48862d07a73d82fa221318c0027fbbcfb1b2329bface3f19ff2b.

Solidity: event DNSRecordChanged(bytes32 indexed node, bytes name, uint16 resource, bytes record)

func (*UtilsFilterer) ParseDNSRecordDeleted

func (_Utils *UtilsFilterer) ParseDNSRecordDeleted(log types.Log) (*UtilsDNSRecordDeleted, error)

ParseDNSRecordDeleted is a log parse operation binding the contract event 0x03528ed0c2a3ebc993b12ce3c16bb382f9c7d88ef7d8a1bf290eaf35955a1207.

Solidity: event DNSRecordDeleted(bytes32 indexed node, bytes name, uint16 resource)

func (*UtilsFilterer) ParseDNSZonehashChanged

func (_Utils *UtilsFilterer) ParseDNSZonehashChanged(log types.Log) (*UtilsDNSZonehashChanged, error)

ParseDNSZonehashChanged is a log parse operation binding the contract event 0x8f15ed4b723ef428f250961da8315675b507046737e19319fc1a4d81bfe87f85.

Solidity: event DNSZonehashChanged(bytes32 indexed node, bytes lastzonehash, bytes zonehash)

func (*UtilsFilterer) ParseInitialized

func (_Utils *UtilsFilterer) ParseInitialized(log types.Log) (*UtilsInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*UtilsFilterer) ParseInterfaceChanged

func (_Utils *UtilsFilterer) ParseInterfaceChanged(log types.Log) (*UtilsInterfaceChanged, error)

ParseInterfaceChanged is a log parse operation binding the contract event 0x7c69f06bea0bdef565b709e93a147836b0063ba2dd89f02d0b7e8d931e6a6daa.

Solidity: event InterfaceChanged(bytes32 indexed node, bytes4 indexed interfaceID, address implementer)

func (*UtilsFilterer) ParseNameChanged

func (_Utils *UtilsFilterer) ParseNameChanged(log types.Log) (*UtilsNameChanged, error)

ParseNameChanged is a log parse operation binding the contract event 0xb7d29e911041e8d9b843369e890bcb72c9388692ba48b65ac54e7214c4c348f7.

Solidity: event NameChanged(bytes32 indexed node, string name)

func (*UtilsFilterer) ParsePubkeyChanged

func (_Utils *UtilsFilterer) ParsePubkeyChanged(log types.Log) (*UtilsPubkeyChanged, error)

ParsePubkeyChanged is a log parse operation binding the contract event 0x1d6f5e03d3f63eb58751986629a5439baee5079ff04f345becb66e23eb154e46.

Solidity: event PubkeyChanged(bytes32 indexed node, bytes32 x, bytes32 y)

func (*UtilsFilterer) ParseTextChanged

func (_Utils *UtilsFilterer) ParseTextChanged(log types.Log) (*UtilsTextChanged, error)

ParseTextChanged is a log parse operation binding the contract event 0x448bc014f1536726cf8d54ff3d6481ed3cbc683c2591ca204274009afa09b1a1.

Solidity: event TextChanged(bytes32 indexed node, string indexed indexedKey, string key, string value)

func (*UtilsFilterer) ParseVersionChanged

func (_Utils *UtilsFilterer) ParseVersionChanged(log types.Log) (*UtilsVersionChanged, error)

ParseVersionChanged is a log parse operation binding the contract event 0xc6621ccb8f3f5a04bb6502154b2caf6adf5983fe76dfef1cfc9c42e3579db444.

Solidity: event VersionChanged(bytes32 indexed node, uint64 newVersion)

func (*UtilsFilterer) WatchABIChanged

func (_Utils *UtilsFilterer) WatchABIChanged(opts *bind.WatchOpts, sink chan<- *UtilsABIChanged, node [][32]byte, contentType []*big.Int) (event.Subscription, error)

WatchABIChanged is a free log subscription operation binding the contract event 0xaa121bbeef5f32f5961a2a28966e769023910fc9479059ee3495d4c1a696efe3.

Solidity: event ABIChanged(bytes32 indexed node, uint256 indexed contentType)

func (*UtilsFilterer) WatchAddrChanged

func (_Utils *UtilsFilterer) WatchAddrChanged(opts *bind.WatchOpts, sink chan<- *UtilsAddrChanged, node [][32]byte) (event.Subscription, error)

WatchAddrChanged is a free log subscription operation binding the contract event 0x52d7d861f09ab3d26239d492e8968629f95e9e318cf0b73bfddc441522a15fd2.

Solidity: event AddrChanged(bytes32 indexed node, address a)

func (*UtilsFilterer) WatchAddressChanged

func (_Utils *UtilsFilterer) WatchAddressChanged(opts *bind.WatchOpts, sink chan<- *UtilsAddressChanged, node [][32]byte) (event.Subscription, error)

WatchAddressChanged is a free log subscription operation binding the contract event 0x65412581168e88a1e60c6459d7f44ae83ad0832e670826c05a4e2476b57af752.

Solidity: event AddressChanged(bytes32 indexed node, uint256 coinType, bytes newAddress)

func (*UtilsFilterer) WatchApprovalForAll

func (_Utils *UtilsFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *UtilsApprovalForAll, 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 (*UtilsFilterer) WatchApproved

func (_Utils *UtilsFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *UtilsApproved, node [][32]byte, delegate []common.Address, approved []bool) (event.Subscription, error)

WatchApproved is a free log subscription operation binding the contract event 0xf0ddb3b04746704017f9aa8bd728fcc2c1d11675041205350018915f5e4750a0.

Solidity: event Approved(address owner, bytes32 indexed node, address indexed delegate, bool indexed approved)

func (*UtilsFilterer) WatchContenthashChanged

func (_Utils *UtilsFilterer) WatchContenthashChanged(opts *bind.WatchOpts, sink chan<- *UtilsContenthashChanged, node [][32]byte) (event.Subscription, error)

WatchContenthashChanged is a free log subscription operation binding the contract event 0xe379c1624ed7e714cc0937528a32359d69d5281337765313dba4e081b72d7578.

Solidity: event ContenthashChanged(bytes32 indexed node, bytes hash)

func (*UtilsFilterer) WatchDNSRecordChanged

func (_Utils *UtilsFilterer) WatchDNSRecordChanged(opts *bind.WatchOpts, sink chan<- *UtilsDNSRecordChanged, node [][32]byte) (event.Subscription, error)

WatchDNSRecordChanged is a free log subscription operation binding the contract event 0x52a608b3303a48862d07a73d82fa221318c0027fbbcfb1b2329bface3f19ff2b.

Solidity: event DNSRecordChanged(bytes32 indexed node, bytes name, uint16 resource, bytes record)

func (*UtilsFilterer) WatchDNSRecordDeleted

func (_Utils *UtilsFilterer) WatchDNSRecordDeleted(opts *bind.WatchOpts, sink chan<- *UtilsDNSRecordDeleted, node [][32]byte) (event.Subscription, error)

WatchDNSRecordDeleted is a free log subscription operation binding the contract event 0x03528ed0c2a3ebc993b12ce3c16bb382f9c7d88ef7d8a1bf290eaf35955a1207.

Solidity: event DNSRecordDeleted(bytes32 indexed node, bytes name, uint16 resource)

func (*UtilsFilterer) WatchDNSZonehashChanged

func (_Utils *UtilsFilterer) WatchDNSZonehashChanged(opts *bind.WatchOpts, sink chan<- *UtilsDNSZonehashChanged, node [][32]byte) (event.Subscription, error)

WatchDNSZonehashChanged is a free log subscription operation binding the contract event 0x8f15ed4b723ef428f250961da8315675b507046737e19319fc1a4d81bfe87f85.

Solidity: event DNSZonehashChanged(bytes32 indexed node, bytes lastzonehash, bytes zonehash)

func (*UtilsFilterer) WatchInitialized

func (_Utils *UtilsFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *UtilsInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*UtilsFilterer) WatchInterfaceChanged

func (_Utils *UtilsFilterer) WatchInterfaceChanged(opts *bind.WatchOpts, sink chan<- *UtilsInterfaceChanged, node [][32]byte, interfaceID [][4]byte) (event.Subscription, error)

WatchInterfaceChanged is a free log subscription operation binding the contract event 0x7c69f06bea0bdef565b709e93a147836b0063ba2dd89f02d0b7e8d931e6a6daa.

Solidity: event InterfaceChanged(bytes32 indexed node, bytes4 indexed interfaceID, address implementer)

func (*UtilsFilterer) WatchNameChanged

func (_Utils *UtilsFilterer) WatchNameChanged(opts *bind.WatchOpts, sink chan<- *UtilsNameChanged, node [][32]byte) (event.Subscription, error)

WatchNameChanged is a free log subscription operation binding the contract event 0xb7d29e911041e8d9b843369e890bcb72c9388692ba48b65ac54e7214c4c348f7.

Solidity: event NameChanged(bytes32 indexed node, string name)

func (*UtilsFilterer) WatchPubkeyChanged

func (_Utils *UtilsFilterer) WatchPubkeyChanged(opts *bind.WatchOpts, sink chan<- *UtilsPubkeyChanged, node [][32]byte) (event.Subscription, error)

WatchPubkeyChanged is a free log subscription operation binding the contract event 0x1d6f5e03d3f63eb58751986629a5439baee5079ff04f345becb66e23eb154e46.

Solidity: event PubkeyChanged(bytes32 indexed node, bytes32 x, bytes32 y)

func (*UtilsFilterer) WatchTextChanged

func (_Utils *UtilsFilterer) WatchTextChanged(opts *bind.WatchOpts, sink chan<- *UtilsTextChanged, node [][32]byte, indexedKey []string) (event.Subscription, error)

WatchTextChanged is a free log subscription operation binding the contract event 0x448bc014f1536726cf8d54ff3d6481ed3cbc683c2591ca204274009afa09b1a1.

Solidity: event TextChanged(bytes32 indexed node, string indexed indexedKey, string key, string value)

func (*UtilsFilterer) WatchVersionChanged

func (_Utils *UtilsFilterer) WatchVersionChanged(opts *bind.WatchOpts, sink chan<- *UtilsVersionChanged, node [][32]byte) (event.Subscription, error)

WatchVersionChanged is a free log subscription operation binding the contract event 0xc6621ccb8f3f5a04bb6502154b2caf6adf5983fe76dfef1cfc9c42e3579db444.

Solidity: event VersionChanged(bytes32 indexed node, uint64 newVersion)

type UtilsInitialized

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

UtilsInitialized represents a Initialized event raised by the Utils contract.

type UtilsInitializedIterator

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

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

func (*UtilsInitializedIterator) Close

func (it *UtilsInitializedIterator) Close() error

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

func (*UtilsInitializedIterator) Error

func (it *UtilsInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsInitializedIterator) Next

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

type UtilsInterfaceChanged struct {
	Node        [32]byte
	InterfaceID [4]byte
	Implementer common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

UtilsInterfaceChanged represents a InterfaceChanged event raised by the Utils contract.

type UtilsInterfaceChangedIterator

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

UtilsInterfaceChangedIterator is returned from FilterInterfaceChanged and is used to iterate over the raw logs and unpacked data for InterfaceChanged events raised by the Utils contract.

func (*UtilsInterfaceChangedIterator) Close

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

func (*UtilsInterfaceChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsInterfaceChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UtilsNameChanged

type UtilsNameChanged struct {
	Node [32]byte
	Name string
	Raw  types.Log // Blockchain specific contextual infos
}

UtilsNameChanged represents a NameChanged event raised by the Utils contract.

type UtilsNameChangedIterator

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

UtilsNameChangedIterator is returned from FilterNameChanged and is used to iterate over the raw logs and unpacked data for NameChanged events raised by the Utils contract.

func (*UtilsNameChangedIterator) Close

func (it *UtilsNameChangedIterator) Close() error

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

func (*UtilsNameChangedIterator) Error

func (it *UtilsNameChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsNameChangedIterator) Next

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

type UtilsPubkeyChanged struct {
	Node [32]byte
	X    [32]byte
	Y    [32]byte
	Raw  types.Log // Blockchain specific contextual infos
}

UtilsPubkeyChanged represents a PubkeyChanged event raised by the Utils contract.

type UtilsPubkeyChangedIterator

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

UtilsPubkeyChangedIterator is returned from FilterPubkeyChanged and is used to iterate over the raw logs and unpacked data for PubkeyChanged events raised by the Utils contract.

func (*UtilsPubkeyChangedIterator) Close

func (it *UtilsPubkeyChangedIterator) Close() error

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

func (*UtilsPubkeyChangedIterator) Error

func (it *UtilsPubkeyChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsPubkeyChangedIterator) Next

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

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

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

func (*UtilsRaw) Call

func (_Utils *UtilsRaw) 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 (*UtilsRaw) Transact

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

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

func (*UtilsRaw) Transfer

func (_Utils *UtilsRaw) 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 UtilsSession

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

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

func (*UtilsSession) ABI

func (_Utils *UtilsSession) ABI(node [32]byte, contentTypes *big.Int) (*big.Int, []byte, error)

ABI is a free data retrieval call binding the contract method 0x2203ab56.

Solidity: function ABI(bytes32 node, uint256 contentTypes) view returns(uint256, bytes)

func (*UtilsSession) Addr

func (_Utils *UtilsSession) Addr(node [32]byte) (common.Address, error)

Addr is a free data retrieval call binding the contract method 0x3b3b57de.

Solidity: function addr(bytes32 node) view returns(address)

func (*UtilsSession) Addr0

func (_Utils *UtilsSession) Addr0(node [32]byte, coinType *big.Int) ([]byte, error)

Addr0 is a free data retrieval call binding the contract method 0xf1cb7e06.

Solidity: function addr(bytes32 node, uint256 coinType) view returns(bytes)

func (*UtilsSession) Approve

func (_Utils *UtilsSession) Approve(node [32]byte, delegate common.Address, approved bool) (*types.Transaction, error)

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

Solidity: function approve(bytes32 node, address delegate, bool approved) returns()

func (*UtilsSession) ClearRecords

func (_Utils *UtilsSession) ClearRecords(node [32]byte) (*types.Transaction, error)

ClearRecords is a paid mutator transaction binding the contract method 0x3603d758.

Solidity: function clearRecords(bytes32 node) returns()

func (*UtilsSession) Contenthash

func (_Utils *UtilsSession) Contenthash(node [32]byte) ([]byte, error)

Contenthash is a free data retrieval call binding the contract method 0xbc1c58d1.

Solidity: function contenthash(bytes32 node) view returns(bytes)

func (*UtilsSession) DnsRecord

func (_Utils *UtilsSession) DnsRecord(node [32]byte, name [32]byte, resource uint16) ([]byte, error)

DnsRecord is a free data retrieval call binding the contract method 0xa8fa5682.

Solidity: function dnsRecord(bytes32 node, bytes32 name, uint16 resource) view returns(bytes)

func (*UtilsSession) HasDNSRecords

func (_Utils *UtilsSession) HasDNSRecords(node [32]byte, name [32]byte) (bool, error)

HasDNSRecords is a free data retrieval call binding the contract method 0x4cbf6ba4.

Solidity: function hasDNSRecords(bytes32 node, bytes32 name) view returns(bool)

func (*UtilsSession) Initialize

func (_Utils *UtilsSession) Initialize(_ens common.Address, wrapperAddress common.Address, _trustedETHController common.Address, _trustedReverseRegistrar common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _ens, address wrapperAddress, address _trustedETHController, address _trustedReverseRegistrar) returns()

func (*UtilsSession) InterfaceImplementer

func (_Utils *UtilsSession) InterfaceImplementer(node [32]byte, interfaceID [4]byte) (common.Address, error)

InterfaceImplementer is a free data retrieval call binding the contract method 0x124a319c.

Solidity: function interfaceImplementer(bytes32 node, bytes4 interfaceID) view returns(address)

func (*UtilsSession) IsApprovedFor

func (_Utils *UtilsSession) IsApprovedFor(owner common.Address, node [32]byte, delegate common.Address) (bool, error)

IsApprovedFor is a free data retrieval call binding the contract method 0xa9784b3e.

Solidity: function isApprovedFor(address owner, bytes32 node, address delegate) view returns(bool)

func (*UtilsSession) IsApprovedForAll

func (_Utils *UtilsSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

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

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*UtilsSession) Name

func (_Utils *UtilsSession) Name(node [32]byte) (string, error)

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

Solidity: function name(bytes32 node) view returns(string)

func (*UtilsSession) Pubkey

func (_Utils *UtilsSession) Pubkey(node [32]byte) (struct {
	X [32]byte
	Y [32]byte
}, error)

Pubkey is a free data retrieval call binding the contract method 0xc8690233.

Solidity: function pubkey(bytes32 node) view returns(bytes32 x, bytes32 y)

func (*UtilsSession) RecordVersions

func (_Utils *UtilsSession) RecordVersions(arg0 [32]byte) (uint64, error)

RecordVersions is a free data retrieval call binding the contract method 0xd700ff33.

Solidity: function recordVersions(bytes32 ) view returns(uint64)

func (*UtilsSession) Resolve

func (_Utils *UtilsSession) Resolve(arg0 []byte, data []byte) ([]byte, error)

Resolve is a free data retrieval call binding the contract method 0x9061b923.

Solidity: function resolve(bytes , bytes data) view returns(bytes)

func (*UtilsSession) SetABI

func (_Utils *UtilsSession) SetABI(node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)

SetABI is a paid mutator transaction binding the contract method 0x623195b0.

Solidity: function setABI(bytes32 node, uint256 contentType, bytes data) returns()

func (*UtilsSession) SetAddr

func (_Utils *UtilsSession) SetAddr(node [32]byte, coinType *big.Int, a []byte) (*types.Transaction, error)

SetAddr is a paid mutator transaction binding the contract method 0x8b95dd71.

Solidity: function setAddr(bytes32 node, uint256 coinType, bytes a) returns()

func (*UtilsSession) SetAddr0

func (_Utils *UtilsSession) SetAddr0(node [32]byte, a common.Address) (*types.Transaction, error)

SetAddr0 is a paid mutator transaction binding the contract method 0xd5fa2b00.

Solidity: function setAddr(bytes32 node, address a) returns()

func (*UtilsSession) SetApprovalForAll

func (_Utils *UtilsSession) 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 (*UtilsSession) SetContenthash

func (_Utils *UtilsSession) SetContenthash(node [32]byte, hash []byte) (*types.Transaction, error)

SetContenthash is a paid mutator transaction binding the contract method 0x304e6ade.

Solidity: function setContenthash(bytes32 node, bytes hash) returns()

func (*UtilsSession) SetDNSRecords

func (_Utils *UtilsSession) SetDNSRecords(node [32]byte, data []byte) (*types.Transaction, error)

SetDNSRecords is a paid mutator transaction binding the contract method 0x0af179d7.

Solidity: function setDNSRecords(bytes32 node, bytes data) returns()

func (*UtilsSession) SetInterface

func (_Utils *UtilsSession) SetInterface(node [32]byte, interfaceID [4]byte, implementer common.Address) (*types.Transaction, error)

SetInterface is a paid mutator transaction binding the contract method 0xe59d895d.

Solidity: function setInterface(bytes32 node, bytes4 interfaceID, address implementer) returns()

func (*UtilsSession) SetName

func (_Utils *UtilsSession) SetName(node [32]byte, newName string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0x77372213.

Solidity: function setName(bytes32 node, string newName) returns()

func (*UtilsSession) SetPubkey

func (_Utils *UtilsSession) SetPubkey(node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)

SetPubkey is a paid mutator transaction binding the contract method 0x29cd62ea.

Solidity: function setPubkey(bytes32 node, bytes32 x, bytes32 y) returns()

func (*UtilsSession) SetText

func (_Utils *UtilsSession) SetText(node [32]byte, key string, value string) (*types.Transaction, error)

SetText is a paid mutator transaction binding the contract method 0x10f13a8c.

Solidity: function setText(bytes32 node, string key, string value) returns()

func (*UtilsSession) SetZonehash

func (_Utils *UtilsSession) SetZonehash(node [32]byte, hash []byte) (*types.Transaction, error)

SetZonehash is a paid mutator transaction binding the contract method 0xce3decdc.

Solidity: function setZonehash(bytes32 node, bytes hash) returns()

func (*UtilsSession) SupportsInterface

func (_Utils *UtilsSession) 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 (*UtilsSession) Text

func (_Utils *UtilsSession) Text(node [32]byte, key string) (string, error)

Text is a free data retrieval call binding the contract method 0x59d1d43c.

Solidity: function text(bytes32 node, string key) view returns(string)

func (*UtilsSession) Zonehash

func (_Utils *UtilsSession) Zonehash(node [32]byte) ([]byte, error)

Zonehash is a free data retrieval call binding the contract method 0x5c98042b.

Solidity: function zonehash(bytes32 node) view returns(bytes)

type UtilsTextChanged

type UtilsTextChanged struct {
	Node       [32]byte
	IndexedKey common.Hash
	Key        string
	Value      string
	Raw        types.Log // Blockchain specific contextual infos
}

UtilsTextChanged represents a TextChanged event raised by the Utils contract.

type UtilsTextChangedIterator

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

UtilsTextChangedIterator is returned from FilterTextChanged and is used to iterate over the raw logs and unpacked data for TextChanged events raised by the Utils contract.

func (*UtilsTextChangedIterator) Close

func (it *UtilsTextChangedIterator) Close() error

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

func (*UtilsTextChangedIterator) Error

func (it *UtilsTextChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsTextChangedIterator) Next

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

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

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

func NewUtilsTransactor

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

NewUtilsTransactor creates a new write-only instance of Utils, bound to a specific deployed contract.

func (*UtilsTransactor) Approve

func (_Utils *UtilsTransactor) Approve(opts *bind.TransactOpts, node [32]byte, delegate common.Address, approved bool) (*types.Transaction, error)

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

Solidity: function approve(bytes32 node, address delegate, bool approved) returns()

func (*UtilsTransactor) ClearRecords

func (_Utils *UtilsTransactor) ClearRecords(opts *bind.TransactOpts, node [32]byte) (*types.Transaction, error)

ClearRecords is a paid mutator transaction binding the contract method 0x3603d758.

Solidity: function clearRecords(bytes32 node) returns()

func (*UtilsTransactor) Initialize

func (_Utils *UtilsTransactor) Initialize(opts *bind.TransactOpts, _ens common.Address, wrapperAddress common.Address, _trustedETHController common.Address, _trustedReverseRegistrar common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _ens, address wrapperAddress, address _trustedETHController, address _trustedReverseRegistrar) returns()

func (*UtilsTransactor) SetABI

func (_Utils *UtilsTransactor) SetABI(opts *bind.TransactOpts, node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)

SetABI is a paid mutator transaction binding the contract method 0x623195b0.

Solidity: function setABI(bytes32 node, uint256 contentType, bytes data) returns()

func (*UtilsTransactor) SetAddr

func (_Utils *UtilsTransactor) SetAddr(opts *bind.TransactOpts, node [32]byte, coinType *big.Int, a []byte) (*types.Transaction, error)

SetAddr is a paid mutator transaction binding the contract method 0x8b95dd71.

Solidity: function setAddr(bytes32 node, uint256 coinType, bytes a) returns()

func (*UtilsTransactor) SetAddr0

func (_Utils *UtilsTransactor) SetAddr0(opts *bind.TransactOpts, node [32]byte, a common.Address) (*types.Transaction, error)

SetAddr0 is a paid mutator transaction binding the contract method 0xd5fa2b00.

Solidity: function setAddr(bytes32 node, address a) returns()

func (*UtilsTransactor) SetApprovalForAll

func (_Utils *UtilsTransactor) 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 (*UtilsTransactor) SetContenthash

func (_Utils *UtilsTransactor) SetContenthash(opts *bind.TransactOpts, node [32]byte, hash []byte) (*types.Transaction, error)

SetContenthash is a paid mutator transaction binding the contract method 0x304e6ade.

Solidity: function setContenthash(bytes32 node, bytes hash) returns()

func (*UtilsTransactor) SetDNSRecords

func (_Utils *UtilsTransactor) SetDNSRecords(opts *bind.TransactOpts, node [32]byte, data []byte) (*types.Transaction, error)

SetDNSRecords is a paid mutator transaction binding the contract method 0x0af179d7.

Solidity: function setDNSRecords(bytes32 node, bytes data) returns()

func (*UtilsTransactor) SetInterface

func (_Utils *UtilsTransactor) SetInterface(opts *bind.TransactOpts, node [32]byte, interfaceID [4]byte, implementer common.Address) (*types.Transaction, error)

SetInterface is a paid mutator transaction binding the contract method 0xe59d895d.

Solidity: function setInterface(bytes32 node, bytes4 interfaceID, address implementer) returns()

func (*UtilsTransactor) SetName

func (_Utils *UtilsTransactor) SetName(opts *bind.TransactOpts, node [32]byte, newName string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0x77372213.

Solidity: function setName(bytes32 node, string newName) returns()

func (*UtilsTransactor) SetPubkey

func (_Utils *UtilsTransactor) SetPubkey(opts *bind.TransactOpts, node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)

SetPubkey is a paid mutator transaction binding the contract method 0x29cd62ea.

Solidity: function setPubkey(bytes32 node, bytes32 x, bytes32 y) returns()

func (*UtilsTransactor) SetText

func (_Utils *UtilsTransactor) SetText(opts *bind.TransactOpts, node [32]byte, key string, value string) (*types.Transaction, error)

SetText is a paid mutator transaction binding the contract method 0x10f13a8c.

Solidity: function setText(bytes32 node, string key, string value) returns()

func (*UtilsTransactor) SetZonehash

func (_Utils *UtilsTransactor) SetZonehash(opts *bind.TransactOpts, node [32]byte, hash []byte) (*types.Transaction, error)

SetZonehash is a paid mutator transaction binding the contract method 0xce3decdc.

Solidity: function setZonehash(bytes32 node, bytes hash) returns()

type UtilsTransactorRaw

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

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

func (*UtilsTransactorRaw) Transact

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

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

func (*UtilsTransactorRaw) Transfer

func (_Utils *UtilsTransactorRaw) 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 UtilsTransactorSession

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

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

func (*UtilsTransactorSession) Approve

func (_Utils *UtilsTransactorSession) Approve(node [32]byte, delegate common.Address, approved bool) (*types.Transaction, error)

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

Solidity: function approve(bytes32 node, address delegate, bool approved) returns()

func (*UtilsTransactorSession) ClearRecords

func (_Utils *UtilsTransactorSession) ClearRecords(node [32]byte) (*types.Transaction, error)

ClearRecords is a paid mutator transaction binding the contract method 0x3603d758.

Solidity: function clearRecords(bytes32 node) returns()

func (*UtilsTransactorSession) Initialize

func (_Utils *UtilsTransactorSession) Initialize(_ens common.Address, wrapperAddress common.Address, _trustedETHController common.Address, _trustedReverseRegistrar common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _ens, address wrapperAddress, address _trustedETHController, address _trustedReverseRegistrar) returns()

func (*UtilsTransactorSession) SetABI

func (_Utils *UtilsTransactorSession) SetABI(node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)

SetABI is a paid mutator transaction binding the contract method 0x623195b0.

Solidity: function setABI(bytes32 node, uint256 contentType, bytes data) returns()

func (*UtilsTransactorSession) SetAddr

func (_Utils *UtilsTransactorSession) SetAddr(node [32]byte, coinType *big.Int, a []byte) (*types.Transaction, error)

SetAddr is a paid mutator transaction binding the contract method 0x8b95dd71.

Solidity: function setAddr(bytes32 node, uint256 coinType, bytes a) returns()

func (*UtilsTransactorSession) SetAddr0

func (_Utils *UtilsTransactorSession) SetAddr0(node [32]byte, a common.Address) (*types.Transaction, error)

SetAddr0 is a paid mutator transaction binding the contract method 0xd5fa2b00.

Solidity: function setAddr(bytes32 node, address a) returns()

func (*UtilsTransactorSession) SetApprovalForAll

func (_Utils *UtilsTransactorSession) 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 (*UtilsTransactorSession) SetContenthash

func (_Utils *UtilsTransactorSession) SetContenthash(node [32]byte, hash []byte) (*types.Transaction, error)

SetContenthash is a paid mutator transaction binding the contract method 0x304e6ade.

Solidity: function setContenthash(bytes32 node, bytes hash) returns()

func (*UtilsTransactorSession) SetDNSRecords

func (_Utils *UtilsTransactorSession) SetDNSRecords(node [32]byte, data []byte) (*types.Transaction, error)

SetDNSRecords is a paid mutator transaction binding the contract method 0x0af179d7.

Solidity: function setDNSRecords(bytes32 node, bytes data) returns()

func (*UtilsTransactorSession) SetInterface

func (_Utils *UtilsTransactorSession) SetInterface(node [32]byte, interfaceID [4]byte, implementer common.Address) (*types.Transaction, error)

SetInterface is a paid mutator transaction binding the contract method 0xe59d895d.

Solidity: function setInterface(bytes32 node, bytes4 interfaceID, address implementer) returns()

func (*UtilsTransactorSession) SetName

func (_Utils *UtilsTransactorSession) SetName(node [32]byte, newName string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0x77372213.

Solidity: function setName(bytes32 node, string newName) returns()

func (*UtilsTransactorSession) SetPubkey

func (_Utils *UtilsTransactorSession) SetPubkey(node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)

SetPubkey is a paid mutator transaction binding the contract method 0x29cd62ea.

Solidity: function setPubkey(bytes32 node, bytes32 x, bytes32 y) returns()

func (*UtilsTransactorSession) SetText

func (_Utils *UtilsTransactorSession) SetText(node [32]byte, key string, value string) (*types.Transaction, error)

SetText is a paid mutator transaction binding the contract method 0x10f13a8c.

Solidity: function setText(bytes32 node, string key, string value) returns()

func (*UtilsTransactorSession) SetZonehash

func (_Utils *UtilsTransactorSession) SetZonehash(node [32]byte, hash []byte) (*types.Transaction, error)

SetZonehash is a paid mutator transaction binding the contract method 0xce3decdc.

Solidity: function setZonehash(bytes32 node, bytes hash) returns()

type UtilsVersionChanged

type UtilsVersionChanged struct {
	Node       [32]byte
	NewVersion uint64
	Raw        types.Log // Blockchain specific contextual infos
}

UtilsVersionChanged represents a VersionChanged event raised by the Utils contract.

type UtilsVersionChangedIterator

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

UtilsVersionChangedIterator is returned from FilterVersionChanged and is used to iterate over the raw logs and unpacked data for VersionChanged events raised by the Utils contract.

func (*UtilsVersionChangedIterator) Close

func (it *UtilsVersionChangedIterator) Close() error

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

func (*UtilsVersionChangedIterator) Error

func (it *UtilsVersionChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UtilsVersionChangedIterator) Next

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