Module pallet_capacity::types
source · Expand description
Types for the Capacity Pallet
Structs
- The type for storing Registered Provider Capacity balance:
- The type for storing details about an epoch. May evolve to store other needed data such as epoch_end.
- The type used for storing information about staking details.
- Details about the total token amount targeted to an MSA. The Capacity that the target will receive.
- The type that is used to record a single request for a number of tokens to be unlocked.
Enums
- The type of staking a given Staking Account is doing.
Functions
- Deletes thawed chunks Caller is responsible for updating free/locked balance on the token account. Returns: the total amount reaped from
unlocking
- Computes and returns the total token held in an UnlockChunkList.
Type Aliases
- A BoundedVec containing UnlockChunks