Function pallet_proof_of_stake::pallet::dispatchables::activate_liquidity_for_3rdparty_rewards
source · pub fn activate_liquidity_for_3rdparty_rewards<T: Config>(
liquidity_token_id: <<T as Config>::Currency as MultiTokenCurrency<<T as Config>::AccountId>>::CurrencyId,
amount: <<T as Config>::Currency as MultiTokenCurrency<<T as Config>::AccountId>>::Balance,
reward_token: <<T as Config>::Currency as MultiTokenCurrency<<T as Config>::AccountId>>::CurrencyId,
use_balance_from: Option<ThirdPartyActivationKind<<<T as Config>::Currency as MultiTokenCurrency<<T as Config>::AccountId>>::CurrencyId>>
)
Expand description
Increases number of tokens used for liquidity mining purposes.
Parameters:
- liquidity_token_id - id of the token
- amount - amount of the token
- use_balance_from - where from tokens should be used. If set to
None
then tokens will be taken from available balance
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::activate_liquidity_for_3rdparty_rewards
.