mock_v3_aggregator_contract

package
v1.11.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const MockV3AggregatorContractABI = "" /* 4044-byte string literal not displayed */

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

Variables

View Source
var MockV3AggregatorContractBin = "" /* 2596-byte string literal not displayed */

MockV3AggregatorContractBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type MockV3AggregatorContract

type MockV3AggregatorContract struct {
	MockV3AggregatorContractCaller     // Read-only binding to the contract
	MockV3AggregatorContractTransactor // Write-only binding to the contract
	MockV3AggregatorContractFilterer   // Log filterer for contract events
}

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

func DeployMockV3AggregatorContract

func DeployMockV3AggregatorContract(auth *bind.TransactOpts, backend bind.ContractBackend, _decimals uint8, _initialAnswer *big.Int) (common.Address, *types.Transaction, *MockV3AggregatorContract, error)

DeployMockV3AggregatorContract deploys a new Ethereum contract, binding an instance of MockV3AggregatorContract to it.

func NewMockV3AggregatorContract

func NewMockV3AggregatorContract(address common.Address, backend bind.ContractBackend) (*MockV3AggregatorContract, error)

NewMockV3AggregatorContract creates a new instance of MockV3AggregatorContract, bound to a specific deployed contract.

type MockV3AggregatorContractAnswerUpdated

