web3wagmi
← All standards

ERC-7722 Opaque Token

DraftERCcreated 2024-06-09

A token specification designed to enhance privacy by concealing balance information.

Authors: Ivica Aračić (@ivica7), Ante Bešlić (@ethSplit), Mirko Katanić (@mkatanic), SWIAT

ERC-165 interface ids

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

OpaqueToken0xf3a333ac

Functions this standard introduces (10)

0x6cabba1bcreateToken(bytes32,bytes32,bytes32)
0x7fe1ac1fissue(bytes32[],address,bytes32)
0x570ca735operator()view
0x324b8d6eoracleConfig()view
0x02571be3owner(bytes32)view
0x0d479fd2redeem(bytes32[],bytes32)
0x66fb0cc2reorgHolderBaskets((uint8,bytes32,bytes32)[],bytes32[],bytes32[],bytes32)
0x3cc1ab1ereorgSupplyBaskets((uint8,bytes32,bytes32)[],bytes32[],bytes32[],bytes32)
0xb524abcftotalSupply(bytes32)view
0x65a087d1transfer(bytes32[],address,bytes32)

Events (6)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0x343518cfd7aad92be9eb892fac3cf980e7d13e86b00bed98669776805f340000CreateToken(address,bytes32,bytes32,bytes32)
0x1f281cd29fc71a62366a5b300c2663c0c65fcebc46bab3f00c4b85042ecc3db1Issue(address,bytes32[],address,bytes32)
0x99a90a8ab89e7b362b00dd346fbbfa8f92103f08e0c743cc4ef645c141c0b9c7ReorgHolderBaskets(address,bytes32[],bytes32[],bytes32)
0xf0d12b94d5798c477b2add7b250f6513b1fc2ac2ec28512828f9b8fb7e60d3e1ReorgSupplyBaskets(address,bytes32[],bytes32[],bytes32)
0x2e0b63cacc8d38ec33b63a7aa026c66a84d107a439ae9699b12306c3eb8fbe97Transfer(address,address,bytes32[],bytes32)
0x66de2ba27f610f47ac1e3c8b5004c961e22857c1f5023819e24fced078db2c59Redeem(address,bytes32[],bytes32)

What the specification covers

Compare with

Parsed from the canonical specification · discussion