Assessment reports>SSI Protocol>Threat Model>checkOrderInfo

Function: checkOrderInfo(OrderInfo orderInfo)

This function validates the given order.

Inputs

  • orderInfo

    • Control: Controlled by the caller of the contracts that use the swap.

    • Constraints: Must be valid.

    • Impact: Specifies the order to validate.

Branches and code coverage

Intended branches

  • Validate the order.

Negative behavior

  • Deadline of the order has not passed.

  • Order hash in the OrderInfo matches the actual hash.

  • Given order is signed by the maker.

  • Order is not duplicated.

  • Maker of the order has the maker role.

  • Output addresses are whitelisted.

  • Order is submitted to the correct chain.

  • Input and output tokens are whitelisted.

Zellic © 2025Back to top ↑