Skip to Content
DocumentationCore ConceptsAnti-Manipulation Mechanisms

Anti-Manipulation Mechanisms

Token launches, especially on platforms with simple bonding curves and minimal built-in protections like Pump.fun [], are prime targets for manipulative actors. Data shows widespread sniping activity, including same-block snipers designed to extract value instantly []. Deepr incorporates several layers of protection directly into its smart contracts to combat these issues and create a fairer trading environment.

Protecting Against Bots & Sniping

Deepr combines two primary mechanisms specifically designed to counter the documented exploits on other platforms:

  1. Priority Fee Cap: Directly targets the high gas bidding strategies used by MEV bots for front-running and sandwich attacks.
  2. Purchase Limits Per Tranche: Prevents the instant supply concentration often seen in sniping attacks where bots acquire excessive amounts of tokens at launch.

These work in conjunction with the Progressive Supply Release to provide robust, layered protection against common manipulation tactics.

Priority Fee Cap Explained

MEV bots gain an advantage by paying extremely high priority gas fees to ensure their transactions execute immediately before or after a target victim’s transaction (e.g., front-running a large buy or sandwiching a swap). This is a well-documented problem plaguing DEX trading, especially on vulnerable launchpad tokens.

Deepr implements a maxPriorityFee check (currently set at 3 gwei) within its contract functions:

  • Tranche Purchases: The buyInitialTranche and buyTranche functions revert if the transaction’s priority fee (tx.gasprice - block.basefee) exceeds this limit.
  • DEX Swaps: The contract overrides the standard ERC20 _update function (which is called during transfers, including those to/from the DEX pair). This override also enforces the maxPriorityFee check whenever tokens are transferred to or from the associated Uniswap V2 pair address.

Impact:

  • Deters Front-running/Sandwiching: Bots cannot simply outbid regular users with exorbitant gas fees to execute these attacks.
  • Levels the Playing Field: Legitimate users paying normal priority fees are not disadvantaged.
  • Doesn’t Block Normal Trading: The cap is high enough not to interfere with standard transactions during normal network conditions but low enough to price out common MEV strategies.

Purchase Limits Per Tranche

To prevent individual wallets (potentially controlled by whales or sophisticated sniping bots []) from acquiring large portions of the supply as tranches become available, Deepr enforces per-wallet purchase limits specific to each tranche:

  • Tranches 0-2: Max purchase per wallet is limited to 5% of that specific tranche’s supply.
  • Tranches 3-5: Limit increases to 10% per wallet.
  • Tranches 6-8: Limit increases to 20% per wallet.
  • Tranches 9-13: Purchase limits are removed (allowing wallets to buy the entire remaining amount of these smaller, later tranches).

Impact:

  • Prevents Early Snipes: Ensures a wider distribution during the critical initial phases.
  • Gradual Relaxation: Allows for larger accumulation as the token matures and market cap grows, aligning with natural market dynamics.
  • Complements Supply Release: Works hand-in-hand with the tranche system to force distribution over time and price levels.

Balancing Protection and Price Discovery

While platforms like Pump.fun face scrutiny and potential legal challenges related to exploitation enabled by their structure [], Deepr aims to protect launches without unduly restricting legitimate trading or price discovery.

  • The priority fee cap targets manipulative gas bidding, not the size or frequency of trades themselves.
  • Purchase limits are per tranche and gradually relax, allowing organic accumulation over time.
  • Natural price momentum driven by genuine demand is still possible and encouraged.

By implementing these targeted protections, Deepr fosters an environment where price can move based on real market activity, significantly reducing the impact of common exploits that plague traditional launch platforms.

Last updated on