Assessment reports>Pyth Network>Threat Models>update_price_feeds()

Function: update_price_feeds()

Used to submit new price feed updates.

Inputs

  • vaa

    • Validation: Checked to be a valid wormhole message. Checked to be from an authorized data source. Checked to be from a valid chain. Checked to ensure it's not a stale VAA. Checked to ensure the data source has supplied the necessary fee.

    • Impact: The price feed specified in the VAA is updated, with the new price set to the value in the VAA.

Branches and code coverage (including function calls)

Intended branches

Negative behaviour

Zellic © 2024Back to top ↑