mango-v4/programs/mango-v4/tests
Christian Kamm 6439791233 Token deposit: limit while being_liquidated
While the flag is true, deposits that don't bring the account health
over the init threshold are forbidden. This makes it impossible for
users to drag out liquidation by continuously depositing tiny amounts.
2022-12-20 14:12:46 +01:00
..
fixtures Upgrade to Solana 1.10.35 (#291) 2022-11-16 10:50:40 +00:00
program_test Fix rust test compilation 2022-12-16 13:07:19 +01:00
test_alt.rs PerpLiqBankruptcy instruction 2022-09-21 09:46:54 +02:00
test_bankrupt_tokens.rs Health: Add soft deposit and borrow limits 2022-12-02 08:20:22 +01:00
test_basic.rs program: fix bug where expansion would not move positions whose size remained same (#262) 2022-10-03 13:06:04 +02:00
test_benchmark.rs Remove anchor dummy type workaround (#53) 2022-05-18 17:16:14 +02:00
test_borrow_limits.rs Rename bank fields, make weight scale limits editable (#319) 2022-12-06 09:34:02 +01:00
test_delegate.rs PerpLiqBankruptcy instruction 2022-09-21 09:46:54 +02:00
test_health_compute.rs Net borrow limits: Limit in quote, not native (#312) 2022-12-02 12:24:11 +01:00
test_health_region.rs Test fixes 2022-11-28 11:31:51 +01:00
test_liq_perps.rs Token deposit: limit while being_liquidated 2022-12-20 14:12:46 +01:00
test_liq_tokens.rs Health: Add soft deposit and borrow limits 2022-12-02 08:20:22 +01:00
test_margin_trade.rs mc/flash loan for delegate (#271) 2022-11-09 09:35:13 +01:00
test_perp.rs Split into perp bids and perp asks (#322) 2022-12-07 21:03:28 +01:00
test_perp_settle.rs pnl limit: Clean up by adding functions, using it in get-settleable (#329) 2022-12-10 17:56:56 +01:00
test_perp_settle_fees.rs Net borrow limits: Limit in quote, not native (#312) 2022-12-02 12:24:11 +01:00
test_position_lifetime.rs Token deposit: Split into signed and permissionless ix 2022-10-02 16:06:39 +02:00
test_serum.rs Upgrade to Solana 1.10.35 (#291) 2022-11-16 10:50:40 +00:00
test_token_update_index_and_rate.rs PerpLiqBankruptcy instruction 2022-09-21 09:46:54 +02:00