mango-v4/programs/mango-v4/tests/cases
Serge Farny f54bb6f0b0
Serge/liquidator split tcs and liquidation (#914)
liquidator: split TCS triggering and liquidation job

Concurrent execution of candidate lookup and tx building/sending
- Also added an health assertion IX to protect liqor in multi liquidation scenario
- And a timeout for jupiter v6 queries (avoid blocking liquidation because of slow TCS)
2024-03-20 15:25:52 +01:00
..
mod.rs program: add a min health check (#913) 2024-03-12 08:27:40 +01:00
test_alt.rs
test_bankrupt_tokens.rs Liquidation: Use asset and liab liq fee (#825) 2023-12-28 10:46:43 +01:00
test_basic.rs withdraw: replace overflow with better error (#910) 2024-03-11 14:02:54 +01:00
test_benchmark.rs program-test improvements: performance, cu test output, warnings (#749) 2023-10-11 15:18:23 +02:00
test_borrow_limits.rs tests: cleanup (#896) 2024-02-27 15:56:03 +01:00
test_collateral_fees.rs tests: cleanup (#896) 2024-02-27 15:56:03 +01:00
test_delegate.rs Allow delegates to withdraw small token amounts (#820) 2023-12-20 11:15:47 +01:00
test_fees_buyback_with_mngo.rs tests: cleanup (#896) 2024-02-27 15:56:03 +01:00
test_force_close.rs Bank: more parameter sanity checks (#895) 2024-02-27 15:56:14 +01:00
test_health_check.rs Serge/liquidator split tcs and liquidation (#914) 2024-03-20 15:25:52 +01:00
test_health_compute.rs allow skipping banks and oracles in fixed-order health account list (#891) 2024-03-04 15:49:14 +01:00
test_health_region.rs program-test improvements: performance, cu test output, warnings (#749) 2023-10-11 15:18:23 +02:00
test_ix_gate_set.rs Compile and test fix (#645) 2023-07-14 16:27:52 +02:00
test_liq_perps_bankruptcy.rs tests: cleanup (#896) 2024-02-27 15:56:03 +01:00
test_liq_perps_base_and_bankruptcy.rs tests: cleanup (#896) 2024-02-27 15:56:03 +01:00
test_liq_perps_force_cancel.rs Enable self-trading protection (#533) 2023-05-15 10:40:41 +02:00
test_liq_perps_positive_pnl.rs tests: cleanup (#896) 2024-02-27 15:56:03 +01:00
test_liq_tokens.rs tests: cleanup (#896) 2024-02-27 15:56:03 +01:00
test_margin_trade.rs allow skipping banks and oracles in fixed-order health account list (#891) 2024-03-04 15:49:14 +01:00
test_perp.rs allow skipping banks and oracles in fixed-order health account list (#891) 2024-03-04 15:49:14 +01:00
test_perp_settle.rs tests: cleanup (#896) 2024-02-27 15:56:03 +01:00
test_perp_settle_fees.rs tests: cleanup (#896) 2024-02-27 15:56:03 +01:00
test_position_lifetime.rs Restrict account growth (#686) 2023-08-19 08:20:40 +02:00
test_reduce_only.rs Enable self-trading protection (#533) 2023-05-15 10:40:41 +02:00
test_replay.rs test: Allow replay of live transaction in program test (#911) 2024-03-11 15:08:58 +01:00
test_serum.rs allow skipping banks and oracles in fixed-order health account list (#891) 2024-03-04 15:49:14 +01:00
test_stale_oracles.rs Add raydium CLMM oracle fallbacks (#856) 2024-02-26 09:45:14 -08:00
test_token_conditional_swap.rs tests: cleanup (#896) 2024-02-27 15:56:03 +01:00
test_token_update_index_and_rate.rs tests: cleanup (#896) 2024-02-27 15:56:03 +01:00