Query editor
/* ============================================================================Query 12 — Capital deployed through Revert on Robinhood Chain (Uniswap v4)Visualization: stacked area, x = day, y = deployed_usd, group by pool_group.----------------------------------------------------------------------------The Robinhood twin of Queries 10 and 11, split into pools holding a Robinhoodtokenized equity and everything else. Robinhood Chain is where tokenized-stockliquidity actually lives today, so this is the comparison that matters whenarguing that the same users can be brought to Base.Two things differ from the Aerodrome queries and both are forced by v4.1. A v4 position has no NFT of its own in the event stream. It is identified by(pool id, salt, tickLower, tickUpper) on PoolManager's ModifyLiquidity.A position is attributed to Revert when the FIRST ModifyLiquidity for thatkey was sent to V4Utils.2. ModifyLiquidity carries a liquidity delta, not token amounts, so the valueis taken from the net ERC20 flow into the PoolManager singleton in the sametransaction. That is exactly right for a swap-and-mint: the swap leg happensinside the singleton and never moves tokens across its boundary, so the netexternal flow is what the user actually deposited. A withdrawal is a netoutflow and comes through negative.Note V4Utils is the ONLY creation path on v4 — the app routes even ano-swap deposit through it — so unlike the v3 queries this attribution has nodirect-to-position-manager blind spot.========================================================================== */WITH stocks AS (-- 195 Robinhood Chain tokenized equities, from-- apps/positions-tracker/resources/tokenized-assets.edn :stocks "robinhood",-- every one verified on-chain there (symbols are spoofed constantly)SELECT * FROM (VALUES(0x521cf887e6531c6f667b5bc4d896e5d9bfe8eb2e),(0xaf3d76f1834a1d425780943c99ea8a608f8a93f9),(0x3139d77ace0cbaa5bdfd38bd1f1911a794af0b0e),(0x232b8ed6377be97813853b0ac104c4cda8378d1b),(0x5f604fba1162193a4388a5dfa56f556f3e133cc2),(0xfaf9cb261b5fcc1f404bb10cd39c5c6c1974e612),(0x748c32c3ca24edf31ea597db1f3d330a7a6da3dc),(0x36046893810a7e7fce501229d57dc3fc8c8716d0),(0x99d9d8663545151603863c5acbd6fc3218899009),(0x05a3d1cd21d0c88145e82600e62e7e496e0f222b),(0x86923f96303d656e4aa86d9d42d1e57ad2023fdc),(0xdd356aa38f40a7b7076755ac854b6fbb1f0d305b),(0x12f190a9f9d7d37a250758b26824b97ce941bf54),(0x28babd556b60e53663b8615036479a29c2cdd1bf),(0xb8dbf92f9741c9ac1c32115e78581f23509916fd),(0xa249baf1063af884807c1e1400aef7784836917e),(0x666716999e75d2652398ff830bbc2e485946e140),(0x47f93d52cbec7c6d2cfc080e154002370a60daea),(0x1af6446f07eb1d97c546afc8c9544cbdf3ad5137),(0x373c06c4f7bde527d7dae4ba169e42b55e393ced),(0xf6290b5e7c26502e2da514c31509849718ea76a5),(0x156e175dd063a8ce274c50654ef40e0032b3fbcf),(0xc27dbd474af5181c5a8777903690d8d262d12648),(0x141eea040c2250eec0314e336975e81f85f6585e),(0x4d21483a44bf67a86b77e3da301411880797d452),(0xad25ac6c84d497db898fa1e8387bf6af3532a1c4),(0x48e39e56acdba37b09020c0b734a613c9a2f100a),(0x822cc93ffd030293e9842c30bbd678f530701867),(0xcef9027c7d6985b85f0ba431125073529a947a68),(0x5c90450bbb4273d7b2f17cf6917aeb237a569679),(0x9651342cea770ae9a2969ba2a52611523146aef9),(0xae517a2903e68bd929dfd15be875f8369d53e94a),(0x8cf07c5a878945185d327aaa6e33faa95f95e7bf),(0x44f6d488021f8233b9416294d1fe9b1fee28382d),(0x62200915e7deab1ec7f79fb246dadbb80eacddd0),(0xbf449977089c718c004a66c554b26b94ef3ad4de),(0xcbb95bbf36099d34da091dc6fa6f49efa257cee3),(0x92f9f459f1a9a5ad266b182be7bffd1c6c666894),(0x6330d8c3178a418788df01a47479c0ce7ccf450b),(0x4ea005168d7f09a7a0ba9d1def21a479950e44c2),(0xdf0992e440dd0be65bd8439b609d6d4366bf1cb5),(0x4d67253bc223e6b0e104f1084c1fb2b669ddc41b),(0xd95b44124e475743a7589e68f3d74008a5536d44),(0xea72ecca2d0f6bfa1394dbbcff85b52cd4233931),(0x5f10a1c971b69e47e059e1dc91901b59b3fb49c3),(0xf543967eebb6f1917992ef0e68de63ab07a5a0da),(0x63d5a3b6939a33f1e75d8bcd85759858239600db),(0xa4f319104089fe321dc8093c6e707d4fe190a988),(0x27c99fbde9d0d2aa4f4bfb4943f237843ddf6958),(0x941ae714ec6d8130c7b75d67160ca08f1e7d11dd),(0x1d11f0496982706c5e14a514d4e79f2e6bde4516),(0xc02f12b9fe9e707079ec0d546f3050d3f6c1f8bd),(0x33c18e2cc8ae9ae486e785090d86b2ce632ff994),(0x39ec44bee4f6a116c6f9b8de566848a985c53c60),(0x1c690498150252222c275a5ced69d3a6b1f52d5e),(0x7f0abef0c07280f82c6a08ead09ded6bae2c13fc),