Wonderland x Gitcoin - Update Oct 8th, 2024
This report aims to keep the Gitcoin community and the DAO updated on Wonderland’s work and progress as a strategic partner in the development of the Gitcoin protocol.
What are we working on?
The Wonderland team, in collaboration with the Gitcoin team, is focused on two key projects for the Gitcoin ecosystem:
- Allo v2.1: Aiming to improve the core protocol and strategies to increase modularity and composability.
- Indexer v2: Focused on rebuilding the Gitcoin indexer from the ground up, with a better separation of concerns to ensure scalability and forkability.
Allo v2.1
We have improved the Allo protocol in version 2.1 to optimize the developer experience. Previously, creating a strategy required 400 lines of code; now, thanks to reusable components, only 30 lines are needed. This makes it easier for users to create pools (funding campaigns) and interact with them through the improved Allo core. We’ve developed additional tools, such as libraries and extensions, that make strategies more modular, enabling developers to build custom strategies more easily. We have also refactored and optimized existing strategies to take full leveraging of these new tools.
Key Improvements
- Strategy tools: Tools that facilitate the creation and modularization of customized strategies.
- Base Strategy: Base contract that includes all the “main” actions of a strategy (fund pool, register recipients, allocate funds, distribute funds).
- Extensions: These extensions provide additional functionality to the base strategy, enabling developers to implement more advanced.
- Recipient Extension: Provides detailed recipient data with a review system.
- Milestone Extension: Manages milestone-based strategies.
- Gating Extension: Adds additional logic for customized strategies.
- Libraries: Strategies for managing voting and calculating the results of a Quadratic Voting or Funding on chain.
- Core and Strategies Improvements:
- Removed the requirement for Allo team approval for every strategy
- Improved user experience by enabling batch calls for registering and allocating to multiple pools and managing pool roles.
- Improved usage of
msg.sender
to allow support for meta transactions.
- Strategy Refactoring:
- Refactored DirectAllocation, DonationVoting, easy RPGF**,** QVImpactStream, QVSimple and RFP strategies.
Note: We drastically improved the unit tests for both the core and strategies, as well as added integration tests.
Current Status
Allo v2.1 is currently under internal review. Wonderland’s security team is performing a comprehensive audit of the contracts and strategies to ensure the highest level of security and reliability. Following that, the testing team will apply advanced fuzzing and symbolic execution tests. Once this process is complete, the protocol will be ready for production.
Timeline
Allo v2.1 will be ready in 1-2 weeks at the time of this writing (pending external audit).
Indexer V2
We are redesigning the Gitcoin Grants Stack indexer, which was originally built to index/query cross-chain grant data across the Allo ecosystem. It currently faces design limitations such as dependency on external vendors, scalability problems, and it was also not built for a multi-mechanism future. Indexer v2 addresses these issues through a modular architecture that improves flexibility and scalability while maintaining compatibility with existing data.
We are in the early stages of this project, finalizing the technical design. We will soon share the specifications of the new design with the community.
Timeline
We estimate having the Indexer V2 ready in Q1 2025. We’ll also have an MVP ready by the end of this year.
Next Steps
We are excited to continue working alongside the Gitcoin team. In the coming months, we will provide further updates. Any feedback from the community is welcome!