Assessment reports>Orderly Network>Threat Model>setPerpMarketCfg

Function: setPerpMarketCfg(byte[32] _symbolHash, MarketTypes.PerpMarketCfg _perpMarketCfg)

This allows the owner of the contract to update the full perpMarketCfg configuration.

Inputs

  • data

    • Control: Full control by Owner.

    • 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 Owner.

Zellic © 2024Back to top ↑