Context
contracts/amm-pool/ exists but may not be fully SEP-41 compliant or complete. A reference DEX contract would showcase Sanctifier's analysis of a complex real-world contract.
Work
Acceptance criteria
sanctifier analyze contracts/amm-pool shows 0 critical or high findings
- All SEP-41 functions present and tested
- AMM math verified correct by Z3 invariant (
k = x * y)
Context
contracts/amm-pool/exists but may not be fully SEP-41 compliant or complete. A reference DEX contract would showcase Sanctifier's analysis of a complex real-world contract.Work
contracts/amm-pool/with:swap,add_liquidity,remove_liquidity,get_pricefunctionsREADME.mdexplaining the AMM mathAcceptance criteria
sanctifier analyze contracts/amm-poolshows 0 critical or high findingsk = x * y)