mango-v4/programs/mango-v4
Christian Kamm f3bdfec6a6
Perp settle pnl: Limit to maint spot health (#225)
Perp settle pnl: Limit to maint spot health

We want to isolate perp markets. As such, it's not acceptable to convert
arbitrary perp losses into spot token borrows.

The safe amount for this conversion is given by the account's
maint health -- with all perp markets ignored.
2022-09-14 13:26:29 +02:00
..
resources/test switchboard support (#67) 2022-06-18 16:38:46 +02:00
src Perp settle pnl: Limit to maint spot health (#225) 2022-09-14 13:26:29 +02:00
tests Perp settle pnl: Limit to maint spot health (#225) 2022-09-14 13:26:29 +02:00
Cargo.toml Tests: Fix program log capture 2022-08-24 10:07:45 +02:00
Xargo.toml First commit 2022-01-21 19:21:46 +01:00