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 6 forks source link

[Rebalancing] [Part4] Compute depositories target weights IX #241

Closed crypto-vincent closed 1 year ago

crypto-vincent commented 1 year ago

PR Combo:

This PR introduces:

The goal of this new compute_depositories_targets IX the following:

The idea is that the amount in redeemable_amount_under_management_target of each depositories will then be used as an informatory value used during computing rebalancing amounts later (this amount can fluctuate over time, rebalancing can be lagging a bit in time without any problem)

crypto-vincent commented 1 year ago

This PR is now deprecated, another PR is going to be used in its place: https://github.com/UXDProtocol/uxd-program/pull/249