Assessment reports>Cega>Threat Models>Function: addNextRoundData(RoundData _roundData)

Function: addNextRoundData(RoundData _roundData)

The addNextRoundData function pushes a pricing data struct (RoundData) to storage (oracleData). Its caller must be a service admin.

Inputs

  • _roundData

    • Control: Full.

    • Constraints: None.

    • Impact: The RoundData struct to store. Note that the service admin could force a knock-in or knock-out event.

Branches and code coverage (including function calls)

Intended branches

  • Function pushes RoundData struct.

Negative behaviour

  • Function is called by non-service admin.

Zellic © 2024Back to top ↑