galleon-aave-v4
Aave V4 positions and execution plans
Produce a decision for an observed V4 deployment and, when requested, a complete unsigned sequence with health preview and confirmation prerequisites. Do not migrate a V3 recipe by renaming its Pool.
Discover the live deployment
Inspect the current tool schema and selected version. Use get_chains and get_markets with version: v4, the relevant symbols and actual user. For supply/borrow, select the current get_markets reserve. For withdraw/repay, use the reserveId returned by get_position_items for the exact owned position being exited or repaid. A same-symbol market reserve on another Spoke is not that position. Keep the selected opaque ID unchanged. Resolve chain, Spoke, Hub, reserve, asset, decimals and position identity from those observations, never a remembered address or hand-built ID. API coverage is not the universe of Aave deployments: retain covered, omitted and unserved chains.
Read user summary/positions, selected reserve details, relevant Hub asset/liquidity and position items. V4 risk and collateral operate within the position/Spoke; a wallet aggregate can hide a constrained position. Preserve principal, accrued interest, collateral enablement, applicable borrowing/health conditions, caps and available liquidity at one recorded state. Indexed USD rounding cannot settle a dust debt question.
Load official MCP and SDK procedure for exact selectors, input units, plan branches and evidence limits. Refresh chain state when an executable action needs a fresh balance or allowance observation. Do not infer production maturity or deployed chain coverage from SDK next naming alone.
Preview the precise action
Establish action, exact main-unit amount, recipient/on-behalf-of account, selected reserve and user risk floor. Aave MCP amounts are ordinary positive decimal strings in human token units; base-unit integer strings belong to different interfaces. Keep the unit conversion explicit. Inspect optional native, max and collateral behavior using current schemas.
Call preview_action with the exact parameters intended for prepare_action. Read returned data, all warnings and the health factor/position changes. An error-level warning stops the requested action; a warning needs explanation, not concealment. A health preview does not check every allowance or prove EVM execution. Apply user risk limits and separate interest/oracle stress from current conditions. Plain supply does not provide borrowing collateral unless the chosen action enables it.