Choose the correct word encoding
Use evm_abi_word when a protocol explicitly hashes or concatenates individual standard ABI words. Use encode_function_data for contract calldata and abi_encode_packed for packed layouts.
- ADDRESS values are left-padded to 32 bytes.
- BYTES32 values are copied unchanged.
- Unsigned integers are encoded as big-endian 32-byte values.
- Signed integers are sign-extended using two's-complement representation.
- Use encode_function_data for selector-prefixed contract calldata; use evm_abi_word for explicit word-level composition.
Local SQL