Source meets the hunter.
Three ways to hand AuditHunt a contract. One outcome — a parsed AST, an inventory of every function, every external call, every storage write, and the first quiet noticing of the shapes that draw attention.
A contract you have on disk.
Drop the source. AuditHunt accepts a single .sol file, a flattened bundle, or a multi-file archive. Compiler version inferred from the pragma; can be overridden.
A contract already deployed.
Paste a verified address. AuditHunt fetches the source from the explorer, verifies the bytecode match, and parses on the same path as a paste.
A whole protocol, in tree.
Point at a git remote or local path. AuditHunt walks the tree, identifies every contract, resolves imports, and parses each in dependency order.
The unfold
From source to shape.
Four beats. The AST pulls itself out of the file the way a chemist pulls a structure out of a sample — atoms first, then bonds, then the molecule, then the part of the molecule that wants to react.
The inventory
What the parser now sees.
Six functions on the public surface; thirty-four external call sites in total. Two stand out before any detector even fires — the parser flags them not as findings, but as shapes that warrant attention.