Function loans::pallet::dispatchables::update_market_reward_speed
source · pub fn update_market_reward_speed<T: Config>(
asset_id: <T as Config>::CurrencyId,
supply_reward_per_block: Option<<T as Config>::Balance>,
borrow_reward_per_block: Option<<T as Config>::Balance>
)
Expand description
Updates reward speed for the specified market
The origin must conform to UpdateOrigin
.
asset_id
: Market related currencysupply_reward_per_block
: supply reward amount per block.borrow_reward_per_block
: borrow reward amount per block.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::update_market_reward_speed
.