mamad-5XN3k3Avant avUSD (Mint and Redeem)
    Updated 2025-03-27
    with rawt as (
    select
    'Mint' as type,
    TX_HASH,
    BLOCK_TIMESTAMP,
    --DECODED_LOG:"minter" as user,
    DECODED_LOG:"beneficiary" as user,
    DECODED_LOG:"avusd_amount"/1e18 as avusd_amount,
    DECODED_LOG:"collateral_asset" as collateral_asset,
    DECODED_LOG:"collateral_amount"/1e6 as collateral_amount
    from avalanche.core.ez_decoded_event_logs
    where CONTRACT_ADDRESS = lower('0x1499cb3197427b78dc0e2d356a1e0e4149e0ed51')
    and EVENT_NAME = 'Mint'
    and ORIGIN_FUNCTION_SIGNATURE = '0xd48c03e5'
    and TX_SUCCEEDED = 'TRUE'
    --group by 1,2

    union

    select
    'Redeem' as type,
    TX_HASH,
    BLOCK_TIMESTAMP,
    --DECODED_LOG:"redeemer" as user,
    DECODED_LOG:"beneficiary" as user,
    DECODED_LOG:"avusd_amount"/1e18 as avusd_amount,
    DECODED_LOG:"collateral_asset" as collateral_asset,
    DECODED_LOG:"collateral_amount"/1e6 as collateral_amount
    from avalanche.core.ez_decoded_event_logs
    where CONTRACT_ADDRESS = lower('0x1499cb3197427b78dc0e2d356a1e0e4149e0ed51')
    and EVENT_NAME = 'Redeem'
    and ORIGIN_FUNCTION_SIGNATURE = '0x95165e8b'
    and TX_SUCCEEDED = 'TRUE'
    --group by 1,2
    )

    Last run: 18 days ago
    DATE
    USERS
    CUM_USERS
    TXS
    MINT_AVUSD_AMOUNT
    REDEEM_AVUSD_AMOUNT
    CUM_MINT_AVUSD_AMOUNT
    CUM_REDEEM_AVUSD_AMOUNT
    AVUSD_AMOUNT
    COLLATERAL_AMOUNT
    CUM_COLLATERAL_AMOUNT
    CUM_AVUSD_TVL_AMOUNT
    1
    2025-03-24 00:00:00.0003406326268.28494501443501960870526268.28494526294.5795241383296313826314
    2
    2025-03-17 00:00:00.000840310283884.841995014408751608705283884.841995284169.0110061380666813800046
    3
    2025-03-10 00:00:00.0003239538743453.002929203015.62845814124866608705540437.374471542196.6498141352249913516161
    4
    2025-03-03 00:00:00.000153631974293.77689801338141340568974293.77689874368.1450431298030312975724
    5
    2025-02-24 00:00:00.00011348212033051.1361512023.770248133071194056892031027.3659032033072.5709771290593512901430
    6
    2025-02-17 00:00:00.0004433753461714.28664376.18751711274068403665461338.099123461780.9967611087286210870403
    7
    2025-02-10 00:00:00.00054293872836330.1185213453.553665108123544032892832876.5648562832893.8326241041108110409064
    8
    2025-02-03 00:00:00.0004923974559663.16357910655.6878647976024399836549007.475715549060.75415375781877576188
    9
    2025-01-27 00:00:00.0007019093151927.74705218575.6925557416360389180133352.054497133444.9329670291267027180
    10
    2025-01-20 00:00:00.0006712091166168.606399160496.00572644333706045672.6013996475.08142468956816893828
    11
    2025-01-13 00:00:00.000195332265223.24564207098264210108265223.245642265223.24564268892066888156
    12
    2025-01-06 00:00:00.0001334354187698.45791221000068330412101083977698.4579123978748.45791266239836622932
    13
    2024-12-30 00:00:00.000621211399901.045238026453421081399901.0452381399901.04523826452352645234
    14
    2024-12-23 00:00:00.0002154203571.6889701245441108203571.68897203571.6889712453341245333
    15
    2024-12-16 00:00:00.00021344256.796335108.31144310418701084148.4848924149.02644910417621041761
    16
    2024-12-09 00:00:00.000311131018719.0903850103761301018719.0903851018719.09038510376131037613
    17
    2024-12-02 00:00:00.0003838118.73315801889408118.7331588118.7331581889418894
    18
    2024-11-25 00:00:00.00045610675.116834010775010675.11683410675.1168341077510775
    19
    2024-11-11 00:00:00.00011199.850100099.85100100100
    19
    2KB
    4s