diaPcwsOracleService

package
v1.4.403 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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

Variables

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

DIAPcwsOracleBin is the compiled bytecode used for deploying new contracts.

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

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

Functions

This section is empty.

Types

type DIAPcwsOracle

type DIAPcwsOracle struct {
	DIAPcwsOracleCaller     // Read-only binding to the contract
	DIAPcwsOracleTransactor // Write-only binding to the contract
	DIAPcwsOracleFilterer   // Log filterer for contract events
}

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

func DeployDIAPcwsOracle

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

DeployDIAPcwsOracle deploys a new Ethereum contract, binding an instance of DIAPcwsOracle to it.

func NewDIAPcwsOracle

func NewDIAPcwsOracle(address common.Address, backend bind.ContractBackend) (*DIAPcwsOracle, error)

NewDIAPcwsOracle creates a new instance of DIAPcwsOracle, bound to a specific deployed contract.

type DIAPcwsOracleCaller

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

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

func NewDIAPcwsOracleCaller

func NewDIAPcwsOracleCaller(address common.Address, caller bind.ContractCaller) (*DIAPcwsOracleCaller, error)

NewDIAPcwsOracleCaller creates a new read-only instance of DIAPcwsOracle, bound to a specific deployed contract.

func (*DIAPcwsOracleCaller) GetValue

func (_DIAPcwsOracle *DIAPcwsOracleCaller) 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 (*DIAPcwsOracleCaller) Values

func (_DIAPcwsOracle *DIAPcwsOracleCaller) 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 DIAPcwsOracleCallerRaw

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

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

func (*DIAPcwsOracleCallerRaw) Call

func (_DIAPcwsOracle *DIAPcwsOracleCallerRaw) 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 DIAPcwsOracleCallerSession

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

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

func (*DIAPcwsOracleCallerSession) GetValue

func (_DIAPcwsOracle *DIAPcwsOracleCallerSession) 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 (*DIAPcwsOracleCallerSession) Values

func (_DIAPcwsOracle *DIAPcwsOracleCallerSession) 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 DIAPcwsOracleFilterer

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

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

func NewDIAPcwsOracleFilterer

func NewDIAPcwsOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*DIAPcwsOracleFilterer, error)

NewDIAPcwsOracleFilterer creates a new log filterer instance of DIAPcwsOracle, bound to a specific deployed contract.

func (*DIAPcwsOracleFilterer) FilterOracleUpdate

func (_DIAPcwsOracle *DIAPcwsOracleFilterer) FilterOracleUpdate(opts *bind.FilterOpts) (*DIAPcwsOracleOracleUpdateIterator, error)

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

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

func (*DIAPcwsOracleFilterer) FilterUpdaterAddressChange

func (_DIAPcwsOracle *DIAPcwsOracleFilterer) FilterUpdaterAddressChange(opts *bind.FilterOpts) (*DIAPcwsOracleUpdaterAddressChangeIterator, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIAPcwsOracleFilterer) ParseOracleUpdate

func (_DIAPcwsOracle *DIAPcwsOracleFilterer) ParseOracleUpdate(log types.Log) (*DIAPcwsOracleOracleUpdate, error)

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

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

func (*DIAPcwsOracleFilterer) ParseUpdaterAddressChange

func (_DIAPcwsOracle *DIAPcwsOracleFilterer) ParseUpdaterAddressChange(log types.Log) (*DIAPcwsOracleUpdaterAddressChange, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIAPcwsOracleFilterer) WatchOracleUpdate

func (_DIAPcwsOracle *DIAPcwsOracleFilterer) WatchOracleUpdate(opts *bind.WatchOpts, sink chan<- *DIAPcwsOracleOracleUpdate) (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 (*DIAPcwsOracleFilterer) WatchUpdaterAddressChange

func (_DIAPcwsOracle *DIAPcwsOracleFilterer) WatchUpdaterAddressChange(opts *bind.WatchOpts, sink chan<- *DIAPcwsOracleUpdaterAddressChange) (event.Subscription, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

type DIAPcwsOracleOracleUpdate

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

DIAPcwsOracleOracleUpdate represents a OracleUpdate event raised by the DIAPcwsOracle contract.

type DIAPcwsOracleOracleUpdateIterator

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

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

func (*DIAPcwsOracleOracleUpdateIterator) Close

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

func (*DIAPcwsOracleOracleUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*DIAPcwsOracleRaw) Call

func (_DIAPcwsOracle *DIAPcwsOracleRaw) 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 (*DIAPcwsOracleRaw) Transact

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

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

func (*DIAPcwsOracleRaw) Transfer

func (_DIAPcwsOracle *DIAPcwsOracleRaw) 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 DIAPcwsOracleSession

type DIAPcwsOracleSession struct {
	Contract     *DIAPcwsOracle    // 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
}

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

func (*DIAPcwsOracleSession) GetValue

func (_DIAPcwsOracle *DIAPcwsOracleSession) 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 (*DIAPcwsOracleSession) SetValue

func (_DIAPcwsOracle *DIAPcwsOracleSession) 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 (*DIAPcwsOracleSession) UpdateOracleUpdaterAddress

func (_DIAPcwsOracle *DIAPcwsOracleSession) 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 (*DIAPcwsOracleSession) Values

func (_DIAPcwsOracle *DIAPcwsOracleSession) 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 DIAPcwsOracleTransactor

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

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

func NewDIAPcwsOracleTransactor

func NewDIAPcwsOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*DIAPcwsOracleTransactor, error)

NewDIAPcwsOracleTransactor creates a new write-only instance of DIAPcwsOracle, bound to a specific deployed contract.

func (*DIAPcwsOracleTransactor) SetValue

func (_DIAPcwsOracle *DIAPcwsOracleTransactor) 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 (*DIAPcwsOracleTransactor) UpdateOracleUpdaterAddress

func (_DIAPcwsOracle *DIAPcwsOracleTransactor) 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 DIAPcwsOracleTransactorRaw

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

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

func (*DIAPcwsOracleTransactorRaw) Transact

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

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

func (*DIAPcwsOracleTransactorRaw) Transfer

func (_DIAPcwsOracle *DIAPcwsOracleTransactorRaw) 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 DIAPcwsOracleTransactorSession

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

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

func (*DIAPcwsOracleTransactorSession) SetValue

func (_DIAPcwsOracle *DIAPcwsOracleTransactorSession) 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 (*DIAPcwsOracleTransactorSession) UpdateOracleUpdaterAddress

func (_DIAPcwsOracle *DIAPcwsOracleTransactorSession) 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 DIAPcwsOracleUpdaterAddressChange

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

DIAPcwsOracleUpdaterAddressChange represents a UpdaterAddressChange event raised by the DIAPcwsOracle contract.

type DIAPcwsOracleUpdaterAddressChangeIterator

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

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

func (*DIAPcwsOracleUpdaterAddressChangeIterator) Close

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

func (*DIAPcwsOracleUpdaterAddressChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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