web3wagmi
← All standards

ERC-5805 Voting with delegation

StagnantERCcreated 2022-07-04requires EIP-712, ERC-6372

An interface for voting weight tracking, with delegation support

Authors: Hadrien Croubois (@Amxx), Francisco Giordano (@frangio)

ERC-165 interface ids

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

IERC58050x1992937a

Functions this standard introduces (6)

0x5c19a95cdelegate(address)
0xc3cda520delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)
0x587cde1edelegates(address)view
0x3a46b1a8getPastVotes(address,uint256)view
0x9ab24eb0getVotes(address)view
0x7ecebe00nonces(address)view

Inherited (2)

0x4bf5d7e9CLOCK_MODE()ERC-6372
0x91ddadf4clock()ERC-6372

Events (2)

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

0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257fDelegateChanged(address,address,address)
0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724DelegateVotesChanged(address,uint256,uint256)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion