andreafiandro[Mantle] # Liquidity Provider
    Updated 2023-12-05

    WITH BRIDGED AS (select
    AMOUNT,
    SYMBOL,
    AMOUNT_USD,
    date_trunc('hour', BLOCK_TIMESTAMP) as HOUR,
    ORIGIN_FROM_ADDRESS,
    ORIGIN_TO_ADDRESS,
    ORIGIN_FUNCTION_SIGNATURE
    from
    ethereum.core.ez_token_transfers
    where
    ORIGIN_TO_ADDRESS in (
    '0x95fc37a27a2f68e3a647cdc081f0a89bb47c3012'
    )
    and ORIGIN_FUNCTION_SIGNATURE in ('0x58a997f6') -- Deposit ERC20 Tokens
    AND HOUR > '{{start_date_mantle}}'
    AND HOUR < '{{end_date_mantle}}'

    UNION ALL

    select
    AMOUNT,
    'ETH' as SYMBOL,
    AMOUNT_USD,
    date_trunc('hour', BLOCK_TIMESTAMP) as HOUR,
    ORIGIN_FROM_ADDRESS,
    ORIGIN_TO_ADDRESS,
    ORIGIN_FUNCTION_SIGNATURE
    from
    ethereum.core.ez_eth_transfers
    where
    ORIGIN_TO_ADDRESS in (
    '0x32400084c286cf3e17e7b677ea9583e60a000324' -- Bridge ETH
    )
    and ORIGIN_FUNCTION_SIGNATURE in ('0xeb672419') -- Deposit ETH
    Run a query to Download Data