Assessment reports>Oracle>Threat Model>Function: getRoundData(uint80 _roundId)

Function: getRoundData(uint80 _roundId)

Inputs

  • _roundId

    • Validation: N/A.

    • Impact: N/A.

Branches and code coverage

Intended branches

Function call analysis

  • pyth.getPriceUnsafe(pythID)

    • External/Internal? External.

    • Argument control: N/A.

    • Impact: Retrieve the latest price from the pyth-network contract.

Zellic © 2024Back to top ↑