Skip to content

#79 — Add ADL E2E threshold test #108

@IbrahimIjai

Description

@IbrahimIjai
  • Priority: P1 | Size: M | Requires: fix: Replace panic! calls with proper error handling and remove dupli… #77
  • Description: Create pool imbalance and profitable positions until ADL is required, then trigger it.
  • Files: contracts/adl_handler/src/lib.rs, libs/market_utils/src/lib.rs, contracts/order_handler/src/lib.rs.
  • Done: ADL triggers only above configured max PnL factor. execute_adl below threshold reverts.

Source: issues_v2.md, issue #79.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions