AggregatorInterface
Functions
latestAnswer
function latestAnswer() external view returns (int256);
Returns
| Name | Type | Description |
|---|---|---|
| <none> | int256 |
latestTimestamp
function latestTimestamp() external view returns (uint256);
Returns
| Name | Type | Description |
|---|---|---|
| <none> | uint256 |
latestRound
function latestRound() external view returns (uint256);
Returns
| Name | Type | Description |
|---|---|---|
| <none> | uint256 |
getAnswer
function getAnswer(uint256 roundId) external view returns (int256);
Parameters
| Name | Type | Description |
|---|---|---|
| roundId | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | int256 |
getTimestamp
function getTimestamp(uint256 roundId) external view returns (uint256);
Parameters
| Name | Type | Description |
|---|---|---|
| roundId | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | uint256 |
Events
AnswerUpdated
event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 updatedAt);
Parameters
| Name | Type | Description |
|---|---|---|
| current | int256 | |
| roundId | uint256 | |
| updatedAt | uint256 |
NewRound
event NewRound(uint256 indexed roundId, address indexed startedBy, uint256 startedAt);
Parameters
| Name | Type | Description |
|---|---|---|
| roundId | uint256 | |
| startedBy | address | |
| startedAt | uint256 |