enscontroller

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 EnsControllerABI = EnsControllerMetaData.ABI

EnsControllerABI is the input ABI used to generate the binding from. Deprecated: Use EnsControllerMetaData.ABI instead.

View Source
var EnsControllerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractBaseRegistrar\",\"name\":\"_base\",\"type\":\"address\"},{\"internalType\":\"contractPriceOracle\",\"name\":\"_prices\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_minCommitmentAge\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxCommitmentAge\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cost\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expires\",\"type\":\"uint256\"}],\"name\":\"NameRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cost\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expires\",\"type\":\"uint256\"}],\"name\":\"NameRenewed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"}],\"name\":\"NewPriceOracle\",\"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\"},{\"constant\":true,\"inputs\":[],\"name\":\"MIN_REGISTRATION_DURATION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"available\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"name\":\"commit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"commitments\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"secret\",\"type\":\"bytes32\"}],\"name\":\"makeCommitment\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"secret\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"makeCommitmentWithConfig\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"maxCommitmentAge\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minCommitmentAge\",\"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\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"secret\",\"type\":\"bytes32\"}],\"name\":\"register\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"secret\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"registerWithConfig\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"renew\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"rentPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minCommitmentAge\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxCommitmentAge\",\"type\":\"uint256\"}],\"name\":\"setCommitmentAges\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractPriceOracle\",\"name\":\"_prices\",\"type\":\"address\"}],\"name\":\"setPriceOracle\",\"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\":\"pure\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"valid\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

EnsControllerMetaData contains all meta data concerning the EnsController contract.

Functions

This section is empty.

Types

type EnsController

type EnsController struct {
	EnsControllerCaller     // Read-only binding to the contract
	EnsControllerTransactor // Write-only binding to the contract
	EnsControllerFilterer   // Log filterer for contract events
}

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

func NewEnsController

func NewEnsController(address common.Address, backend bind.ContractBackend) (*EnsController, error)

NewEnsController creates a new instance of EnsController, bound to a specific deployed contract.

type EnsControllerCaller

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

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

func NewEnsControllerCaller

func NewEnsControllerCaller(address common.Address, caller bind.ContractCaller) (*EnsControllerCaller, error)

NewEnsControllerCaller creates a new read-only instance of EnsController, bound to a specific deployed contract.

func (*EnsControllerCaller) Available

func (_EnsController *EnsControllerCaller) Available(opts *bind.CallOpts, name string) (bool, error)

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

Solidity: function available(string name) view returns(bool)

func (*EnsControllerCaller) Commitments

func (_EnsController *EnsControllerCaller) Commitments(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

Commitments is a free data retrieval call binding the contract method 0x839df945.

Solidity: function commitments(bytes32 ) view returns(uint256)

func (*EnsControllerCaller) IsOwner

func (_EnsController *EnsControllerCaller) 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 (*EnsControllerCaller) MINREGISTRATIONDURATION

func (_EnsController *EnsControllerCaller) MINREGISTRATIONDURATION(opts *bind.CallOpts) (*big.Int, error)

MINREGISTRATIONDURATION is a free data retrieval call binding the contract method 0x8a95b09f.

Solidity: function MIN_REGISTRATION_DURATION() view returns(uint256)

func (*EnsControllerCaller) MakeCommitment

func (_EnsController *EnsControllerCaller) MakeCommitment(opts *bind.CallOpts, name string, owner common.Address, secret [32]byte) ([32]byte, error)

MakeCommitment is a free data retrieval call binding the contract method 0xf49826be.

Solidity: function makeCommitment(string name, address owner, bytes32 secret) pure returns(bytes32)

func (*EnsControllerCaller) MakeCommitmentWithConfig

func (_EnsController *EnsControllerCaller) MakeCommitmentWithConfig(opts *bind.CallOpts, name string, owner common.Address, secret [32]byte, resolver common.Address, addr common.Address) ([32]byte, error)

MakeCommitmentWithConfig is a free data retrieval call binding the contract method 0x3d86c52f.

Solidity: function makeCommitmentWithConfig(string name, address owner, bytes32 secret, address resolver, address addr) pure returns(bytes32)

func (*EnsControllerCaller) MaxCommitmentAge

func (_EnsController *EnsControllerCaller) MaxCommitmentAge(opts *bind.CallOpts) (*big.Int, error)

MaxCommitmentAge is a free data retrieval call binding the contract method 0xce1e09c0.

Solidity: function maxCommitmentAge() view returns(uint256)

func (*EnsControllerCaller) MinCommitmentAge

func (_EnsController *EnsControllerCaller) MinCommitmentAge(opts *bind.CallOpts) (*big.Int, error)

MinCommitmentAge is a free data retrieval call binding the contract method 0x8d839ffe.

Solidity: function minCommitmentAge() view returns(uint256)

func (*EnsControllerCaller) Owner

func (_EnsController *EnsControllerCaller) 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 (*EnsControllerCaller) RentPrice

func (_EnsController *EnsControllerCaller) RentPrice(opts *bind.CallOpts, name string, duration *big.Int) (*big.Int, error)

RentPrice is a free data retrieval call binding the contract method 0x83e7f6ff.

Solidity: function rentPrice(string name, uint256 duration) view returns(uint256)

func (*EnsControllerCaller) SupportsInterface

func (_EnsController *EnsControllerCaller) 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) pure returns(bool)

