SORA
subscan
Runtime Modules / VestedRewards
Spec Version:
Call Functions
Name
Lookup
Parameters
claim_rewards2800-
claim_crowdloan_rewards28011
update_rewards28021
Events
Name
Lookup
Attributes
RewardsVested2800["Balance"]
ActualDoesntMatchAvailable2801["RewardReason"]
FailedToSaveCalculatedReward2802["AccountIdOf"]
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":601}}
TotalRewards{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
CrowdloanRewards{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"vested_rewards:CrowdloanReward","keys_id":0,"value_id":602}}
CrowdloanClaimHistory{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","[U8; 32]"],"value":"U32","keys_id":511,"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.
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.