# \[IIP-34\] - Update DAI Best Yield wrapper

**URL:** <https://gov.pareto.credit/t/iip-34-update-dai-best-yield-wrapper/1150>\
**Category:** ⛓ IIPs\
**Created:** [April 20, 2023, 1:53pm UTC](https://gov.pareto.credit/t/iip-34-update-dai-best-yield-wrapper/1150 "2023-04-20T13:53:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Biaf](https://yyz1.discourse-cdn.com/flex031/user_avatar/gov.pareto.credit/biaf/32/213_2.png) [@Biaf](https://gov.pareto.credit/u/Biaf)\
**Post date:** [April 20, 2023, 1:53pm UTC](https://gov.pareto.credit/t/iip-34-update-dai-best-yield-wrapper/1150/1 "2023-04-20T13:53:09Z")

</div>

### Authors

Treasury League and Development League

### Summary

This IIP focuses on one proposal with the goal to update the Clearpool cpPOR-DAI tranche wrapper for the DAI Senior BY.

## Rationale

With [IIP-33](https://gov.pareto.credit/t/iip-33-update-best-yield-dai-yield-sources/1145), the DAO decided to remove Euler YTs from the basket of underlying yield sources of DAI Best Yield and at the same time add the Clearpool (Portofino) Yield Tranches.

Based on the Development League assessment, we need to update the Clearpool wrapper contract included in IIP-33.

> This is caused by the fact that we use the Maker PSM to convert from DAI to USDC and the `availableLiquidity` method of the Clearpool wrapper, which is used during rebalances, is returning the amount in USDC (6 decimals) rather than in DAI (18 decimals), which in turns causes rebalances to see `availableLiquidity` close to 0, hence miscalculating the rebalances.

## Specifications

The code for the IIP-34 can be found on GitHub [here](https://github.com/Idle-Finance/idle-proposals/blob/main/scripts/iip-34.ts) and consists of 1 action.

IIP-34 actions:

- 1 action to replace the Clearpool (Portofino)'s contract wrapper. The fix can be found on GitHub [here](https://github.com/Idle-Finance/best-yield-PYT-strategy/blob/master/src/ClearpoolStrategyPSM.sol#L32).

Where the new contract wrapper is:

- Clearpool (Portofino) DAI AA YTs `0x6FA86028323Ba310FE4488F74085De99Ed0264d8`

### Next Step

Given the nature of this proposal, IIP-34 will be an _Executive_ one, i.e. it will be moved directly to the on-chain voting phase.

---

<div class="post-metadata">

**Author:** ![Biaf](https://yyz1.discourse-cdn.com/flex031/user_avatar/gov.pareto.credit/biaf/32/213_2.png) [@Biaf](https://gov.pareto.credit/u/Biaf)\
**Post date:** [April 20, 2023, 2:46pm UTC](https://gov.pareto.credit/t/iip-34-update-dai-best-yield-wrapper/1150/2 "2023-04-20T14:46:12Z")

</div>

### On-chain Voting Phase

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/idle/original/2X/a/a1431f56c6dfc4992bc584c7ad66b332eb8725a1.jpeg)

✍ Cast your on-chain $IDLE vote here: [HERE](https://www.tally.xyz/gov/idle/proposal/34)  
🗓 End date: 2023-04-23T00:00:00Z

✍ $IDLE stakers (stkIDLE holders) can vote here: [HERE](https://snapshot.org/#/staking.idlefinance.eth/proposal/0x0936ac1b203d3722eb082d06fb612eda363995c0857ee753da834eb23485e716)  
🗓 End date: 2023-04-22T18:00:00Z

The threshold to make the off-chain poll valid (both metrics should be reached):

- 20% of circulating stkIDLE voting the poll (min. ~146k stkIDLE)
- at least 70% on the same option.

The [stkIDLE voting calculator](https://docs.google.com/spreadsheets/d/1BnH9boRmBADuyquvDMh0AmQfF97Zj76sIENKtySLU8o/edit?usp=sharing) will be used to calculate the final results.

Make sure you have been [delegated](https://gov.pareto.credit/t/delegation-board/1049/5)to participate in this voting round.

---

<div class="post-metadata">

**Author:** ![Biaf](https://yyz1.discourse-cdn.com/flex031/user_avatar/gov.pareto.credit/biaf/32/213_2.png) [@Biaf](https://gov.pareto.credit/u/Biaf)\
**Post date:** [April 24, 2023, 8:34am UTC](https://gov.pareto.credit/t/iip-34-update-dai-best-yield-wrapper/1150/3 "2023-04-24T08:34:46Z")

</div>

### Voting results and IIP queuing

IIP-34 passed with 619,210 $IDLE votes in favour and has already been queued for execution ⏳

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/idle/original/2X/0/084775190535176ea8961d80347ac42ee531e845.jpeg)
