dnsregistrar

package
v0.0.0-...-606652d Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractABI = "" /* 1494-byte string literal not displayed */

ContractABI is the input ABI used to generate the binding from.

Variables

This section is empty.

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

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

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

func (_Contract *ContractCaller) Ens(opts *bind.CallOpts) (common.Address, error)

Ens is a free data retrieval call binding the contract method 0x3f15457f.

Solidity: function ens() view returns(address)

func (*ContractCaller) Oracle

func (_Contract *ContractCaller) Oracle(opts *bind.CallOpts) (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() 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) Ens

func (_Contract *ContractCallerSession) Ens() (common.Address, error)

Ens is a free data retrieval call binding the contract method 0x3f15457f.

Solidity: function ens() view returns(address)

func (*ContractCallerSession) Oracle

func (_Contract *ContractCallerSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() 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 ContractClaim

type ContractClaim struct {
	Node    [32]byte
	Owner   common.Address
	Dnsname []byte
	Raw     types.Log // Blockchain specific contextual infos
}

ContractClaim represents a Claim event raised by the Contract contract.

type ContractClaimIterator

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

ContractClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the Contract contract.

func (*ContractClaimIterator) Close

func (it *ContractClaimIterator) Close() error

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

func (*ContractClaimIterator) Error

func (it *ContractClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractClaimIterator) Next

func (it *ContractClaimIterator) 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 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) FilterClaim

func (_Contract *ContractFilterer) FilterClaim(opts *bind.FilterOpts, node [][32]byte, owner []common.Address) (*ContractClaimIterator, error)

FilterClaim is a free log retrieval operation binding the contract event 0xa2e66ce20e6fb2c4f61339c364ad79f15160cf5307230c8bc4d628adbca2ba39.

Solidity: event Claim(bytes32 indexed node, address indexed owner, bytes dnsname)

func (*ContractFilterer) ParseClaim

func (_Contract *ContractFilterer) ParseClaim(log types.Log) (*ContractClaim, error)

ParseClaim is a log parse operation binding the contract event 0xa2e66ce20e6fb2c4f61339c364ad79f15160cf5307230c8bc4d628adbca2ba39.

Solidity: event Claim(bytes32 indexed node, address indexed owner, bytes dnsname)

func (*ContractFilterer) WatchClaim

func (_Contract *ContractFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *ContractClaim, node [][32]byte, owner []common.Address) (event.Subscription, error)

WatchClaim is a free log subscription operation binding the contract event 0xa2e66ce20e6fb2c4f61339c364ad79f15160cf5307230c8bc4d628adbca2ba39.

Solidity: event Claim(bytes32 indexed node, address indexed owner, bytes dnsname)

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(name []byte, proof []byte) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0xbe27b22c.

Solidity: function claim(bytes name, bytes proof) returns()

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() view returns(address)

func (*ContractSession) Oracle

func (_Contract *ContractSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*ContractSession) ProveAndClaim

func (_Contract *ContractSession) ProveAndClaim(name []byte, input []byte, proof []byte) (*types.Transaction, error)

ProveAndClaim is a paid mutator transaction binding the contract method 0xd94585bd.

Solidity: function proveAndClaim(bytes name, bytes input, bytes proof) 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)

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, name []byte, proof []byte) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0xbe27b22c.

Solidity: function claim(bytes name, bytes proof) returns()

func (*ContractTransactor) ProveAndClaim

func (_Contract *ContractTransactor) ProveAndClaim(opts *bind.TransactOpts, name []byte, input []byte, proof []byte) (*types.Transaction, error)

ProveAndClaim is a paid mutator transaction binding the contract method 0xd94585bd.

Solidity: function proveAndClaim(bytes name, bytes input, bytes proof) 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) Claim

func (_Contract *ContractTransactorSession) Claim(name []byte, proof []byte) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0xbe27b22c.

Solidity: function claim(bytes name, bytes proof) returns()

func (*ContractTransactorSession) ProveAndClaim

func (_Contract *ContractTransactorSession) ProveAndClaim(name []byte, input []byte, proof []byte) (*types.Transaction, error)

ProveAndClaim is a paid mutator transaction binding the contract method 0xd94585bd.

Solidity: function proveAndClaim(bytes name, bytes input, bytes proof) returns()

Jump to

Keyboard shortcuts

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