Lotus

A directional liquidity for big holders, sell on the way up, never re-buy.

ETHGlobal New York 2026Shipped June 12, 2026Prize winner Dormant#defi#infra#uniswap
Visit Repo
Lotus banner

About

Lotus is one-way directional liquidity, a maker primitive where inventory only moves one way and never trades back. A normal range order is reversible: if price falls back through it, it re-buys the asset you just sold, so you round-trip your inventory. Big holders therefore avoid on-chain depth. Lotus makes liquidity a directional intent: a maker deposits BASE across ascending price bins, takers buy cheapest-first, and once a bin fills the proceeds become claimable and can never re-enter the market, a monotonic invariant, no keeper, no oracle. Full cycle: entry via a single LI.FI Composer Flow (swap → createLadder from any token/chain); fills from the same ladder exposed on two venues, a 1inch SwapVM ONEWAY_FILL opcode and a Uniswap v4 hook, both converging on one frozen core; idle inventory earns yield in a real ERC-4626 vault (Morpho/Aave), recalled just-in-time on a fill; claim withdraws proceeds that never reverse.

How it's made

Contracts: Foundry, Solidity 0.8.30, via-IR. A frozen core (LotusPositionManager) holds all ladder/fill/claim logic behind one seam, _quoteBins and _consumeBins share identical math, so a static quote always equals the swap. Every venue routes through the same recordFill.

1inch Aqua: LotusSwapVMRouter is SwapVM inherits the real 1inch SwapVM and adds three custom opcodes (ONEWAY_FILL, ONEWAY_FILL_BEST, ONEWAY_FILL_LIFI) via _instructions(); native settlement moves QUOTE↔BASE, maker is an EIP-1271 signer.

Uniswap v4: Lotusv4Hook is a custom-curve hook (beforeSwapReturnDelta) filling the same ladder, proceeds minted as ERC-6909 then settled via the PoolManager.

LI.FI Composer: the maker entry is one signed Flow (@lifi/composer-sdk): swap → approve → rawCall(createLadderFor) compiled via /compose — deploy a ladder from any token in one signature.

Yield JIT: idle inventory sits in a real ERC-4626 vault (Morpho/Aave), recalled just-in-time inside the fill; a failed recall reverts the swap — no keeper, no oracle.

Hacky bits: a fork test proves the deployed 1inch router on Base is an older 28-opcode build (extruction at index 32 reverts); we size the Composer ladder off the route's guaranteed minimum and use createLadderFor so the maker is the EOA, not the proxy; CREATE2 salt-mining gives the v4 hook its permission flags. 159 tests, many forking real Base state.

Prizes

  • 1inch · Build an Aqua App · 2nd place
  • Uniswap Foundation · Best Uniswap API Integration · 1st place

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantRepo not reachable

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Barker ALM Engine

Yield-backed automated liquidity: v4 take-profit ladders on Arc + a vault-backed 1inch Aqua maker

The Solvent

One shared maker-liquidity layer for every intent—protocol-agnostic, non-custodial, cross-chain.