Documentation ¶
Index ¶
- Constants
- type DnsResolverContract
- type DnsResolverContractCaller
- func (_DnsResolverContract *DnsResolverContractCaller) ABI(opts *bind.CallOpts, node [32]byte, contentTypes *big.Int) (struct{ ... }, error)
- func (_DnsResolverContract *DnsResolverContractCaller) Addr(opts *bind.CallOpts, node [32]byte) (common.Address, error)
- func (_DnsResolverContract *DnsResolverContractCaller) Content(opts *bind.CallOpts, node [32]byte) ([32]byte, error)
- func (_DnsResolverContract *DnsResolverContractCaller) DnsRecord(opts *bind.CallOpts, node [32]byte, name [32]byte, resource uint16) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractCaller) DnsZone(opts *bind.CallOpts, node [32]byte) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractCaller) HasDnsRecords(opts *bind.CallOpts, node [32]byte, name [32]byte) (bool, error)
- func (_DnsResolverContract *DnsResolverContractCaller) HasDnsZone(opts *bind.CallOpts, node [32]byte) (bool, error)
- func (_DnsResolverContract *DnsResolverContractCaller) Name(opts *bind.CallOpts, node [32]byte) (string, error)
- func (_DnsResolverContract *DnsResolverContractCaller) NameEntriesCount(opts *bind.CallOpts, arg0 [32]byte, arg1 [32]byte) (uint16, error)
- func (_DnsResolverContract *DnsResolverContractCaller) Pubkey(opts *bind.CallOpts, node [32]byte) (struct{ ... }, error)
- func (_DnsResolverContract *DnsResolverContractCaller) Records(opts *bind.CallOpts, arg0 [32]byte, arg1 [32]byte, arg2 uint16) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractCaller) SoaRecords(opts *bind.CallOpts, arg0 [32]byte) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_DnsResolverContract *DnsResolverContractCaller) Text(opts *bind.CallOpts, node [32]byte, key string) (string, error)
- func (_DnsResolverContract *DnsResolverContractCaller) Zones(opts *bind.CallOpts, arg0 [32]byte) ([]byte, error)
- type DnsResolverContractCallerRaw
- type DnsResolverContractCallerSession
- func (_DnsResolverContract *DnsResolverContractCallerSession) ABI(node [32]byte, contentTypes *big.Int) (struct{ ... }, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) Addr(node [32]byte) (common.Address, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) Content(node [32]byte) ([32]byte, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) DnsRecord(node [32]byte, name [32]byte, resource uint16) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) DnsZone(node [32]byte) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) HasDnsRecords(node [32]byte, name [32]byte) (bool, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) HasDnsZone(node [32]byte) (bool, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) Name(node [32]byte) (string, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) NameEntriesCount(arg0 [32]byte, arg1 [32]byte) (uint16, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) Pubkey(node [32]byte) (struct{ ... }, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) Records(arg0 [32]byte, arg1 [32]byte, arg2 uint16) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) SoaRecords(arg0 [32]byte) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) Text(node [32]byte, key string) (string, error)
- func (_DnsResolverContract *DnsResolverContractCallerSession) Zones(arg0 [32]byte) ([]byte, error)
- type DnsResolverContractRaw
- func (_DnsResolverContract *DnsResolverContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_DnsResolverContract *DnsResolverContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DnsResolverContractSession
- func (_DnsResolverContract *DnsResolverContractSession) ABI(node [32]byte, contentTypes *big.Int) (struct{ ... }, error)
- func (_DnsResolverContract *DnsResolverContractSession) Addr(node [32]byte) (common.Address, error)
- func (_DnsResolverContract *DnsResolverContractSession) ClearDnsRecord(node [32]byte, name [32]byte, resource uint16, soaData []byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractSession) ClearDnsZone(node [32]byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractSession) Content(node [32]byte) ([32]byte, error)
- func (_DnsResolverContract *DnsResolverContractSession) DnsRecord(node [32]byte, name [32]byte, resource uint16) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractSession) DnsZone(node [32]byte) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractSession) HasDnsRecords(node [32]byte, name [32]byte) (bool, error)
- func (_DnsResolverContract *DnsResolverContractSession) HasDnsZone(node [32]byte) (bool, error)
- func (_DnsResolverContract *DnsResolverContractSession) Name(node [32]byte) (string, error)
- func (_DnsResolverContract *DnsResolverContractSession) NameEntriesCount(arg0 [32]byte, arg1 [32]byte) (uint16, error)
- func (_DnsResolverContract *DnsResolverContractSession) Pubkey(node [32]byte) (struct{ ... }, error)
- func (_DnsResolverContract *DnsResolverContractSession) Records(arg0 [32]byte, arg1 [32]byte, arg2 uint16) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractSession) SetABI(node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractSession) SetAddr(node [32]byte, addr common.Address) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractSession) SetContent(node [32]byte, hash [32]byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractSession) SetDnsRecord(node [32]byte, name [32]byte, resource uint16, data []byte, soaData []byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractSession) SetDnsZone(node [32]byte, data []byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractSession) SetName(node [32]byte, name string) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractSession) SetPubkey(node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractSession) SetText(node [32]byte, key string, value string) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractSession) SoaRecords(arg0 [32]byte) ([]byte, error)
- func (_DnsResolverContract *DnsResolverContractSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_DnsResolverContract *DnsResolverContractSession) Text(node [32]byte, key string) (string, error)
- func (_DnsResolverContract *DnsResolverContractSession) Zones(arg0 [32]byte) ([]byte, error)
- type DnsResolverContractTransactor
- func (_DnsResolverContract *DnsResolverContractTransactor) ClearDnsRecord(opts *bind.TransactOpts, node [32]byte, name [32]byte, resource uint16, ...) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactor) ClearDnsZone(opts *bind.TransactOpts, node [32]byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactor) SetABI(opts *bind.TransactOpts, node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactor) SetAddr(opts *bind.TransactOpts, node [32]byte, addr common.Address) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactor) SetContent(opts *bind.TransactOpts, node [32]byte, hash [32]byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactor) SetDnsRecord(opts *bind.TransactOpts, node [32]byte, name [32]byte, resource uint16, ...) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactor) SetDnsZone(opts *bind.TransactOpts, node [32]byte, data []byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactor) SetName(opts *bind.TransactOpts, node [32]byte, name string) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactor) SetPubkey(opts *bind.TransactOpts, node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactor) SetText(opts *bind.TransactOpts, node [32]byte, key string, value string) (*types.Transaction, error)
- type DnsResolverContractTransactorRaw
- type DnsResolverContractTransactorSession
- func (_DnsResolverContract *DnsResolverContractTransactorSession) ClearDnsRecord(node [32]byte, name [32]byte, resource uint16, soaData []byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactorSession) ClearDnsZone(node [32]byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactorSession) SetABI(node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactorSession) SetAddr(node [32]byte, addr common.Address) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactorSession) SetContent(node [32]byte, hash [32]byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactorSession) SetDnsRecord(node [32]byte, name [32]byte, resource uint16, data []byte, soaData []byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactorSession) SetDnsZone(node [32]byte, data []byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactorSession) SetName(node [32]byte, name string) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactorSession) SetPubkey(node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
- func (_DnsResolverContract *DnsResolverContractTransactorSession) SetText(node [32]byte, key string, value string) (*types.Transaction, error)
Constants ¶
const DnsResolverContractABI = "" /* 7680-byte string literal not displayed */
DnsResolverContractABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DnsResolverContract ¶
type DnsResolverContract struct { DnsResolverContractCaller // Read-only binding to the contract DnsResolverContractTransactor // Write-only binding to the contract }
DnsResolverContract is an auto generated Go binding around an Ethereum contract.
func NewDnsResolverContract ¶
func NewDnsResolverContract(address common.Address, backend bind.ContractBackend) (*DnsResolverContract, error)
NewDnsResolverContract creates a new instance of DnsResolverContract, bound to a specific deployed contract.
type DnsResolverContractCaller ¶
type DnsResolverContractCaller struct {
// contains filtered or unexported fields
}
DnsResolverContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDnsResolverContractCaller ¶
func NewDnsResolverContractCaller(address common.Address, caller bind.ContractCaller) (*DnsResolverContractCaller, error)
NewDnsResolverContractCaller creates a new read-only instance of DnsResolverContract, bound to a specific deployed contract.
func (*DnsResolverContractCaller) ABI ¶
func (_DnsResolverContract *DnsResolverContractCaller) ABI(opts *bind.CallOpts, node [32]byte, contentTypes *big.Int) (struct { ContentType *big.Int Data []byte }, error)
ABI is a free data retrieval call binding the contract method 0x2203ab56.
Solidity: function ABI(node bytes32, contentTypes uint256) constant returns(contentType uint256, data bytes)
func (*DnsResolverContractCaller) Addr ¶
func (_DnsResolverContract *DnsResolverContractCaller) Addr(opts *bind.CallOpts, node [32]byte) (common.Address, error)
Addr is a free data retrieval call binding the contract method 0x3b3b57de.
Solidity: function addr(node bytes32) constant returns(ret address)
func (*DnsResolverContractCaller) Content ¶
func (_DnsResolverContract *DnsResolverContractCaller) Content(opts *bind.CallOpts, node [32]byte) ([32]byte, error)
Content is a free data retrieval call binding the contract method 0x2dff6941.
Solidity: function content(node bytes32) constant returns(ret bytes32)
func (*DnsResolverContractCaller) DnsRecord ¶
func (_DnsResolverContract *DnsResolverContractCaller) DnsRecord(opts *bind.CallOpts, node [32]byte, name [32]byte, resource uint16) ([]byte, error)
DnsRecord is a free data retrieval call binding the contract method 0xa8fa5682.
Solidity: function dnsRecord(node bytes32, name bytes32, resource uint16) constant returns(data bytes)
func (*DnsResolverContractCaller) DnsZone ¶
func (_DnsResolverContract *DnsResolverContractCaller) DnsZone(opts *bind.CallOpts, node [32]byte) ([]byte, error)
DnsZone is a free data retrieval call binding the contract method 0xdbfc5d00.
Solidity: function dnsZone(node bytes32) constant returns(data bytes)
func (*DnsResolverContractCaller) HasDnsRecords ¶
func (_DnsResolverContract *DnsResolverContractCaller) HasDnsRecords(opts *bind.CallOpts, node [32]byte, name [32]byte) (bool, error)
HasDnsRecords is a free data retrieval call binding the contract method 0x4cac6495.
Solidity: function hasDnsRecords(node bytes32, name bytes32) constant returns(hasRecords bool)
func (*DnsResolverContractCaller) HasDnsZone ¶
func (_DnsResolverContract *DnsResolverContractCaller) HasDnsZone(opts *bind.CallOpts, node [32]byte) (bool, error)
HasDnsZone is a free data retrieval call binding the contract method 0xa956cbbc.
Solidity: function hasDnsZone(node bytes32) constant returns(hasRecords bool)
func (*DnsResolverContractCaller) Name ¶
func (_DnsResolverContract *DnsResolverContractCaller) Name(opts *bind.CallOpts, node [32]byte) (string, error)
Name is a free data retrieval call binding the contract method 0x691f3431.
Solidity: function name(node bytes32) constant returns(ret string)
func (*DnsResolverContractCaller) NameEntriesCount ¶
func (_DnsResolverContract *DnsResolverContractCaller) NameEntriesCount(opts *bind.CallOpts, arg0 [32]byte, arg1 [32]byte) (uint16, error)
NameEntriesCount is a free data retrieval call binding the contract method 0x932fc0e0.
Solidity: function nameEntriesCount( bytes32, bytes32) constant returns(uint16)
func (*DnsResolverContractCaller) Pubkey ¶
func (_DnsResolverContract *DnsResolverContractCaller) Pubkey(opts *bind.CallOpts, node [32]byte) (struct { X [32]byte Y [32]byte }, error)
Pubkey is a free data retrieval call binding the contract method 0xc8690233.
Solidity: function pubkey(node bytes32) constant returns(x bytes32, y bytes32)
func (*DnsResolverContractCaller) Records ¶
func (_DnsResolverContract *DnsResolverContractCaller) Records(opts *bind.CallOpts, arg0 [32]byte, arg1 [32]byte, arg2 uint16) ([]byte, error)
Records is a free data retrieval call binding the contract method 0x107de931.
Solidity: function records( bytes32, bytes32, uint16) constant returns(bytes)
func (*DnsResolverContractCaller) SoaRecords ¶
func (_DnsResolverContract *DnsResolverContractCaller) SoaRecords(opts *bind.CallOpts, arg0 [32]byte) ([]byte, error)
SoaRecords is a free data retrieval call binding the contract method 0xc37e3729.
Solidity: function soaRecords( bytes32) constant returns(bytes)
func (*DnsResolverContractCaller) SupportsInterface ¶
func (_DnsResolverContract *DnsResolverContractCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(interfaceId bytes4) constant returns(bool)
func (*DnsResolverContractCaller) Text ¶
func (_DnsResolverContract *DnsResolverContractCaller) Text(opts *bind.CallOpts, node [32]byte, key string) (string, error)
Text is a free data retrieval call binding the contract method 0x59d1d43c.
Solidity: function text(node bytes32, key string) constant returns(ret string)
type DnsResolverContractCallerRaw ¶
type DnsResolverContractCallerRaw struct {
Contract *DnsResolverContractCaller // Generic read-only contract binding to access the raw methods on
}
DnsResolverContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DnsResolverContractCallerRaw) Call ¶
func (_DnsResolverContract *DnsResolverContractCallerRaw) 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 DnsResolverContractCallerSession ¶
type DnsResolverContractCallerSession struct { Contract *DnsResolverContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DnsResolverContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DnsResolverContractCallerSession) ABI ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) ABI(node [32]byte, contentTypes *big.Int) (struct { ContentType *big.Int Data []byte }, error)
ABI is a free data retrieval call binding the contract method 0x2203ab56.
Solidity: function ABI(node bytes32, contentTypes uint256) constant returns(contentType uint256, data bytes)
func (*DnsResolverContractCallerSession) Addr ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) Addr(node [32]byte) (common.Address, error)
Addr is a free data retrieval call binding the contract method 0x3b3b57de.
Solidity: function addr(node bytes32) constant returns(ret address)
func (*DnsResolverContractCallerSession) Content ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) Content(node [32]byte) ([32]byte, error)
Content is a free data retrieval call binding the contract method 0x2dff6941.
Solidity: function content(node bytes32) constant returns(ret bytes32)
func (*DnsResolverContractCallerSession) DnsRecord ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) DnsRecord(node [32]byte, name [32]byte, resource uint16) ([]byte, error)
DnsRecord is a free data retrieval call binding the contract method 0xa8fa5682.
Solidity: function dnsRecord(node bytes32, name bytes32, resource uint16) constant returns(data bytes)
func (*DnsResolverContractCallerSession) DnsZone ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) DnsZone(node [32]byte) ([]byte, error)
DnsZone is a free data retrieval call binding the contract method 0xdbfc5d00.
Solidity: function dnsZone(node bytes32) constant returns(data bytes)
func (*DnsResolverContractCallerSession) HasDnsRecords ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) HasDnsRecords(node [32]byte, name [32]byte) (bool, error)
HasDnsRecords is a free data retrieval call binding the contract method 0x4cac6495.
Solidity: function hasDnsRecords(node bytes32, name bytes32) constant returns(hasRecords bool)
func (*DnsResolverContractCallerSession) HasDnsZone ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) HasDnsZone(node [32]byte) (bool, error)
HasDnsZone is a free data retrieval call binding the contract method 0xa956cbbc.
Solidity: function hasDnsZone(node bytes32) constant returns(hasRecords bool)
func (*DnsResolverContractCallerSession) Name ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) Name(node [32]byte) (string, error)
Name is a free data retrieval call binding the contract method 0x691f3431.
Solidity: function name(node bytes32) constant returns(ret string)
func (*DnsResolverContractCallerSession) NameEntriesCount ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) NameEntriesCount(arg0 [32]byte, arg1 [32]byte) (uint16, error)
NameEntriesCount is a free data retrieval call binding the contract method 0x932fc0e0.
Solidity: function nameEntriesCount( bytes32, bytes32) constant returns(uint16)
func (*DnsResolverContractCallerSession) Pubkey ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) Pubkey(node [32]byte) (struct { X [32]byte Y [32]byte }, error)
Pubkey is a free data retrieval call binding the contract method 0xc8690233.
Solidity: function pubkey(node bytes32) constant returns(x bytes32, y bytes32)
func (*DnsResolverContractCallerSession) Records ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) Records(arg0 [32]byte, arg1 [32]byte, arg2 uint16) ([]byte, error)
Records is a free data retrieval call binding the contract method 0x107de931.
Solidity: function records( bytes32, bytes32, uint16) constant returns(bytes)
func (*DnsResolverContractCallerSession) SoaRecords ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) SoaRecords(arg0 [32]byte) ([]byte, error)
SoaRecords is a free data retrieval call binding the contract method 0xc37e3729.
Solidity: function soaRecords( bytes32) constant returns(bytes)
func (*DnsResolverContractCallerSession) SupportsInterface ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(interfaceId bytes4) constant returns(bool)
func (*DnsResolverContractCallerSession) Text ¶
func (_DnsResolverContract *DnsResolverContractCallerSession) Text(node [32]byte, key string) (string, error)
Text is a free data retrieval call binding the contract method 0x59d1d43c.
Solidity: function text(node bytes32, key string) constant returns(ret string)
type DnsResolverContractRaw ¶
type DnsResolverContractRaw struct {
Contract *DnsResolverContract // Generic contract binding to access the raw methods on
}
DnsResolverContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DnsResolverContractRaw) Call ¶
func (_DnsResolverContract *DnsResolverContractRaw) 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 (*DnsResolverContractRaw) Transact ¶
func (_DnsResolverContract *DnsResolverContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DnsResolverContractRaw) Transfer ¶
func (_DnsResolverContract *DnsResolverContractRaw) 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 DnsResolverContractSession ¶
type DnsResolverContractSession struct { Contract *DnsResolverContract // 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 }
DnsResolverContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DnsResolverContractSession) ABI ¶
func (_DnsResolverContract *DnsResolverContractSession) ABI(node [32]byte, contentTypes *big.Int) (struct { ContentType *big.Int Data []byte }, error)
ABI is a free data retrieval call binding the contract method 0x2203ab56.
Solidity: function ABI(node bytes32, contentTypes uint256) constant returns(contentType uint256, data bytes)
func (*DnsResolverContractSession) Addr ¶
func (_DnsResolverContract *DnsResolverContractSession) Addr(node [32]byte) (common.Address, error)
Addr is a free data retrieval call binding the contract method 0x3b3b57de.
Solidity: function addr(node bytes32) constant returns(ret address)
func (*DnsResolverContractSession) ClearDnsRecord ¶
func (_DnsResolverContract *DnsResolverContractSession) ClearDnsRecord(node [32]byte, name [32]byte, resource uint16, soaData []byte) (*types.Transaction, error)
ClearDnsRecord is a paid mutator transaction binding the contract method 0x0a9ac0d2.
Solidity: function clearDnsRecord(node bytes32, name bytes32, resource uint16, soaData bytes) returns()
func (*DnsResolverContractSession) ClearDnsZone ¶
func (_DnsResolverContract *DnsResolverContractSession) ClearDnsZone(node [32]byte) (*types.Transaction, error)
ClearDnsZone is a paid mutator transaction binding the contract method 0x737aaf74.
Solidity: function clearDnsZone(node bytes32) returns()
func (*DnsResolverContractSession) Content ¶
func (_DnsResolverContract *DnsResolverContractSession) Content(node [32]byte) ([32]byte, error)
Content is a free data retrieval call binding the contract method 0x2dff6941.
Solidity: function content(node bytes32) constant returns(ret bytes32)
func (*DnsResolverContractSession) DnsRecord ¶
func (_DnsResolverContract *DnsResolverContractSession) DnsRecord(node [32]byte, name [32]byte, resource uint16) ([]byte, error)
DnsRecord is a free data retrieval call binding the contract method 0xa8fa5682.
Solidity: function dnsRecord(node bytes32, name bytes32, resource uint16) constant returns(data bytes)
func (*DnsResolverContractSession) DnsZone ¶
func (_DnsResolverContract *DnsResolverContractSession) DnsZone(node [32]byte) ([]byte, error)
DnsZone is a free data retrieval call binding the contract method 0xdbfc5d00.
Solidity: function dnsZone(node bytes32) constant returns(data bytes)
func (*DnsResolverContractSession) HasDnsRecords ¶
func (_DnsResolverContract *DnsResolverContractSession) HasDnsRecords(node [32]byte, name [32]byte) (bool, error)
HasDnsRecords is a free data retrieval call binding the contract method 0x4cac6495.
Solidity: function hasDnsRecords(node bytes32, name bytes32) constant returns(hasRecords bool)
func (*DnsResolverContractSession) HasDnsZone ¶
func (_DnsResolverContract *DnsResolverContractSession) HasDnsZone(node [32]byte) (bool, error)
HasDnsZone is a free data retrieval call binding the contract method 0xa956cbbc.
Solidity: function hasDnsZone(node bytes32) constant returns(hasRecords bool)
func (*DnsResolverContractSession) Name ¶
func (_DnsResolverContract *DnsResolverContractSession) Name(node [32]byte) (string, error)
Name is a free data retrieval call binding the contract method 0x691f3431.
Solidity: function name(node bytes32) constant returns(ret string)
func (*DnsResolverContractSession) NameEntriesCount ¶
func (_DnsResolverContract *DnsResolverContractSession) NameEntriesCount(arg0 [32]byte, arg1 [32]byte) (uint16, error)
NameEntriesCount is a free data retrieval call binding the contract method 0x932fc0e0.
Solidity: function nameEntriesCount( bytes32, bytes32) constant returns(uint16)
func (*DnsResolverContractSession) Pubkey ¶
func (_DnsResolverContract *DnsResolverContractSession) Pubkey(node [32]byte) (struct { X [32]byte Y [32]byte }, error)
Pubkey is a free data retrieval call binding the contract method 0xc8690233.
Solidity: function pubkey(node bytes32) constant returns(x bytes32, y bytes32)
func (*DnsResolverContractSession) Records ¶
func (_DnsResolverContract *DnsResolverContractSession) Records(arg0 [32]byte, arg1 [32]byte, arg2 uint16) ([]byte, error)
Records is a free data retrieval call binding the contract method 0x107de931.
Solidity: function records( bytes32, bytes32, uint16) constant returns(bytes)
func (*DnsResolverContractSession) SetABI ¶
func (_DnsResolverContract *DnsResolverContractSession) SetABI(node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
SetABI is a paid mutator transaction binding the contract method 0x623195b0.
Solidity: function setABI(node bytes32, contentType uint256, data bytes) returns()
func (*DnsResolverContractSession) SetAddr ¶
func (_DnsResolverContract *DnsResolverContractSession) SetAddr(node [32]byte, addr common.Address) (*types.Transaction, error)
SetAddr is a paid mutator transaction binding the contract method 0xd5fa2b00.
Solidity: function setAddr(node bytes32, addr address) returns()
func (*DnsResolverContractSession) SetContent ¶
func (_DnsResolverContract *DnsResolverContractSession) SetContent(node [32]byte, hash [32]byte) (*types.Transaction, error)
SetContent is a paid mutator transaction binding the contract method 0xc3d014d6.
Solidity: function setContent(node bytes32, hash bytes32) returns()
func (*DnsResolverContractSession) SetDnsRecord ¶
func (_DnsResolverContract *DnsResolverContractSession) SetDnsRecord(node [32]byte, name [32]byte, resource uint16, data []byte, soaData []byte) (*types.Transaction, error)
SetDnsRecord is a paid mutator transaction binding the contract method 0x9a75194c.
Solidity: function setDnsRecord(node bytes32, name bytes32, resource uint16, data bytes, soaData bytes) returns()
func (*DnsResolverContractSession) SetDnsZone ¶
func (_DnsResolverContract *DnsResolverContractSession) SetDnsZone(node [32]byte, data []byte) (*types.Transaction, error)
SetDnsZone is a paid mutator transaction binding the contract method 0x233a359c.
Solidity: function setDnsZone(node bytes32, data bytes) returns()
func (*DnsResolverContractSession) SetName ¶
func (_DnsResolverContract *DnsResolverContractSession) SetName(node [32]byte, name string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0x77372213.
Solidity: function setName(node bytes32, name string) returns()
func (*DnsResolverContractSession) SetPubkey ¶
func (_DnsResolverContract *DnsResolverContractSession) SetPubkey(node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
SetPubkey is a paid mutator transaction binding the contract method 0x29cd62ea.
Solidity: function setPubkey(node bytes32, x bytes32, y bytes32) returns()
func (*DnsResolverContractSession) SetText ¶
func (_DnsResolverContract *DnsResolverContractSession) SetText(node [32]byte, key string, value string) (*types.Transaction, error)
SetText is a paid mutator transaction binding the contract method 0x10f13a8c.
Solidity: function setText(node bytes32, key string, value string) returns()
func (*DnsResolverContractSession) SoaRecords ¶
func (_DnsResolverContract *DnsResolverContractSession) SoaRecords(arg0 [32]byte) ([]byte, error)
SoaRecords is a free data retrieval call binding the contract method 0xc37e3729.
Solidity: function soaRecords( bytes32) constant returns(bytes)
func (*DnsResolverContractSession) SupportsInterface ¶
func (_DnsResolverContract *DnsResolverContractSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(interfaceId bytes4) constant returns(bool)
type DnsResolverContractTransactor ¶
type DnsResolverContractTransactor struct {
// contains filtered or unexported fields
}
DnsResolverContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDnsResolverContractTransactor ¶
func NewDnsResolverContractTransactor(address common.Address, transactor bind.ContractTransactor) (*DnsResolverContractTransactor, error)
NewDnsResolverContractTransactor creates a new write-only instance of DnsResolverContract, bound to a specific deployed contract.
func (*DnsResolverContractTransactor) ClearDnsRecord ¶
func (_DnsResolverContract *DnsResolverContractTransactor) ClearDnsRecord(opts *bind.TransactOpts, node [32]byte, name [32]byte, resource uint16, soaData []byte) (*types.Transaction, error)
ClearDnsRecord is a paid mutator transaction binding the contract method 0x0a9ac0d2.
Solidity: function clearDnsRecord(node bytes32, name bytes32, resource uint16, soaData bytes) returns()
func (*DnsResolverContractTransactor) ClearDnsZone ¶
func (_DnsResolverContract *DnsResolverContractTransactor) ClearDnsZone(opts *bind.TransactOpts, node [32]byte) (*types.Transaction, error)
ClearDnsZone is a paid mutator transaction binding the contract method 0x737aaf74.
Solidity: function clearDnsZone(node bytes32) returns()
func (*DnsResolverContractTransactor) SetABI ¶
func (_DnsResolverContract *DnsResolverContractTransactor) SetABI(opts *bind.TransactOpts, node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
SetABI is a paid mutator transaction binding the contract method 0x623195b0.
Solidity: function setABI(node bytes32, contentType uint256, data bytes) returns()
func (*DnsResolverContractTransactor) SetAddr ¶
func (_DnsResolverContract *DnsResolverContractTransactor) SetAddr(opts *bind.TransactOpts, node [32]byte, addr common.Address) (*types.Transaction, error)
SetAddr is a paid mutator transaction binding the contract method 0xd5fa2b00.
Solidity: function setAddr(node bytes32, addr address) returns()
func (*DnsResolverContractTransactor) SetContent ¶
func (_DnsResolverContract *DnsResolverContractTransactor) SetContent(opts *bind.TransactOpts, node [32]byte, hash [32]byte) (*types.Transaction, error)
SetContent is a paid mutator transaction binding the contract method 0xc3d014d6.
Solidity: function setContent(node bytes32, hash bytes32) returns()
func (*DnsResolverContractTransactor) SetDnsRecord ¶
func (_DnsResolverContract *DnsResolverContractTransactor) SetDnsRecord(opts *bind.TransactOpts, node [32]byte, name [32]byte, resource uint16, data []byte, soaData []byte) (*types.Transaction, error)
SetDnsRecord is a paid mutator transaction binding the contract method 0x9a75194c.
Solidity: function setDnsRecord(node bytes32, name bytes32, resource uint16, data bytes, soaData bytes) returns()
func (*DnsResolverContractTransactor) SetDnsZone ¶
func (_DnsResolverContract *DnsResolverContractTransactor) SetDnsZone(opts *bind.TransactOpts, node [32]byte, data []byte) (*types.Transaction, error)
SetDnsZone is a paid mutator transaction binding the contract method 0x233a359c.
Solidity: function setDnsZone(node bytes32, data bytes) returns()
func (*DnsResolverContractTransactor) SetName ¶
func (_DnsResolverContract *DnsResolverContractTransactor) SetName(opts *bind.TransactOpts, node [32]byte, name string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0x77372213.
Solidity: function setName(node bytes32, name string) returns()
func (*DnsResolverContractTransactor) SetPubkey ¶
func (_DnsResolverContract *DnsResolverContractTransactor) SetPubkey(opts *bind.TransactOpts, node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
SetPubkey is a paid mutator transaction binding the contract method 0x29cd62ea.
Solidity: function setPubkey(node bytes32, x bytes32, y bytes32) returns()
func (*DnsResolverContractTransactor) SetText ¶
func (_DnsResolverContract *DnsResolverContractTransactor) SetText(opts *bind.TransactOpts, node [32]byte, key string, value string) (*types.Transaction, error)
SetText is a paid mutator transaction binding the contract method 0x10f13a8c.
Solidity: function setText(node bytes32, key string, value string) returns()
type DnsResolverContractTransactorRaw ¶
type DnsResolverContractTransactorRaw struct {
Contract *DnsResolverContractTransactor // Generic write-only contract binding to access the raw methods on
}
DnsResolverContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DnsResolverContractTransactorRaw) Transact ¶
func (_DnsResolverContract *DnsResolverContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DnsResolverContractTransactorRaw) Transfer ¶
func (_DnsResolverContract *DnsResolverContractTransactorRaw) 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 DnsResolverContractTransactorSession ¶
type DnsResolverContractTransactorSession struct { Contract *DnsResolverContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DnsResolverContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DnsResolverContractTransactorSession) ClearDnsRecord ¶
func (_DnsResolverContract *DnsResolverContractTransactorSession) ClearDnsRecord(node [32]byte, name [32]byte, resource uint16, soaData []byte) (*types.Transaction, error)
ClearDnsRecord is a paid mutator transaction binding the contract method 0x0a9ac0d2.
Solidity: function clearDnsRecord(node bytes32, name bytes32, resource uint16, soaData bytes) returns()
func (*DnsResolverContractTransactorSession) ClearDnsZone ¶
func (_DnsResolverContract *DnsResolverContractTransactorSession) ClearDnsZone(node [32]byte) (*types.Transaction, error)
ClearDnsZone is a paid mutator transaction binding the contract method 0x737aaf74.
Solidity: function clearDnsZone(node bytes32) returns()
func (*DnsResolverContractTransactorSession) SetABI ¶
func (_DnsResolverContract *DnsResolverContractTransactorSession) SetABI(node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
SetABI is a paid mutator transaction binding the contract method 0x623195b0.
Solidity: function setABI(node bytes32, contentType uint256, data bytes) returns()
func (*DnsResolverContractTransactorSession) SetAddr ¶
func (_DnsResolverContract *DnsResolverContractTransactorSession) SetAddr(node [32]byte, addr common.Address) (*types.Transaction, error)
SetAddr is a paid mutator transaction binding the contract method 0xd5fa2b00.
Solidity: function setAddr(node bytes32, addr address) returns()
func (*DnsResolverContractTransactorSession) SetContent ¶
func (_DnsResolverContract *DnsResolverContractTransactorSession) SetContent(node [32]byte, hash [32]byte) (*types.Transaction, error)
SetContent is a paid mutator transaction binding the contract method 0xc3d014d6.
Solidity: function setContent(node bytes32, hash bytes32) returns()
func (*DnsResolverContractTransactorSession) SetDnsRecord ¶
func (_DnsResolverContract *DnsResolverContractTransactorSession) SetDnsRecord(node [32]byte, name [32]byte, resource uint16, data []byte, soaData []byte) (*types.Transaction, error)
SetDnsRecord is a paid mutator transaction binding the contract method 0x9a75194c.
Solidity: function setDnsRecord(node bytes32, name bytes32, resource uint16, data bytes, soaData bytes) returns()
func (*DnsResolverContractTransactorSession) SetDnsZone ¶
func (_DnsResolverContract *DnsResolverContractTransactorSession) SetDnsZone(node [32]byte, data []byte) (*types.Transaction, error)
SetDnsZone is a paid mutator transaction binding the contract method 0x233a359c.
Solidity: function setDnsZone(node bytes32, data bytes) returns()
func (*DnsResolverContractTransactorSession) SetName ¶
func (_DnsResolverContract *DnsResolverContractTransactorSession) SetName(node [32]byte, name string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0x77372213.
Solidity: function setName(node bytes32, name string) returns()
func (*DnsResolverContractTransactorSession) SetPubkey ¶
func (_DnsResolverContract *DnsResolverContractTransactorSession) SetPubkey(node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
SetPubkey is a paid mutator transaction binding the contract method 0x29cd62ea.
Solidity: function setPubkey(node bytes32, x bytes32, y bytes32) returns()
func (*DnsResolverContractTransactorSession) SetText ¶
func (_DnsResolverContract *DnsResolverContractTransactorSession) SetText(node [32]byte, key string, value string) (*types.Transaction, error)
SetText is a paid mutator transaction binding the contract method 0x10f13a8c.
Solidity: function setText(node bytes32, key string, value string) returns()