@blockworks-foundation/mango-v4
Advanced tools
Changelog
v0.21.1, 2024-1-3
Deployment: Jan 3, 2024 at 14:35:10 Central European Standard Time, https://explorer.solana.com/tx/345NMQAvvtXeuGENz8icErXjGNmgkdU84JpvAMJFWXEGYZ2BNxFFcyZsHp5ELwLNUzY4s2hLa6wxHWPBFsTBLspA
Changelog
v0.21.0, 2023-12-13
Deployment: Dec 13, 2023 at 09:02:46 Central European Standard Time, https://explorer.solana.com/tx/47BBFEugtHYciK5jHVzVtXawc7oyXKzX8o5V4ERXX3Cb7AZqmr8w6uDrFPRpyJRDccRWtuno8g2micqaFoSLC1EL
Introduce deposit limits (#806)
The DAO can now configure hard deposit limits per token. They can be used in conjunction with the previous soft limits to restrict how much of a token can be on the platform providing collateral weight.
Improve OpenBook order tracking and price bands (#805)
In order for hard deposit limits to work, OpenBook orders need to be tracked and potentially restricted. The DAO can now configure a band around the oracle price and new bids and asks that don't fall within this band will be rejected.
SerumPlaceOrderV2 breaking change (#805)
A new instruction for placing orders on OpenBook markets is introduced. The old instruction should be disabled shortly after release.
Changing token maint weights over time (#780)
The DAO can now trigger a gradual change in token maint weights. This allows it to make maint weights less favorable without potentially causing many liquidations at the same time.
Changed perp settlement incentives (#771)
The incentives were too high when the user account was close to liquidation. The DAO had previously reduced the percentage amount as a mitigation.
With this change:
More configurable token interest rate curve (#755)
The scaling factor and target utilization are now stored separately, giving the DAO more flexibility for configuration.
Delegates can now deposit even when a new token position needs to be created (#775)
TokenRegister: Add argument for insurance (#782)
Close zero token positions when user asks to withdraw everything (#793)
Fix default parameters for fast listing tokens (#804)
Disable TokenAddBank instruction, which was unused (#803)
Significantly reduce program heap use (#787, #785)
Reduce compute use of OpenBook health computations (#750)