Query editor
WITH e AS (SELECT evt_block_date day, CAST(managementFeeShares AS double)/1e6 management_fee_shares, CAST(performanceFeeShares AS double)/1e6 performance_fee_shares,(CAST(newTotalAssets AS double)-CAST(previousTotalAssets AS double))/1e6 interest_change_pyusdFROM morpho_v2_ethereum.vaultv2_evt_accrueinterestWHERE contract_address=0xC21b08C16458202593D4D9B26b9984Ee67b38BbD AND evt_block_date >= DATE '2026-05-08')SELECT day, sum(management_fee_shares) AS management_fee_shares, sum(performance_fee_shares) AS performance_fee_shares,sum(management_fee_shares+performance_fee_shares) AS total_fee_shares, sum(interest_change_pyusd) AS net_asset_accrual_pyusd,sum(sum(management_fee_shares+performance_fee_shares)) OVER (ORDER BY day) AS cumulative_fee_sharesFROM e GROUP BY 1 ORDER BY day DESC