diaScifiOracleService

package
v1.4.475 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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

Variables

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

DIAScifiOracleBin is the compiled bytecode used for deploying new contracts.

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

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

Functions

This section is empty.

Types

type DIAScifiOracle

type DIAScifiOracle struct {
	DIAScifiOracleCaller     // Read-only binding to the contract
	DIAScifiOracleTransactor // Write-only binding to the contract
	DIAScifiOracleFilterer   // Log filterer for contract events
}

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

func DeployDIAScifiOracle

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

DeployDIAScifiOracle deploys a new Ethereum contract, binding an instance of DIAScifiOracle to it.

func NewDIAScifiOracle

func NewDIAScifiOracle(address common.Address, backend bind.ContractBackend) (*DIAScifiOracle, error)

NewDIAScifiOracle creates a new instance of DIAScifiOracle, bound to a specific deployed contract.

type DIAScifiOracleCaller

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

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

func NewDIAScifiOracleCaller

func NewDIAScifiOracleCaller(address common.Address, caller bind.ContractCaller) (*DIAScifiOracleCaller, error)

NewDIAScifiOracleCaller creates a new read-only instance of DIAScifiOracle, bound to a specific deployed contract.

func (*DIAScifiOracleCaller) GetValue

func (_DIAScifiOracle *DIAScifiOracleCaller) 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 (*DIAScifiOracleCaller) Values

func (_DIAScifiOracle *DIAScifiOracleCaller) 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 DIAScifiOracleCallerRaw

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

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

func (*DIAScifiOracleCallerRaw) Call

func (_DIAScifiOracle *DIAScifiOracleCallerRaw) 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 DIAScifiOracleCallerSession

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

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

func (*DIAScifiOracleCallerSession) GetValue

func (_DIAScifiOracle *DIAScifiOracleCallerSession) 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 (*DIAScifiOracleCallerSession) Values

func (_DIAScifiOracle *DIAScifiOracleCallerSession) 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 DIAScifiOracleFilterer

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

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

func NewDIAScifiOracleFilterer

func NewDIAScifiOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*DIAScifiOracleFilterer, error)

NewDIAScifiOracleFilterer creates a new log filterer instance of DIAScifiOracle, bound to a specific deployed contract.

func (*DIAScifiOracleFilterer) FilterOracleUpdate

func (_DIAScifiOracle *DIAScifiOracleFilterer) FilterOracleUpdate(opts *bind.FilterOpts) (*DIAScifiOracleOracleUpdateIterator, error)

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

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

func (*DIAScifiOracleFilterer) FilterUpdaterAddressChange

func (_DIAScifiOracle *DIAScifiOracleFilterer) FilterUpdaterAddressChange(opts *bind.FilterOpts) (*DIAScifiOracleUpdaterAddressChangeIterator, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIAScifiOracleFilterer) ParseOracleUpdate

func (_DIAScifiOracle *DIAScifiOracleFilterer) ParseOracleUpdate(log types.Log) (*DIAScifiOracleOracleUpdate, error)

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

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

func (*DIAScifiOracleFilterer) ParseUpdaterAddressChange

func (_DIAScifiOracle *DIAScifiOracleFilterer) ParseUpdaterAddressChange(log types.Log) (*DIAScifiOracleUpdaterAddressChange, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIAScifiOracleFilterer) WatchOracleUpdate

func (_DIAScifiOracle *DIAScifiOracleFilterer) WatchOracleUpdate(opts *bind.WatchOpts, sink chan<- *DIAScifiOracleOracleUpdate) (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 (*DIAScifiOracleFilterer) WatchUpdaterAddressChange

func (_DIAScifiOracle *DIAScifiOracleFilterer) WatchUpdaterAddressChange(opts *bind.WatchOpts, sink chan<- *DIAScifiOracleUpdaterAddressChange) (event.Subscription, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

type DIAScifiOracleOracleUpdate

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

DIAScifiOracleOracleUpdate represents a OracleUpdate event raised by the DIAScifiOracle contract.

type DIAScifiOracleOracleUpdateIterator

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

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

func (*DIAScifiOracleOracleUpdateIterator) Close

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

func (*DIAScifiOracleOracleUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*DIAScifiOracleRaw) Call

func (_DIAScifiOracle *DIAScifiOracleRaw) 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 (*DIAScifiOracleRaw) Transact

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

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

func (*DIAScifiOracleRaw) Transfer

func (_DIAScifiOracle *DIAScifiOracleRaw) 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 DIAScifiOracleSession

type DIAScifiOracleSession struct {
	Contract     *DIAScifiOracle   // 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
}

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

func (*DIAScifiOracleSession) GetValue

func (_DIAScifiOracle *DIAScifiOracleSession) 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 (*DIAScifiOracleSession) SetValue

func (_DIAScifiOracle *DIAScifiOracleSession) 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 (*DIAScifiOracleSession) UpdateOracleUpdaterAddress

func (_DIAScifiOracle *DIAScifiOracleSession) 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 (*DIAScifiOracleSession) Values

func (_DIAScifiOracle *DIAScifiOracleSession) 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 DIAScifiOracleTransactor

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

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

func NewDIAScifiOracleTransactor

func NewDIAScifiOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*DIAScifiOracleTransactor, error)

NewDIAScifiOracleTransactor creates a new write-only instance of DIAScifiOracle, bound to a specific deployed contract.

func (*DIAScifiOracleTransactor) SetValue

func (_DIAScifiOracle *DIAScifiOracleTransactor) 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 (*DIAScifiOracleTransactor) UpdateOracleUpdaterAddress

func (_DIAScifiOracle *DIAScifiOracleTransactor) 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 DIAScifiOracleTransactorRaw

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

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

func (*DIAScifiOracleTransactorRaw) Transact

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

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

func (*DIAScifiOracleTransactorRaw) Transfer

func (_DIAScifiOracle *DIAScifiOracleTransactorRaw) 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 DIAScifiOracleTransactorSession

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

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

func (*DIAScifiOracleTransactorSession) SetValue

func (_DIAScifiOracle *DIAScifiOracleTransactorSession) 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 (*DIAScifiOracleTransactorSession) UpdateOracleUpdaterAddress

func (_DIAScifiOracle *DIAScifiOracleTransactorSession) 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 DIAScifiOracleUpdaterAddressChange

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

DIAScifiOracleUpdaterAddressChange represents a UpdaterAddressChange event raised by the DIAScifiOracle contract.

type DIAScifiOracleUpdaterAddressChangeIterator

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

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

func (*DIAScifiOracleUpdaterAddressChangeIterator) Close

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

func (*DIAScifiOracleUpdaterAddressChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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