This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Stableswap Pool Deposit Tool

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Stableswap Pool Deposit Tool enables users to deposit tokens into stableswap pools (like Curve-style pools) to provide liquidity and earn LP tokens. The tool reads your connected wallet address, stableswap pool contract address, token addresses (pool tokens), token balances, pool token amounts, pool amplification factor, current swap fee, LP token address, LP token balance, current block timestamp, and gas prices. It displays the pool's amplification factor, swap fee, token balances, your LP token balance, and your token balances before you deposit. Once confirmed, the tool handles token approvals and executes the deposit, minting LP tokens in proportion to your contribution.

HOW TO USE

Connect your wallet and select your network. Enter the stableswap pool contract address and the pool token addresses (comma-separated). Specify the deposit amounts for each token (comma-separated, in the same order as the token addresses). Optionally, set a minimum LP token amount for slippage protection. Click "Fetch pool status" to load the pool details including the amplification factor, swap fee, LP token address, your LP balance, and pool token balances. Review all details carefully—the tool will show you the pool parameters and your balances. If everything is correct, click "Deposit" to approve token spend and execute the deposit. The tool handles approvals and the deposit in one flow.

THE REAL MECHANISM — STABLESWAP DEPOSIT WITH AMPLIFICATION FACTOR AND FEE TRACKING

Unlike standard AMM pools, stableswap pools use an amplification factor to reduce slippage for stablecoins. The getPoolInfo function returns the amplification factor (which determines the curve shape), the swap fee (in basis points), the LP token address, and the current balances of all pool tokens. The deposit function takes an array of deposit amounts and a minimum LP token amount (for slippage protection). It verifies that the amounts are proportional to the pool's current balances, transfers the tokens from the user, and mints LP tokens representing the user's share of the pool. The tool reads all pool data via getPoolInfo and validates the deposit amounts before enabling the deposit button. All arithmetic uses ethers.js BigNumber with the token's decimal precision, and gas costs are reported using receipt.effectiveGasPrice.

WHAT IT CANNOT SEE

Cannot predict pool impermanent loss—the tool cannot forecast whether the pool's token ratios will shift. It cannot ensure pool solvency—the tool has no visibility into the protocol's reserves. It cannot detect if the pool contract contains vulnerabilities—the tool does not audit the contract logic. It cannot verify off-chain token valuation accuracy—the tool relies on the pool's valuation and cannot verify external prices. It cannot recover funds if the deposit is made and the pool later fails.

PLEASE NOTE — EVM CHAINS ONLY

This tool exclusively supports EVM-compatible chains where ethers.js can connect via standard JSON-RPC. It does not support non-EVM chains such as Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, or XRP. The pool contract must implement the specific interface expected by this tool (getPoolInfo, deposit, getTokenCount, getToken). Always review the pool parameters, amplification factor, and fees before depositing. This tool is a deposit interface, not a financial advisor or investment strategist.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.