Query editor
/* ============================================================================Query 15 — Capital deployed through Revert BY BUILDER CODE, all AerodromeVisualization: stacked area, x = day, y = deployed_usd, group by pool_group.----------------------------------------------------------------------------The all-pools twin of Query 14, and the builder-code counterpart to Query 11.Query 11 attributes by the contract a transaction was sent to, which cannotsee a deposit the app routes straight to Aerodrome's position manager. On thefirst day the code was live that was 16 of 33 Aerodrome transactions, so theaddress-based series sees roughly half of what goes through the app.Merkl credits liquidity ADDED in a coded transaction and keeps crediting itwhile the depositor holds it, so increases count only when the transactioncarried the code while decreases are subtracted however they were sent.A position counts only while it still holds coded liquidity, tracked in thepool's own liquidity units, which are exact integers so a full withdrawal netsto exactly zero. Fixed 2026-09-27: the query used to floor each token at zeroon its own, and because a position comes out in a different token mix than itwent in when price moves through its range, a closed position left one tokenpositive and kept counting (631 closed positions, $1.49M, in the stock poolsalone on 27 Sep).Series starts 2026-09-14, when the code went live. Query 11 remains thepre-campaign baseline; this one is what the campaign actually pays on.========================================================================== */WITH stock_pools AS (SELECT * FROM (VALUES(0x853f5f1b92b16714fe6cda67caad0856b83c7ab9),(0xb1987cad1682841b4b641d50e520777ec5ab5542),(0xeaf57753bc382e0324a1d43f72e7027705a2273e),(0xa3b1e3f9747065e2073722ff4c9027d3ea4994f0),(0xd03bc8c7f2faedce2aac81bf0444aea08ea06e9b),(0x7103eb3c9590d1281f7dc03b2a9ee27c39df5d54),(0x5a8236f575471e7bfca2c8462a200c28f737246e),(0x8b27f626ab668197000bc722a1012022caed10e2),(0x469337fdcc5e8f38e2e4b670b04f57865d13a7bb),(0x0bf58fe0fac935ac69595c19b12ba0d75e3f8c0e),(0x25f63549b2bb9fff114cdc39e8cfb16b450e2f9b),(0x20e5fad2661ee9eb0c04824524030af31943b62d),-- second batch, 2026-09-30(0xbbe3491582dd226bb35c6bc14afb825941390f45),(0x3e36246fd9f897b108be0eca0ce88df817367e79),(0xe210b7e5bcaddd50cf0e5a20a3fb956f35085611),(0xa606a9db777ec40ae05a6c5dfffa8dde7fa89249),(0x1f4a5e3112ae53ca2864c89d5c0aef85282b4c62),(0xbd4dece7a36bf778f4b6bde86a39fcb7a72decae),(0x650cc267aa248191978013d5ae421e5dc2a6e242),(0x92b8c276cc7f9c7fe7bd5d8180bce26ea8ded53a),(0x41bd4e64e15ac4df8ca7634b1705a7f044d9c639),(0xf5a91a46711b06cbe1b8ddfbd37eb35cb1d70b2b),(0x17e1beb2cd65493da73ed4bbbc7becaaa0f91c73),(0x2c0009a907d2616740d1f5db90ca9dfe8e3cbc20),(0x40fbdd107d0582763fe42d4371d059b5eb48be87),(0xd04b3d91f370cd080cb4e809c22db0f5f9882173),(0x40e8d293ca4e0cce3221eb13a78bff1d0d2b70a7),(0x9a7e46dd197e8833e10cea9c2cf8967f4cad7279),(0x4dffb33a4e4059de45c7bc82212a6d25f62c6f30),-- Remaining live incentives pools, synced 2026-10-12.(0x0f9392c6c3fde1066f2e1c32b5536fb63897b64d),(0x821b8671e0f3512f412cc3c380f957320f184d13),(0x32e1a7f7721be09440526e28a0bb825bcd0415c4),(0xd10042824199f7b04a764e11659ec810618970e8),(0x1914226edda7e7970949c7e1c8f491f13cae2468),(0x7bfcf7e58eac7199ed84e483a1fa048d25cc1b54),(0x2adcc65bc9ff2821777e39f9146490035b5dd3b1),(0xbc2894c5cdcd3709ec1f2d9dbcfdc3c92ba875d0),(0x169995adcf6fe3d5c2fda949c1dfeba29f41e106),(0xcd6caba6dbc490f2a4ccdb33836030e1600f46c0),(0x11ff0240142d7f9daad70c1da578cf0e3fb85182),(0xcecb091bda2e31db239fe7fdb9edffd2c9d9fb05),(0x4506545bfaf122f4a035af51c462125900951179),(0x48ce615c4fca451bbe07de395896307a04c97bc9),(0xcc9078dad779656ce0174ac5b8ba466be80b598a),