v0.9.0
What's Changed
- Update soroban v20.0.3 -> v20.1.0 by @ueco-jb in #193
- Factory: changes the storage type for a couple of helper methods by @gangov in #189
- Pool, Pool-Stable: changes publish topic to be concise by @gangov in #195
- Pool: adds the ability to update max_referral_bps by @gangov in #196
- Pool, Pool-Stable: updates the deploy_stake_contract fn by @gangov in #198
- Decimal: flips the assertion by @gangov in #197
- Pool, Pool-Stable, Curve, Decimal, Phoenix: addresses small issues with documentation and naming by @gangov in #200
- Pool: fixes the invalid access control in the pool contract by @gangov in #188
- Factory: updates the factory contract so that it allows only for whitelisted address to be able to create new liquidity pools by @gangov in #190
- Pool stable: Include AMP parameter in the provide liquidity ; disable tests to adjust them in a follow up by @ueco-jb in #177
- Factory, Multihop, Phoenix: removes lp_wasm_hash from the LiquidityPoolInitInfo struct and adds as a parameter by @gangov in #194
- Phoenix: adds a new macro, that validates that the arguments which it takes are 0..10_000 by @gangov in #199
- Factory: adds a new endpoint to update the accounts, that can utilize factory by @gangov in #202
- Pool stable: adds a fix for the compute_swap method. by @gangov in #233
- Pool: adds a missed part of return_amount argument by @gangov in #238
- Pool and Pool stable: fixes incorrect assignmet of total_fee_bps by @gangov in #235
- Pool: Implement
panic_with_error
macro by @ueco-jb in #206 - Multihop: adds a new parameter to the Swap struct, which is representing every swap's belief price by @gangov in #234
- Multihop: removes unnecessary unwrap of a value by @gangov in #240
- Factory, Stake, Pool, Pool_stable, Decimal, Phoenix: removes unused code by @gangov in #242
- Pool: adds a validation and panic for when shares are equal to zero. by @gangov in #245
- Pool: adds checks for input params inside get_deposit_amounts by @gangov in #246
- Increase coverage by @gangov in #248
- Multihop: addresses an issue where the commission amount is being aggregated, instead of being stored in a vec once for each swap by @gangov in #236
- Stake: adds access control to create_distribution_flow by @gangov in #249
- Pool and Pool stable: adds missing validation of max_spread in do_swap by @gangov in #239
- Factory, Multihop, Pool, Pool_stable, Phoenix: removes the user input for token decimals and adds it as a constant instead by @gangov in #241
- Decimal: adds missing test coverage by @gangov in #244
- Factory, Multihop, Pool, Pool_stable: adds a new parameter for creating liquidity pool - name and symbol by @gangov in #243
- Pool and Pool stable: adds check if the swapped token is actualy one of the two tokens in the liquidity pool. by @gangov in #237
- Pool stable: Fix imports by @ueco-jb in #256
- pool_stable: changes belief price to be bps by @gangov in #258
- Decimal: Fix test with string assertion by @ueco-jb in #261
- Update soroban-sdk to v20.4.0 by @ueco-jb in #262
- Pool stable: update tests by @gangov in #251
- Stake: pay rewards during unbond by @gangov in #170
- 175 factory add query displaying data for given user by @gangov in #176
- pool_stable: adds more contracterrrors by @gangov in #268
- release v0.9.0 by @gangov in #264
Full Changelog: v0.8.0...v0.9.0