Exit Everything to USDC

ETHGlobal Hackathon • 2026 • Design Engineer

Project Type: DeFi web app

Role & Scope: Design Engineer. UX/UI Design, Frontend Engineering

Team: Backend Engineer, Smart Contract Developer, Full Stack Developer

Award: LI.FI Best User Experience Prize 🏆

BFB is a one-tap, one-signature exit from any DeFi position — loans, LP, staking, or tokens — consolidating all your assets into USDC.

Panic Sell, an Atomic Transaction Bundle

BFB compiles the entire exit into one atomic program. A single transaction repays the Aave loan with a flash loan from its own collateral, sells the collateral, unwinds Uniswap V3 LP positions, and sweeps the remaining tokens — all to USDC.

  • Loans— flash loan repaid from freed collateral

  • Collateral— sold within the same transaction

  • Uniswap V3 LPs— decreaseLiquidity + collect, then swapped

  • Staking & loose tokens— swept to USDC

Tech Architecture

BFB runs on LI.FI's Composer SDK. The exit compiles into one atomic program executed by the Composer VM through a per-user CREATE3 proxy. The whole flow runs as a single ordered batch.

Aave V3 supplies the flash loan that repays the variable debt and is repaid from the freed collateral — so the user needs zero upfront capital. The whole batch is delegated through one EIP-5792 wallet_sendCalls over EIP-7702, with a graceful fallback to sequential transactions on non-5792 wallets.