Name | Lookup | Parameters | |
|---|---|---|---|
| vote | 2900 | 2 | |
| delegate | 2901 | 4 | |
| undelegate | 2902 | 1 | |
| unlock | 2903 | 2 | |
| remove_vote | 2904 | 2 | |
| remove_other_vote | 2905 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Delegated | 2900 | ["AccountId","AccountId","ClassOf"] | |
| Undelegated | 2901 | ["AccountId","ClassOf"] | |
| Voted | 2902 | ["AccountId","AccountVote<BalanceOf>","PollIndexOf"] | |
| VoteRemoved | 2903 | ["AccountId","AccountVote<BalanceOf>","PollIndexOf"] | |
| VoteUnlocked | 2904 | ["AccountId","ClassOf"] |
Name | Type | |
|---|---|---|
| VotingFor | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["H160","U16"],"value":"pallet_conviction_voting:vote:Voting","keys_id":662,"value_id":663}} | |
| ClassLocksFor | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["H160"],"value":"Vec<Tuple:U16U128>","keys_id":0,"value_id":671}} |
Name | Type | Value | |
|---|---|---|---|
| MaxVotes | U32 | 14000000 | |
| VoteLockingPeriod | U32 | 40380000 |
Name | Docs |
|---|---|
| NotOngoing | Poll is not ongoing. |
| NotVoter | The given account did not vote on the poll. |
| NoPermission | The actor has no permission to conduct the action. |
| NoPermissionYet | The actor has no permission to conduct the action right now but will do in the future. |
| AlreadyDelegating | The account is already delegating. |
| AlreadyVoting | The account currently has votes attached to it and the operation cannot succeed untilthese are removed through `remove_vote`. |
| InsufficientFunds | Too high a balance was provided that the account cannot afford. |
| NotDelegating | The account is not currently delegating. |
| Nonsense | Delegation to oneself makes no sense. |
| MaxVotesReached | Maximum number of votes reached. |
| ClassNeeded | The class must be supplied since it is not easily determinable from the state. |
| BadClass | The class ID supplied is invalid. |