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.
redeemable_amount_under_management_weight // manual static arbitrary weight desired for the depository
redeemable_amount_under_management_target // absolute amount depending on the weight, cap and total supply
The goal of this new compute_depositories_targets IX the following:
uses all depositories redeemable_amount_under_management_weight
uses the current total supply and all depositories caps
then compute the new absolute redeemable_amount_under_management_target for all depositories
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)
PR Combo:
This PR introduces:
compute_depositories_targets
redeemable_amount_under_management_weight
// manual static arbitrary weight desired for the depositoryredeemable_amount_under_management_target
// absolute amount depending on the weight, cap and total supplyThe goal of this new
compute_depositories_targets
IX the following:redeemable_amount_under_management_weight
redeemable_amount_under_management_target
for all depositoriesThe 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)