Updated 4 hours ago
    select
    date_trunc('month',BLOCK_TIMESTAMP) as Month,
    'Withdraw veOLAS' as action,
    sum(OLAS_AMOUNT) as "Withdraw volume",
    sum("Withdraw volume") over (order by Month) as "Cumulative Withdraw volume"

    from crosschain.olas.ez_olas_locking
    where EVENT_NAME = 'Withdraw'
    group by 1

    union all

    select
    date_trunc('month',BLOCK_TIMESTAMP) as Month,
    'Withdraw buOLAS' as action,
    --DECODED_LOG:account as ACCOUNT_ADDRESS,
    sum(DECODED_LOG:amount/1e18) as "Withdraw volume",
    sum("Withdraw volume") over (order by Month) as "Cumulative Withdraw volume"
    from ethereum.core.ez_decoded_event_logs
    --where tx_hash = '0xe1af056f7dcdf994c9f6019175dc84e6aa94c5d87a8111b96f2c83fa359d4f8a'
    where CONTRACT_ADDRESS = '0xb09ccf0dbf0c178806aaee28956c74bd66d21f73' -- buOLAS
    and TOPICS[0] = '0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568'
    and EVENT_NAME = 'Withdraw'
    group by 1


    Last run: about 4 hours agoAuto-refreshes every 12 hours
    MONTH
    ACTION
    Withdraw volume
    Cumulative Withdraw volume
    1
    2024-08-01 00:00:00.000Withdraw veOLAS66806423441612.3968552
    2
    2024-11-01 00:00:00.000Withdraw veOLAS6022079.3433533129756732.0551509
    3
    2024-11-01 00:00:00.000Withdraw buOLAS1583347247736017.25
    4
    2024-08-01 00:00:00.000Withdraw buOLAS374992.33333333331902545.25
    5
    2023-12-01 00:00:00.000Withdraw veOLAS3470606.478381995703920.73004486
    6
    2025-01-01 00:00:00.000Withdraw veOLAS19855475.147321752949317.0971892
    7
    2025-02-01 00:00:00.000Withdraw veOLAS43617080.926042996566398.023232
    8
    2025-01-01 00:00:00.000Withdraw buOLAS10321696.583333358057713.8333333
    9
    2023-08-01 00:00:00.000Withdraw veOLAS1512065.581241661845388.58124166
    10
    2024-04-01 00:00:00.000Withdraw veOLAS268192.90617648621806468.2235913
    11
    2023-08-01 00:00:00.000Withdraw buOLAS103122919114655
    12
    2023-11-01 00:00:00.000Withdraw veOLAS144600.6704212032233314.25166287
    13
    2024-09-01 00:00:00.000Withdraw veOLAS139412.00284814523581024.3997033
    14
    2023-11-01 00:00:00.000Withdraw buOLAS562488.58333333320052135.9166667
    15
    2024-02-01 00:00:00.000Withdraw veOLAS10131530.69827920920445.3789293
    16
    2024-02-01 00:00:00.000Withdraw buOLAS8666720.6666666729277598.9166667
    17
    2024-05-01 00:00:00.000Withdraw veOLAS182081.54487915821988549.7684704
    18
    2025-04-01 00:00:00.000Withdraw veOLAS168746.62596738144.648232
    19
    2023-10-01 00:00:00.000Withdraw veOLAS999932088713.58124166
    20
    2024-01-01 00:00:00.000Withdraw veOLAS5084993.9506054210788914.6806503
    32
    2KB
    3s