Query editor
with pool_set as (select * frombalancer_v2_base.updatablerateproviderbalv2_evt_poolset)-- We know that the first call to getRate(), initial_rate as (select contract_address, MIN_BY(output_0, call_block_time) as value_raw, MIN(call_block_time) as timefrom balancer_v2_base.updatablerateproviderbalv2_call_getrategroup by 1)-- Add a synthetic event to capture the first (relevant) value, events as (select time, contract_address as urp, value_raw, null as whyfrom initial_rateunion allselect e.evt_block_time as time, e.contract_address as urp, e.value as value_raw, e.whyfrom balancer_v2_base.updatablerateproviderbalv2_evt_valueupdated e)select e.time, e.urp, ps.pool, ps.ourTokenIx, e.value_raw, cast(e.value_raw as double)/1e18 as value, e.whyfrom events eleft join pool_set ps on e.urp = ps.contract_addressorder by 1, 2