Name | Lookup | Parameters | |
---|---|---|---|
claim_rewards | 2800 | - | |
claim_crowdloan_rewards | 2801 | 1 | |
update_rewards | 2802 | 1 | |
register_crowdloan | 2803 | 5 |
Name | Lookup | Attributes | |
---|---|---|---|
RewardsVested | 2800 | ["Balance"] | |
ActualDoesntMatchAvailable | 2801 | ["RewardReason"] | |
FailedToSaveCalculatedReward | 2802 | ["AccountIdOf"] | |
CrowdloanClaimed | 2803 | ["AccountId","AssetId","Balance"] |
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}} |
Name | Type | Value | |
---|---|---|---|
GetMarketMakerRewardsAccountId | AccountId | 54734f90f971a02c609b2d684e61b5573ff6739bc94151fc45d6c34d3600e785 | |
GetFarmingRewardsAccountId | AccountId | 54734f90f971a02c609b2d684e61b557c5ab779bfebd4b6d74b82c5f991c4a6d | |
GetBondingCurveRewardsAccountId | AccountId | 54734f90f971a02c609b2d684e61b5572ead45212d81543b2d6d8124445d63af |
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 ofreward 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. |
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. |
UnableToGetBaseAssetPrice | Unable to get base asset price in XOR. XOR-base asset pair should exist on Polkaswap DEX. |
CrowdloanAlreadyExists | Crowdloan with given tag already registered |
WrongCrowdloanInfo | Wrong crowdloan data passed |
CrowdloanRewardsDistributionNotStarted | Crowdloan rewards distribution is not started |
CrowdloanDoesNotExists | Crowdloan does not exists |
NotCrowdloanParticipant | User is not crowdloan participant |