Announcing the v4 Hookathon: PancakeSwap x Brevis Hackathon!
V4
2024-09-02

GM PancakeSwap Fam and Developers,

Following the launch of our PancakeSwap v4 whitepaper in March 2024, we’ve been actively inviting developers to contribute on PancakeSwap v4 through various hackathons like ETHGlobal Brussels and the ETHGlobal London Hackathon. Now, with the v4 launch on the horizon at the end of 2024, we're thrilled to introduce the first-ever v4 Hookathon, hosted by PancakeSwap and Brevis, as part of our $500K Developer Program. With a prize pool of $40,000, this hackathon offers a unique opportunity to innovate and build within the PancakeSwap v4 ecosystem. Utilize the Brevis ZK-Coprocessor to develop cutting-edge Hooks and prepare to showcase your work as we gear up for the v4 launch!

Purpose of the Hackathon

The v4 Hookathon aims to push the boundaries of what's possible on PancakeSwap v4 by developing groundbreaking Hooks that enhance functionality and address existing challenges. Participants will leverage the Brevis ZK-Coprocessor to create solutions that are innovative, technically robust, and user-friendly.

Why Build on PancakeSwap v4 with the Brevis ZK-Coprocessor?

Brevis is a smart ZK coprocessor that brings advanced capabilities to smart contracts, enabling them to access and analyze comprehensive historical on-chain data from any blockchain. It also allows for customizable computations, all while ensuring complete trustlessness.

PancakeSwap v4 supports Hooks, which are external smart contracts that can be integrated with any liquidity pool to provide customized functionality. Hooks can execute predefined logic before or after key actions such as initialization, swaps, position modifications, and donations. This allows for a new level of customization within liquidity pools, enabling features like dynamic fees, active liquidity management, impermanent loss mitigation, and more.

Brevis-powered Hooks further extend these capabilities by allowing the querying of historical data and the execution of operations in a trustless manner. This enables advanced use cases such as loyalty programs, exclusive user access, incentivization schemes, and more. Additionally, the ability to protect intellectual property while maintaining trustlessness supports use cases like liquidity management, asset management, and beyond.

Hackathon Open Track

table.jpg

Open Track ($40,000 Prize Pool): We are keeping it simple with a single open track to encourage diverse and creative solutions. We welcome ideas that address any existing pain points within the PancakeSwap ecosystem.

Potential Ideas:

1. Liquidity Incentivisation: Develop mechanisms to incentivize liquidity providers (LPs) based on:

  • Utility-based: Reward LPs for contributions during volatile periods or low liquidity.
  • Time-based: Reward proportional to the duration of liquidity provision.
  • Amount-based: Higher rewards for consistent large liquidity contributions.
  • Milestone-based: Incentives for maintaining liquidity over consecutive days.
  • Cross-Platform: Rewards for liquidity provision across integrated platforms.
  • Boosted Rewards for Lockup: Incentives proportional to the duration of liquidity lockup.

2. Active Liquidity Manager: Create a hook for managing liquidity with configurable strategies, allowing protocols to adapt their liquidity management dynamically while protecting the intellectual property of their algorithms.

3. Market-Making Bot: Design a market-making bot for managing LP liquidity and sharing yields, suitable for LBAMM pool types (works similar to an order book model).

4. Exclusive-Access Pools: Develop pools accessible only to users who meet specific criteria, such as holding an OG NFT or reaching a transaction milestone.

5. KYC-Enabled/Permissioned Institutional Pools: Implement identity verification mechanisms that maintain privacy while ensuring compliance.

6. Yield Manager: Create a yield management solution that leverages the zk-Coprocessor for off-chain computation while maintaining on-chain transparency, optimizing idle liquidity to maximize yield.

7. Loyalty Privileges: Grant fee discounts or additional rewards to veCAKE holders based on certain holding pattern

