ensregistrar

package
v0.0.0-...-0875c3a Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnsRegistrarABI = EnsRegistrarMetaData.ABI

EnsRegistrarABI is the input ABI used to generate the binding from. Deprecated: Use EnsRegistrarMetaData.ABI instead.

View Source
var EnsRegistrarMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractENS\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_baseNode\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"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\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"ControllerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"ControllerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expires\",\"type\":\"uint256\"}],\"name\":\"NameMigrated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expires\",\"type\":\"uint256\"}],\"name\":\"NameRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expires\",\"type\":\"uint256\"}],\"name\":\"NameRenewed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"GRACE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"addController\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"available\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"baseNode\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"controllers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"ens\",\"outputs\":[{\"internalType\":\"contractENS\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"nameExpires\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"reclaim\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"register\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"registerOnly\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"removeController\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"renew\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"setResolver\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

EnsRegistrarMetaData contains all meta data concerning the EnsRegistrar contract.

Functions

This section is empty.

Types

type EnsRegistrar

type EnsRegistrar struct {
	EnsRegistrarCaller     // Read-only binding to the contract
	EnsRegistrarTransactor // Write-only binding to the contract
	EnsRegistrarFilterer   // Log filterer for contract events
}

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

func NewEnsRegistrar

func NewEnsRegistrar(address common.Address, backend bind.ContractBackend) (*EnsRegistrar, error)

NewEnsRegistrar creates a new instance of EnsRegistrar, bound to a specific deployed contract.

type EnsRegistrarApproval

type EnsRegistrarApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

EnsRegistrarApproval represents a Approval event raised by the EnsRegistrar contract.

type EnsRegistrarApprovalForAll

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

EnsRegistrarApprovalForAll represents a ApprovalForAll event raised by the EnsRegistrar contract.

type EnsRegistrarApprovalForAllIterator

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

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

func (*EnsRegistrarApprovalForAllIterator) Close

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

func (*EnsRegistrarApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsRegistrarApprovalForAllIterator) 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 EnsRegistrarApprovalIterator

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

EnsRegistrarApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the EnsRegistrar contract.

func (*EnsRegistrarApprovalIterator) Close

func (it *EnsRegistrarApprovalIterator) Close() error

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

func (*EnsRegistrarApprovalIterator) Error

func (it *EnsRegistrarApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsRegistrarApprovalIterator) 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 EnsRegistrarCaller

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

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

func NewEnsRegistrarCaller

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

NewEnsRegistrarCaller creates a new read-only instance of EnsRegistrar, bound to a specific deployed contract.

func (*EnsRegistrarCaller) Available

func (_EnsRegistrar *EnsRegistrarCaller) Available(opts *bind.CallOpts, id *big.Int) (bool, error)

Available is a free data retrieval call binding the contract method 0x96e494e8.

Solidity: function available(uint256 id) view returns(bool)

func (*EnsRegistrarCaller) BalanceOf

func (_EnsRegistrar *EnsRegistrarCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*EnsRegistrarCaller) BaseNode

func (_EnsRegistrar *EnsRegistrarCaller) BaseNode(opts *bind.CallOpts) ([32]byte, error)

BaseNode is a free data retrieval call binding the contract method 0xddf7fcb0.

Solidity: function baseNode() view returns(bytes32)

func (*EnsRegistrarCaller) Controllers

func (_EnsRegistrar *EnsRegistrarCaller) Controllers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Controllers is a free data retrieval call binding the contract method 0xda8c229e.

Solidity: function controllers(address ) view returns(bool)

func (*EnsRegistrarCaller) Ens

func (_EnsRegistrar *EnsRegistrarCaller) Ens(opts *bind.CallOpts) (common.Address, error)

Ens is a free data retrieval call binding the contract method 0x3f15457f.

Solidity: function ens() view returns(address)

func (*EnsRegistrarCaller) GRACEPERIOD

func (_EnsRegistrar *EnsRegistrarCaller) GRACEPERIOD(opts *bind.CallOpts) (*big.Int, error)

GRACEPERIOD is a free data retrieval call binding the contract method 0xc1a287e2.

Solidity: function GRACE_PERIOD() view returns(uint256)

func (*EnsRegistrarCaller) GetApproved

func (_EnsRegistrar *EnsRegistrarCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*EnsRegistrarCaller) IsApprovedForAll

