Name | Lookup | Parameters | |
|---|---|---|---|
| attach_ballot | 1f00 | 4 | |
| vote | 1f01 | 2 | |
| change_end | 1f02 | 2 | |
| change_meta | 1f03 | 2 | |
| change_rcv | 1f04 | 2 | |
| remove_ballot | 1f05 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Created | 1f00 | ||
| VoteCast | 1f01 | ||
| RangeChanged | 1f02 | ||
| MetaChanged | 1f03 | ||
| RCVChanged | 1f04 | ||
| Removed | 1f05 |
Name | Type | |
|---|---|---|
| Metas | {"origin":"MapType","map_type":{"key":"CAId","hasher":"Blake2_128Concat","value":"BallotMeta","isLinked":false}} | |
| TimeRanges | {"origin":"MapType","map_type":{"key":"CAId","hasher":"Blake2_128Concat","value":"BallotTimeRange","isLinked":false}} | |
| MotionNumChoices | {"origin":"MapType","map_type":{"key":"CAId","hasher":"Blake2_128Concat","value":"Vec<u16>","isLinked":false}} | |
| RCV | {"origin":"MapType","map_type":{"key":"CAId","hasher":"Blake2_128Concat","value":"bool","isLinked":false}} | |
| Results | {"origin":"MapType","map_type":{"key":"CAId","hasher":"Blake2_128Concat","value":"Vec<Balance>","isLinked":false}} | |
| Votes | {"origin":"DoubleMapType","double_map_type":{"key":"CAId","key2":"IdentityId","hasher":"Blake2_128Concat","key2Hasher":"Identity","value":"Vec<BallotVote>","isLinked":false}} |
Name | Docs |
|---|---|
| CANotNotice | A corporate ballot was made for a non `IssuerNotice` CA. |
| AlreadyExists | A corporate ballot already exists for this CA. |
| NoSuchBallot | A corporate ballot doesn't exist for this CA. |
| StartAfterEnd | A corporate ballot's start time was strictly after the ballot's end. |
| NowAfterEnd | A corporate ballot's end time was strictly before the current time. |
| NumberOfChoicesOverflow | If some motion in a corporate ballot has more choices than would fit in `u16`. |
| VotingAlreadyStarted | Voting started already. Amending a ballot is no longer possible. |
| VotingNotStarted | Voting hasn't started yet. |
| VotingAlreadyEnded | Voting ended already. |
| WrongVoteCount | Provided list of balances does not match the total number of choices. |
| InsufficientVotes | Voting power used by a DID on a motion exceeds that which is available to them. |
| NoSuchRCVFallback | The RCV fallback of some choice does not exist. |
| RCVSelfCycle | The RCV fallback points to the origin choice. |
| RCVNotAllowed | RCV is not allowed for this ballot. |