1.0.0
BREAKING CHANGES
-
feat: upgrade pcl swap to include oracle price on spread calc
This means the interface to call
concentrated_swap
changes to:fn compute_swap( xs: &[Decimal256], offer_amount: Decimal256, ask_ind: usize, maker_fee_share: Decimal256, oracle_price: Decimal256, price_scale: Decimal256, fee_gamma: Decimal256, mid_fee: Decimal256, out_fee: Decimal256, block_time: u64, initial_time: u64, inital_amp: Decimal, initial_gamma: Decimal, future_time: u64, future_amp: Decimal, future_gamma: Decimal, )
**Full Changelog**: https://github.com/astroport-fi/astroport-math/compare/0.5.1...1.0.0