Smart Contract Explorer

Analyze smart contract bytecode to identify functions, detect standards (ERC-20/721/1155), scan security risks, and generate ABI JSON.

🔍 Pattern-Based Analysis + 4Byte Lookup

This tool identifies known function selectors in bytecode and queries 4byte.directory/foundry for unknown selectors. Generates a usable ABI JSON.

Enter the deployed bytecode from Etherscan or compilation output

About this tool

The Smart Contract Explorer analyzes deployed bytecode to surface the functions a contract exposes and reconstruct a usable ABI. When source code is unavailable, it lets you probe what a contract can do directly from its runtime bytes.

Reading bytecode without the source

A deployed contract is just EVM bytecode. By scanning the dispatch table and selector constants, the explorer detects function signatures, derives their 4-byte selectors, and produces a JSON ABI you can use to call or read the contract.

Practical uses

Auditing an unfamiliar contract, confirming which functions an upgraded proxy exposes, or generating an ABI for a contract whose source was never verified — the explorer turns blank bytecode into an interactive surface.

Detected signals

  • Function selectors: The 4-byte keys that route each method call.
  • ABI generation: A JSON ABI reconstructs callable functions and signatures.
  • Internal references: Strings and error selectors inlined in the runtime.

Frequently asked questions

Is bytecode analysis reversible to source?

Not fully. The explorer recovers function surfaces and an ABI, but exact source logic and variable names are not reconstructable from bytecode alone.

Where does the bytecode come from?

You can paste it directly or provide a contract address; the explorer queries the chain for the runtime bytecode.