subscan
Runtime Modules / VtokenVoting
Spec Version:
Events
Name
Lookup
Attributes
Voted8200["AccountIdOf","CurrencyIdOf","PollIndex","AccountVote<BalanceOf>","AccountVote<BalanceOf>"]
Unlocked8201["AccountIdOf","CurrencyIdOf","PollIndex"]
DelegatorVoteRemoved8202["AccountIdOf","CurrencyIdOf","DerivativeIndex"]
DelegatorAdded8203["CurrencyIdOf","DerivativeIndex"]
ReferendumInfoCreated8204["CurrencyIdOf","PollIndex","ReferendumInfoOf"]
ReferendumInfoSet8205["CurrencyIdOf","PollIndex","ReferendumInfoOf"]
VoteLockingPeriodSet8206["CurrencyIdOf","BlockNumberFor"]
UndecidingTimeoutSet8207["CurrencyIdOf","BlockNumberFor"]
ReferendumKilled8208["CurrencyIdOf","PollIndex"]
VoteNotified8209["CurrencyIdOf","PollIndex","bool"]
DelegatorVoteRemovedNotified820a["CurrencyIdOf","PollIndex","bool"]
ResponseReceived820b["MultiLocation","QueryId","Response"]
VoteCapRatioSet820c["CurrencyIdOf","Perbill"]
Storage Functions
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}}
Constants
Name
Type
Value
ParachainIdU32ee070000
MaxVotesU3200010000
QueryTimeoutU3264000000
ReferendumCheckIntervalU322c010000
Error Types
Name
Docs
XcmFailureXCM execution Failure
VTokenNotSupportThe given currency is not supported.
DerivativeIndexOccupiedDerivative index occupied.
PendingVoteAnother vote is pending.
PendingUpdateReferendumStatusAnother update referendum status is pending.
NoDataNo data available in storage.
NotOngoingPoll is not ongoing.
NotCompletedPoll is not completed.
NotKilledPoll is not killed.
NotExpiredPoll is not expired.
NotVoterThe given account did not vote on the poll.
NoPermissionThe actor has no permission to conduct the action.
NoPermissionYetThe actor has no permission to conduct the action right now but will do in the future.
AlreadyDelegatingThe account is already delegating.
InsufficientFundsToo high a balance was provided that the account cannot afford.
MaxVotesReachedMaximum number of votes reached.
TooManyMaximum number of items reached.
NotStandardVoteThe given vote is not Standard vote.
InvalidConvictionThe given conviction is not valid.
OutOfRangeThe given value is out of range.