CivilPLCRVoting

Verified contract

Active on Ethereum with 1,075 txns
Deployed by via 0x432efe74 at 7082837
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x55beaa3497dc0ba56fb67b0613796d17b81bc7369a488d92c161dd0367f82e12
0xe502285c8b825a744dea6f51173bb47fa9111e63bc110ba067085048f2375595
0x2f26b9268a52bfeca9f26c56ea7bab372fbe27e871aff5070e80e4e1461bc781
0x73b32cf5c7b538040936bddf1f567fabd14b694850af5f1f17d2ea9d5446f0ef
0xfc16ab8478d5b74587c0a0c29881ab459970c7232931f9b719dde3ea43403466
0x581b2589b549048f1c9d92e91f32b819144bae985245e2d357385c599a1c9af5
0x8b4ce525dd6d28d0443d50de3269c399da8165b105a7a1d0d85eaaccbfe8bd91
0x0f20fb3ad44a7a77776c1435bf8c6e547b4b6f77a0abcfc045c3905f002022ef
0x75eadb7cced7be367d4143df5d22502d128c64c8bbd986f9510b220e3c59f5b2
0x8cb60c2439d8ae0a9cb88982d80d1f6846443a1ec482b9f73b188918dc380689

Functions
Getter at block 21331903
INITIAL_POLL_NONCE(view returns (uint256)
0
pollNonce(view returns (uint256)
8
telemetry(view returns (address)
0x6d3dc15e04dd1d8968556d02cf209a4fb4ab8736
token(view returns (address)
0x01fa555c97d7958fa6f771f3bbd5ccd508f81e22
Read-only
attrUUID(address _useruint256 _pollIDpure returns (bytes32 UUID)
commitPeriodActive(uint256 _pollIDview returns (bool active)
didCommit(address _voteruint256 _pollIDview returns (bool committed)
didReveal(address _voteruint256 _pollIDview returns (bool revealed)
getCommitHash(address _voteruint256 _pollIDview returns (bytes32 commitHash)
getInsertPointForNumTokens(address _voteruint256 _numTokensuint256 _pollIDview returns (uint256 prevNode)
getLastNode(address _voterview returns (uint256 pollID)
getLockedTokens(address _voterview returns (uint256 numTokens)
getNumLosingTokens(address _voteruint256 _pollIDuint256 _saltview returns (uint256 correctVotes)
getNumPassingTokens(address _voteruint256 _pollIDuint256 _saltview returns (uint256 correctVotes)
getNumTokens(address _voteruint256 _pollIDview returns (uint256 numTokens)
getTotalNumberOfTokensForLosingOption(uint256 _pollIDview returns (uint256 numTokens)
getTotalNumberOfTokensForWinningOption(uint256 _pollIDview returns (uint256 numTokens)
isExpired(uint256 _terminationDateview returns (bool expired)
isPassed(uint256 _pollIDview returns (bool passed)
pollEnded(uint256 _pollIDview returns (bool ended)
pollExists(uint256 _pollIDview returns (bool exists)
pollMap(uint256view returns (uint256 commitEndDateuint256 revealEndDateuint256 voteQuorumuint256 votesForuint256 votesAgainst)
revealPeriodActive(uint256 _pollIDview returns (bool active)
validPosition(uint256 _prevIDuint256 _nextIDaddress _voteruint256 _numTokensview returns (bool valid)
voteTokenBalance(addressview returns (uint256)
State-modifying
commitVote(uint256 _pollIDbytes32 _secretHashuint256 _numTokensuint256 _prevPollID
commitVotes(uint256[] _pollIDsbytes32[] _secretHashesuint256[] _numsTokensuint256[] _prevPollIDs
requestVotingRights(uint256 _numTokens
rescueTokens(uint256 _pollID
rescueTokensInMultiplePolls(uint256[] _pollIDs
revealVote(uint256 _pollIDuint256 _voteOptionuint256 _salt
revealVotes(uint256[] _pollIDsuint256[] _voteOptionsuint256[] _salts
startPoll(uint256 _voteQuorumuint256 _commitDurationuint256 _revealDurationreturns (uint256 pollID)
withdrawVotingRights(uint256 _numTokens
Events
_PollCreated(uint256 voteQuorumuint256 commitEndDateuint256 revealEndDateuint256 indexed pollIDaddress indexed creator
_TokensRescued(uint256 indexed pollIDaddress indexed voter
_VoteCommitted(uint256 indexed pollIDuint256 numTokensaddress indexed voter
_VoteRevealed(uint256 indexed pollIDuint256 numTokensuint256 votesForuint256 votesAgainstuint256 indexed choiceaddress indexed voteruint256 salt
_VotingRightsGranted(uint256 numTokensaddress indexed voter
_VotingRightsWithdrawn(uint256 numTokensaddress indexed voter
Constructor
constructor(address tokenAddraddress telemetryAddr
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.