Should a cache be added to mUSD?
See forum thread here.
Summary
Depositing and withdrawing from lending markets (Compound, Aave) constitutes 70-90% of the gas cost of a given transaction. This MIP proposes to implement a cache to reduce frequency of interactions with the lending pools, thus reducing gas costs in MINT, SWAP and REDEEM by 70-90% for the majority of users.
Proposal
mStable proposes upgrading the Masset.sol contract, allowing it to track and retain a percentage of all collateral in it’s “cache”. Only if necessary will the Masset then deposit or withdraw from the lending markets. When a deposit or withdrawal happens, the cache will reset to the ideal target weight, determined by a governance parameter. Subsequently, the BasketManager.sol will be upgraded to use the cache data during normal interest collection.
Subsequent votes
A subsequent vote closer to release will decide which percentage of total supply will be held in the cache at any one time.
Should this cache be added at this time?
| Voter | Cast Power | Vote & Rationale |
|---|---|---|
0x66F9...bf018E | 104,687 | Yes, add the cache as detailed in MIP-3 |
0x6e3A...782aFB | 102,203 | Yes, add the cache as detailed in MIP-3 |
0x19D6...8F16B4 | 45,883 | Yes, add the cache as detailed in MIP-3 |
0x2Ee8...3bB9cA | 32,587 | Yes, add the cache as detailed in MIP-3 |
0xfBF7...DffAE1 | 31,135 | Yes, add the cache as detailed in MIP-3 |
VOTE POWER
Proposal Status
- Mon November 02 2020, 06:00 pmVoting Period Starts
- Sun November 08 2020, 05:00 pmEnd Voting Period
Current Results
1-Yes, add the cache as detailed in MIP-3
419,277.218
