Query editor
with ilks (coll_token, name, ilk) as (values('ETH', 'ETH-A', 0x4554482d41000000000000000000000000000000000000000000000000000000),('ETH', 'ETH-B', 0x4554482d42000000000000000000000000000000000000000000000000000000),('ETH', 'ETH-C', 0x4554482d43000000000000000000000000000000000000000000000000000000),-- (-- 'RETH', 'RETH-A', 0x524554482d410000000000000000000000000000000000000000000000000000-- ),('WSTETH', 'WSTETH-A', 0x5753544554482d41000000000000000000000000000000000000000000000000),('WSTETH', 'WSTETH-B', 0x5753544554482d42000000000000000000000000000000000000000000000000)),sample_times as (select*fromunnest (sequence(cast(date_trunc('day', now() - interval '29' day) as timestamp),cast(date_trunc('day', now()) as timestamp),interval '1' day)) s (time)),sky_rate as (selectcall_block_time as time,ilk,pow(cast(data_uint256 as double) / 1e27,365 * 24 * 60 * 60) -1 as ratefrommaker_ethereum.jug_call_filejoin ilks using (ilk)wherecall_success),sky_sampling as (selecttime,ilk,last_value(rate) ignore nulls over (partition by ilkorder bytime) as rate,