Function pallet_quota::is_eligible_for_refund
source · pub(crate) fn is_eligible_for_refund<T: Config>(_identity: IdtyId<T>) -> bool
Expand description
Checks if an identity is eligible for a refund.
This function returns true
for all identities, regardless of their status.
If the identity has no quotas or has been deleted, the refund request is still queued,
but when handled, no refund will be issued (and NoQuotaForIdty
may be raised).