• © Goverland Inc. 2026
  • v1.0.5
  • Privacy Policy
  • Terms of Use
mStablemStableby0xD43a25B442E2C343dAd472A871c5262cCA275Eb4dereksilva.eth

Should a cache be added to mUSD?

Voting ended over 5 years agoSucceeded

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?

Off-Chain Vote

Yes, add the cache as detailed in MIP-3
419.28K 100%
No, do not add the cache as detailed in MIP-3
0 0%
Download mobile app to vote

Timeline

Nov 02, 2020Proposal created
Nov 02, 2020Proposal vote started
Nov 08, 2020Proposal vote ended
Apr 28, 2024Proposal updated