Name | Lookup | Parameters | |
|---|---|---|---|
| vote | 8200 | 3 | |
| unlock | 8201 | 2 | |
| remove_delegator_vote | 8202 | 4 | |
| kill_referendum | 8203 | 2 | |
| add_delegator | 8204 | 2 | |
| set_referendum_status | 8205 | 3 | |
| set_vote_locking_period | 8206 | 2 | |
| set_undeciding_timeout | 8207 | 2 | |
| notify_vote | 8208 | 2 | |
| notify_remove_delegator_vote | 820a | 2 | |
| set_vote_cap_ratio | 820b | 2 | |
| update_referendum_vote_status | 820c | 3 | |
| delegate | 820d | 4 | |
| undelegate | 820e | 1 | |
| delegate_vote | 820f | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| VotedV2 | 8200 | ["AccountIdOf","CurrencyIdOf","AccountVote<BalanceOf>","Vec<(PollIndex, VoteItemList)>"] | |
| Unlocked | 8201 | ["AccountIdOf","CurrencyIdOf","Option<PollIndex>"] | |
| DelegatorVoteRemoved | 8202 | ["AccountIdOf","CurrencyIdOf","DerivativeIndex"] | |
| DelegatorAdded | 8203 | ["CurrencyIdOf","DerivativeIndex"] | |
| ReferendumInfoCreated | 8204 | ["CurrencyIdOf","PollIndex","ReferendumInfoOf"] | |
| ReferendumInfoSet | 8205 | ["CurrencyIdOf","PollIndex","ReferendumInfoOf"] | |
| VoteLockingPeriodSet | 8206 | ["CurrencyIdOf","BlockNumberFor"] | |
| UndecidingTimeoutSet | 8207 | ["CurrencyIdOf","BlockNumberFor"] | |
| ReferendumKilled | 8208 | ["CurrencyIdOf","PollIndex"] | |
| VoteNotifiedV2 | 8209 | ["CurrencyIdOf","Vec<PollIndex>","bool"] | |
| DelegatorVoteRemovedNotified | 820a | ["CurrencyIdOf","PollIndex","bool"] | |
| ResponseReceived | 820b | ["Location","QueryId","Response"] | |
| VoteCapRatioSet | 820c | ["CurrencyIdOf","Perbill"] | |
| ReferendumStatusUpdated | 820d | ["CurrencyIdOf","PollIndex","ReferendumVoteStatus"] | |
| Delegated | 820e | ["AccountIdOf","AccountIdOf"] | |
| Undelegated | 820f | ["AccountId"] |
Name | Type | |
|---|---|---|
| ReferendumInfoFor | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId","U32"],"value":"bifrost_vtoken_voting:vote:ReferendumInfo","keys_id":944,"value_id":506}} | |
| VotingForV2 | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId","AccountId"],"value":"bifrost_vtoken_voting:vote:Voting","keys_id":998,"value_id":1026}} | |
| ClassLocksFor | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:bifrost_primitives:currency:CurrencyIdU128>","keys_id":0,"value_id":1033}} | |
| PendingReferendumInfo | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Tuple:bifrost_primitives:currency:CurrencyIdVec<U32>","keys_id":12,"value_id":1034}} | |
| PendingVotingInfo | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Tuple:bifrost_primitives:currency:CurrencyIdAccountIdbounded_collections:bounded_vec:BoundedVec@1036","keys_id":12,"value_id":1035}} | |
| PendingRemoveDelegatorVote | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Tuple:bifrost_primitives:currency:CurrencyIdU32U16","keys_id":12,"value_id":1042}} | |
| VoteLockingPeriod | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":333,"value_id":4}} | |
| UndecidingTimeout | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":333,"value_id":4}} | |
| Delegators | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"Vec<U16>","keys_id":333,"value_id":1043}} | |
| VoteCapRatio | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":333,"value_id":49}} | |
| DelegatorVotes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId","U32"],"value":"Vec<Tuple:U16bifrost_vtoken_voting:vote:AccountVote>","keys_id":944,"value_id":1045}} | |
| PendingDelegatorVotes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId","U32"],"value":"Vec<Tuple:U16bifrost_vtoken_voting:vote:AccountVote>","keys_id":944,"value_id":1045}} | |
| ReferendumTimeoutV3 | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId","U32"],"value":"Vec<U32>","keys_id":944,"value_id":986}} | |
| VoteDelegatorFor | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat","Twox64Concat"],"key_vec":["AccountId","bifrost_primitives:currency:CurrencyId","U32"],"value":"U16","keys_id":1046,"value_id":53}} | |
| ReferendumVoteStatusStore | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId","U32"],"value":"bifrost_vtoken_voting:vote:ReferendumVoteStatus","keys_id":944,"value_id":509}} |
Name | Type | Value | |
|---|---|---|---|
| ParachainId | U32 | ee070000 | |
| MaxVotes | U32 | 00010000 | |
| QueryTimeout | U32 | 64000000 | |
| ReferendumCheckInterval | U32 | 58020000 | |
| RelayVCurrency | bifrost_primitives:currency:CurrencyId | 0900 | |
| PalletId | [U8; 8] | 62662f7674766f74 | |
| MaxVotesPerDelegate | U32 | 0a000000 |
Name | Docs |
|---|---|
| XcmFailure | XCM execution Failure |
| VTokenNotSupport | The given currency is not supported. |
| DerivativeIndexOccupied | Derivative index occupied. |
| PendingVote | Another vote is pending. |
| PendingUpdateReferendumStatus | Another update referendum status is pending. |
| NoData | No data available in storage. |
| NotOngoing | Poll is not ongoing. |
| NotCompleted | Poll is not completed. |
| NotKilled | Poll is not killed. |
| NotExpired | Poll is not expired. |
| 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. |
| InsufficientFunds | Too high a balance was provided that the account cannot afford. |
| MaxVotesReached | Maximum number of votes reached. |
| TooMany | Maximum number of items reached. |
| NotStandardVote | The given vote is not Standard vote. |
| InvalidConviction | The given conviction is not valid. |
| OutOfRange | The given value is out of range. |
| InvalidCallDispatch | |
| CallDecodeFailed | |
| Nonsense | Delegation to oneself makes no sense. |
| AlreadyVoting | The account currently has votes attached to it and the operation cannot succeed untilthese are removed through `remove_vote`. |
| NotDelegating | The account is not currently delegating. |
| AccessPollFailure | Try access poll Failure |
| TooManyVotes | Too many votes for a delegate. |
| NeedPollIndex | The parameter needs to pass in pollIndex. |
| AlreadyCompleted | Poll was already completed. |
| AlreadyKilled | Poll was already killed. |
| SubmittedBlockNumberMustBeBiggerThanStartBlockNumber | The block number submitted must be greater than the starting block number. |