dnssecoracle

package
v2.0.16 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractABI = "" /* 2037-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 ContractAlgorithmUpdated

type ContractAlgorithmUpdated struct {
	Id   uint8
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

ContractAlgorithmUpdated represents a AlgorithmUpdated event raised by the Contract contract.

type ContractAlgorithmUpdatedIterator

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

ContractAlgorithmUpdatedIterator is returned from FilterAlgorithmUpdated and is used to iterate over the raw logs and unpacked data for AlgorithmUpdated events raised by the Contract contract.

func (*ContractAlgorithmUpdatedIterator) Close

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

func (*ContractAlgorithmUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAlgorithmUpdatedIterator) Next

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

func (_Contract *ContractCaller) Rrdata(opts *bind.CallOpts, dnstype uint16, name []byte) (uint32, uint64, [20]byte, error)

Rrdata is a free data retrieval call binding the contract method 0x087991bc.

Solidity: function rrdata(uint16 dnstype, bytes name) constant returns(uint32, uint64, bytes20)

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

func (_Contract *ContractCallerSession) Rrdata(dnstype uint16, name []byte) (uint32, uint64, [20]byte, error)

Rrdata is a free data retrieval call binding the contract method 0x087991bc.

Solidity: function rrdata(uint16 dnstype, bytes name) constant returns(uint32, uint64, bytes20)

type ContractDigestUpdated

type ContractDigestUpdated struct {
	Id   uint8
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

ContractDigestUpdated represents a DigestUpdated event raised by the Contract contract.

type ContractDigestUpdatedIterator

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

ContractDigestUpdatedIterator is returned from FilterDigestUpdated and is used to iterate over the raw logs and unpacked data for DigestUpdated events raised by the Contract contract.

func (*ContractDigestUpdatedIterator) Close

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

func (*ContractDigestUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractDigestUpdatedIterator) Next

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

func (_Contract *ContractFilterer) FilterAlgorithmUpdated(opts *bind.FilterOpts) (*ContractAlgorithmUpdatedIterator, error)

FilterAlgorithmUpdated is a free log retrieval operation binding the contract event 0xf73c3c226af96b7f1ba666a21b3ceaf2be3ee6a365e3178fd9cd1eaae0075aa8.

Solidity: event AlgorithmUpdated(uint8 id, address addr)

func (*ContractFilterer) FilterDigestUpdated

func (_Contract *ContractFilterer) FilterDigestUpdated(opts *bind.FilterOpts) (*ContractDigestUpdatedIterator, error)

FilterDigestUpdated is a free log retrieval operation binding the contract event 0x2fcc274c3b72dd483ab201bfa87295e3817e8b9b10693219873b722ca1af00c7.

Solidity: event DigestUpdated(uint8 id, address addr)

func (*ContractFilterer) FilterNSEC3DigestUpdated

func (_Contract *ContractFilterer) FilterNSEC3DigestUpdated(opts *bind.FilterOpts) (*ContractNSEC3DigestUpdatedIterator, error)

FilterNSEC3DigestUpdated is a free log retrieval operation binding the contract event 0xc7eec866a7a1386188cc3ca20ffea75b71bd3e90a60b6791b1d3f0971145118d.

Solidity: event NSEC3DigestUpdated(uint8 id, address addr)

func (*ContractFilterer) FilterRRSetUpdated

func (_Contract *ContractFilterer) FilterRRSetUpdated(opts *bind.FilterOpts) (*ContractRRSetUpdatedIterator, error)

FilterRRSetUpdated is a free log retrieval operation binding the contract event 0x55ced933cdd5a34dd03eb5d4bef19ec6ebb251dcd7a988eee0c1b9a13baaa88b.

Solidity: event RRSetUpdated(bytes name, bytes rrset)

func (*ContractFilterer) WatchAlgorithmUpdated

func (_Contract *ContractFilterer) WatchAlgorithmUpdated(opts *bind.WatchOpts, sink chan<- *ContractAlgorithmUpdated) (event.Subscription, error)

WatchAlgorithmUpdated is a free log subscription operation binding the contract event 0xf73c3c226af96b7f1ba666a21b3ceaf2be3ee6a365e3178fd9cd1eaae0075aa8.

Solidity: event AlgorithmUpdated(uint8 id, address addr)

func (*ContractFilterer) WatchDigestUpdated

func (_Contract *ContractFilterer) WatchDigestUpdated(opts *bind.WatchOpts, sink chan<- *ContractDigestUpdated) (event.Subscription, error)

WatchDigestUpdated is a free log subscription operation binding the contract event 0x2fcc274c3b72dd483ab201bfa87295e3817e8b9b10693219873b722ca1af00c7.

Solidity: event DigestUpdated(uint8 id, address addr)

func (*ContractFilterer) WatchNSEC3DigestUpdated

func (_Contract *ContractFilterer) WatchNSEC3DigestUpdated(opts *bind.WatchOpts, sink chan<- *ContractNSEC3DigestUpdated) (event.Subscription, error)

WatchNSEC3DigestUpdated is a free log subscription operation binding the contract event 0xc7eec866a7a1386188cc3ca20ffea75b71bd3e90a60b6791b1d3f0971145118d.

Solidity: event NSEC3DigestUpdated(uint8 id, address addr)

func (*ContractFilterer) WatchRRSetUpdated

func (_Contract *ContractFilterer) WatchRRSetUpdated(opts *bind.WatchOpts, sink chan<- *ContractRRSetUpdated) (event.Subscription, error)

WatchRRSetUpdated is a free log subscription operation binding the contract event 0x55ced933cdd5a34dd03eb5d4bef19ec6ebb251dcd7a988eee0c1b9a13baaa88b.

Solidity: event RRSetUpdated(bytes name, bytes rrset)

type ContractNSEC3DigestUpdated

type ContractNSEC3DigestUpdated struct {
	Id   uint8
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

ContractNSEC3DigestUpdated represents a NSEC3DigestUpdated event raised by the Contract contract.

type ContractNSEC3DigestUpdatedIterator

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

ContractNSEC3DigestUpdatedIterator is returned from FilterNSEC3DigestUpdated and is used to iterate over the raw logs and unpacked data for NSEC3DigestUpdated events raised by the Contract contract.

func (*ContractNSEC3DigestUpdatedIterator) Close

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

func (*ContractNSEC3DigestUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractNSEC3DigestUpdatedIterator) Next

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 ContractRRSetUpdated

type ContractRRSetUpdated struct {
	Name  []byte
	Rrset []byte
	Raw   types.Log // Blockchain specific contextual infos
}

ContractRRSetUpdated represents a RRSetUpdated event raised by the Contract contract.

type ContractRRSetUpdatedIterator

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

ContractRRSetUpdatedIterator is returned from FilterRRSetUpdated and is used to iterate over the raw logs and unpacked data for RRSetUpdated events raised by the Contract contract.

func (*ContractRRSetUpdatedIterator) Close

func (it *ContractRRSetUpdatedIterator) Close() error

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

func (*ContractRRSetUpdatedIterator) Error

func (it *ContractRRSetUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractRRSetUpdatedIterator) Next

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

func (_Contract *ContractSession) DeleteRRSet(deleteType uint16, deleteName []byte, nsec []byte, sig []byte, proof []byte) (*types.Transaction, error)

DeleteRRSet is a paid mutator transaction binding the contract method 0xe60b202f.

Solidity: function deleteRRSet(uint16 deleteType, bytes deleteName, bytes nsec, bytes sig, bytes proof) returns()

func (*ContractSession) Rrdata

func (_Contract *ContractSession) Rrdata(dnstype uint16, name []byte) (uint32, uint64, [20]byte, error)

Rrdata is a free data retrieval call binding the contract method 0x087991bc.

Solidity: function rrdata(uint16 dnstype, bytes name) constant returns(uint32, uint64, bytes20)

func (*ContractSession) SubmitRRSet

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

SubmitRRSet is a paid mutator transaction binding the contract method 0x4d46d581.

Solidity: function submitRRSet(bytes input, bytes sig, bytes proof) returns(bytes)

func (*ContractSession) SubmitRRSets

func (_Contract *ContractSession) SubmitRRSets(data []byte, proof []byte) (*types.Transaction, error)

SubmitRRSets is a paid mutator transaction binding the contract method 0x76a14d1d.

Solidity: function submitRRSets(bytes data, bytes proof) returns(bytes)

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

func (_Contract *ContractTransactor) DeleteRRSet(opts *bind.TransactOpts, deleteType uint16, deleteName []byte, nsec []byte, sig []byte, proof []byte) (*types.Transaction, error)

DeleteRRSet is a paid mutator transaction binding the contract method 0xe60b202f.

Solidity: function deleteRRSet(uint16 deleteType, bytes deleteName, bytes nsec, bytes sig, bytes proof) returns()

func (*ContractTransactor) SubmitRRSet

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

SubmitRRSet is a paid mutator transaction binding the contract method 0x4d46d581.

Solidity: function submitRRSet(bytes input, bytes sig, bytes proof) returns(bytes)

func (*ContractTransactor) SubmitRRSets

func (_Contract *ContractTransactor) SubmitRRSets(opts *bind.TransactOpts, data []byte, proof []byte) (*types.Transaction, error)

SubmitRRSets is a paid mutator transaction binding the contract method 0x76a14d1d.

Solidity: function submitRRSets(bytes data, bytes proof) returns(bytes)

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

func (_Contract *ContractTransactorSession) DeleteRRSet(deleteType uint16, deleteName []byte, nsec []byte, sig []byte, proof []byte) (*types.Transaction, error)

DeleteRRSet is a paid mutator transaction binding the contract method 0xe60b202f.

Solidity: function deleteRRSet(uint16 deleteType, bytes deleteName, bytes nsec, bytes sig, bytes proof) returns()

func (*ContractTransactorSession) SubmitRRSet

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

SubmitRRSet is a paid mutator transaction binding the contract method 0x4d46d581.

Solidity: function submitRRSet(bytes input, bytes sig, bytes proof) returns(bytes)

func (*ContractTransactorSession) SubmitRRSets

func (_Contract *ContractTransactorSession) SubmitRRSets(data []byte, proof []byte) (*types.Transaction, error)

SubmitRRSets is a paid mutator transaction binding the contract method 0x76a14d1d.

Solidity: function submitRRSets(bytes data, bytes proof) returns(bytes)

Jump to

Keyboard shortcuts

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