Skip to content

Commit

Permalink
updates md files
Browse files Browse the repository at this point in the history
  • Loading branch information
gangov committed Jul 3, 2024
1 parent e0d6107 commit 29ac47a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to
- decimal: Rename to `soroban-decimal` and publish in crates.io ([#299])
- curve: try to optimize piecewise linear implementation ([#307])
- Update soroban-sdk-rs to version 20.5.0 ([#308])
- Pool and Pool Stable: adds verification if the current timestamp is after a desired timestamp ([#322])

## Added

Expand All @@ -26,6 +27,7 @@ and this project adheres to
[#306]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/pull/306
[#307]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/pull/307
[#308]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/pull/308
[#322]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/pull/322

## [1.0.0] - 2024-05-08

Expand Down
8 changes: 8 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ This file shows the API changes between different versions of Phoenix-Contracts.
* `initialize` function requires a new argument `stable_wasm_hash: BytesN<32>`

* `create_liquidity_pool` requires a new argument `pool_type` parameter (and optional `amp` for stable pool)

### pool

* `provide_liquidity`, `swap`, `withdraw_liquidity` functions now have a new argument called `deadline: Option<u64>`. We check against that if the transaction hasn't been executed after a certain timelimit.

### pool_stable

* `provide_liquidity`, `swap`, `withdraw_liquidity` functions now have a new argument called `deadline: Option<u64>`. We check against that if the transaction hasn't been executed after a certain timelimit.

0 comments on commit 29ac47a

Please sign in to comment.