hessDaily Platforms Earning
    Updated 2024-11-16
    with pallet as ( select DISTINCT tx_id
    from sei.core.fact_msg_attributes
    where ATTRIBUTE_VALUE in ('sei152u2u0lqc27428cuf8dx48k8saua74m6nql5kgvsu4rfeqm547rsnhy4y9')
    and ATTRIBUTE_KEY = '_contract_address'
    and msg_type in ('wasm-buy_now','wasm-accept_bid')
    and TX_SUCCEEDED = 'true'
    and block_timestamp::date >= current_date - 31 and block_timestamp::Date <= current_date - 1
    UNION
    select DISTINCT tx_id
    from sei.core.fact_msg_attributes
    where attribute_value = 'sei1pdwlx9h8nc3fp6073mweug654wfkxjaelgkum0a9wtsktwuydw5sduczvz'
    and tx_succeeded = 'true'
    and attribute_key = '_contract_address'
    and msg_type = 'wasm-execute-exchange'
    and block_timestamp::date >= current_date - 31 and block_timestamp::Date <= current_date - 1)

    select date(block_timestamp) as date,
    case when receiver = 'sei1kdns9z8qm3euk0hnmgltqxlnldkqq3wza4eqwd' then 'Pallet' else 'Dagora' end as platform,
    sum(amount/pow(10,6)) as platform_amount
    from sei.core.fact_transfers
    where RECEIVER in ('sei1kdns9z8qm3euk0hnmgltqxlnldkqq3wza4eqwd','sei15qlu5fxwp9umen3l7d7ju2p6lgn02c009zlst5')
    and tx_id in (select tx_id from pallet)
    and block_timestamp::date >= current_date - 31 and block_timestamp::Date <= current_date - 1
    group by 1,2
    Last run: 3 months agoAuto-refreshes every 24 hours
    DATE
    PLATFORM
    PLATFORM_AMOUNT
    1
    2025-01-04 00:00:00.000Pallet109.990198
    2
    2025-01-06 00:00:00.000Pallet99.752778
    3
    2025-01-11 00:00:00.000Pallet149.03366
    4
    2025-01-12 00:00:00.000Pallet80.153758
    5
    2025-01-18 00:00:00.000Pallet129.829152
    6
    2025-01-09 00:00:00.000Pallet186.285238
    7
    2025-01-08 00:00:00.000Pallet91.357554
    8
    2025-01-10 00:00:00.000Pallet132.225718
    9
    2025-01-07 00:00:00.000Pallet143.37514
    10
    2025-01-05 00:00:00.000Dagora0.02
    11
    2025-01-17 00:00:00.000Pallet195.6417
    12
    2025-01-13 00:00:00.000Pallet143.497796
    13
    2025-01-15 00:00:00.000Pallet153.6244
    14
    2025-01-03 00:00:00.000Pallet96.99598
    15
    2025-01-21 00:00:00.000Dagora0.0982
    16
    2025-01-14 00:00:00.000Pallet175.431095
    17
    2025-01-08 00:00:00.000Dagora0.0998
    18
    2025-01-16 00:00:00.000Pallet355.460958
    19
    2025-01-05 00:00:00.000Pallet115.070123
    20
    2025-01-19 00:00:00.000Pallet6.64
    20
    930B
    12s