registry

package
v3.5.101 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractABI = "" /* 2215-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

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

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

func NewContract

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

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

type ContractCaller

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

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

func NewContractCaller

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

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

func (*ContractCaller) Owner

func (_Contract *ContractCaller) Owner(opts *bind.CallOpts, node [32]byte) (common.Address, error)

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

Solidity: function owner(bytes32 node) returns(address)

func (*ContractCaller) Resolver

func (_Contract *ContractCaller) Resolver(opts *bind.CallOpts, node [32]byte) (common.Address, error)

Resolver is a free data retrieval call binding the contract method 0x0178b8bf.

Solidity: function resolver(bytes32 node) returns(address)

func (*ContractCaller) Ttl

func (_Contract *ContractCaller) Ttl(opts *bind.CallOpts, node [32]byte) (uint64, error)

Ttl is a free data retrieval call binding the contract method 0x16a25cbd.

Solidity: function ttl(bytes32 node) returns(uint64)

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

func (_Contract *ContractCallerSession) Owner(node [32]byte) (common.Address, error)

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

Solidity: function owner(bytes32 node) returns(address)

func (*ContractCallerSession) Resolver

func (_Contract *ContractCallerSession) Resolver(node [32]byte) (common.Address, error)

Resolver is a free data retrieval call binding the contract method 0x0178b8bf.

Solidity: function resolver(bytes32 node) returns(address)

func (*ContractCallerSession) Ttl

func (_Contract *ContractCallerSession) Ttl(node [32]byte) (uint64, error)

Ttl is a free data retrieval call binding the contract method 0x16a25cbd.

Solidity: function ttl(bytes32 node) returns(uint64)

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

func (_Contract *ContractFilterer) FilterNewOwner(opts *bind.FilterOpts, node [][32]byte, label [][32]byte) (*ContractNewOwnerIterator, error)

FilterNewOwner is a free log retrieval operation binding the contract event 0xce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82.

Solidity: event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner)

func (*ContractFilterer) FilterNewResolver

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

FilterNewResolver is a free log retrieval operation binding the contract event 0x335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0.

Solidity: event NewResolver(bytes32 indexed node, address resolver)

func (*ContractFilterer) FilterNewTTL

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

FilterNewTTL is a free log retrieval operation binding the contract event 0x1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68.

Solidity: event NewTTL(bytes32 indexed node, uint64 ttl)

func (*ContractFilterer) FilterTransfer

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

FilterTransfer is a free log retrieval operation binding the contract event 0xd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266.

Solidity: event Transfer(bytes32 indexed node, address owner)

func (*ContractFilterer) ParseNewOwner

func (_Contract *ContractFilterer) ParseNewOwner(log types.Log) (*ContractNewOwner, error)

ParseNewOwner is a log parse operation binding the contract event 0xce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82.

Solidity: event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner)

func (*ContractFilterer) ParseNewResolver

func (_Contract *ContractFilterer) ParseNewResolver(log types.Log) (*ContractNewResolver, error)

ParseNewResolver is a log parse operation binding the contract event 0x335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0.

Solidity: event NewResolver(bytes32 indexed node, address resolver)

func (*ContractFilterer) ParseNewTTL

func (_Contract *ContractFilterer) ParseNewTTL(log types.Log) (*ContractNewTTL, error)

ParseNewTTL is a log parse operation binding the contract event 0x1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68.

Solidity: event NewTTL(bytes32 indexed node, uint64 ttl)

func (*ContractFilterer) ParseTransfer

func (_Contract *ContractFilterer) ParseTransfer(log types.Log) (*ContractTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266.

Solidity: event Transfer(bytes32 indexed node, address owner)

func (*ContractFilterer) WatchNewOwner

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

WatchNewOwner is a free log subscription operation binding the contract event 0xce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82.

Solidity: event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner)

func (*ContractFilterer) WatchNewResolver

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

WatchNewResolver is a free log subscription operation binding the contract event 0x335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0.

Solidity: event NewResolver(bytes32 indexed node, address resolver)

func (*ContractFilterer) WatchNewTTL

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

WatchNewTTL is a free log subscription operation binding the contract event 0x1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68.

Solidity: event NewTTL(bytes32 indexed node, uint64 ttl)

func (*ContractFilterer) WatchTransfer

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

WatchTransfer is a free log subscription operation binding the contract event 0xd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266.

Solidity: event Transfer(bytes32 indexed node, address owner)

type ContractNewOwner

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

ContractNewOwner represents a NewOwner event raised by the Contract contract.

type ContractNewOwnerIterator

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

ContractNewOwnerIterator is returned from FilterNewOwner and is used to iterate over the raw logs and unpacked data for NewOwner events raised by the Contract contract.

func (*ContractNewOwnerIterator) Close

func (it *ContractNewOwnerIterator) Close() error

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

func (*ContractNewOwnerIterator) Error

func (it *ContractNewOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractNewOwnerIterator) Next

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

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

ContractNewResolver represents a NewResolver event raised by the Contract contract.

type ContractNewResolverIterator

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

ContractNewResolverIterator is returned from FilterNewResolver and is used to iterate over the raw logs and unpacked data for NewResolver events raised by the Contract contract.

func (*ContractNewResolverIterator) Close

func (it *ContractNewResolverIterator) Close() error

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

func (*ContractNewResolverIterator) Error

func (it *ContractNewResolverIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractNewResolverIterator) Next

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

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

ContractNewTTL represents a NewTTL event raised by the Contract contract.

type ContractNewTTLIterator

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

ContractNewTTLIterator is returned from FilterNewTTL and is used to iterate over the raw logs and unpacked data for NewTTL events raised by the Contract contract.

func (*ContractNewTTLIterator) Close

func (it *ContractNewTTLIterator) Close() error

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

func (*ContractNewTTLIterator) Error

func (it *ContractNewTTLIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractNewTTLIterator) Next

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

func (_Contract *ContractSession) Owner(node [32]byte) (common.Address, error)

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

Solidity: function owner(bytes32 node) returns(address)

func (*ContractSession) Resolver

func (_Contract *ContractSession) Resolver(node [32]byte) (common.Address, error)

Resolver is a free data retrieval call binding the contract method 0x0178b8bf.

Solidity: function resolver(bytes32 node) returns(address)

func (*ContractSession) SetOwner

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

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

Solidity: function setOwner(bytes32 node, address owner) returns()

func (*ContractSession) SetResolver

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

SetResolver is a paid mutator transaction binding the contract method 0x1896f70a.

Solidity: function setResolver(bytes32 node, address resolver) returns()

func (*ContractSession) SetSubnodeOwner

func (_Contract *ContractSession) SetSubnodeOwner(node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)

SetSubnodeOwner is a paid mutator transaction binding the contract method 0x06ab5923.

Solidity: function setSubnodeOwner(bytes32 node, bytes32 label, address owner) returns()

func (*ContractSession) SetTTL

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

SetTTL is a paid mutator transaction binding the contract method 0x14ab9038.

Solidity: function setTTL(bytes32 node, uint64 ttl) returns()

func (*ContractSession) Ttl

func (_Contract *ContractSession) Ttl(node [32]byte) (uint64, error)

Ttl is a free data retrieval call binding the contract method 0x16a25cbd.

Solidity: function ttl(bytes32 node) returns(uint64)

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

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

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

Solidity: function setOwner(bytes32 node, address owner) returns()

func (*ContractTransactor) SetResolver

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

SetResolver is a paid mutator transaction binding the contract method 0x1896f70a.

Solidity: function setResolver(bytes32 node, address resolver) returns()

func (*ContractTransactor) SetSubnodeOwner

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

SetSubnodeOwner is a paid mutator transaction binding the contract method 0x06ab5923.

Solidity: function setSubnodeOwner(bytes32 node, bytes32 label, address owner) returns()

func (*ContractTransactor) SetTTL

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

SetTTL is a paid mutator transaction binding the contract method 0x14ab9038.

Solidity: function setTTL(bytes32 node, uint64 ttl) 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) SetOwner

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

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

Solidity: function setOwner(bytes32 node, address owner) returns()

func (*ContractTransactorSession) SetResolver

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

SetResolver is a paid mutator transaction binding the contract method 0x1896f70a.

Solidity: function setResolver(bytes32 node, address resolver) returns()

func (*ContractTransactorSession) SetSubnodeOwner

func (_Contract *ContractTransactorSession) SetSubnodeOwner(node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)

SetSubnodeOwner is a paid mutator transaction binding the contract method 0x06ab5923.

Solidity: function setSubnodeOwner(bytes32 node, bytes32 label, address owner) returns()

func (*ContractTransactorSession) SetTTL

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

SetTTL is a paid mutator transaction binding the contract method 0x14ab9038.

Solidity: function setTTL(bytes32 node, uint64 ttl) returns()

type ContractTransfer

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

ContractTransfer represents a Transfer event raised by the Contract contract.

type ContractTransferIterator

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

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

func (*ContractTransferIterator) Close

func (it *ContractTransferIterator) Close() error

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

func (*ContractTransferIterator) Error

func (it *ContractTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractTransferIterator) Next

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