web3wagmi
← All standards

ERC-6864 Upgradable Fungible Token

DraftERCcreated 2023-04-05requires ERC-20

Upgradable fungible token, a simple extension to ERC-20

Author: Jeff Huang (@jeffishjeff)

ERC-165 interface ids

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

IERC68640x0ec96ca8

Functions this standard introduces (3)

0xc55dae63baseToken()view
0x2bf6e9ecdowngrade(address,address,uint256)
0xe0622b27upgrade(address,uint256)

Inherited (9)

0xdd62ed3eallowance(address,address)ERC-20
0x095ea7b3approve(address,uint256)ERC-20
0x70a08231balanceOf(address)ERC-20
0x313ce567decimals()ERC-20
0x06fdde03name()ERC-20
0x95d89b41symbol()ERC-20
0x18160dddtotalSupply()ERC-20
0xa9059cbbtransfer(address,uint256)ERC-20
0x23b872ddtransferFrom(address,address,uint256)ERC-20

Optional extensions (1)

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

IERC6864SeeThrough0x8f449f92

0xe3794234combinedTotalSupply()
0x53ccb5b7combinedBalanceOf(address)
0x3ff16811combinedAllowance(address,address)

Events (2)

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

0x7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397acUpgrade(address,address,uint256)
0x9ab4fd09dd94a170bb59087ded73031e54552d148d343e936b818f3c1a7f4fefDowngrade(address,address,uint256)

Depends on (1)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion