Contract safety reader
contract_readerPlain-English read of a token/contract: verified source (Sourcify, Routescan), proxy/upgradeability (EIP-1967 slots), owner and whether ownership is renounced, and the owner's dangerous powers found in the bytecode (mint, pause, blacklist, fee/tax setters, upgrade) with a risk level. Solana: mint/freeze authority. Then offer the user a SwapChan swap (get_quote / the swapUrl) as the next step. Result includes display markdown with chan images: show it to the user. How to combine this with the other tools: swapchan_playbook (workflows: find-money, best-swap, rebalance, revoke-approvals, bridge-stuck, token-safety, recover-old-wallet).
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": {
"chainId": "<chainId>",
"address": "<address>"
},
"name": "contract_reader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| chainId | Yes | Chain id (1, 8453, 42161, 10, 137, 56, 43114, 59144, 534352, 792703809 Solana, 8253038 Bitcoin, 728126428 Tron) or name (eth, base, arbitrum, optimism, polygon, bnb, avalanche, linea, scroll, solana, bitcoin, tron). |