Assessment reports>Orderly Network>Threat Model>setCefiSpotTradeUploadAddress

Function: setCefiSpotTradeUploadAddress(address _cefiSpotTradeUploadAddress)

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

Inputs

  • _cefiSpotTradeUploadAddress

    • Control: onlyOwner of contract can call this function.

    • Constraints: The new address is not zero.

    • Impact: Address is not used anywere.

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 ↑