type MockV3AggregatorContractAnswerUpdated struct {
	Current   *big.Int
	RoundId   *big.Int
	UpdatedAt *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

MockV3AggregatorContractAnswerUpdated represents a AnswerUpdated event raised by the MockV3AggregatorContract contract.

type MockV3AggregatorContractAnswerUpdatedIterator

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

MockV3AggregatorContractAnswerUpdatedIterator is returned from FilterAnswerUpdated and is used to iterate over the raw logs and unpacked data for AnswerUpdated events raised by the MockV3AggregatorContract contract.

func (*MockV3AggregatorContractAnswerUpdatedIterator) Close

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

func (*MockV3AggregatorContractAnswerUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewMockV3AggregatorContractCaller

func NewMockV3AggregatorContractCaller(address common.Address, caller bind.ContractCaller) (*MockV3AggregatorContractCaller, error)

NewMockV3AggregatorContractCaller creates a new read-only instance of MockV3AggregatorContract, bound to a specific deployed contract.

func (*MockV3AggregatorContractCaller) Decimals

func (_MockV3AggregatorContract *MockV3AggregatorContractCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*MockV3AggregatorContractCaller) Description

func (_MockV3AggregatorContract *MockV3AggregatorContractCaller) Description(opts *bind.CallOpts) (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*MockV3AggregatorContractCaller) GetAnswer

func (_MockV3AggregatorContract *MockV3AggregatorContractCaller) GetAnswer(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

GetAnswer is a free data retrieval call binding the contract method 0xb5ab58dc.

Solidity: function getAnswer(uint256 ) view returns(int256)

func (*MockV3AggregatorContractCaller) GetRoundData

func (_MockV3AggregatorContract *MockV3AggregatorContractCaller) GetRoundData(opts *bind.CallOpts, _roundId *big.Int) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

GetRoundData is a free data retrieval call binding the contract method 0x9a6fc8f5.

Solidity: function getRoundData(uint80 _roundId) view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*MockV3AggregatorContractCaller) GetTimestamp

func (_MockV3AggregatorContract *MockV3AggregatorContractCaller) GetTimestamp(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

GetTimestamp is a free data retrieval call binding the contract method 0xb633620c.

Solidity: function getTimestamp(uint256 ) view returns(uint256)

func (*MockV3AggregatorContractCaller) LatestAnswer

func (_MockV3AggregatorContract *MockV3AggregatorContractCaller) LatestAnswer(opts *bind.CallOpts) (*big.Int, error)

LatestAnswer is a free data retrieval call binding the contract method 0x50d25bcd.

Solidity: function latestAnswer() view returns(int256)

func (*MockV3AggregatorContractCaller) LatestRound

func (_MockV3AggregatorContract *MockV3AggregatorContractCaller) LatestRound(opts *bind.CallOpts) (*big.Int, error)

LatestRound is a free data retrieval call binding the contract method 0x668a0f02.

Solidity: function latestRound() view returns(uint256)

func (*MockV3AggregatorContractCaller) LatestRoundData

func (_MockV3AggregatorContract *MockV3AggregatorContractCaller) LatestRoundData(opts *bind.CallOpts) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

LatestRoundData is a free data retrieval call binding the contract method 0xfeaf968c.

Solidity: function latestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*MockV3AggregatorContractCaller) LatestTimestamp

func (_MockV3AggregatorContract *MockV3AggregatorContractCaller) LatestTimestamp(opts *bind.CallOpts) (*big.Int, error)

LatestTimestamp is a free data retrieval call binding the contract method 0x8205bf6a.

Solidity: function latestTimestamp() view returns(uint256)

func (*MockV3AggregatorContractCaller) Version

func (_MockV3AggregatorContract *MockV3AggregatorContractCaller) Version(opts *bind.CallOpts) (*big.Int, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint256)

type MockV3AggregatorContractCallerRaw

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

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

func (*MockV3AggregatorContractCallerRaw) Call

func (_MockV3AggregatorContract *MockV3AggregatorContractCallerRaw) 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 MockV3AggregatorContractCallerSession

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

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

func (*MockV3AggregatorContractCallerSession) Decimals

func (_MockV3AggregatorContract *MockV3AggregatorContractCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*MockV3AggregatorContractCallerSession) Description

func (_MockV3AggregatorContract *MockV3AggregatorContractCallerSession) Description() (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*MockV3AggregatorContractCallerSession) GetAnswer

func (_MockV3AggregatorContract *MockV3AggregatorContractCallerSession) GetAnswer(arg0 *big.Int) (*big.Int, error)

GetAnswer is a free data retrieval call binding the contract method 0xb5ab58dc.

Solidity: function getAnswer(uint256 ) view returns(int256)

func (*MockV3AggregatorContractCallerSession) GetRoundData

func (_MockV3AggregatorContract *MockV3AggregatorContractCallerSession) GetRoundData(_roundId *big.Int) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

GetRoundData is a free data retrieval call binding the contract method 0x9a6fc8f5.

Solidity: function getRoundData(uint80 _roundId) view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*MockV3AggregatorContractCallerSession) GetTimestamp

func (_MockV3AggregatorContract *MockV3AggregatorContractCallerSession) GetTimestamp(arg0 *big.Int) (*big.Int, error)

GetTimestamp is a free data retrieval call binding the contract method 0xb633620c.

Solidity: function getTimestamp(uint256 ) view returns(uint256)

func (*MockV3AggregatorContractCallerSession) LatestAnswer

func (_MockV3AggregatorContract *MockV3AggregatorContractCallerSession) LatestAnswer() (*big.Int, error)

LatestAnswer is a free data retrieval call binding the contract method 0x50d25bcd.

Solidity: function latestAnswer() view returns(int256)

func (*MockV3AggregatorContractCallerSession) LatestRound

func (_MockV3AggregatorContract *MockV3AggregatorContractCallerSession) LatestRound() (*big.Int, error)

LatestRound is a free data retrieval call binding the contract method 0x668a0f02.

Solidity: function latestRound() view returns(uint256)

func (*MockV3AggregatorContractCallerSession) LatestRoundData

func (_MockV3AggregatorContract *MockV3AggregatorContractCallerSession) LatestRoundData() (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

LatestRoundData is a free data retrieval call binding the contract method 0xfeaf968c.

Solidity: function latestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*MockV3AggregatorContractCallerSession) LatestTimestamp

func (_MockV3AggregatorContract *MockV3AggregatorContractCallerSession) LatestTimestamp() (*big.Int, error)

LatestTimestamp is a free data retrieval call binding the contract method 0x8205bf6a.

Solidity: function latestTimestamp() view returns(uint256)

func (*MockV3AggregatorContractCallerSession) Version

func (_MockV3AggregatorContract *MockV3AggregatorContractCallerSession) Version() (*big.Int, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint256)

type MockV3AggregatorContractFilterer

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

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

func NewMockV3AggregatorContractFilterer

func NewMockV3AggregatorContractFilterer(address common.Address, filterer bind.ContractFilterer) (*MockV3AggregatorContractFilterer, error)

NewMockV3AggregatorContractFilterer creates a new log filterer instance of MockV3AggregatorContract, bound to a specific deployed contract.

func (*MockV3AggregatorContractFilterer) FilterAnswerUpdated

func (_MockV3AggregatorContract *MockV3AggregatorContractFilterer) FilterAnswerUpdated(opts *bind.FilterOpts, current []*big.Int, roundId []*big.Int) (*MockV3AggregatorContractAnswerUpdatedIterator, error)

FilterAnswerUpdated is a free log retrieval operation binding the contract event 0x0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f.

Solidity: event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 updatedAt)

func (*MockV3AggregatorContractFilterer) FilterNewRound

