Assessment reports>SSI Protocol>Threat Model>makerRejectSwapRequest

Function: makerRejectSwapRequest(OrderInfo orderInfo)

This function rejects the swap from the maker's side.

Inputs

  • orderInfo

    • Control: Fully controlled by the caller.

    • Constraints: Must be a pending order.

    • Impact: Specifies the order to cancel.

Branches and code coverage

Intended branches

  • Change the status of the order to force-canceled.

Negative behavior

  • The caller is a maker.

  • Given order hash matches the actual hash.

  • The caller is the maker of the given order.

Zellic © 2025Back to top ↑