Query editor
-- Query 6: Cumulative Trading Volume by Pool-- Tracks monthly and cumulative trading volume for each frxUSD PegKeeper pair-- Volume = frxUSD transferred to/from pool, excluding liquidity events-- Liquidity events identified by LP token mints/burns in the same transaction-- Includes pools on Ethereum and Sonic chains-- Ethereum pool addressesWITH eth_pool_addresses AS (SELECT0x13e12BB0E6A2f1A3d6901a59a9d585e89A6243e1 AS pool_address,'frxUSD/crvUSD' AS pool_nameUNION ALLSELECT0x9A9e2e70919c75D80aAaA1D483c46CdBb8ac4d1b AS pool_address,'frxUSD/msUSD' AS pool_nameUNION ALLSELECT0x20d4c49a873EaeFf76EfBD0cF19002F6E19EF52c AS pool_address,'frxUSD/USDaf' AS pool_nameUNION ALLSELECT0x851907CAC684797eee43669798D78004e269Cb5E AS pool_address,'frxUSD/fxUSD' AS pool_nameUNION ALLSELECT0x2eFC11c7Bb2E0FBdBa8A05a3712398860E6A8E53 AS pool_address,'frxUSD/USDfi' AS pool_nameUNION ALLSELECT0x2Cc565dDe7C078A8E477763a34C40e52b13e6396 AS pool_address,'frxUSD/YUSD' AS pool_nameUNION ALLSELECT0x98E9599dab3A936C35DE48E13E026Ef4eA20B5e6 AS pool_address,'frxUSD/USDf' AS pool_nameUNION ALLSELECT0xBf5047039F2980C21eB5692c790BAd8A9533b900 AS pool_address,'frxUSD/pmUSD' AS pool_nameUNION ALLSELECT0x68d03Ed49800e92D7Aa8aB171424007e55Fd1F49 AS pool_address,'frxUSD/OUSD' AS pool_nameUNION ALLSELECT0x3e823bd1015Ba1A12F2F8aFD631c822a1CBA0de7 AS pool_address,'frxUSD/iUSD' AS pool_nameUNION ALLSELECT0x421194e547eb49304B3e99ffD26b164f9832d395 AS pool_address,'reUSD/frxUSD' AS pool_nameUNION ALLSELECT0x917213760aF19E938E1C5cf4c6c3a963f6F32152 AS pool_address,'frxUSD/savUSD' AS pool_nameUNION ALLSELECT0xf76329c6dc10FdfbEe6CA520d0BF4d474E95E46E AS pool_address,'frxUSD/avUSD' AS pool_nameUNION ALL