MLDZMNcreator bid 2
    Updated 2025-02-28
    -- v1 and v2
    with tb1 as (select
    *
    from base.core.fact_event_logs
    where CONTRACT_ADDRESS = '0x6623206875c37bcecf67c362d4dd1c96bd5c34d8'
    and TOPICS[0] = '0xf4c563a3ea86ff1f4275e8c207df0375a51963f2b831b7bf4da8be938d92876c'
    ),
    --tx_hash = '0xd9b38057fffe2b4345fa945a5b902e581709ceaaae52ae467ceb16f09d09a1b8'
    -----------------------------------------------------------------------------

    tb2 as (select
    tb1.tx_hash,
    tb1.block_timestamp,
    round(sum(amount),6) as creation_amt_eth,
    sum(amount_usd) as creation_amt_usd,
    round(max(amount),6) as mint_amt_eth,
    max(amount_usd) as mint_amt_usd,
    round(min(amount),6) as fee_amt_eth,
    min(amount_usd) as fee_amt_usd,
    round(0.01*(min(amount)),6) as creatorbid_fee_amt_eth,
    0.01*(min(amount_usd)) as creatorbid_fee_amt_usd,
    round(0.02*(min(amount)),6) as agent_fee_amt_eth,
    0.02*(min(amount_usd)) as agent_fee_amt_usd

    from base.core.ez_native_transfers b
    left join tb1 on b.tx_hash = tb1.tx_hash
    where b.tx_hash in (select tx_hash from tb1)
    and b.FROM_ADDRESS = '0xe794f7eb7e644eb49056133373fb9b1ea39f22ad'
    and b.TO_ADDRESS = '0x61925f12b4f6bbf23475986a685d4eba7b78ef91'
    group by 1,2
    )

    select
    date_trunc('week',block_timestamp) as week,
    count(*) as no_creation,
    sum(no_creation) over (order by week) as total_creations,
    Last run: about 2 months ago
    WEEK
    NO_CREATION
    TOTAL_CREATIONS
    WEEKLY_CREATION_FEE_USD
    TOTAL_CREATION_FEE_USD
    CREATORBID_FEE_USD
    AGENT_FEE_USD
    1
    2025-02-24 00:00:00.0001444281652.02437097.977.480314.9606
    2
    2025-02-17 00:00:00.0001444141754.84435445.956.533113.0662
    3
    2025-02-10 00:00:00.0001944002358.97433691.111.9053.81
    4
    2025-02-03 00:00:00.0001943812454.91431332.141.24082.4816
    5
    2025-01-27 00:00:00.0005543628416.82428877.238.552117.1042
    6
    2025-01-20 00:00:00.000134430721224.87420460.4117.884235.7684
    7
    2025-01-13 00:00:00.000275417343220.29399235.5443.148586.297
    8
    2025-01-06 00:00:00.0007293898119175.26356015.25140.1015280.203
    9
    2024-12-30 00:00:00.00015573169180936.77236839.99199.0784398.1568
    10
    2024-12-23 00:00:00.000200161217101.6855903.2221.837243.6744
    11
    2024-12-16 00:00:00.0006214125813.8438801.545.494610.9892
    12
    2024-12-09 00:00:00.0008013507952.2232987.79.174918.3498
    13
    2024-12-02 00:00:00.000156127011945.4125035.4814.463428.9268
    14
    2024-11-25 00:00:00.00026711145016.3713090.0717.031334.0626
    15
    2024-11-18 00:00:00.000978471641.28073.72.96745.9348
    16
    2024-11-11 00:00:00.000877501431.046432.51.683.36
    17
    2024-11-04 00:00:00.000996631478.845001.462.23414.4682
    18
    2024-10-28 00:00:00.0002545642008.53522.625.238910.4778
    19
    2024-10-21 00:00:00.0003103101514.121514.123.75547.5108
    19
    1KB
    28s