Function dex_stable::pallet::dispatchables::set_swap_fee
source · pub fn set_swap_fee<T: Config>(pool_id: T::PoolId, new_swap_fee: u128)
Expand description
Update fee of the pool.
Only called by admin.
Argument
pool_id
: The id of pool.new_swap_fee
: The new swap fee of this pool.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_swap_fee
.