ensregistry

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT 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: "[{\"inputs\":[{\"internalType\":\"contractENS\",\"name\":\"_old\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"old\",\"outputs\":[{\"internalType\":\"contractENS\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"recordExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"resolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"setResolver\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"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\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setTTL\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"ttl\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

EnsregistryMetaData contains all meta data concerning the Ensregistry contract.

Functions

This section is empty.

Types

type Ensregistry

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

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

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

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

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

func (*EnsregistryApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsregistryApprovalForAllIterator) 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 EnsregistryCaller

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

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

func NewEnsregistryCaller

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

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

func (_Ensregistry *EnsregistryCaller) Old(opts *bind.CallOpts) (common.Address, error)

Old is a free data retrieval call binding the contract method 0xb83f8663.

Solidity: function old() view returns(address)

func (*EnsregistryCaller) Owner

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

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

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

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

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

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

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

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

func (_Ensregistry *EnsregistryCallerSession) Old() (common.Address, error)

Old is a free data retrieval call binding the contract method 0xb83f8663.

Solidity: function old() view returns(address)

func (*EnsregistryCallerSession) Owner

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

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

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

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

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

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

func NewEnsregistryFilterer

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (it *EnsregistryNewOwnerIterator) Close() error

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

func (*EnsregistryNewOwnerIterator) Error

func (it *EnsregistryNewOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsregistryNewOwnerIterator) Next

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

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

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

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

func (*EnsregistryNewResolverIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsregistryNewResolverIterator) 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 EnsregistryNewTTL

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

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

func (it *EnsregistryNewTTLIterator) Close() error

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

func (*EnsregistryNewTTLIterator) Error

func (it *EnsregistryNewTTLIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsregistryNewTTLIterator) Next

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

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

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

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

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

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

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

func (_Ensregistry *EnsregistrySession) Old() (common.Address, error)

Old is a free data retrieval call binding the contract method 0xb83f8663.

Solidity: function old() view returns(address)

func (*EnsregistrySession) Owner

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

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

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

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

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

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

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

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

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

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

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

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

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

func NewEnsregistryTransactor

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (it *EnsregistryTransferIterator) Close() error

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

func (*EnsregistryTransferIterator) Error

func (it *EnsregistryTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsregistryTransferIterator) Next

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