Skip to content

️ Voter: Added agentId in voter & new parameters to doRequestNewBallotand doRequestVote functions

Alexandre Andre requested to merge cmdLaunch_nicolas into main

Added "agentId" parameter to the NewRestClientAgent constructor to associate an ID with the agent. Modified the doRequestNewBallot function to accept additional parameters, including "rule," "deadline," "votersIds," "alts," and "tieBreak," for more flexible ballot creation. Enhanced the doRequestVote function by adding the "ballotId" and "prefs" parameters, enabling more precise vote submissions.

Merge request reports

Loading