Expand description
Support for handling/identifying selectors.
Structsยง
- Artifact ๐
- A client that can request API data from OpenChain.
- Selector
Import ๐Effect - Selector
Import ๐Result
Enumsยง
- The type of selector fetched from OpenChain.
Constantsยง
- MAX_
TIMEDOUT_ ๐REQ How many request can time out before we decide this is a spurious connection. - REQ_
TIMEOUT ๐The standard request timeout for API requests. - SELECTOR_
IMPORT_ ๐URL - SELECTOR_
LOOKUP_ ๐URL
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.