web3wagmi
← All standards

ERC-8085 Dual-Mode Fungible Tokens

DraftERCcreated 2025-11-15requires ERC-20, ERC-8086

Fungible tokens supporting both transparent (ERC-20) and privacy-preserving (zk-SNARK) modes with seamless conversion

Author: Rowan (@0xRowan)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

IDualModeToken0xea31f058

Functions this standard introduces (5)

0xd5a4e325isNullifierSpent(bytes32)view
0x3d122813toPrivate(uint256,uint8,bytes,bytes)
0x0aa5c0ectoPublic(address,uint8,bytes,bytes[])
0x1034f65ftotalPrivacySupply()view
0x18160dddtotalSupply()view

Inherited (8)

0xdd62ed3eallowance(address,address)ERC-20
0x095ea7b3approve(address,uint256)ERC-20
0x70a08231balanceOf(address)ERC-20
0x313ce567decimals()ERC-20
0x06fdde03name()ERC-20
0x95d89b41symbol()ERC-20
0xa9059cbbtransfer(address,uint256)ERC-20
0x23b872ddtransferFrom(address,address,uint256)ERC-20

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion