diaWowOracleService

package
v1.4.322 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

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

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

Variables

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

DIAWowOracleBin is the compiled bytecode used for deploying new contracts.

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

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

Functions

This section is empty.

Types

type DIAWowOracle

type DIAWowOracle struct {
	DIAWowOracleCaller     // Read-only binding to the contract
	DIAWowOracleTransactor // Write-only binding to the contract
	DIAWowOracleFilterer   // Log filterer for contract events
}

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

func DeployDIAWowOracle

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

DeployDIAWowOracle deploys a new Ethereum contract, binding an instance of DIAWowOracle to it.

func NewDIAWowOracle

func NewDIAWowOracle(address common.Address, backend bind.ContractBackend) (*DIAWowOracle, error)

NewDIAWowOracle creates a new instance of DIAWowOracle, bound to a specific deployed contract.

type DIAWowOracleCaller

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

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

func NewDIAWowOracleCaller

func NewDIAWowOracleCaller(address common.Address, caller bind.ContractCaller) (*DIAWowOracleCaller, error)

NewDIAWowOracleCaller creates a new read-only instance of DIAWowOracle, bound to a specific deployed contract.

func (*DIAWowOracleCaller) GetValue

func (_DIAWowOracle *DIAWowOracleCaller) 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 (*DIAWowOracleCaller) Values

func (_DIAWowOracle *DIAWowOracleCaller) 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 DIAWowOracleCallerRaw

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

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

func (*DIAWowOracleCallerRaw) Call

func (_DIAWowOracle *DIAWowOracleCallerRaw) 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 DIAWowOracleCallerSession

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

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

func (*DIAWowOracleCallerSession) GetValue

func (_DIAWowOracle *DIAWowOracleCallerSession) 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 (*DIAWowOracleCallerSession) Values

func (_DIAWowOracle *DIAWowOracleCallerSession) 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 DIAWowOracleFilterer

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

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

func NewDIAWowOracleFilterer

func NewDIAWowOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*DIAWowOracleFilterer, error)

NewDIAWowOracleFilterer creates a new log filterer instance of DIAWowOracle, bound to a specific deployed contract.

func (*DIAWowOracleFilterer) FilterOracleUpdate

func (_DIAWowOracle *DIAWowOracleFilterer) FilterOracleUpdate(opts *bind.FilterOpts) (*DIAWowOracleOracleUpdateIterator, error)

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

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

func (*DIAWowOracleFilterer) FilterUpdaterAddressChange

func (_DIAWowOracle *DIAWowOracleFilterer) FilterUpdaterAddressChange(opts *bind.FilterOpts) (*DIAWowOracleUpdaterAddressChangeIterator, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIAWowOracleFilterer) ParseOracleUpdate

func (_DIAWowOracle *DIAWowOracleFilterer) ParseOracleUpdate(log types.Log) (*DIAWowOracleOracleUpdate, error)

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

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

func (*DIAWowOracleFilterer) ParseUpdaterAddressChange

func (_DIAWowOracle *DIAWowOracleFilterer) ParseUpdaterAddressChange(log types.Log) (*DIAWowOracleUpdaterAddressChange, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIAWowOracleFilterer) WatchOracleUpdate

func (_DIAWowOracle *DIAWowOracleFilterer) WatchOracleUpdate(opts *bind.WatchOpts, sink chan<- *DIAWowOracleOracleUpdate) (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 (*DIAWowOracleFilterer) WatchUpdaterAddressChange

func (_DIAWowOracle *DIAWowOracleFilterer) WatchUpdaterAddressChange(opts *bind.WatchOpts, sink chan<- *DIAWowOracleUpdaterAddressChange) (event.Subscription, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

type DIAWowOracleOracleUpdate

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

DIAWowOracleOracleUpdate represents a OracleUpdate event raised by the DIAWowOracle contract.

type DIAWowOracleOracleUpdateIterator

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

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

func (*DIAWowOracleOracleUpdateIterator) Close

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

func (*DIAWowOracleOracleUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*DIAWowOracleRaw) Call

func (_DIAWowOracle *DIAWowOracleRaw) 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 (*DIAWowOracleRaw) Transact

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

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

func (*DIAWowOracleRaw) Transfer

func (_DIAWowOracle *DIAWowOracleRaw) 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 DIAWowOracleSession

type DIAWowOracleSession struct {
	Contract     *DIAWowOracle     // 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
}

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

func (*DIAWowOracleSession) GetValue

func (_DIAWowOracle *DIAWowOracleSession) 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 (*DIAWowOracleSession) SetValue

func (_DIAWowOracle *DIAWowOracleSession) 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 (*DIAWowOracleSession) UpdateOracleUpdaterAddress

func (_DIAWowOracle *DIAWowOracleSession) 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 (*DIAWowOracleSession) Values

func (_DIAWowOracle *DIAWowOracleSession) 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 DIAWowOracleTransactor

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

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

func NewDIAWowOracleTransactor

func NewDIAWowOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*DIAWowOracleTransactor, error)

NewDIAWowOracleTransactor creates a new write-only instance of DIAWowOracle, bound to a specific deployed contract.

func (*DIAWowOracleTransactor) SetValue

func (_DIAWowOracle *DIAWowOracleTransactor) 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 (*DIAWowOracleTransactor) UpdateOracleUpdaterAddress

func (_DIAWowOracle *DIAWowOracleTransactor) 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 DIAWowOracleTransactorRaw

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

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

func (*DIAWowOracleTransactorRaw) Transact

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

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

func (*DIAWowOracleTransactorRaw) Transfer

func (_DIAWowOracle *DIAWowOracleTransactorRaw) 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 DIAWowOracleTransactorSession

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

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

func (*DIAWowOracleTransactorSession) SetValue

func (_DIAWowOracle *DIAWowOracleTransactorSession) 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 (*DIAWowOracleTransactorSession) UpdateOracleUpdaterAddress

func (_DIAWowOracle *DIAWowOracleTransactorSession) 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 DIAWowOracleUpdaterAddressChange

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

DIAWowOracleUpdaterAddressChange represents a UpdaterAddressChange event raised by the DIAWowOracle contract.

type DIAWowOracleUpdaterAddressChangeIterator

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

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

func (*DIAWowOracleUpdaterAddressChangeIterator) Close

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

func (*DIAWowOracleUpdaterAddressChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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