web3wagmi
← All standards

ERC-7603 ERC-1155 Multi-Asset extension

DraftERCcreated 2024-01-25requires ERC-165, ERC-1155

An interface compatible with ERC-1155 for Multi-Asset tokens with context-dependent asset type output control.

Author: Haru (@haruu8)

ERC-165 interface ids

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

IERC76030x4d5092a5

Functions this standard introduces (4)

0x5e2e3292getAssetMetadata(uint256,uint64)view
0x14d1e17fgetAssetPriorities(uint256)view
0xd9212164getAssets(uint256)view
0xde8e602csetPriority(uint256,uint64[])

Inherited (1)

0x01ffc9a7supportsInterface(bytes4)ERC-165

Events (3)

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

0x3cd061096eaf881067d936308fbd8b81d060c45ab2ec910c02b953162befc109AssetSet(uint64)
0x973affda86f2cfbd58fba1c39191fcce587ce97da52efdc24c9fbb20a3f09cbbAssetAddedToToken(uint256[],uint64,uint64)
0xf0bfd70b0068f973d58178846ca67112671ec45e060838f7de5662036bcf8017AssetPrioritySet(uint256)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion