resolver

package
v3.5.7 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 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: "[{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setDNSRecords\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"}],\"name\":\"setText\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"interfaceImplementer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"x\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"y\",\"type\":\"bytes32\"}],\"name\":\"setPubkey\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"hash\",\"type\":\"bytes\"}],\"name\":\"setContenthash\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"addr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isAuthorised\",\"type\":\"bool\"}],\"name\":\"setAuthorisation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"}],\"name\":\"hasDNSRecords\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"}],\"name\":\"text\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"contentType\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setABI\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"a\",\"type\":\"address\"}],\"name\":\"setAddr\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"coinType\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"a\",\"type\":\"bytes\"}],\"name\":\"setAddr\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"clearDNSZone\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"contenthash\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"pubkey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"x\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"y\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"implementer\",\"type\":\"address\"}],\"name\":\"setInterface\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"coinType\",\"type\":\"uint256\"}],\"name\":\"addr\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"authorisations\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractENS\",\"name\":\"_ens\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isAuthorised\",\"type\":\"bool\"}],\"name\":\"AuthorisationChanged\",\"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\"}],\"name\":\"TextChanged\",\"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\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"NameChanged\",\"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\":\"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\"}],\"name\":\"DNSZoneCleared\",\"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\":\"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\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"contentType\",\"type\":\"uint256\"}],\"name\":\"ABIChanged\",\"type\":\"event\"}]",
}

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 ContractABIChanged

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

ContractABIChanged represents a ABIChanged event raised by the Contract contract.

type ContractABIChangedIterator

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

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

func (*ContractABIChangedIterator) Close

func (it *ContractABIChangedIterator) Close() error

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

func (*ContractABIChangedIterator) Error

func (it *ContractABIChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractABIChangedIterator) Next

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

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

ContractAddrChanged represents a AddrChanged event raised by the Contract contract.

type ContractAddrChangedIterator

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

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

func (*ContractAddrChangedIterator) Close

func (it *ContractAddrChangedIterator) Close() error

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

func (*ContractAddrChangedIterator) Error

func (it *ContractAddrChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAddrChangedIterator) Next

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

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

ContractAddressChanged represents a AddressChanged event raised by the Contract contract.

type ContractAddressChangedIterator

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

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

func (*ContractAddressChangedIterator) Close

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

func (*ContractAddressChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAddressChangedIterator) 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 ContractAuthorisationChanged

type ContractAuthorisationChanged struct {
	Node         [32]byte
	Owner        common.Address
	Target       common.Address
	IsAuthorised bool
	Raw          types.Log // Blockchain specific contextual infos
}

ContractAuthorisationChanged represents a AuthorisationChanged event raised by the Contract contract.

type ContractAuthorisationChangedIterator

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

ContractAuthorisationChangedIterator is returned from FilterAuthorisationChanged and is used to iterate over the raw logs and unpacked data for AuthorisationChanged events raised by the Contract contract.

func (*ContractAuthorisationChangedIterator) Close

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

func (*ContractAuthorisationChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAuthorisationChangedIterator) 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 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) ABI

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

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

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

func (_Contract *ContractCaller) Authorisations(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address, arg2 common.Address) (bool, error)

Authorisations is a free data retrieval call binding the contract method 0xf86bc879.

Solidity: function authorisations(bytes32 , address , address ) view returns(bool)

func (*ContractCaller) Contenthash

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

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

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

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

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

func (_Contract *ContractCaller) 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 (*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) pure returns(bool)

func (*ContractCaller) Text

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

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) ABI

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

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

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

func (_Contract *ContractCallerSession) Authorisations(arg0 [32]byte, arg1 common.Address, arg2 common.Address) (bool, error)

Authorisations is a free data retrieval call binding the contract method 0xf86bc879.

Solidity: function authorisations(bytes32 , address , address ) view returns(bool)

func (*ContractCallerSession) Contenthash

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

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

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

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

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

func (_Contract *ContractCallerSession) 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 (*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) pure returns(bool)

func (*ContractCallerSession) Text

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

type ContractContenthashChanged

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

