ChainlinkRound.sol
ChainlinkRound
struct ChainlinkRound {
uint256 timestamp;
int256 answer;
uint256 roundId;
}
ChainlinkRound type
ChainlinkRoundLib
Library that manages Chainlink round parsing.
phaseId
function phaseId(struct ChainlinkRound self) internal pure returns (uint16)
Computes the chainlink phase ID from a round
Parameters:
Name Type Description self struct ChainlinkRound Round to compute from Return Values:
Name Type Description [0] uint16 Chainlink phase ID