pub fn cleanup_expired_entries<T: Config>()
Expand description

Cleanup expired stake entries for the contract.

Entry is considered to be expired if:

  1. It’s from a past period & the account wasn’t a loyal staker, meaning there’s no claimable bonus reward.
  2. 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.