Assessment reports>Orderly Network>Threat Model>updateMarketUpload

Function: updateMarketUpload(MarketTypes.UploadPerpPrice data)

This allows the operator manager contract to update the perpMarketCfg configuration. This function can only be called after verifying the signature that it was executed by a trusted cefiMarketUploadAddress. The function updates indexPriceOrderly, markPrice, and lastMarkPriceUpdated.

Inputs

  • data

    • Control: Full control by Operator.

    • Constraints: No checks.

    • Impact: The set perpMarketCfg configuration is not used in any way — without impact.

Branches and code coverage

Negative behavior

  • Caller is not OperatorManager.

Zellic © 2024Back to top ↑