KIP-14: Allocate $5M to act as a traveling liquidation backstop for B.Protocol B.AMMs

KIP-14: Allocate $5,000,000 in stablecoins to act as a traveling liquidation backstop for B.Protocol B.AMMs


Commit $5,000,000 in stablecoins from the KeeperDAO Treasury [1] to act as seed liquidity for B.Protocol backstop AMMs (”B.AMMs”) that support the Hiding Game.


  1. 0x9a67F1940164d0318612b497E8e6038f902a00a4
  2. B.AMM: Efficient Automated Market Maker for DeFi Liquidations (B.Protocol Blog)
  3. B.AMM whitepaper
  4. KeeperDAO Coordination Game Economics


The B.Protocol B.AMM [2,3] is a novel automated market maker smart contract which allows backstop liquidity providers (”Backstoppers”) to earn fees during liquidations. Backstoppers provide liquidity (e.g. DAI), which normally sits idle and farms yield. When a loan becomes liquidatable, the protocol removes some idle funds (e.g. DAI) in order to purchase the distressed collateral (e.g. ETH), removing the risk from the lending protocol and restoring the health of the loan.

The system, which was balanced before, is now long ETH and short DAI, and needs to rebalance. The B.AMM facilitates rebalancing with a pricing curve derived from the Curve CFMM formula, which will offer traders on the B.AMM a discount that incentivizes them to arbitrage away the imbalance. Fees collected from swaps on the B.AMM go to the Backstoppers.

For a full report, see the B.Protocol B.AMM blog post [2] or B.AMM whitepaper [3].

KeeperDAO Hiding Game facility

KeeperDAO and B.Protocol have worked together to research an improvement to the B.AMM which will increase the efficiency of small to medium-sized liquidations, adding value for both B.AMM LPs and the lending protocols which the B.AMM is used to backstop.

Through a modification of the B.AMM fees, KeeperDAO can extend the Hiding Game to the B.AMM, creating a highly efficient environment that prevents MEV leakage and allows KeeperDAO keepers to perform rapid, continuous removal of small to medium-sized portfolio imbalances in the B.AMM.

The fee modification will allow KeeperDAO keepers to reach arbitrage price sooner, hiding MEV and allowing execution to take place through the Coordination Game, where it can be fairly re-distributed. The improved rebalance efficiency that results will in turn improve yields for Backstoppers, since less of the collateral will be lost to the discount, ultimately helping the B.AMM in its goal of incentivizing a steady reserve of backstop liquidity. The vast majority (~80%) of the MEV captured by KeeperDAO will be redistributed back to the B.AMM through the Coordination Game Economic System [4]. This is Coordinomics in action — everybody wins.

KeeperDAO liquidity commitment

For every B.AMM that supports the Coordination Layer, KeeperDAO will commit seed liquidity to help the B.AMM reach immediate production readiness after deployment. This will allow integration partners to be assured of an adequate backstop and service level from the start, and have the added benefit of assuring our commitment to servicing the B.AMM.

Once a particular B.AMM is saturated with other LPs, KeeperDAO may withdraw the seed liquidity and make it available for a successive integration. Deposits in the B.AMM are yield-bearing, and are estimated to earn roughly 10% APY depending on the asset.

Liquidation flow for KeeperDAO Keepers

The initial B.AMM to support the Hiding Game is planned to be the B.AMM currently supporting Liquity’s LUSD token.

The B.AMM currently handles approximately 25% of all LUSD liquidations. LUSD liquidation activity can be viewed using the Liquity Dune Analytics dashboard [5].


  1. Earmark $5,000,000 of stablecoins from the KeeperDAO Treasury for use as seed liquidity for new B.AMM deployments that support the Hiding Game.
  2. Stand ready to deposit this liquidity in successive target B.AMM contracts after security review, auditing, and deployment is complete, as long as other capital requirements have been met.
  3. Return this liquidity along with any yields accrued during its use, to the KeeperDAO Treasury on completion of the program, as determined by the relevant contributors.

propose to add 4. Sell $5M of btc from the keeper dao treasury to replace the 5M stables used in liquidity


I concur with miner, to seed liqudity with stables seems like a poor choice over the long run. Sell either btc or any other non native treausry assest in sufficient quantity. Also is it yet decided if that cash flow will go straight to the treasury and remain there or become part of the buyback and burn of $ROOK as currently set up with ninja profit for example?

I support this proposal

Note that this will not be idle capital, it will earn roughly 10% APY depending on the asset. As-written this yield would be returned to the treasury where we can govern it together.