Name | Lookup | Parameters | |
---|---|---|---|
claim_rewards | 2800 | - | |
claim_crowdloan_rewards | 2801 | 1 | |
inject_market_makers | 2802 | 1 | |
set_asset_pair | 2803 | 3 |
Name | Lookup | Attributes | |
---|---|---|---|
RewardsVested | 2800 | ||
ActualDoesntMatchAvailable | 2801 | ||
FailedToSaveCalculatedReward | 2802 | ||
AddingZeroMarketMakerReward | 2803 | ||
NoEligibleMarketMakers | 2804 |
Name | Type | |
---|---|---|
Rewards | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"RewardInfo","isLinked":false}} | |
TotalRewards | {"origin":"PlainType","plain_type":"Balance"} | |
MarketMakersRegistry | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"MarketMakerInfo","isLinked":false}} | |
MarketMakingPairs | {"origin":"DoubleMapType","double_map_type":{"key":"AssetId","key2":"AssetId","hasher":"Blake2_128Concat","key2Hasher":"Blake2_128Concat","value":"Null","isLinked":false}} | |
CrowdloanRewards | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"CrowdloanReward","isLinked":false}} | |
CrowdloanClaimHistory | {"origin":"DoubleMapType","double_map_type":{"key":"AccountId","key2":"AssetId","hasher":"Blake2_128Concat","key2Hasher":"Blake2_128Concat","value":"BlockNumber","isLinked":false}} |
Name | Docs |
---|---|
NothingToClaim | Account has no pending rewards to claim. |
ClaimLimitExceeded | Account has pending rewards but it has not been vested yet. |
UnhandledRewardType | Attempt to claim rewards of type, which is not handled. |
RewardsSupplyShortage | Account holding dedicated reward reserves is empty. This likely means that some of reward programmes have finished. |
IncRefError | Increment account reference error. |
CantSubtractSnapshot | Attempt to subtract more via snapshot than assigned to user. |
CantCalculateReward | Failed to perform reward calculation. |
MarketMakingPairAlreadyAllowed | The market making pair already allowed. |
MarketMakingPairAlreadyDisallowed | The market making pair is disallowed. |
NoRewardsForAsset | There are no rewards for the asset ID. |
ArithmeticError | Something is wrong with arithmetic - overflow happened, for example. |
NumberConversionError | This error appears on wrong conversion of a number into another type. |