Skip to main content

Module decoder

Module decoder 

Source

Modulesยง

base ๐Ÿ”’ base
Base precompile ABIs for trace decoding.
monad ๐Ÿ”’ monad
precompiles ๐Ÿ”’

Structsยง

CallTraceDecoder
The call trace decoder.
CallTraceDecoderBuilder
Build a new CallTraceDecoder.
DecodedEvent
A decoded event with both display-formatted parameters and their underlying ABI values.

Functionsยง

constructor_signature ๐Ÿ”’
indexed_event_candidates ๐Ÿ”’
indexed_inputs ๐Ÿ”’
is_abi_call_data ๐Ÿ”’
Returns true if the given function calldata (including function selector) is ABI-encoded.
is_abi_data ๐Ÿ”’
Returns true if the given data is ABI-encoded.
is_abi_encoded_input ๐Ÿ”’
Returns true if args is exactly the ABI encoding of the function inputs.
reconstruct_params ๐Ÿ”’
Restore the order of the params of a decoded event, as Alloy returns the indexed and unindexed params separately.
suffixed_abi_args ๐Ÿ”’
Returns the word-aligned arguments of the given function calldata if they are followed by a non-zero suffix shorter than a word, such as tracking bytes appended by routers. A trailing ERC-8021 attribution suffix is removed first.

Type Aliasesยง

AddressEvents ๐Ÿ”’
Address-scoped events keyed by signature and indexed input count; anonymous events have no signature.
MonadHardfork ๐Ÿ”’ monad