A fungibility-agnostic and gas-efficient token contract