web3wagmi
← All standards

ERC-7802 Token With Mint/Burn Access Across Chains

DraftERCcreated 2024-10-30requires ERC-165, ERC-5679

Allow authorized contracts to mint and burn token representations during crosschain transfers

Authors: skeletor (@skeletor-spaceman), parti (@0xParticle), joxes (@Joxess), ng (@0xng), agus duha (@agusduha), disco (@0xDiscotech), gotzen, 0age, Mark Tyneway, Zain Bacchus, Matt Solomon, Maurelian, Blaine Malone (@blmalone)

ERC-165 interface ids

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

IERC78020x33331994

Functions this standard introduces (2)

0x2b8c49e3crosschainBurn(address,uint256)
0x18bf5077crosschainMint(address,uint256)

Inherited (1)

0x01ffc9a7supportsInterface(bytes4)ERC-165

Events (2)

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

0xde22baff038e3a3e08407cbdf617deed74e869a7ba517df611e33131c6e6ea04CrosschainMint(address,uint256,address)
0xb90795a66650155983e242cac3e1ac1a4dc26f8ed2987f3ce416a34e00111fd4CrosschainBurn(address,uint256,address)

Custom errors (1)

0x82b42900Unauthorized()

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion