# Plasm Reward Module ## Overview The Plasm rewards module provides functionality for handling whole rewards and era [`more (??? where)...`](https://docs.plasmnet.io) - [`plasm_rewards::Trait`](./trait.Trait.html) - [`Call`](./enum.Call.html) - [`Module`](./struct.Module.html) ## Interface ### Dispatchable Functions * `active_era` - The active era information, it holds index and start * `bondedEras` - A mapping from still-bonded eras to the first session index of that era * `current_era` - The current era index * `eras_start_session_index` - The session index at which the era start for the last `HISTORY_DEPTH` eras * `for_dapps_era_reward` - The compensation paid for the dapps operator of the Plasm Network * `for_security_era_reward` - The compensation paid for the security of the Plasm Network * `force_era` - True if the next session change will be a new era regardless of index * `history_depth` - Number of era to keep in history * `storageVersion` - Storage version of the pallet ## Structs * `Module` - dAppsStaking module declaration ## Enums * `Call` - Dispatchable calls. * `Event` - Events for this module * `Error` - Errors for this module * ## Constants * `SessionsPerEra` - Sessions per era ## Related Modules - [Plasm-Reward](../plasm-rewards/README.md): The Reward module for Plasm Network. License: Apache-2.0