referrerpolicy=no-referrer-when-downgrade
pallet_asset_rewards::pallet::dispatchables

Function deposit_reward_tokens

Source
pub fn deposit_reward_tokens<T: Config>(pool_id: PoolId, amount: T::Balance)
Expand description

Convenience method to deposit reward tokens into a pool.

This method is not strictly necessary (tokens could be transferred directly to the pool pot address), but is provided for convenience so manual derivation of the account id is not required.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::deposit_reward_tokens.