Query editor
-- -- WITH mint_txs AS (-- -- SELECT-- -- date_trunc('month', t.evt_block_time) AS month,-- -- t.evt_tx_hash AS tx_hash-- -- FROM erc20_ethereum.evt_transfer t-- -- WHERE t.contract_address = 0xae7ab96520de3a18e5e111b5eaab095312d7fe84 -- stETH-- -- AND t."from" = 0x0000000000000000000000000000000000000000-- -- -- change range as needed-- -- AND t.evt_block_time >= TIMESTAMP '2025-12-01'-- -- AND t.evt_block_time < TIMESTAMP '2026-02-01'-- -- ),-- -- depositors AS (-- -- SELECT-- -- m.month,-- -- tx."from" AS depositor-- -- FROM mint_txs m-- -- JOIN ethereum.transactions tx-- -- ON tx.hash = m.tx_hash-- -- )-- -- SELECT-- -- month,-- -- COUNT(DISTINCT depositor) AS monthly_unique_depositors-- -- FROM depositors-- -- GROUP BY 1-- -- ORDER BY 1;-- ------------- -- ## Lido Enforced Logic-- WITH mint_events AS (-- SELECT-- date_trunc('month', t.evt_block_time) AS month,-- t.evt_tx_hash AS tx_hash,-- t."to" AS mint_receiver-- FROM erc20_ethereum.evt_transfer t-- WHERE t.contract_address = 0xae7ab96520de3a18e5e111b5eaab095312d7fe84 -- stETH-- AND t."from" = 0x0000000000000000000000000000000000000000 -- mint-- AND t.evt_block_time >= TIMESTAMP '2025-11-01'-- AND t.evt_block_time < TIMESTAMP '2026-02-01'-- ),-- filtered_depositors AS (-- SELECT-- m.month,-- tx."from" AS depositor,-- m.mint_receiver-- FROM mint_events m-- JOIN ethereum.transactions tx-- ON tx.hash = m.tx_hash-- WHERE tx."from" = m.mint_receiver -- enforce same-- )-- SELECT-- month,-- COUNT(DISTINCT depositor) AS monthly_unique_depositors-- FROM filtered_depositors-- GROUP BY 1-- ORDER BY 1