Releases: astroport-fi/astroport-core
v3.2.2
Release contracts
- astroport-generator: 2.3.2
Fixes
- Pool last reward block is reset when a pool becomes incentivised with Astro
Full Changelog: v3.2.1...v3.2.2
v3.2.1
Release contracts
- astroport-factory:1.6.0
- astroport-pair:1.4.0
- astroport-pair-concentrated:2.0.4
- astroport-pair-concentrated-injective:2.0.4
- astroport-pair-stable:3.1.1
- astroport-router:1.1.2
- astroport-xastro-token:1.1.0
Fixes
- enforcing correct swap tokens path in router contract
- removed
mark_pair_as_migrated
from factory and all logic related to it in pairs - add descriptive error message in all pairs that imbalanced withdraw isn't supported yet
- factory validates a native token denom which follows Cosmos SDK rules.
- only xASTRO minter is allowed to burn tokens
- stable and PCL pairs don't store price observations if either one of trade sizes is <0.001 token. I.e. if one swaps 500utoken (0.0005 TOKEN if precision is 6) or if swap X tokens ends up in less 0.001 Y tokens observation won't be captured
Full Changelog: v3.1.3...v3.2.1
v3.1.3
Release contracts
- astroport-pair-concentrated:2.0.3
- astroport-pair-concentrated-injective:2.0.3
Fixes
- fix in PCL pair: provided liquidity is no longer marked as profit
What's Changed
Full Changelog: v3.1.2...v3.1.3
v2.8.4
Release contracts
- astroport-pair-concentrated:1.2.4
Fixes
- fix in PCL pair: provided liquidity is no longer marked as profit
What's Changed
- fix(PCL): tracking real profit; provided liquidity is not a profit. Release v2.8.4 by @epanchee in #367
Full Changelog: v2.8.3...v2.8.4
v3.1.2
Release contracts
- astroport-pair-concentrated:2.0.2
- astroport-pair-concentrated-injective:2.0.2
Features
- New crate astroport-mocks added. It allows to instantiate necessary contracts easily and use them in integration tests based on cw-multitest.
Fixes
- In some cases PCL pair could stuck due to rounding problems in withdraw. This was fixed.
- PCL for Injective: converting raw integer value representing min_quantity_tick_size in Injective exchange module into Decimal with base asset precision applied.
What's Changed
Full Changelog: v3.1.1...v3.1.2
v2.8.3
Release contracts
- astroport-pair-concentrated:1.2.3
Fixes
- PCL: fixed rounding errors in withdraw endpoint
What's Changed
Full Changelog: v2.8.2...v2.8.3
v3.1.1
Be careful when relying on this release and always consult with astroport-changelog to know exact code deployed on a specific chain.
This release contains fixed PCL pair 2.0.1 and PCL Injective pair v2.0.0.
Issues mitigated in PCL contract:
- In rare cases on imbalanced provide outdated XCP could be saved.
- In max spread check in swap endpoint belief price was considered with precisions. This was fixed.
What's Changed
Full Changelog: v3.1.0...v3.1.1
v2.8.2
Be careful when relying on this release and always consult with astroport-changelog to know exact code deployed on a specific chain.
This release contains fixed PCL pair v1.2.2.
Issues mitigated in PCL contract:
- In rare cases on imbalanced provide outdated XCP could be saved.
- In max spread check in swap endpoint belief price was considered with precisions. This was fixed.
What's Changed
Full Changelog: v2.8.1...v2.8.2
v3.1.0
Be careful when relying on this release and always consult with astroport-changelog to know exact code deployed on a specific chain.
Summary
Breaking changes for external projects which are integrated with Astroport
- PCL, PCL for Injective and Stable pools don't accumulate cumulative prices anymore. Query cumulative_prices is deprecated. Use observe instead. Starting from now Astroport pairs themselves serve as price oracles.
New features
- new fee_granter contract intended to pay for begin blocker gas fees on Injective
Fixes
- Issues found by Oak audit are remediated in PCL contract with Injective orderbook integration
What's Changed
- fix: Use saturating_sub in compute_swap by @apollo-sturdy in #351
- Feat: merge hidden main by @ShadoySV in #356
- fix(PCL): safe withdraw; increase numerical methods accuracy by @epanchee in #358
- Merge new Astroport features by @epanchee in #360
New Contributors
- @apollo-sturdy made their first contribution in #351
Full Changelog: v2.8.1...v3.1.0
v2.8.1
Release fixed Passive Concentrated Pair v1.2.1.
Fixes include:
- Removed cumulative prices calculation on withdraw thus making withdraw endpoint more reliable and safe.
- Improved numerical methods accuracy by decreasing tolerance (from 1e-3 to 1e-5)
What's Changed
Full Changelog: v2.8.0...v2.8.1