Location: contracts/liquidity_pool
Language: Rust (Soroban)
Estimated Time: 8 hours
Difficulty: Hard
Description
Build a liquidity pool enabling token swaps with automated pricing using constant product formula (x*y=k).
Tasks
Acceptance Criteria
- Swaps execute correctly
- Pricing follows formula
- LP tokens minted/burned correctly
- Slippage limits enforced
- Fees collected and tracked
- All tests pass
Location:
contracts/liquidity_poolLanguage: Rust (Soroban)
Estimated Time: 8 hours
Difficulty: Hard
Description
Build a liquidity pool enabling token swaps with automated pricing using constant product formula (x*y=k).
Tasks
Acceptance Criteria