func (_MockV3AggregatorContract *MockV3AggregatorContractFilterer) FilterNewRound(opts *bind.FilterOpts, roundId []*big.Int, startedBy []common.Address) (*MockV3AggregatorContractNewRoundIterator, error)

FilterNewRound is a free log retrieval operation binding the contract event 0x0109fc6f55cf40689f02fbaad7af7fe7bbac8a3d2186600afc7d3e10cac60271.

Solidity: event NewRound(uint256 indexed roundId, address indexed startedBy, uint256 startedAt)

func (*MockV3AggregatorContractFilterer) ParseAnswerUpdated

func (_MockV3AggregatorContract *MockV3AggregatorContractFilterer) ParseAnswerUpdated(log types.Log) (*MockV3AggregatorContractAnswerUpdated, error)

ParseAnswerUpdated is a log parse operation binding the contract event 0x0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f.

Solidity: event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 updatedAt)

func (*MockV3AggregatorContractFilterer) ParseNewRound

func (_MockV3AggregatorContract *MockV3AggregatorContractFilterer) ParseNewRound(log types.Log) (*MockV3AggregatorContractNewRound, error)

ParseNewRound is a log parse operation binding the contract event 0x0109fc6f55cf40689f02fbaad7af7fe7bbac8a3d2186600afc7d3e10cac60271.

Solidity: event NewRound(uint256 indexed roundId, address indexed startedBy, uint256 startedAt)

func (*MockV3AggregatorContractFilterer) WatchAnswerUpdated

func (_MockV3AggregatorContract *MockV3AggregatorContractFilterer) WatchAnswerUpdated(opts *bind.WatchOpts, sink chan<- *MockV3AggregatorContractAnswerUpdated, current []*big.Int, roundId []*big.Int) (event.Subscription, error)

WatchAnswerUpdated is a free log subscription operation binding the contract event 0x0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f.

Solidity: event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 updatedAt)

func (*MockV3AggregatorContractFilterer) WatchNewRound

func (_MockV3AggregatorContract *MockV3AggregatorContractFilterer) WatchNewRound(opts *bind.WatchOpts, sink chan<- *MockV3AggregatorContractNewRound, roundId []*big.Int, startedBy []common.Address) (event.Subscription, error)

WatchNewRound is a free log subscription operation binding the contract event 0x0109fc6f55cf40689f02fbaad7af7fe7bbac8a3d2186600afc7d3e10cac60271.

Solidity: event NewRound(uint256 indexed roundId, address indexed startedBy, uint256 startedAt)

type MockV3AggregatorContractNewRound

type MockV3AggregatorContractNewRound struct {
	RoundId   *big.Int
	StartedBy common.Address
	StartedAt *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

MockV3AggregatorContractNewRound represents a NewRound event raised by the MockV3AggregatorContract contract.

type MockV3AggregatorContractNewRoundIterator

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

MockV3AggregatorContractNewRoundIterator is returned from FilterNewRound and is used to iterate over the raw logs and unpacked data for NewRound events raised by the MockV3AggregatorContract contract.

func (*MockV3AggregatorContractNewRoundIterator) Close

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

func (*MockV3AggregatorContractNewRoundIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*MockV3AggregatorContractRaw) Call

func (_MockV3AggregatorContract *MockV3AggregatorContractRaw) 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 (*MockV3AggregatorContractRaw) Transact

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

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

func (*MockV3AggregatorContractRaw) Transfer

func (_MockV3AggregatorContract *MockV3AggregatorContractRaw) 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 MockV3AggregatorContractSession

type MockV3AggregatorContractSession struct {
	Contract     *MockV3AggregatorContract // 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
}

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

func (*MockV3AggregatorContractSession) Decimals

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*MockV3AggregatorContractSession) Description

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) Description() (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*MockV3AggregatorContractSession) GetAnswer

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) GetAnswer(arg0 *big.Int) (*big.Int, error)

GetAnswer is a free data retrieval call binding the contract method 0xb5ab58dc.

Solidity: function getAnswer(uint256 ) view returns(int256)

func (*MockV3AggregatorContractSession) GetRoundData

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) GetRoundData(_roundId *big.Int) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

GetRoundData is a free data retrieval call binding the contract method 0x9a6fc8f5.

Solidity: function getRoundData(uint80 _roundId) view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*MockV3AggregatorContractSession) GetTimestamp

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) GetTimestamp(arg0 *big.Int) (*big.Int, error)

GetTimestamp is a free data retrieval call binding the contract method 0xb633620c.

