Function farming::pallet::dispatchables::update_reward_schedule
source · pub fn update_reward_schedule<T: Config>(
pool_currency_id: <<T as Config>::MultiCurrency as MultiCurrency<<T as Config>::AccountId>>::CurrencyId,
reward_currency_id: <<T as Config>::MultiCurrency as MultiCurrency<<T as Config>::AccountId>>::CurrencyId,
period_count: u32,
amount: <<T as Config>::MultiCurrency as MultiCurrency<<T as Config>::AccountId>>::Balance
)
Expand description
Create or overwrite the reward schedule, if a reward schedule already exists for the rewards currency the duration is added to the existing duration and the rewards per period are modified s.t. that the total (old remaining + new) rewards are distributed over the new total duration
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::update_reward_schedule
.