web3wagmi
← All standards

ERC-1417 Poll Standard

StagnantERCcreated 2018-09-16requires ERC-165, ERC-1261

Authors: Chaitanya Potti (@chaitanyapotti), Partha Bhattacharya (@pb25193)

ERC-165 interface ids

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

IPoll0xd1983698
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)

0x3fbd4216calculateVoteWeight(address)view
0xadfaa72ecanVote(address)view
0x439f5ac2getEndTime()view
0x17d7de7cgetName()view
0xb6d325a3getPollType()view
0x62564c48getProposals()view
0xa1774da0getProtocolAddresses()view
0xc828371egetStartTime()view
0x9e35bf13getVoterBaseDenominator()view
0xbaf8f441getVoterBaseLogic()view
0xe92e5c34getVoterCount(uint256)view
0x44a09e65getVoterCounts()view
0xca656e5agetVoteTallies()view
0x79cc9351getVoteTally(uint256)view
0x43c14b22revokeVote()
0xb3f98adcvote(uint8)
0x609ff1bdwinningProposal()view

Events (3)

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

0x532cea1f2d5ee838618e25edd1cf517281ecd9845598bd18a53cf61a8e877bf0TriedToVote(address,uint8,uint256)
0xd6f49aab6565b56612b881817204c72172e62ac89374c6a8d869c363d785be73CastVote(address,uint8,uint256)
0x49be09e3fc84da8de5a4917a06e95f8acea71828e157541c9396a9b6aa45d4f3RevokedVote(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