Rebalance Mechanism
Last updated
Last updated
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:
Ideal balance:
Transaction size:
0
Hyperparameters are set as follows:
: 40bps
: 99.54%
: 60%
: 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.