Function pallet_dapp_staking::pallet::dispatchables::cleanup_expired_entries
source · pub fn cleanup_expired_entries<T: Config>()
Expand description
Cleanup expired stake entries for the contract.
Entry is considered to be expired if:
- It’s from a past period & the account wasn’t a loyal staker, meaning there’s no claimable bonus reward.
- It’s from a period older than the oldest claimable period, regardless whether the account was loyal or not.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::cleanup_expired_entries
.