ABI surface

Standards

Nothing on-chain records that a contract is an ERC-20. What it has is a set of function selectors, and implementing the standard means exposing them. Detection here reads that surface rather than trusting a label, so a token that never declared itself still gets found — and one that claims the name without the methods does not.