MLDZMNGreed price
    Updated 2025-04-01
    with Thruster_V2 as (
    with pool_created as (
    select
    contract_address,
    REGEXP_SUBSTR_ALL(SUBSTR(data, 3, len(data)), '.{64}') as segmented_data,
    lower('0x' || substr(topics[1]::string, 27, 40) :: string) as token0,
    lower('0x' || substr(topics[2]::string, 27, 40) :: string) as token1,
    lower('0x' || substr(segmented_data[0]::string, 25, 40 ) :: string) as pool_address
    from blast.core.fact_event_logs
    WHERE topics[0] = '0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9'
    and tx_status = 'SUCCESS'
    and contract_address IN ('0xb4a7d971d0adea1c73198c97d7ab3f9ce4aafa13', '0x37836821a2c03c171fb1a595767f4a16e2b93fc4') -- ThrusterFactory V2

    )
    ,
    swap as (
    select
    block_timestamp,
    block_number,
    origin_from_address,
    origin_to_address,
    ORIGIN_FUNCTION_SIGNATURE,
    tx_hash,
    event_index,
    contract_address,
    lower('0x' || substr(topics[1]::string, 27, 40) :: string) as sender, -- thruster - v2 (0.3% - 1%)
    lower('0x' || substr(topics[2]::string, 27, 40) :: string) as address_to,
    REGEXP_SUBSTR_ALL(SUBSTR(data, 3, len(data)), '.{64}') as segmented_data,
    livequery.utils.udf_hex_to_int(segmented_data[0]::string) :: int as amount0In,
    livequery.utils.udf_hex_to_int(segmented_data[1]::string) :: int as amount1In,
    livequery.utils.udf_hex_to_int(segmented_data[2]::string) :: int as amount0Out,
    livequery.utils.udf_hex_to_int(segmented_data[3]::string) :: int as amount1Out
    from blast.core.fact_event_logs
    where topics[0]::string = '0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822'
    and block_timestamp::date >= '2024-02-28'
    and tx_status = 'SUCCESS'
    Last run: 25 days agoAuto-refreshes every 12 hours
    DAY
    Greed price
    1
    2024-12-08 00:00:00.0000.000001433848482
    2
    2024-10-23 00:00:00.0000.000004950253207
    3
    2024-10-22 00:00:00.0000.00002969909718
    4
    2024-10-21 00:00:00.0000.00004678565667
    5
    2024-10-20 00:00:00.0000.0002533455167
    6
    2024-10-19 00:00:00.0000.0005609839663
    7
    2024-10-18 00:00:00.0000.0005453636523
    8
    2024-10-17 00:00:00.0000.000541462534
    9
    2024-10-16 00:00:00.0000.0005630669613
    10
    2024-10-15 00:00:00.0000.0005521558574
    11
    2024-10-14 00:00:00.0000.000546062104
    12
    2024-10-13 00:00:00.0000.000532370859
    13
    2024-10-12 00:00:00.0000.0005525260249
    14
    2024-10-11 00:00:00.0000.000544179888
    15
    2024-10-10 00:00:00.0000.0005122275957
    16
    2024-10-09 00:00:00.0000.0005160229462
    17
    2024-10-08 00:00:00.0000.0005269767564
    18
    2024-10-07 00:00:00.0000.0006004505107
    19
    2024-10-06 00:00:00.0000.0006143124599
    20
    2024-10-05 00:00:00.0000.0006240175194
    ...
    136
    6KB
    92s