diaDfynOracleService

package
v1.1.1-rc-59 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

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

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

Variables

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

DIADfynOracleBin is the compiled bytecode used for deploying new contracts.

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

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

Functions

This section is empty.

Types

type DIADfynOracle

type DIADfynOracle struct {
	DIADfynOracleCaller     // Read-only binding to the contract
	DIADfynOracleTransactor // Write-only binding to the contract
	DIADfynOracleFilterer   // Log filterer for contract events
}

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

func DeployDIADfynOracle

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

DeployDIADfynOracle deploys a new Ethereum contract, binding an instance of DIADfynOracle to it.

func NewDIADfynOracle

func NewDIADfynOracle(address common.Address, backend bind.ContractBackend) (*DIADfynOracle, error)

NewDIADfynOracle creates a new instance of DIADfynOracle, bound to a specific deployed contract.

type DIADfynOracleCaller

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

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

func NewDIADfynOracleCaller

func NewDIADfynOracleCaller(address common.Address, caller bind.ContractCaller) (*DIADfynOracleCaller, error)

NewDIADfynOracleCaller creates a new read-only instance of DIADfynOracle, bound to a specific deployed contract.

func (*DIADfynOracleCaller) GetValue

func (_DIADfynOracle *DIADfynOracleCaller) 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 (*DIADfynOracleCaller) Values

func (_DIADfynOracle *DIADfynOracleCaller) 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 DIADfynOracleCallerRaw

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

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

func (*DIADfynOracleCallerRaw) Call

func (_DIADfynOracle *DIADfynOracleCallerRaw) 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 DIADfynOracleCallerSession

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

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

func (*DIADfynOracleCallerSession) GetValue

func (_DIADfynOracle *DIADfynOracleCallerSession) 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 (*DIADfynOracleCallerSession) Values

func (_DIADfynOracle *DIADfynOracleCallerSession) 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 DIADfynOracleFilterer

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

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

func NewDIADfynOracleFilterer

func NewDIADfynOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*DIADfynOracleFilterer, error)

NewDIADfynOracleFilterer creates a new log filterer instance of DIADfynOracle, bound to a specific deployed contract.

func (*DIADfynOracleFilterer) FilterOracleUpdate

func (_DIADfynOracle *DIADfynOracleFilterer) FilterOracleUpdate(opts *bind.FilterOpts) (*DIADfynOracleOracleUpdateIterator, error)

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

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

func (*DIADfynOracleFilterer) FilterUpdaterAddressChange

func (_DIADfynOracle *DIADfynOracleFilterer) FilterUpdaterAddressChange(opts *bind.FilterOpts) (*DIADfynOracleUpdaterAddressChangeIterator, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIADfynOracleFilterer) ParseOracleUpdate

func (_DIADfynOracle *DIADfynOracleFilterer) ParseOracleUpdate(log types.Log) (*DIADfynOracleOracleUpdate, error)

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

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

func (*DIADfynOracleFilterer) ParseUpdaterAddressChange

func (_DIADfynOracle *DIADfynOracleFilterer) ParseUpdaterAddressChange(log types.Log) (*DIADfynOracleUpdaterAddressChange, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIADfynOracleFilterer) WatchOracleUpdate

func (_DIADfynOracle *DIADfynOracleFilterer) WatchOracleUpdate(opts *bind.WatchOpts, sink chan<- *DIADfynOracleOracleUpdate) (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 (*DIADfynOracleFilterer) WatchUpdaterAddressChange

func (_DIADfynOracle *DIADfynOracleFilterer) WatchUpdaterAddressChange(opts *bind.WatchOpts, sink chan<- *DIADfynOracleUpdaterAddressChange) (event.Subscription, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

type DIADfynOracleOracleUpdate

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

DIADfynOracleOracleUpdate represents a OracleUpdate event raised by the DIADfynOracle contract.

type DIADfynOracleOracleUpdateIterator

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

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

func (*DIADfynOracleOracleUpdateIterator) Close

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

func (*DIADfynOracleOracleUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DIADfynOracleOracleUpdateIterator) 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 DIADfynOracleRaw

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

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

func (*DIADfynOracleRaw) Call

func (_DIADfynOracle *DIADfynOracleRaw) 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 (*DIADfynOracleRaw) Transact

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

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

func (*DIADfynOracleRaw) Transfer

func (_DIADfynOracle *DIADfynOracleRaw) 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 DIADfynOracleSession

type DIADfynOracleSession struct {
	Contract     *DIADfynOracle    // 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
}

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

func (*DIADfynOracleSession) GetValue

func (_DIADfynOracle *DIADfynOracleSession) 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 (*DIADfynOracleSession) SetValue

func (_DIADfynOracle *DIADfynOracleSession) 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 (*DIADfynOracleSession) UpdateOracleUpdaterAddress

func (_DIADfynOracle *DIADfynOracleSession) 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 (*DIADfynOracleSession) Values

func (_DIADfynOracle *DIADfynOracleSession) 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 DIADfynOracleTransactor

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

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

func NewDIADfynOracleTransactor

func NewDIADfynOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*DIADfynOracleTransactor, error)

NewDIADfynOracleTransactor creates a new write-only instance of DIADfynOracle, bound to a specific deployed contract.

func (*DIADfynOracleTransactor) SetValue

func (_DIADfynOracle *DIADfynOracleTransactor) 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 (*DIADfynOracleTransactor) UpdateOracleUpdaterAddress

func (_DIADfynOracle *DIADfynOracleTransactor) 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 DIADfynOracleTransactorRaw

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

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

func (*DIADfynOracleTransactorRaw) Transact

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

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

func (*DIADfynOracleTransactorRaw) Transfer

func (_DIADfynOracle *DIADfynOracleTransactorRaw) 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 DIADfynOracleTransactorSession

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

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

func (*DIADfynOracleTransactorSession) SetValue

func (_DIADfynOracle *DIADfynOracleTransactorSession) 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 (*DIADfynOracleTransactorSession) UpdateOracleUpdaterAddress

func (_DIADfynOracle *DIADfynOracleTransactorSession) 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 DIADfynOracleUpdaterAddressChange

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

DIADfynOracleUpdaterAddressChange represents a UpdaterAddressChange event raised by the DIADfynOracle contract.

type DIADfynOracleUpdaterAddressChangeIterator

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

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

func (*DIADfynOracleUpdaterAddressChangeIterator) Close

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

func (*DIADfynOracleUpdaterAddressChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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