stop_ramp_A

This entrypoint should be called only by admin address.

This entrypoint is designed to stop ramping the "A" constant, when ramping in progress.

The new value of "A" fixed at time when stop is called.

Call param type is nat - pool identifier.

How to set A constant?

A constant set to contract in precalculated invariant value as

Astorage=Aโˆ—nnโˆ’1A_{storage} = A * n^{n-1}

so, if you want to set A correctly you should keep it in mind.

Parameters

FieldTypeDescription

-

pool_id_t

pool identifier.

Last updated