Query editor
WITH events AS (SELECTdepositor AS address,amount AS amount_rawFROM renzo_ethereum.RestakeManager_evt_DepositUNION ALLSELECTwithdrawer AS address,-amount AS amount_raw -- Negate withdrawal amountsFROM renzo_ethereum.RestakeManager_evt_UserWithdrawCompleted)SELECTaddress,SUM(amount_raw / 1e18) AS deposits -- Sum only deposits (net of withdrawals)FROMeventsGROUP BYaddressORDER BYdeposits DESC