aggregator_v2v3_interface

package
v2.11.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AggregatorV2V3InterfaceABI = AggregatorV2V3InterfaceMetaData.ABI
View Source
var AggregatorV2V3InterfaceMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"int256\",\"name\":\"current\",\"type\":\"int256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"roundId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"}],\"name\":\"AnswerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"roundId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"startedBy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"}],\"name\":\"NewRound\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"description\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"roundId\",\"type\":\"uint256\"}],\"name\":\"getAnswer\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint80\",\"name\":\"_roundId\",\"type\":\"uint80\"}],\"name\":\"getRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"roundId\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"answeredInRound\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"roundId\",\"type\":\"uint256\"}],\"name\":\"getTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestAnswer\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"roundId\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"answeredInRound\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

Functions

This section is empty.

Types

type AggregatorV2V3Interface

type AggregatorV2V3Interface struct {
	AggregatorV2V3InterfaceCaller
	AggregatorV2V3InterfaceTransactor
	AggregatorV2V3InterfaceFilterer
	// contains filtered or unexported fields
}

func NewAggregatorV2V3Interface

func NewAggregatorV2V3Interface(address common.Address, backend bind.ContractBackend) (*AggregatorV2V3Interface, error)

func (*AggregatorV2V3Interface) Address

func (_AggregatorV2V3Interface *AggregatorV2V3Interface) Address() common.Address

func (*AggregatorV2V3Interface) ParseLog

func (_AggregatorV2V3Interface *AggregatorV2V3Interface) ParseLog(log types.Log) (generated.AbigenLog, error)

type AggregatorV2V3InterfaceAnswerUpdated

type AggregatorV2V3InterfaceAnswerUpdated struct {
	Current   *big.Int
	RoundId   *big.Int
	UpdatedAt *big.Int
	Raw       types.Log
}

func (AggregatorV2V3InterfaceAnswerUpdated) Topic

type AggregatorV2V3InterfaceAnswerUpdatedIterator

type AggregatorV2V3InterfaceAnswerUpdatedIterator struct {
	Event *AggregatorV2V3InterfaceAnswerUpdated
	// contains filtered or unexported fields
}

func (*AggregatorV2V3InterfaceAnswerUpdatedIterator) Close

func (*AggregatorV2V3InterfaceAnswerUpdatedIterator) Error

func (*AggregatorV2V3InterfaceAnswerUpdatedIterator) Next

type AggregatorV2V3InterfaceCaller

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

func NewAggregatorV2V3InterfaceCaller

func NewAggregatorV2V3InterfaceCaller(address common.Address, caller bind.ContractCaller) (*AggregatorV2V3InterfaceCaller, error)

func (*AggregatorV2V3InterfaceCaller) Decimals

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCaller) Decimals(opts *bind.CallOpts) (uint8, error)

func (*AggregatorV2V3InterfaceCaller) Description

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCaller) Description(opts *bind.CallOpts) (string, error)

func (*AggregatorV2V3InterfaceCaller) GetAnswer

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCaller) GetAnswer(opts *bind.CallOpts, roundId *big.Int) (*big.Int, error)

func (*AggregatorV2V3InterfaceCaller) GetRoundData

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCaller) GetRoundData(opts *bind.CallOpts, _roundId *big.Int) (GetRoundData,

	error)

func (*AggregatorV2V3InterfaceCaller) GetTimestamp

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCaller) GetTimestamp(opts *bind.CallOpts, roundId *big.Int) (*big.Int, error)

func (*AggregatorV2V3InterfaceCaller) LatestAnswer

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCaller) LatestAnswer(opts *bind.CallOpts) (*big.Int, error)

func (*AggregatorV2V3InterfaceCaller) LatestRound

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCaller) LatestRound(opts *bind.CallOpts) (*big.Int, error)

func (*AggregatorV2V3InterfaceCaller) LatestRoundData

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCaller) LatestRoundData(opts *bind.CallOpts) (LatestRoundData,

	error)

func (*AggregatorV2V3InterfaceCaller) LatestTimestamp

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCaller) LatestTimestamp(opts *bind.CallOpts) (*big.Int, error)

func (*AggregatorV2V3InterfaceCaller) Version

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCaller) Version(opts *bind.CallOpts) (*big.Int, error)

