Query editor
SELECTdate_trunc('day', date '2020-12-01') as day,'ethereum' as blockchain,0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84 as token_address,timestamp '2020-12-01 00:00:00' as block_time,11350000 as block_number,1 as rate,1 as tx_indexUNION ALLSELECTdate_trunc('day', evt_block_time) as day,'ethereum' as blockchain,0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84 as token_address,evt_block_time as block_time,evt_block_number as block_number,(postTotalPooledEther/1e18)/(totalShares/1e18) as rate,evt_index as tx_indexFROMlido_ethereum.LegacyOracle_evt_PostTotalSharesWHERE evt_block_time <= date('2023-05-16')UNION ALLSELECTdate_trunc('day', evt_block_time) as day,'ethereum' as blockchain,0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84 as token_address,evt_block_time as block_time,evt_block_number as block_number,(postTotalEther/1e18)/(postTotalShares/1e18) as rate,evt_index as tx_indexFROMlido_ethereum.steth_evt_TokenRebased