ERC-1202 Voting Interface
A general interface for voting on-chain
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| IERC1202Core | 0x9bf5c246 |
| IERC1202MultiVote | 0xde20f8c3 |
| IERC1202Info | 0xe9ead4cd |
Functions this standard introduces (6)
0xde20f8c3 | castMultiVote(uint256,uint8[],uint256[],string,bytes) | payable |
0x2b7ad4a8 | castVote(uint256,uint8,uint256,string,bytes) | payable |
0xe960ddfb | castVoteFrom(address,uint256,uint8,uint256,string,bytes) | payable |
0x01703246 | eligibleVotingWeight(uint256,address) | view |
0x59efcb15 | execute(uint256,bytes) | payable |
0xe89ae68b | votingPeriodFor(uint256) | view |
Events (2)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0x67abc2129973ac27817ec861c0eb56cbd003c58a1aadcf58165a43895b41593e | VoteCast(address,uint256,uint8,uint256,string,bytes) | |
0x0233feb91af0e47bf0890fad15df045a35c12783e9bb8258bf5733524424301f | MultiVoteCast(address,uint256,uint8[],uint256[],string,bytes) |
Depends on (1)
Proposals this one names in its requires field.
What the specification covers
Compare with
Parsed from the canonical specification · discussion