Assessment reports>Alkimiya>Threat Model>fillOrders

Function: fillOrders(SilicaOrder[] orders, bytes[] signatures, uint256[] fractions)

This function is used to fill multiple orders.

Inputs

  • orders

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Array of orders.

  • signatures

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Array of signatures.

  • fractions

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Array of fractions.

Branches and code coverage

Intended branches

  • Invokes fillOrder for each order in orders.

Negative behavior

  • Reverts if the lengths of orders, signatures, and fractions are not equal.

Zellic © 2024Back to top ↑