Flashside is a set of NFT MEV contracts to claim Otherside land NFTs from various BAYC and MAYC pools, via flashloans or flashswaps.
Assuming land has a floor of at least 2.5 ETH (the pre-sale whitelist cost) and hypothetically 5+ ETH, only profitable opportunities are mocked. For this reason, strategies like flashloaning xBAYC from NFTX are ignored (because of their relatively high average cost of 20 ETH/land).
- Flashloans from NFT pools like NFTX/NFT20. Only profitable for some pairs due to high index token costs (for example, NFTX costs
0.14x
token:0.04
on claim,0.1
on deposit) - Atomic purchase, claim, and sale into collection floors via LooksRare
FlashsideNFT20
— 0-cost flashloan and claim via BAYC from NFT20FlashsideLooksRare
— ~1-1.5 ETH/land atomic purchase, claim, and sale via MAYC from LooksRare
Tests use Foundry: Forge.
Install Foundry using the installation steps in the README of the linked repo.
# Get dependencies
forge update
# Run tests against mainnet fork
forge test --fork-url=YOUR_MAINNET_RPC_URL
Note: Tests for FlashsideLooksRare
currently require manual entry of test orders in test/FlashsideLooksRare.t.sol
. In the future, this should be ingested via Forge FFI + LooksRare API.
- @sinasab for alerting me of opportunity + nerd-sniping.
- /u/cryptoscopia for dydxFlashLoanTemplate.sol.