Module pallet_tidefi_stake::pallet
source · Expand description
The module that hosts all the FRAME types needed to add this pallet to a runtime.
Structs
Genesis configuration
Enums
Contains one variant per dispatchable that can be called by an extrinsic.
Custom dispatch errors
of this pallet.
Traits
Configure the pallet by specifying the parameters and types on which it depends.
Type Definitions
Account staking by CurrencyID
The last session we should compound the account interests.
ModuleDeprecated
Type alias to
Pallet
, to be used by construct_runtime
.Operator account
Map from all pending stored sessions.
The total fees for the session.
If total hasn’t been set or has been removed then 0 stake is returned.
Staking metadata defined by the council (minimum and maximum stake amount)
Staking rewards defined by the council
Staking pool
The percentage of fee when unstake is done before the ending.