SORA
subscan
Runtime Modules / VestedRewards
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
RewardsVested2800["Balance"]
ActualDoesntMatchAvailable2801["RewardReason"]
FailedToSaveCalculatedReward2802["AccountIdOf"]
CrowdloanClaimed2803["AccountId","AssetId","Balance"]
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":704}}
TotalRewards{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
CrowdloanInfos{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"vested_rewards:CrowdloanInfo","keys_id":389,"value_id":705}}
CrowdloanUserInfos{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"vested_rewards:CrowdloanUserInfo","keys_id":706,"value_id":707}}
Constants
Name
Type
Value
GetMarketMakerRewardsAccountIdAccountId54734f90f971a02c609b2d684e61b5573ff6739bc94151fc45d6c34d3600e785
GetFarmingRewardsAccountIdAccountId54734f90f971a02c609b2d684e61b557c5ab779bfebd4b6d74b82c5f991c4a6d
GetBondingCurveRewardsAccountIdAccountId54734f90f971a02c609b2d684e61b5572ead45212d81543b2d6d8124445d63af
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.
CrowdloanAlreadyExistsCrowdloan with given tag already registered
WrongCrowdloanInfoWrong crowdloan data passed
CrowdloanRewardsDistributionNotStartedCrowdloan rewards distribution is not started
CrowdloanDoesNotExistsCrowdloan does not exists
NotCrowdloanParticipantUser is not crowdloan participant