Type Alias withdraw_overstake

withdraw_overstake: TxDescriptor<{ stash: SS58String }>

Adjusts the staking ledger by withdrawing any excess staked amount.

This function corrects cases where a user's recorded stake in the ledger exceeds their actual staked funds. This situation can arise due to cases such as external slashing by another pallet, leading to an inconsistency between the ledger and the actual stake.