Function farming::pallet::dispatchables::deposit
source · pub fn deposit<T: Config>(
pool_currency_id: <<T as Config>::MultiCurrency as MultiCurrency<<T as Config>::AccountId>>::CurrencyId,
length_rewards: u32
)
Expand description
Stake all pool tokens in the reward pool
pool_currency_id
: LP token to depositlength_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::deposit
.