ERC-1417 Poll Standard
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| IPoll | 0xd1983698 |
The spec asserts 0x4fad898b for IPoll, which its own interface does not produce.
Asserted value is the XOR minus getVoterBaseDenominator() (0x9e35bf13), which was added to the body after the comment was written.
Functions this standard introduces (17)
0x3fbd4216 | calculateVoteWeight(address) | view |
0xadfaa72e | canVote(address) | view |
0x439f5ac2 | getEndTime() | view |
0x17d7de7c | getName() | view |
0xb6d325a3 | getPollType() | view |
0x62564c48 | getProposals() | view |
0xa1774da0 | getProtocolAddresses() | view |
0xc828371e | getStartTime() | view |
0x9e35bf13 | getVoterBaseDenominator() | view |
0xbaf8f441 | getVoterBaseLogic() | view |
0xe92e5c34 | getVoterCount(uint256) | view |
0x44a09e65 | getVoterCounts() | view |
0xca656e5a | getVoteTallies() | view |
0x79cc9351 | getVoteTally(uint256) | view |
0x43c14b22 | revokeVote() | |
0xb3f98adc | vote(uint8) | |
0x609ff1bd | winningProposal() | view |
Events (3)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0x532cea1f2d5ee838618e25edd1cf517281ecd9845598bd18a53cf61a8e877bf0 | TriedToVote(address,uint8,uint256) | |
0xd6f49aab6565b56612b881817204c72172e62ac89374c6a8d869c363d785be73 | CastVote(address,uint8,uint256) | |
0x49be09e3fc84da8de5a4917a06e95f8acea71828e157541c9396a9b6aa45d4f3 | RevokedVote(address,uint8,uint256) |
Depends on (2)
Proposals this one names in its requires field.
What the specification covers
Compare with
Parsed from the canonical specification · discussion