diaOracleV2MultiupdateService

package
v1.4.465 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: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DiaOracleV2MultiupdateServiceABI = DiaOracleV2MultiupdateServiceMetaData.ABI

DiaOracleV2MultiupdateServiceABI is the input ABI used to generate the binding from. Deprecated: Use DiaOracleV2MultiupdateServiceMetaData.ABI instead.

View Source
var DiaOracleV2MultiupdateServiceBin = DiaOracleV2MultiupdateServiceMetaData.Bin

DiaOracleV2MultiupdateServiceBin is the compiled bytecode used for deploying new contracts. Deprecated: Use DiaOracleV2MultiupdateServiceMetaData.Bin instead.

View Source
var DiaOracleV2MultiupdateServiceMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"value\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"timestamp\",\"type\":\"uint128\"}],\"name\":\"OracleUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newUpdater\",\"type\":\"address\"}],\"name\":\"UpdaterAddressChange\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"}],\"name\":\"getValue\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"keys\",\"type\":\"string[]\"},{\"internalType\":\"uint256[]\",\"name\":\"compressedValues\",\"type\":\"uint256[]\"}],\"name\":\"setMultipleValues\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"internalType\":\"uint128\",\"name\":\"value\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"timestamp\",\"type\":\"uint128\"}],\"name\":\"setValue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOracleUpdaterAddress\",\"type\":\"address\"}],\"name\":\"updateOracleUpdaterAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"values\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610d2b806100616000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80635a9ade8b1461005c5780636aa45efc1461008c5780637898e0c2146100a85780638d241526146100c4578063960384a0146100e0575b600080fd5b6100766004803603810190610071919061064d565b610111565b60405161008391906106af565b60405180910390f35b6100a660048036038101906100a19190610728565b61013f565b005b6100c260048036038101906100bd919061079d565b610214565b005b6100de60048036038101906100d991906109e1565b61030a565b005b6100fa60048036038101906100f5919061064d565b610496565b604051610108929190610a68565b60405180910390f35b6000818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461019957600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f816040516102099190610aa0565b60405180910390a150565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461026e57600080fd5b6000816fffffffffffffffffffffffffffffffff166080846fffffffffffffffffffffffffffffffff16901b6102a49190610aea565b9050806000856040516102b79190610b8f565b9081526020016040518091039020819055507fa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee22917828484846040516102fc93929190610bf0565b60405180910390a150505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461036457600080fd5b805182511461037257600080fd5b60005b8251816fffffffffffffffffffffffffffffffff16101561049157600083826fffffffffffffffffffffffffffffffff16815181106103b7576103b6610c2e565b5b60200260200101519050600083836fffffffffffffffffffffffffffffffff16815181106103e8576103e7610c2e565b5b602002602001015190506000608082901c905060007001000000000000000000000000000000008361041a9190610c8c565b90508260008560405161042d9190610b8f565b9081526020016040518091039020819055507fa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee229178284838360405161047293929190610bf0565b60405180910390a150505050808061048990610cbd565b915050610375565b505050565b600080600080846040516104aa9190610b8f565b90815260200160405180910390205490506000700100000000000000000000000000000000826104da9190610c8c565b90506000608083901c9050808294509450505050915091565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61055a82610511565b810181811067ffffffffffffffff8211171561057957610578610522565b5b80604052505050565b600061058c6104f3565b90506105988282610551565b919050565b600067ffffffffffffffff8211156105b8576105b7610522565b5b6105c182610511565b9050602081019050919050565b82818337600083830152505050565b60006105f06105eb8461059d565b610582565b90508281526020810184848401111561060c5761060b61050c565b5b6106178482856105ce565b509392505050565b600082601f83011261063457610633610507565b5b81356106448482602086016105dd565b91505092915050565b600060208284031215610663576106626104fd565b5b600082013567ffffffffffffffff81111561068157610680610502565b5b61068d8482850161061f565b91505092915050565b6000819050919050565b6106a981610696565b82525050565b60006020820190506106c460008301846106a0565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006106f5826106ca565b9050919050565b610705816106ea565b811461071057600080fd5b50565b600081359050610722816106fc565b92915050565b60006020828403121561073e5761073d6104fd565b5b600061074c84828501610713565b91505092915050565b60006fffffffffffffffffffffffffffffffff82169050919050565b61077a81610755565b811461078557600080fd5b50565b60008135905061079781610771565b92915050565b6000806000606084860312156107b6576107b56104fd565b5b600084013567ffffffffffffffff8111156107d4576107d3610502565b5b6107e08682870161061f565b93505060206107f186828701610788565b925050604061080286828701610788565b9150509250925092565b600067ffffffffffffffff82111561082757610826610522565b5b602082029050602081019050919050565b600080fd5b600061085061084b8461080c565b610582565b9050808382526020820190506020840283018581111561087357610872610838565b5b835b818110156108ba57803567ffffffffffffffff81111561089857610897610507565b5b8086016108a5898261061f565b85526020850194505050602081019050610875565b5050509392505050565b600082601f8301126108d9576108d8610507565b5b81356108e984826020860161083d565b91505092915050565b600067ffffffffffffffff82111561090d5761090c610522565b5b602082029050602081019050919050565b61092781610696565b811461093257600080fd5b50565b6000813590506109448161091e565b92915050565b600061095d610958846108f2565b610582565b905080838252602082019050602084028301858111156109805761097f610838565b5b835b818110156109a957806109958882610935565b845260208401935050602081019050610982565b5050509392505050565b600082601f8301126109c8576109c7610507565b5b81356109d884826020860161094a565b91505092915050565b600080604083850312156109f8576109f76104fd565b5b600083013567ffffffffffffffff811115610a1657610a15610502565b5b610a22858286016108c4565b925050602083013567ffffffffffffffff811115610a4357610a42610502565b5b610a4f858286016109b3565b9150509250929050565b610a6281610755565b82525050565b6000604082019050610a7d6000830185610a59565b610a8a6020830184610a59565b9392505050565b610a9a816106ea565b82525050565b6000602082019050610ab56000830184610a91565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610af582610696565b9150610b0083610696565b9250828201905080821115610b1857610b17610abb565b5b92915050565b600081519050919050565b600081905092915050565b60005b83811015610b52578082015181840152602081019050610b37565b60008484015250505050565b6000610b6982610b1e565b610b738185610b29565b9350610b83818560208601610b34565b80840191505092915050565b6000610b9b8284610b5e565b915081905092915050565b600082825260208201905092915050565b6000610bc282610b1e565b610bcc8185610ba6565b9350610bdc818560208601610b34565b610be581610511565b840191505092915050565b60006060820190508181036000830152610c0a8186610bb7565b9050610c196020830185610a59565b610c266040830184610a59565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000610c9782610696565b9150610ca283610696565b925082610cb257610cb1610c5d565b5b828206905092915050565b6000610cc882610755565b91506fffffffffffffffffffffffffffffffff8203610cea57610ce9610abb565b5b60018201905091905056fea264697066735822122096e5eb13f0172bb20b069f03fe9ffde7076e5202691b7e7d22386add3a6144ba64736f6c63430008130033",
}

DiaOracleV2MultiupdateServiceMetaData contains all meta data concerning the DiaOracleV2MultiupdateService contract.

Functions

This section is empty.

Types

type DiaOracleV2MultiupdateService

type DiaOracleV2MultiupdateService struct {
	DiaOracleV2MultiupdateServiceCaller     // Read-only binding to the contract
	DiaOracleV2MultiupdateServiceTransactor // Write-only binding to the contract
	DiaOracleV2MultiupdateServiceFilterer   // Log filterer for contract events
}

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

func DeployDiaOracleV2MultiupdateService added in v1.4.339

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

DeployDiaOracleV2MultiupdateService deploys a new Ethereum contract, binding an instance of DiaOracleV2MultiupdateService to it.

func NewDiaOracleV2MultiupdateService

func NewDiaOracleV2MultiupdateService(address common.Address, backend bind.ContractBackend) (*DiaOracleV2MultiupdateService, error)

NewDiaOracleV2MultiupdateService creates a new instance of DiaOracleV2MultiupdateService, bound to a specific deployed contract.

type DiaOracleV2MultiupdateServiceCaller

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

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

func NewDiaOracleV2MultiupdateServiceCaller

func NewDiaOracleV2MultiupdateServiceCaller(address common.Address, caller bind.ContractCaller) (*DiaOracleV2MultiupdateServiceCaller, error)