type AggregatorV2V3InterfaceCallerRaw

type AggregatorV2V3InterfaceCallerRaw struct {
	Contract *AggregatorV2V3InterfaceCaller
}

func (*AggregatorV2V3InterfaceCallerRaw) Call

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

type AggregatorV2V3InterfaceCallerSession

type AggregatorV2V3InterfaceCallerSession struct {
	Contract *AggregatorV2V3InterfaceCaller
	CallOpts bind.CallOpts
}

func (*AggregatorV2V3InterfaceCallerSession) Decimals

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCallerSession) Decimals() (uint8, error)

func (*AggregatorV2V3InterfaceCallerSession) Description

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCallerSession) Description() (string, error)

func (*AggregatorV2V3InterfaceCallerSession) GetAnswer

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCallerSession) GetAnswer(roundId *big.Int) (*big.Int, error)

func (*AggregatorV2V3InterfaceCallerSession) GetRoundData

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCallerSession) GetRoundData(_roundId *big.Int) (GetRoundData,

	error)

func (*AggregatorV2V3InterfaceCallerSession) GetTimestamp

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCallerSession) GetTimestamp(roundId *big.Int) (*big.Int, error)

func (*AggregatorV2V3InterfaceCallerSession) LatestAnswer

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCallerSession) LatestAnswer() (*big.Int, error)

func (*AggregatorV2V3InterfaceCallerSession) LatestRound

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCallerSession) LatestRound() (*big.Int, error)

func (*AggregatorV2V3InterfaceCallerSession) LatestRoundData

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCallerSession) LatestRoundData() (LatestRoundData,

	error)

func (*AggregatorV2V3InterfaceCallerSession) LatestTimestamp

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCallerSession) LatestTimestamp() (*big.Int, error)

func (*AggregatorV2V3InterfaceCallerSession) Version

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceCallerSession) Version() (*big.Int, error)

type AggregatorV2V3InterfaceFilterer

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

func NewAggregatorV2V3InterfaceFilterer

func NewAggregatorV2V3InterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*AggregatorV2V3InterfaceFilterer, error)

func (*AggregatorV2V3InterfaceFilterer) FilterAnswerUpdated

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceFilterer) FilterAnswerUpdated(opts *bind.FilterOpts, current []*big.Int, roundId []*big.Int) (*AggregatorV2V3InterfaceAnswerUpdatedIterator, error)

func (*AggregatorV2V3InterfaceFilterer) FilterNewRound

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceFilterer) FilterNewRound(opts *bind.FilterOpts, roundId []*big.Int, startedBy []common.Address) (*AggregatorV2V3InterfaceNewRoundIterator, error)

func (*AggregatorV2V3InterfaceFilterer) ParseAnswerUpdated

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceFilterer) ParseAnswerUpdated(log types.Log) (*AggregatorV2V3InterfaceAnswerUpdated, error)

func (*AggregatorV2V3InterfaceFilterer) ParseNewRound

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceFilterer) ParseNewRound(log types.Log) (*AggregatorV2V3InterfaceNewRound, error)

func (*AggregatorV2V3InterfaceFilterer) WatchAnswerUpdated

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceFilterer) WatchAnswerUpdated(opts *bind.WatchOpts, sink chan<- *AggregatorV2V3InterfaceAnswerUpdated, current []*big.Int, roundId []*big.Int) (event.Subscription, error)

func (*AggregatorV2V3InterfaceFilterer) WatchNewRound

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

type AggregatorV2V3InterfaceInterface

