FLASHARB

Flasharb executes atomic arbitrage between Uniswap v4 and 1inch Aqua using flash accounting

ETHGlobal MumbaiShipped November 5, 2026 Shipping#defi#payments
Visit Repo
FLASHARB banner

About

FLASHARB executes atomic arbitrage between Uniswap v4 and 1inch Aqua, without traditional flash loans or upfront trading capital.

Uniswap v4: Uses flash accounting to execute the first swap without immediately transferring tokens.

1inch Aqua + SwapVM: Completes the second swap using liquidity from Aqua strategies.

Atomic settlement: Both trades settle in a single transaction. If the arbitrage fails, everything reverts.

Smart searcher: Automatically discovers price gaps, calculates optimal trade sizes, simulates execution, and estimates profit after gas.

Live dashboard: Monitor opportunities, execute trades through MetaMask, and manage profits stored as ERC-6909 claims.

How it's made

FLASHARB is built using Solidity, Foundry, Uniswap v4, 1inch Aqua, SwapVM, TypeScript, viem, React, and Vite.

Uniswap v4: Uses `PoolManager.unlock()` and flash accounting to trade without conventional flash loans. - 1inch Aqua + SwapVM: Provides shared liquidity and executes the second swap. - Searcher bot: Detects price gaps, optimizes trade sizes, simulates transactions, and calculates profit after gas. - Dashboard React-based interface for live opportunities, MetaMask trading, and ERC-6909 profit tracking. - Testing:Foundry, Anvil, automated bot tests, and Unichain fork tests.

The clever part: Aqua sends tokens directly into Uniswap v4's PoolManager, while SwapVM's `preTransferInCallback` handles payment. Both swaps settle atomically with fewer token transfers.

We also use ERC-6909 claims to store profits efficiently and are developing a Huff executor for further gas optimization.

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?

ShippingLast push 27 days ago

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.

Flash

Built a decentralized flash loan arbitrage bot using modified warden-agent-kit. Monitors and executes cross-chain arbitrage opportunities between Optimism and Sepolia, maximizing DeFi profits through automated trading