web3wagmi
← All standards

ERC-6617 Bit Based Permission

ReviewERCcreated 2023-02-271 later proposal build on it

A permission and role system based on bits

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

ERC-165 interface ids

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

IEIP66170x183a839f

Functions this standard introduces (3)

0x6fe34920grantPermission(address,uint256)
0x8d944fd9hasPermission(address,uint256)view
0xfa4d8566revokePermission(address,uint256)

Optional extensions (1)

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

IEIP6617Meta0x8a8555e2

0xd3ba6058getPermissionDescription(uint256)
0x593f35basetPermissionDescription(uint256,string,string)

Events (3)

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

0x808a975612f50464c7099fe538a7efb82d474ea6fc469120d953a95274715f1aPermissionGranted(address,uint256,address)
0xc64c6394f6ed8b045e0b9381c1aa815887f576b525a18fa6ab870be64351df86PermissionRevoked(address,uint256,address)
0xd8dd05ab9ca4ab916e61091ba443b89510a21d430b6813f6c83e5e9d462d7527UpdatePermissionDescription(uint256,string,string)

Built on by (1)

Later proposals that name this one in their requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion