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 did not maintain an eligible bonus status, meaning there’s no claimable bonus reward.
- It’s from a period older than the oldest claimable period, regardless of whether the account had an eligible bonus status 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
.