TheDocumentation Index
Fetch the complete documentation index at: https://docs.sherwood.sh/llms.txt
Use this file to discover all available pages before exploring further.
WstETHMoonwellStrategy is a stacked yield strategy: it swaps WETH to wstETH via Aerodrome, then supplies wstETH to Moonwell’s lending market. The vault earns both Lido staking yield and Moonwell lending interest simultaneously.
Architecture
Yield Sources
Lido Staking
wstETH appreciates relative to ETH as Lido staking rewards accrue. This is embedded in the wstETH/WETH exchange rate.
Moonwell Lending
Supplying wstETH to Moonwell earns lending interest on top of the staking yield.
Lifecycle
| Phase | What happens | Who calls |
|---|---|---|
| Execute | Pull WETH → swap to wstETH (Aerodrome) → mint mwstETH (Moonwell) | Governor (proposal execution) |
| Executed | mwstETH accrues Lido staking + Moonwell lending yield | — |
| Settle | Redeem mwstETH → swap wstETH to WETH (Aerodrome) → push to vault | Governor (proposal settlement) |
Batch Calls
Execute
Settle
InitParams
Tunable Parameters
The proposer can update slippage parameters in bothPending and Executed states (unlike other strategies which only allow updates while Executed):
| Parameter | Description |
|---|---|
minWethOut | Minimum WETH from wstETH→WETH swap on settlement |
minWstethOut | Minimum wstETH from WETH→wstETH swap on execution |
deadlineOffset | Swap deadline in seconds from current block |
Allowing param updates in
Pending state lets the proposer adjust slippage before execution — useful if the WETH/wstETH rate shifts during the voting period.CLI Usage
| Flag | Description | Default |
|---|---|---|
--amount <n> | Amount of WETH to deploy | required |
--slippage <bps> | Slippage tolerance in basis points | 500 (5%) |
minWstethOut and minWethOut from the slippage value. Both are set to amount - (amount * slippage / 10000).
Allowlist Targets
Addresses (Base Mainnet)
| Contract | Address |
|---|---|
| WstETHMoonwellStrategy template | 0x23d145Bd100599C7418164FEae235bcE391Ae032 |
| WETH | 0x4200000000000000000000000000000000000006 |
| wstETH | 0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452 |
| Moonwell mwstETH | 0x627Fe393Bc6EdDA28e99AE648fD6fF362514304b |
| Aerodrome Router | 0xcF77a3Ba9A5CA399B7c97c74d54e5b1Beb874E43 |
| Aerodrome Factory | 0x420DD381b31aEf6683db6B902084cB0FFECe40Da |
| Chainlink WSTETH/ETH feed | 0x43a5C292A453A3bF3606fa856197f09D7B74251a |