Documentation ¶
Index ¶
- Variables
- type Chainlink
- type ChainlinkCaller
- func (_Chainlink *ChainlinkCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Chainlink *ChainlinkCaller) Description(opts *bind.CallOpts) (string, error)
- func (_Chainlink *ChainlinkCaller) GetRoundData(opts *bind.CallOpts, _roundId *big.Int) (struct{ ... }, error)
- func (_Chainlink *ChainlinkCaller) LatestRoundData(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Chainlink *ChainlinkCaller) Version(opts *bind.CallOpts) (*big.Int, error)
- type ChainlinkCallerRaw
- type ChainlinkCallerSession
- func (_Chainlink *ChainlinkCallerSession) Decimals() (uint8, error)
- func (_Chainlink *ChainlinkCallerSession) Description() (string, error)
- func (_Chainlink *ChainlinkCallerSession) GetRoundData(_roundId *big.Int) (struct{ ... }, error)
- func (_Chainlink *ChainlinkCallerSession) LatestRoundData() (struct{ ... }, error)
- func (_Chainlink *ChainlinkCallerSession) Version() (*big.Int, error)
- type ChainlinkFilterer
- type ChainlinkRaw
- func (_Chainlink *ChainlinkRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Chainlink *ChainlinkRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Chainlink *ChainlinkRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ChainlinkSession
- func (_Chainlink *ChainlinkSession) Decimals() (uint8, error)
- func (_Chainlink *ChainlinkSession) Description() (string, error)
- func (_Chainlink *ChainlinkSession) GetRoundData(_roundId *big.Int) (struct{ ... }, error)
- func (_Chainlink *ChainlinkSession) LatestRoundData() (struct{ ... }, error)
- func (_Chainlink *ChainlinkSession) Version() (*big.Int, error)
- type ChainlinkTransactor
- type ChainlinkTransactorRaw
- type ChainlinkTransactorSession
Constants ¶
This section is empty.
Variables ¶
var ChainlinkABI = ChainlinkMetaData.ABI
ChainlinkABI is the input ABI used to generate the binding from. Deprecated: Use ChainlinkMetaData.ABI instead.
var ChainlinkMetaData = &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\"}]",
}
ChainlinkMetaData contains all meta data concerning the Chainlink contract.
Functions ¶
This section is empty.
Types ¶
type Chainlink ¶
type Chainlink struct { ChainlinkCaller // Read-only binding to the contract ChainlinkTransactor // Write-only binding to the contract ChainlinkFilterer // Log filterer for contract events }
Chainlink is an auto generated Go binding around an Ethereum contract.
func NewChainlink ¶
NewChainlink creates a new instance of Chainlink, bound to a specific deployed contract.
type ChainlinkCaller ¶
type ChainlinkCaller struct {
// contains filtered or unexported fields
}
ChainlinkCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewChainlinkCaller ¶
func NewChainlinkCaller(address common.Address, caller bind.ContractCaller) (*ChainlinkCaller, error)
NewChainlinkCaller creates a new read-only instance of Chainlink, bound to a specific deployed contract.
func (*ChainlinkCaller) Decimals ¶
func (_Chainlink *ChainlinkCaller) 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 (*ChainlinkCaller) Description ¶
func (_Chainlink *ChainlinkCaller) 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 (*ChainlinkCaller) GetRoundData ¶
func (_Chainlink *ChainlinkCaller) 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 (*ChainlinkCaller) LatestRoundData ¶
func (_Chainlink *ChainlinkCaller) 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)
type ChainlinkCallerRaw ¶
type ChainlinkCallerRaw struct {
Contract *ChainlinkCaller // Generic read-only contract binding to access the raw methods on
}
ChainlinkCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ChainlinkCallerRaw) Call ¶
func (_Chainlink *ChainlinkCallerRaw) 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 ChainlinkCallerSession ¶
type ChainlinkCallerSession struct { Contract *ChainlinkCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ChainlinkCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ChainlinkCallerSession) Decimals ¶
func (_Chainlink *ChainlinkCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ChainlinkCallerSession) Description ¶
func (_Chainlink *ChainlinkCallerSession) Description() (string, error)
Description is a free data retrieval call binding the contract method 0x7284e416.
Solidity: function description() view returns(string)
func (*ChainlinkCallerSession) GetRoundData ¶
func (_Chainlink *ChainlinkCallerSession) 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 (*ChainlinkCallerSession) LatestRoundData ¶
func (_Chainlink *ChainlinkCallerSession) 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)
type ChainlinkFilterer ¶
type ChainlinkFilterer struct {
// contains filtered or unexported fields
}
ChainlinkFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewChainlinkFilterer ¶
func NewChainlinkFilterer(address common.Address, filterer bind.ContractFilterer) (*ChainlinkFilterer, error)
NewChainlinkFilterer creates a new log filterer instance of Chainlink, bound to a specific deployed contract.
type ChainlinkRaw ¶
type ChainlinkRaw struct {
Contract *Chainlink // Generic contract binding to access the raw methods on
}
ChainlinkRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ChainlinkRaw) Call ¶
func (_Chainlink *ChainlinkRaw) 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 (*ChainlinkRaw) Transact ¶
func (_Chainlink *ChainlinkRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ChainlinkRaw) Transfer ¶
func (_Chainlink *ChainlinkRaw) 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 ChainlinkSession ¶
type ChainlinkSession struct { Contract *Chainlink // 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 }
ChainlinkSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ChainlinkSession) Decimals ¶
func (_Chainlink *ChainlinkSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ChainlinkSession) Description ¶
func (_Chainlink *ChainlinkSession) Description() (string, error)
Description is a free data retrieval call binding the contract method 0x7284e416.
Solidity: function description() view returns(string)
func (*ChainlinkSession) GetRoundData ¶
func (_Chainlink *ChainlinkSession) 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 (*ChainlinkSession) LatestRoundData ¶
func (_Chainlink *ChainlinkSession) 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)
type ChainlinkTransactor ¶
type ChainlinkTransactor struct {
// contains filtered or unexported fields
}
ChainlinkTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewChainlinkTransactor ¶
func NewChainlinkTransactor(address common.Address, transactor bind.ContractTransactor) (*ChainlinkTransactor, error)
NewChainlinkTransactor creates a new write-only instance of Chainlink, bound to a specific deployed contract.
type ChainlinkTransactorRaw ¶
type ChainlinkTransactorRaw struct {
Contract *ChainlinkTransactor // Generic write-only contract binding to access the raw methods on
}
ChainlinkTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ChainlinkTransactorRaw) Transact ¶
func (_Chainlink *ChainlinkTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ChainlinkTransactorRaw) Transfer ¶
func (_Chainlink *ChainlinkTransactorRaw) 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 ChainlinkTransactorSession ¶
type ChainlinkTransactorSession struct { Contract *ChainlinkTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ChainlinkTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.