binhachon20. Sushi Token Activity - Burn/harvest sample transaction
    Updated 2022-01-10
    with xSUSHI_mint as (
    select
    block_timestamp,
    to_address as minter,
    amount/1e18 as mint_amount
    from ethereum.udm_events
    where tx_id = '0x169493efd2c75be085c11c598bb221611bfdecd7be3e7ad1c5f1b44ba9cf6dc7'
    and contract_address = '0x8798249c2e607446efb7ad49ec89dd1865ff4272'
    and origin_function_signature = '0xa59f3e0c'
    ),
    xSUSHI_burn as (
    select
    block_timestamp,
    from_address as burner,
    amount/1e18 as burn_amount
    from ethereum.udm_events
    where tx_id = '0xf6893660c14ce88f489a9d7b4039bf13df8044d8c7c3cf46927c50920cb9246e'
    and contract_address = '0x8798249c2e607446efb7ad49ec89dd1865ff4272'
    and to_address = '0x0000000000000000000000000000000000000000'
    and origin_function_signature = '0x67dfd4c9'
    ),
    SUSHI_stake as (
    select
    block_timestamp,
    from_address as staker,
    amount as stake_amount
    from ethereum.udm_events
    where tx_id = '0x169493efd2c75be085c11c598bb221611bfdecd7be3e7ad1c5f1b44ba9cf6dc7'
    and to_address = '0x8798249c2e607446efb7ad49ec89dd1865ff4272'
    and contract_address = '0x6b3595068778dd592e39a122f4f5a5cf09c90fe2'
    and origin_function_signature = '0xa59f3e0c'
    ),
    SUSHI_harvest as (
    select
    block_timestamp,
    to_address as harvester,
    Run a query to Download Data