Skip to content

SupplyVault upgrade v1.4.0

Latest
Compare
Choose a tag to compare
@MerlinEgalite MerlinEgalite released this 13 Mar 20:43
· 16 commits to main since this release
074decd

Major changes

  • Make vaults more gas efficient. Some variables will be set to immutable to avoid reading the storage at each interaction with a vault.
  • Make the redistribution of rewards more secure and maintainable. After this upgrade, the DAO would no longer need to specify the amount and the recipient to transfer $MORPHO rewards from a vault to the vault rewards distributor 2. The recipient of the rewards will be set, at construction time, to the vault rewards distributor. All $MORPHO tokens held in a vault can be then transferred to the rewards distributor through a public function transferRewards to the recipient. The DAO’s multisig can still trigger the function, but any EOA can also trigger it to accelerate the process.

Deployments

What's Changed

New Contributors

Full Changelog: v1.3.4...v1.4.0