Module pallet_crowdloan_rewards::pallet::dispatchables
source · Expand description
Auto-generated docs-only module listing all defined dispatchables for this pallet.
Warning: Doc-Only
Members of this module cannot be used directly and are only provided for documentation
purposes. To see the real version of each dispatchable, look for them in Pallet
or
Call
.
Functions
- Associate a native rewards_destination identity with a crowdloan contribution.
- Change reward account by submitting proofs from relay accounts
- Collect rewards from particular crowdloan. If crowdloan_id is not set current
CrowdloanId
id will be used. Caller is instantly rewarded with [InitializationPayment
] % of available rewards, remaining funds are locked according to schedule(usingpallet_mangata_vesting
configured byPallet::<T>::complete_initialization
call. - This extrinsic completes the initialization if some checks are fullfiled. These checks are: -The reward contribution money matches the crowdloan pot -The end vesting block is higher than the init vesting block -The initialization has not complete yet
- Initialize the reward distribution storage. It shortcuts whenever an error is found This does not enforce any checks other than making sure we dont go over funds complete_initialization should perform any additional
- Initialize the reward distribution storage. It shortcuts whenever an error is found Sets crowdloan allocation for:
- Update reward address, proving that the caller owns the current native key