Calls
free
function currentBatchNumber() public view returns(uint);
Return value: the number of the current batch, specified by
batchNumber
.function didCommit(uint ballotID, address voter) public view returns(bool);
Return value: a boolean value indicating if the voter has committed for a given ballot.
function getCommitHash(uint ballotID, address voter) public view returns(bytes32);
Gets the commit hash for a given voter and ballot.
- reverts if voter has not committed yet.
Return value: the hash of the committed vote.
Last modified 4yr ago