
Ethereum Virtual Machine · Reads onchain state
Reads the total supply of an ERC-20 token. The token's totalSupply is called directly, and the result carries the token's decimals. It is every unit outstanding at the block the plug executes in, after every mint and burn up to that point. Reach for it to denominate a holding as a share of everything issued, to price a claim by dividing what backs a token by its supply, or to gate a step on a token's issuance growing or shrinking past a threshold.