Assessment reports>Orderly Network>Threat Model>setCefiMarketUploadAddress

Function: setCefiMarketUploadAddress(address _cefiMarketUploadAddress)

This allows the owner of the contract to set the cefiMarketUploadAddress address.

Inputs

  • _cefiMarketUploadAddress

    • Control: onlyOwner of contract can call this function.

    • Constraints: The new address is not zero.

    • Impact: The address is used to verify CeFi signature for perpetual future price data and for sum unitary fundings data.

Branches and code coverage

Intended branches

  • New address was set successfully.

Negative behavior

  • Zero address.

  • The same address already set.

  • Caller is not an owner.

Zellic © 2024Back to top ↑