Skip to main content

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:

    NameTypeDescription
    selfstruct ChainlinkRoundRound to compute from
  • Return Values:

    NameTypeDescription
    [0]uint16Chainlink phase ID