Buying
You enter an ETH amount. The UI shows:| Field | What it means |
|---|---|
| Expected tokens out | Tokens you receive at the current curve price |
| Price impact | How much your buy moves the curve price |
| Fee | 2 percent of your ETH input on the curve, 0.1 percent on the pool |
| Min received | The slippage floor. If less than this would come out, the transaction reverts |
buy(launchId, minTokensOut, captcha). With a referral code in local storage, the UI calls buyWithReferral(launchId, minTokensOut, captcha, referralCode) instead. The minimum buy is MIN_BUY_ETH = 0.00001 ether per the contract.
After bonding, buys route through the Uniswap Universal Router.
Selling
You enter a token amount. The UI shows:| Field | What it means |
|---|---|
| Expected ETH out | ETH you receive net of the fee |
| Price impact | How much your sell moves the curve price |
| Fee | 2 percent of the gross ETH on the curve, 0.1 percent on the pool |
| Min received | The slippage floor. If less than this would come out, the transaction reverts |
sell(launchId, tokenAmount, minEthOut, captcha). With a referral code, it switches to sellWithReferral. The minimum sell is MIN_SELL_TOKENS = 1 ether (1 token).
After bonding, sells route through the Uniswap Universal Router.
How the preview works
The UI calls a view function on the V2 hook to compute the expected output before you sign:- For buys:
previewBuy(launchId, ethIn)returns tokens out, cost, refund, and tokens remaining on the curve - For sells:
previewSell(launchId, tokenAmount)returns the net payout and the fee breakdown
0x3972C00f7ed4885e145823eb7C655375d275A1C5.
Anti-snipe behaviour
During the anti-snipe window (0 to 60 seconds after launch, set by the creator), buys and sells require a captcha signature. The InkyPump UI gets this signature automatically. Direct contract calls without the signature revert withCaptchaRequired().
See Anti-Snipe.