RealSpapcontact@realspap.comGitHubX

Rebuilt from the chain on 1 November 2026, Polygon

What left one Uniswap v4 vault on Polygon on 9 October

On 9 October 2026 one transaction on Polygon took the whole DAI balance of a Uniswap v4 liquidity vault. I rebuilt it from public nodes and the verified source of the vault. Each number below comes from what my script prints, rounded to cents. I do not say why the vault paid out its whole balance, and I did not follow the money past the second hop.

What the chain shows

What I did not read

Replay it

git clone https://github.com/RealSpap/onchain-postmortems.git
cd onchain-postmortems/bitbay-usdc-dai-v4-vault-zero-liquidity-drain
python3 reconstruct_exploit.py

reconstruct_exploit.py prints 15 checks from public nodes and the vault's verified source. It also reads DefiLlama's DAI price and its record (checks 14 and 15); the numbers on this page come from the chain. DefiLlama dates the incident 8 October; the chain says 9 October, 02:23:42 UTC. Check 3 expects the sender's address to have sent exactly 15 transactions, and check 15 expects DefiLlama's record unchanged: if either has moved the script reports a failure although the numbers above stay true. If the source service answers only in part it stops with an error: run it again. Full write-up: the folder.

See also Find my errors and Method and limits.

Arrow keys to move, Enter to open, Esc to close.