Skip to content

Commit

Permalink
Pool stable: Bring back an AMP parameter mistakenly removed during a …
Browse files Browse the repository at this point in the history
…rebase
  • Loading branch information
ueco-jb committed Jan 25, 2024
1 parent 1dee574 commit 4060833
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contracts/pool_stable/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::{
token_contract,
};
use decimal::Decimal;
use phoenix::{utils::is_approx_ratio, validate_int_parameters};
use phoenix::validate_int_parameters;

// Minimum amount of initial LP shares to mint
const MINIMUM_LIQUIDITY_AMOUNT: i128 = 1000;
Expand All @@ -36,6 +36,7 @@ pub trait StableLiquidityPoolTrait {
env: Env,
stake_wasm_hash: BytesN<32>,
token_wasm_hash: BytesN<32>,
amp: u64,
lp_init_info: LiquidityPoolInitInfo,
);

Expand Down Expand Up @@ -123,6 +124,7 @@ impl StableLiquidityPoolTrait for StableLiquidityPool {
env: Env,
stake_wasm_hash: BytesN<32>,
token_wasm_hash: BytesN<32>,
amp: u64,
lp_init_info: LiquidityPoolInitInfo,
) {
if is_initialized(&env) {
Expand Down

0 comments on commit 4060833

Please sign in to comment.