diaDowsOracleService

package
v1.4.1-rc-144-probes Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DIADowsOracleABI = "" /* 1675-byte string literal not displayed */

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

Variables

View Source
var DIADowsOracleBin = "" /* 2816-byte string literal not displayed */

DIADowsOracleBin is the compiled bytecode used for deploying new contracts.

View Source
var DIADowsOracleFuncSigs = map[string]string{
	"960384a0": "getValue(string)",
	"7898e0c2": "setValue(string,uint128,uint128)",
	"6aa45efc": "updateOracleUpdaterAddress(address)",
	"5a9ade8b": "values(string)",
}

DIADowsOracleFuncSigs maps the 4-byte function signature to its string representation.

Functions

This section is empty.

Types

type DIADowsOracle

type DIADowsOracle struct {
	DIADowsOracleCaller     // Read-only binding to the contract
	DIADowsOracleTransactor // Write-only binding to the contract
	DIADowsOracleFilterer   // Log filterer for contract events
}

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

func DeployDIADowsOracle

func DeployDIADowsOracle(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *DIADowsOracle, error)

DeployDIADowsOracle deploys a new Ethereum contract, binding an instance of DIADowsOracle to it.

func NewDIADowsOracle

func NewDIADowsOracle(address common.Address, backend bind.ContractBackend) (*DIADowsOracle, error)

NewDIADowsOracle creates a new instance of DIADowsOracle, bound to a specific deployed contract.

type DIADowsOracleCaller

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

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

func NewDIADowsOracleCaller

func NewDIADowsOracleCaller(address common.Address, caller bind.ContractCaller) (*DIADowsOracleCaller, error)

NewDIADowsOracleCaller creates a new read-only instance of DIADowsOracle, bound to a specific deployed contract.

func (*DIADowsOracleCaller) GetValue

func (_DIADowsOracle *DIADowsOracleCaller) GetValue(opts *bind.CallOpts, key string) (*big.Int, *big.Int, error)

GetValue is a free data retrieval call binding the contract method 0x960384a0.

Solidity: function getValue(string key) view returns(uint128, uint128)

func (*DIADowsOracleCaller) Values

func (_DIADowsOracle *DIADowsOracleCaller) Values(opts *bind.CallOpts, arg0 string) (*big.Int, error)

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

Solidity: function values(string ) view returns(uint256)

type DIADowsOracleCallerRaw

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

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

func (*DIADowsOracleCallerRaw) Call

func (_DIADowsOracle *DIADowsOracleCallerRaw) 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 DIADowsOracleCallerSession

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

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

func (*DIADowsOracleCallerSession) GetValue

func (_DIADowsOracle *DIADowsOracleCallerSession) GetValue(key string) (*big.Int, *big.Int, error)

GetValue is a free data retrieval call binding the contract method 0x960384a0.

Solidity: function getValue(string key) view returns(uint128, uint128)

func (*DIADowsOracleCallerSession) Values

func (_DIADowsOracle *DIADowsOracleCallerSession) Values(arg0 string) (*big.Int, error)

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

Solidity: function values(string ) view returns(uint256)

type DIADowsOracleFilterer

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

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

func NewDIADowsOracleFilterer

func NewDIADowsOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*DIADowsOracleFilterer, error)

NewDIADowsOracleFilterer creates a new log filterer instance of DIADowsOracle, bound to a specific deployed contract.

func (*DIADowsOracleFilterer) FilterOracleUpdate

func (_DIADowsOracle *DIADowsOracleFilterer) FilterOracleUpdate(opts *bind.FilterOpts) (*DIADowsOracleOracleUpdateIterator, error)

FilterOracleUpdate is a free log retrieval operation binding the contract event 0xa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782.

Solidity: event OracleUpdate(string key, uint128 value, uint128 timestamp)

func (*DIADowsOracleFilterer) FilterUpdaterAddressChange

func (_DIADowsOracle *DIADowsOracleFilterer) FilterUpdaterAddressChange(opts *bind.FilterOpts) (*DIADowsOracleUpdaterAddressChangeIterator, error)

FilterUpdaterAddressChange is a free log retrieval operation binding the contract event 0x121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f.

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIADowsOracleFilterer) ParseOracleUpdate

func (_DIADowsOracle *DIADowsOracleFilterer) ParseOracleUpdate(log types.Log) (*DIADowsOracleOracleUpdate, error)

ParseOracleUpdate is a log parse operation binding the contract event 0xa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782.

Solidity: event OracleUpdate(string key, uint128 value, uint128 timestamp)

func (*DIADowsOracleFilterer) ParseUpdaterAddressChange

func (_DIADowsOracle *DIADowsOracleFilterer) ParseUpdaterAddressChange(log types.Log) (*DIADowsOracleUpdaterAddressChange, error)

ParseUpdaterAddressChange is a log parse operation binding the contract event 0x121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f.

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIADowsOracleFilterer) WatchOracleUpdate

func (_DIADowsOracle *DIADowsOracleFilterer) WatchOracleUpdate(opts *bind.WatchOpts, sink chan<- *DIADowsOracleOracleUpdate) (event.Subscription, error)

WatchOracleUpdate is a free log subscription operation binding the contract event 0xa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782.

Solidity: event OracleUpdate(string key, uint128 value, uint128 timestamp)

func (*DIADowsOracleFilterer) WatchUpdaterAddressChange

func (_DIADowsOracle *DIADowsOracleFilterer) WatchUpdaterAddressChange(opts *bind.WatchOpts, sink chan<- *DIADowsOracleUpdaterAddressChange) (event.Subscription, error)