func (*EnsControllerCaller) Valid

func (_EnsController *EnsControllerCaller) Valid(opts *bind.CallOpts, name string) (bool, error)

Valid is a free data retrieval call binding the contract method 0x9791c097.

Solidity: function valid(string name) pure returns(bool)

type EnsControllerCallerRaw

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

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

func (*EnsControllerCallerRaw) Call

func (_EnsController *EnsControllerCallerRaw) 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 EnsControllerCallerSession

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

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

func (*EnsControllerCallerSession) Available

func (_EnsController *EnsControllerCallerSession) Available(name string) (bool, error)

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

Solidity: function available(string name) view returns(bool)

func (*EnsControllerCallerSession) Commitments

func (_EnsController *EnsControllerCallerSession) Commitments(arg0 [32]byte) (*big.Int, error)

Commitments is a free data retrieval call binding the contract method 0x839df945.

Solidity: function commitments(bytes32 ) view returns(uint256)

func (*EnsControllerCallerSession) IsOwner

func (_EnsController *EnsControllerCallerSession) IsOwner() (bool, error)

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

Solidity: function isOwner() view returns(bool)

func (*EnsControllerCallerSession) MINREGISTRATIONDURATION

func (_EnsController *EnsControllerCallerSession) MINREGISTRATIONDURATION() (*big.Int, error)

MINREGISTRATIONDURATION is a free data retrieval call binding the contract method 0x8a95b09f.

Solidity: function MIN_REGISTRATION_DURATION() view returns(uint256)

func (*EnsControllerCallerSession) MakeCommitment

func (_EnsController *EnsControllerCallerSession) MakeCommitment(name string, owner common.Address, secret [32]byte) ([32]byte, error)

MakeCommitment is a free data retrieval call binding the contract method 0xf49826be.

Solidity: function makeCommitment(string name, address owner, bytes32 secret) pure returns(bytes32)

func (*EnsControllerCallerSession) MakeCommitmentWithConfig

func (_EnsController *EnsControllerCallerSession) MakeCommitmentWithConfig(name string, owner common.Address, secret [32]byte, resolver common.Address, addr common.Address) ([32]byte, error)

MakeCommitmentWithConfig is a free data retrieval call binding the contract method 0x3d86c52f.

Solidity: function makeCommitmentWithConfig(string name, address owner, bytes32 secret, address resolver, address addr) pure returns(bytes32)

func (*EnsControllerCallerSession) MaxCommitmentAge

func (_EnsController *EnsControllerCallerSession) MaxCommitmentAge() (*big.Int, error)

MaxCommitmentAge is a free data retrieval call binding the contract method 0xce1e09c0.

Solidity: function maxCommitmentAge() view returns(uint256)

func (*EnsControllerCallerSession) MinCommitmentAge

func (_EnsController *EnsControllerCallerSession) MinCommitmentAge() (*big.Int, error)

MinCommitmentAge is a free data retrieval call binding the contract method 0x8d839ffe.

Solidity: function minCommitmentAge() view returns(uint256)

func (*EnsControllerCallerSession) Owner

func (_EnsController *EnsControllerCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*EnsControllerCallerSession) RentPrice

func (_EnsController *EnsControllerCallerSession) RentPrice(name string, duration *big.Int) (*big.Int, error)

RentPrice is a free data retrieval call binding the contract method 0x83e7f6ff.

Solidity: function rentPrice(string name, uint256 duration) view returns(uint256)

func (*EnsControllerCallerSession) SupportsInterface

func (_EnsController *EnsControllerCallerSession) SupportsInterface(interfaceID [4]byte) (bool, error)

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

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

