Name | Lookup | Parameters | |
---|---|---|---|
claim_reward | 5d00 | 5 | |
initialize | 5d01 | 5 | |
set_lease_start | 5d02 | 1 | |
set_lease_period | 5d03 | 1 | |
set_contributions_root | 5d04 | 1 | |
set_locked_at | 5d05 | 1 | |
set_crowdloan_trie_index | 5d06 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
ClaimPalletInitialized | 5d00 | ||
RewardClaimed | 5d01 | ["RelayChainAccountId","ParachainAccountIdOf","Balance"] | |
LockedAtUpdated | 5d02 | ["BlockNumber"] | |
ContributionsRootUpdated | 5d03 | ["RootHashOf"] | |
CrowdloanTrieIndexUpdated | 5d04 | ["TrieIndex"] | |
LeaseStartUpdated | 5d05 | ["BlockNumber"] | |
LeasePeriodUpdated | 5d06 | ["BlockNumber"] |
Name | Type | |
---|---|---|
Contributions | {"origin":"PlainType","plain_type":"H256","PlainTypeValue":9} | |
LockedAt | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
CrowdloanTrieIndex | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
ProcessedClaims | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId","U32"],"value":"Bool","keys_id":344,"value_id":45}} | |
CurrIndex | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
PrevIndex | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
LeaseStart | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
LeasePeriod | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 63632f636c61696d |
Name | Docs |
---|---|
PalletAlreadyInitialized | Cannot re-initialize the pallet |
PalletNotInitialized | Cannot call reward before pallet is initialized |
ClaimAlreadyProcessed | Claim has already been processed (replay attack, probably) |
InvalidProofOfContribution | The proof of a contribution is invalid |
ClaimedAmountIsOutOfBoundaries | Claimed amount is out of boundaries (too low or too high) |
MustBeAdministrator | Sensitive transactions can only be performed by administrator entity (e.g. Sudo or Democracy pallet) |
InvalidClaimAmount | The reward amount that is claimed does not correspond to the one of the contribution |
InvalidContributorSignature | The signature provided by the contributor when registering is not valid.The consequence is that the relaychain and parachain accounts being notassociated, the contributor is not elligible for a reward payout. |
OngoingLease | A lease is ongoging and the pallet can henced not be initialized again |
OutOfLeasePeriod | Claiming rewards is only possible during a lease |