SupplyHarvestVault
ERC4626-upgradeable Tokenized Vault implementation, which can harvest accrued rewards, swap them for the vault's underlying asset and re-supply them through Morpho.
This contract implements the logic of an EIP4626-compliant vault and exposes an additional harvest function allowing to instantly swap accrued rewards from the underlying pool (e.g. $COMP) for the vault's underlying asset (e.g. $DAI) through Uniswap, re-supply them through Morpho. A portion of the swapped rewards is transferred to the user triggering the harvest.
Interface
Source code

Morpho-Compound

morpho-tokenized-vaults/ISupplyHarvestVault.sol at main Β· morpho-dao/morpho-tokenized-vaults
GitHub

Morpho-Aave V2

No harvest vault is deployed for Morpho-Aave V2 as no rewards are distributed through Morpho-Aave V2.

Morpho-Compound

morpho-tokenized-vaults/SupplyHarvestVault.sol at main Β· morpho-dao/morpho-tokenized-vaults
GitHub

Morpho-Aave V2

No harvest vault is deployed for Morpho-Aave V2 as no rewards are distributed through Morpho-Aave V2.
Copy link