func (*EnsControllerCallerSession) Valid

func (_EnsController *EnsControllerCallerSession) Valid(name string) (bool, error)

Valid is a free data retrieval call binding the contract method 0x9791c097.

Solidity: function valid(string name) pure returns(bool)

type EnsControllerFilterer

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

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

func NewEnsControllerFilterer

func NewEnsControllerFilterer(address common.Address, filterer bind.ContractFilterer) (*EnsControllerFilterer, error)

NewEnsControllerFilterer creates a new log filterer instance of EnsController, bound to a specific deployed contract.

func (*EnsControllerFilterer) FilterNameRegistered

func (_EnsController *EnsControllerFilterer) FilterNameRegistered(opts *bind.FilterOpts, label [][32]byte, owner []common.Address) (*EnsControllerNameRegisteredIterator, error)

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

Solidity: event NameRegistered(string name, bytes32 indexed label, address indexed owner, uint256 cost, uint256 expires)

func (*EnsControllerFilterer) FilterNameRenewed

func (_EnsController *EnsControllerFilterer) FilterNameRenewed(opts *bind.FilterOpts, label [][32]byte) (*EnsControllerNameRenewedIterator, error)

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

Solidity: event NameRenewed(string name, bytes32 indexed label, uint256 cost, uint256 expires)

func (*EnsControllerFilterer) FilterNewPriceOracle

func (_EnsController *EnsControllerFilterer) FilterNewPriceOracle(opts *bind.FilterOpts, oracle []common.Address) (*EnsControllerNewPriceOracleIterator, error)

FilterNewPriceOracle is a free log retrieval operation binding the contract event 0xf261845a790fe29bbd6631e2ca4a5bdc83e6eed7c3271d9590d97287e00e9123.

Solidity: event NewPriceOracle(address indexed oracle)

func (*EnsControllerFilterer) FilterOwnershipTransferred

func (_EnsController *EnsControllerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*EnsControllerOwnershipTransferredIterator, error)

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

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

func (*EnsControllerFilterer) ParseNameRegistered

func (_EnsController *EnsControllerFilterer) ParseNameRegistered(log types.Log) (*EnsControllerNameRegistered, error)

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

Solidity: event NameRegistered(string name, bytes32 indexed label, address indexed owner, uint256 cost, uint256 expires)

func (*EnsControllerFilterer) ParseNameRenewed

func (_EnsController *EnsControllerFilterer) ParseNameRenewed(log types.Log) (*EnsControllerNameRenewed, error)

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

Solidity: event NameRenewed(string name, bytes32 indexed label, uint256 cost, uint256 expires)

func (*EnsControllerFilterer) ParseNewPriceOracle

func (_EnsController *EnsControllerFilterer) ParseNewPriceOracle(log types.Log) (*EnsControllerNewPriceOracle, error)

ParseNewPriceOracle is a log parse operation binding the contract event 0xf261845a790fe29bbd6631e2ca4a5bdc83e6eed7c3271d9590d97287e00e9123.

Solidity: event NewPriceOracle(address indexed oracle)

func (*EnsControllerFilterer) ParseOwnershipTransferred

func (_EnsController *EnsControllerFilterer) ParseOwnershipTransferred(log types.Log) (*EnsControllerOwnershipTransferred, error)

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

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

func (*EnsControllerFilterer) WatchNameRegistered

func (_EnsController *EnsControllerFilterer) WatchNameRegistered(opts *bind.WatchOpts, sink chan<- *EnsControllerNameRegistered, label [][32]byte, owner []common.Address) (event.Subscription, error)

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

Solidity: event NameRegistered(string name, bytes32 indexed label, address indexed owner, uint256 cost, uint256 expires)

func (*EnsControllerFilterer) WatchNameRenewed

func (_EnsController *EnsControllerFilterer) WatchNameRenewed(opts *bind.WatchOpts, sink chan<- *EnsControllerNameRenewed, label [][32]byte) (event.Subscription, error)

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

Solidity: event NameRenewed(string name, bytes32 indexed label, uint256 cost, uint256 expires)

func (*EnsControllerFilterer) WatchNewPriceOracle

func (_EnsController *EnsControllerFilterer) WatchNewPriceOracle(opts *bind.WatchOpts, sink chan<- *EnsControllerNewPriceOracle, oracle []common.Address) (event.Subscription, error)

WatchNewPriceOracle is a free log subscription operation binding the contract event 0xf261845a790fe29bbd6631e2ca4a5bdc83e6eed7c3271d9590d97287e00e9123.

