How it works

Borrow, swap, repay, inside one block

ATOMIC holds no deposits and runs no pool. It borrows liquidity that already exists on Morpho and Uniswap, uses it for the length of one transaction and hands it back. This page walks the trace, the routing, the contracts and the questions people ask before signing.

How it works

Every step is a call.
Every call is in one block

ATOMIC holds no deposits and runs no pool. It borrows liquidity that already exists, uses it for a single block and hands it back. The protocol sells one thing: execution.

01Flash borrow from Morpho0x9D53…1010

Morpho lends any idle USDG for the duration of one transaction at zero fee. Uniswap v3 pools are the fallback source when a route needs a different token.

02Swap on Uniswap0xcaf6…5cb2

The router quotes every v3 fee tier plus two-hop routes through WETH and USDG and takes the best output. Slippage is bounded by the minimum you set in the app.

03Supply and borrow on Morpho0x9D53…1010

The stock goes in as collateral on the deepest live market for that ticker. USDG comes out against it, priced by the Chainlink-backed Morpho oracle.

04Repay inside the callback0x9D53…1010

The borrowed USDG repays the flash loan before the callback returns. If the numbers do not close, the whole transaction reverts and your wallet is exactly as it was.

trace
step 01 / 04
live NVDA price and block number from the snapshotrevert on any failure
Three principles

No pool, no custody, no partial outcomes

0 bps
Morpho flash fee

Flash liquidity that already exists

Morpho's core contract lends any idle USDG for the length of one transaction at zero fee. Uniswap v3 pools offer the same for their own tokens at the pool fee. ATOMIC never asks anyone to deposit; it borrows from these, uses the money for a single block and returns it.

0
USDG held by the router

One router, no state

The router holds nothing between transactions. It receives your calldata, runs the recipe inside the flash-loan callback and ends every path by repaying. Positions live on Morpho under your own address, so the router can vanish tomorrow and your loan is untouched.

1
block, all or nothing

Revert is the safety net

Every step can fail: a swap below minimum, a borrow above the liquidation threshold, a spread that closed. Any failure reverts the entire transaction, so you either get the full outcome you signed for or exactly the state you started from, minus gas.

Routing

Every fee tier, every hop, best output wins

What the quoter tries
  • 01Direct pool at 0.01%, 0.05%, 0.30% and 1.00%
  • 02Two hops through WETH, nine fee combinations
  • 03Two hops through USDG for stock-to-stock rotations
  • 04All of it in one multicall, sorted by output, refreshed every twelve seconds while you edit
What the snapshot reads every ten seconds
  • /Chainlink feeds for every tradable ticker, ETH and USDG
  • /slot0 and liquidity on every stock pool, v3 forks included, v4 through StateView
  • /Morpho market totals, oracle prices and the IRM borrow rate
  • /Idle USDG held by Morpho, which is the flash-loan ceiling
On-chain

Contracts the router talks to all on Robinhood Chain

gas paid in ETH
ContractAddressRole
Morpho0x9D53…1010Flash loans, collateral, borrowing
Morpho AdaptiveCurve IRM0x2BD3…0fa1Borrow rate per market
Morpho Bundler30x6478…44a6Reference for multicall patterns
Uniswap v3 SwapRouter020xcaf6…5cb2Executes swaps
Uniswap v3 QuoterV20x33e8…a9e7Quotes every fee tier before you sign
Uniswap v3 Factory0x1f7d…2efaPool discovery
Uniswap v4 PoolManager0x8366…0951v4 pools, priced via StateView
Uniswap v4 StateView0xf333…673bslot0 and liquidity for v4 pools
Universal Router0x8876…0904v4 swaps
Permit20x0000…8BA3Token approvals
USDG0x5fc5…d168The only loan asset on live stock markets
WETH0x0bd7…ad73Gas token wrapper, two-hop routes
Stock token factory0x4783…C046Deploys every stock token
Chainlink ETH / USD0x78F3…d3A9Prices WETH-quoted pools
Chainlink USDG / USD0x61B7…9aD2Prices USDG-quoted pools
Questions

Things people ask before they sign

No. Your deposit for a leverage goes straight into the recipe and ends up as collateral on Morpho under your address. The router never keeps a balance.