Expand description
EVM function-call and constructor calldata decoder.
Decodes transaction input data using an ABI JSON definition.
§How it works
- First 4 bytes of calldata = keccak256(function_signature)[:4] (the selector)
- Remaining bytes = ABI-encoded inputs tuple
- Constructor: no selector prefix; all bytes = ABI-encoded constructor args
Structs§
- EvmCall
Decoder - EVM function-call decoder.