pallet_grants::pallet::dispatchables

Function cancel_all_vesting_schedules

Source
pub fn cancel_all_vesting_schedules<T: Config>(
    who: <T::Lookup as StaticLookup>::Source,
    funds_collector: <T::Lookup as StaticLookup>::Source,
)
Expand description

Cancel all vested schedules for the given user. If there are coins to be claimed they will be auto claimed for the given user. If limit_to_free_balance is set to true we will not error if the free balance of who has less coins than what was granted and is being revoked (useful if the state was corrupted).

ยงWarning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::cancel_all_vesting_schedules.