ens

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ENSRegistryABI = ENSRegistryMetaData.ABI

ENSRegistryABI is the input ABI used to generate the binding from. Deprecated: Use ENSRegistryMetaData.ABI instead.

View Source
var ENSRegistryMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"NewOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"NewResolver\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"NewTTL\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"recordExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"resolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"setResolver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setSubnodeOwner\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setSubnodeRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setTTL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"ttl\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ENSRegistryMetaData contains all meta data concerning the ENSRegistry contract.

Functions

This section is empty.

Types

type ENSRegistry added in v0.9.1

type ENSRegistry struct {
	ENSRegistryCaller     // Read-only binding to the contract
	ENSRegistryTransactor // Write-only binding to the contract
	ENSRegistryFilterer   // Log filterer for contract events
}

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

func NewENSRegistry added in v0.9.1

func NewENSRegistry(address common.Address, backend bind.ContractBackend) (*ENSRegistry, error)

NewENSRegistry creates a new instance of ENSRegistry, bound to a specific deployed contract.

type ENSRegistryApprovalForAll added in v0.9.1

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

ENSRegistryApprovalForAll represents a ApprovalForAll event raised by the ENSRegistry contract.

type ENSRegistryApprovalForAllIterator added in v0.9.1

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

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

func (*ENSRegistryApprovalForAllIterator) Close added in v0.9.1

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

func (*ENSRegistryApprovalForAllIterator) Error added in v0.9.1

Error returns any retrieval or parsing error occurred during filtering.

func (*ENSRegistryApprovalForAllIterator) Next added in v0.9.1

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 ENSRegistryCaller added in v0.9.1

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

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

func NewENSRegistryCaller added in v0.9.1

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

NewENSRegistryCaller creates a new read-only instance of ENSRegistry, bound to a specific deployed contract.

func (*ENSRegistryCaller) IsApprovedForAll added in v0.9.1

func (_ENSRegistry *ENSRegistryCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

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

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

func (*ENSRegistryCaller) Owner added in v0.9.1

func (_ENSRegistry *ENSRegistryCaller) 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) view returns(address)

func (*ENSRegistryCaller) RecordExists added in v0.9.1

func (_ENSRegistry *ENSRegistryCaller) RecordExists(opts *bind.CallOpts, node [32]byte) (bool, error)

RecordExists is a free data retrieval call binding the contract method 0xf79fe538.

Solidity: function recordExists(bytes32 node) view returns(bool)

func (*ENSRegistryCaller) Resolver added in v0.9.1

func (_ENSRegistry *ENSRegistryCaller) 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) view returns(address)

func (*ENSRegistryCaller) Ttl added in v0.9.1

func (_ENSRegistry *ENSRegistryCaller) 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) view returns(uint64)

type ENSRegistryCallerRaw added in v0.9.1

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

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

func (*ENSRegistryCallerRaw) Call added in v0.9.1

func (_ENSRegistry *ENSRegistryCallerRaw) 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 ENSRegistryCallerSession added in v0.9.1

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

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

func (*ENSRegistryCallerSession) IsApprovedForAll added in v0.9.1

func (_ENSRegistry *ENSRegistryCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

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

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

func (*ENSRegistryCallerSession) Owner added in v0.9.1

func (_ENSRegistry *ENSRegistryCallerSession) Owner(node [32]byte) (common.Address, error)

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

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

func (*ENSRegistryCallerSession) RecordExists added in v0.9.1

func (_ENSRegistry *ENSRegistryCallerSession) RecordExists(node [32]byte) (bool, error)

RecordExists is a free data retrieval call binding the contract method 0xf79fe538.

Solidity: function recordExists(bytes32 node) view returns(bool)

func (*ENSRegistryCallerSession) Resolver added in v0.9.1

func (_ENSRegistry *ENSRegistryCallerSession) Resolver(node [32]byte) (common.Address, error)

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

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

func (*ENSRegistryCallerSession) Ttl added in v0.9.1

func (_ENSRegistry *ENSRegistryCallerSession) Ttl(node [32]byte) (uint64, error)

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

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

type ENSRegistryFilterer added in v0.9.1

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

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

func NewENSRegistryFilterer added in v0.9.1

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

NewENSRegistryFilterer creates a new log filterer instance of ENSRegistry, bound to a specific deployed contract.

func (*ENSRegistryFilterer) FilterApprovalForAll added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ENSRegistryApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

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

func (*ENSRegistryFilterer) FilterNewOwner added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) FilterNewOwner(opts *bind.FilterOpts, node [][32]byte, label [][32]byte) (*ENSRegistryNewOwnerIterator, 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 (*ENSRegistryFilterer) FilterNewResolver added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) FilterNewResolver(opts *bind.FilterOpts, node [][32]byte) (*ENSRegistryNewResolverIterator, error)

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

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

func (*ENSRegistryFilterer) FilterNewTTL added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) FilterNewTTL(opts *bind.FilterOpts, node [][32]byte) (*ENSRegistryNewTTLIterator, error)

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

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

func (*ENSRegistryFilterer) FilterTransfer added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) FilterTransfer(opts *bind.FilterOpts, node [][32]byte) (*ENSRegistryTransferIterator, error)

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

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

func (*ENSRegistryFilterer) ParseApprovalForAll added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) ParseApprovalForAll(log types.Log) (*ENSRegistryApprovalForAll, error)

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

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

func (*ENSRegistryFilterer) ParseNewOwner added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) ParseNewOwner(log types.Log) (*ENSRegistryNewOwner, error)

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

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

func (*ENSRegistryFilterer) ParseNewResolver added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) ParseNewResolver(log types.Log) (*ENSRegistryNewResolver, error)

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

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

func (*ENSRegistryFilterer) ParseNewTTL added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) ParseNewTTL(log types.Log) (*ENSRegistryNewTTL, error)

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

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

func (*ENSRegistryFilterer) ParseTransfer added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) ParseTransfer(log types.Log) (*ENSRegistryTransfer, error)

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

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

func (*ENSRegistryFilterer) WatchApprovalForAll added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ENSRegistryApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

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

func (*ENSRegistryFilterer) WatchNewOwner added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) WatchNewOwner(opts *bind.WatchOpts, sink chan<- *ENSRegistryNewOwner, 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 (*ENSRegistryFilterer) WatchNewResolver added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) WatchNewResolver(opts *bind.WatchOpts, sink chan<- *ENSRegistryNewResolver, 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 (*ENSRegistryFilterer) WatchNewTTL added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) WatchNewTTL(opts *bind.WatchOpts, sink chan<- *ENSRegistryNewTTL, 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 (*ENSRegistryFilterer) WatchTransfer added in v0.9.1

func (_ENSRegistry *ENSRegistryFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ENSRegistryTransfer, 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 ENSRegistryNewOwner added in v0.9.1

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

ENSRegistryNewOwner represents a NewOwner event raised by the ENSRegistry contract.

type ENSRegistryNewOwnerIterator added in v0.9.1

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

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

func (*ENSRegistryNewOwnerIterator) Close added in v0.9.1

func (it *ENSRegistryNewOwnerIterator) Close() error

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

func (*ENSRegistryNewOwnerIterator) Error added in v0.9.1

func (it *ENSRegistryNewOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ENSRegistryNewOwnerIterator) Next added in v0.9.1

func (it *ENSRegistryNewOwnerIterator) 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 ENSRegistryNewResolver added in v0.9.1

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

ENSRegistryNewResolver represents a NewResolver event raised by the ENSRegistry contract.

type ENSRegistryNewResolverIterator added in v0.9.1

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

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

func (*ENSRegistryNewResolverIterator) Close added in v0.9.1

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

func (*ENSRegistryNewResolverIterator) Error added in v0.9.1

Error returns any retrieval or parsing error occurred during filtering.

func (*ENSRegistryNewResolverIterator) Next added in v0.9.1

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 ENSRegistryNewTTL added in v0.9.1

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

ENSRegistryNewTTL represents a NewTTL event raised by the ENSRegistry contract.

type ENSRegistryNewTTLIterator added in v0.9.1

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

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

func (*ENSRegistryNewTTLIterator) Close added in v0.9.1

func (it *ENSRegistryNewTTLIterator) Close() error

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

func (*ENSRegistryNewTTLIterator) Error added in v0.9.1

func (it *ENSRegistryNewTTLIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ENSRegistryNewTTLIterator) Next added in v0.9.1

func (it *ENSRegistryNewTTLIterator) 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 ENSRegistryRaw added in v0.9.1

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

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

func (*ENSRegistryRaw) Call added in v0.9.1

func (_ENSRegistry *ENSRegistryRaw) 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 (*ENSRegistryRaw) Transact added in v0.9.1

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

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

func (*ENSRegistryRaw) Transfer added in v0.9.1

func (_ENSRegistry *ENSRegistryRaw) 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 ENSRegistrySession added in v0.9.1

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

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

func (*ENSRegistrySession) IsApprovedForAll added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

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

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

func (*ENSRegistrySession) Owner added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) Owner(node [32]byte) (common.Address, error)

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

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

func (*ENSRegistrySession) RecordExists added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) RecordExists(node [32]byte) (bool, error)

RecordExists is a free data retrieval call binding the contract method 0xf79fe538.

Solidity: function recordExists(bytes32 node) view returns(bool)

func (*ENSRegistrySession) Resolver added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) Resolver(node [32]byte) (common.Address, error)

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

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

