Socket
Socket
Sign inDemoInstall

@blockworks-foundation/mango-v4

Package Overview
Dependencies
Maintainers
8
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blockworks-foundation/mango-v4 - npm Package Versions

1
24

0.21.1

Diff

Changelog

Source

v0.21.1, 2024-1-3

Deployment: Jan 3, 2024 at 14:35:10 Central European Standard Time, https://explorer.solana.com/tx/345NMQAvvtXeuGENz8icErXjGNmgkdU84JpvAMJFWXEGYZ2BNxFFcyZsHp5ELwLNUzY4s2hLa6wxHWPBFsTBLspA

  • Prevent withdraw operations from bringing token utilization over 100%.
  • Prevent extreme interest rates for tokens with borrows but near zero deposits.
microwavedcola
published 0.21.0 •

Changelog

Source

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:

    • low-health settlement incentives are capped at 2x the flat fee, removing unlimited percentual incentive fees entirely
    • incentives are only paid if at least 1% of position value is settled, avoiding the incentive to settle accounts with large positions very frequently
  • 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)

microwavedcola
published 0.20.10 •

loukamades
published 0.20.9 •

loukamades
published 0.20.8 •

loukamades
published 0.20.7 •

microwavedcola
published 0.20.6 •

microwavedcola
published 0.20.5 •

tjshipe
published 0.20.4 •

microwavedcola
published 0.20.3 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc