Skip to content

Releases: astroport-fi/astroport-core

v3.2.2

24 Jul 13:18
8c69810
Compare
Choose a tag to compare

Release contracts

  1. 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

21 Jul 13:53
8bf5e95
Compare
Choose a tag to compare

Release contracts

  1. astroport-factory:1.6.0
  2. astroport-pair:1.4.0
  3. astroport-pair-concentrated:2.0.4
  4. astroport-pair-concentrated-injective:2.0.4
  5. astroport-pair-stable:3.1.1
  6. astroport-router:1.1.2
  7. 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

14 Jul 14:07
aec3339
Compare
Choose a tag to compare

Release contracts

  1. astroport-pair-concentrated:2.0.3
  2. astroport-pair-concentrated-injective:2.0.3

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 by @epanchee in #366

Full Changelog: v3.1.2...v3.1.3

v2.8.4

14 Jul 14:02
6edf4e8
Compare
Choose a tag to compare

Release contracts

  1. 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

06 Jul 15:25
d227ed3
Compare
Choose a tag to compare

Release contracts

  1. astroport-pair-concentrated:2.0.2
  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

06 Jul 16:12
b1bc2a4
Compare
Choose a tag to compare

Release contracts

  1. astroport-pair-concentrated:1.2.3

Fixes

  • PCL: fixed rounding errors in withdraw endpoint

What's Changed

  • fix(PCL): fixed rounding errors in withdraw endpoint by @epanchee in #364

Full Changelog: v2.8.2...v2.8.3

v3.1.1

29 Jun 12:09
83d871e
Compare
Choose a tag to compare

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:

  1. In rare cases on imbalanced provide outdated XCP could be saved.
  2. In max spread check in swap endpoint belief price was considered with precisions. This was fixed.

What's Changed

  • fix(PCL): provide endpoint; max spread check by @epanchee in #361

Full Changelog: v3.1.0...v3.1.1

v2.8.2

29 Jun 12:11
e8e8933
Compare
Choose a tag to compare

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:

  1. In rare cases on imbalanced provide outdated XCP could be saved.
  2. In max spread check in swap endpoint belief price was considered with precisions. This was fixed.

What's Changed

  • fix(PCL): provide endpoint; max spread check (release v2.8.2) by @epanchee in #362

Full Changelog: v2.8.1...v2.8.2

v3.1.0

23 Jun 09:55
6d79b60
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v2.8.1...v3.1.0

v2.8.1

21 Jun 15:19
d4b0442
Compare
Choose a tag to compare

Release fixed Passive Concentrated Pair v1.2.1.

Fixes include:

  1. Removed cumulative prices calculation on withdraw thus making withdraw endpoint more reliable and safe.
  2. Improved numerical methods accuracy by decreasing tolerance (from 1e-3 to 1e-5)

What's Changed

  • fix(PCL): safe withdraw; increase numerical methods accuracy (release v2.8.1) by @epanchee in #359

Full Changelog: v2.8.0...v2.8.1