This module implements the Amm
trait defined here.
To test, simply run:
cargo test -- --nocapture
This will print out a quote for selling 1000 USDC against the Phoenix devnet SOL/USDC market. Sample output:
Getting quote for selling 1000 SOL
Quote result: 13652.531384
Getting quote for buying SOL with 13652.531384 USDC
Quote result: 990.215999999