Query editor
-- Managed in github.com/UMAprotocol/across-etl/tree/master/dune: edits made here get overwritten.selectevt_block_time as block_time,a.contract_address,CAST(REPLACE(CAST(JSON_EXTRACT(relay,'$.slowRelayer') AS VARCHAR), '"','') AS VARBINARY) as relayer,CAST(REPLACE(CAST(JSON_EXTRACT(depositData,'$.l2Sender') AS VARCHAR), '"','') AS VARBINARY) as user,JSON_EXTRACT(depositData,'$.amount') as amount,JSON_EXTRACT(depositData,'$.chainId') as src_chain_id,'ethereum' as dst_chain,(CAST(JSON_EXTRACT(depositData,'$.slowRelayFeePct') AS DOUBLE) / 1e18 + CAST(JSON_EXTRACT(depositData,'$.instantRelayFeePct') AS DOUBLE) / 1e18) as relay_fee_pct,CAST(JSON_EXTRACT(relay,'$.realizedLpFeePct') AS DOUBLE) / 1e18 as lp_fee_pct,b.token_address as dst_token,b.token_address,CAST(REPLACE(CAST(JSON_EXTRACT(depositData,'$.l1Recipient') AS VARCHAR), '"','') AS VARBINARY) as recipient,evt_tx_hash as tx_hashfrom across_ethereum.BridgePoolProd_evt_DepositRelayed ainner join (select distinctcontract_address,output_0 as token_addressfrom across_ethereum.BridgePoolProd_call_l1Token) b on a.contract_address = b.contract_address