Query editor
withstake_manager_deposits AS (SELECTDATE_TRUNC('day', evt_block_time) date,SUM(cast(assets as double)) / POWER(10, 18) eth_stakedFROMstader_ethereum.StaderStakePoolsManager_evt_DepositedGROUP BY1),permissionless_node_registry as (SELECTdate,SUM(eth_staked) eth_stakedFROM(SELECTA.*,B.evt_tx_hashFROM(SelectDATE_TRUNC('day', block_time) date,hash,SUM(CAST(value AS DOUBLE) / POWER(10, 18)) eth_stakedFROMethereum.transactionswhere"to" = 0x4f4Bfa0861F62309934a5551E0B2541Ee82fdcF1and value > 0group by1,2) ALEFT JOIN (SELECT distinctevt_tx_hashfromstader_ethereum.PermissionlessNodeRegistry_evt_AddedValidatorKey) B on A.hash = B.evt_tx_hash)WHEREevt_tx_hash is not nullGROUP BY1),withdrawal_initiated as (SELECTDATE_TRUNC('day', evt_block_time) date,-1 * (SUM(CAST(_etherAmount AS DOUBLE) / 1e18)) eth_withdraw_requestedFROMstader_ethereum.UserWithdrawalManager_evt_WithdrawRequestReceivedGROUP BY1),withdrawal_completed as (SELECTDATE_TRUNC('day', call_block_time) date,(SUM(CAST(value AS DOUBLE)) / 1e18) * -1 eth_withdrawal_completedFROM