oscarqtoken_transfers_assesment_ETH
    Updated 2025-03-03
    WITH transfers_table AS (
    SELECT
    DATE_TRUNC('month',block_timestamp) AS transfer_date,
    contract_address,
    count(*) AS num_transfers,
    sum(amount) AS total_amount,
    sum(amount_usd) total_amount_usd,
    'ethereum' AS blockchain
    FROM
    ethereum.core.ez_token_transfers tr
    LEFT JOIN
    ethereum.core.dim_contracts ct ON tr.contract_address = ct.address
    WHERE
    block_timestamp >= '{{initial}}'
    AND block_timestamp < '{{end}}'
    AND contract_address NOT IN (SELECT pool_address FROM ethereum.defi.dim_dex_liquidity_pools)
    GROUP BY 1,2,6
    )

    SELECT
    transfer_date,
    contract_address,
    ct.name AS name,
    ct.symbol AS symbol,
    ct.created_block_timestamp AS created_blocktime_stamp,
    ct.creator_address AS creator_address,
    num_transfers,
    total_amount,
    total_amount_usd,
    blockchain
    FROM
    transfers_table tr
    LEFT JOIN
    ethereum.core.dim_contracts ct ON tr.contract_address = ct.address
    WHERE
    (
    Last run: 3 months ago
    TRANSFER_DATE
    CONTRACT_ADDRESS
    NAME
    SYMBOL
    CREATED_BLOCKTIME_STAMP
    CREATOR_ADDRESS
    NUM_TRANSFERS
    TOTAL_AMOUNT
    TOTAL_AMOUNT_USD
    BLOCKCHAIN
    1
    2022-07-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba854892488344999.999938ethereum
    2
    2022-11-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba85489248831502695.425768ethereum
    3
    2022-08-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba85489248811552.237829ethereum
    4
    2022-05-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba8548924881200000ethereum
    5
    2022-12-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba854892488448619.026141ethereum
    6
    2022-03-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba8548924885717846.68131ethereum
    7
    2022-02-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba854892488101288323.419773ethereum
    8
    2022-10-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba85489248813500.499998ethereum
    9
    2022-06-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba854892488221267.119543ethereum
    10
    2022-01-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba85489248834481.762038ethereum
    11
    2022-04-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba85489248851634184.357375ethereum
    12
    2022-09-01 00:00:00.0000x3d9317a27f3d83f0821deeeb0befdb68d4c9cd47LPTokenUSDCLPTokenUSDC2021-04-24 10:36:31.0000x345c9ae61ff6e68b319d61082a017ba85489248811347.712885ethereum
    13
    2022-07-01 00:00:00.0000x3d9331c6ed3d3835d00e6784504a44d948c9bf23Shin JidaiJIDAI2022-07-28 06:03:00.0000xfc830bbb4b1f6790623df22fa55839b094a56367475166678749.80041ethereum
    14
    2022-12-01 00:00:00.0000x3f0cc41de057458591e1c753f5bc162c982cbd00Dai Stablecoin (Wormhole)DAI2022-03-22 07:37:56.0000x3ee18b2214aff97000d974cf647e7c347e8fa5853763887.29796891ethereum
    15
    2022-11-01 00:00:00.0000x3f0cc41de057458591e1c753f5bc162c982cbd00Dai Stablecoin (Wormhole)DAI2022-03-22 07:37:56.0000x3ee18b2214aff97000d974cf647e7c347e8fa585130ethereum
    16
    2022-04-01 00:00:00.0000x3f0cc41de057458591e1c753f5bc162c982cbd00Dai Stablecoin (Wormhole)DAI2022-03-22 07:37:56.0000x3ee18b2214aff97000d974cf647e7c347e8fa585360000.0146811ethereum
    17
    2022-08-01 00:00:00.0000x3f0cc41de057458591e1c753f5bc162c982cbd00Dai Stablecoin (Wormhole)DAI2022-03-22 07:37:56.0000x3ee18b2214aff97000d974cf647e7c347e8fa585341484.84134766ethereum
    18
    2022-03-01 00:00:00.0000x3f0cc41de057458591e1c753f5bc162c982cbd00Dai Stablecoin (Wormhole)DAI2022-03-22 07:37:56.0000x3ee18b2214aff97000d974cf647e7c347e8fa5851214116912.0408764ethereum
    19
    2022-07-01 00:00:00.0000x3f0cc41de057458591e1c753f5bc162c982cbd00Dai Stablecoin (Wormhole)DAI2022-03-22 07:37:56.0000x3ee18b2214aff97000d974cf647e7c347e8fa58563981.18042552ethereum
    20
    2022-06-01 00:00:00.0000x3f0cc41de057458591e1c753f5bc162c982cbd00Dai Stablecoin (Wormhole)DAI2022-03-22 07:37:56.0000x3ee18b2214aff97000d974cf647e7c347e8fa585749871.02066225ethereum
    ...
    14401
    3MB
    20s