Solidity: event NewPriceOracle(address indexed oracle)

func (*EnsControllerFilterer) WatchOwnershipTransferred

func (_EnsController *EnsControllerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *EnsControllerOwnershipTransferred, 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)

type EnsControllerNameRegistered

type EnsControllerNameRegistered struct {
	Name    string
	Label   [32]byte
	Owner   common.Address
	Cost    *big.Int
	Expires *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

EnsControllerNameRegistered represents a NameRegistered event raised by the EnsController contract.

type EnsControllerNameRegisteredIterator

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

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

func (*EnsControllerNameRegisteredIterator) Close

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

func (*EnsControllerNameRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsControllerNameRegisteredIterator) 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 EnsControllerNameRenewed

type EnsControllerNameRenewed struct {
	Name    string
	Label   [32]byte
	Cost    *big.Int
	Expires *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

EnsControllerNameRenewed represents a NameRenewed event raised by the EnsController contract.

type EnsControllerNameRenewedIterator

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

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

func (*EnsControllerNameRenewedIterator) Close

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

func (*EnsControllerNameRenewedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsControllerNameRenewedIterator) 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 EnsControllerNewPriceOracle

type EnsControllerNewPriceOracle struct {
	Oracle common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

EnsControllerNewPriceOracle represents a NewPriceOracle event raised by the EnsController contract.

type EnsControllerNewPriceOracleIterator

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

EnsControllerNewPriceOracleIterator is returned from FilterNewPriceOracle and is used to iterate over the raw logs and unpacked data for NewPriceOracle events raised by the EnsController contract.

func (*EnsControllerNewPriceOracleIterator) Close

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

func (*EnsControllerNewPriceOracleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsControllerNewPriceOracleIterator) 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 EnsControllerOwnershipTransferred

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

EnsControllerOwnershipTransferred represents a OwnershipTransferred event raised by the EnsController contract.

type EnsControllerOwnershipTransferredIterator

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

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

func (*EnsControllerOwnershipTransferredIterator) Close

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

func (*EnsControllerOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsControllerOwnershipTransferredIterator) 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 EnsControllerRaw

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

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

func (*EnsControllerRaw) Call

func (_EnsController *EnsControllerRaw) 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 (*EnsControllerRaw) Transact

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

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

func (*EnsControllerRaw) Transfer

func (_EnsController *EnsControllerRaw) 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 EnsControllerSession

type EnsControllerSession struct {
	Contract     *EnsController    // 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
}

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

func (*EnsControllerSession) Available

func (_EnsController *EnsControllerSession) Available(name string) (bool, error)

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

Solidity: function available(string name) view returns(bool)

func (*EnsControllerSession) Commit

func (_EnsController *EnsControllerSession) Commit(commitment [32]byte) (*types.Transaction, error)

Commit is a paid mutator transaction binding the contract method 0xf14fcbc8.

Solidity: function commit(bytes32 commitment) returns()

func (*EnsControllerSession) Commitments

func (_EnsController *EnsControllerSession) Commitments(arg0 [32]byte) (*big.Int, error)

Commitments is a free data retrieval call binding the contract method 0x839df945.

Solidity: function commitments(bytes32 ) view returns(uint256)

func (*EnsControllerSession) IsOwner

func (_EnsController *EnsControllerSession) IsOwner() (bool, error)

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

Solidity: function isOwner() view returns(bool)

func (*EnsControllerSession) MINREGISTRATIONDURATION

func (_EnsController *EnsControllerSession) MINREGISTRATIONDURATION() (*big.Int, error)

MINREGISTRATIONDURATION is a free data retrieval call binding the contract method 0x8a95b09f.

Solidity: function MIN_REGISTRATION_DURATION() view returns(uint256)

func (*EnsControllerSession) MakeCommitment

func (_EnsController *EnsControllerSession) MakeCommitment(name string, owner common.Address, secret [32]byte) ([32]byte, error)

MakeCommitment is a free data retrieval call binding the contract method 0xf49826be.

Solidity: function makeCommitment(string name, address owner, bytes32 secret) pure returns(bytes32)

func (*EnsControllerSession) MakeCommitmentWithConfig

func (_EnsController *EnsControllerSession) MakeCommitmentWithConfig(name string, owner common.Address, secret [32]byte, resolver common.Address, addr common.Address) ([32]byte, error)

MakeCommitmentWithConfig is a free data retrieval call binding the contract method 0x3d86c52f.

Solidity: function makeCommitmentWithConfig(string name, address owner, bytes32 secret, address resolver, address addr) pure returns(bytes32)

func (*EnsControllerSession) MaxCommitmentAge

func (_EnsController *EnsControllerSession) MaxCommitmentAge() (*big.Int, error)

MaxCommitmentAge is a free data retrieval call binding the contract method 0xce1e09c0.

Solidity: function maxCommitmentAge() view returns(uint256)

func (*EnsControllerSession) MinCommitmentAge

func (_EnsController *EnsControllerSession) MinCommitmentAge() (*big.Int, error)

MinCommitmentAge is a free data retrieval call binding the contract method 0x8d839ffe.

Solidity: function minCommitmentAge() view returns(uint256)

func (*EnsControllerSession) Owner

func (_EnsController *EnsControllerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*EnsControllerSession) Register

func (_EnsController *EnsControllerSession) Register(name string, owner common.Address, duration *big.Int, secret [32]byte) (*types.Transaction, error)

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

Solidity: function register(string name, address owner, uint256 duration, bytes32 secret) payable returns()

func (*EnsControllerSession) RegisterWithConfig

func (_EnsController *EnsControllerSession) RegisterWithConfig(name string, owner common.Address, duration *big.Int, secret [32]byte, resolver common.Address, addr common.Address) (*types.Transaction, error)

RegisterWithConfig is a paid mutator transaction binding the contract method 0xf7a16963.

Solidity: function registerWithConfig(string name, address owner, uint256 duration, bytes32 secret, address resolver, address addr) payable returns()

func (*EnsControllerSession) Renew

func (_EnsController *EnsControllerSession) Renew(name string, duration *big.Int) (*types.Transaction, error)

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

Solidity: function renew(string name, uint256 duration) payable returns()

func (*EnsControllerSession) RenounceOwnership

func (_EnsController *EnsControllerSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*EnsControllerSession) RentPrice

func (_EnsController *EnsControllerSession) RentPrice(name string, duration *big.Int) (*big.Int, error)

RentPrice is a free data retrieval call binding the contract method 0x83e7f6ff.

Solidity: function rentPrice(string name, uint256 duration) view returns(uint256)

func (*EnsControllerSession) SetCommitmentAges

func (_EnsController *EnsControllerSession) SetCommitmentAges(_minCommitmentAge *big.Int, _maxCommitmentAge *big.Int) (*types.Transaction, error)

SetCommitmentAges is a paid mutator transaction binding the contract method 0x7e324479.

Solidity: function setCommitmentAges(uint256 _minCommitmentAge, uint256 _maxCommitmentAge) returns()

func (*EnsControllerSession) SetPriceOracle

func (_EnsController *EnsControllerSession) SetPriceOracle(_prices common.Address) (*types.Transaction, error)

SetPriceOracle is a paid mutator transaction binding the contract method 0x530e784f.

Solidity: function setPriceOracle(address _prices) returns()

func (*EnsControllerSession) SupportsInterface

func (_EnsController *EnsControllerSession) SupportsInterface(interfaceID [4]byte) (bool, error)

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

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

func (*EnsControllerSession) TransferOwnership

func (_EnsController *EnsControllerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*EnsControllerSession) Valid

func (_EnsController *EnsControllerSession) Valid(name string) (bool, error)

Valid is a free data retrieval call binding the contract method 0x9791c097.

Solidity: function valid(string name) pure returns(bool)

func (*EnsControllerSession) Withdraw

func (_EnsController *EnsControllerSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type EnsControllerTransactor

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

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

func NewEnsControllerTransactor

func NewEnsControllerTransactor(address common.Address, transactor bind.ContractTransactor) (*EnsControllerTransactor, error)

NewEnsControllerTransactor creates a new write-only instance of EnsController, bound to a specific deployed contract.

func (*EnsControllerTransactor) Commit

func (_EnsController *EnsControllerTransactor) Commit(opts *bind.TransactOpts, commitment [32]byte) (*types.Transaction, error)

Commit is a paid mutator transaction binding the contract method 0xf14fcbc8.

Solidity: function commit(bytes32 commitment) returns()

func (*EnsControllerTransactor) Register

func (_EnsController *EnsControllerTransactor) Register(opts *bind.TransactOpts, name string, owner common.Address, duration *big.Int, secret [32]byte) (*types.Transaction, error)

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

Solidity: function register(string name, address owner, uint256 duration, bytes32 secret) payable returns()

func (*EnsControllerTransactor) RegisterWithConfig

func (_EnsController *EnsControllerTransactor) RegisterWithConfig(opts *bind.TransactOpts, name string, owner common.Address, duration *big.Int, secret [32]byte, resolver common.Address, addr common.Address) (*types.Transaction, error)

RegisterWithConfig is a paid mutator transaction binding the contract method 0xf7a16963.

Solidity: function registerWithConfig(string name, address owner, uint256 duration, bytes32 secret, address resolver, address addr) payable returns()

func (*EnsControllerTransactor) Renew

func (_EnsController *EnsControllerTransactor) Renew(opts *bind.TransactOpts, name string, duration *big.Int) (*types.Transaction, error)

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

Solidity: function renew(string name, uint256 duration) payable returns()

func (*EnsControllerTransactor) RenounceOwnership

func (_EnsController *EnsControllerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*EnsControllerTransactor) SetCommitmentAges

func (_EnsController *EnsControllerTransactor) SetCommitmentAges(opts *bind.TransactOpts, _minCommitmentAge *big.Int, _maxCommitmentAge *big.Int) (*types.Transaction, error)

SetCommitmentAges is a paid mutator transaction binding the contract method 0x7e324479.

Solidity: function setCommitmentAges(uint256 _minCommitmentAge, uint256 _maxCommitmentAge) returns()

func (*EnsControllerTransactor) SetPriceOracle

func (_EnsController *EnsControllerTransactor) SetPriceOracle(opts *bind.TransactOpts, _prices common.Address) (*types.Transaction, error)

SetPriceOracle is a paid mutator transaction binding the contract method 0x530e784f.

Solidity: function setPriceOracle(address _prices) returns()

func (*EnsControllerTransactor) TransferOwnership

func (_EnsController *EnsControllerTransactor) 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()

func (*EnsControllerTransactor) Withdraw

func (_EnsController *EnsControllerTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type EnsControllerTransactorRaw

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

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

func (*EnsControllerTransactorRaw) Transact

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

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

func (*EnsControllerTransactorRaw) Transfer

func (_EnsController *EnsControllerTransactorRaw) 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 EnsControllerTransactorSession

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

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

func (*EnsControllerTransactorSession) Commit

func (_EnsController *EnsControllerTransactorSession) Commit(commitment [32]byte) (*types.Transaction, error)

Commit is a paid mutator transaction binding the contract method 0xf14fcbc8.

Solidity: function commit(bytes32 commitment) returns()

func (*EnsControllerTransactorSession) Register

func (_EnsController *EnsControllerTransactorSession) Register(name string, owner common.Address, duration *big.Int, secret [32]byte) (*types.Transaction, error)

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

Solidity: function register(string name, address owner, uint256 duration, bytes32 secret) payable returns()

func (*EnsControllerTransactorSession) RegisterWithConfig

func (_EnsController *EnsControllerTransactorSession) RegisterWithConfig(name string, owner common.Address, duration *big.Int, secret [32]byte, resolver common.Address, addr common.Address) (*types.Transaction, error)

RegisterWithConfig is a paid mutator transaction binding the contract method 0xf7a16963.

Solidity: function registerWithConfig(string name, address owner, uint256 duration, bytes32 secret, address resolver, address addr) payable returns()

func (*EnsControllerTransactorSession) Renew

func (_EnsController *EnsControllerTransactorSession) Renew(name string, duration *big.Int) (*types.Transaction, error)

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

Solidity: function renew(string name, uint256 duration) payable returns()

func (*EnsControllerTransactorSession) RenounceOwnership

func (_EnsController *EnsControllerTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*EnsControllerTransactorSession) SetCommitmentAges

func (_EnsController *EnsControllerTransactorSession) SetCommitmentAges(_minCommitmentAge *big.Int, _maxCommitmentAge *big.Int) (*types.Transaction, error)

SetCommitmentAges is a paid mutator transaction binding the contract method 0x7e324479.

Solidity: function setCommitmentAges(uint256 _minCommitmentAge, uint256 _maxCommitmentAge) returns()

func (*EnsControllerTransactorSession) SetPriceOracle

func (_EnsController *EnsControllerTransactorSession) SetPriceOracle(_prices common.Address) (*types.Transaction, error)

SetPriceOracle is a paid mutator transaction binding the contract method 0x530e784f.

Solidity: function setPriceOracle(address _prices) returns()

func (*EnsControllerTransactorSession) TransferOwnership

func (_EnsController *EnsControllerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*EnsControllerTransactorSession) Withdraw

func (_EnsController *EnsControllerTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

Jump to

Keyboard shortcuts

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