dnsresolvercontract

package
v0.0.0-...-139c2bc Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DnsResolverContractABI = "" /* 5488-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) Dns

func (_DnsResolverContract *DnsResolverContractCaller) Dns(opts *bind.CallOpts, node [32]byte, rr uint16, key string) ([]byte, error)

Dns is a free data retrieval call binding the contract method 0xaf6e6e9e.

Solidity: function dns(node bytes32, rr uint16, key string) constant returns(data bytes)

func (*DnsResolverContractCaller) DnsRecords

func (_DnsResolverContract *DnsResolverContractCaller) DnsRecords(opts *bind.CallOpts, arg0 [32]byte, arg1 uint16, arg2 [32]byte) ([]byte, error)

DnsRecords is a free data retrieval call binding the contract method 0x75333d28.

Solidity: function dnsRecords( bytes32, uint16, bytes32) constant returns(bytes)

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) 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) 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) Dns

func (_DnsResolverContract *DnsResolverContractCallerSession) Dns(node [32]byte, rr uint16, key string) ([]byte, error)

Dns is a free data retrieval call binding the contract method 0xaf6e6e9e.

Solidity: function dns(node bytes32, rr uint16, key string) constant returns(data bytes)

func (*DnsResolverContractCallerSession) DnsRecords

func (_DnsResolverContract *DnsResolverContractCallerSession) DnsRecords(arg0 [32]byte, arg1 uint16, arg2 [32]byte) ([]byte, error)

DnsRecords is a free data retrieval call binding the contract method 0x75333d28.

Solidity: function dnsRecords( bytes32, uint16, bytes32) constant returns(bytes)

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) 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) 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) 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) Dns

func (_DnsResolverContract *DnsResolverContractSession) Dns(node [32]byte, rr uint16, key string) ([]byte, error)

Dns is a free data retrieval call binding the contract method 0xaf6e6e9e.

Solidity: function dns(node bytes32, rr uint16, key string) constant returns(data bytes)

func (*DnsResolverContractSession) DnsRecords

func (_DnsResolverContract *DnsResolverContractSession) DnsRecords(arg0 [32]byte, arg1 uint16, arg2 [32]byte) ([]byte, error)

DnsRecords is a free data retrieval call binding the contract method 0x75333d28.

Solidity: function dnsRecords( bytes32, uint16, bytes32) constant returns(bytes)

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) 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) 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) SetDns

func (_DnsResolverContract *DnsResolverContractSession) SetDns(node [32]byte, rr uint16, key string, data []byte) (*types.Transaction, error)

SetDns is a paid mutator transaction binding the contract method 0x6cf433e7.

Solidity: function setDns(node bytes32, rr uint16, key string, 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) 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)

func (*DnsResolverContractSession) Text

func (_DnsResolverContract *DnsResolverContractSession) 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 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) 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) SetDns

func (_DnsResolverContract *DnsResolverContractTransactor) SetDns(opts *bind.TransactOpts, node [32]byte, rr uint16, key string, data []byte) (*types.Transaction, error)

SetDns is a paid mutator transaction binding the contract method 0x6cf433e7.

Solidity: function setDns(node bytes32, rr uint16, key string, 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) 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) SetDns

func (_DnsResolverContract *DnsResolverContractTransactorSession) SetDns(node [32]byte, rr uint16, key string, data []byte) (*types.Transaction, error)

SetDns is a paid mutator transaction binding the contract method 0x6cf433e7.

Solidity: function setDns(node bytes32, rr uint16, key string, 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()

Jump to

Keyboard shortcuts

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