Documentation ¶
Index ¶
- Variables
- type Contract
- type ContractCaller
- type ContractCallerRaw
- type ContractCallerSession
- type ContractFilterer
- 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) Claim(owner common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) ClaimWithResolver(owner common.Address, resolver common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) DefaultResolver() (common.Address, error)
- func (_Contract *ContractSession) Ens() (common.Address, error)
- func (_Contract *ContractSession) Node(addr common.Address) ([32]byte, error)
- func (_Contract *ContractSession) SetName(name string) (*types.Transaction, error)
- type ContractTransactor
- func (_Contract *ContractTransactor) Claim(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) ClaimWithResolver(opts *bind.TransactOpts, owner common.Address, resolver common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetName(opts *bind.TransactOpts, name string) (*types.Transaction, error)
- type ContractTransactorRaw
- type ContractTransactorSession
- func (_Contract *ContractTransactorSession) Claim(owner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) ClaimWithResolver(owner common.Address, resolver common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetName(name string) (*types.Transaction, error)
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: "[{\"constant\":false,\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"},{\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"claimWithResolver\",\"outputs\":[{\"name\":\"node\",\"type\":\"bytes32\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"claim\",\"outputs\":[{\"name\":\"node\",\"type\":\"bytes32\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"ens\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"defaultResolver\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"node\",\"outputs\":[{\"name\":\"ret\",\"type\":\"bytes32\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[{\"name\":\"node\",\"type\":\"bytes32\"}],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"ensAddr\",\"type\":\"address\"},{\"name\":\"resolverAddr\",\"type\":\"address\"}],\"payable\":false,\"type\":\"constructor\"}]",
}
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) DefaultResolver ¶
DefaultResolver is a free data retrieval call binding the contract method 0x828eab0e.
Solidity: function defaultResolver() returns(address)
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) DefaultResolver ¶
func (_Contract *ContractCallerSession) DefaultResolver() (common.Address, error)
DefaultResolver is a free data retrieval call binding the contract method 0x828eab0e.
Solidity: function defaultResolver() returns(address)
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.
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) Claim ¶
func (_Contract *ContractSession) Claim(owner common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x1e83409a.
Solidity: function claim(address owner) returns(bytes32 node)
func (*ContractSession) ClaimWithResolver ¶
func (_Contract *ContractSession) ClaimWithResolver(owner common.Address, resolver common.Address) (*types.Transaction, error)
ClaimWithResolver is a paid mutator transaction binding the contract method 0x0f5a5466.
Solidity: function claimWithResolver(address owner, address resolver) returns(bytes32 node)
func (*ContractSession) DefaultResolver ¶
func (_Contract *ContractSession) DefaultResolver() (common.Address, error)
DefaultResolver is a free data retrieval call binding the contract method 0x828eab0e.
Solidity: function defaultResolver() returns(address)
func (*ContractSession) Ens ¶
func (_Contract *ContractSession) Ens() (common.Address, error)
Ens is a free data retrieval call binding the contract method 0x3f15457f.
Solidity: function ens() returns(address)
func (*ContractSession) Node ¶
func (_Contract *ContractSession) Node(addr common.Address) ([32]byte, error)
Node is a free data retrieval call binding the contract method 0xbffbe61c.
Solidity: function node(address addr) returns(bytes32 ret)
func (*ContractSession) SetName ¶
func (_Contract *ContractSession) SetName(name string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xc47f0027.
Solidity: function setName(string name) returns(bytes32 node)
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) Claim ¶
func (_Contract *ContractTransactor) Claim(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x1e83409a.
Solidity: function claim(address owner) returns(bytes32 node)
func (*ContractTransactor) ClaimWithResolver ¶
func (_Contract *ContractTransactor) ClaimWithResolver(opts *bind.TransactOpts, owner common.Address, resolver common.Address) (*types.Transaction, error)
ClaimWithResolver is a paid mutator transaction binding the contract method 0x0f5a5466.
Solidity: function claimWithResolver(address owner, address resolver) returns(bytes32 node)
func (*ContractTransactor) SetName ¶
func (_Contract *ContractTransactor) SetName(opts *bind.TransactOpts, name string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xc47f0027.
Solidity: function setName(string name) returns(bytes32 node)
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) Claim ¶
func (_Contract *ContractTransactorSession) Claim(owner common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x1e83409a.
Solidity: function claim(address owner) returns(bytes32 node)
func (*ContractTransactorSession) ClaimWithResolver ¶
func (_Contract *ContractTransactorSession) ClaimWithResolver(owner common.Address, resolver common.Address) (*types.Transaction, error)
ClaimWithResolver is a paid mutator transaction binding the contract method 0x0f5a5466.
Solidity: function claimWithResolver(address owner, address resolver) returns(bytes32 node)
func (*ContractTransactorSession) SetName ¶
func (_Contract *ContractTransactorSession) SetName(name string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xc47f0027.
Solidity: function setName(string name) returns(bytes32 node)