Rebalance Mechanism
Rebalance Mechanism is currently under revision and Rebalance Fee has been switched off.
To facilitate seamless and successful token swaps between liquidity pools, TOKI ensures adequate balances in each pool. Swaps can shift balances, depleting destination chain pools while increasing source chain pools. To address this, TOKI employs the rebalance mechanism that incentivizes swaps that restore balance and discourages actions that would deplete pool reserves.
The rebalance fees and bonus are set as follows:
Current balance: b
Ideal balance: B
Transaction size: t
0
b−t≥δ1B
(δ1−δ2)Bλ1(δ1B−b+t)
δ2B≤b−t<δ1B
λ1+(δ1−δ2)Bλ2(δ2B−b+t)
b−t<δ2B
Hyperparameters are set as follows:
In order to disable the Rebalance Fee, lambda parameters have been reduced to "0"
λ1 :
40bps0λ2:
99.54%0δ1 : 60%
δ2 : 5%
If the pool on the source chain is in deficit, users will receive the rebalance bonus capped at the protocol fee to ensure the user does not generate a surplus.
On the other hand, if the pool on the destination chain is in deficit, the rebalance fee might be added to the TOKI Fee paid by the user.
(*1) Deficit: This occurs when the amount of stable tokens held by the pool is less than the total amount of stable tokens provided as liquidity to the pool.
Last updated