vault-exit-lawyer
Vault Exit Lawyer — Before moving treasury funds out of an ERC-4626 or ERC-7540 vault: reads the chain at one pinned block and returns how much can exit now, the haircut vs convertToAssets, partial-exit maximum, liquidity coverage, queue/cooldown timing, admin-power flags (upgrade, pause, multisig threshold, timelock), and a verdict EXIT_NOW_FULL / EXIT_PARTIAL / QUEUED / BLOCKED / UNKNOWN. With a holder it simulates
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"vault": "<vault>",
"exit": "<exit>"
},
"name": "vault-exit-lawyer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exit | Yes | Exactly one of shares or assets, as base-unit integer strings. shares may be "max" (needs holder). | |
| chain | Yes | Chain the vault lives on. | |
| vault | Yes | ERC-4626 or ERC-7540 vault address. | |
| holder | No | Address that holds the shares. Enables an exact eth_call redeem simulation and per-holder limits. | |
| docsUrls | No | Public documentation pages whose redemption claims are checked against the contract. |