Authors
Treasury League and Development League
Summary
This proposal focus on one key initiative:
- Update the idleUSDC and idleDAI Best Yield wrapper contracts released in the latest [IIP-26] and [IIP-27]
Rationale
We need to update the wrappers of the Best Yield idleUSDC and idleDAI to deposit in our Senior Clearpool PYTs as @william discovered a small issue during the calculation of the available liquidity on Clearpool pools.
This wrong calculation can trigger the rebalance method to redeem more than whatβs available to withdraw in Clearpool and can cause the failure of the rebalance tx.
Specifications
The code for the IIP-28 can be found on GitHub here.
Old wrappers addresses:
-
IIP-26 idleUSDC wrapper:
0xdb1b149177b5819cf467ad6519cf55416789300a
-
IIP-27 idleDAI wrapper:
0x67e78ED1cC4732816816A62F2e99CDC5CfaAc06E
IIP-28 actions:
- BY idleUSDC updated wrapper for aa_cpWIN-USDC tranche
const clearPoolWrapperUSDC = '0xFF12A5eaE3E60096c774AD7211AE5C0c5b5Cc0F5'
- BY idleDAI updated wrapper for aa_cpFOL-DAI tranche
const clearPoolWrapper = '0xDd585E6e3AcB30594E7b70DCee34400E172cee31'
Next Step
Given that this IIP will only fix some already deployed contracts, we wonβt open a temperature check but directly open the on-chain voting phase in 24 hours.