registry

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

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

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

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistryContract

type RegistryContract struct {
	RegistryContractCaller     // Read-only binding to the contract
	RegistryContractTransactor // Write-only binding to the contract
	RegistryContractFilterer   // Log filterer for contract events
}

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

func NewRegistryContract

func NewRegistryContract(address common.Address, backend bind.ContractBackend) (*RegistryContract, error)

NewRegistryContract creates a new instance of RegistryContract, bound to a specific deployed contract.

type RegistryContractCaller

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

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

func NewRegistryContractCaller

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

NewRegistryContractCaller creates a new read-only instance of RegistryContract, bound to a specific deployed contract.

func (*RegistryContractCaller) Owner

func (_RegistryContract *RegistryContractCaller) 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) constant returns(address)

func (*RegistryContractCaller) Resolver

func (_RegistryContract *RegistryContractCaller) 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) constant returns(address)

func (*RegistryContractCaller) Ttl

func (_RegistryContract *RegistryContractCaller) 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) constant returns(uint64)

type RegistryContractCallerRaw

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

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

func (*RegistryContractCallerRaw) Call

func (_RegistryContract *RegistryContractCallerRaw) 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 RegistryContractCallerSession

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

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

func (*RegistryContractCallerSession) Owner

func (_RegistryContract *RegistryContractCallerSession) Owner(node [32]byte) (common.Address, error)

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

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

func (*RegistryContractCallerSession) Resolver

func (_RegistryContract *RegistryContractCallerSession) Resolver(node [32]byte) (common.Address, error)

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

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

func (*RegistryContractCallerSession) Ttl

func (_RegistryContract *RegistryContractCallerSession) Ttl(node [32]byte) (uint64, error)

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

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

type RegistryContractFilterer

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

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

func NewRegistryContractFilterer

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

NewRegistryContractFilterer creates a new log filterer instance of RegistryContract, bound to a specific deployed contract.

func (*RegistryContractFilterer) FilterNewOwner

func (_RegistryContract *RegistryContractFilterer) FilterNewOwner(opts *bind.FilterOpts, node [][32]byte, label [][32]byte) (*RegistryContractNewOwnerIterator, 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 (*RegistryContractFilterer) FilterNewResolver

func (_RegistryContract *RegistryContractFilterer) FilterNewResolver(opts *bind.FilterOpts, node [][32]byte) (*RegistryContractNewResolverIterator, error)

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

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

func (*RegistryContractFilterer) FilterNewTTL

func (_RegistryContract *RegistryContractFilterer) FilterNewTTL(opts *bind.FilterOpts, node [][32]byte) (*RegistryContractNewTTLIterator, error)

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

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

func (*RegistryContractFilterer) FilterTransfer

func (_RegistryContract *RegistryContractFilterer) FilterTransfer(opts *bind.FilterOpts, node [][32]byte) (*RegistryContractTransferIterator, error)

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

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

func (*RegistryContractFilterer) WatchNewOwner

func (_RegistryContract *RegistryContractFilterer) WatchNewOwner(opts *bind.WatchOpts, sink chan<- *RegistryContractNewOwner, 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 (*RegistryContractFilterer) WatchNewResolver

func (_RegistryContract *RegistryContractFilterer) WatchNewResolver(opts *bind.WatchOpts, sink chan<- *RegistryContractNewResolver, 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 (*RegistryContractFilterer) WatchNewTTL

func (_RegistryContract *RegistryContractFilterer) WatchNewTTL(opts *bind.WatchOpts, sink chan<- *RegistryContractNewTTL, 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 (*RegistryContractFilterer) WatchTransfer

func (_RegistryContract *RegistryContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *RegistryContractTransfer, 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 RegistryContractNewOwner

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

RegistryContractNewOwner represents a NewOwner event raised by the RegistryContract contract.

type RegistryContractNewOwnerIterator

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

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

func (*RegistryContractNewOwnerIterator) Close

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

func (*RegistryContractNewOwnerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryContractNewOwnerIterator) 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 RegistryContractNewResolver

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

RegistryContractNewResolver represents a NewResolver event raised by the RegistryContract contract.

type RegistryContractNewResolverIterator

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

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

func (*RegistryContractNewResolverIterator) Close

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

func (*RegistryContractNewResolverIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryContractNewResolverIterator) 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 RegistryContractNewTTL

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

RegistryContractNewTTL represents a NewTTL event raised by the RegistryContract contract.

type RegistryContractNewTTLIterator

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

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

func (*RegistryContractNewTTLIterator) Close

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

func (*RegistryContractNewTTLIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryContractNewTTLIterator) 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 RegistryContractRaw

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

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

func (*RegistryContractRaw) Call

func (_RegistryContract *RegistryContractRaw) 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 (*RegistryContractRaw) Transact

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

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

func (*RegistryContractRaw) Transfer

func (_RegistryContract *RegistryContractRaw) 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 RegistryContractSession

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

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

func (*RegistryContractSession) Owner

func (_RegistryContract *RegistryContractSession) Owner(node [32]byte) (common.Address, error)

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

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

func (*RegistryContractSession) Resolver

func (_RegistryContract *RegistryContractSession) Resolver(node [32]byte) (common.Address, error)

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

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

func (*RegistryContractSession) SetOwner

func (_RegistryContract *RegistryContractSession) 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 (*RegistryContractSession) SetResolver

func (_RegistryContract *RegistryContractSession) 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 (*RegistryContractSession) SetSubnodeOwner

func (_RegistryContract *RegistryContractSession) 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 (*RegistryContractSession) SetTTL

func (_RegistryContract *RegistryContractSession) 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 (*RegistryContractSession) Ttl

func (_RegistryContract *RegistryContractSession) Ttl(node [32]byte) (uint64, error)

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

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

type RegistryContractTransactor

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

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

func NewRegistryContractTransactor

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

NewRegistryContractTransactor creates a new write-only instance of RegistryContract, bound to a specific deployed contract.

func (*RegistryContractTransactor) SetOwner

func (_RegistryContract *RegistryContractTransactor) 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 (*RegistryContractTransactor) SetResolver

func (_RegistryContract *RegistryContractTransactor) 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 (*RegistryContractTransactor) SetSubnodeOwner

func (_RegistryContract *RegistryContractTransactor) 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 (*RegistryContractTransactor) SetTTL

func (_RegistryContract *RegistryContractTransactor) 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 RegistryContractTransactorRaw

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

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

func (*RegistryContractTransactorRaw) Transact

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

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

func (*RegistryContractTransactorRaw) Transfer

func (_RegistryContract *RegistryContractTransactorRaw) 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 RegistryContractTransactorSession

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

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

func (*RegistryContractTransactorSession) SetOwner

func (_RegistryContract *RegistryContractTransactorSession) 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 (*RegistryContractTransactorSession) SetResolver

func (_RegistryContract *RegistryContractTransactorSession) 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 (*RegistryContractTransactorSession) SetSubnodeOwner

func (_RegistryContract *RegistryContractTransactorSession) 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 (*RegistryContractTransactorSession) SetTTL

func (_RegistryContract *RegistryContractTransactorSession) 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 RegistryContractTransfer

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

RegistryContractTransfer represents a Transfer event raised by the RegistryContract contract.

type RegistryContractTransferIterator

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

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

func (*RegistryContractTransferIterator) Close

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

func (*RegistryContractTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryContractTransferIterator) 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.

Jump to

Keyboard shortcuts

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