By default, these methods can only be called from an address granted the role CONSUMER_ROLE
requestCreateBallot(uint256 minimumVoters)
Requests the creation of a new ballot.
Successful execution results in the CreateBallotRequested event. minimumVoters must be greater than zero. Results in the CreateBallotFulfilled event after the ballot is created in space.
Successful execution results in the VoteRequested event. Results in the VoteFulfilled event after the vote is tabulated in space.
requestFinalizeBallot(bytes32 ballotId)
Requests the finalization (closure and tabulation) of the ballot identified by ballotId.
Successful execution results in the FinalizeBallotRequested event. Results in the FinalizeBallotFulfilled event after the ballot is finalized in space.