MLDZMNbase- fee
    Updated 32 seconds ago
    with date_initial as (
    select
    DATE_DAY as day,
    from crosschain.core.dim_dates
    where day>= '2024-03-28'
    and day <= current_date
    ),

    amount_in_lp as (
    select
    date_trunc('day', BLOCK_TIMESTAMP) as dt,
    sum(RAW_AMOUNT)/1e18 as amount_lp
    from base.core.ez_token_transfers
    where contract_address = lower('0x5332584890D6E415a6dc910254d6430b8aaB7E69')
    and FROM_ADDRESS = '0x0000000000000000000000000000000000000000'
    and TO_ADDRESS != '0x0000000000000000000000000000000000000000'
    group by 1),

    amount_out_lp as (
    select date_trunc('day',BLOCK_TIMESTAMP) as dt,
    -1*(sum(RAW_AMOUNT)/1e18)as amount_lp
    from base.core.ez_token_transfers
    where
    contract_address = lower('0x5332584890D6E415a6dc910254d6430b8aaB7E69')
    and FROM_ADDRESS != '0x0000000000000000000000000000000000000000'
    and TO_ADDRESS = '0x0000000000000000000000000000000000000000'
    group by 1),

    daily_liquidity as (
    select * from amount_in_lp
    union all
    select * from amount_out_lp
    ),

    total_supply as (
    select
    Last run: 1 minute agoAuto-refreshes every 12 hours
    DAY
    TOTAL_FEES
    CUMULATIVE_FEES
    VOLUME
    NUMBER_OF_TRANSACTIONS
    OWNERSHIP_RATIO
    PROTOCOL_EARNED_FEES
    EXTERNAL_EARNED_FEES
    CUMULATIVE_PROTOCOL_EARNED_FEES
    CUMULATIVE_EXTERNAL_FEES
    1
    2025-06-19 00:00:00.000028882.4000.91461180960026416.1841296312466.215870369
    2
    2025-06-18 00:00:00.0006.6128882.42203.47780.91461180966.0455840610.564415938526416.1841296312466.215870369
    3
    2025-06-17 00:00:00.00014.0628875.794686.33970.914611809612.8594420431.20055795726410.1385455692465.651454431
    4
    2025-06-16 00:00:00.00010.6928861.733562.93880.91461180969.7772002450.912799755426397.2791035262464.450896474
    5
    2025-06-15 00:00:00.00010.5428851.043514.04810.91461180969.6400084730.899991526826387.5019032822463.538096718
    6
    2025-06-14 00:00:00.00025.1828840.58393.671130.914611809623.0299253662.15007463426377.8618948092462.638105191
    7
    2025-06-13 00:00:00.00022.4728815.327488.541380.914611809620.5513273621.91867263826354.8319694432460.488030557
    8
    2025-06-12 00:00:00.00022.9628792.857652.59850.914611809620.9994871481.96051285226334.2806420812458.569357919
    9
    2025-06-11 00:00:00.0008.1628769.892718.91710.91461180967.4632323660.696767633726313.2811549332456.608845067
    10
    2025-06-10 00:00:00.00048.1228761.7316040.111050.914611809644.0111202784.10887972226305.8179225662455.912077434
    11
    2025-06-09 00:00:00.00020.5828713.616858.99950.914611809618.8227110421.75728895826261.8068022882451.803197712
    12
    2025-06-08 00:00:00.0008.1828693.032727.96220.91461180967.4815246030.698475397526242.9840912472450.045908753
    13
    2025-06-07 00:00:00.0008.7428684.852911.87390.91461180967.9937072160.746292784126235.5025666442449.347433356
    14
    2025-06-06 00:00:00.00010.2228676.113406.7840.91461180969.3473326940.872667305926227.5088594282448.601140572
    15
    2025-06-05 00:00:00.00028.5628665.899520.14940.914611809626.1213132822.43868671826218.1615267342447.728473266
    16
    2025-06-04 00:00:00.0004.5328637.331511.07480.91461180964.1431914970.386808502526192.0402134522445.289786548
    17
    2025-06-03 00:00:00.0005.6728632.81889.38630.91461180965.185848960.484151039626187.8970219542444.902978046
    18
    2025-06-02 00:00:00.0006.2928627.132097.86820.91461180965.7529082820.537091717626182.7111729942444.418827006
    19
    2025-06-01 00:00:00.0006.6328620.842209.01800.91461180966.0638762980.566123702326176.9582647122443.881735288
    20
    2025-05-31 00:00:00.00010.3828614.213460.58420.91461180969.4936705840.886329416326170.8943884142443.315611586
    ...
    449
    51KB
    430s