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
- At 02:23:42 UTC on 9 October (block 95204942) one transaction took 14,838.47 DAI out of the vault. That is the vault's whole DAI balance: it kept 0 DAI and 0 USDC.
- The vault emitted three events in this order: a deposit, a reposition to zero liquidity, and a withdrawal of one share. The withdrawal paid out the 14,838.47 DAI.
- At the end of the transaction 14,813.55 USDC reached the sender's address. 39 seconds later that address sent the same amount to one address, which split it into 14,683.93 and 129.62 USDC to two other addresses.
What I did not read
- Where the USDC went after that split: the next hop is not traced.
- Who owns the vault: the repository folder uses the name the press gives, BitBay; I did not confirm it, so I name no owner.
- Why the vault paid out its whole balance: I read what the vault did, not why.
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.