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. |
||
---|---|---|
.. | ||
resources/test | ||
src | ||
tests | ||
Cargo.toml | ||
Xargo.toml |