diaCoinmarketcapOracleService

package
v1.4.463 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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

Variables

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

DIACoinmarketcapOracleBin is the compiled bytecode used for deploying new contracts.

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

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

Functions

This section is empty.

Types

type DIACoinmarketcapOracle

type DIACoinmarketcapOracle struct {
	DIACoinmarketcapOracleCaller     // Read-only binding to the contract
	DIACoinmarketcapOracleTransactor // Write-only binding to the contract
	DIACoinmarketcapOracleFilterer   // Log filterer for contract events
}

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

func DeployDIACoinmarketcapOracle

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

DeployDIACoinmarketcapOracle deploys a new Ethereum contract, binding an instance of DIACoinmarketcapOracle to it.

func NewDIACoinmarketcapOracle

func NewDIACoinmarketcapOracle(address common.Address, backend bind.ContractBackend) (*DIACoinmarketcapOracle, error)

NewDIACoinmarketcapOracle creates a new instance of DIACoinmarketcapOracle, bound to a specific deployed contract.

type DIACoinmarketcapOracleCaller

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

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

func NewDIACoinmarketcapOracleCaller

func NewDIACoinmarketcapOracleCaller(address common.Address, caller bind.ContractCaller) (*DIACoinmarketcapOracleCaller, error)

NewDIACoinmarketcapOracleCaller creates a new read-only instance of DIACoinmarketcapOracle, bound to a specific deployed contract.

func (*DIACoinmarketcapOracleCaller) GetValue

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleCaller) 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 (*DIACoinmarketcapOracleCaller) Values

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleCaller) 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 DIACoinmarketcapOracleCallerRaw

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

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

func (*DIACoinmarketcapOracleCallerRaw) Call

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleCallerRaw) 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 DIACoinmarketcapOracleCallerSession

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

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

func (*DIACoinmarketcapOracleCallerSession) GetValue

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleCallerSession) 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 (*DIACoinmarketcapOracleCallerSession) Values

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleCallerSession) 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 DIACoinmarketcapOracleFilterer

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

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

func NewDIACoinmarketcapOracleFilterer

func NewDIACoinmarketcapOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*DIACoinmarketcapOracleFilterer, error)

NewDIACoinmarketcapOracleFilterer creates a new log filterer instance of DIACoinmarketcapOracle, bound to a specific deployed contract.

func (*DIACoinmarketcapOracleFilterer) FilterOracleUpdate

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleFilterer) FilterOracleUpdate(opts *bind.FilterOpts) (*DIACoinmarketcapOracleOracleUpdateIterator, error)

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

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

func (*DIACoinmarketcapOracleFilterer) FilterUpdaterAddressChange

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleFilterer) FilterUpdaterAddressChange(opts *bind.FilterOpts) (*DIACoinmarketcapOracleUpdaterAddressChangeIterator, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIACoinmarketcapOracleFilterer) ParseOracleUpdate

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleFilterer) ParseOracleUpdate(log types.Log) (*DIACoinmarketcapOracleOracleUpdate, error)

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

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

func (*DIACoinmarketcapOracleFilterer) ParseUpdaterAddressChange

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleFilterer) ParseUpdaterAddressChange(log types.Log) (*DIACoinmarketcapOracleUpdaterAddressChange, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DIACoinmarketcapOracleFilterer) WatchOracleUpdate

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleFilterer) WatchOracleUpdate(opts *bind.WatchOpts, sink chan<- *DIACoinmarketcapOracleOracleUpdate) (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 (*DIACoinmarketcapOracleFilterer) WatchUpdaterAddressChange

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleFilterer) WatchUpdaterAddressChange(opts *bind.WatchOpts, sink chan<- *DIACoinmarketcapOracleUpdaterAddressChange) (event.Subscription, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

type DIACoinmarketcapOracleOracleUpdate

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

DIACoinmarketcapOracleOracleUpdate represents a OracleUpdate event raised by the DIACoinmarketcapOracle contract.

type DIACoinmarketcapOracleOracleUpdateIterator

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

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

func (*DIACoinmarketcapOracleOracleUpdateIterator) Close

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

func (*DIACoinmarketcapOracleOracleUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*DIACoinmarketcapOracleRaw) Call

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleRaw) 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 (*DIACoinmarketcapOracleRaw) Transact

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

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

func (*DIACoinmarketcapOracleRaw) Transfer

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleRaw) 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 DIACoinmarketcapOracleSession

type DIACoinmarketcapOracleSession struct {
	Contract     *DIACoinmarketcapOracle // 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
}

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

func (*DIACoinmarketcapOracleSession) GetValue

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleSession) 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 (*DIACoinmarketcapOracleSession) SetValue

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleSession) 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 (*DIACoinmarketcapOracleSession) UpdateOracleUpdaterAddress

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleSession) 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 (*DIACoinmarketcapOracleSession) Values

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleSession) 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 DIACoinmarketcapOracleTransactor

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

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

func NewDIACoinmarketcapOracleTransactor

func NewDIACoinmarketcapOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*DIACoinmarketcapOracleTransactor, error)

NewDIACoinmarketcapOracleTransactor creates a new write-only instance of DIACoinmarketcapOracle, bound to a specific deployed contract.

func (*DIACoinmarketcapOracleTransactor) SetValue

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleTransactor) 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 (*DIACoinmarketcapOracleTransactor) UpdateOracleUpdaterAddress

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleTransactor) 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 DIACoinmarketcapOracleTransactorRaw

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

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

func (*DIACoinmarketcapOracleTransactorRaw) Transact

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

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

func (*DIACoinmarketcapOracleTransactorRaw) Transfer

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleTransactorRaw) 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 DIACoinmarketcapOracleTransactorSession

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

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

func (*DIACoinmarketcapOracleTransactorSession) SetValue

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleTransactorSession) 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 (*DIACoinmarketcapOracleTransactorSession) UpdateOracleUpdaterAddress

func (_DIACoinmarketcapOracle *DIACoinmarketcapOracleTransactorSession) 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 DIACoinmarketcapOracleUpdaterAddressChange

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

DIACoinmarketcapOracleUpdaterAddressChange represents a UpdaterAddressChange event raised by the DIACoinmarketcapOracle contract.

type DIACoinmarketcapOracleUpdaterAddressChangeIterator

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

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

func (*DIACoinmarketcapOracleUpdaterAddressChangeIterator) Close

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

func (*DIACoinmarketcapOracleUpdaterAddressChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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