ramp_A
Last updated
Last updated
This entrypoint should be called only by admin
address.
This entrypoint is designed to ramping the "A" constant, allowing to change "flattiness" of swap function.
A
constant?A
constant set to contract in precalculated invariant value as
so, if you want to set A
correctly you should keep it in mind.
Field | Type | Description |
---|---|---|
pool_id
pool_id_t
pool identifier.
future_A
nat
the target value of "A" constant.
future_time
timestamp
timestamp when ramping should be finished.