Assessment reports>Oracle>Threat Model>Function: updatePriceFeeds(bytes[] priceUpdateData)

Function: updatePriceFeeds(bytes[] priceUpdateData)

Inputs

  • priceUpdateData

    • Validation: N/A.

    • Impact: A parameter used to update price data to the pyth-network contract.

Branches and code coverage

Intended branches

Negative behavior

Function call analysis

  • pyth.updatePriceFeeds{value: fee}(priceUpdateData)

    • External/Internal? External.

    • Argument control: priceUpdateData.

    • Impact: Update the latest price data in the pyth-network contract.

Zellic © 2024Back to top ↑