Type Alias pallet_dapp_staking::BonusUpdateStateFor
source · pub type BonusUpdateStateFor<T> = BonusUpdateState<<T as Config>::AccountId, <T as Config>::SmartContract>;
Expand description
TODO: remove it once all BonusStatus are updated and the ActiveBonusUpdateCursor
storage value is cleanup.
Aliased Type§
enum BonusUpdateStateFor<T> {
NotInProgress,
InProgress((<T as Config>::AccountId, <T as Config>::SmartContract)),
Finished,
}
Variants§
NotInProgress
No update in progress yet
InProgress((<T as Config>::AccountId, <T as Config>::SmartContract))
Update in progress for the current cursor
Finished
All updates have been finished