func (_EnsRegistrar *EnsRegistrarCaller) 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 (*EnsRegistrarCaller) IsOwner

func (_EnsRegistrar *EnsRegistrarCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*EnsRegistrarCaller) NameExpires

func (_EnsRegistrar *EnsRegistrarCaller) NameExpires(opts *bind.CallOpts, id *big.Int) (*big.Int, error)

NameExpires is a free data retrieval call binding the contract method 0xd6e4fa86.

Solidity: function nameExpires(uint256 id) view returns(uint256)

func (*EnsRegistrarCaller) Owner

func (_EnsRegistrar *EnsRegistrarCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*EnsRegistrarCaller) OwnerOf

func (_EnsRegistrar *EnsRegistrarCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*EnsRegistrarCaller) SupportsInterface

func (_EnsRegistrar *EnsRegistrarCaller) SupportsInterface(opts *bind.CallOpts, interfaceID [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceID) view returns(bool)

type EnsRegistrarCallerRaw

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

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

func (*EnsRegistrarCallerRaw) Call

func (_EnsRegistrar *EnsRegistrarCallerRaw) 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 EnsRegistrarCallerSession

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

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

func (*EnsRegistrarCallerSession) Available

func (_EnsRegistrar *EnsRegistrarCallerSession) Available(id *big.Int) (bool, error)

Available is a free data retrieval call binding the contract method 0x96e494e8.

Solidity: function available(uint256 id) view returns(bool)

func (*EnsRegistrarCallerSession) BalanceOf

func (_EnsRegistrar *EnsRegistrarCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*EnsRegistrarCallerSession) BaseNode

func (_EnsRegistrar *EnsRegistrarCallerSession) BaseNode() ([32]byte, error)

BaseNode is a free data retrieval call binding the contract method 0xddf7fcb0.

Solidity: function baseNode() view returns(bytes32)

func (*EnsRegistrarCallerSession) Controllers

func (_EnsRegistrar *EnsRegistrarCallerSession) Controllers(arg0 common.Address) (bool, error)

Controllers is a free data retrieval call binding the contract method 0xda8c229e.

Solidity: function controllers(address ) view returns(bool)

func (*EnsRegistrarCallerSession) Ens

func (_EnsRegistrar *EnsRegistrarCallerSession) Ens() (common.Address, error)

Ens is a free data retrieval call binding the contract method 0x3f15457f.

Solidity: function ens() view returns(address)

func (*EnsRegistrarCallerSession) GRACEPERIOD

func (_EnsRegistrar *EnsRegistrarCallerSession) GRACEPERIOD() (*big.Int, error)

GRACEPERIOD is a free data retrieval call binding the contract method 0xc1a287e2.

Solidity: function GRACE_PERIOD() view returns(uint256)

func (*EnsRegistrarCallerSession) GetApproved

func (_EnsRegistrar *EnsRegistrarCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*EnsRegistrarCallerSession) IsApprovedForAll

func (_EnsRegistrar *EnsRegistrarCallerSession) 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 (*EnsRegistrarCallerSession) IsOwner

func (_EnsRegistrar *EnsRegistrarCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*EnsRegistrarCallerSession) NameExpires

func (_EnsRegistrar *EnsRegistrarCallerSession) NameExpires(id *big.Int) (*big.Int, error)

NameExpires is a free data retrieval call binding the contract method 0xd6e4fa86.

Solidity: function nameExpires(uint256 id) view returns(uint256)

func (*EnsRegistrarCallerSession) Owner

func (_EnsRegistrar *EnsRegistrarCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*EnsRegistrarCallerSession) OwnerOf

func (_EnsRegistrar *EnsRegistrarCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*EnsRegistrarCallerSession) SupportsInterface

func (_EnsRegistrar *EnsRegistrarCallerSession) SupportsInterface(interfaceID [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceID) view returns(bool)

type EnsRegistrarControllerAdded

type EnsRegistrarControllerAdded struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

EnsRegistrarControllerAdded represents a ControllerAdded event raised by the EnsRegistrar contract.

type EnsRegistrarControllerAddedIterator

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

EnsRegistrarControllerAddedIterator is returned from FilterControllerAdded and is used to iterate over the raw logs and unpacked data for ControllerAdded events raised by the EnsRegistrar contract.

func (*EnsRegistrarControllerAddedIterator) Close

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

func (*EnsRegistrarControllerAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsRegistrarControllerAddedIterator) 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 EnsRegistrarControllerRemoved

type EnsRegistrarControllerRemoved struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

EnsRegistrarControllerRemoved represents a ControllerRemoved event raised by the EnsRegistrar contract.

type EnsRegistrarControllerRemovedIterator

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

EnsRegistrarControllerRemovedIterator is returned from FilterControllerRemoved and is used to iterate over the raw logs and unpacked data for ControllerRemoved events raised by the EnsRegistrar contract.

func (*EnsRegistrarControllerRemovedIterator) Close

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

func (*EnsRegistrarControllerRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsRegistrarControllerRemovedIterator) 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 EnsRegistrarFilterer

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

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

func NewEnsRegistrarFilterer

func NewEnsRegistrarFilterer(address common.Address, filterer bind.ContractFilterer) (*EnsRegistrarFilterer, error)

NewEnsRegistrarFilterer creates a new log filterer instance of EnsRegistrar, bound to a specific deployed contract.

func (*EnsRegistrarFilterer) FilterApproval

func (_EnsRegistrar *EnsRegistrarFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*EnsRegistrarApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*EnsRegistrarFilterer) FilterApprovalForAll

func (_EnsRegistrar *EnsRegistrarFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*EnsRegistrarApprovalForAllIterator, 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 (*EnsRegistrarFilterer) FilterControllerAdded

func (_EnsRegistrar *EnsRegistrarFilterer) FilterControllerAdded(opts *bind.FilterOpts, controller []common.Address) (*EnsRegistrarControllerAddedIterator, error)

FilterControllerAdded is a free log retrieval operation binding the contract event 0x0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d7474.

Solidity: event ControllerAdded(address indexed controller)

func (*EnsRegistrarFilterer) FilterControllerRemoved

func (_EnsRegistrar *EnsRegistrarFilterer) FilterControllerRemoved(opts *bind.FilterOpts, controller []common.Address) (*EnsRegistrarControllerRemovedIterator, error)

FilterControllerRemoved is a free log retrieval operation binding the contract event 0x33d83959be2573f5453b12eb9d43b3499bc57d96bd2f067ba44803c859e81113.

Solidity: event ControllerRemoved(address indexed controller)

func (*EnsRegistrarFilterer) FilterNameMigrated

func (_EnsRegistrar *EnsRegistrarFilterer) FilterNameMigrated(opts *bind.FilterOpts, id []*big.Int, owner []common.Address) (*EnsRegistrarNameMigratedIterator, error)

FilterNameMigrated is a free log retrieval operation binding the contract event 0xea3d7e1195a15d2ddcd859b01abd4c6b960fa9f9264e499a70a90c7f0c64b717.

Solidity: event NameMigrated(uint256 indexed id, address indexed owner, uint256 expires)

func (*EnsRegistrarFilterer) FilterNameRegistered

func (_EnsRegistrar *EnsRegistrarFilterer) FilterNameRegistered(opts *bind.FilterOpts, id []*big.Int, owner []common.Address) (*EnsRegistrarNameRegisteredIterator, error)

FilterNameRegistered is a free log retrieval operation binding the contract event 0xb3d987963d01b2f68493b4bdb130988f157ea43070d4ad840fee0466ed9370d9.

Solidity: event NameRegistered(uint256 indexed id, address indexed owner, uint256 expires)

func (*EnsRegistrarFilterer) FilterNameRenewed

func (_EnsRegistrar *EnsRegistrarFilterer) FilterNameRenewed(opts *bind.FilterOpts, id []*big.Int) (*EnsRegistrarNameRenewedIterator, error)

FilterNameRenewed is a free log retrieval operation binding the contract event 0x9b87a00e30f1ac65d898f070f8a3488fe60517182d0a2098e1b4b93a54aa9bd6.

Solidity: event NameRenewed(uint256 indexed id, uint256 expires)

func (*EnsRegistrarFilterer) FilterOwnershipTransferred

func (_EnsRegistrar *EnsRegistrarFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*EnsRegistrarOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*EnsRegistrarFilterer) FilterTransfer

func (_EnsRegistrar *EnsRegistrarFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*EnsRegistrarTransferIterator, error)

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

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*EnsRegistrarFilterer) ParseApproval

func (_EnsRegistrar *EnsRegistrarFilterer) ParseApproval(log types.Log) (*EnsRegistrarApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*EnsRegistrarFilterer) ParseApprovalForAll

func (_EnsRegistrar *EnsRegistrarFilterer) ParseApprovalForAll(log types.Log) (*EnsRegistrarApprovalForAll, error)

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

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

func (*EnsRegistrarFilterer) ParseControllerAdded

func (_EnsRegistrar *EnsRegistrarFilterer) ParseControllerAdded(log types.Log) (*EnsRegistrarControllerAdded, error)

ParseControllerAdded is a log parse operation binding the contract event 0x0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d7474.

Solidity: event ControllerAdded(address indexed controller)

func (*EnsRegistrarFilterer) ParseControllerRemoved

func (_EnsRegistrar *EnsRegistrarFilterer) ParseControllerRemoved(log types.Log) (*EnsRegistrarControllerRemoved, error)

ParseControllerRemoved is a log parse operation binding the contract event 0x33d83959be2573f5453b12eb9d43b3499bc57d96bd2f067ba44803c859e81113.

Solidity: event ControllerRemoved(address indexed controller)

func (*EnsRegistrarFilterer) ParseNameMigrated

func (_EnsRegistrar *EnsRegistrarFilterer) ParseNameMigrated(log types.Log) (*EnsRegistrarNameMigrated, error)

ParseNameMigrated is a log parse operation binding the contract event 0xea3d7e1195a15d2ddcd859b01abd4c6b960fa9f9264e499a70a90c7f0c64b717.

Solidity: event NameMigrated(uint256 indexed id, address indexed owner, uint256 expires)

func (*EnsRegistrarFilterer) ParseNameRegistered

func (_EnsRegistrar *EnsRegistrarFilterer) ParseNameRegistered(log types.Log) (*EnsRegistrarNameRegistered, error)

ParseNameRegistered is a log parse operation binding the contract event 0xb3d987963d01b2f68493b4bdb130988f157ea43070d4ad840fee0466ed9370d9.

Solidity: event NameRegistered(uint256 indexed id, address indexed owner, uint256 expires)

func (*EnsRegistrarFilterer) ParseNameRenewed

func (_EnsRegistrar *EnsRegistrarFilterer) ParseNameRenewed(log types.Log) (*EnsRegistrarNameRenewed, error)

ParseNameRenewed is a log parse operation binding the contract event 0x9b87a00e30f1ac65d898f070f8a3488fe60517182d0a2098e1b4b93a54aa9bd6.

Solidity: event NameRenewed(uint256 indexed id, uint256 expires)

func (*EnsRegistrarFilterer) ParseOwnershipTransferred

func (_EnsRegistrar *EnsRegistrarFilterer) ParseOwnershipTransferred(log types.Log) (*EnsRegistrarOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*EnsRegistrarFilterer) ParseTransfer

func (_EnsRegistrar *EnsRegistrarFilterer) ParseTransfer(log types.Log) (*EnsRegistrarTransfer, error)

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

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*EnsRegistrarFilterer) WatchApproval

func (_EnsRegistrar *EnsRegistrarFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *EnsRegistrarApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*EnsRegistrarFilterer) WatchApprovalForAll

func (_EnsRegistrar *EnsRegistrarFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *EnsRegistrarApprovalForAll, 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 (*EnsRegistrarFilterer) WatchControllerAdded

func (_EnsRegistrar *EnsRegistrarFilterer) WatchControllerAdded(opts *bind.WatchOpts, sink chan<- *EnsRegistrarControllerAdded, controller []common.Address) (event.Subscription, error)

WatchControllerAdded is a free log subscription operation binding the contract event 0x0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d7474.

Solidity: event ControllerAdded(address indexed controller)

func (*EnsRegistrarFilterer) WatchControllerRemoved

func (_EnsRegistrar *EnsRegistrarFilterer) WatchControllerRemoved(opts *bind.WatchOpts, sink chan<- *EnsRegistrarControllerRemoved, controller []common.Address) (event.Subscription, error)

WatchControllerRemoved is a free log subscription operation binding the contract event 0x33d83959be2573f5453b12eb9d43b3499bc57d96bd2f067ba44803c859e81113.

Solidity: event ControllerRemoved(address indexed controller)

func (*EnsRegistrarFilterer) WatchNameMigrated

func (_EnsRegistrar *EnsRegistrarFilterer) WatchNameMigrated(opts *bind.WatchOpts, sink chan<- *EnsRegistrarNameMigrated, id []*big.Int, owner []common.Address) (event.Subscription, error)

WatchNameMigrated is a free log subscription operation binding the contract event 0xea3d7e1195a15d2ddcd859b01abd4c6b960fa9f9264e499a70a90c7f0c64b717.

Solidity: event NameMigrated(uint256 indexed id, address indexed owner, uint256 expires)

func (*EnsRegistrarFilterer) WatchNameRegistered

func (_EnsRegistrar *EnsRegistrarFilterer) WatchNameRegistered(opts *bind.WatchOpts, sink chan<- *EnsRegistrarNameRegistered, id []*big.Int, owner []common.Address) (event.Subscription, error)

WatchNameRegistered is a free log subscription operation binding the contract event 0xb3d987963d01b2f68493b4bdb130988f157ea43070d4ad840fee0466ed9370d9.

Solidity: event NameRegistered(uint256 indexed id, address indexed owner, uint256 expires)

func (*EnsRegistrarFilterer) WatchNameRenewed

func (_EnsRegistrar *EnsRegistrarFilterer) WatchNameRenewed(opts *bind.WatchOpts, sink chan<- *EnsRegistrarNameRenewed, id []*big.Int) (event.Subscription, error)

WatchNameRenewed is a free log subscription operation binding the contract event 0x9b87a00e30f1ac65d898f070f8a3488fe60517182d0a2098e1b4b93a54aa9bd6.

Solidity: event NameRenewed(uint256 indexed id, uint256 expires)

func (*EnsRegistrarFilterer) WatchOwnershipTransferred

func (_EnsRegistrar *EnsRegistrarFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *EnsRegistrarOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*EnsRegistrarFilterer) WatchTransfer

func (_EnsRegistrar *EnsRegistrarFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *EnsRegistrarTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)

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

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

type EnsRegistrarNameMigrated

type EnsRegistrarNameMigrated struct {
	Id      *big.Int
	Owner   common.Address
	Expires *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

EnsRegistrarNameMigrated represents a NameMigrated event raised by the EnsRegistrar contract.

type EnsRegistrarNameMigratedIterator

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

EnsRegistrarNameMigratedIterator is returned from FilterNameMigrated and is used to iterate over the raw logs and unpacked data for NameMigrated events raised by the EnsRegistrar contract.

func (*EnsRegistrarNameMigratedIterator) Close

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

func (*EnsRegistrarNameMigratedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsRegistrarNameMigratedIterator) 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 EnsRegistrarNameRegistered

type EnsRegistrarNameRegistered struct {
	Id      *big.Int
	Owner   common.Address
	Expires *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

EnsRegistrarNameRegistered represents a NameRegistered event raised by the EnsRegistrar contract.

type EnsRegistrarNameRegisteredIterator

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

EnsRegistrarNameRegisteredIterator is returned from FilterNameRegistered and is used to iterate over the raw logs and unpacked data for NameRegistered events raised by the EnsRegistrar contract.

func (*EnsRegistrarNameRegisteredIterator) Close

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

func (*EnsRegistrarNameRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsRegistrarNameRegisteredIterator) 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 EnsRegistrarNameRenewed

type EnsRegistrarNameRenewed struct {
	Id      *big.Int
	Expires *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

EnsRegistrarNameRenewed represents a NameRenewed event raised by the EnsRegistrar contract.

type EnsRegistrarNameRenewedIterator

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

EnsRegistrarNameRenewedIterator is returned from FilterNameRenewed and is used to iterate over the raw logs and unpacked data for NameRenewed events raised by the EnsRegistrar contract.

func (*EnsRegistrarNameRenewedIterator) Close

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

func (*EnsRegistrarNameRenewedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsRegistrarNameRenewedIterator) 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 EnsRegistrarOwnershipTransferred

type EnsRegistrarOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

EnsRegistrarOwnershipTransferred represents a OwnershipTransferred event raised by the EnsRegistrar contract.

type EnsRegistrarOwnershipTransferredIterator

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

EnsRegistrarOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the EnsRegistrar contract.

func (*EnsRegistrarOwnershipTransferredIterator) Close

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

func (*EnsRegistrarOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsRegistrarOwnershipTransferredIterator) 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 EnsRegistrarRaw

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

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

func (*EnsRegistrarRaw) Call

func (_EnsRegistrar *EnsRegistrarRaw) 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 (*EnsRegistrarRaw) Transact

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

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

func (*EnsRegistrarRaw) Transfer

func (_EnsRegistrar *EnsRegistrarRaw) 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 EnsRegistrarSession

type EnsRegistrarSession struct {
	Contract     *EnsRegistrar     // 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
}

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

func (*EnsRegistrarSession) AddController

func (_EnsRegistrar *EnsRegistrarSession) AddController(controller common.Address) (*types.Transaction, error)

AddController is a paid mutator transaction binding the contract method 0xa7fc7a07.

Solidity: function addController(address controller) returns()

func (*EnsRegistrarSession) Approve

func (_EnsRegistrar *EnsRegistrarSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*EnsRegistrarSession) Available

func (_EnsRegistrar *EnsRegistrarSession) Available(id *big.Int) (bool, error)

Available is a free data retrieval call binding the contract method 0x96e494e8.

Solidity: function available(uint256 id) view returns(bool)

func (*EnsRegistrarSession) BalanceOf

func (_EnsRegistrar *EnsRegistrarSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*EnsRegistrarSession) BaseNode

func (_EnsRegistrar *EnsRegistrarSession) BaseNode() ([32]byte, error)

BaseNode is a free data retrieval call binding the contract method 0xddf7fcb0.

Solidity: function baseNode() view returns(bytes32)

func (*EnsRegistrarSession) Controllers

func (_EnsRegistrar *EnsRegistrarSession) Controllers(arg0 common.Address) (bool, error)

Controllers is a free data retrieval call binding the contract method 0xda8c229e.

Solidity: function controllers(address ) view returns(bool)

func (*EnsRegistrarSession) Ens

func (_EnsRegistrar *EnsRegistrarSession) Ens() (common.Address, error)

Ens is a free data retrieval call binding the contract method 0x3f15457f.

Solidity: function ens() view returns(address)

func (*EnsRegistrarSession) GRACEPERIOD

func (_EnsRegistrar *EnsRegistrarSession) GRACEPERIOD() (*big.Int, error)

GRACEPERIOD is a free data retrieval call binding the contract method 0xc1a287e2.

Solidity: function GRACE_PERIOD() view returns(uint256)

func (*EnsRegistrarSession) GetApproved

func (_EnsRegistrar *EnsRegistrarSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*EnsRegistrarSession) IsApprovedForAll

func (_EnsRegistrar *EnsRegistrarSession) 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 (*EnsRegistrarSession) IsOwner

func (_EnsRegistrar *EnsRegistrarSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*EnsRegistrarSession) NameExpires

func (_EnsRegistrar *EnsRegistrarSession) NameExpires(id *big.Int) (*big.Int, error)

NameExpires is a free data retrieval call binding the contract method 0xd6e4fa86.

Solidity: function nameExpires(uint256 id) view returns(uint256)

func (*EnsRegistrarSession) Owner

func (_EnsRegistrar *EnsRegistrarSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*EnsRegistrarSession) OwnerOf

func (_EnsRegistrar *EnsRegistrarSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*EnsRegistrarSession) Reclaim

func (_EnsRegistrar *EnsRegistrarSession) Reclaim(id *big.Int, owner common.Address) (*types.Transaction, error)

Reclaim is a paid mutator transaction binding the contract method 0x28ed4f6c.

Solidity: function reclaim(uint256 id, address owner) returns()

func (*EnsRegistrarSession) Register

func (_EnsRegistrar *EnsRegistrarSession) Register(id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xfca247ac.

Solidity: function register(uint256 id, address owner, uint256 duration) returns(uint256)

func (*EnsRegistrarSession) RegisterOnly

func (_EnsRegistrar *EnsRegistrarSession) RegisterOnly(id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

RegisterOnly is a paid mutator transaction binding the contract method 0x0e297b45.

Solidity: function registerOnly(uint256 id, address owner, uint256 duration) returns(uint256)

func (*EnsRegistrarSession) RemoveController

func (_EnsRegistrar *EnsRegistrarSession) RemoveController(controller common.Address) (*types.Transaction, error)

RemoveController is a paid mutator transaction binding the contract method 0xf6a74ed7.

Solidity: function removeController(address controller) returns()

func (*EnsRegistrarSession) Renew

func (_EnsRegistrar *EnsRegistrarSession) Renew(id *big.Int, duration *big.Int) (*types.Transaction, error)

Renew is a paid mutator transaction binding the contract method 0xc475abff.

Solidity: function renew(uint256 id, uint256 duration) returns(uint256)

func (*EnsRegistrarSession) RenounceOwnership

func (_EnsRegistrar *EnsRegistrarSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*EnsRegistrarSession) SafeTransferFrom

func (_EnsRegistrar *EnsRegistrarSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*EnsRegistrarSession) SafeTransferFrom0

func (_EnsRegistrar *EnsRegistrarSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*EnsRegistrarSession) SetApprovalForAll

func (_EnsRegistrar *EnsRegistrarSession) SetApprovalForAll(to common.Address, approved bool) (*types.Transaction, error)

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

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

func (*EnsRegistrarSession) SetResolver

func (_EnsRegistrar *EnsRegistrarSession) SetResolver(resolver common.Address) (*types.Transaction, error)

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

Solidity: function setResolver(address resolver) returns()

func (*EnsRegistrarSession) SupportsInterface

func (_EnsRegistrar *EnsRegistrarSession) SupportsInterface(interfaceID [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceID) view returns(bool)

func (*EnsRegistrarSession) TransferFrom

func (_EnsRegistrar *EnsRegistrarSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*EnsRegistrarSession) TransferOwnership

func (_EnsRegistrar *EnsRegistrarSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type EnsRegistrarTransactor

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

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

func NewEnsRegistrarTransactor

func NewEnsRegistrarTransactor(address common.Address, transactor bind.ContractTransactor) (*EnsRegistrarTransactor, error)

NewEnsRegistrarTransactor creates a new write-only instance of EnsRegistrar, bound to a specific deployed contract.

func (*EnsRegistrarTransactor) AddController

func (_EnsRegistrar *EnsRegistrarTransactor) AddController(opts *bind.TransactOpts, controller common.Address) (*types.Transaction, error)

AddController is a paid mutator transaction binding the contract method 0xa7fc7a07.

Solidity: function addController(address controller) returns()

func (*EnsRegistrarTransactor) Approve

func (_EnsRegistrar *EnsRegistrarTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*EnsRegistrarTransactor) Reclaim

func (_EnsRegistrar *EnsRegistrarTransactor) Reclaim(opts *bind.TransactOpts, id *big.Int, owner common.Address) (*types.Transaction, error)

Reclaim is a paid mutator transaction binding the contract method 0x28ed4f6c.

Solidity: function reclaim(uint256 id, address owner) returns()

func (*EnsRegistrarTransactor) Register

func (_EnsRegistrar *EnsRegistrarTransactor) Register(opts *bind.TransactOpts, id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xfca247ac.

Solidity: function register(uint256 id, address owner, uint256 duration) returns(uint256)

func (*EnsRegistrarTransactor) RegisterOnly

func (_EnsRegistrar *EnsRegistrarTransactor) RegisterOnly(opts *bind.TransactOpts, id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

RegisterOnly is a paid mutator transaction binding the contract method 0x0e297b45.

Solidity: function registerOnly(uint256 id, address owner, uint256 duration) returns(uint256)

func (*EnsRegistrarTransactor) RemoveController

func (_EnsRegistrar *EnsRegistrarTransactor) RemoveController(opts *bind.TransactOpts, controller common.Address) (*types.Transaction, error)

RemoveController is a paid mutator transaction binding the contract method 0xf6a74ed7.

Solidity: function removeController(address controller) returns()

func (*EnsRegistrarTransactor) Renew

func (_EnsRegistrar *EnsRegistrarTransactor) Renew(opts *bind.TransactOpts, id *big.Int, duration *big.Int) (*types.Transaction, error)

Renew is a paid mutator transaction binding the contract method 0xc475abff.

Solidity: function renew(uint256 id, uint256 duration) returns(uint256)

func (*EnsRegistrarTransactor) RenounceOwnership

func (_EnsRegistrar *EnsRegistrarTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*EnsRegistrarTransactor) SafeTransferFrom

func (_EnsRegistrar *EnsRegistrarTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*EnsRegistrarTransactor) SafeTransferFrom0

func (_EnsRegistrar *EnsRegistrarTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*EnsRegistrarTransactor) SetApprovalForAll

func (_EnsRegistrar *EnsRegistrarTransactor) SetApprovalForAll(opts *bind.TransactOpts, to common.Address, approved bool) (*types.Transaction, error)

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

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

func (*EnsRegistrarTransactor) SetResolver

func (_EnsRegistrar *EnsRegistrarTransactor) SetResolver(opts *bind.TransactOpts, resolver common.Address) (*types.Transaction, error)

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

Solidity: function setResolver(address resolver) returns()

func (*EnsRegistrarTransactor) TransferFrom

func (_EnsRegistrar *EnsRegistrarTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*EnsRegistrarTransactor) TransferOwnership

func (_EnsRegistrar *EnsRegistrarTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type EnsRegistrarTransactorRaw

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

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

func (*EnsRegistrarTransactorRaw) Transact

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

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

func (*EnsRegistrarTransactorRaw) Transfer

func (_EnsRegistrar *EnsRegistrarTransactorRaw) 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 EnsRegistrarTransactorSession

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

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

func (*EnsRegistrarTransactorSession) AddController

func (_EnsRegistrar *EnsRegistrarTransactorSession) AddController(controller common.Address) (*types.Transaction, error)

AddController is a paid mutator transaction binding the contract method 0xa7fc7a07.

Solidity: function addController(address controller) returns()

func (*EnsRegistrarTransactorSession) Approve

func (_EnsRegistrar *EnsRegistrarTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*EnsRegistrarTransactorSession) Reclaim

func (_EnsRegistrar *EnsRegistrarTransactorSession) Reclaim(id *big.Int, owner common.Address) (*types.Transaction, error)

Reclaim is a paid mutator transaction binding the contract method 0x28ed4f6c.

Solidity: function reclaim(uint256 id, address owner) returns()

func (*EnsRegistrarTransactorSession) Register

func (_EnsRegistrar *EnsRegistrarTransactorSession) Register(id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xfca247ac.

Solidity: function register(uint256 id, address owner, uint256 duration) returns(uint256)

func (*EnsRegistrarTransactorSession) RegisterOnly

func (_EnsRegistrar *EnsRegistrarTransactorSession) RegisterOnly(id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

RegisterOnly is a paid mutator transaction binding the contract method 0x0e297b45.

Solidity: function registerOnly(uint256 id, address owner, uint256 duration) returns(uint256)

func (*EnsRegistrarTransactorSession) RemoveController

func (_EnsRegistrar *EnsRegistrarTransactorSession) RemoveController(controller common.Address) (*types.Transaction, error)

RemoveController is a paid mutator transaction binding the contract method 0xf6a74ed7.

Solidity: function removeController(address controller) returns()

func (*EnsRegistrarTransactorSession) Renew

func (_EnsRegistrar *EnsRegistrarTransactorSession) Renew(id *big.Int, duration *big.Int) (*types.Transaction, error)

Renew is a paid mutator transaction binding the contract method 0xc475abff.

Solidity: function renew(uint256 id, uint256 duration) returns(uint256)

func (*EnsRegistrarTransactorSession) RenounceOwnership

func (_EnsRegistrar *EnsRegistrarTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*EnsRegistrarTransactorSession) SafeTransferFrom

func (_EnsRegistrar *EnsRegistrarTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*EnsRegistrarTransactorSession) SafeTransferFrom0

func (_EnsRegistrar *EnsRegistrarTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*EnsRegistrarTransactorSession) SetApprovalForAll

func (_EnsRegistrar *EnsRegistrarTransactorSession) SetApprovalForAll(to common.Address, approved bool) (*types.Transaction, error)

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

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

func (*EnsRegistrarTransactorSession) SetResolver

func (_EnsRegistrar *EnsRegistrarTransactorSession) SetResolver(resolver common.Address) (*types.Transaction, error)

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

Solidity: function setResolver(address resolver) returns()

func (*EnsRegistrarTransactorSession) TransferFrom

func (_EnsRegistrar *EnsRegistrarTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*EnsRegistrarTransactorSession) TransferOwnership

func (_EnsRegistrar *EnsRegistrarTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type EnsRegistrarTransfer

type EnsRegistrarTransfer struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

EnsRegistrarTransfer represents a Transfer event raised by the EnsRegistrar contract.

type EnsRegistrarTransferIterator

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

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

func (*EnsRegistrarTransferIterator) Close

func (it *EnsRegistrarTransferIterator) Close() error

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

func (*EnsRegistrarTransferIterator) Error

func (it *EnsRegistrarTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsRegistrarTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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