func (*ENSRegistrySession) SetApprovalForAll added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ENSRegistrySession) SetOwner added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) 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 (*ENSRegistrySession) SetRecord added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) SetRecord(node [32]byte, owner common.Address, resolver common.Address, ttl uint64) (*types.Transaction, error)

SetRecord is a paid mutator transaction binding the contract method 0xcf408823.

Solidity: function setRecord(bytes32 node, address owner, address resolver, uint64 ttl) returns()

func (*ENSRegistrySession) SetResolver added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) 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 (*ENSRegistrySession) SetSubnodeOwner added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) 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(bytes32)

func (*ENSRegistrySession) SetSubnodeRecord added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) SetSubnodeRecord(node [32]byte, label [32]byte, owner common.Address, resolver common.Address, ttl uint64) (*types.Transaction, error)

SetSubnodeRecord is a paid mutator transaction binding the contract method 0x5ef2c7f0.

Solidity: function setSubnodeRecord(bytes32 node, bytes32 label, address owner, address resolver, uint64 ttl) returns()

func (*ENSRegistrySession) SetTTL added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) 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 (*ENSRegistrySession) Ttl added in v0.9.1

func (_ENSRegistry *ENSRegistrySession) Ttl(node [32]byte) (uint64, error)

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

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

type ENSRegistryTransactor added in v0.9.1

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

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

func NewENSRegistryTransactor added in v0.9.1

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

NewENSRegistryTransactor creates a new write-only instance of ENSRegistry, bound to a specific deployed contract.

func (*ENSRegistryTransactor) SetApprovalForAll added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ENSRegistryTransactor) SetOwner added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactor) 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 (*ENSRegistryTransactor) SetRecord added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactor) SetRecord(opts *bind.TransactOpts, node [32]byte, owner common.Address, resolver common.Address, ttl uint64) (*types.Transaction, error)

SetRecord is a paid mutator transaction binding the contract method 0xcf408823.

Solidity: function setRecord(bytes32 node, address owner, address resolver, uint64 ttl) returns()

func (*ENSRegistryTransactor) SetResolver added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactor) 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 (*ENSRegistryTransactor) SetSubnodeOwner added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactor) 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(bytes32)

func (*ENSRegistryTransactor) SetSubnodeRecord added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactor) SetSubnodeRecord(opts *bind.TransactOpts, node [32]byte, label [32]byte, owner common.Address, resolver common.Address, ttl uint64) (*types.Transaction, error)

SetSubnodeRecord is a paid mutator transaction binding the contract method 0x5ef2c7f0.

Solidity: function setSubnodeRecord(bytes32 node, bytes32 label, address owner, address resolver, uint64 ttl) returns()

func (*ENSRegistryTransactor) SetTTL added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactor) 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 ENSRegistryTransactorRaw added in v0.9.1

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

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

func (*ENSRegistryTransactorRaw) Transact added in v0.9.1

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

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

func (*ENSRegistryTransactorRaw) Transfer added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactorRaw) 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 ENSRegistryTransactorSession added in v0.9.1

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

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

func (*ENSRegistryTransactorSession) SetApprovalForAll added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ENSRegistryTransactorSession) SetOwner added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactorSession) 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 (*ENSRegistryTransactorSession) SetRecord added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactorSession) SetRecord(node [32]byte, owner common.Address, resolver common.Address, ttl uint64) (*types.Transaction, error)

SetRecord is a paid mutator transaction binding the contract method 0xcf408823.

Solidity: function setRecord(bytes32 node, address owner, address resolver, uint64 ttl) returns()

func (*ENSRegistryTransactorSession) SetResolver added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactorSession) 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 (*ENSRegistryTransactorSession) SetSubnodeOwner added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactorSession) 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(bytes32)

func (*ENSRegistryTransactorSession) SetSubnodeRecord added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactorSession) SetSubnodeRecord(node [32]byte, label [32]byte, owner common.Address, resolver common.Address, ttl uint64) (*types.Transaction, error)

SetSubnodeRecord is a paid mutator transaction binding the contract method 0x5ef2c7f0.

Solidity: function setSubnodeRecord(bytes32 node, bytes32 label, address owner, address resolver, uint64 ttl) returns()

func (*ENSRegistryTransactorSession) SetTTL added in v0.9.1

func (_ENSRegistry *ENSRegistryTransactorSession) 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 ENSRegistryTransfer added in v0.9.1

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

ENSRegistryTransfer represents a Transfer event raised by the ENSRegistry contract.

type ENSRegistryTransferIterator added in v0.9.1

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

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

func (*ENSRegistryTransferIterator) Close added in v0.9.1

func (it *ENSRegistryTransferIterator) Close() error

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

func (*ENSRegistryTransferIterator) Error added in v0.9.1

func (it *ENSRegistryTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ENSRegistryTransferIterator) Next added in v0.9.1

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