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.
As a follow-up, there was a few small details I wanted to look into before we start an audit or a deployment on main net:
generalizing the too specialized calculate_credix_lp_target_redeemable_amount function into a more generic calculate_router_target_redeemable_amount function (naming to be discussed) that can then be reused accross the mint/redeem IXs
As a follow-up, there was a few small details I wanted to look into before we start an audit or a deployment on main net:
generalizing the too specialized
calculate_credix_lp_target_redeemable_amount
function into a more genericcalculate_router_target_redeemable_amount
function (naming to be discussed) that can then be reused accross themint
/redeem
IXs