File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212- program: add new settle pnl invariants ([ #1812 ] ( https://github.com/drift-labs/protocol-v2/pull/1812 ) )
1313- program: add update_perp_market_pnl_pool ([ #1810 ] ( https://github.com/drift-labs/protocol-v2/pull/1810 ) )
14+ - program: increase min margin ratio invariant constant ([ #1802 ] ( https://github.com/drift-labs/protocol-v2/pull/1802 ) )
1415- program: update mark twap crank use 5min basis for bid/ask ([ #1769 ] ( https://github.com/drift-labs/protocol-v2/pull/1769 ) )
1516
1617### Fixes
1718
1819- program: correct fee tier 5 volume requirement ([ #1800 ] ( https://github.com/drift-labs/protocol-v2/pull/1800 ) )
19-
2020- program: fix small number mark-twap-integer-bias ([ #1783 ] ( https://github.com/drift-labs/protocol-v2/pull/1783 ) )
2121
2222### Breaking
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ pub const MAX_LIQUIDATION_SLIPPAGE_U128: u128 = 10_000; // expo = -2
186186pub const MAX_MARK_TWAP_DIVERGENCE : u128 = 500_000 ; // expo = -3
187187
188188pub const MAX_MARGIN_RATIO : u32 = MARGIN_PRECISION ; // 1x leverage
189- pub const MIN_MARGIN_RATIO : u32 = MARGIN_PRECISION / 50 ; // 50x leverage
189+ pub const MIN_MARGIN_RATIO : u32 = 125 ; // 80x leverage
190190pub const HIGH_LEVERAGE_MIN_MARGIN_RATIO : u32 = MARGIN_PRECISION / 200 ; // 200x leverage
191191
192192pub const MAX_BID_ASK_INVENTORY_SKEW_FACTOR : u64 = 10 * BID_ASK_SPREAD_PRECISION ;
You can’t perform that action at this time.
0 commit comments