Name | Lookup | Parameters | |
---|---|---|---|
vote | 8200 | 3 | |
unlock | 8201 | 2 | |
remove_delegator_vote | 8202 | 3 | |
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 |
Name | Lookup | Attributes | |
---|---|---|---|
Voted | 8200 | ["AccountIdOf","CurrencyIdOf","PollIndex","AccountVote<BalanceOf>","AccountVote<BalanceOf>"] | |
Unlocked | 8201 | ["AccountIdOf","CurrencyIdOf","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"] | |
VoteNotified | 8209 | ["CurrencyIdOf","PollIndex","bool"] | |
DelegatorVoteRemovedNotified | 820a | ["CurrencyIdOf","PollIndex","bool"] | |
ResponseReceived | 820b | ["MultiLocation","QueryId","Response"] | |
VoteCapRatioSet | 820c | ["CurrencyIdOf","Perbill"] |
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":737,"value_id":371}} | |
VotingFor | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"bifrost_vtoken_voting:vote:Voting","keys_id":0,"value_id":812}} | |
ClassLocksFor | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:bifrost_primitives:currency:CurrencyIdU128>","keys_id":0,"value_id":819}} | |
PendingReferendumInfo | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Tuple:bifrost_primitives:currency:CurrencyIdU32","keys_id":11,"value_id":737}} | |
PendingVotingInfo | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Tuple:bifrost_primitives:currency:CurrencyIdU32U16AccountIdoption<Tuple:bifrost_vtoken_voting:vote:AccountVoteU128>","keys_id":11,"value_id":820}} | |
PendingRemoveDelegatorVote | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Tuple:bifrost_primitives:currency:CurrencyIdU32U16","keys_id":11,"value_id":823}} | |
VoteLockingPeriod | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":251,"value_id":4}} | |
UndecidingTimeout | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":251,"value_id":4}} | |
Delegators | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"Vec<U16>","keys_id":251,"value_id":824}} | |
VoteCapRatio | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":251,"value_id":332}} | |
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":737,"value_id":826}} | |
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":737,"value_id":826}} | |
ReferendumTimeout | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<Tuple:bifrost_primitives:currency:CurrencyIdU32>","keys_id":4,"value_id":829}} | |
VoteDelegatorFor | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat","Twox64Concat"],"key_vec":["AccountId","bifrost_primitives:currency:CurrencyId","U32"],"value":"U16","keys_id":831,"value_id":56}} |
Name | Type | Value | |
---|---|---|---|
ParachainId | U32 | ee070000 | |
MaxVotes | U32 | 00010000 | |
QueryTimeout | U32 | 64000000 | |
ReferendumCheckInterval | U32 | 2c010000 |
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. |