MCPcopy Create free account
hub / github.com/IBM/evote / constructor

Method constructor

contract/lib/Election.js:35–57  ·  view source on GitHub ↗

* * Election * * Constructor for an Election object. Specifies start and end date. * * @param items - an array of choices * @param election - what election you are making ballots for * @param voterId - the unique Id which corresponds to a registered voter * @returns - reg

(name, country, year, startDate, endDate)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

validateElectionMethod · 0.95

Tested by

no test coverage detected