Function farming::pallet::dispatchables::withdraw
source · pub fn withdraw<T: Config>(
pool_currency_id: <<T as Config>::MultiCurrency as MultiCurrency<<T as Config>::AccountId>>::CurrencyId,
amount: <<T as Config>::MultiCurrency as MultiCurrency<<T as Config>::AccountId>>::Balance,
length_rewards: u32
)
Expand description
Unstake the pool tokens from the reward pool
pool_currency_id
: LP token to withdrawamount
: of LP token to withdrawlength_rewards
: upper bound for number of reward currencies
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::withdraw
.