web3wagmi
← All standards

ERC-7681 Dual Nature Multi Token Protocol

DraftERCcreated 2024-04-08requires ERC-20, ERC-1155

Combining fungible token ERC-20 and multi-token ERC-1155

Author: Sennett Lau (@sennett-lau)

ERC-165 interface ids

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

IERC76810x4d98f104

Functions this standard introduces (15)

0xdd62ed3eallowance(address,address)view
0x095ea7b3approve(address,uint256)
0x00fdd58ebalanceOf(address,uint256)view
0x70a08231balanceOf(address)view
0x4e1273f4balanceOfBatch(address[],uint256[])view
0x313ce567decimals()view
0xe985e9c5isApprovedForAll(address,address)view
0x06fdde03name()view
0x2eb2c2d6safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)
0xf242432asafeTransferFrom(address,address,uint256,uint256,bytes)
0xa22cb465setApprovalForAll(address,bool)
0x95d89b41symbol()view
0x18160dddtotalSupply()view
0xa9059cbbtransfer(address,uint256)
0x23b872ddtransferFrom(address,address,uint256)

Inherited (1)

0x01ffc9a7supportsInterface(bytes4)ERC-165

Optional extensions (1)

Interfaces the spec defines alongside the core one, which an implementation may or may not carry.

IERC7681Skippable0x95e2d13c

0x046d6779getSkipToken(address)
0x918fb645setSkipToken(bool)

Events (7)

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

0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efTransfer(address,address,uint256)
0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925Approval(address,address,uint256)
0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62TransferSingle(address,address,address,uint256,uint256)
0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fbTransferBatch(address,address,address,uint256[],uint256[])
0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31ApprovalForAll(address,address,bool)
0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529bURI(string,uint256)
0xf1bc2fe74e66b81a8adadbaca75812abdb42d917a9fb554d644695c5765aafe7SkipTokenSet(address,bool)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion