関数セレクタ/イベント topic を計算する
explain_selectorDerive keccak256 selectors and topic0 from signatures to explain ABI provenance without network access.
Instructions
関数署名やイベント署名から keccak256 を計算し、セレクタ(先頭 4 バイト)や topic0 を示す。ネットワークには一切アクセスしない。ABI がどこから来るのかを黒板で説明するためのツール。
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": {
"signature": "<signature>"
},
"name": "explain_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signature | Yes | 例: "transfer(address,uint256)" / "Transfer(address indexed from, address indexed to, uint256 value)" |