ERC-4626 Strategies (Base & Steakhouse)
This section covers the abstract V2 ERC-4626 wrapping strategy and its Morpho Steakhouse implementation. AAVE GHO Saving (both GhoSavingFluidStrategy and the legacy GhoSavingStrategy) is built on the same base but adds a USDC ↔ GHO conversion route; it is documented separately in GhoSavingStrategy. Neither should be confused with per-user GHO Staking.
Before integration or administration, verify the listed signatures and permissions against the deployed implementation and its verified source. See Documentation scope and verification.
External share value and immediately withdrawable liquidity are different quantities. Withdrawal and exit remain subject to the target vault's limits and available liquidity.
BaseERC4626Strategy (abstract)
Source: src/strategies/erc4626/BaseERC4626Strategy.sol
Constructor: (address asset_, address receiver_, address owner_, address erc4626Vault). Reverts with AssetMismatch if asset_ != IERC4626(erc4626Vault).asset(). owner_ receives DEFAULT_ADMIN_ROLE; the Controller (and any other operator) must be granted Roles.KEEPER on the strategy after deployment.
| Function | Access | Description |
|---|---|---|
ERC4626_VAULT() |
public view | Target ERC-4626 vault (immutable). |
receiver() |
public view | Returns the vault address that receives divested assets. |
asset() |
public view | Returns the underlying asset. |
totalAssets() |
public view | Converts held external vault shares to assets through previewRedeem. |
invest(uint256 amount) |
Keeper | Deposits the underlying asset into the target ERC-4626 vault. No-op when amount == 0. |
divest(uint256 amount) |
Keeper | withdraw(amount) from the target vault directly to receiver(). Returns amount. |
replenish(uint256 amount) |
Keeper | Same as divest; used by the Controller's liquidity waterfall. |
exit(bool ignore) |
Keeper | Redeems all external vault shares to receiver(). On failure reverts with ExitFailed unless ignore is true (then returns 0). |
harvest(IERC20 asset_) |
Keeper | Sweeps the full balance of any token other than the target vault share to receiver(). Reverts with InvalidHarvestToken for the vault share itself. |
The base strategy emits no events of its own; observe the target vault's Deposit / Withdraw events and the Controller's events instead.
SteakhouseStrategy
Source: src/strategies/SteakhouseStrategy.sol — deployed at 0xa03a201B77A4AF03874020ceDa43aC5CFf9BcEF1 for Ethereum Network Lending.
SteakhouseStrategy inherits every function from BaseERC4626Strategy, targets the Morpho Steakhouse USDC vault, and adds the ability to claim Morpho rewards through the Universal Rewards Distributor.
Constructor: (address asset_, address receiver_, address owner_, address vault_, address universalRewardsDistributor_).
| Function | Access | Description |
|---|---|---|
UNIVERSAL_REWARDS_DISTRIBUTOR() |
public view | Morpho Universal Rewards Distributor (immutable). |
claimRewards(address reward, uint256 claimable, bytes32[] memory proof) |
Keeper | Calls the Universal Rewards Distributor to claim reward for this strategy. Claimed tokens stay in the strategy until swept with harvest. |
Morpho token rewards claimed this way are treated as King's Vault protocol income and are not part of the user-facing APY or NAV.