🛑Admin methods

These entrypoints should be called only by admin address.

Section is about administrative management. Admin could change managers, self, update fee rates and manage "A" constant (manipulate flattness of swap function).

Change admin address

Method allows admin to hand over its rights to another address.

set_admin

Update contract fee rates

Entrypoint designed to update all fee rates except developer fee.

set_fees

Add or remove token metadata managers

Method for add/remove manager addresses to manage LP token metadata.

add_rem_managers

Manipulate DEX pool "A" constant

Method to set new "A" constant. Changing performed distributed over time from old "A" to new "A".

ramp_A

Method to stop changing "A" constant. The new "A" after stop would be specific "A" that counted at time of stopping (from ramping).

stop_ramp_A

Last updated