Zeitgeist
subscan
Runtime Modules / Parimutuel
Spec Version:
Call Functions
Name
Lookup
Parameters
buy3e002
claim_rewards3e011
claim_refunds3e021
Events
Name
Lookup
Attributes
OutcomeBought3e00["MarketIdOf","AccountIdOf","AssetOf","BalanceOf","BalanceOf"]
RewardsClaimed3e01["MarketIdOf","AssetOf","BalanceOf","BalanceOf","AccountIdOf"]
BalanceRefunded3e02["MarketIdOf","AssetOf","BalanceOf","AccountIdOf"]
Constants
Name
Type
Value
MinBetSizeU12800f2052a010000000000000000000000
PalletId[U8; 8]7a67652f70726d74
Error Types
Name
Docs
NoRewardShareOutstandingThere was no buyer for the winning outcome or all winners already claimed their rewards.Use the `refund` extrinsic to get the initial bet back,in case there was no buyer for the winning outcome.
MarketIsNotActiveThe market is not active.
AmountBelowMinimumBetSizeThe specified amount is below the minimum bet size.
NotParimutuelOutcomeThe specified asset is not a parimutuel share.
InvalidOutcomeAssetThe specified asset was not found in the market assets.
InvalidScoringRuleThe scoring rule is not parimutuel.
InsufficientBalanceThe specified amount can not be transferred.
MarketIsNotResolvedYetThe market is not resolved yet.
UnexpectedAn unexpected error occured. This should never happen!There was an internal coding mistake.
NoResolvedOutcomeThere is no resolved outcome present for the market.
RefundNotAllowedThe refund is not allowed.
RefundableBalanceIsZeroThere is no balance to refund.
NoWinningSharesThere is no reward, because there are no winning shares.
NotCategoricalOnly categorical markets are allowed for parimutuels.
NoRewardToDistributeThere is no reward to distribute.
InconsistentStateAction cannot be completed because an unexpected error has occurred. This should bereported to protocol maintainers.