pub fn reward_pool<T: Config>(
    pool: (<<T as Config>::Currency as MultiTokenCurrency<<T as Config>::AccountId>>::CurrencyId, <<T as Config>::Currency as MultiTokenCurrency<<T as Config>::AccountId>>::CurrencyId),
    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,
    schedule_end: SessionId
)
Expand description

Schedules rewards for selected liquidity token

  • tokens - pair of tokens
  • amount - amount of the token
  • schedule_end - id of the last rewarded seession. Rewards will be distributedd equally between sessions in range (now .. schedule_end). Distribution starts from the next session till schedule_end.

Warning: Doc-Only

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