Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.inkyswap.com/llms.txt

Use this file to discover all available pages before exploring further.

InkyPump V2 charges a flat 2 percent on every buy and every sell. There is no creation fee. The 2 percent stays constant for the full lifetime of the bonding curve.

How the 2 percent breaks down

Every trade is split two ways at the contract level.
SliceBpsGoes to
Protocol fee100 (1 percent)InkyPump treasury
Variable fee100 (1 percent)Split between creator and buyback per launch
The protocol fee is fixed. The variable fee is what the creator earns from. The split between creator and buyback is set at launch time and the creator can update it later.

How the variable fee is split

The variable fee is divided by creatorFeeSplitBps. This is a number between 0 and 10000 chosen by the creator. If the split is 5000 bps (50 percent to creator):
  • Creator gets 0.5 percent of the trade
  • Buyback gets 0.5 percent of the trade
If the split is 10000 bps (100 percent to creator):
  • Creator gets the full 1 percent variable fee
  • Nothing goes to buyback
If the split is 0 bps (0 percent to creator):
  • All of the variable fee goes to buyback
  • The token gets deflationary pressure but the creator earns nothing on trades

When creators get paid

Creator fees accrue on the hook contract and can be withdrawn at any time by calling withdrawFees() on the InkyPump V2 hook. There is no time lock and no minimum balance.

Pool fee after bonding

Once a token raises its target and bonds to Uniswap V4, the V4 pool charges its own 0.1 percent fee on swaps (1000 in V4 fee units). The 2 percent protocol and variable fees no longer apply. From that point on, all trading happens through the V4 pool and the 0.1 percent swap fee is the only fee.

What is not charged

  • No creation fee
  • No fees on viewing balances or previewing trades
  • No protocol fee on the post bond V4 pool
  • No exit fee or graduation fee at bonding
  • No time based fee changes. The 2 percent is constant from the first trade to the last on the curve
  • No anti-snipe fee. Anti-snipe is a captcha gate, not a fee

The math, in code

For a buy with ethIn ETH:
protocolFee  = ethIn * 100 / 10000           // 1 percent
variableFee  = ethIn * 100 / 10000           // 1 percent
netForCurve  = ethIn - protocolFee - variableFee   // 98 percent
creatorShare = variableFee * creatorFeeSplitBps / 10000
buybackShare = variableFee - creatorShare
The same math runs in reverse on a sell, with fees deducted from the gross payout before sending ETH to the seller.

Where the fees are defined

In LaunchSharedState.sol:
uint256 public constant PROTOCOL_FEE_BPS = 100;   // 1 percent
uint256 public constant VARIABLE_FEE_BPS = 100;   // 1 percent
uint256 public constant BPS_DENOMINATOR  = 10_000;
uint24  public constant POOL_FEE         = 1_000; // 0.1 percent on V4 pool
These constants are baked into the deployed implementation. They cannot change without an upgrade.