# \[IIP-16\] PriceOracle Upgrade

**URL:** <https://gov.pareto.credit/t/iip-16-priceoracle-upgrade/727>\
**Category:** ⛓ IIPs\
**Created:** [November 11, 2021, 1:46pm UTC](https://gov.pareto.credit/t/iip-16-priceoracle-upgrade/727 "2021-11-11T13:46:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davide](https://yyz1.discourse-cdn.com/flex031/user_avatar/gov.pareto.credit/davide/32/3_2.png) [@Davide](https://gov.pareto.credit/u/Davide)\
**Post date:** [November 11, 2021, 1:46pm UTC](https://gov.pareto.credit/t/iip-16-priceoracle-upgrade/727/1 "2021-11-11T13:46:14Z")

</div>

### Authors

Treasury League and Dev League

### Summary

This proposal upgrades the PriceOracle to properly account for COMP distribution after Compound Proposal 62.

### Rationale

With [Proposal 62](https://compound.finance/governance/proposals/62) approval, Compound changed the Comptroller logic into two different COMP distribution rates: borrow-side (compBorrowSpeeds) rate and supply-side (compSupplySpeeds) rate.

The technical change is described as follows:

> Comptroller#compSpeeds storage variable is no longer being used and has been effectively deleted. It’s replaced by Comptroller#compBorrowSpeeds and Comptroller#compSupplySpeeds. This proposal copies the current rates into the new storage variables.

Idle protocol’s oracle uses compSpeeds and it needs to be updated with compSupplySpeeds.

Executing the change, IdleController will properly account for COMP rewards when calculating how much IDLE distribute to each IdleToken.

### Specifications

The new implementation is available [here](https://etherscan.io/address/0x886b102953ab3eaf719df7b80b03cd5203c201f1).

Actions:

- Oracle update: 1 action

### Temperature Check

➡ Poll for $IDLE holders: [HERE](https://snapshot.org/#/idlefinance.eth/proposal/0x8ec3e02d5580f50fa6a8211409efb788667792a2870b27405c27d7bf41be0557)  
➡ Poll for $IDLE Stakers (stkIDLE holders): [HERE](https://snapshot.org/#/staking.idlefinance.eth/proposal/0xfc2ff92601498921baa682967750320f64f4b52df3a309d56974e57474a05353)

⏰ Polls will close on 2021-11-14T14:00:00Z.

The final $IDLE voting weights will be calculated using the [approved calculator](https://docs.google.com/spreadsheets/d/1BnH9boRmBADuyquvDMh0AmQfF97Zj76sIENKtySLU8o/edit?usp=sharing).

Cast your vote ✍

The thread is open for comments and feedback for the duration of the Temperature Check. If Governance will approve the snapshot, we will proceed with the on-chain proposal and the voting phase.

---

<div class="post-metadata">

**Author:** ![Davide](https://yyz1.discourse-cdn.com/flex031/user_avatar/gov.pareto.credit/davide/32/3_2.png) [@Davide](https://gov.pareto.credit/u/Davide)\
**Post date:** [November 15, 2021, 9:15am UTC](https://gov.pareto.credit/t/iip-16-priceoracle-upgrade/727/2 "2021-11-15T09:15:54Z")

</div>

Governance **approved** the proposal ✅

Temperature Check is now closed, here below the results ⬇

![image](https://canada1.discourse-cdn.com/flex031/uploads/idle/original/1X/971853c3e5f0ecdf1656c5bc19ff6796e0f350fc.png)

**Next step** : launch on-chain IIP-16 ⛓

---

<div class="post-metadata">

**Author:** ![Davide](https://yyz1.discourse-cdn.com/flex031/user_avatar/gov.pareto.credit/davide/32/3_2.png) [@Davide](https://gov.pareto.credit/u/Davide)\
**Post date:** [November 15, 2021, 5:57pm UTC](https://gov.pareto.credit/t/iip-16-priceoracle-upgrade/727/3 "2021-11-15T17:57:04Z")

</div>

### On-chain Voting Phase

✍ Cast your on-chain $IDLE vote here: [IIP-16](https://idle.finance/#/governance/proposals/16)  
🗓 End date: Nov 18th

✍ $IDLE stakers (stkIDLE holders) can vote here: [stkIDLE snapshot poll](https://snapshot.org/#/staking.idlefinance.eth/proposal/0x4c3a05e5b002fee37bc4786e185a61e6df16da1afec7a2c22e6b6c9bba9f9227)  
🗓 End date: Nov 17th

Threshold to make the off-chain poll valid (both metrics should be reached): 30% of circulating stkIDLE voting the poll (min. 83’631 stkIDLE) and 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.

---

<div class="post-metadata">

**Author:** ![Davide](https://yyz1.discourse-cdn.com/flex031/user_avatar/gov.pareto.credit/davide/32/3_2.png) [@Davide](https://gov.pareto.credit/u/Davide)\
**Post date:** [November 18, 2021, 10:07am UTC](https://gov.pareto.credit/t/iip-16-priceoracle-upgrade/727/4 "2021-11-18T10:07:08Z")

</div>

**Voting update**

stkIDLE voters cast “yes” vote and reached the threshold, with the multisig reporting the result on-chain.  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/idle/original/1X/84d69f89ae888429e282e2e926cd06223decadf2.png)

Thanks to those votes, IIP-16 **succeeded** ✅

The proposal will stay on standby for 2 days, and then Governance will be able to execute it.
