Author: Moody Salem – Founder of Ekubo, Inc.
Date: 2025-04-05
Summary
This proposal recommends replacing Aave’s current AAVE buyback process (managed by the Aave Finance Committee (AFC) and service provider Tokenlogic on Ethereum mainnet) with an automated Time-Weighted Average Market Maker (TWAMM) solution via the Ekubo Protocol. Ekubo’s TWAMM extension enables continuous, passive execution of large swaps over time, allowing the DAO to convert treasury assets (e.g. USDC from the collector contract) into AAVE with minimal price impact and without active management. By executing buybacks directly on-chain through governance (via an AIP) using Ekubo TWAMM, Aave can streamline the buyback program – improving execution efficiency, simplifying operations, and removing the need for a dedicated committee or external market maker. We propose an initial pilot using a modest portion of protocol revenue (approximately $100k–$500k) to perform time-weighted AAVE buybacks via Ekubo TWAMM. This trial will allow the community to assess performance and safety before scaling up the approach as a core component of Aavenomics.
Motivation
Current Buyback Mechanism & Its Limitations: Under the recently approved “Buy and Distribute” program, Aave DAO’s excess revenue is allocated to buy AAVE on the secondary market to reward stakers and bolster tokenomics. The implementation of this program on Ethereum mainnet currently relies on a multisig Aave Finance Committee (AFC) (with members from Chaos Labs, Tokenlogic, Llama, ACI, etc.) to execute buy orders, guided by Tokenlogic’s treasury management proposals. Each month, Tokenlogic determines which treasury assets (stablecoins, etc.) to liquidate for buybacks, and the AFC either executes on DEXes or works with market makers to purchase AAVE, typically in fixed tranches (e.g. ~$1M per week for 6 months as per Aavenomics).
While this system establishes a formal process, it has several drawbacks:
- Operational Complexity: Manually splitting large buy orders over time requires coordination and timing. Even with a committee, executing trades in chunks (and possibly timing the market or working with market makers) adds overhead and risk of human error. As Paradigm’s research notes, breaking an order into pieces introduces operational complexity and increased work
The current approach demands active management (regular proposals, multisig approvals, possibly negotiating with market makers) which is resource-intensive.
- Execution Inefficiencies: Executing $1M weekly buy orders in discrete batches can incur slippage and market impact, especially if done via market orders on DEXs or OTC deals. Large, infrequent buys may move the price or be front-run by arbitrageurs. Even with professional market makers, the protocol might not always get the optimal average price, and there could be fees or spreads involved in off-chain trades.
- Oversight and Custody: Relying on a committee and third parties introduces custodial and oversight considerations. Funds must be approved to the committee (via on-chain allowances) and then spent by signers. This adds latency and trust assumptions, which could be streamlined with a more automated solution. Reducing the number of touchpoints (and intermediaries like market makers) would decrease operational risk and simplify governance oversight.
Why TWAMM (Ekubo) is the Solution: The TWAMM (Time-Weighted Average Market Maker) concept, first proposed by Paradigm in 2021, is designed exactly to help traders (or protocols) execute large orders smoothly over time on-chain. In essence, a TWAMM breaks a large long-term order into infinitely many infinitesimal pieces and executes them continuously against a constant-product AMM, achieving a uniform execution over a chosen interval. This yields an outcome similar to an ideal algorithmic TWAP (time-weighted average price) execution that a TradFi broker might achieve by slicing an order into small bits over hours. Ekubo Protocol has implemented this TWAMM model as an extension to its AMM, allowing users to create “DCA (Dollar-Cost Average) orders” on-chain. Key benefits of leveraging Ekubo’s TWAMM for Aave’s buybacks include:
-
Superior Execution & Reduced Price Impact: Because the TWAMM executes continuously (e.g. every block or every few blocks) over a long period, the AAVE purchases are spread out, avoiding large instantaneous trades. This significantly mitigates price impact compared to lump-sum buys. DCA orders effectively give the user the time-weighted average price over the order duration, with efficient pricing and minimal fees for large swaps. Any short-term price deviations are arbitraged by the market, ensuring the order fills at a fair market rate over time. In short, the DAO can expect to get a better average entry price for AAVE with lower slippage using TWAMM than via weekly manual purchases.
-
Passive, Automated Execution (Simplicity): Once the TWAMM order is set up via a smart contract, it requires no active management or intervention. The contract will keep executing the trade fragment by fragment, block by block, according to the predefined rate, until the order completes. This is a “set-and-forget” strategy – no need for continuous monitoring by a committee or the treasury team. This addresses the operational complexity issue: the smart contract effectively performs the algorithmic trading strategy that humans or market makers would otherwise have to handle. The DAO simply defines parameters (amount, duration) and initiates the order; the rest is handled on-chain. This not only reduces workload but also eliminates the risk of manual error in timing or sizing trades.
-
No Intermediaries or Custodians Needed: By using Ekubo TWAMM, the DAO can execute the buyback entirely on-chain through an AIP, without relying on a multi-sig committee to manually trade or any external market maker services. The collector contract’s funds (e.g. stablecoins earmarked for buybacks) would be directly swapped for AAVE via the TWAMM smart contract. Execution is enforced by code, so we remove two layers of intermediaries: the committee (for execution) and any third-party liquidity providers. This enhances security (fewer hops where something could go wrong or funds could be mismanaged) and aligns with DeFi’s trust-minimized ethos – governance controls the funds and the mechanism directly.
-
Efficient and Cost-Effective: Ekubo’s TWAMM implementation is built into a highly gas-optimized AMM (Ekubo V2, recently live on Ethereum). Unlike executing many separate Uniswap trades (which would cost gas each time and potentially incur higher fee rates), the TWAMM order is integrated into a single contract flow, amortizing gas costs and trading fees. Paradigm’s research notes that TWAMM’s design amortizes gas across virtual sub-trades and even reduces sandwich attack susceptibility by executing smoothly between blocks. Additionally, Ekubo nets out opposite order flow in its TWAMM pools (i.e. matching sellers and buyers over time) so that only the difference is actually swapped each block, which further improves price and fee efficiency. In practical terms, Aave’s buyback via TWAMM should incur lower slippage and possibly lower total fees than either doing a giant single swap or many manual smaller swaps. The Ekubo protocol’s recent deployment on Ethereum has been audited 2 firms (Plainshift and ABDK Consulting). Early usage indicates over 20% gas cost savings compared to traditional AMMs due to its architectural optimizations.
-
Simplicity of Governance Process: The TWAMM approach can simplify governance in the long run. Rather than monthly or quarterly treasury management proposals to authorize buyback budgets and manual execution (as is currently the case [src], the DAO could schedule buybacks via on-chain proposals that directly interact with the TWAMM contract. For example, an AIP could transfer a specified amount of USDC from the Collector contract to the Ekubo TWAMM contract and initiate an order to buy AAVE over the next 30 days. This single proposal replaces a month’s worth of committee activity. Fewer proposals and less micromanagement of execution details will free up governance and contributors to focus on higher-level strategy. The DAO will still retain full control – it can choose parameters of each TWAMM order and can halt or modify future orders if needed – but second-to-second execution is automated.
In summary, adopting Ekubo’s TWAMM for AAVE buybacks offers a more decentralized, efficient, and low-touch mechanism to achieve the same goals as the current buyback program. It leverages innovative DeFi tech to benefit Aave’s tokenomics, and showcases Aave DAO’s commitment to cutting-edge, trust-minimized solutions.
Specification
1. Pilot Implementation: As a first step, it is proposed to initiate a pilot buyback using Ekubo TWAMM on Ethereum mainnet. The pilot will use a small allocation of the Aave treasury’s excess stablecoin revenue (for example, $100k – $500k equivalent in USDC or USDT from the Ethereum collector contract) to purchase AAVE over a defined time period. One or two strategic assets from the collector will be selected as the source of funds – preferably high-liquidity stablecoins such as USDC (and/or USDT), which constitute a significant portion of the DAO’s revenue holdings. Concentrating on one stablecoin at first (e.g. USDC) simplifies execution and reduces variables in the trial.
2. TWAMM Order Parameters: The DAO (via governance) will execute an AIP that interacts with the Ekubo Protocol’s contracts to create a TWAMM (DCA) order. The order will specify:
- Sell Asset: USDC (from the collector contract). The AIP will transfer the pilot amount of USDC into the Ekubo TWAMM contract/pool.
- Buy Asset: AAVE token. We will leverage an Ekubo AAVE/USDC TWAMM-enabled pool. If such a pool does not exist yet, part of this proposal is to coordinate with Ekubo or liquidity providers to ensure an AAVE-USDC pool on Ekubo is initialized with sufficient liquidity. (Ekubo V2’s extensibility allows new pools to be created permissionlessly, so the DAO can seed a pool if needed.)
- Sell amount: e.g. $250,000 worth of USDC
- Start time and end time: a reasonable time span to spread the trade out – for instance, 2 weeks (14 days) or 1 month (30 days). This can be adjusted based on community preference, but should be long enough to clearly average out the price and demonstrate TWAMM’s continuous execution. For the pilot, a shorter duration like 1-2 weeks could be chosen to observe results sooner, given the smaller amount, but even that will involve hundreds of block-by-block executions.
- Execution Rate: The above parameters implicitly set a continuous execution rate (e.g., ~$250k over 2 weeks is roughly $17.8k per day, which the TWAMM will execute pro-rata each block). No further action is required once the order is submitted.
The AIP will include the necessary calls to approve and fund the TWAMM order. Specifically, the Collector contract (which holds the USDC) will need to approve the Ekubo Orders
contract to spend the specified USDC amount, and then the order creation function will be invoked. This can all be encoded in the on-chain proposal transaction payload. After execution of the proposal, the TWAMM order will start executing at the specified start time.
3. Monitoring and Completion: Once live, the TWAMM order will execute continuously for the duration of the order. Anyone can see the order’s progress via Ekubo’s interface or on-chain data – seeing how much USDC has been swapped for AAVE over time and the average execution price. After the order duration, all of the USDC will be fully converted to AAVE and the final amount of AAVE acquired will be withdrawn back to the DAO. Mechanically, this withdrawal requires an additional call to be made to “collect the proceeds” of the buyback, which can be made at any time during order execution. These calls will be added to a subsequent proposal. In the future, a separate contract can make permissionless the creation of buyback orders and withdrawal of proceeds to the DAO, as is implemented for Ekubo Protocol on Starknet [src].
4. Evaluation Metrics: During and after the pilot, we will evaluate:
-
Execution Price vs Market TWAP: Calculate the effective average price paid per AAVE through the TWAMM vs. what the prevailing market prices were. We expect them to be very close (validating that we achieved a true TWAP execution). Any deviation or unexpected cost will be analyzed.
-
Fees: Summarize the total fees paid to the pool.
-
Operational Simplicity: Qualitatively, the pilot should demonstrate the ease of execution from a governance perspective (one proposal and done). We will document the process to ensure it’s reproducible and clear for larger size.
5. Scaling Up and Integration: If the pilot is successful, a subsequent proposal will be formulated to scale up the TWAMM buyback mechanism. This could involve: -
Allocating a larger portion of the weekly/monthly revenue to ongoing TWAMM orders. For example, instead of $1M weekly via committee, the DAO could authorize, say, a continuous rolling TWAMM order of $4M per month (roughly equivalent to $1M/week, but managed as a perpetual cycle).
-
Including many assets: e.g. use USDT, ETH from the treasury
-
Automation: a separate contract can be created and configured to trigger a fixed amount of buybacks each week
-
Integrating this into Aave’s broader treasury management: The DAO might decide to make TWAMM buybacks a standing strategy. Tokenlogic (or another entity) could still be involved in advising on how much to allocate based on treasury health, but execution would no longer require their active role. In fact, Tokenlogic’s mandate could shift to just recommending parameters for TWAMM (frequency, amount) each quarter, rather than handling the trades.
Crucially, any scaled program would come back to governance for approval. By demonstrating the concept with a pilot, we minimize risk before committing larger funds.
Next Steps
- Invite community & service providers to provide feedback on this proposal with the goal of reaching consensus.
- If consensus is reached on this ARFC, escalate this proposal to the Snapshot stage.
- If the Snapshot outcome is YAE, implement the proposal via AIP.
- Review the outcome of the buyback order
Copyright
Copyright and related rights waived via CC0.