CryptoIcicleSushi vs Uni on L2 - Sushiswap
    Updated 2022-10-17
    -- Compare the market share of Sushiswap and Uniswap on the following L2 chains.

    -- Pay by Quality Your score determines your final payout.
    -- Grand Prize 85.308 SUSHI (A score of 11 or 12 earns you a Grand Prize title)
    -- Payout 56.872 SUSHI
    -- Score Multiplier 0-7 : 0% 8 : 50% 9 : 75% 10 : 100% 11 : 125% 12 : 150%
    -- Payout Network Ethereum
    -- Level Intermediate
    -- Difficulty Hard

    -- Compare the market share of Sushiswap and Uniswap on the following L2 chains.
    -- Polygon, Arbitrum, Optimism. Use measures such as number of trade or number of swaps, etc.
    with
    swap_txns as (
    (select
    block_timestamp,
    tx_hash,
    origin_from_address as wallet,
    'arbitrum' as blockchain
    from arbitrum.sushi.ez_swaps)
    union all
    (select block_timestamp,
    tx_hash,
    origin_from_address as wallet,
    'polygon' as blockchain
    from polygon.sushi.ez_swaps)
    union all
    (select block_timestamp,
    tx_hash,
    origin_from_address as wallet,
    'optimism' as blockchain
    from optimism.sushi.ez_swaps)
    )
    select
    Run a query to Download Data