ContractContenthashChanged represents a ContenthashChanged event raised by the Contract contract.

type ContractContenthashChangedIterator

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

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

func (*ContractContenthashChangedIterator) Close

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

func (*ContractContenthashChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractContenthashChangedIterator) 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 ContractDNSRecordChanged

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

ContractDNSRecordChanged represents a DNSRecordChanged event raised by the Contract contract.

type ContractDNSRecordChangedIterator

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

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

func (*ContractDNSRecordChangedIterator) Close

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

func (*ContractDNSRecordChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractDNSRecordChangedIterator) 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 ContractDNSRecordDeleted

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

ContractDNSRecordDeleted represents a DNSRecordDeleted event raised by the Contract contract.

type ContractDNSRecordDeletedIterator

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

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

func (*ContractDNSRecordDeletedIterator) Close

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

func (*ContractDNSRecordDeletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractDNSRecordDeletedIterator) 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 ContractDNSZoneCleared

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

ContractDNSZoneCleared represents a DNSZoneCleared event raised by the Contract contract.

type ContractDNSZoneClearedIterator

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

ContractDNSZoneClearedIterator is returned from FilterDNSZoneCleared and is used to iterate over the raw logs and unpacked data for DNSZoneCleared events raised by the Contract contract.

func (*ContractDNSZoneClearedIterator) Close

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

func (*ContractDNSZoneClearedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractDNSZoneClearedIterator) 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 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) FilterABIChanged

func (_Contract *ContractFilterer) FilterABIChanged(opts *bind.FilterOpts, node [][32]byte, contentType []*big.Int) (*ContractABIChangedIterator, error)

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

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

func (*ContractFilterer) FilterAddrChanged

func (_Contract *ContractFilterer) FilterAddrChanged(opts *bind.FilterOpts, node [][32]byte) (*ContractAddrChangedIterator, error)

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

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

func (*ContractFilterer) FilterAddressChanged

func (_Contract *ContractFilterer) FilterAddressChanged(opts *bind.FilterOpts, node [][32]byte) (*ContractAddressChangedIterator, error)

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

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

func (*ContractFilterer) FilterAuthorisationChanged

func (_Contract *ContractFilterer) FilterAuthorisationChanged(opts *bind.FilterOpts, node [][32]byte, owner []common.Address, target []common.Address) (*ContractAuthorisationChangedIterator, error)

FilterAuthorisationChanged is a free log retrieval operation binding the contract event 0xe1c5610a6e0cbe10764ecd182adcef1ec338dc4e199c99c32ce98f38e12791df.

Solidity: event AuthorisationChanged(bytes32 indexed node, address indexed owner, address indexed target, bool isAuthorised)

func (*ContractFilterer) FilterContenthashChanged

func (_Contract *ContractFilterer) FilterContenthashChanged(opts *bind.FilterOpts, node [][32]byte) (*ContractContenthashChangedIterator, error)

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

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

func (*ContractFilterer) FilterDNSRecordChanged

