UXDProtocol / uxd-program

Implementation of a program that manages on chain accounts to mint and redeem Redeemables tokens (UXD), hedged by a delta neutral position on underlying DEXes.
https://uxd.fi/
Other
21 stars 5 forks source link

[HOTFIX] Credix rebalance - rebalance request when requested amount is bigger than owned amount #329

Closed crypto-vincent closed 7 months ago

crypto-vincent commented 8 months ago

When the requested amount (which is the overflow amount) is bigger than the owned amount (current credix balance) credix reject the request.

THE TLDR: The overflow of the credix depository is bigger than the owned value of the credix LP

Transaction example: https://explorer.solana.com/tx/3JTP9wYSQZD6oEqzedaVpo6Gtay5G4cXMvX82by8grrBAwBSqt2WUxpADBH3iCH3bCdcbh59REtbqMe4f8caqfLz

crypto-vincent commented 7 months ago

This change was deployed on main-net by this proposal: https://app.realms.today/dao/UXP/proposal/8w91q982HBKRRJfDiVTfnhWUbVXgJoJ32LfvUnrUaUdP