Authors
Idle Dev Leagues
Summary
This IIP would execute a series of minor bug fixes reported in the past months, increasing the robustness of IdleTokens and improving the oracle infrastructure. The post proposes to decrease the Flash Loan fee to 0.02%, introducing more competitive advantages for the upcoming Polygon release.
The proposal will have to pass the Temperature Check before starting the on-chain journey.
Rationale
An Immunefy bug hunter discovered that Idle protocol was using a deprecated method on 2 oracles (used by idleController and idleTokens) that might have led to stale data behavior.
Leagues agreed to pay a $500 bounty to that researcher.
Dev League fixed the bug and released PriceOracleV3, a forked version of the previous code. Devs improved the oracle, making it upgradable and generating a single shared version used by idleController and idleTokens. In this way, one upgrade action would be able to execute any further change.
The owner of this oracle is the Governance Timelock.
Oracle Address: 0x758C10272A15f0E9D50Cbc035ff9a046945da0F2
There are also a couple of small fixes in the IdleTokenGovernance rebalance method for:
-
A possible revert during the activation/deactivation of new underlying protocols: Github commit
-
A possible revert when redeeming all funds altogether from Compound-like protocols: Github commit
The idleController oracle update would embed the Flash Loan fee change.
The current fee is 0.08%, and this IIP proposes to reduce it to 0.02%. This change would allow Idle protocol to become the cheapest FL provider on Polygon (vs Unilend 0.05%) and compete with MakerDAO on Ethereum.
Specifications
The technical implementation is available here and was developed by Dev League.
Actions:
-
Implementation and oracle address update on Best-Yield idleTokens (8 actions)
-
idleController oracle address update and Flash Loan fee change (1 action)
Next Steps
We are going to leave this thread open for comments regarding this IIP, and in about 48hrs, if there are no objections, we will proceed with the Temperature Check.