type AggregatorV2V3InterfaceInterface interface {
	Decimals(opts *bind.CallOpts) (uint8, error)

	Description(opts *bind.CallOpts) (string, error)

	GetAnswer(opts *bind.CallOpts, roundId *big.Int) (*big.Int, error)

	GetRoundData(opts *bind.CallOpts, _roundId *big.Int) (GetRoundData,

		error)

	GetTimestamp(opts *bind.CallOpts, roundId *big.Int) (*big.Int, error)

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

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

	LatestRoundData(opts *bind.CallOpts) (LatestRoundData,

		error)

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

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

	FilterAnswerUpdated(opts *bind.FilterOpts, current []*big.Int, roundId []*big.Int) (*AggregatorV2V3InterfaceAnswerUpdatedIterator, error)

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

	ParseAnswerUpdated(log types.Log) (*AggregatorV2V3InterfaceAnswerUpdated, error)

	FilterNewRound(opts *bind.FilterOpts, roundId []*big.Int, startedBy []common.Address) (*AggregatorV2V3InterfaceNewRoundIterator, error)

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

	ParseNewRound(log types.Log) (*AggregatorV2V3InterfaceNewRound, error)

	ParseLog(log types.Log) (generated.AbigenLog, error)

	Address() common.Address
}

type AggregatorV2V3InterfaceNewRound

type AggregatorV2V3InterfaceNewRound struct {
	RoundId   *big.Int
	StartedBy common.Address
	StartedAt *big.Int
	Raw       types.Log
}

func (AggregatorV2V3InterfaceNewRound) Topic

type AggregatorV2V3InterfaceNewRoundIterator

type AggregatorV2V3InterfaceNewRoundIterator struct {
	Event *AggregatorV2V3InterfaceNewRound
	// contains filtered or unexported fields
}

func (*AggregatorV2V3InterfaceNewRoundIterator) Close

func (*AggregatorV2V3InterfaceNewRoundIterator) Error

func (*AggregatorV2V3InterfaceNewRoundIterator) Next

type AggregatorV2V3InterfaceRaw

type AggregatorV2V3InterfaceRaw struct {
	Contract *AggregatorV2V3Interface
}

func (*AggregatorV2V3InterfaceRaw) Call

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

func (*AggregatorV2V3InterfaceRaw) Transact

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

func (*AggregatorV2V3InterfaceRaw) Transfer

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type AggregatorV2V3InterfaceSession

type AggregatorV2V3InterfaceSession struct {
	Contract     *AggregatorV2V3Interface
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*AggregatorV2V3InterfaceSession) Decimals

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceSession) Decimals() (uint8, error)

func (*AggregatorV2V3InterfaceSession) Description

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceSession) Description() (string, error)

func (*AggregatorV2V3InterfaceSession) GetAnswer

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceSession) GetAnswer(roundId *big.Int) (*big.Int, error)

func (*AggregatorV2V3InterfaceSession) GetRoundData

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceSession) GetRoundData(_roundId *big.Int) (GetRoundData,

	error)

func (*AggregatorV2V3InterfaceSession) GetTimestamp

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceSession) GetTimestamp(roundId *big.Int) (*big.Int, error)

func (*AggregatorV2V3InterfaceSession) LatestAnswer

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceSession) LatestAnswer() (*big.Int, error)

func (*AggregatorV2V3InterfaceSession) LatestRound

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceSession) LatestRound() (*big.Int, error)

func (*AggregatorV2V3InterfaceSession) LatestRoundData

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceSession) LatestRoundData() (LatestRoundData,

	error)

func (*AggregatorV2V3InterfaceSession) LatestTimestamp

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceSession) LatestTimestamp() (*big.Int, error)

func (*AggregatorV2V3InterfaceSession) Version

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceSession) Version() (*big.Int, error)

type AggregatorV2V3InterfaceTransactor

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

func NewAggregatorV2V3InterfaceTransactor

func NewAggregatorV2V3InterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*AggregatorV2V3InterfaceTransactor, error)

type AggregatorV2V3InterfaceTransactorRaw

type AggregatorV2V3InterfaceTransactorRaw struct {
	Contract *AggregatorV2V3InterfaceTransactor
}

func (*AggregatorV2V3InterfaceTransactorRaw) Transact

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

func (*AggregatorV2V3InterfaceTransactorRaw) Transfer

func (_AggregatorV2V3Interface *AggregatorV2V3InterfaceTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type AggregatorV2V3InterfaceTransactorSession

type AggregatorV2V3InterfaceTransactorSession struct {
	Contract     *AggregatorV2V3InterfaceTransactor
	TransactOpts bind.TransactOpts
}

type GetRoundData

type GetRoundData struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}

type LatestRoundData

type LatestRoundData struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}

Jump to

Keyboard shortcuts

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