Name | Lookup | Parameters | |
---|---|---|---|
claim_reward | 6000 | 5 | |
initialize | 6001 | 5 | |
set_lease_start | 6002 | 1 | |
set_lease_period | 6003 | 1 | |
set_contributions_root | 6004 | 1 | |
set_locked_at | 6005 | 1 | |
set_crowdloan_trie_index | 6006 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
ClaimPalletInitialized | 6000 | ||
RewardClaimed | 6001 | ["RelayChainAccountId","ParachainAccountIdOf","Balance"] | |
LockedAtUpdated | 6002 | ["BlockNumber"] | |
ContributionsRootUpdated | 6003 | ["RootHashOf"] | |
CrowdloanTrieIndexUpdated | 6004 | ["TrieIndex"] | |
LeaseStartUpdated | 6005 | ["BlockNumber"] | |
LeasePeriodUpdated | 6006 | ["BlockNumber"] |
Name | Type | |
---|---|---|
Contributions | {"origin":"PlainType","plain_type":"H256","PlainTypeValue":10} | |
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":424,"value_id":48}} | |
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 |