Function dex_stable::pallet::dispatchables::ramp_a
source · pub fn ramp_a<T: Config>(
pool_id: T::PoolId,
future_a: u128,
future_a_time: u128
)
Expand description
Start ramping up or down A parameter towards given future_a and future_a_time
Only called by admin. Checks if the change is too rapid, and commits the new A value only when it falls under the limit range.
Argument
pool_id
: The id of pool.future_a
: The new A to ramp towards.future_a_time
: Timestamp when the new A should be reached
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::ramp_a
.