Simulate Equity Vault Deposit
simulate_equity_depositPreview depositing USDG into a stock + yield equity vault — deterministic, read-only, no wallet. You end up 1x long the stock (held as your own Morpho collateral), with stockLtvPct of its value borrowed as USDG and flash-looped into the vault's yield strategy. Returns the stock received, the borrow, the stock liquidation price and headroom, the yield leg's size/leverage/APY, the net APY at that LTV, fees and price impact per leg.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Deposit amount in human units of the vault's deposit token (USDG), e.g. '10000'. | |
| chainId | No | Chain to target. Supported: 1, 4663. Default: 1. | |
| slippage | No | Swap slippage ratio. Default 0.01 (the app's setting for vaults), capped at 0.01. | |
| strategyId | Yes | The vault's id from list_strategies (starts with 'equity-'). | |
| stockLtvPct | No | Stock-leg LTV percent to borrow at (e.g. '50'). Default: the vault's targetLtvPct. Capped at 88% of the stock market's liquidation LTV (55 on a 62.5% market) — a higher value is refused, not clamped. |