web3wagmi
← All standards

ERC-6366 Permission Token

ReviewERCcreated 2022-01-19requires ERC-6617

A token that holds the permission of an address in an ecosystem

Authors: Chiro (@chiro-hiro), Victor Dusart (@vdusart)

ERC-165 interface ids

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

IEIP6366Core0xa67b6cfc

Functions this standard introduces (6)

0x095ea7b3approve(address,uint256)
0xf6bcbd31delegated(address,address)view
0x8b01813dhasPermission(address,address,uint256)view
0xa3aced06permissionOf(address)view
0xd83186fepermissionRequire(uint256,uint256)view
0xa9059cbbtransfer(address,uint256)

Events (2)

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

0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efTransfer(address,address,uint256)
0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925Approval(address,address,uint256)

Custom errors (3)

0x232f1c86AccessDenied(address,address,uint256)
0x6c7f1818DuplicatedPermission(uint256)
0x7db3aba7OutOfRange()

Depends on (1)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion