Documentation ¶
Index ¶
- Variables
- type Contract
- type ContractApprovalForAll
- type ContractApprovalForAllIterator
- type ContractCaller
- func (_Contract *ContractCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Contract *ContractCaller) Owner(opts *bind.CallOpts, node [32]byte) (common.Address, error)
- func (_Contract *ContractCaller) RecordExists(opts *bind.CallOpts, node [32]byte) (bool, error)
- func (_Contract *ContractCaller) Resolver(opts *bind.CallOpts, node [32]byte) (common.Address, error)
- func (_Contract *ContractCaller) Ttl(opts *bind.CallOpts, node [32]byte) (uint64, error)
- type ContractCallerRaw
- type ContractCallerSession
- func (_Contract *ContractCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Contract *ContractCallerSession) Owner(node [32]byte) (common.Address, error)
- func (_Contract *ContractCallerSession) RecordExists(node [32]byte) (bool, error)
- func (_Contract *ContractCallerSession) Resolver(node [32]byte) (common.Address, error)
- func (_Contract *ContractCallerSession) Ttl(node [32]byte) (uint64, error)
- type ContractFilterer
- func (_Contract *ContractFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ContractApprovalForAllIterator, error)
- func (_Contract *ContractFilterer) FilterNewOwner(opts *bind.FilterOpts, node [][32]byte, label [][32]byte) (*ContractNewOwnerIterator, error)
- func (_Contract *ContractFilterer) FilterNewResolver(opts *bind.FilterOpts, node [][32]byte) (*ContractNewResolverIterator, error)
- func (_Contract *ContractFilterer) FilterNewTTL(opts *bind.FilterOpts, node [][32]byte) (*ContractNewTTLIterator, error)
- func (_Contract *ContractFilterer) FilterTransfer(opts *bind.FilterOpts, node [][32]byte) (*ContractTransferIterator, error)
- func (_Contract *ContractFilterer) ParseApprovalForAll(log types.Log) (*ContractApprovalForAll, error)
- func (_Contract *ContractFilterer) ParseNewOwner(log types.Log) (*ContractNewOwner, error)
- func (_Contract *ContractFilterer) ParseNewResolver(log types.Log) (*ContractNewResolver, error)
- func (_Contract *ContractFilterer) ParseNewTTL(log types.Log) (*ContractNewTTL, error)
- func (_Contract *ContractFilterer) ParseTransfer(log types.Log) (*ContractTransfer, error)
- func (_Contract *ContractFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ContractApprovalForAll, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchNewOwner(opts *bind.WatchOpts, sink chan<- *ContractNewOwner, node [][32]byte, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchNewResolver(opts *bind.WatchOpts, sink chan<- *ContractNewResolver, node [][32]byte) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchNewTTL(opts *bind.WatchOpts, sink chan<- *ContractNewTTL, node [][32]byte) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ContractTransfer, node [][32]byte) (event.Subscription, error)
- type ContractNewOwner
- type ContractNewOwnerIterator
- type ContractNewResolver
- type ContractNewResolverIterator
- type ContractNewTTL
- type ContractNewTTLIterator
- type ContractRaw
- func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractSession
- func (_Contract *ContractSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Contract *ContractSession) Owner(node [32]byte) (common.Address, error)
- func (_Contract *ContractSession) RecordExists(node [32]byte) (bool, error)
- func (_Contract *ContractSession) Resolver(node [32]byte) (common.Address, error)
- func (_Contract *ContractSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Contract *ContractSession) SetOwner(node [32]byte, owner common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) SetRecord(node [32]byte, owner common.Address, resolver common.Address, ttl uint64) (*types.Transaction, error)
- func (_Contract *ContractSession) SetResolver(node [32]byte, resolver common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) SetSubnodeOwner(node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) SetSubnodeRecord(node [32]byte, label [32]byte, owner common.Address, resolver common.Address, ...) (*types.Transaction, error)
- func (_Contract *ContractSession) SetTTL(node [32]byte, ttl uint64) (*types.Transaction, error)
- func (_Contract *ContractSession) Ttl(node [32]byte) (uint64, error)
- type ContractTransactor
- func (_Contract *ContractTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetOwner(opts *bind.TransactOpts, node [32]byte, owner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetRecord(opts *bind.TransactOpts, node [32]byte, owner common.Address, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetResolver(opts *bind.TransactOpts, node [32]byte, resolver common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetSubnodeOwner(opts *bind.TransactOpts, node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetSubnodeRecord(opts *bind.TransactOpts, node [32]byte, label [32]byte, owner common.Address, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetTTL(opts *bind.TransactOpts, node [32]byte, ttl uint64) (*types.Transaction, error)
- type ContractTransactorRaw
- type ContractTransactorSession
- func (_Contract *ContractTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetOwner(node [32]byte, owner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetRecord(node [32]byte, owner common.Address, resolver common.Address, ttl uint64) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetResolver(node [32]byte, resolver common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetSubnodeOwner(node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetSubnodeRecord(node [32]byte, label [32]byte, owner common.Address, resolver common.Address, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetTTL(node [32]byte, ttl uint64) (*types.Transaction, error)
- type ContractTransfer
- type ContractTransferIterator
Constants ¶
This section is empty.
Variables ¶
var ContractABI = ContractMetaData.ABI
ContractABI is the input ABI used to generate the binding from. Deprecated: Use ContractMetaData.ABI instead.
var ContractMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"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\"},{\"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\"}]",
}
ContractMetaData contains all meta data concerning the Contract contract.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { ContractCaller // Read-only binding to the contract ContractTransactor // Write-only binding to the contract ContractFilterer // Log filterer for contract events }
Contract is an auto generated Go binding around an Ethereum contract.
func NewContract ¶
NewContract creates a new instance of Contract, bound to a specific deployed contract.
type ContractApprovalForAll ¶
type ContractApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
ContractApprovalForAll represents a ApprovalForAll event raised by the Contract contract.
type ContractApprovalForAllIterator ¶
type ContractApprovalForAllIterator struct { Event *ContractApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Contract contract.
func (*ContractApprovalForAllIterator) Close ¶
func (it *ContractApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractApprovalForAllIterator) Error ¶
func (it *ContractApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractApprovalForAllIterator) Next ¶
func (it *ContractApprovalForAllIterator) 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 ContractCaller ¶
type ContractCaller struct {
// contains filtered or unexported fields
}
ContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractCaller ¶
func NewContractCaller(address common.Address, caller bind.ContractCaller) (*ContractCaller, error)
NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.
func (*ContractCaller) IsApprovedForAll ¶
func (_Contract *ContractCaller) 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 (*ContractCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x02571be3.
Solidity: function owner(bytes32 node) view returns(address)
func (*ContractCaller) RecordExists ¶
RecordExists is a free data retrieval call binding the contract method 0xf79fe538.
Solidity: function recordExists(bytes32 node) view returns(bool)
type ContractCallerRaw ¶
type ContractCallerRaw struct {
Contract *ContractCaller // Generic read-only contract binding to access the raw methods on
}
ContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractCallerRaw) Call ¶
func (_Contract *ContractCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ContractCallerSession ¶
type ContractCallerSession struct { Contract *ContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ContractCallerSession) IsApprovedForAll ¶
func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) Owner ¶
func (_Contract *ContractCallerSession) Owner(node [32]byte) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x02571be3.
Solidity: function owner(bytes32 node) view returns(address)
func (*ContractCallerSession) RecordExists ¶
func (_Contract *ContractCallerSession) 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)
type ContractFilterer ¶
type ContractFilterer struct {
// contains filtered or unexported fields
}
ContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractFilterer ¶
func NewContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractFilterer, error)
NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.
func (*ContractFilterer) FilterApprovalForAll ¶
func (_Contract *ContractFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ContractApprovalForAllIterator, 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 (*ContractFilterer) FilterNewOwner ¶
func (_Contract *ContractFilterer) FilterNewOwner(opts *bind.FilterOpts, node [][32]byte, label [][32]byte) (*ContractNewOwnerIterator, error)
FilterNewOwner is a free log retrieval operation binding the contract event 0xce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82.
Solidity: event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner)
func (*ContractFilterer) FilterNewResolver ¶
func (_Contract *ContractFilterer) FilterNewResolver(opts *bind.FilterOpts, node [][32]byte) (*ContractNewResolverIterator, error)
FilterNewResolver is a free log retrieval operation binding the contract event 0x335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0.
Solidity: event NewResolver(bytes32 indexed node, address resolver)
func (*ContractFilterer) FilterNewTTL ¶
func (_Contract *ContractFilterer) FilterNewTTL(opts *bind.FilterOpts, node [][32]byte) (*ContractNewTTLIterator, error)
FilterNewTTL is a free log retrieval operation binding the contract event 0x1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68.
Solidity: event NewTTL(bytes32 indexed node, uint64 ttl)
func (*ContractFilterer) FilterTransfer ¶
func (_Contract *ContractFilterer) FilterTransfer(opts *bind.FilterOpts, node [][32]byte) (*ContractTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266.
Solidity: event Transfer(bytes32 indexed node, address owner)
func (*ContractFilterer) ParseApprovalForAll ¶
func (_Contract *ContractFilterer) ParseApprovalForAll(log types.Log) (*ContractApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*ContractFilterer) ParseNewOwner ¶
func (_Contract *ContractFilterer) ParseNewOwner(log types.Log) (*ContractNewOwner, error)
ParseNewOwner is a log parse operation binding the contract event 0xce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82.
Solidity: event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner)
func (*ContractFilterer) ParseNewResolver ¶
func (_Contract *ContractFilterer) ParseNewResolver(log types.Log) (*ContractNewResolver, error)
ParseNewResolver is a log parse operation binding the contract event 0x335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0.
Solidity: event NewResolver(bytes32 indexed node, address resolver)
func (*ContractFilterer) ParseNewTTL ¶
func (_Contract *ContractFilterer) ParseNewTTL(log types.Log) (*ContractNewTTL, error)
ParseNewTTL is a log parse operation binding the contract event 0x1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68.
Solidity: event NewTTL(bytes32 indexed node, uint64 ttl)
func (*ContractFilterer) ParseTransfer ¶
func (_Contract *ContractFilterer) ParseTransfer(log types.Log) (*ContractTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266.
Solidity: event Transfer(bytes32 indexed node, address owner)
func (*ContractFilterer) WatchApprovalForAll ¶
func (_Contract *ContractFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ContractApprovalForAll, 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 (*ContractFilterer) WatchNewOwner ¶
func (_Contract *ContractFilterer) WatchNewOwner(opts *bind.WatchOpts, sink chan<- *ContractNewOwner, node [][32]byte, label [][32]byte) (event.Subscription, error)
WatchNewOwner is a free log subscription operation binding the contract event 0xce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82.
Solidity: event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner)
func (*ContractFilterer) WatchNewResolver ¶
func (_Contract *ContractFilterer) WatchNewResolver(opts *bind.WatchOpts, sink chan<- *ContractNewResolver, node [][32]byte) (event.Subscription, error)
WatchNewResolver is a free log subscription operation binding the contract event 0x335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0.
Solidity: event NewResolver(bytes32 indexed node, address resolver)
func (*ContractFilterer) WatchNewTTL ¶
func (_Contract *ContractFilterer) WatchNewTTL(opts *bind.WatchOpts, sink chan<- *ContractNewTTL, node [][32]byte) (event.Subscription, error)
WatchNewTTL is a free log subscription operation binding the contract event 0x1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68.
Solidity: event NewTTL(bytes32 indexed node, uint64 ttl)
func (*ContractFilterer) WatchTransfer ¶
func (_Contract *ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ContractTransfer, node [][32]byte) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266.
Solidity: event Transfer(bytes32 indexed node, address owner)
type ContractNewOwner ¶
type ContractNewOwner struct { Node [32]byte Label [32]byte Owner common.Address Raw types.Log // Blockchain specific contextual infos }
ContractNewOwner represents a NewOwner event raised by the Contract contract.
type ContractNewOwnerIterator ¶
type ContractNewOwnerIterator struct { Event *ContractNewOwner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractNewOwnerIterator is returned from FilterNewOwner and is used to iterate over the raw logs and unpacked data for NewOwner events raised by the Contract contract.
func (*ContractNewOwnerIterator) Close ¶
func (it *ContractNewOwnerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractNewOwnerIterator) Error ¶
func (it *ContractNewOwnerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractNewOwnerIterator) Next ¶
func (it *ContractNewOwnerIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ContractNewResolver ¶
type ContractNewResolver struct { Node [32]byte Resolver common.Address Raw types.Log // Blockchain specific contextual infos }
ContractNewResolver represents a NewResolver event raised by the Contract contract.
type ContractNewResolverIterator ¶
type ContractNewResolverIterator struct { Event *ContractNewResolver // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractNewResolverIterator is returned from FilterNewResolver and is used to iterate over the raw logs and unpacked data for NewResolver events raised by the Contract contract.
func (*ContractNewResolverIterator) Close ¶
func (it *ContractNewResolverIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractNewResolverIterator) Error ¶
func (it *ContractNewResolverIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractNewResolverIterator) Next ¶
func (it *ContractNewResolverIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ContractNewTTL ¶
type ContractNewTTL struct { Node [32]byte Ttl uint64 Raw types.Log // Blockchain specific contextual infos }
ContractNewTTL represents a NewTTL event raised by the Contract contract.
type ContractNewTTLIterator ¶
type ContractNewTTLIterator struct { Event *ContractNewTTL // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractNewTTLIterator is returned from FilterNewTTL and is used to iterate over the raw logs and unpacked data for NewTTL events raised by the Contract contract.
func (*ContractNewTTLIterator) Close ¶
func (it *ContractNewTTLIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractNewTTLIterator) Error ¶
func (it *ContractNewTTLIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractNewTTLIterator) Next ¶
func (it *ContractNewTTLIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ContractRaw ¶
type ContractRaw struct {
Contract *Contract // Generic contract binding to access the raw methods on
}
ContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractRaw) Call ¶
func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ContractRaw) Transact ¶
func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractRaw) Transfer ¶
func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractSession ¶
type ContractSession struct { Contract *Contract // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractSession) IsApprovedForAll ¶
func (_Contract *ContractSession) 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 (*ContractSession) Owner ¶
func (_Contract *ContractSession) Owner(node [32]byte) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x02571be3.
Solidity: function owner(bytes32 node) view returns(address)
func (*ContractSession) RecordExists ¶
func (_Contract *ContractSession) 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 (*ContractSession) Resolver ¶
func (_Contract *ContractSession) Resolver(node [32]byte) (common.Address, error)
Resolver is a free data retrieval call binding the contract method 0x0178b8bf.
Solidity: function resolver(bytes32 node) view returns(address)
func (*ContractSession) SetApprovalForAll ¶
func (_Contract *ContractSession) 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 (*ContractSession) SetOwner ¶
func (_Contract *ContractSession) SetOwner(node [32]byte, owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x5b0fc9c3.
Solidity: function setOwner(bytes32 node, address owner) returns()
func (*ContractSession) SetRecord ¶
func (_Contract *ContractSession) 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 (*ContractSession) SetResolver ¶
func (_Contract *ContractSession) SetResolver(node [32]byte, resolver common.Address) (*types.Transaction, error)
SetResolver is a paid mutator transaction binding the contract method 0x1896f70a.
Solidity: function setResolver(bytes32 node, address resolver) returns()
func (*ContractSession) SetSubnodeOwner ¶
func (_Contract *ContractSession) SetSubnodeOwner(node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
SetSubnodeOwner is a paid mutator transaction binding the contract method 0x06ab5923.
Solidity: function setSubnodeOwner(bytes32 node, bytes32 label, address owner) returns(bytes32)
func (*ContractSession) SetSubnodeRecord ¶
func (_Contract *ContractSession) 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 (*ContractSession) SetTTL ¶
func (_Contract *ContractSession) SetTTL(node [32]byte, ttl uint64) (*types.Transaction, error)
SetTTL is a paid mutator transaction binding the contract method 0x14ab9038.
Solidity: function setTTL(bytes32 node, uint64 ttl) returns()
type ContractTransactor ¶
type ContractTransactor struct {
// contains filtered or unexported fields
}
ContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractTransactor ¶
func NewContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractTransactor, error)
NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.
func (*ContractTransactor) SetApprovalForAll ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) SetOwner ¶
func (_Contract *ContractTransactor) SetOwner(opts *bind.TransactOpts, node [32]byte, owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x5b0fc9c3.
Solidity: function setOwner(bytes32 node, address owner) returns()
func (*ContractTransactor) SetRecord ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) SetResolver ¶
func (_Contract *ContractTransactor) SetResolver(opts *bind.TransactOpts, node [32]byte, resolver common.Address) (*types.Transaction, error)
SetResolver is a paid mutator transaction binding the contract method 0x1896f70a.
Solidity: function setResolver(bytes32 node, address resolver) returns()
func (*ContractTransactor) SetSubnodeOwner ¶
func (_Contract *ContractTransactor) SetSubnodeOwner(opts *bind.TransactOpts, node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
SetSubnodeOwner is a paid mutator transaction binding the contract method 0x06ab5923.
Solidity: function setSubnodeOwner(bytes32 node, bytes32 label, address owner) returns(bytes32)
func (*ContractTransactor) SetSubnodeRecord ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) SetTTL ¶
func (_Contract *ContractTransactor) SetTTL(opts *bind.TransactOpts, node [32]byte, ttl uint64) (*types.Transaction, error)
SetTTL is a paid mutator transaction binding the contract method 0x14ab9038.
Solidity: function setTTL(bytes32 node, uint64 ttl) returns()
type ContractTransactorRaw ¶
type ContractTransactorRaw struct {
Contract *ContractTransactor // Generic write-only contract binding to access the raw methods on
}
ContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractTransactorRaw) Transact ¶
func (_Contract *ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractTransactorRaw) Transfer ¶
func (_Contract *ContractTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractTransactorSession ¶
type ContractTransactorSession struct { Contract *ContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ContractTransactorSession) SetApprovalForAll ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) SetOwner ¶
func (_Contract *ContractTransactorSession) SetOwner(node [32]byte, owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x5b0fc9c3.
Solidity: function setOwner(bytes32 node, address owner) returns()
func (*ContractTransactorSession) SetRecord ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) SetResolver ¶
func (_Contract *ContractTransactorSession) SetResolver(node [32]byte, resolver common.Address) (*types.Transaction, error)
SetResolver is a paid mutator transaction binding the contract method 0x1896f70a.
Solidity: function setResolver(bytes32 node, address resolver) returns()
func (*ContractTransactorSession) SetSubnodeOwner ¶
func (_Contract *ContractTransactorSession) SetSubnodeOwner(node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
SetSubnodeOwner is a paid mutator transaction binding the contract method 0x06ab5923.
Solidity: function setSubnodeOwner(bytes32 node, bytes32 label, address owner) returns(bytes32)
func (*ContractTransactorSession) SetSubnodeRecord ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) SetTTL ¶
func (_Contract *ContractTransactorSession) SetTTL(node [32]byte, ttl uint64) (*types.Transaction, error)
SetTTL is a paid mutator transaction binding the contract method 0x14ab9038.
Solidity: function setTTL(bytes32 node, uint64 ttl) returns()
type ContractTransfer ¶
type ContractTransfer struct { Node [32]byte Owner common.Address Raw types.Log // Blockchain specific contextual infos }
ContractTransfer represents a Transfer event raised by the Contract contract.
type ContractTransferIterator ¶
type ContractTransferIterator struct { Event *ContractTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Contract contract.
func (*ContractTransferIterator) Close ¶
func (it *ContractTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractTransferIterator) Error ¶
func (it *ContractTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractTransferIterator) Next ¶
func (it *ContractTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.