SORA
subscan
Runtime Modules / VestedRewards
Spec Version:
Call Functions
Name
Lookup
Parameters
claim_rewards2800-
claim_crowdloan_rewards28011
set_asset_pair28023
Events
Name
Lookup
Attributes
RewardsVested2800["Balance"]
ActualDoesntMatchAvailable2801["RewardReason"]
FailedToSaveCalculatedReward2802["AccountIdOf"]
AddingZeroMarketMakerReward2803["AccountIdOf"]
NoEligibleMarketMakers2804
Storage Functions
Name
Type
Rewards{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"vested_rewards:RewardInfo","keys_id":0,"value_id":581}}
TotalRewards{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
MarketMakersRegistry{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"vested_rewards:MarketMakerInfo","keys_id":0,"value_id":585}}
MarketMakingPairs{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 32]","[U8; 32]"],"value":"NULL","keys_id":521,"value_id":39}}
CrowdloanRewards{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"vested_rewards:CrowdloanReward","keys_id":0,"value_id":586}}
CrowdloanClaimHistory{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","[U8; 32]"],"value":"U32","keys_id":491,"value_id":4}}
Error Types
Name
Docs
NothingToClaimAccount has no pending rewards to claim.
ClaimLimitExceededAccount has pending rewards but it has not been vested yet.
UnhandledRewardTypeAttempt to claim rewards of type, which is not handled.
RewardsSupplyShortageAccount holding dedicated reward reserves is empty. This likely means that some ofreward programmes have finished.
IncRefErrorIncrement account reference error.
CantSubtractSnapshotAttempt to subtract more via snapshot than assigned to user.
CantCalculateRewardFailed to perform reward calculation.
MarketMakingPairAlreadyAllowedThe market making pair already allowed.
MarketMakingPairAlreadyDisallowedThe market making pair is disallowed.
NoRewardsForAssetThere are no rewards for the asset ID.
ArithmeticErrorSomething is wrong with arithmetic - overflow happened, for example.
NumberConversionErrorThis error appears on wrong conversion of a number into another type.
UnableToGetBaseAssetPriceUnable to get base asset price in XOR. XOR-base asset pair should exist on Polkaswap DEX.