We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5355cdc commit db76d63Copy full SHA for db76d63
programs/drift/src/math/constants.rs
@@ -168,7 +168,7 @@ pub const MAX_K_BPS_INCREASE: i128 = TEN_BPS;
168
pub const MAX_K_BPS_DECREASE: i128 = TWO_PT_TWO_PCT;
169
pub const MAX_UPDATE_K_PRICE_CHANGE: u128 = HUNDRENTH_OF_CENT;
170
pub const MAX_SQRT_K: u128 = 1000000000000000000000; // 1e21 (count 'em!)
171
-pub const MAX_BASE_ASSET_AMOUNT_WITH_AMM: u128 = 100000000000000000; // 1e17 (count 'em!)
+pub const MAX_BASE_ASSET_AMOUNT_WITH_AMM: u128 = 400000000000000000; // 4e17 (count 'em!)
172
173
pub const MAX_PEG_BPS_INCREASE: u128 = TEN_BPS as u128; // 10 bps increase
174
pub const MAX_PEG_BPS_DECREASE: u128 = TEN_BPS as u128; // 10 bps decrease
0 commit comments