Query editor
-- Nexus Mutual deployment funds moved.-- One row per transaction hash. The selected row is the economic leg of the tx.---- SCOPE: strict parity with kpk-tx-count base query 8661705 (entity 'NexusMutual').-- wallets: ethereum 0x8e53d04644e9ab0412a8c6bd228c84da7664cfe3-- window: 2024-11-01 -> ongoing (tx-count end_date sentinel 2100-01-01)-- The end bound is dynamic: it always extends through the current month.WITH params AS (SELECT0x8e53d04644e9ab0412a8c6bd228c84da7664cfe3 AS wallet,DATE '2024-11-01' AS start_date,date_add('month', 1, date_trunc('month', current_date)) AS end_date,TIMESTAMP '2024-11-01 00:00:00 UTC' AS start_time,current_timestamp AS end_time),protocol_map AS (SELECT *FROM (VALUES-- Settlement / swap / pool venues.(0x9008d19f58aabd9ed0d60971565aa8510560ab41, 'CoW / GPv2Settlement', 'swap', true),(0xc02d0fa00c0bec48186026c71da2e54ebf680139, 'Uniswap v3 NXM/WETH pool', 'swap', true),(0xba12222222228d8ba445958a75a0704d566bf2c8, 'Balancer Vault', 'liquidity', true),(0xba1333333333a1ba1108e8412f11850a5c319ba9, 'Balancer v3 Vault', 'liquidity', true),-- Lending / vault / staking / savings contracts.(0x52aa899454998be5b000ad077a46bbe360f4e497, 'Fluid', 'lending', true),(0xbb50a5341368751024ddf33385ba8cf61fe65ff9, 'Morpho Vault', 'lending', true),(0x4ef53d2caa51c447fdfeeedee8f07fd1962c9ee6, 'Morpho Vault', 'lending', true),(0xe108fbc04852b5df72f9e44d7c29f47e7a993add, 'Morpho Vault', 'lending', true),(0xd564f765f9ad3e7d2d6ca782100795a885e8e7c8, 'Morpho Vault', 'lending', true),(0xc3d688b66703497daa19211eedff47f25384cdc3, 'Compound v3 USDC', 'lending', true),(0x98c23e9d8f34fefb1b7bd6a91b7ff122f4e16f5c, 'Aave', 'lending', true),(0x1a88df1cfe15af22b3c4c783d4e6f7f9e0c1885d, 'Aave stkGHO', 'staking', true),(0x83f20f44975d03b1b09e64809b757c47f942beea, 'Maker SavingsDai', 'savings', true),(0xdd3f50f8a6cafbe9b31a427582963f465e745af8, 'Rocket Pool DepositPool', 'staking', true),(0xcfc6d9bd7411962bfe7145451a7ef71a24b6a7a2, 'EtherFi DepositAdapter', 'staking', true),-- Wrapping / token contracts used for mint and burn legs.(0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2, 'WETH wrapper', 'wrap', true),(0x0d438f3b5175bebc262bf23753c1e53d03432bde, 'Wrapped NXM', 'wrap', true),(0xd7c49cee7e9188cca6ad8ff264c1da2e69d4cf3b, 'Nexus Mutual NXM', 'asset', true),(0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, 'Circle USDC', 'asset', true),(0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f, 'Aave GHO', 'asset', true),(0x6b175474e89094c44da98b954eedeac495271d0f, 'Maker / DAI', 'asset', true),(0xdc035d45d973e3ec169d2276ddab16f1e407384f, 'Sky USDS', 'savings', true),(0xa3931d71877c0e7a3148cb7eb4463524fec27fbd, 'Sky sUSDS', 'savings', true),(0xae78736cd615f374d3085123a210448e74fc6393, 'Rocket Pool rETH', 'staking', true),(0xae7ab96520de3a18e5e111b5eaab095312d7fe84, 'Lido stETH', 'staking', true),(0xf1c9acdc66974dfb6decb12aa385b9cd01190e38, 'StakeWise osETH', 'staking', true),(0xcd5fe23c85820f7b72d0926fc9b05b43e359b7ee, 'EtherFi weETH', 'staking', true),(0x35fa164735182de50811e8e2e824cfb9b6118ac2, 'EtherFi eETH', 'staking', true),(0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf, 'Coinbase cbBTC', 'asset', true),(0x05ff47afada98a98982113758878f9a8b9fdda0a, 'Balancer BPT', 'liquidity', true),(0x07a319a023859bbd49cc9c38ee891c3ea9283cc5, 'Balancer Gauge', 'staking', true)) AS m(address, protocol, protocol_type, count_as_moved)),