chainlink

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AggregatorV3InterfaceABI = AggregatorV3InterfaceMetaData.ABI

AggregatorV3InterfaceABI is the input ABI used to generate the binding from. Deprecated: Use AggregatorV3InterfaceMetaData.ABI instead.

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\"}]",
}

AggregatorV3InterfaceMetaData contains all meta data concerning the AggregatorV3Interface contract.

Functions

This section is empty.

Types

type AggregatorV3Interface

type AggregatorV3Interface struct {
	AggregatorV3InterfaceCaller     // Read-only binding to the contract
	AggregatorV3InterfaceTransactor // Write-only binding to the contract
	AggregatorV3InterfaceFilterer   // Log filterer for contract events
}

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

func NewAggregatorV3Interface

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

NewAggregatorV3Interface creates a new instance of AggregatorV3Interface, bound to a specific deployed contract.

type AggregatorV3InterfaceCaller

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

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

func NewAggregatorV3InterfaceCaller

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

NewAggregatorV3InterfaceCaller creates a new read-only instance of AggregatorV3Interface, bound to a specific deployed contract.

func (*AggregatorV3InterfaceCaller) Decimals

func (_AggregatorV3Interface *AggregatorV3InterfaceCaller) 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 (*AggregatorV3InterfaceCaller) Description

func (_AggregatorV3Interface *AggregatorV3InterfaceCaller) 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 (*AggregatorV3InterfaceCaller) GetRoundData

func (_AggregatorV3Interface *AggregatorV3InterfaceCaller) 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 (*AggregatorV3InterfaceCaller) LatestRoundData

func (_AggregatorV3Interface *AggregatorV3InterfaceCaller) 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 (*AggregatorV3InterfaceCaller) Version

func (_AggregatorV3Interface *AggregatorV3InterfaceCaller) 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 AggregatorV3InterfaceCallerRaw

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

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

func (*AggregatorV3InterfaceCallerRaw) Call

func (_AggregatorV3Interface *AggregatorV3InterfaceCallerRaw) 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 AggregatorV3InterfaceCallerSession

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

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

func (*AggregatorV3InterfaceCallerSession) Decimals

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

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

Solidity: function decimals() view returns(uint8)

func (*AggregatorV3InterfaceCallerSession) Description

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

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

Solidity: function description() view returns(string)

func (*AggregatorV3InterfaceCallerSession) GetRoundData

func (_AggregatorV3Interface *AggregatorV3InterfaceCallerSession) 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 (*AggregatorV3InterfaceCallerSession) LatestRoundData

func (_AggregatorV3Interface *AggregatorV3InterfaceCallerSession) 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 (*AggregatorV3InterfaceCallerSession) Version

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

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

Solidity: function version() view returns(uint256)

type AggregatorV3InterfaceFilterer

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

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

func NewAggregatorV3InterfaceFilterer

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

NewAggregatorV3InterfaceFilterer creates a new log filterer instance of AggregatorV3Interface, bound to a specific deployed contract.

type AggregatorV3InterfaceRaw

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

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

func (*AggregatorV3InterfaceRaw) Call

func (_AggregatorV3Interface *AggregatorV3InterfaceRaw) 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 (*AggregatorV3InterfaceRaw) Transact

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

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

func (*AggregatorV3InterfaceRaw) Transfer

func (_AggregatorV3Interface *AggregatorV3InterfaceRaw) 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 AggregatorV3InterfaceSession

type AggregatorV3InterfaceSession struct {
	Contract     *AggregatorV3Interface // 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
}

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

func (*AggregatorV3InterfaceSession) Decimals

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

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

Solidity: function decimals() view returns(uint8)

func (*AggregatorV3InterfaceSession) Description

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

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

Solidity: function description() view returns(string)

func (*AggregatorV3InterfaceSession) GetRoundData

func (_AggregatorV3Interface *AggregatorV3InterfaceSession) 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 (*AggregatorV3InterfaceSession) LatestRoundData

func (_AggregatorV3Interface *AggregatorV3InterfaceSession) 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 (*AggregatorV3InterfaceSession) Version

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

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

Solidity: function version() view returns(uint256)

type AggregatorV3InterfaceTransactor

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

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

func NewAggregatorV3InterfaceTransactor

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

NewAggregatorV3InterfaceTransactor creates a new write-only instance of AggregatorV3Interface, bound to a specific deployed contract.

type AggregatorV3InterfaceTransactorRaw

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

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

func (*AggregatorV3InterfaceTransactorRaw) Transact

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

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

func (*AggregatorV3InterfaceTransactorRaw) Transfer

func (_AggregatorV3Interface *AggregatorV3InterfaceTransactorRaw) 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 AggregatorV3InterfaceTransactorSession

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

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

Jump to

Keyboard shortcuts

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