aggregator_v3_interface

package
v2.12.1-starknet-20240802 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AggregatorV3InterfaceABI = AggregatorV3InterfaceMetaData.ABI
View Source
var AggregatorV3InterfaceMetaData = &bind.MetaData{
	ABI: "[{\"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\":\"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\":[],\"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\":\"version\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

Functions

This section is empty.

Types

type AggregatorV3Interface

type AggregatorV3Interface struct {
	AggregatorV3InterfaceCaller
	AggregatorV3InterfaceTransactor
	AggregatorV3InterfaceFilterer
	// contains filtered or unexported fields
}

func NewAggregatorV3Interface

func NewAggregatorV3Interface(address common.Address, backend bind.ContractBackend) (*AggregatorV3Interface, error)

func (*AggregatorV3Interface) Address

func (_AggregatorV3Interface *AggregatorV3Interface) Address() common.Address

type AggregatorV3InterfaceCaller

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

func NewAggregatorV3InterfaceCaller

func NewAggregatorV3InterfaceCaller(address common.Address, caller bind.ContractCaller) (*AggregatorV3InterfaceCaller, error)

func (*AggregatorV3InterfaceCaller) Decimals

func (_AggregatorV3Interface *AggregatorV3InterfaceCaller) Decimals(opts *bind.CallOpts) (uint8, error)

func (*AggregatorV3InterfaceCaller) Description

func (_AggregatorV3Interface *AggregatorV3InterfaceCaller) Description(opts *bind.CallOpts) (string, error)

func (*AggregatorV3InterfaceCaller) GetRoundData

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

	error)

func (*AggregatorV3InterfaceCaller) LatestRoundData

func (_AggregatorV3Interface *AggregatorV3InterfaceCaller) LatestRoundData(opts *bind.CallOpts) (LatestRoundData,

	error)

func (*AggregatorV3InterfaceCaller) Version

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

type AggregatorV3InterfaceCallerRaw

type AggregatorV3InterfaceCallerRaw struct {
	Contract *AggregatorV3InterfaceCaller
}

func (*AggregatorV3InterfaceCallerRaw) Call

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

type AggregatorV3InterfaceCallerSession

type AggregatorV3InterfaceCallerSession struct {
	Contract *AggregatorV3InterfaceCaller
	CallOpts bind.CallOpts
}

func (*AggregatorV3InterfaceCallerSession) Decimals

func (_AggregatorV3Interface *AggregatorV3InterfaceCallerSession) Decimals() (uint8, error)

func (*AggregatorV3InterfaceCallerSession) Description

func (_AggregatorV3Interface *AggregatorV3InterfaceCallerSession) Description() (string, error)

func (*AggregatorV3InterfaceCallerSession) GetRoundData

func (_AggregatorV3Interface *AggregatorV3InterfaceCallerSession) GetRoundData(_roundId *big.Int) (GetRoundData,

	error)

func (*AggregatorV3InterfaceCallerSession) LatestRoundData

func (_AggregatorV3Interface *AggregatorV3InterfaceCallerSession) LatestRoundData() (LatestRoundData,

	error)

func (*AggregatorV3InterfaceCallerSession) Version

func (_AggregatorV3Interface *AggregatorV3InterfaceCallerSession) Version() (*big.Int, error)

type AggregatorV3InterfaceFilterer

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

func NewAggregatorV3InterfaceFilterer

func NewAggregatorV3InterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*AggregatorV3InterfaceFilterer, error)

type AggregatorV3InterfaceInterface

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

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

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

		error)

	LatestRoundData(opts *bind.CallOpts) (LatestRoundData,

		error)

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

	Address() common.Address
}

type AggregatorV3InterfaceRaw

type AggregatorV3InterfaceRaw struct {
	Contract *AggregatorV3Interface
}

func (*AggregatorV3InterfaceRaw) Call

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

func (*AggregatorV3InterfaceRaw) Transact

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

func (*AggregatorV3InterfaceRaw) Transfer

func (_AggregatorV3Interface *AggregatorV3InterfaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type AggregatorV3InterfaceSession

type AggregatorV3InterfaceSession struct {
	Contract     *AggregatorV3Interface
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*AggregatorV3InterfaceSession) Decimals

func (_AggregatorV3Interface *AggregatorV3InterfaceSession) Decimals() (uint8, error)

func (*AggregatorV3InterfaceSession) Description

func (_AggregatorV3Interface *AggregatorV3InterfaceSession) Description() (string, error)

func (*AggregatorV3InterfaceSession) GetRoundData

func (_AggregatorV3Interface *AggregatorV3InterfaceSession) GetRoundData(_roundId *big.Int) (GetRoundData,

	error)

func (*AggregatorV3InterfaceSession) LatestRoundData

func (_AggregatorV3Interface *AggregatorV3InterfaceSession) LatestRoundData() (LatestRoundData,

	error)

func (*AggregatorV3InterfaceSession) Version

func (_AggregatorV3Interface *AggregatorV3InterfaceSession) Version() (*big.Int, error)

type AggregatorV3InterfaceTransactor

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

func NewAggregatorV3InterfaceTransactor

func NewAggregatorV3InterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*AggregatorV3InterfaceTransactor, error)

type AggregatorV3InterfaceTransactorRaw

type AggregatorV3InterfaceTransactorRaw struct {
	Contract *AggregatorV3InterfaceTransactor
}

func (*AggregatorV3InterfaceTransactorRaw) Transact

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

func (*AggregatorV3InterfaceTransactorRaw) Transfer

func (_AggregatorV3Interface *AggregatorV3InterfaceTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type AggregatorV3InterfaceTransactorSession

type AggregatorV3InterfaceTransactorSession struct {
	Contract     *AggregatorV3InterfaceTransactor
	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