diaArgoOracleService

package
v1.4.478 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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

Variables

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

DIAArgoOracleBin is the compiled bytecode used for deploying new contracts.

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

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

Functions

This section is empty.

Types

type DIAArgoOracle

type DIAArgoOracle struct {
	DIAArgoOracleCaller     // Read-only binding to the contract
	DIAArgoOracleTransactor // Write-only binding to the contract
	DIAArgoOracleFilterer   // Log filterer for contract events
}

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

func DeployDIAArgoOracle

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

DeployDIAArgoOracle deploys a new Ethereum contract, binding an instance of DIAArgoOracle to it.

func NewDIAArgoOracle

func NewDIAArgoOracle(address common.Address, backend bind.ContractBackend) (*DIAArgoOracle, error)

NewDIAArgoOracle creates a new instance of DIAArgoOracle, bound to a specific deployed contract.

type DIAArgoOracleCaller

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

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

func NewDIAArgoOracleCaller

func NewDIAArgoOracleCaller(address common.Address, caller bind.ContractCaller) (*DIAArgoOracleCaller, error)

NewDIAArgoOracleCaller creates a new read-only instance of DIAArgoOracle, bound to a specific deployed contract.

func (*DIAArgoOracleCaller) GetValue

func (_DIAArgoOracle *DIAArgoOracleCaller) 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 (*DIAArgoOracleCaller) Values

func (_DIAArgoOracle *DIAArgoOracleCaller) 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 DIAArgoOracleCallerRaw

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

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

func (*DIAArgoOracleCallerRaw) Call

func (_DIAArgoOracle *DIAArgoOracleCallerRaw) 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 DIAArgoOracleCallerSession

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

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

func (*DIAArgoOracleCallerSession) GetValue

func (_DIAArgoOracle *DIAArgoOracleCallerSession) 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 (*DIAArgoOracleCallerSession) Values

func (_DIAArgoOracle *DIAArgoOracleCallerSession) 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 DIAArgoOracleFilterer

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

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

func NewDIAArgoOracleFilterer

func NewDIAArgoOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*DIAArgoOracleFilterer, error)

NewDIAArgoOracleFilterer creates a new log filterer instance of DIAArgoOracle, bound to a specific deployed contract.

func (*DIAArgoOracleFilterer) FilterOracleUpdate

func (_DIAArgoOracle *DIAArgoOracleFilterer) FilterOracleUpdate(opts *bind.FilterOpts) (*DIAArgoOracleOracleUpdateIterator, error)

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

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

func (*DIAArgoOracleFilterer) FilterUpdaterAddressChange

func (_DIAArgoOracle *DIAArgoOracleFilterer) FilterUpdaterAddressChange(opts *bind.FilterOpts) (*DIAArgoOracleUpdaterAddressChangeIterator, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIAArgoOracleFilterer) ParseOracleUpdate

func (_DIAArgoOracle *DIAArgoOracleFilterer) ParseOracleUpdate(log types.Log) (*DIAArgoOracleOracleUpdate, error)

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

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

func (*DIAArgoOracleFilterer) ParseUpdaterAddressChange

func (_DIAArgoOracle *DIAArgoOracleFilterer) ParseUpdaterAddressChange(log types.Log) (*DIAArgoOracleUpdaterAddressChange, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIAArgoOracleFilterer) WatchOracleUpdate

func (_DIAArgoOracle *DIAArgoOracleFilterer) WatchOracleUpdate(opts *bind.WatchOpts, sink chan<- *DIAArgoOracleOracleUpdate) (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 (*DIAArgoOracleFilterer) WatchUpdaterAddressChange

func (_DIAArgoOracle *DIAArgoOracleFilterer) WatchUpdaterAddressChange(opts *bind.WatchOpts, sink chan<- *DIAArgoOracleUpdaterAddressChange) (event.Subscription, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

type DIAArgoOracleOracleUpdate

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

DIAArgoOracleOracleUpdate represents a OracleUpdate event raised by the DIAArgoOracle contract.

type DIAArgoOracleOracleUpdateIterator

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

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

func (*DIAArgoOracleOracleUpdateIterator) Close

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

func (*DIAArgoOracleOracleUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*DIAArgoOracleRaw) Call

func (_DIAArgoOracle *DIAArgoOracleRaw) 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 (*DIAArgoOracleRaw) Transact

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

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

func (*DIAArgoOracleRaw) Transfer

func (_DIAArgoOracle *DIAArgoOracleRaw) 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 DIAArgoOracleSession

type DIAArgoOracleSession struct {
	Contract     *DIAArgoOracle    // 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
}

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

func (*DIAArgoOracleSession) GetValue

func (_DIAArgoOracle *DIAArgoOracleSession) 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 (*DIAArgoOracleSession) SetValue

func (_DIAArgoOracle *DIAArgoOracleSession) 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 (*DIAArgoOracleSession) UpdateOracleUpdaterAddress

func (_DIAArgoOracle *DIAArgoOracleSession) 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 (*DIAArgoOracleSession) Values

func (_DIAArgoOracle *DIAArgoOracleSession) 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 DIAArgoOracleTransactor

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

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

func NewDIAArgoOracleTransactor

func NewDIAArgoOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*DIAArgoOracleTransactor, error)

NewDIAArgoOracleTransactor creates a new write-only instance of DIAArgoOracle, bound to a specific deployed contract.

func (*DIAArgoOracleTransactor) SetValue

func (_DIAArgoOracle *DIAArgoOracleTransactor) 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 (*DIAArgoOracleTransactor) UpdateOracleUpdaterAddress

func (_DIAArgoOracle *DIAArgoOracleTransactor) 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 DIAArgoOracleTransactorRaw

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

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

func (*DIAArgoOracleTransactorRaw) Transact

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

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

func (*DIAArgoOracleTransactorRaw) Transfer

func (_DIAArgoOracle *DIAArgoOracleTransactorRaw) 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 DIAArgoOracleTransactorSession

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

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

func (*DIAArgoOracleTransactorSession) SetValue

func (_DIAArgoOracle *DIAArgoOracleTransactorSession) 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 (*DIAArgoOracleTransactorSession) UpdateOracleUpdaterAddress

func (_DIAArgoOracle *DIAArgoOracleTransactorSession) 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 DIAArgoOracleUpdaterAddressChange

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

DIAArgoOracleUpdaterAddressChange represents a UpdaterAddressChange event raised by the DIAArgoOracle contract.

type DIAArgoOracleUpdaterAddressChangeIterator

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

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

func (*DIAArgoOracleUpdaterAddressChangeIterator) Close

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

func (*DIAArgoOracleUpdaterAddressChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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