Bonding Curve Research Group Library ๐Ÿ“š
  • About the BCRG
  • About this Library
  • โ™ป๏ธFrom Static to Dynamic Supply Tokens
  • โžฐWhat are Bonding Curves?
  • ๐Ÿ—ƒ๏ธDifferentiating Primary & Secondary AMMs
  • ๐Ÿค–Modeling & Simulating Bonding Curves
  • ๐ŸŽ›๏ธBonding Curve Parameter Matrix & Trade-Off Decisions
    • Initial Supply
    • Initial Reserve
    • Initial Price
    • Reserve Ratio
    • Mint Fee
    • Burn Fee
    • Max Supply
  • โ˜ ๏ธAttack Vectors
    • Liquidations
    • Sandwich trading
    • Front Running
    • Backrunning
    • Solutions
  • ๐Ÿ““Case Studies
    • ๐Ÿค–Aavegotchi
      • Bonding Curve Design
      • Pricing Algorithm
      • Governance and Tokenomics
        • Avegotchi DAO Evoution
    • ๐Ÿ‘ฃCarbon
      • Asymmetric Liquidity
      • Adjustable Bonding Curves
      • Matching, Routing & Arbitrage in AMMs
      • MEV Resistance
    • ๐Ÿ“ˆContinuous Organization (cOrg)
      • cOrg Token Bonding Curve Model
        • The Decentralized Autonomous Trust
        • Bonding Curve Contract Dynamics in Investment and Sale Operations
    • ๐ŸฎCoW Protocol
      • Loss Versus Rebalancing (LVR)
        • Deep dive into Loss-Versus-Rebalancing (LVR)
      • Batch Trading & Function-Maximizing AMMs
      • Implementation - COW AMM
    • โš™๏ธDXDao
      • DXdao Bonding Curve
    • โš“Gyroscope
      • The Gyro Bonding Curve
      • Elliptic Concentrated Liquidity Pools (E-CLP)
      • Gyro Consolidated Price Feeds
        • Consolidated Price Feed Approach
    • ๐Ÿ•‰๏ธOlympus DAO
      • Range Bound Stability
    • ๐Ÿ’ธ Public Goods Token Performance Analysis
  • ๐Ÿ„ Engineering for Resilience with Primary Issuance Markets
  • ๐Ÿ’ปBCRG Github Repos
  • ๐Ÿ“ฝ๏ธBCRG Video Library
  • ๐Ÿ“–Glossary
  • ๐Ÿ”ŽToken Engineering Courses & Resources
Powered by GitBook
On this page
  1. Attack Vectors

Front Running

Front-running refers to the exploitative practice in which an adversary monitors pending transactions in the network's mempool and strategically submits their own transactions to gain an advantage. This typically involves the attacker issuing a competing transaction with a higher gas price or fee to ensure their transaction is prioritized and mined ahead of a victimโ€™s transaction.

For instance, consider two transactions, Transaction A and Transaction B. Transaction B is submitted first and is pending in the mempool. An adversary, upon observing Transaction B, submits Transaction A with a higher gas price, thereby incentivizing miners to prioritize and include Transaction A in the next block before Transaction B. This manipulation allows the adversary to profit or gain advantage by executing their transaction in a more favorable position relative to the victim's transaction.

Front-running exploits the transparent and predictable nature of transaction ordering in blockchain networks, where transactions offering higher fees are typically prioritized for inclusion in blocks. This practice is particularly prevalent in decentralized finance (DeFi) applications, where transaction sequencing can significantly impact the outcome of trades, arbitrage opportunities, and other financial activities. The result is a distortion of market integrity, leading to potential financial losses for the victims and undermining the overall trust and fairness in the blockchain ecosystem.

PreviousSandwich tradingNextBackrunning

Last updated 9 months ago

โ˜ ๏ธ