23 releases (major breaking)

20.0.0 Sep 26, 2024
19.0.0 Jul 18, 2024
18.0.0 Jul 12, 2024
17.0.0 Jun 21, 2024
0.1.0-dev.2 Jul 27, 2023

#10 in #allowed

Download history 3/week @ 2024-07-25 35/week @ 2024-09-12 45/week @ 2024-09-19 195/week @ 2024-09-26 37/week @ 2024-10-03 98/week @ 2024-10-10 146/week @ 2024-10-17 180/week @ 2024-10-24 284/week @ 2024-10-31 10055/week @ 2024-11-07

10,701 downloads per month
Used in 8 crates (via polkadot-sdk)

Apache-2.0

2.5MB
44K SLoC

Release

Polkadot SDK stable2409


lib.rs:

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.

Dependencies

~18–32MB
~538K SLoC