NewDiaOracleV2MultiupdateServiceCaller creates a new read-only instance of DiaOracleV2MultiupdateService, bound to a specific deployed contract.

func (*DiaOracleV2MultiupdateServiceCaller) GetValue

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceCaller) 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 (*DiaOracleV2MultiupdateServiceCaller) Values

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceCaller) 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 DiaOracleV2MultiupdateServiceCallerRaw

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

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

func (*DiaOracleV2MultiupdateServiceCallerRaw) Call

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceCallerRaw) 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 DiaOracleV2MultiupdateServiceCallerSession

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

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

func (*DiaOracleV2MultiupdateServiceCallerSession) GetValue

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceCallerSession) 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 (*DiaOracleV2MultiupdateServiceCallerSession) Values

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceCallerSession) 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 DiaOracleV2MultiupdateServiceFilterer

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

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

func NewDiaOracleV2MultiupdateServiceFilterer

func NewDiaOracleV2MultiupdateServiceFilterer(address common.Address, filterer bind.ContractFilterer) (*DiaOracleV2MultiupdateServiceFilterer, error)

NewDiaOracleV2MultiupdateServiceFilterer creates a new log filterer instance of DiaOracleV2MultiupdateService, bound to a specific deployed contract.

func (*DiaOracleV2MultiupdateServiceFilterer) FilterOracleUpdate

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceFilterer) FilterOracleUpdate(opts *bind.FilterOpts) (*DiaOracleV2MultiupdateServiceOracleUpdateIterator, error)

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

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

func (*DiaOracleV2MultiupdateServiceFilterer) FilterUpdaterAddressChange

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceFilterer) FilterUpdaterAddressChange(opts *bind.FilterOpts) (*DiaOracleV2MultiupdateServiceUpdaterAddressChangeIterator, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DiaOracleV2MultiupdateServiceFilterer) ParseOracleUpdate

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceFilterer) ParseOracleUpdate(log types.Log) (*DiaOracleV2MultiupdateServiceOracleUpdate, error)

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

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

func (*DiaOracleV2MultiupdateServiceFilterer) ParseUpdaterAddressChange

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceFilterer) ParseUpdaterAddressChange(log types.Log) (*DiaOracleV2MultiupdateServiceUpdaterAddressChange, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

func (*DiaOracleV2MultiupdateServiceFilterer) WatchOracleUpdate

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceFilterer) WatchOracleUpdate(opts *bind.WatchOpts, sink chan<- *DiaOracleV2MultiupdateServiceOracleUpdate) (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 (*DiaOracleV2MultiupdateServiceFilterer) WatchUpdaterAddressChange

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceFilterer) WatchUpdaterAddressChange(opts *bind.WatchOpts, sink chan<- *DiaOracleV2MultiupdateServiceUpdaterAddressChange) (event.Subscription, error)

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

Solidity: event UpdaterAddressChange(address newUpdater)

type DiaOracleV2MultiupdateServiceOracleUpdate

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

DiaOracleV2MultiupdateServiceOracleUpdate represents a OracleUpdate event raised by the DiaOracleV2MultiupdateService contract.

type DiaOracleV2MultiupdateServiceOracleUpdateIterator

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

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

func (*DiaOracleV2MultiupdateServiceOracleUpdateIterator) Close

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

