oracle

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const OracleABI = "" /* 3744-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Oracle

type Oracle struct {
	OracleCaller     // Read-only binding to the contract
	OracleTransactor // Write-only binding to the contract
	OracleFilterer   // Log filterer for contract events
}

Oracle is an auto generated Go binding around an Ethereum contract.

func NewOracle

func NewOracle(address common.Address, backend bind.ContractBackend) (*Oracle, error)

NewOracle creates a new instance of Oracle, bound to a specific deployed contract.

type OracleCaller

type OracleCaller struct {
	// contains filtered or unexported fields
}

OracleCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewOracleCaller

func NewOracleCaller(address common.Address, caller bind.ContractCaller) (*OracleCaller, error)

NewOracleCaller creates a new read-only instance of Oracle, bound to a specific deployed contract.

func (*OracleCaller) Authority

func (_Oracle *OracleCaller) Authority(opts *bind.CallOpts) (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() constant returns(address)

func (*OracleCaller) Compute

func (_Oracle *OracleCaller) Compute(opts *bind.CallOpts) ([32]byte, bool, error)

Compute is a free data retrieval call binding the contract method 0x1a43c338.

Solidity: function compute() constant returns(bytes32, bool)

func (*OracleCaller) Indexes

func (_Oracle *OracleCaller) Indexes(opts *bind.CallOpts, arg0 common.Address) ([12]byte, error)

Indexes is a free data retrieval call binding the contract method 0x2db78d93.

Solidity: function indexes( address) constant returns(bytes12)

func (*OracleCaller) Min

func (_Oracle *OracleCaller) Min(opts *bind.CallOpts) (*big.Int, error)

Min is a free data retrieval call binding the contract method 0xf8897945.

Solidity: function min() constant returns(uint96)

func (*OracleCaller) Next

func (_Oracle *OracleCaller) Next(opts *bind.CallOpts) ([12]byte, error)

Next is a free data retrieval call binding the contract method 0x4c8fe526.

Solidity: function next() constant returns(bytes12)

func (*OracleCaller) Owner

func (_Oracle *OracleCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*OracleCaller) Peek

func (_Oracle *OracleCaller) Peek(opts *bind.CallOpts) ([32]byte, bool, error)

Peek is a free data retrieval call binding the contract method 0x59e02dd7.

Solidity: function peek() constant returns(bytes32, bool)

func (*OracleCaller) Read

func (_Oracle *OracleCaller) Read(opts *bind.CallOpts) ([32]byte, error)

Read is a free data retrieval call binding the contract method 0x57de26a4.

Solidity: function read() constant returns(bytes32)

func (*OracleCaller) Values

func (_Oracle *OracleCaller) Values(opts *bind.CallOpts, arg0 [12]byte) (common.Address, error)

Values is a free data retrieval call binding the contract method 0x651dd0de.

Solidity: function values( bytes12) constant returns(address)

type OracleCallerRaw

type OracleCallerRaw struct {
	Contract *OracleCaller // Generic read-only contract binding to access the raw methods on
}

OracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*OracleCallerRaw) Call

func (_Oracle *OracleCallerRaw) 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 OracleCallerSession

type OracleCallerSession struct {
	Contract *OracleCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

OracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*OracleCallerSession) Authority

func (_Oracle *OracleCallerSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() constant returns(address)

func (*OracleCallerSession) Compute

func (_Oracle *OracleCallerSession) Compute() ([32]byte, bool, error)

Compute is a free data retrieval call binding the contract method 0x1a43c338.

Solidity: function compute() constant returns(bytes32, bool)

func (*OracleCallerSession) Indexes

func (_Oracle *OracleCallerSession) Indexes(arg0 common.Address) ([12]byte, error)

Indexes is a free data retrieval call binding the contract method 0x2db78d93.

Solidity: function indexes( address) constant returns(bytes12)

func (*OracleCallerSession) Min

func (_Oracle *OracleCallerSession) Min() (*big.Int, error)

Min is a free data retrieval call binding the contract method 0xf8897945.

Solidity: function min() constant returns(uint96)

func (*OracleCallerSession) Next

func (_Oracle *OracleCallerSession) Next() ([12]byte, error)

Next is a free data retrieval call binding the contract method 0x4c8fe526.

Solidity: function next() constant returns(bytes12)

func (*OracleCallerSession) Owner

func (_Oracle *OracleCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*OracleCallerSession) Peek

func (_Oracle *OracleCallerSession) Peek() ([32]byte, bool, error)

Peek is a free data retrieval call binding the contract method 0x59e02dd7.

Solidity: function peek() constant returns(bytes32, bool)

func (*OracleCallerSession) Read

func (_Oracle *OracleCallerSession) Read() ([32]byte, error)

Read is a free data retrieval call binding the contract method 0x57de26a4.

Solidity: function read() constant returns(bytes32)

func (*OracleCallerSession) Values

func (_Oracle *OracleCallerSession) Values(arg0 [12]byte) (common.Address, error)

Values is a free data retrieval call binding the contract method 0x651dd0de.

Solidity: function values( bytes12) constant returns(address)

type OracleFilterer

type OracleFilterer struct {
	// contains filtered or unexported fields
}

OracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewOracleFilterer

func NewOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*OracleFilterer, error)

NewOracleFilterer creates a new log filterer instance of Oracle, bound to a specific deployed contract.

func (*OracleFilterer) FilterLogSetAuthority

func (_Oracle *OracleFilterer) FilterLogSetAuthority(opts *bind.FilterOpts, authority []common.Address) (*OracleLogSetAuthorityIterator, error)

FilterLogSetAuthority is a free log retrieval operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: e LogSetAuthority(authority indexed address)

func (*OracleFilterer) FilterLogSetOwner

func (_Oracle *OracleFilterer) FilterLogSetOwner(opts *bind.FilterOpts, owner []common.Address) (*OracleLogSetOwnerIterator, error)

FilterLogSetOwner is a free log retrieval operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: e LogSetOwner(owner indexed address)

func (*OracleFilterer) WatchLogSetAuthority

func (_Oracle *OracleFilterer) WatchLogSetAuthority(opts *bind.WatchOpts, sink chan<- *OracleLogSetAuthority, authority []common.Address) (event.Subscription, error)

WatchLogSetAuthority is a free log subscription operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: e LogSetAuthority(authority indexed address)

func (*OracleFilterer) WatchLogSetOwner

func (_Oracle *OracleFilterer) WatchLogSetOwner(opts *bind.WatchOpts, sink chan<- *OracleLogSetOwner, owner []common.Address) (event.Subscription, error)

WatchLogSetOwner is a free log subscription operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: e LogSetOwner(owner indexed address)

type OracleLogSetAuthority

type OracleLogSetAuthority struct {
	Authority common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

OracleLogSetAuthority represents a LogSetAuthority event raised by the Oracle contract.

type OracleLogSetAuthorityIterator

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

OracleLogSetAuthorityIterator is returned from FilterLogSetAuthority and is used to iterate over the raw logs and unpacked data for LogSetAuthority events raised by the Oracle contract.

func (*OracleLogSetAuthorityIterator) Close

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

func (*OracleLogSetAuthorityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OracleLogSetAuthorityIterator) 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 OracleLogSetOwner

type OracleLogSetOwner struct {
	Owner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

OracleLogSetOwner represents a LogSetOwner event raised by the Oracle contract.

type OracleLogSetOwnerIterator

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

OracleLogSetOwnerIterator is returned from FilterLogSetOwner and is used to iterate over the raw logs and unpacked data for LogSetOwner events raised by the Oracle contract.

func (*OracleLogSetOwnerIterator) Close

func (it *OracleLogSetOwnerIterator) Close() error

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

func (*OracleLogSetOwnerIterator) Error

func (it *OracleLogSetOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OracleLogSetOwnerIterator) Next

func (it *OracleLogSetOwnerIterator) 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 OracleRaw

type OracleRaw struct {
	Contract *Oracle // Generic contract binding to access the raw methods on
}

OracleRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*OracleRaw) Call

func (_Oracle *OracleRaw) 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 (*OracleRaw) Transact

func (_Oracle *OracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OracleRaw) Transfer

func (_Oracle *OracleRaw) 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 OracleSession

type OracleSession struct {
	Contract     *Oracle           // 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
}

OracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*OracleSession) Authority

func (_Oracle *OracleSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() constant returns(address)

func (*OracleSession) Compute

func (_Oracle *OracleSession) Compute() ([32]byte, bool, error)

Compute is a free data retrieval call binding the contract method 0x1a43c338.

Solidity: function compute() constant returns(bytes32, bool)

func (*OracleSession) Indexes

func (_Oracle *OracleSession) Indexes(arg0 common.Address) ([12]byte, error)

Indexes is a free data retrieval call binding the contract method 0x2db78d93.

Solidity: function indexes( address) constant returns(bytes12)

func (*OracleSession) Min

func (_Oracle *OracleSession) Min() (*big.Int, error)

Min is a free data retrieval call binding the contract method 0xf8897945.

Solidity: function min() constant returns(uint96)

func (*OracleSession) Next

func (_Oracle *OracleSession) Next() ([12]byte, error)

Next is a free data retrieval call binding the contract method 0x4c8fe526.

Solidity: function next() constant returns(bytes12)

func (*OracleSession) Owner

func (_Oracle *OracleSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*OracleSession) Peek

func (_Oracle *OracleSession) Peek() ([32]byte, bool, error)

Peek is a free data retrieval call binding the contract method 0x59e02dd7.

Solidity: function peek() constant returns(bytes32, bool)

func (*OracleSession) Poke

func (_Oracle *OracleSession) Poke() (*types.Transaction, error)

Poke is a paid mutator transaction binding the contract method 0x18178358.

Solidity: function poke() returns()

func (*OracleSession) Read

func (_Oracle *OracleSession) Read() ([32]byte, error)

Read is a free data retrieval call binding the contract method 0x57de26a4.

Solidity: function read() constant returns(bytes32)

func (*OracleSession) Set

func (_Oracle *OracleSession) Set(pos [12]byte, wat common.Address) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0xbeb38b43.

Solidity: function set(pos bytes12, wat address) returns()

func (*OracleSession) SetAuthority

func (_Oracle *OracleSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(authority_ address) returns()

func (*OracleSession) SetMin

func (_Oracle *OracleSession) SetMin(min_ *big.Int) (*types.Transaction, error)

SetMin is a paid mutator transaction binding the contract method 0x6ba5ef0d.

Solidity: function setMin(min_ uint96) returns()

func (*OracleSession) SetNext

func (_Oracle *OracleSession) SetNext(next_ [12]byte) (*types.Transaction, error)

SetNext is a paid mutator transaction binding the contract method 0xf2c5925d.

Solidity: function setNext(next_ bytes12) returns()

func (*OracleSession) SetOwner

func (_Oracle *OracleSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*OracleSession) Unset

func (_Oracle *OracleSession) Unset(pos [12]byte) (*types.Transaction, error)

Unset is a paid mutator transaction binding the contract method 0xe0a1fdad.

Solidity: function unset(pos bytes12) returns()

func (*OracleSession) Values

func (_Oracle *OracleSession) Values(arg0 [12]byte) (common.Address, error)

Values is a free data retrieval call binding the contract method 0x651dd0de.

Solidity: function values( bytes12) constant returns(address)

func (*OracleSession) Void

func (_Oracle *OracleSession) Void() (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

type OracleTransactor

type OracleTransactor struct {
	// contains filtered or unexported fields
}

OracleTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewOracleTransactor

func NewOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*OracleTransactor, error)

NewOracleTransactor creates a new write-only instance of Oracle, bound to a specific deployed contract.

func (*OracleTransactor) Poke

func (_Oracle *OracleTransactor) Poke(opts *bind.TransactOpts) (*types.Transaction, error)

Poke is a paid mutator transaction binding the contract method 0x18178358.

Solidity: function poke() returns()

func (*OracleTransactor) Set

func (_Oracle *OracleTransactor) Set(opts *bind.TransactOpts, pos [12]byte, wat common.Address) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0xbeb38b43.

Solidity: function set(pos bytes12, wat address) returns()

func (*OracleTransactor) SetAuthority

func (_Oracle *OracleTransactor) SetAuthority(opts *bind.TransactOpts, authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(authority_ address) returns()

func (*OracleTransactor) SetMin

func (_Oracle *OracleTransactor) SetMin(opts *bind.TransactOpts, min_ *big.Int) (*types.Transaction, error)

SetMin is a paid mutator transaction binding the contract method 0x6ba5ef0d.

Solidity: function setMin(min_ uint96) returns()

func (*OracleTransactor) SetNext

func (_Oracle *OracleTransactor) SetNext(opts *bind.TransactOpts, next_ [12]byte) (*types.Transaction, error)

SetNext is a paid mutator transaction binding the contract method 0xf2c5925d.

Solidity: function setNext(next_ bytes12) returns()

func (*OracleTransactor) SetOwner

func (_Oracle *OracleTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*OracleTransactor) Unset

func (_Oracle *OracleTransactor) Unset(opts *bind.TransactOpts, pos [12]byte) (*types.Transaction, error)

Unset is a paid mutator transaction binding the contract method 0xe0a1fdad.

Solidity: function unset(pos bytes12) returns()

func (*OracleTransactor) Void

func (_Oracle *OracleTransactor) Void(opts *bind.TransactOpts) (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

type OracleTransactorRaw

type OracleTransactorRaw struct {
	Contract *OracleTransactor // Generic write-only contract binding to access the raw methods on
}

OracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*OracleTransactorRaw) Transact

func (_Oracle *OracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OracleTransactorRaw) Transfer

func (_Oracle *OracleTransactorRaw) 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 OracleTransactorSession

type OracleTransactorSession struct {
	Contract     *OracleTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

OracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*OracleTransactorSession) Poke

func (_Oracle *OracleTransactorSession) Poke() (*types.Transaction, error)

Poke is a paid mutator transaction binding the contract method 0x18178358.

Solidity: function poke() returns()

func (*OracleTransactorSession) Set

func (_Oracle *OracleTransactorSession) Set(pos [12]byte, wat common.Address) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0xbeb38b43.

Solidity: function set(pos bytes12, wat address) returns()

func (*OracleTransactorSession) SetAuthority

func (_Oracle *OracleTransactorSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(authority_ address) returns()

func (*OracleTransactorSession) SetMin

func (_Oracle *OracleTransactorSession) SetMin(min_ *big.Int) (*types.Transaction, error)

SetMin is a paid mutator transaction binding the contract method 0x6ba5ef0d.

Solidity: function setMin(min_ uint96) returns()

func (*OracleTransactorSession) SetNext

func (_Oracle *OracleTransactorSession) SetNext(next_ [12]byte) (*types.Transaction, error)

SetNext is a paid mutator transaction binding the contract method 0xf2c5925d.

Solidity: function setNext(next_ bytes12) returns()

func (*OracleTransactorSession) SetOwner

func (_Oracle *OracleTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*OracleTransactorSession) Unset

func (_Oracle *OracleTransactorSession) Unset(pos [12]byte) (*types.Transaction, error)

Unset is a paid mutator transaction binding the contract method 0xe0a1fdad.

Solidity: function unset(pos bytes12) returns()

func (*OracleTransactorSession) Void

func (_Oracle *OracleTransactorSession) Void() (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

Jump to

Keyboard shortcuts

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