Request for Proposal (RFP): Yield Enhancement Hook

Overview

  • PancakeSwap, a multi-chain decentralized exchange ($1.3 trillion cumulative volume, $2.2 billion TVL) that operates on 9 chains, is inviting proposals for the development of a Yield Enhancement Hook compatible with PancakeSwap v4
  • This new feature will empower liquidity providers (LPs) to maximize the yield generated by their liquidity through integration with various DeFi protocols
  • PancakeSwap v4 supports hooks that allow developers to implement custom logic before or after key pool actions such as swaps, liquidity modifications, pool initialization, etc
  • The proposed hook will dynamically manage liquidity in pools to enhance capital efficiency and yield generation
  • The grant will come from our Ecosystem Growth fund, which was approved by veCAKE holders here.

A grant of $50,000 will be awarded to the applicant who is selected by the PancakeSwap team, and successfully completes this RFP. Apply here.


Problem Statement

  • In previous versions of PancakeSwap, LPs earned yield primarily from transaction fees. This approach left a significant portion of liquidity unutilized, reducing yield earned
  • LPs seeking higher returns had to manually move their funds between various protocols, increasing complexity and operational risk
  • Additionally, maximizing yield through just-in-time liquidity—adding liquidity precisely when it can generate the highest returns—requires sophisticated operations that are often beyond the reach of retail participants
  • The hook callbacks in PancakeSwap v4, such as beforeSwap, enable customizable logic that can automate these processes, making advanced strategies accessible

With PancakeSwap v4 hooks, we can unlock the potential of idle liquidity, allowing it to generate additional yield through integration with external protocols such as lending platforms, staking services, farming pools, or derivative markets.


Solution

The proposed solution is a Yield Enhancement Hook that will:

  1. Search for Optimal Yield Opportunities: Continuously identify the highest-yielding opportunities across DeFi protocols (architecture should be designed to be extensible, allowing seamless integration of new yield-generating opportunities as they emerge)
  2. Dynamically Allocate Liquidity: Remove idle liquidity from the PancakeSwap v4 pool and allocate it to yield-generating opportunities
  3. Maximize Earnings: Earn yield from lending, staking, farming, or other strategies while maintaining the flexibility to reallocate funds as market conditions change
  4. Seamlessly Reintegrate Liquidity: Withdraw liquidity from external protocols and add it back to the pool when required for fee generation (or use just-in-time liquidity strategies) or withdrawal requests by LPs
  5. Ensure Security and Efficiency: Implement robust mechanisms to manage funds safely and efficiently, with minimal gas fees

Scope of Work

The selected applicant will be responsible for delivering the following:

  • A hook contract that manages all the above aspects of the yield optimisation process
    • Fully functional smart contracts implementing the required hook and logic (on Github)
    • Comprehensive documentation, including architecture diagrams, functional specifications, mathematical formulas, etc (on Github)
    • Test suite covering all major functions and edge cases
  • Blog post or tutorial covering the hook design and implementation in detail
  • Demo showcasing the hook in action

Submission Guidelines

Interested applicants should submit their proposals using this link, including:

  1. A detailed explanation of their approach to building the hook, including:

    • Architecture design and working mechanism
    • Strategies for identifying and integrating yield opportunities
    • Security considerations and gas optimization methods
  2. Any additional considerations or innovative features they propose to implement

Note: Submissions should focus on the planning and design phase. Fully functional prototypes or code are not required at this stage


Timeline

  • 3 Jan 2025 0000 UTC: Deadline for submission of application
  • 10 Jan 2025: RFP results announced
  • 13 Jan 2025: Project start date
  • 10 Feb 2025: Project end date
  • 24 Feb 2025: Transfer of full grant amount

Evaluation Criteria

Proposals will be evaluated based on:

  • Feasibility: Practicality and viability of the proposed solution (20%)
  • Innovation: Creative and novel approaches to yield enhancement (20%)
  • Technical Depth: Understanding of PancakeSwap v4, hooks, and DeFi protocols (20%)
  • Security Focus: Measures to safeguard user funds (20%)
  • Documentation: Clarity and thoroughness of proposed design and plans (20%)

Resources

Disclaimer

  • We reserve the right to make all final decisions regarding this RFP, including the option not to award the grant if no proposals meet our standards. Submission of a proposal does not guarantee selection or compensation of any kind.

If you’re interested to build this hook with us, please apply here.

3 Likes

We will announce the results next week instead as we need more time to review the applications. Stay tuned.

2 Likes

We have selected a winner for this RFP and are working closely with them to build it out.

More details to come.

4 Likes

Hello everyone, will there be any news about this?

Yes we are still working closely with the selected applicant. We’ll announce more details at a later date.

2 Likes
  • 24 Feb 2025: Transfer of full grant amount

According to that, and since there is no further news regarding this information, as well as the poor results of various initiatives (and those published in the forum and not taken into account or even with a response) I would frankly like there to be more transparency, as it also happens with the “affiliates” mancake is there, they has been waiting for quite a while, and now with this and the deadline -speaking of transfer of funds since the publication of the winner expired quite a while ago- I feel that all this is losing transparency, seriousness, and also decentralization because the decisions, new product options, raffles and winners, associations etc etc, are being made behind the scenes and I believe and I want to believe that this is not the approach of pancakeswap.

With much love, I hope that these things improve, and are taken with the seriousness that they should, as well as the deadlines are met. We could say that veCake holders are like shareholders, and here one who has trusted for a long time is only seeing bad results, unfortunately, even, despite the high volumes that have been seen for quite a few days, which curiously are not reflected in the weekly burns (???)

The decision was made (which by the way, does not affect me at all since I did not use it) to remove the affiliates and their commissions, which, when periodically following the updates, news and everything related to the DEX, I did not see the vote anywhere, or the public opinion, and I think it was a decision that was not consulted through the voting system. Nor is it transparent about what happens with the % and the differences that this implementation generates and what will be done with it.

I think that if this is to work, it has to be quite clear and detailed, not simply “at the discretion of the kitchen” as is often happening, understanding the bad results.

Because if not, the most sensible thing would be to report their transformation to CEX and follow this model, as seen on different occasions.

greetings.

1 Like

Hey @TikiTiki appreciate the enquiry.

For this RFP, we unfortunately couldn’t come to an agreeable technical specification with the selected team, despite going back and forth for close to 2 weeks, hence we have decided to terminate the relationship with them. No grant amount was disbursed.

The Kitchen is currently re-evaluating the effectiveness of the RFP system. This will determine whether we reopen this specific RFP, launch other RFPs, etc. as we work towards our v4 launch.

So far, we have not spent a single CAKE that we have been granted usage for via the vote proposal, and we will only do so when it makes sense (i.e. when a hook that we deem useful and feasible is built).

This is only one part of our v4 strategy. We have other components as well - hackathons, private discussions with hook builders, building some in-house hooks, etc. that will work together to ensure a strong v4 launch.

2 Likes