Exit Everything to USDC

ETHGlobal Hackathon • Design Engineer • 2026

Project Type: DeFi web app

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

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.

Live Demo

Source Code

Panic Sell, an Atomic Transaction Bundle

BFB compiles the entire exit into one atomic program. A single transaction flashloan-

repays the Aave 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 flashloan 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.

© 2026 Qi Shen

Exit Everything to USDC

ETHGlobal Hackathon • Design Engineer • 2026

Project Type: DeFi web app

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

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.

Live Demo

Source Code

Panic Sell, an Atomic Transaction Bundle

BFB compiles the entire exit into one atomic program. A single transaction flashloan-

repays the Aave 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 flashloan 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.

Works →

© 2026 Qi Shen

Exit Everything to USDC

ETHGlobal Hackathon • Design Engineer • 2026

Project Type: DeFi web app

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

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.

Live Demo

Source Code

Panic Sell, an Atomic Transaction Bundle

BFB compiles the entire exit into one atomic program. A single transaction flashloan-

repays the Aave 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 flashloan 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.

Works →