Solidity: function getTimestamp(uint256 ) view returns(uint256)

func (*MockV3AggregatorContractSession) LatestAnswer

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) LatestAnswer() (*big.Int, error)

LatestAnswer is a free data retrieval call binding the contract method 0x50d25bcd.

Solidity: function latestAnswer() view returns(int256)

func (*MockV3AggregatorContractSession) LatestRound

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) LatestRound() (*big.Int, error)

LatestRound is a free data retrieval call binding the contract method 0x668a0f02.

Solidity: function latestRound() view returns(uint256)

func (*MockV3AggregatorContractSession) LatestRoundData

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) LatestRoundData() (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

LatestRoundData is a free data retrieval call binding the contract method 0xfeaf968c.

Solidity: function latestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*MockV3AggregatorContractSession) LatestTimestamp

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) LatestTimestamp() (*big.Int, error)

LatestTimestamp is a free data retrieval call binding the contract method 0x8205bf6a.

Solidity: function latestTimestamp() view returns(uint256)

func (*MockV3AggregatorContractSession) UpdateAnswer

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) UpdateAnswer(_answer *big.Int) (*types.Transaction, error)

UpdateAnswer is a paid mutator transaction binding the contract method 0xa87a20ce.

Solidity: function updateAnswer(int256 _answer) returns()

func (*MockV3AggregatorContractSession) UpdateRoundData

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) UpdateRoundData(_roundId *big.Int, _answer *big.Int, _timestamp *big.Int, _startedAt *big.Int) (*types.Transaction, error)

UpdateRoundData is a paid mutator transaction binding the contract method 0x4aa2011f.

Solidity: function updateRoundData(uint80 _roundId, int256 _answer, uint256 _timestamp, uint256 _startedAt) returns()

func (*MockV3AggregatorContractSession) Version

func (_MockV3AggregatorContract *MockV3AggregatorContractSession) Version() (*big.Int, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint256)

type MockV3AggregatorContractTransactor

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

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

func NewMockV3AggregatorContractTransactor

func NewMockV3AggregatorContractTransactor(address common.Address, transactor bind.ContractTransactor) (*MockV3AggregatorContractTransactor, error)

NewMockV3AggregatorContractTransactor creates a new write-only instance of MockV3AggregatorContract, bound to a specific deployed contract.

func (*MockV3AggregatorContractTransactor) UpdateAnswer

func (_MockV3AggregatorContract *MockV3AggregatorContractTransactor) UpdateAnswer(opts *bind.TransactOpts, _answer *big.Int) (*types.Transaction, error)

UpdateAnswer is a paid mutator transaction binding the contract method 0xa87a20ce.

Solidity: function updateAnswer(int256 _answer) returns()

func (*MockV3AggregatorContractTransactor) UpdateRoundData

func (_MockV3AggregatorContract *MockV3AggregatorContractTransactor) UpdateRoundData(opts *bind.TransactOpts, _roundId *big.Int, _answer *big.Int, _timestamp *big.Int, _startedAt *big.Int) (*types.Transaction, error)

UpdateRoundData is a paid mutator transaction binding the contract method 0x4aa2011f.

Solidity: function updateRoundData(uint80 _roundId, int256 _answer, uint256 _timestamp, uint256 _startedAt) returns()

type MockV3AggregatorContractTransactorRaw

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

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

func (*MockV3AggregatorContractTransactorRaw) Transact

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

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

func (*MockV3AggregatorContractTransactorRaw) Transfer

func (_MockV3AggregatorContract *MockV3AggregatorContractTransactorRaw) 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 MockV3AggregatorContractTransactorSession

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

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

func (*MockV3AggregatorContractTransactorSession) UpdateAnswer

func (_MockV3AggregatorContract *MockV3AggregatorContractTransactorSession) UpdateAnswer(_answer *big.Int) (*types.Transaction, error)

UpdateAnswer is a paid mutator transaction binding the contract method 0xa87a20ce.

Solidity: function updateAnswer(int256 _answer) returns()

func (*MockV3AggregatorContractTransactorSession) UpdateRoundData

func (_MockV3AggregatorContract *MockV3AggregatorContractTransactorSession) UpdateRoundData(_roundId *big.Int, _answer *big.Int, _timestamp *big.Int, _startedAt *big.Int) (*types.Transaction, error)

UpdateRoundData is a paid mutator transaction binding the contract method 0x4aa2011f.

Solidity: function updateRoundData(uint80 _roundId, int256 _answer, uint256 _timestamp, uint256 _startedAt) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL