Function pallet_liquidity_rewards::pallet::dispatchables::unstake
source · pub fn unstake<T: Config>(currency_id: T::CurrencyId, amount: T::Balance)
Expand description
Withdraw a stake amount associated to a currency for the origin’s account. The account must have enough currency staked to make the withdraw, if not, an Err will be returned.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::unstake
.