inspect_contract_invariants
Inspect a smart contract, ERC-20 token, or DEX/Vault pool for proxy/admin slots, bytecode opcodes, ERC-20 sanity, and reserve invariants.
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": {
"address": "<address>"
},
"name": "inspect_contract_invariants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base | |
| tokens | No | Optional extra ERC-20 token addresses to snapshot reserves for | |
| address | Yes | 0x-prefixed EVM contract or pool address |