Skip to content

CoilMakerStrategy

ELI5: Keep's favorite strategy — posts buy/sell orders on Coil as a market maker, earning spread and fee discounts regular traders don't get.

What you can do

Actor Action
Vault deposit / withdraw USDC to strategy
Strategy Rest EIP-1271 signed intents on Coil
Solver Fill batches including strategy intents

Priority 0 in vault queue — funded before fallbacks.

Flywheel fit

Closes the loop: Keep capital → Coil liquidity → fees → Keep.

flowchart LR
    Keep[Keep vault] --> CMS[CoilMakerStrategy]
    CMS -->|EIP-1271 intents| Coil[Coil DEX]
    Coil -->|fees keep_bps| Keep

Receives:

  • Direct keep_bps from CoilFeeRouter
  • Deployed USDC from vault rebalance
  • TARE emission slice (via vault funding path)

Contract walkthrough

CoilMakerStrategy.vy:

  • Implements IStrategy — vault-only deposits
  • Signs intents authorized on-chain via EIP-1271
  • Fill bound: not below pool EMA oracle floor
  • Earns trading spread + protocol fee discount on Keep's own Coil activity

Bare USDC transfers to vault do not credit total_idle — CoilFeeRouter must use strategy deposit path (FLYWHEEL 2.0 fix).

Sepolia

Contract Address
CoilMakerStrategy 0xEf5202aD48e204ADe372E0Ae578EA7A2CA8D3BaF

What can go wrong

Risks

  • Low Coil flow → strategy idle; fallbacks activate.
  • Solver trust — whitelisted solver submits batches.
  • Market-making loss if fills adverse vs oracle floor.

See Coil solver.

Source: khomdev-keep/src/strategies/CoilMakerStrategy.vy