web3wagmi
← All standards

ERC-6960 Dual Layer Token

DraftERCcreated 2023-04-30

Token with a two-level classification system using mainId and subId

Authors: Adam Boudjemaa (@aboudjem), Mohamad Hammoud (@mohamadhammoud), Nawar Hisso (@nawar-hisso), Khawla Hassan (@khawlahssn), Mohammad Zakeri Rad (@zakrad), Ashish Sood

ERC-165 interface ids

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

IDLT0xea1c731a

Functions this standard introduces (7)

0x443b63b9allowance(address,address,uint256,uint256)view
0x4f4df442approve(address,uint256,uint256,uint256)
0x62b26417balanceOfBatch(address[],uint256[],uint256[])view
0xe985e9c5isApprovedForAll(address,address)view
0x4d47fddbsafeTransferFrom(address,address,uint256,uint256,uint256,bytes)
0xa22cb465setApprovalForAll(address,bool)
0x8536208dsubBalanceOf(address,uint256,uint256)view

Events (5)

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

0xc817d75deaa278e988c41cf549ef38fe195ab65e0e64cd67ba47f0d185690d58Transfer(address,address,uint256,uint256,uint256)
0x9c1a90a2860d0b3bc72fca6164eb03292152dddd4e5b4761765e6ee36e174d26TransferBatch(address,address,uint256[],uint256[],uint256[])
0x3a9c85c6b31f7a9d7fe1478f53e1be42e85db97ca30d1789cfef9196dbc472c9Approval(address,address,uint256,uint256,uint256)
0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31ApprovalForAll(address,address,bool)
0xc5fa23da9469c6ff8affe5c8e0040b5e363528a29500e45e48ab0b1bceb2ddf8URI(string,string,uint256)

What the specification covers

Compare with

Parsed from the canonical specification · discussion