Zeitgeist
subscan
Runtime Modules / GlobalDisputes
Spec Version:
Events
Name
Lookup
Attributes
AddedVotingOutcome3b00["MarketIdOf","AccountIdOf","OutcomeReport"]
GlobalDisputeWinnerDetermined3b01["MarketIdOf"]
OutcomeOwnersRewarded3b02["MarketIdOf","Vec<AccountIdOf>"]
OutcomeOwnerRewarded3b03["MarketIdOf","AccountIdOf"]
OutcomesPartiallyCleaned3b04["MarketIdOf"]
OutcomesFullyCleaned3b05["MarketIdOf"]
VotedOnOutcome3b06["AccountIdOf","MarketIdOf","OutcomeReport","BalanceOf"]
Storage Functions
Name
Type
Locks{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:U128U128>","keys_id":0,"value_id":538}}
Outcomes{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Blake2_128Concat"],"key_vec":["U128","zeitgeist_primitives:outcome_report:OutcomeReport"],"value":"zrml_global_disputes:types:OutcomeInfo","keys_id":541,"value_id":542}}
GlobalDisputesInfo{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U128"],"value":"zrml_global_disputes:types:GlobalDisputeInfo","keys_id":6,"value_id":545}}
Winners{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U128"],"value":"zrml_global_disputes:types:OldWinnerInfo","keys_id":6,"value_id":547}}
Constants
Name
Type
Value
AddOutcomePeriodU64201c000000000000
GlobalDisputeLockId[U8; 8]7a67652f67646c6b
GlobalDisputesPalletId[U8; 8]7a67652f676c6470
MaxGlobalDisputeVotesU3232000000
MaxOwnersU320a000000
MinOutcomeVoteAmountU12800e87648170000000000000000000000
RemoveKeysLimitU32fa000000
GdVotingPeriodU64e0c4000000000000
VotingOutcomeFeeU12800204aa9d10100000000000000000000
Error Types
Name
Docs
AmountTooLowSender tried to vote with an amount below a defined minimum.
InvalidGlobalDisputeStatusThe global dispute status is invalid for this operation.
InsufficientAmountSender does not have enough funds for the vote on an outcome.
MaxOwnersReachedThe maximum amount of owners is reached.
MaxVotesReachedThe maximum number of votes for this account is reached.
NoFundsToRewardThe amount in the reward pot is zero.
GlobalDisputeNotFoundNo global dispute present at the moment.
OutcomeAlreadyExistsThe voting outcome has been already added.
OutcomeDoesNotExistThe outcome specified is not present in the voting outcomes.
OutcomeMismatchSubmitted outcome does not match market type.
OutcomesNotFullyCleanedThe outcomes are not fully cleaned yet.
SharedPossessionRequiredOnly a shared possession is allowed.
UnfinishedGlobalDisputeThe global dispute period is not over yet. The winner is not yet determined.
AddOutcomePeriodIsOverThe period in which outcomes can be added is over.
NotInGdVotingPeriodIt is not inside the period in which votes are allowed.
GlobalDisputeNotDestroyedThe operation requires a global dispute in a destroyed state.
GlobalDisputeAlreadyExistsThe global dispute was already started.