finds.dev← search

// the find

Anish-Agnihotri/flashside

★ 577 · Solidity · Unlicense · updated May 2022

Long-tail MEV contracts to claim Otherside land NFTs

Flashside is a pair of Solidity contracts that used flashloans/flashswaps to atomically claim Otherside land NFTs from BAYC/MAYC pools during the March 2022 land sale, profiting off the difference between claim cost and floor price. It's for people who did on-chain MEV/NFT arbitrage work in 2022, not a reusable library.

The profitability math is spelled out in the README with real numbers (NFTX's 0.14 token cost vs 0.04 claim cost), so you can see the actual edge instead of trusting marketing copy. Two genuinely different execution paths are implemented — a zero-cost flashloan route via NFT20, and an atomic buy-claim-sell route through LooksRare — showing two distinct MEV patterns rather than one toy example. Tests run against a mainnet fork via Foundry, which is the right call for contracts whose entire value depends on live pool state and pricing.

This is single-use code tied to one Yuga Labs claim event from March 2022 — the contracts have no life outside that window and the repo has had zero commits since, so nothing here is directly reusable. The LooksRare test suite needs test orders manually pasted into FlashsideLooksRare.t.sol; the README admits this should be automated via FFI + the LooksRare API but that was never done, so the test coverage is permanently partial. There's no audit and the README says so outright — fine for a time-boxed opportunistic script, but anyone adapting this for a new event is on their own for security review. There's also no bot or execution harness included, just the contracts — you'd need to build gas bidding, mempool monitoring, and submission logic yourself to actually run this.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →