Choose the encoding function
Use evm_abi_word for layouts that require one standard 32-byte word per scalar.
- Use encode_function_args to ABI-encode a complete argument list without a selector.
- Use encode_function_data to prepend the function selector to encoded arguments.
- Use abi_encode_packed for packed layouts that omit standard 32-byte padding.
- Cast literals to ADDRESS or the intended UINT/INT width before encoding.
Local SQL