About
PancakeSwap, a leading multichain DEX, provides a seamless trading experience across multiple blockchains (Ethereum, BNB Chain, Arbitum, Base, Linea, zkSync Era, Polygon zkEVM, Aptos, and opBNB). Since its launch in 2020, PancakeSwap has become one of the most popular DEX in the crypto space, well known for its low fees, quick transactions, and user-friendly interface. It has achieved a remarkable $809.6 billion in total trading volume, $2.146 billion in locked liquidity, and has a lively community of 2.1 million active users, solidifying its position as the top multichain DEX.
PancakeSwap launched the v4 whitepaper in March 2024, marking a significant advancement in the mission to innovate and empower DeFi. This major upgrade tackles existing DeFi challenges with several key features:
Hooks: Hooks enable liquidity pools to integrate with externally deployed contracts, allowing for custom features such as dynamic fees, different order types, unique oracles, and modules for active liquidity management.
Custom Pool Types and Donate: From the established CLAMM to the innovative Liquidity Book AMM with Hooks, PancakeSwap v4 supports a wide variety of pool types and can accommodate any new AMM model that might be developed, offering unmatched flexibility and incentives for liquidity providers and traders.
Singleton and Flash Accounting: This feature reduces gas costs by consolidating all pools into a single contract, introducing net balance computations, and optimizing transactions.
PancakeSwap v4 is open-source, encouraging community-driven development and collaboration. We invite developers to join us in shaping the future of DeFi.
As part of our ongoing commitment to supporting developers with the $500K developer grant program, PancakeSwap is thrilled to announce a hackathon boasting a $20,000 prize pool. This hackathon will encourage developers to bring their creative hook ideas to life, driving the evolution of the PancakeSwap ecosystem.
Join us in this new era of DeFi innovation with PancakeSwap v4.
Prizes
🪝 Best use of Hook return delta ⸺ $4,000
V4 Hooks can now modify net delta to be settled by the caller using Hook return delta implementation.
Possible ideas include:
1. Safeguard against MEV, JIT liquidity attacks
2. Implement new pricing curves, e.g. create synthetic assets that track RWA prices (stocks, commodities, indices)
3. Incentivise specific swapping / liquidity provision behaviour
4. Conditional Liquidity Provision / Swapping: Disallow actions under certain market conditions, e.g. - price floors, and minimum liquidity amount during volatile markets to offer better trade execution
Qualification Requirements
1. GitHub repository with viewable code
2. Comprehensive README guide for judges to understand code implementation
3. Code must be functional and easily executable
4. All the hooks MUST be submitted through hooks submission form listed under resources
🚀 Innovative DeFi apps ⸺ $8,000
Build DeFi applications on PancakeSwap v4 using Hooks.
Possible ideas include:
1. Yield Optimization: Enhance APRs and capital efficiency for LPs by depositing idle liquidity in vaults through external integrations like Yearn, Beefy
2. AMM-based lending platform e.g. Oracleless lending
3. Token Buyback & Burn for protocols to manage treasury; Automated portfolio management for users
4. AMM-based Derivatives such as perpetuals, leveraged tokens, or digital options
5. Launchpad: Raise funds, launch tokens, lock liquidity to prevent rugs
Qualification Requirements
1. GitHub repository with viewable code
2. Comprehensive README guide for judges to understand code implementation
3. Code must be functional and easily executable
4. All the hooks MUST be submitted through hooks submission form listed under resources
💻 Most creative hook ideas ⸺ $8,000
Possible ideas include:
1. Unified Orderbook + AMM: Interoperable AMM & Orderbook style order matching on Liquidity Book AMM
2. Use historical on-chain data to support loyalty programs / incentivisation through external integrations like Brevis
3. Index Tokens: Create index tokens and manage the rebalancing of constituents based on predefined rules
4. Yield-Swaps: Exchange variable Fee APR of an AMM for a fixed APR
Qualification Requirements
1. GitHub repository with viewable code
2. Comprehensive README guide for judges to understand code implementation
3. Code must be functional and easily executable
4. All the hooks MUST be submitted through hooks submission form listed under resources
Workshop
🛠️ PancakeSwap Workshop
Learn how to build hooks on PancakeSwap v4