func (_Contract *ContractFilterer) FilterDNSRecordChanged(opts *bind.FilterOpts, node [][32]byte) (*ContractDNSRecordChangedIterator, 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 (*ContractFilterer) FilterDNSRecordDeleted

func (_Contract *ContractFilterer) FilterDNSRecordDeleted(opts *bind.FilterOpts, node [][32]byte) (*ContractDNSRecordDeletedIterator, error)

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

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

func (*ContractFilterer) FilterDNSZoneCleared

func (_Contract *ContractFilterer) FilterDNSZoneCleared(opts *bind.FilterOpts, node [][32]byte) (*ContractDNSZoneClearedIterator, error)

FilterDNSZoneCleared is a free log retrieval operation binding the contract event 0xb757169b8492ca2f1c6619d9d76ce22803035c3b1d5f6930dffe7b127c1a1983.

Solidity: event DNSZoneCleared(bytes32 indexed node)

func (*ContractFilterer) FilterInterfaceChanged

func (_Contract *ContractFilterer) FilterInterfaceChanged(opts *bind.FilterOpts, node [][32]byte, interfaceID [][4]byte) (*ContractInterfaceChangedIterator, 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 (*ContractFilterer) FilterNameChanged

func (_Contract *ContractFilterer) FilterNameChanged(opts *bind.FilterOpts, node [][32]byte) (*ContractNameChangedIterator, error)

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

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

func (*ContractFilterer) FilterPubkeyChanged

func (_Contract *ContractFilterer) FilterPubkeyChanged(opts *bind.FilterOpts, node [][32]byte) (*ContractPubkeyChangedIterator, error)

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

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

func (*ContractFilterer) FilterTextChanged

func (_Contract *ContractFilterer) FilterTextChanged(opts *bind.FilterOpts, node [][32]byte, indexedKey []string) (*ContractTextChangedIterator, error)

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

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

func (*ContractFilterer) ParseABIChanged

func (_Contract *ContractFilterer) ParseABIChanged(log types.Log) (*ContractABIChanged, error)

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

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

func (*ContractFilterer) ParseAddrChanged

func (_Contract *ContractFilterer) ParseAddrChanged(log types.Log) (*ContractAddrChanged, error)

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

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

func (*ContractFilterer) ParseAddressChanged

func (_Contract *ContractFilterer) ParseAddressChanged(log types.Log) (*ContractAddressChanged, error)

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

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

func (*ContractFilterer) ParseAuthorisationChanged

func (_Contract *ContractFilterer) ParseAuthorisationChanged(log types.Log) (*ContractAuthorisationChanged, error)

ParseAuthorisationChanged is a log parse operation binding the contract event 0xe1c5610a6e0cbe10764ecd182adcef1ec338dc4e199c99c32ce98f38e12791df.

Solidity: event AuthorisationChanged(bytes32 indexed node, address indexed owner, address indexed target, bool isAuthorised)

func (*ContractFilterer) ParseContenthashChanged

func (_Contract *ContractFilterer) ParseContenthashChanged(log types.Log) (*ContractContenthashChanged, error)

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

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

func (*ContractFilterer) ParseDNSRecordChanged

func (_Contract *ContractFilterer) ParseDNSRecordChanged(log types.Log) (*ContractDNSRecordChanged, 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 (*ContractFilterer) ParseDNSRecordDeleted

func (_Contract *ContractFilterer) ParseDNSRecordDeleted(log types.Log) (*ContractDNSRecordDeleted, error)

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

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

func (*ContractFilterer) ParseDNSZoneCleared

func (_Contract *ContractFilterer) ParseDNSZoneCleared(log types.Log) (*ContractDNSZoneCleared, error)

ParseDNSZoneCleared is a log parse operation binding the contract event 0xb757169b8492ca2f1c6619d9d76ce22803035c3b1d5f6930dffe7b127c1a1983.

Solidity: event DNSZoneCleared(bytes32 indexed node)

func (*ContractFilterer) ParseInterfaceChanged

func (_Contract *ContractFilterer) ParseInterfaceChanged(log types.Log) (*ContractInterfaceChanged, error)

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

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

func (*ContractFilterer) ParseNameChanged

func (_Contract *ContractFilterer) ParseNameChanged(log types.Log) (*ContractNameChanged, error)

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

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

func (*ContractFilterer) ParsePubkeyChanged

func (_Contract *ContractFilterer) ParsePubkeyChanged(log types.Log) (*ContractPubkeyChanged, error)

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

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

func (*ContractFilterer) ParseTextChanged

func (_Contract *ContractFilterer) ParseTextChanged(log types.Log) (*ContractTextChanged, error)

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

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

func (*ContractFilterer) WatchABIChanged

func (_Contract *ContractFilterer) WatchABIChanged(opts *bind.WatchOpts, sink chan<- *ContractABIChanged, 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 (*ContractFilterer) WatchAddrChanged

func (_Contract *ContractFilterer) WatchAddrChanged(opts *bind.WatchOpts, sink chan<- *ContractAddrChanged, 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 (*ContractFilterer) WatchAddressChanged

func (_Contract *ContractFilterer) WatchAddressChanged(opts *bind.WatchOpts, sink chan<- *ContractAddressChanged, 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 (*ContractFilterer) WatchAuthorisationChanged

func (_Contract *ContractFilterer) WatchAuthorisationChanged(opts *bind.WatchOpts, sink chan<- *ContractAuthorisationChanged, node [][32]byte, owner []common.Address, target []common.Address) (event.Subscription, error)

WatchAuthorisationChanged is a free log subscription operation binding the contract event 0xe1c5610a6e0cbe10764ecd182adcef1ec338dc4e199c99c32ce98f38e12791df.

Solidity: event AuthorisationChanged(bytes32 indexed node, address indexed owner, address indexed target, bool isAuthorised)

func (*ContractFilterer) WatchContenthashChanged

func (_Contract *ContractFilterer) WatchContenthashChanged(opts *bind.WatchOpts, sink chan<- *ContractContenthashChanged, 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 (*ContractFilterer) WatchDNSRecordChanged

func (_Contract *ContractFilterer) WatchDNSRecordChanged(opts *bind.WatchOpts, sink chan<- *ContractDNSRecordChanged, 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 (*ContractFilterer) WatchDNSRecordDeleted

func (_Contract *ContractFilterer) WatchDNSRecordDeleted(opts *bind.WatchOpts, sink chan<- *ContractDNSRecordDeleted, 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 (*ContractFilterer) WatchDNSZoneCleared

func (_Contract *ContractFilterer) WatchDNSZoneCleared(opts *bind.WatchOpts, sink chan<- *ContractDNSZoneCleared, node [][32]byte) (event.Subscription, error)

WatchDNSZoneCleared is a free log subscription operation binding the contract event 0xb757169b8492ca2f1c6619d9d76ce22803035c3b1d5f6930dffe7b127c1a1983.

Solidity: event DNSZoneCleared(bytes32 indexed node)

func (*ContractFilterer) WatchInterfaceChanged

func (_Contract *ContractFilterer) WatchInterfaceChanged(opts *bind.WatchOpts, sink chan<- *ContractInterfaceChanged, 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 (*ContractFilterer) WatchNameChanged

func (_Contract *ContractFilterer) WatchNameChanged(opts *bind.WatchOpts, sink chan<- *ContractNameChanged, 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 (*ContractFilterer) WatchPubkeyChanged

func (_Contract *ContractFilterer) WatchPubkeyChanged(opts *bind.WatchOpts, sink chan<- *ContractPubkeyChanged, 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 (*ContractFilterer) WatchTextChanged

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

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

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

type ContractInterfaceChanged

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

ContractInterfaceChanged represents a InterfaceChanged event raised by the Contract contract.

type ContractInterfaceChangedIterator

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

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

func (*ContractInterfaceChangedIterator) Close

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

func (*ContractInterfaceChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractInterfaceChangedIterator) 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 ContractNameChanged

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

ContractNameChanged represents a NameChanged event raised by the Contract contract.

type ContractNameChangedIterator

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

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

func (*ContractNameChangedIterator) Close

func (it *ContractNameChangedIterator) Close() error

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

func (*ContractNameChangedIterator) Error

func (it *ContractNameChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractNameChangedIterator) Next

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

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

ContractPubkeyChanged represents a PubkeyChanged event raised by the Contract contract.

type ContractPubkeyChangedIterator

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

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

func (*ContractPubkeyChangedIterator) Close

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

func (*ContractPubkeyChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractPubkeyChangedIterator) 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 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) ABI

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

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

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

func (_Contract *ContractSession) Authorisations(arg0 [32]byte, arg1 common.Address, arg2 common.Address) (bool, error)

Authorisations is a free data retrieval call binding the contract method 0xf86bc879.

Solidity: function authorisations(bytes32 , address , address ) view returns(bool)

func (*ContractSession) ClearDNSZone

func (_Contract *ContractSession) ClearDNSZone(node [32]byte) (*types.Transaction, error)

ClearDNSZone is a paid mutator transaction binding the contract method 0xad5780af.

Solidity: function clearDNSZone(bytes32 node) returns()

func (*ContractSession) Contenthash

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

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

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

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

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

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

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

func (_Contract *ContractSession) SetAddr(node [32]byte, a common.Address) (*types.Transaction, error)

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

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

func (*ContractSession) SetAddr0

func (_Contract *ContractSession) SetAddr0(node [32]byte, coinType *big.Int, a []byte) (*types.Transaction, error)

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

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

func (*ContractSession) SetAuthorisation

func (_Contract *ContractSession) SetAuthorisation(node [32]byte, target common.Address, isAuthorised bool) (*types.Transaction, error)

SetAuthorisation is a paid mutator transaction binding the contract method 0x3e9ce794.

Solidity: function setAuthorisation(bytes32 node, address target, bool isAuthorised) returns()

func (*ContractSession) SetContenthash

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

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

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

func (_Contract *ContractSession) SetName(node [32]byte, name string) (*types.Transaction, error)

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

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

func (*ContractSession) SetPubkey

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

func (_Contract *ContractSession) 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 (*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) pure returns(bool)

func (*ContractSession) Text

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

type ContractTextChanged

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

ContractTextChanged represents a TextChanged event raised by the Contract contract.

type ContractTextChangedIterator

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

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

func (*ContractTextChangedIterator) Close

func (it *ContractTextChangedIterator) Close() error

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

func (*ContractTextChangedIterator) Error

func (it *ContractTextChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractTextChangedIterator) Next

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

func (_Contract *ContractTransactor) ClearDNSZone(opts *bind.TransactOpts, node [32]byte) (*types.Transaction, error)

ClearDNSZone is a paid mutator transaction binding the contract method 0xad5780af.

Solidity: function clearDNSZone(bytes32 node) returns()

func (*ContractTransactor) SetABI

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

func (_Contract *ContractTransactor) SetAddr(opts *bind.TransactOpts, node [32]byte, a common.Address) (*types.Transaction, error)

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

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

func (*ContractTransactor) SetAddr0

func (_Contract *ContractTransactor) SetAddr0(opts *bind.TransactOpts, node [32]byte, coinType *big.Int, a []byte) (*types.Transaction, error)

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

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

func (*ContractTransactor) SetAuthorisation

func (_Contract *ContractTransactor) SetAuthorisation(opts *bind.TransactOpts, node [32]byte, target common.Address, isAuthorised bool) (*types.Transaction, error)

SetAuthorisation is a paid mutator transaction binding the contract method 0x3e9ce794.

Solidity: function setAuthorisation(bytes32 node, address target, bool isAuthorised) returns()

func (*ContractTransactor) SetContenthash

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

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

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

func (_Contract *ContractTransactor) SetName(opts *bind.TransactOpts, node [32]byte, name string) (*types.Transaction, error)

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

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

func (*ContractTransactor) SetPubkey

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

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

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) ClearDNSZone

func (_Contract *ContractTransactorSession) ClearDNSZone(node [32]byte) (*types.Transaction, error)

ClearDNSZone is a paid mutator transaction binding the contract method 0xad5780af.

Solidity: function clearDNSZone(bytes32 node) returns()

func (*ContractTransactorSession) SetABI

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

func (_Contract *ContractTransactorSession) SetAddr(node [32]byte, a common.Address) (*types.Transaction, error)

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

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

func (*ContractTransactorSession) SetAddr0

func (_Contract *ContractTransactorSession) SetAddr0(node [32]byte, coinType *big.Int, a []byte) (*types.Transaction, error)

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

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

func (*ContractTransactorSession) SetAuthorisation

func (_Contract *ContractTransactorSession) SetAuthorisation(node [32]byte, target common.Address, isAuthorised bool) (*types.Transaction, error)

SetAuthorisation is a paid mutator transaction binding the contract method 0x3e9ce794.

Solidity: function setAuthorisation(bytes32 node, address target, bool isAuthorised) returns()

func (*ContractTransactorSession) SetContenthash

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

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

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

func (_Contract *ContractTransactorSession) SetName(node [32]byte, name string) (*types.Transaction, error)

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

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

func (*ContractTransactorSession) SetPubkey

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

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

Jump to

Keyboard shortcuts

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