foundry_common

Module selectors

Source
Expand description

Support for handling/identifying selectors.

Structsยง

Enumsยง

Constantsยง

Functionsยง

  • Fetches all possible signatures and attempts to abi decode the calldata using OpenChain.
  • Fetches an event signature given the 32 byte topic using OpenChain.
  • Fetches a function signature given the selector using OpenChain.
  • Decodes the given function or event selector using OpenChain.
  • Decodes the given function or event selectors using OpenChain.
  • uploads selectors to OpenChain using the given data
  • Parses a list of tokens into function, event, and error signatures. Also handles JSON artifact files Ignores invalid tokens
  • Pretty print calldata and if available, fetch possible function signatures.