Function pallet_liquidity_rewards::pallet::dispatchables::stake
source · pub fn stake<T: Config>(currency_id: T::CurrencyId, amount: T::Balance)
Expand description
Deposit a stake amount associated to a currency for the origin’s account. The account must have enough currency to make the deposit, 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::stake
.