Crowdloan Rewards Pallet Extrinsics

Initialize

initialize

Initialize the pallet at the current transaction block.

Initialize At

initialize_at

Initialize the pallet at the given transaction block.

Populate

populate

Populate pallet by adding more rewards. Can be called multiple times. If an remote account already has a reward, it will be replaced by the new reward value. Can only be called before initialize.

Associate

associate

Associate a reward account. A valid proof has to be provided. This call also claim the first reward (a.k.a. the first payment, which is a % of the vested reward). If logic gate pass, no fees are applied.

The proof should be:

proof = sign (concat prefix (hex reward_account))

Claim

claim

Claim a reward from the associated reward account. A previous call to associate should have been made. If logic gate pass, no fees are applied.