diaCoingeckoOracleService

package
v1.3.6-rc-91 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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

Variables

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

DIACoingeckoOracleBin is the compiled bytecode used for deploying new contracts.

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

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

Functions

This section is empty.

Types

type DIACoingeckoOracle

type DIACoingeckoOracle struct {
	DIACoingeckoOracleCaller     // Read-only binding to the contract
	DIACoingeckoOracleTransactor // Write-only binding to the contract
	DIACoingeckoOracleFilterer   // Log filterer for contract events
}

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

func DeployDIACoingeckoOracle

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

DeployDIACoingeckoOracle deploys a new Ethereum contract, binding an instance of DIACoingeckoOracle to it.

func NewDIACoingeckoOracle

func NewDIACoingeckoOracle(address common.Address, backend bind.ContractBackend) (*DIACoingeckoOracle, error)

NewDIACoingeckoOracle creates a new instance of DIACoingeckoOracle, bound to a specific deployed contract.

type DIACoingeckoOracleCaller

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

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

func NewDIACoingeckoOracleCaller

func NewDIACoingeckoOracleCaller(address common.Address, caller bind.ContractCaller) (*DIACoingeckoOracleCaller, error)

NewDIACoingeckoOracleCaller creates a new read-only instance of DIACoingeckoOracle, bound to a specific deployed contract.

func (*DIACoingeckoOracleCaller) GetValue

func (_DIACoingeckoOracle *DIACoingeckoOracleCaller) 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 (*DIACoingeckoOracleCaller) Values

func (_DIACoingeckoOracle *DIACoingeckoOracleCaller) 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 DIACoingeckoOracleCallerRaw

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

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

func (*DIACoingeckoOracleCallerRaw) Call

func (_DIACoingeckoOracle *DIACoingeckoOracleCallerRaw) 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 DIACoingeckoOracleCallerSession

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

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

func (*DIACoingeckoOracleCallerSession) GetValue

func (_DIACoingeckoOracle *DIACoingeckoOracleCallerSession) 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 (*DIACoingeckoOracleCallerSession) Values

func (_DIACoingeckoOracle *DIACoingeckoOracleCallerSession) 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 DIACoingeckoOracleFilterer

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

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

func NewDIACoingeckoOracleFilterer

func NewDIACoingeckoOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*DIACoingeckoOracleFilterer, error)

NewDIACoingeckoOracleFilterer creates a new log filterer instance of DIACoingeckoOracle, bound to a specific deployed contract.

func (*DIACoingeckoOracleFilterer) FilterOracleUpdate

func (_DIACoingeckoOracle *DIACoingeckoOracleFilterer) FilterOracleUpdate(opts *bind.FilterOpts) (*DIACoingeckoOracleOracleUpdateIterator, error)

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

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

func (*DIACoingeckoOracleFilterer) FilterUpdaterAddressChange

func (_DIACoingeckoOracle *DIACoingeckoOracleFilterer) FilterUpdaterAddressChange(opts *bind.FilterOpts) (*DIACoingeckoOracleUpdaterAddressChangeIterator, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIACoingeckoOracleFilterer) ParseOracleUpdate

func (_DIACoingeckoOracle *DIACoingeckoOracleFilterer) ParseOracleUpdate(log types.Log) (*DIACoingeckoOracleOracleUpdate, error)

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

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

func (*DIACoingeckoOracleFilterer) ParseUpdaterAddressChange

func (_DIACoingeckoOracle *DIACoingeckoOracleFilterer) ParseUpdaterAddressChange(log types.Log) (*DIACoingeckoOracleUpdaterAddressChange, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIACoingeckoOracleFilterer) WatchOracleUpdate

func (_DIACoingeckoOracle *DIACoingeckoOracleFilterer) WatchOracleUpdate(opts *bind.WatchOpts, sink chan<- *DIACoingeckoOracleOracleUpdate) (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 (*DIACoingeckoOracleFilterer) WatchUpdaterAddressChange

func (_DIACoingeckoOracle *DIACoingeckoOracleFilterer) WatchUpdaterAddressChange(opts *bind.WatchOpts, sink chan<- *DIACoingeckoOracleUpdaterAddressChange) (event.Subscription, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

type DIACoingeckoOracleOracleUpdate

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

DIACoingeckoOracleOracleUpdate represents a OracleUpdate event raised by the DIACoingeckoOracle contract.

type DIACoingeckoOracleOracleUpdateIterator

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

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

func (*DIACoingeckoOracleOracleUpdateIterator) Close

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

func (*DIACoingeckoOracleOracleUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*DIACoingeckoOracleRaw) Call

func (_DIACoingeckoOracle *DIACoingeckoOracleRaw) 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 (*DIACoingeckoOracleRaw) Transact

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

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

func (*DIACoingeckoOracleRaw) Transfer

func (_DIACoingeckoOracle *DIACoingeckoOracleRaw) 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 DIACoingeckoOracleSession

type DIACoingeckoOracleSession struct {
	Contract     *DIACoingeckoOracle // 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
}

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

func (*DIACoingeckoOracleSession) GetValue

func (_DIACoingeckoOracle *DIACoingeckoOracleSession) 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 (*DIACoingeckoOracleSession) SetValue

func (_DIACoingeckoOracle *DIACoingeckoOracleSession) 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 (*DIACoingeckoOracleSession) UpdateOracleUpdaterAddress

func (_DIACoingeckoOracle *DIACoingeckoOracleSession) 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 (*DIACoingeckoOracleSession) Values

func (_DIACoingeckoOracle *DIACoingeckoOracleSession) 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 DIACoingeckoOracleTransactor

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

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

func NewDIACoingeckoOracleTransactor

func NewDIACoingeckoOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*DIACoingeckoOracleTransactor, error)

NewDIACoingeckoOracleTransactor creates a new write-only instance of DIACoingeckoOracle, bound to a specific deployed contract.

func (*DIACoingeckoOracleTransactor) SetValue

func (_DIACoingeckoOracle *DIACoingeckoOracleTransactor) 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 (*DIACoingeckoOracleTransactor) UpdateOracleUpdaterAddress

func (_DIACoingeckoOracle *DIACoingeckoOracleTransactor) 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 DIACoingeckoOracleTransactorRaw

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

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

func (*DIACoingeckoOracleTransactorRaw) Transact

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

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

func (*DIACoingeckoOracleTransactorRaw) Transfer

func (_DIACoingeckoOracle *DIACoingeckoOracleTransactorRaw) 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 DIACoingeckoOracleTransactorSession

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

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

func (*DIACoingeckoOracleTransactorSession) SetValue

func (_DIACoingeckoOracle *DIACoingeckoOracleTransactorSession) 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 (*DIACoingeckoOracleTransactorSession) UpdateOracleUpdaterAddress

func (_DIACoingeckoOracle *DIACoingeckoOracleTransactorSession) 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 DIACoingeckoOracleUpdaterAddressChange

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

DIACoingeckoOracleUpdaterAddressChange represents a UpdaterAddressChange event raised by the DIACoingeckoOracle contract.

type DIACoingeckoOracleUpdaterAddressChangeIterator

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

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

func (*DIACoingeckoOracleUpdaterAddressChangeIterator) Close

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

func (*DIACoingeckoOracleUpdaterAddressChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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