WatchUpdaterAddressChange is a free log subscription operation binding the contract event 0x121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f.

Solidity: event UpdaterAddressChange(address newUpdater)

type DIADowsOracleOracleUpdate

type DIADowsOracleOracleUpdate struct {
	Key       string
	Value     *big.Int
	Timestamp *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

DIADowsOracleOracleUpdate represents a OracleUpdate event raised by the DIADowsOracle contract.

type DIADowsOracleOracleUpdateIterator

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

DIADowsOracleOracleUpdateIterator is returned from FilterOracleUpdate and is used to iterate over the raw logs and unpacked data for OracleUpdate events raised by the DIADowsOracle contract.

func (*DIADowsOracleOracleUpdateIterator) Close

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

func (*DIADowsOracleOracleUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DIADowsOracleOracleUpdateIterator) 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 DIADowsOracleRaw

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

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

func (*DIADowsOracleRaw) Call

func (_DIADowsOracle *DIADowsOracleRaw) 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 (*DIADowsOracleRaw) Transact

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

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

func (*DIADowsOracleRaw) Transfer

func (_DIADowsOracle *DIADowsOracleRaw) 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 DIADowsOracleSession

type DIADowsOracleSession struct {
	Contract     *DIADowsOracle    // 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
}

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

func (*DIADowsOracleSession) GetValue

func (_DIADowsOracle *DIADowsOracleSession) GetValue(key string) (*big.Int, *big.Int, error)

GetValue is a free data retrieval call binding the contract method 0x960384a0.

Solidity: function getValue(string key) view returns(uint128, uint128)

func (*DIADowsOracleSession) SetValue

func (_DIADowsOracle *DIADowsOracleSession) SetValue(key string, value *big.Int, timestamp *big.Int) (*types.Transaction, error)

SetValue is a paid mutator transaction binding the contract method 0x7898e0c2.

Solidity: function setValue(string key, uint128 value, uint128 timestamp) returns()

func (*DIADowsOracleSession) UpdateOracleUpdaterAddress

func (_DIADowsOracle *DIADowsOracleSession) UpdateOracleUpdaterAddress(newOracleUpdaterAddress common.Address) (*types.Transaction, error)

UpdateOracleUpdaterAddress is a paid mutator transaction binding the contract method 0x6aa45efc.

Solidity: function updateOracleUpdaterAddress(address newOracleUpdaterAddress) returns()

func (*DIADowsOracleSession) Values

func (_DIADowsOracle *DIADowsOracleSession) Values(arg0 string) (*big.Int, error)

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

Solidity: function values(string ) view returns(uint256)

type DIADowsOracleTransactor

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

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

func NewDIADowsOracleTransactor

func NewDIADowsOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*DIADowsOracleTransactor, error)

NewDIADowsOracleTransactor creates a new write-only instance of DIADowsOracle, bound to a specific deployed contract.

func (*DIADowsOracleTransactor) SetValue

func (_DIADowsOracle *DIADowsOracleTransactor) SetValue(opts *bind.TransactOpts, key string, value *big.Int, timestamp *big.Int) (*types.Transaction, error)

SetValue is a paid mutator transaction binding the contract method 0x7898e0c2.

Solidity: function setValue(string key, uint128 value, uint128 timestamp) returns()

func (*DIADowsOracleTransactor) UpdateOracleUpdaterAddress

func (_DIADowsOracle *DIADowsOracleTransactor) UpdateOracleUpdaterAddress(opts *bind.TransactOpts, newOracleUpdaterAddress common.Address) (*types.Transaction, error)

UpdateOracleUpdaterAddress is a paid mutator transaction binding the contract method 0x6aa45efc.

Solidity: function updateOracleUpdaterAddress(address newOracleUpdaterAddress) returns()

type DIADowsOracleTransactorRaw

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

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

func (*DIADowsOracleTransactorRaw) Transact

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

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

func (*DIADowsOracleTransactorRaw) Transfer

func (_DIADowsOracle *DIADowsOracleTransactorRaw) 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 DIADowsOracleTransactorSession

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

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

func (*DIADowsOracleTransactorSession) SetValue

func (_DIADowsOracle *DIADowsOracleTransactorSession) SetValue(key string, value *big.Int, timestamp *big.Int) (*types.Transaction, error)

SetValue is a paid mutator transaction binding the contract method 0x7898e0c2.

Solidity: function setValue(string key, uint128 value, uint128 timestamp) returns()

func (*DIADowsOracleTransactorSession) UpdateOracleUpdaterAddress

func (_DIADowsOracle *DIADowsOracleTransactorSession) UpdateOracleUpdaterAddress(newOracleUpdaterAddress common.Address) (*types.Transaction, error)

UpdateOracleUpdaterAddress is a paid mutator transaction binding the contract method 0x6aa45efc.

Solidity: function updateOracleUpdaterAddress(address newOracleUpdaterAddress) returns()

type DIADowsOracleUpdaterAddressChange

type DIADowsOracleUpdaterAddressChange struct {
	NewUpdater common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

DIADowsOracleUpdaterAddressChange represents a UpdaterAddressChange event raised by the DIADowsOracle contract.

type DIADowsOracleUpdaterAddressChangeIterator

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

DIADowsOracleUpdaterAddressChangeIterator is returned from FilterUpdaterAddressChange and is used to iterate over the raw logs and unpacked data for UpdaterAddressChange events raised by the DIADowsOracle contract.

func (*DIADowsOracleUpdaterAddressChangeIterator) Close

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

func (*DIADowsOracleUpdaterAddressChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DIADowsOracleUpdaterAddressChangeIterator) 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.

Jump to

Keyboard shortcuts

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