Crate pallet_statement

source ·
Expand description

Supporting pallet for the statement store.

Overview

The Statement pallet provides means to create and validate statements for the statement store.

For each statement validation function calculates the following three values based on the statement author balance: max_count: Maximum number of statements allowed for the author (signer) of this statement. max_size: Maximum total size of statements allowed for the author (signer) of this statement.

This pallet also contains an offchain worker that turns on-chain statement events into statements. These statements are placed in the store and propagated over the network.

Re-exports

Modules

  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.