Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

improve docs #526

Merged
merged 3 commits into from
Jul 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pallets/proof-of-stake/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ pub mod pallet {
>;

#[pallet::storage]
/// Stores information about pool weight and accumulated rewards
/// Stores information about pool weight and accumulated rewards. The accumulated
/// rewards amount is the number of rewards that can be claimed per liquidity
/// token. Here is tracked the number of rewards per liquidity token relationship.
/// Expect larger values when the number of liquidity tokens are smaller.
pub type PromotedPoolRewards<T: Config> =
StorageValue<_, BTreeMap<TokenId, PromotedPools>, ValueQuery>;

Expand Down