MLDZMNArbitrum- fee
    Updated 4 days ago

    with date_initial as (
    select
    DATE_DAY as day,
    from ethereum.core.dim_dates
    where day>= '2024-01-30'
    and day <= current_date
    ),

    amount_in_lp as (
    select
    date_trunc('day', BLOCK_TIMESTAMP) as dt,
    sum(RAW_AMOUNT)/1e18 as amount_lp
    from arbitrum.core.ez_token_transfers
    where contract_address = lower('0xaf8912a3c4f55a8584b67df30ee0ddf0e60e01f8')
    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 arbitrum.core.ez_token_transfers
    where
    contract_address = lower('0xaf8912a3c4f55a8584b67df30ee0ddf0e60e01f8')
    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 (
    Last run: 4 days 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-09 00:00:00.000010045.38000.9011071735009051.96397869993.41602131
    2
    2025-06-08 00:00:00.000010045.38000.9011071735009051.96397869993.41602131
    3
    2025-06-07 00:00:00.000010045.38000.9011071735009051.96397869993.41602131
    4
    2025-06-06 00:00:00.000010045.38000.9011071735009051.96397869993.41602131
    5
    2025-06-05 00:00:00.0003.9610045.381321.0410.90110717353.5683844070.39161559299051.96397869993.41602131
    6
    2025-06-04 00:00:00.000010041.42000.9011071735009048.395594283993.024405717
    7
    2025-06-03 00:00:00.0000.0110041.422.6910.90110717350.0090110717350.00098892826489048.395594283993.024405717
    8
    2025-06-02 00:00:00.000010041.41000.9011071735009048.386583211993.023416789
    9
    2025-06-01 00:00:00.0000.0210041.416.2110.90110717350.018022143470.001977856539048.386583211993.023416789
    10
    2025-05-31 00:00:00.0000.0310041.399.6910.90110717350.027033215210.0029667847959048.368561068993.021438932
    11
    2025-05-30 00:00:00.0000.0310041.3610.0210.90110717350.027033215210.0029667847959048.341527852993.018472148
    12
    2025-05-29 00:00:00.000010041.33000.9011071735009048.314494637993.015505363
    13
    2025-05-28 00:00:00.0005.6810041.331893.0950.90110717355.1182887460.56171125449048.314494637993.015505363
    14
    2025-05-27 00:00:00.000010035.650.0110.9011071735009043.196205892992.453794108
    15
    2025-05-26 00:00:00.0000.310035.65100.5210.90110717350.27033215210.029667847959043.196205892992.453794108
    16
    2025-05-25 00:00:00.000010035.35000.9011071735009042.92587374992.42412626
    17
    2025-05-24 00:00:00.000010035.350.2510.9011071735009042.92587374992.42412626
    18
    2025-05-23 00:00:00.0000.0810035.3526.0520.90110717350.072088573880.0079114261199042.92587374992.42412626
    19
    2025-05-22 00:00:00.000010035.27000.9011071735009042.853785166992.416214834
    20
    2025-05-21 00:00:00.000010035.27000.9011071735009042.853785166992.416214834
    ...
    497
    53KB
    296s