func (*DiaOracleV2MultiupdateServiceOracleUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*DiaOracleV2MultiupdateServiceRaw) Call

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceRaw) 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 (*DiaOracleV2MultiupdateServiceRaw) Transact

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

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

func (*DiaOracleV2MultiupdateServiceRaw) Transfer

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceRaw) 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 DiaOracleV2MultiupdateServiceSession

type DiaOracleV2MultiupdateServiceSession struct {
	Contract     *DiaOracleV2MultiupdateService // 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
}

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

func (*DiaOracleV2MultiupdateServiceSession) GetValue

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceSession) 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 (*DiaOracleV2MultiupdateServiceSession) SetMultipleValues added in v1.4.332

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceSession) SetMultipleValues(keys []string, compressedValues []*big.Int) (*types.Transaction, error)

SetMultipleValues is a paid mutator transaction binding the contract method 0x8d241526.

Solidity: function setMultipleValues(string[] keys, uint256[] compressedValues) returns()

func (*DiaOracleV2MultiupdateServiceSession) SetValue

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceSession) 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 (*DiaOracleV2MultiupdateServiceSession) UpdateOracleUpdaterAddress

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceSession) 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 (*DiaOracleV2MultiupdateServiceSession) Values

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceSession) 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 DiaOracleV2MultiupdateServiceTransactor

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

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

func NewDiaOracleV2MultiupdateServiceTransactor

func NewDiaOracleV2MultiupdateServiceTransactor(address common.Address, transactor bind.ContractTransactor) (*DiaOracleV2MultiupdateServiceTransactor, error)

NewDiaOracleV2MultiupdateServiceTransactor creates a new write-only instance of DiaOracleV2MultiupdateService, bound to a specific deployed contract.

func (*DiaOracleV2MultiupdateServiceTransactor) SetMultipleValues added in v1.4.332

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceTransactor) SetMultipleValues(opts *bind.TransactOpts, keys []string, compressedValues []*big.Int) (*types.Transaction, error)

SetMultipleValues is a paid mutator transaction binding the contract method 0x8d241526.

Solidity: function setMultipleValues(string[] keys, uint256[] compressedValues) returns()

func (*DiaOracleV2MultiupdateServiceTransactor) SetValue

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceTransactor) 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 (*DiaOracleV2MultiupdateServiceTransactor) UpdateOracleUpdaterAddress

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceTransactor) 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 DiaOracleV2MultiupdateServiceTransactorRaw

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

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

func (*DiaOracleV2MultiupdateServiceTransactorRaw) Transact

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

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

func (*DiaOracleV2MultiupdateServiceTransactorRaw) Transfer

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceTransactorRaw) 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 DiaOracleV2MultiupdateServiceTransactorSession

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

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

func (*DiaOracleV2MultiupdateServiceTransactorSession) SetMultipleValues added in v1.4.332

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceTransactorSession) SetMultipleValues(keys []string, compressedValues []*big.Int) (*types.Transaction, error)

SetMultipleValues is a paid mutator transaction binding the contract method 0x8d241526.

Solidity: function setMultipleValues(string[] keys, uint256[] compressedValues) returns()

func (*DiaOracleV2MultiupdateServiceTransactorSession) SetValue

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceTransactorSession) 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 (*DiaOracleV2MultiupdateServiceTransactorSession) UpdateOracleUpdaterAddress

func (_DiaOracleV2MultiupdateService *DiaOracleV2MultiupdateServiceTransactorSession) 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 DiaOracleV2MultiupdateServiceUpdaterAddressChange

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

DiaOracleV2MultiupdateServiceUpdaterAddressChange represents a UpdaterAddressChange event raised by the DiaOracleV2MultiupdateService contract.

type DiaOracleV2MultiupdateServiceUpdaterAddressChangeIterator

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

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

func (*DiaOracleV2MultiupdateServiceUpdaterAddressChangeIterator) Close

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

func (*DiaOracleV2MultiupdateServiceUpdaterAddressChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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