Composable’s Implementation of the Crowdloan Rewards Pallet

Crowdloan pallet overview


Account Association and Claiming

Unsigned Transactions and Spam Prevention

  • The transaction payload contains the necessary information for validation (a reward account ID and proof) (#L518 in the codebase linked above)
  • The pallet has been initialized (#L523)
  • The reward account associated with the ID has not been associated with a remote account. If an account is already associated, their transactions should be signed (#L527)
  • That a remote account can be retrieved from the valid proof (#L530)
  • The reward account has a positive amount to claim (#L537)
Flowchart of our implementation of ValidateUnsigned





The face of DeFi's future.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

{UPDATE} Tornado último homem em pé 202 Hack Free Resources Generator

{UPDATE} Extreme Flying Car Simulator 3D Hack Free Resources Generator

Phaver | $10,000 Phaver $GOV Tokens Giveaway for 50 Winners!

Asimovian take on computer security — part 1

{UPDATE} Star Girl: Moda Itália Hack Free Resources Generator

{UPDATE} Christmas Word Search Master Hack Free Resources Generator

The Importance of Digital Privacy

{UPDATE} letní sportovní hry: atletika Hack Free Resources Generator

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Composable Finance

Composable Finance

The face of DeFi's future.

More from Medium

Clover Wallet — a ticket to the Web3 multichain space

A Beginner’s Guide to Composable Finance

Centrifuge Q&A with Polkaswap

Moonriver Adds Cross-Chain Capabilities, Introduces xcKSM