This is an apparent consensus vote.
Discussion If voting ‘Object’ to the proposal, you are encouraged to voice your reasoning on the KeeperDAO Forum. Objections that are backed by a strong argument may potentially hold more weight than a simple objection vote.
kip: 18
title: Power Gamma Hypervisors with KeeperDAO Coordination Protocol
author: hazard <hazard@keeperdao.com>, exeggcute <exeggcute@keeperdao.com>
status: last-call
tags: none
created: 2022-02-02
replaced-by: none
replaces: none
Collaborate with Gamma Strategies to build advanced Hypervisor contracts powered by the KeeperDAO Coordination protocol.
Gamma Strategies (https://www.gammastrategies.org) is the leading provider of active liquidity management and discretionary liquidity strategies. Gamma’s products allow depositors to stabilize or enhance returns on concentrated liquidity AMMs like Uniswap v3 and the upcoming Sushi Trident and CrocSwap, without the need to manage the position themselves.
A perpetual concern for such products is the potential for MEV when a position is being updated, as well as the negative impact of just-in-time (JIT) liquidity operations from sophisticated participants which can alter market structure to the detriment of the automated strategy.
To tackle these challenges, Gamma is partnering with KeeperDAO to integrate with the KeeperDAO Coordination protocol, which will offer LPs unprecedented access to our world-class execution network.
By coordinating position updates with our network of keepers, Gamma’s products will not just mitigate MEV, but capture it and use it to drive enhanced returns. Moreover, LPs will gain exposure to the most advanced JIT liquidity strategies, powered by the very keepers who had been competing against them in the liquidity pool!
Automated market makers (AMMs) with support for concentrated liquidity allow liquidity providers (LPs) to specify a price range in which their liquidity becomes available to traders, rather than allowing it to be available across the entire pricing curve.
A sophisticated LP will seek to increase returns by actively managing their position, i.e. dynamically altering the ranges where their liquidity is provided, in order to minimize adverse selection and maximize fees accrued.
Gamma Strategies provides a smart contract called a “Hypervisor” that makes active position management strategies more accessible to regular LPs. Rather than provide liquidity to the AMM directly, depositors provide it to a Hypervisor contract, which then creates and manages a position on the target AMM using the deposited funds.
A Hypervisor maintains a position consisting of two UniswapV3Pool positions:
An advisor is an account designated by the deployer of the Hypervisor contract. The advisor alone has the right to call functions that modify the Hypervisor’s position. These functions are:
rebalance rebalance the positionaddBaseLiquidity deploy assets to the base position without rebalancingaddLimitLiquidity deploy assets to the limit position without rebalancingpullLiquidity remove liquidity from the Uniswap v3 poolThe most important and frequently-called of all the position update functions is rebalance. During a rebalance call:
swapQuantity parameter of the rebalance function.Depending on the liquidity of the pool, the size of the position, and the balance of the assets in the Hypervisor, rebalancing can create a meaningful amount of MEV.
It is important for the Hypervisor to mitigate front-running or sandwiching of rebalance transactions due to the negative impact on LP returns and the risk to LP capital that they pose. To accomplish mitigation Hypervisors today broadcast rebalance transactions via Flashbots RPC, and this has been effective at preventing this MEV leakage.
Backrunning remains a possibility. It is not uncommon for a backrunning transaction to appear at the top of the block following the Flashbots block in which a rebalance occurs.
Example:
While this backrunning does not negatively impact LP returns, it does represent value that is directly attributable to the rebalance, which could be internalized to increase those returns.
Gamma Strategies and KeeperDAO will work together to create an advanced Hypervisor for which all position management transactions, including rebalances, are routed through the KeeperDAO Coordination Game and executed by Keepers acting through the Coordination protocol.
We expect that the addition of Coordination will allow LP returns to be enhanced through a combination of new efficiencies and strategies, including:
Gamma Strategies has a number of requirements that must be met as service conditions for the arrangement.
All will be accomplished through the use of policies governing the behavior of Keepers. Additional backstop mechanisms will be discussed as the technical collaboration advances.
rebalance transaction.