SwiftYield

One block. One strike.

SwiftYield is a no-code flash-loan arbitrage bot on Base. It borrows from Balancer, hits the price gap between two DEXs and repays the loan, all inside a single transaction.

Loan outstanding · 1 WETH

Borrow the charge

makeFlashLoan() pulls 1 WETH out of the Balancer Vault. No collateral and no flash-loan fee: Balancer only asks for it back before the block ends.

Two swaps · same transaction

Strike both pools

swap() buys DIA or ZRO on the cheaper DEX and sells it straight back to WETH on the dearer one, guarded by minimum-out amounts.

Repaid · spread kept

Ground it. Keep the spark.

receiveFlashLoan() repays the vault in full. If it can't, the whole strike reverts. Whatever WETH is left over stays in your contract.

The real call trace of one arbitrage. Scroll and the current runs through it, top to bottom, inside a single Base transaction.

  1. FlashLoan.makeFlashLoan([WETH], [1e18], userData)bot fires the strike
  2. BalancerVault.flashLoan(this, tokens, amounts, userData)+1 WETH lent
  3. FlashLoan.receiveFlashLoan(tokens, amounts, fees, userData)only the vault may call
  4. FlashLoan.swap(userData)decode route bytes
  5. RouterA.swapExactTokensForTokens(WETH → DIA)buy low
  6. RouterB.swapExactTokensForTokens(DIA → WETH)sell high
  7. WETH.transfer(vault, amount + fee)fee is 0 on Balancer
  8. ← transaction endsspread stays in FlashLoan
0%

Balancer flash-loan fee

0

Transaction per arbitrage

0

DEXs wired into the contract

0

Uniswap V2 forks it could reach

1

Lucrative opportunities

Flash-loan arbitrage captures price differences across decentralized exchanges without needing your own capital.

2

Efficient transactions

Everything happens inside one transaction, so there's no exposure to prices moving between the buy and the sell.

3

Automated precision

The bot scans pairs and routes for you, then fires the contract with the best route it found.

1
Verify

Prove you're human with World ID.

2
Deploy

Deploy your own FlashLoan contract on the Tenderly Base vnet.

3
Run

Clone the repo, paste the contract address and run yarn bot.