Skip to content

Commit 4f914c6

Browse files
authored
docs: add Fee AMM arbitrage bot section to Lento testnet (#31)
1 parent 3331cf3 commit 4f914c6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pages/testnet/lento.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,9 @@ The following liquidity pools are predeployed with 10k tokens on each side:
9999

100100
- **BetaUSD → AlphaUSD** (10k on each side)
101101
- **ThetaUSD → AlphaUSD** (10k on each side)
102+
103+
## Fee AMM Arbitrage Bot
104+
105+
The testnet includes an arbitrage bot that continuously monitors and rebalances the Fee AMM pools. When a user pays gas fees in a token that differs from the validator's preferred fee token, the TIPFeeManager performs a swap through the corresponding Fee AMM pool.
106+
107+
The bot polls all token pairs every two seconds and automatically rebalances the pools by removing excess user fee tokens and adding validator fee tokens. This process ensures sufficient liquidity for future fee AMM swaps. In doing so, the bot captures excess validator tokens that arise from rebalancing swaps.

0 commit comments

Comments
 (0)