mango-v4/programs
Christian Kamm 7a8f31c611 Perp: settlement applies no loan origination fee
It's likely for perp pnl to oscillate and be settled in positive and
negative direction repeatedly. If the user's USDC balance is <= 0, every
settlement of negative pnl will increase borrows and cause loan
origination fees.

Over time the fees accumulated this way could be significant. Skipping
loan origination fees for borrows created from perp settlement avoids
that.
2022-12-30 12:54:03 +01:00
..
mango-v4 Perp: settlement applies no loan origination fee 2022-12-30 12:54:03 +01:00
margin-trade Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00