Documentation ¶
Index ¶
- Variables
- type Contract
- type ContractCaller
- func (_Contract *ContractCaller) Available(opts *bind.CallOpts, name string) (bool, error)
- func (_Contract *ContractCaller) BaseExtension(opts *bind.CallOpts) (string, error)
- func (_Contract *ContractCaller) BaseNode(opts *bind.CallOpts) ([32]byte, error)
- func (_Contract *ContractCaller) Commitments(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Contract *ContractCaller) MINREGISTRATIONDURATION(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MakeCommitment(opts *bind.CallOpts, name string, owner common.Address, duration *big.Int, ...) ([32]byte, error)
- func (_Contract *ContractCaller) MaxCommitmentAge(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinCommitmentAge(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) NameWrapper(opts *bind.CallOpts) (common.Address, error)
- func (_Contract *ContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Contract *ContractCaller) Prices(opts *bind.CallOpts) (common.Address, error)
- func (_Contract *ContractCaller) RentPrice(opts *bind.CallOpts, name string, duration *big.Int) (IPriceOraclePrice, error)
- func (_Contract *ContractCaller) RevenueAccount(opts *bind.CallOpts) (common.Address, error)
- func (_Contract *ContractCaller) ReverseRegistrar(opts *bind.CallOpts) (common.Address, error)
- func (_Contract *ContractCaller) SupportsInterface(opts *bind.CallOpts, interfaceID [4]byte) (bool, error)
- func (_Contract *ContractCaller) Valid(opts *bind.CallOpts, name string) (bool, error)
- type ContractCallerRaw
- type ContractCallerSession
- func (_Contract *ContractCallerSession) Available(name string) (bool, error)
- func (_Contract *ContractCallerSession) BaseExtension() (string, error)
- func (_Contract *ContractCallerSession) BaseNode() ([32]byte, error)
- func (_Contract *ContractCallerSession) Commitments(arg0 [32]byte) (*big.Int, error)
- func (_Contract *ContractCallerSession) MINREGISTRATIONDURATION() (*big.Int, error)
- func (_Contract *ContractCallerSession) MakeCommitment(name string, owner common.Address, duration *big.Int, secret [32]byte, ...) ([32]byte, error)
- func (_Contract *ContractCallerSession) MaxCommitmentAge() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinCommitmentAge() (*big.Int, error)
- func (_Contract *ContractCallerSession) NameWrapper() (common.Address, error)
- func (_Contract *ContractCallerSession) Owner() (common.Address, error)
- func (_Contract *ContractCallerSession) Prices() (common.Address, error)
- func (_Contract *ContractCallerSession) RentPrice(name string, duration *big.Int) (IPriceOraclePrice, error)
- func (_Contract *ContractCallerSession) RevenueAccount() (common.Address, error)
- func (_Contract *ContractCallerSession) ReverseRegistrar() (common.Address, error)
- func (_Contract *ContractCallerSession) SupportsInterface(interfaceID [4]byte) (bool, error)
- func (_Contract *ContractCallerSession) Valid(name string) (bool, error)
- type ContractFilterer
- func (_Contract *ContractFilterer) FilterNameRegistered(opts *bind.FilterOpts, label [][32]byte, owner []common.Address) (*ContractNameRegisteredIterator, error)
- func (_Contract *ContractFilterer) FilterNameRenewed(opts *bind.FilterOpts, label [][32]byte) (*ContractNameRenewedIterator, error)
- func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ContractOwnershipTransferredIterator, error)
- func (_Contract *ContractFilterer) FilterPriceOracleChanged(opts *bind.FilterOpts) (*ContractPriceOracleChangedIterator, error)
- func (_Contract *ContractFilterer) ParseNameRegistered(log types.Log) (*ContractNameRegistered, error)
- func (_Contract *ContractFilterer) ParseNameRenewed(log types.Log) (*ContractNameRenewed, error)
- func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)
- func (_Contract *ContractFilterer) ParsePriceOracleChanged(log types.Log) (*ContractPriceOracleChanged, error)
- func (_Contract *ContractFilterer) WatchNameRegistered(opts *bind.WatchOpts, sink chan<- *ContractNameRegistered, label [][32]byte, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchNameRenewed(opts *bind.WatchOpts, sink chan<- *ContractNameRenewed, label [][32]byte) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchPriceOracleChanged(opts *bind.WatchOpts, sink chan<- *ContractPriceOracleChanged) (event.Subscription, error)
- type ContractNameRegistered
- type ContractNameRegisteredIterator
- type ContractNameRenewed
- type ContractNameRenewedIterator
- type ContractOwnershipTransferred
- type ContractOwnershipTransferredIterator
- type ContractPriceOracleChanged
- type ContractPriceOracleChangedIterator
- type ContractRaw
- func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractSession
- func (_Contract *ContractSession) Available(name string) (bool, error)
- func (_Contract *ContractSession) BaseExtension() (string, error)
- func (_Contract *ContractSession) BaseNode() ([32]byte, error)
- func (_Contract *ContractSession) Commit(commitment [32]byte) (*types.Transaction, error)
- func (_Contract *ContractSession) Commitments(arg0 [32]byte) (*big.Int, error)
- func (_Contract *ContractSession) MINREGISTRATIONDURATION() (*big.Int, error)
- func (_Contract *ContractSession) MakeCommitment(name string, owner common.Address, duration *big.Int, secret [32]byte, ...) ([32]byte, error)
- func (_Contract *ContractSession) MaxCommitmentAge() (*big.Int, error)
- func (_Contract *ContractSession) MinCommitmentAge() (*big.Int, error)
- func (_Contract *ContractSession) NameWrapper() (common.Address, error)
- func (_Contract *ContractSession) Owner() (common.Address, error)
- func (_Contract *ContractSession) Prices() (common.Address, error)
- func (_Contract *ContractSession) RecoverFunds(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) Register(name string, owner common.Address, duration *big.Int, secret [32]byte, ...) (*types.Transaction, error)
- func (_Contract *ContractSession) Renew(name string, duration *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) RenewWithFuses(name string, duration *big.Int, fuses uint32, wrapperExpiry uint64) (*types.Transaction, error)
- func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)
- func (_Contract *ContractSession) RentPrice(name string, duration *big.Int) (IPriceOraclePrice, error)
- func (_Contract *ContractSession) RevenueAccount() (common.Address, error)
- func (_Contract *ContractSession) ReverseRegistrar() (common.Address, error)
- func (_Contract *ContractSession) SetPrices(_prices common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) SupportsInterface(interfaceID [4]byte) (bool, error)
- func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) Valid(name string) (bool, error)
- func (_Contract *ContractSession) Withdraw() (*types.Transaction, error)
- type ContractTransactor
- func (_Contract *ContractTransactor) Commit(opts *bind.TransactOpts, commitment [32]byte) (*types.Transaction, error)
- func (_Contract *ContractTransactor) RecoverFunds(opts *bind.TransactOpts, _token common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Register(opts *bind.TransactOpts, name string, owner common.Address, duration *big.Int, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Renew(opts *bind.TransactOpts, name string, duration *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) RenewWithFuses(opts *bind.TransactOpts, name string, duration *big.Int, fuses uint32, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetPrices(opts *bind.TransactOpts, _prices common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractTransactorRaw
- type ContractTransactorSession
- func (_Contract *ContractTransactorSession) Commit(commitment [32]byte) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) RecoverFunds(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Register(name string, owner common.Address, duration *big.Int, secret [32]byte, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Renew(name string, duration *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) RenewWithFuses(name string, duration *big.Int, fuses uint32, wrapperExpiry uint64) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetPrices(_prices common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Withdraw() (*types.Transaction, error)
- type IPriceOraclePrice
Constants ¶
This section is empty.
Variables ¶
var ContractABI = ContractMetaData.ABI
ContractABI is the input ABI used to generate the binding from. Deprecated: Use ContractMetaData.ABI instead.
var ContractMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractTLDBaseRegistrarImplementation\",\"name\":\"_base\",\"type\":\"address\"},{\"internalType\":\"contractIPriceOracle\",\"name\":\"_prices\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_minCommitmentAge\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxCommitmentAge\",\"type\":\"uint256\"},{\"internalType\":\"contractReverseRegistrar\",\"name\":\"_reverseRegistrar\",\"type\":\"address\"},{\"internalType\":\"contractINameWrapper\",\"name\":\"_nameWrapper\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_baseNode\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_baseExtension\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_revenueAccount\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"name\":\"CommitmentTooNew\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"name\":\"CommitmentTooOld\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"DurationTooShort\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MaxCommitmentAgeTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MaxCommitmentAgeTooLow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"NameNotAvailable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ResolverRequiredWhenDataSupplied\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"Unauthorised\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"name\":\"UnexpiredCommitmentExists\",\"type\":\"error\"},{\"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\":\"baseCost\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"premium\",\"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\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"PriceOracleChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MIN_REGISTRATION_DURATION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"available\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseExtension\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseNode\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"name\":\"commit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"commitments\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"},{\"internalType\":\"bool\",\"name\":\"reverseRecord\",\"type\":\"bool\"},{\"internalType\":\"uint32\",\"name\":\"fuses\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"wrapperExpiry\",\"type\":\"uint64\"}],\"name\":\"makeCommitment\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxCommitmentAge\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minCommitmentAge\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nameWrapper\",\"outputs\":[{\"internalType\":\"contractINameWrapper\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"prices\",\"outputs\":[{\"internalType\":\"contractIPriceOracle\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"recoverFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"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\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"},{\"internalType\":\"bool\",\"name\":\"reverseRecord\",\"type\":\"bool\"},{\"internalType\":\"uint32\",\"name\":\"fuses\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"wrapperExpiry\",\"type\":\"uint64\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"renew\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"fuses\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"wrapperExpiry\",\"type\":\"uint64\"}],\"name\":\"renewWithFuses\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"rentPrice\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"base\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"premium\",\"type\":\"uint256\"}],\"internalType\":\"structIPriceOracle.Price\",\"name\":\"price\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"revenueAccount\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reverseRegistrar\",\"outputs\":[{\"internalType\":\"contractReverseRegistrar\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPriceOracle\",\"name\":\"_prices\",\"type\":\"address\"}],\"name\":\"setPrices\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"valid\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
ContractMetaData contains all meta data concerning the Contract contract.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { ContractCaller // Read-only binding to the contract ContractTransactor // Write-only binding to the contract ContractFilterer // Log filterer for contract events }
Contract is an auto generated Go binding around an Ethereum contract.
func NewContract ¶
NewContract creates a new instance of Contract, bound to a specific deployed contract.
type ContractCaller ¶
type ContractCaller struct {
// contains filtered or unexported fields
}
ContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractCaller ¶
func NewContractCaller(address common.Address, caller bind.ContractCaller) (*ContractCaller, error)
NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.
func (*ContractCaller) Available ¶
Available is a free data retrieval call binding the contract method 0xaeb8ce9b.
Solidity: function available(string name) view returns(bool)
func (*ContractCaller) BaseExtension ¶
func (_Contract *ContractCaller) BaseExtension(opts *bind.CallOpts) (string, error)
BaseExtension is a free data retrieval call binding the contract method 0xc6682862.
Solidity: function baseExtension() view returns(string)
func (*ContractCaller) BaseNode ¶
func (_Contract *ContractCaller) 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 (*ContractCaller) Commitments ¶
Commitments is a free data retrieval call binding the contract method 0x839df945.
Solidity: function commitments(bytes32 ) view returns(uint256)
func (*ContractCaller) MINREGISTRATIONDURATION ¶
MINREGISTRATIONDURATION is a free data retrieval call binding the contract method 0x8a95b09f.
Solidity: function MIN_REGISTRATION_DURATION() view returns(uint256)
func (*ContractCaller) MakeCommitment ¶
func (_Contract *ContractCaller) MakeCommitment(opts *bind.CallOpts, name string, owner common.Address, duration *big.Int, secret [32]byte, resolver common.Address, data [][]byte, reverseRecord bool, fuses uint32, wrapperExpiry uint64) ([32]byte, error)
MakeCommitment is a free data retrieval call binding the contract method 0xd555254a.
Solidity: function makeCommitment(string name, address owner, uint256 duration, bytes32 secret, address resolver, bytes[] data, bool reverseRecord, uint32 fuses, uint64 wrapperExpiry) pure returns(bytes32)
func (*ContractCaller) MaxCommitmentAge ¶
MaxCommitmentAge is a free data retrieval call binding the contract method 0xce1e09c0.
Solidity: function maxCommitmentAge() view returns(uint256)
func (*ContractCaller) MinCommitmentAge ¶
MinCommitmentAge is a free data retrieval call binding the contract method 0x8d839ffe.
Solidity: function minCommitmentAge() view returns(uint256)
func (*ContractCaller) NameWrapper ¶
NameWrapper is a free data retrieval call binding the contract method 0xa8e5fbc0.
Solidity: function nameWrapper() view returns(address)
func (*ContractCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractCaller) Prices ¶
Prices is a free data retrieval call binding the contract method 0xd3419bf3.
Solidity: function prices() view returns(address)
func (*ContractCaller) RentPrice ¶
func (_Contract *ContractCaller) RentPrice(opts *bind.CallOpts, name string, duration *big.Int) (IPriceOraclePrice, error)
RentPrice is a free data retrieval call binding the contract method 0x83e7f6ff.
Solidity: function rentPrice(string name, uint256 duration) view returns((uint256,uint256) price)
func (*ContractCaller) RevenueAccount ¶ added in v0.1.6
RevenueAccount is a free data retrieval call binding the contract method 0xf5dc7d56.
Solidity: function revenueAccount() view returns(address)
func (*ContractCaller) ReverseRegistrar ¶
ReverseRegistrar is a free data retrieval call binding the contract method 0x80869853.
Solidity: function reverseRegistrar() view returns(address)
func (*ContractCaller) SupportsInterface ¶
func (_Contract *ContractCaller) 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)
type ContractCallerRaw ¶
type ContractCallerRaw struct {
Contract *ContractCaller // Generic read-only contract binding to access the raw methods on
}
ContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractCallerRaw) Call ¶
func (_Contract *ContractCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ContractCallerSession ¶
type ContractCallerSession struct { Contract *ContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ContractCallerSession) Available ¶
func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) BaseExtension ¶
func (_Contract *ContractCallerSession) BaseExtension() (string, error)
BaseExtension is a free data retrieval call binding the contract method 0xc6682862.
Solidity: function baseExtension() view returns(string)
func (*ContractCallerSession) BaseNode ¶
func (_Contract *ContractCallerSession) BaseNode() ([32]byte, error)
BaseNode is a free data retrieval call binding the contract method 0xddf7fcb0.
Solidity: function baseNode() view returns(bytes32)
func (*ContractCallerSession) Commitments ¶
func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) MINREGISTRATIONDURATION ¶
func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) MakeCommitment ¶
func (_Contract *ContractCallerSession) MakeCommitment(name string, owner common.Address, duration *big.Int, secret [32]byte, resolver common.Address, data [][]byte, reverseRecord bool, fuses uint32, wrapperExpiry uint64) ([32]byte, error)
MakeCommitment is a free data retrieval call binding the contract method 0xd555254a.
Solidity: function makeCommitment(string name, address owner, uint256 duration, bytes32 secret, address resolver, bytes[] data, bool reverseRecord, uint32 fuses, uint64 wrapperExpiry) pure returns(bytes32)
func (*ContractCallerSession) MaxCommitmentAge ¶
func (_Contract *ContractCallerSession) MaxCommitmentAge() (*big.Int, error)
MaxCommitmentAge is a free data retrieval call binding the contract method 0xce1e09c0.
Solidity: function maxCommitmentAge() view returns(uint256)
func (*ContractCallerSession) MinCommitmentAge ¶
func (_Contract *ContractCallerSession) MinCommitmentAge() (*big.Int, error)
MinCommitmentAge is a free data retrieval call binding the contract method 0x8d839ffe.
Solidity: function minCommitmentAge() view returns(uint256)
func (*ContractCallerSession) NameWrapper ¶
func (_Contract *ContractCallerSession) NameWrapper() (common.Address, error)
NameWrapper is a free data retrieval call binding the contract method 0xa8e5fbc0.
Solidity: function nameWrapper() view returns(address)
func (*ContractCallerSession) Owner ¶
func (_Contract *ContractCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractCallerSession) Prices ¶
func (_Contract *ContractCallerSession) Prices() (common.Address, error)
Prices is a free data retrieval call binding the contract method 0xd3419bf3.
Solidity: function prices() view returns(address)
func (*ContractCallerSession) RentPrice ¶
func (_Contract *ContractCallerSession) RentPrice(name string, duration *big.Int) (IPriceOraclePrice, error)
RentPrice is a free data retrieval call binding the contract method 0x83e7f6ff.
Solidity: function rentPrice(string name, uint256 duration) view returns((uint256,uint256) price)
func (*ContractCallerSession) RevenueAccount ¶ added in v0.1.6
func (_Contract *ContractCallerSession) RevenueAccount() (common.Address, error)
RevenueAccount is a free data retrieval call binding the contract method 0xf5dc7d56.
Solidity: function revenueAccount() view returns(address)
func (*ContractCallerSession) ReverseRegistrar ¶
func (_Contract *ContractCallerSession) ReverseRegistrar() (common.Address, error)
ReverseRegistrar is a free data retrieval call binding the contract method 0x80869853.
Solidity: function reverseRegistrar() view returns(address)
func (*ContractCallerSession) SupportsInterface ¶
func (_Contract *ContractCallerSession) 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)
type ContractFilterer ¶
type ContractFilterer struct {
// contains filtered or unexported fields
}
ContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractFilterer ¶
func NewContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractFilterer, error)
NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.
func (*ContractFilterer) FilterNameRegistered ¶
func (_Contract *ContractFilterer) FilterNameRegistered(opts *bind.FilterOpts, label [][32]byte, owner []common.Address) (*ContractNameRegisteredIterator, error)
FilterNameRegistered is a free log retrieval operation binding the contract event 0x69e37f151eb98a09618ddaa80c8cfaf1ce5996867c489f45b555b412271ebf27.
Solidity: event NameRegistered(string name, bytes32 indexed label, address indexed owner, uint256 baseCost, uint256 premium, uint256 expires)
func (*ContractFilterer) FilterNameRenewed ¶
func (_Contract *ContractFilterer) FilterNameRenewed(opts *bind.FilterOpts, label [][32]byte) (*ContractNameRenewedIterator, 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 (*ContractFilterer) FilterOwnershipTransferred ¶
func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractFilterer) FilterPriceOracleChanged ¶ added in v0.1.6
func (_Contract *ContractFilterer) FilterPriceOracleChanged(opts *bind.FilterOpts) (*ContractPriceOracleChangedIterator, error)
FilterPriceOracleChanged is a free log retrieval operation binding the contract event 0x40bddd72ea96b80dae14e3d13e8ce2c4ecd2500d88c6c0004d24a00deab28f9c.
Solidity: event PriceOracleChanged(address oldAddress, address newAddress)
func (*ContractFilterer) ParseNameRegistered ¶
func (_Contract *ContractFilterer) ParseNameRegistered(log types.Log) (*ContractNameRegistered, error)
ParseNameRegistered is a log parse operation binding the contract event 0x69e37f151eb98a09618ddaa80c8cfaf1ce5996867c489f45b555b412271ebf27.
Solidity: event NameRegistered(string name, bytes32 indexed label, address indexed owner, uint256 baseCost, uint256 premium, uint256 expires)
func (*ContractFilterer) ParseNameRenewed ¶
func (_Contract *ContractFilterer) ParseNameRenewed(log types.Log) (*ContractNameRenewed, 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 (*ContractFilterer) ParseOwnershipTransferred ¶
func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractFilterer) ParsePriceOracleChanged ¶ added in v0.1.6
func (_Contract *ContractFilterer) ParsePriceOracleChanged(log types.Log) (*ContractPriceOracleChanged, error)
ParsePriceOracleChanged is a log parse operation binding the contract event 0x40bddd72ea96b80dae14e3d13e8ce2c4ecd2500d88c6c0004d24a00deab28f9c.
Solidity: event PriceOracleChanged(address oldAddress, address newAddress)
func (*ContractFilterer) WatchNameRegistered ¶
func (_Contract *ContractFilterer) WatchNameRegistered(opts *bind.WatchOpts, sink chan<- *ContractNameRegistered, label [][32]byte, owner []common.Address) (event.Subscription, error)
WatchNameRegistered is a free log subscription operation binding the contract event 0x69e37f151eb98a09618ddaa80c8cfaf1ce5996867c489f45b555b412271ebf27.
Solidity: event NameRegistered(string name, bytes32 indexed label, address indexed owner, uint256 baseCost, uint256 premium, uint256 expires)
func (*ContractFilterer) WatchNameRenewed ¶
func (_Contract *ContractFilterer) WatchNameRenewed(opts *bind.WatchOpts, sink chan<- *ContractNameRenewed, 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 (*ContractFilterer) WatchOwnershipTransferred ¶
func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, 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 (*ContractFilterer) WatchPriceOracleChanged ¶ added in v0.1.6
func (_Contract *ContractFilterer) WatchPriceOracleChanged(opts *bind.WatchOpts, sink chan<- *ContractPriceOracleChanged) (event.Subscription, error)
WatchPriceOracleChanged is a free log subscription operation binding the contract event 0x40bddd72ea96b80dae14e3d13e8ce2c4ecd2500d88c6c0004d24a00deab28f9c.
Solidity: event PriceOracleChanged(address oldAddress, address newAddress)
type ContractNameRegistered ¶
type ContractNameRegistered struct { Name string Label [32]byte Owner common.Address BaseCost *big.Int Premium *big.Int Expires *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractNameRegistered represents a NameRegistered event raised by the Contract contract.
type ContractNameRegisteredIterator ¶
type ContractNameRegisteredIterator struct { Event *ContractNameRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractNameRegisteredIterator is returned from FilterNameRegistered and is used to iterate over the raw logs and unpacked data for NameRegistered events raised by the Contract contract.
func (*ContractNameRegisteredIterator) Close ¶
func (it *ContractNameRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractNameRegisteredIterator) Error ¶
func (it *ContractNameRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractNameRegisteredIterator) Next ¶
func (it *ContractNameRegisteredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ContractNameRenewed ¶
type ContractNameRenewed struct { Name string Label [32]byte Cost *big.Int Expires *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractNameRenewed represents a NameRenewed event raised by the Contract contract.
type ContractNameRenewedIterator ¶
type ContractNameRenewedIterator struct { Event *ContractNameRenewed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractNameRenewedIterator is returned from FilterNameRenewed and is used to iterate over the raw logs and unpacked data for NameRenewed events raised by the Contract contract.
func (*ContractNameRenewedIterator) Close ¶
func (it *ContractNameRenewedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractNameRenewedIterator) Error ¶
func (it *ContractNameRenewedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractNameRenewedIterator) Next ¶
func (it *ContractNameRenewedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ContractOwnershipTransferred ¶
type ContractOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ContractOwnershipTransferred represents a OwnershipTransferred event raised by the Contract contract.
type ContractOwnershipTransferredIterator ¶
type ContractOwnershipTransferredIterator struct { Event *ContractOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Contract contract.
func (*ContractOwnershipTransferredIterator) Close ¶
func (it *ContractOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractOwnershipTransferredIterator) Error ¶
func (it *ContractOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractOwnershipTransferredIterator) Next ¶
func (it *ContractOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ContractPriceOracleChanged ¶ added in v0.1.6
type ContractPriceOracleChanged struct { OldAddress common.Address NewAddress common.Address Raw types.Log // Blockchain specific contextual infos }
ContractPriceOracleChanged represents a PriceOracleChanged event raised by the Contract contract.
type ContractPriceOracleChangedIterator ¶ added in v0.1.6
type ContractPriceOracleChangedIterator struct { Event *ContractPriceOracleChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractPriceOracleChangedIterator is returned from FilterPriceOracleChanged and is used to iterate over the raw logs and unpacked data for PriceOracleChanged events raised by the Contract contract.
func (*ContractPriceOracleChangedIterator) Close ¶ added in v0.1.6
func (it *ContractPriceOracleChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractPriceOracleChangedIterator) Error ¶ added in v0.1.6
func (it *ContractPriceOracleChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractPriceOracleChangedIterator) Next ¶ added in v0.1.6
func (it *ContractPriceOracleChangedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ContractRaw ¶
type ContractRaw struct {
Contract *Contract // Generic contract binding to access the raw methods on
}
ContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractRaw) Call ¶
func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ContractRaw) Transact ¶
func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractRaw) Transfer ¶
func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractSession ¶
type ContractSession struct { Contract *Contract // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractSession) Available ¶
func (_Contract *ContractSession) 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 (*ContractSession) BaseExtension ¶
func (_Contract *ContractSession) BaseExtension() (string, error)
BaseExtension is a free data retrieval call binding the contract method 0xc6682862.
Solidity: function baseExtension() view returns(string)
func (*ContractSession) BaseNode ¶
func (_Contract *ContractSession) BaseNode() ([32]byte, error)
BaseNode is a free data retrieval call binding the contract method 0xddf7fcb0.
Solidity: function baseNode() view returns(bytes32)
func (*ContractSession) Commit ¶
func (_Contract *ContractSession) 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 (*ContractSession) Commitments ¶
func (_Contract *ContractSession) 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 (*ContractSession) MINREGISTRATIONDURATION ¶
func (_Contract *ContractSession) 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 (*ContractSession) MakeCommitment ¶
func (_Contract *ContractSession) MakeCommitment(name string, owner common.Address, duration *big.Int, secret [32]byte, resolver common.Address, data [][]byte, reverseRecord bool, fuses uint32, wrapperExpiry uint64) ([32]byte, error)
MakeCommitment is a free data retrieval call binding the contract method 0xd555254a.
Solidity: function makeCommitment(string name, address owner, uint256 duration, bytes32 secret, address resolver, bytes[] data, bool reverseRecord, uint32 fuses, uint64 wrapperExpiry) pure returns(bytes32)
func (*ContractSession) MaxCommitmentAge ¶
func (_Contract *ContractSession) MaxCommitmentAge() (*big.Int, error)
MaxCommitmentAge is a free data retrieval call binding the contract method 0xce1e09c0.
Solidity: function maxCommitmentAge() view returns(uint256)
func (*ContractSession) MinCommitmentAge ¶
func (_Contract *ContractSession) MinCommitmentAge() (*big.Int, error)
MinCommitmentAge is a free data retrieval call binding the contract method 0x8d839ffe.
Solidity: function minCommitmentAge() view returns(uint256)
func (*ContractSession) NameWrapper ¶
func (_Contract *ContractSession) NameWrapper() (common.Address, error)
NameWrapper is a free data retrieval call binding the contract method 0xa8e5fbc0.
Solidity: function nameWrapper() view returns(address)
func (*ContractSession) Owner ¶
func (_Contract *ContractSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractSession) Prices ¶
func (_Contract *ContractSession) Prices() (common.Address, error)
Prices is a free data retrieval call binding the contract method 0xd3419bf3.
Solidity: function prices() view returns(address)
func (*ContractSession) RecoverFunds ¶
func (_Contract *ContractSession) RecoverFunds(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
RecoverFunds is a paid mutator transaction binding the contract method 0x5d3590d5.
Solidity: function recoverFunds(address _token, address _to, uint256 _amount) returns()
func (*ContractSession) Register ¶
func (_Contract *ContractSession) Register(name string, owner common.Address, duration *big.Int, secret [32]byte, resolver common.Address, data [][]byte, reverseRecord bool, fuses uint32, wrapperExpiry uint64) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x7acaaf26.
Solidity: function register(string name, address owner, uint256 duration, bytes32 secret, address resolver, bytes[] data, bool reverseRecord, uint32 fuses, uint64 wrapperExpiry) payable returns()
func (*ContractSession) Renew ¶
func (_Contract *ContractSession) 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 (*ContractSession) RenewWithFuses ¶
func (_Contract *ContractSession) RenewWithFuses(name string, duration *big.Int, fuses uint32, wrapperExpiry uint64) (*types.Transaction, error)
RenewWithFuses is a paid mutator transaction binding the contract method 0x6459220f.
Solidity: function renewWithFuses(string name, uint256 duration, uint32 fuses, uint64 wrapperExpiry) payable returns()
func (*ContractSession) RenounceOwnership ¶
func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractSession) RentPrice ¶
func (_Contract *ContractSession) RentPrice(name string, duration *big.Int) (IPriceOraclePrice, error)
RentPrice is a free data retrieval call binding the contract method 0x83e7f6ff.
Solidity: function rentPrice(string name, uint256 duration) view returns((uint256,uint256) price)
func (*ContractSession) RevenueAccount ¶ added in v0.1.6
func (_Contract *ContractSession) RevenueAccount() (common.Address, error)
RevenueAccount is a free data retrieval call binding the contract method 0xf5dc7d56.
Solidity: function revenueAccount() view returns(address)
func (*ContractSession) ReverseRegistrar ¶
func (_Contract *ContractSession) ReverseRegistrar() (common.Address, error)
ReverseRegistrar is a free data retrieval call binding the contract method 0x80869853.
Solidity: function reverseRegistrar() view returns(address)
func (*ContractSession) SetPrices ¶ added in v0.1.6
func (_Contract *ContractSession) SetPrices(_prices common.Address) (*types.Transaction, error)
SetPrices is a paid mutator transaction binding the contract method 0x43861c5a.
Solidity: function setPrices(address _prices) returns()
func (*ContractSession) SupportsInterface ¶
func (_Contract *ContractSession) 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 (*ContractSession) TransferOwnership ¶
func (_Contract *ContractSession) 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 (*ContractSession) Valid ¶
func (_Contract *ContractSession) 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 (*ContractSession) Withdraw ¶
func (_Contract *ContractSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type ContractTransactor ¶
type ContractTransactor struct {
// contains filtered or unexported fields
}
ContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractTransactor ¶
func NewContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractTransactor, error)
NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.
func (*ContractTransactor) Commit ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) RecoverFunds ¶
func (_Contract *ContractTransactor) RecoverFunds(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
RecoverFunds is a paid mutator transaction binding the contract method 0x5d3590d5.
Solidity: function recoverFunds(address _token, address _to, uint256 _amount) returns()
func (*ContractTransactor) Register ¶
func (_Contract *ContractTransactor) Register(opts *bind.TransactOpts, name string, owner common.Address, duration *big.Int, secret [32]byte, resolver common.Address, data [][]byte, reverseRecord bool, fuses uint32, wrapperExpiry uint64) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x7acaaf26.
Solidity: function register(string name, address owner, uint256 duration, bytes32 secret, address resolver, bytes[] data, bool reverseRecord, uint32 fuses, uint64 wrapperExpiry) payable returns()
func (*ContractTransactor) Renew ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) RenewWithFuses ¶
func (_Contract *ContractTransactor) RenewWithFuses(opts *bind.TransactOpts, name string, duration *big.Int, fuses uint32, wrapperExpiry uint64) (*types.Transaction, error)
RenewWithFuses is a paid mutator transaction binding the contract method 0x6459220f.
Solidity: function renewWithFuses(string name, uint256 duration, uint32 fuses, uint64 wrapperExpiry) payable returns()
func (*ContractTransactor) RenounceOwnership ¶
func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractTransactor) SetPrices ¶ added in v0.1.6
func (_Contract *ContractTransactor) SetPrices(opts *bind.TransactOpts, _prices common.Address) (*types.Transaction, error)
SetPrices is a paid mutator transaction binding the contract method 0x43861c5a.
Solidity: function setPrices(address _prices) returns()
func (*ContractTransactor) TransferOwnership ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) Withdraw ¶
func (_Contract *ContractTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type ContractTransactorRaw ¶
type ContractTransactorRaw struct {
Contract *ContractTransactor // Generic write-only contract binding to access the raw methods on
}
ContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractTransactorRaw) Transact ¶
func (_Contract *ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractTransactorRaw) Transfer ¶
func (_Contract *ContractTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractTransactorSession ¶
type ContractTransactorSession struct { Contract *ContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ContractTransactorSession) Commit ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) RecoverFunds ¶
func (_Contract *ContractTransactorSession) RecoverFunds(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
RecoverFunds is a paid mutator transaction binding the contract method 0x5d3590d5.
Solidity: function recoverFunds(address _token, address _to, uint256 _amount) returns()
func (*ContractTransactorSession) Register ¶
func (_Contract *ContractTransactorSession) Register(name string, owner common.Address, duration *big.Int, secret [32]byte, resolver common.Address, data [][]byte, reverseRecord bool, fuses uint32, wrapperExpiry uint64) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x7acaaf26.
Solidity: function register(string name, address owner, uint256 duration, bytes32 secret, address resolver, bytes[] data, bool reverseRecord, uint32 fuses, uint64 wrapperExpiry) payable returns()
func (*ContractTransactorSession) Renew ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) RenewWithFuses ¶
func (_Contract *ContractTransactorSession) RenewWithFuses(name string, duration *big.Int, fuses uint32, wrapperExpiry uint64) (*types.Transaction, error)
RenewWithFuses is a paid mutator transaction binding the contract method 0x6459220f.
Solidity: function renewWithFuses(string name, uint256 duration, uint32 fuses, uint64 wrapperExpiry) payable returns()
func (*ContractTransactorSession) RenounceOwnership ¶
func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractTransactorSession) SetPrices ¶ added in v0.1.6
func (_Contract *ContractTransactorSession) SetPrices(_prices common.Address) (*types.Transaction, error)
SetPrices is a paid mutator transaction binding the contract method 0x43861c5a.
Solidity: function setPrices(address _prices) returns()
func (*ContractTransactorSession) TransferOwnership ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) Withdraw ¶
func (_Contract *ContractTransactorSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()