diaCardOracleService

package
v1.4.1-rc-371 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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

Variables

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

DIAXDAIOracleBin is the compiled bytecode used for deploying new contracts.

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

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

Functions

This section is empty.

Types

type DIAXDAIOracle

type DIAXDAIOracle struct {
	DIAXDAIOracleCaller     // Read-only binding to the contract
	DIAXDAIOracleTransactor // Write-only binding to the contract
	DIAXDAIOracleFilterer   // Log filterer for contract events
}

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

func DeployDIAXDAIOracle

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

DeployDIAXDAIOracle deploys a new Ethereum contract, binding an instance of DIAXDAIOracle to it.

func NewDIAXDAIOracle

func NewDIAXDAIOracle(address common.Address, backend bind.ContractBackend) (*DIAXDAIOracle, error)

NewDIAXDAIOracle creates a new instance of DIAXDAIOracle, bound to a specific deployed contract.

type DIAXDAIOracleCaller

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

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

func NewDIAXDAIOracleCaller

func NewDIAXDAIOracleCaller(address common.Address, caller bind.ContractCaller) (*DIAXDAIOracleCaller, error)

NewDIAXDAIOracleCaller creates a new read-only instance of DIAXDAIOracle, bound to a specific deployed contract.

func (*DIAXDAIOracleCaller) GetValue

func (_DIAXDAIOracle *DIAXDAIOracleCaller) 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 (*DIAXDAIOracleCaller) Values

func (_DIAXDAIOracle *DIAXDAIOracleCaller) 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 DIAXDAIOracleCallerRaw

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

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

func (*DIAXDAIOracleCallerRaw) Call

func (_DIAXDAIOracle *DIAXDAIOracleCallerRaw) 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 DIAXDAIOracleCallerSession

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

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

func (*DIAXDAIOracleCallerSession) GetValue

func (_DIAXDAIOracle *DIAXDAIOracleCallerSession) 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 (*DIAXDAIOracleCallerSession) Values

func (_DIAXDAIOracle *DIAXDAIOracleCallerSession) 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 DIAXDAIOracleFilterer

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

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

func NewDIAXDAIOracleFilterer

func NewDIAXDAIOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*DIAXDAIOracleFilterer, error)

NewDIAXDAIOracleFilterer creates a new log filterer instance of DIAXDAIOracle, bound to a specific deployed contract.

func (*DIAXDAIOracleFilterer) FilterOracleUpdate

func (_DIAXDAIOracle *DIAXDAIOracleFilterer) FilterOracleUpdate(opts *bind.FilterOpts) (*DIAXDAIOracleOracleUpdateIterator, error)

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

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

func (*DIAXDAIOracleFilterer) FilterUpdaterAddressChange

func (_DIAXDAIOracle *DIAXDAIOracleFilterer) FilterUpdaterAddressChange(opts *bind.FilterOpts) (*DIAXDAIOracleUpdaterAddressChangeIterator, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIAXDAIOracleFilterer) ParseOracleUpdate

func (_DIAXDAIOracle *DIAXDAIOracleFilterer) ParseOracleUpdate(log types.Log) (*DIAXDAIOracleOracleUpdate, error)

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

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

func (*DIAXDAIOracleFilterer) ParseUpdaterAddressChange

func (_DIAXDAIOracle *DIAXDAIOracleFilterer) ParseUpdaterAddressChange(log types.Log) (*DIAXDAIOracleUpdaterAddressChange, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIAXDAIOracleFilterer) WatchOracleUpdate

func (_DIAXDAIOracle *DIAXDAIOracleFilterer) WatchOracleUpdate(opts *bind.WatchOpts, sink chan<- *DIAXDAIOracleOracleUpdate) (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 (*DIAXDAIOracleFilterer) WatchUpdaterAddressChange

func (_DIAXDAIOracle *DIAXDAIOracleFilterer) WatchUpdaterAddressChange(opts *bind.WatchOpts, sink chan<- *DIAXDAIOracleUpdaterAddressChange) (event.Subscription, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

type DIAXDAIOracleOracleUpdate

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

DIAXDAIOracleOracleUpdate represents a OracleUpdate event raised by the DIAXDAIOracle contract.

type DIAXDAIOracleOracleUpdateIterator

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

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

func (*DIAXDAIOracleOracleUpdateIterator) Close

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

func (*DIAXDAIOracleOracleUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*DIAXDAIOracleRaw) Call

func (_DIAXDAIOracle *DIAXDAIOracleRaw) 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 (*DIAXDAIOracleRaw) Transact

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

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

func (*DIAXDAIOracleRaw) Transfer

func (_DIAXDAIOracle *DIAXDAIOracleRaw) 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 DIAXDAIOracleSession

type DIAXDAIOracleSession struct {
	Contract     *DIAXDAIOracle    // 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
}

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

func (*DIAXDAIOracleSession) GetValue

func (_DIAXDAIOracle *DIAXDAIOracleSession) 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 (*DIAXDAIOracleSession) SetValue

func (_DIAXDAIOracle *DIAXDAIOracleSession) 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 (*DIAXDAIOracleSession) UpdateOracleUpdaterAddress

func (_DIAXDAIOracle *DIAXDAIOracleSession) 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 (*DIAXDAIOracleSession) Values

func (_DIAXDAIOracle *DIAXDAIOracleSession) 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 DIAXDAIOracleTransactor

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

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

func NewDIAXDAIOracleTransactor

func NewDIAXDAIOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*DIAXDAIOracleTransactor, error)

NewDIAXDAIOracleTransactor creates a new write-only instance of DIAXDAIOracle, bound to a specific deployed contract.

func (*DIAXDAIOracleTransactor) SetValue

func (_DIAXDAIOracle *DIAXDAIOracleTransactor) 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 (*DIAXDAIOracleTransactor) UpdateOracleUpdaterAddress

func (_DIAXDAIOracle *DIAXDAIOracleTransactor) 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 DIAXDAIOracleTransactorRaw

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

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

func (*DIAXDAIOracleTransactorRaw) Transact

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

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

func (*DIAXDAIOracleTransactorRaw) Transfer

func (_DIAXDAIOracle *DIAXDAIOracleTransactorRaw) 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 DIAXDAIOracleTransactorSession

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

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

func (*DIAXDAIOracleTransactorSession) SetValue

func (_DIAXDAIOracle *DIAXDAIOracleTransactorSession) 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 (*DIAXDAIOracleTransactorSession) UpdateOracleUpdaterAddress

func (_DIAXDAIOracle *DIAXDAIOracleTransactorSession) 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 DIAXDAIOracleUpdaterAddressChange

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

DIAXDAIOracleUpdaterAddressChange represents a UpdaterAddressChange event raised by the DIAXDAIOracle contract.

type DIAXDAIOracleUpdaterAddressChangeIterator

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

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

func (*DIAXDAIOracleUpdaterAddressChangeIterator) Close

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

func (*DIAXDAIOracleUpdaterAddressChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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