0x18160ddd?0x18160ddd is the function selector for totalSupply(). Reads the total supply. Read-only.
When a transaction's data begins with 0x18160ddd, it is calling totalSupply. The selector is the first four bytes of the keccak-256 hash of the signature totalSupply(), which is how wallets and explorers work out which function a payload is for.