Prize Distribution

  • 🥇 1st Prize: $12,000
  • 🥈 2nd Prize: $10,000
  • 🥉 3rd Prize: $8,000
  • 🏅 4th Prize: $6,000
  • 🏅 5th Prize: $4,000

Please note: Prizes are awarded only if entries meet the judging and eligibility criteria. Entries that do not meet the required standards may result in reduced prizes or no prize awarded.

Prize Distribution:: Winning prizes will be distributed as USDC on the BNB Chain to the winners' wallet addresses within 4 weeks of the completion of the hackathon.

Judging Criteria

1. Ecosystem Impact and Integration: Assess how well the hook enhances the PancakeSwap v4 ecosystem and integrates with existing features.

2. Innovation and Originality: Evaluate the uniqueness of the solution and its potential to address existing challenges in novel and effective ways.

3. Technical Excellence: Review the quality of the code, robustness of the implementation, and adherence to industry best practices.

4. Usability and User Experience: Determine how user-friendly and accessible the solution is for developers and end-users, including the quality of the user interface and experience.

5. Scalability and Performance: Examine the solution’s ability to scale effectively and perform efficiently under various conditions.

6. Completion of Implementation: Verify whether the implementation is complete, including both the hook smart contracts and off-chain Brevis ZK Coprocessor components, such as the gateway and business logic code.

7. End-to-End Functionality: Assess if the implementation functions end-to-end. This includes the ability to complete the full process of invoking the off-chain ZK Coprocessing flow through on-chain smart contracts and correctly processing callbacks in the hook contract.

8. Usability with Full UI/UX Demonstration: Evaluate whether the implementation is usable with a comprehensive UI/UX demonstration, including a point-and-click interface that allows pool deployers to easily launch a hook.

Judges

4 - Judge graphic.jpg

  • Chef Momo: Product Manager, PancakeSwap
  • Chef Mist: Smart Contract Lead, PancakeSwap
  • Michael Tung: Co-founder, Brevis

Submission Guidelines:

  • Submit Your BUIDL by September 30, 12 PM UTC via DoraHacks.io. Ensure you have a DoraHacks account to submit your entry. Follow this step-by-step guide on how to submit your build.
  • Each team can only submit one Buidl/Entry.
  • Any submissions found to be duplicates from previous hackathons will be disqualified.
  • By submitting your entry, you grant PancakeSwap and Brevis the right to use your submission for both commercial and non-commercial purposes.

Key Dates

4 - hackathon schedule.jpg

1. Registration Opens: September 2, 12PM UTC

2. Opening Ceremony: September 4, 12 PM UTC , hosted on DoraHacks YT. Learn about the hackathon details, objectives, and how to win.

opening.jpg

3. v4 Hook Creation Workshop: September 9, 12 PM UTC, hosted on DoraHacks YT

3 Workshop demo.jpg

Agenda:

  • A look back at PancakeSwap’s evolution and v3 statistics
  • Introduction to v4 and its new features
  • Architectural overview: Vault, PoolManager, Hooks
  • Exploring different pool types and Hooks
  • Hook workflow: Examples and practical applications
  • Hands-on session: Develop a hook (from concept to code)
  • Writing and testing hooks
  • Walkthrough of Brevis VIP trading discount hook example code
  • Interactive Q&A session

4. Submissions Close: September 30, 12PM UTC

5. Finalist Announcement: October 7, 12 PM UTC

6. Finalist Demos: October 10-17, 12 PM UTC (Online)

7. Winners Announcement: October 24, 12 PM UTC

8. Hackathon Winners AMA: October 28 - Nov 1, 12 PM UTC

We’re excited to see what you’ll create and can’t wait to witness the innovations that will emerge from the v4 Hookathon. For more details and to register, visit https://dorahacks.io/hackathon/v4hookathon

Stack 'em high and good luck to all participants!

The Chefs

How does it work?
Learn basics of PancakeSwap
Trade tokens, earn rewards and play to win!