maybeyonastop_trace_contracts
    Updated 2025-03-28
    -- forked from top_tx_contracts @ https://flipsidecrypto.xyz/studio/queries/1f13ed97-40b1-4a6b-98ce-b3a75282d2c5

    with
    labels as (
    select
    contract_address,
    dapp,
    name
    from $query('92e9b095-a8c5-44f1-8c63-caf6feb228b1')
    ),
    traces as (
    select * from swell.core.fact_traces
    where origin_function_signature != '0x'
    and trace_address != 'ORIGIN'
    and origin_from_address != '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001'
    and origin_to_address != '0x4200000000000000000000000000000000000007'
    ),
    txs as (
    select * from swell.core.fact_transactions
    where origin_function_signature != '0x'
    and from_address != '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001'
    and to_address != '0x4200000000000000000000000000000000000007'
    ),
    traces_enhanced as (
    select
    t.block_timestamp,
    t.tx_hash,
    t.from_address,
    t.to_address,
    t.input,
    t.trace_succeeded,
    t.gas_used,
    txs.gas_used as total_gas_used,
    txs.tx_fee_precise,
    txs.l1_fee_precise,
    (t.gas_used/txs.gas_used)*txs.tx_fee_precise as trace_tx_fee,
    Last run: 22 days ago
    TO_ADDRESS
    DAPP
    NAME
    TOTAL_TX_FEE
    GIGA_GAS_UNITS
    TRACES
    TXS
    TOTAL_L1_FEES
    SEQ_REV
    1
    0x646929453e753565467f330110850885ead93fa9ambienthot proxy0.102987947666.24785485674838070.031163315130.07182463253
    2
    0x1073fc2eaff48b2670b993ba61a6885c924f77b5neptuneclpool impl0.037116640483.93975117571257440.007995588340.02912105214
    3
    0x41675c099f32341bf84bfc5382af534df5c7461a0.014581333643.52164106138167100.013593739040.0009875946
    4
    0x075ef0be7f0e83c3b55bce7603cbbf1acc3171f8neptunenft manager0.023372223272.67012834687134510.003663724630.01970849864
    5
    0xea87ae93fa0019a82a727bfd3ebd1cfca8f64f1dhyperlanemailbox impl0.238703995912.56716226101152810.023129582450.21557441346
    6
    0x4ee2f9b7cf3a68966c370f3eb2c16613d3235245layerzero oldimpl0.032747370282.5618912312482249900.031916639540.00083073074
    7
    0xaaaaaaaa82812f0a1f274016514ba2ca933bf24dambientcrocswap dex0.03626203552.1286867029223610.005015469070.03124656643
    8
    0xb81131b6368b3f0a83af09db4e39ac23da96c2dboracleoracle0.076089793142.08467639696381020.069708292490.00638150065
    9
    0x918261fa5dd9c3b1358ca911792e9bdf3c5cca35merkldistributor impl0.092354083652.04565119497194970.035003670860.05735041279
    10
    0x40a2accbd92bca938b02010e17a5b8929b49130d0.003015734611.753599558155760.002702062430.00031367218
    11
    0x5e81ba89d50fc72e5189c14c0fe6b96afb26ffa4neptuneSWELL/WETH0.01393172151.65557349885118500.002769929150.01116179235
    12
    0x18bb314a6615bee12e408c9df36de4afb68058330.072048124751.6056781760769000.009355770580.06269235417
    13
    0x5d3a1ff2b6bab83b63cd9ad0787074081a52ef34erc20USDe0.027764763431.590958150310733660.008239608970.01952515446
    14
    0xc87d0cc4c8a5a912fbe394e16cc5d9a2f1ff59d80.023082266971.541868695351510.001282689230.02179957774
    15
    0xcb566e3b6934fa77258d68ea18e931fa75e1aaaa0.018498797391.40761318356183300.01001800390.00848079349
    16
    0x882cd0c5d50b6dd74b36da4bdb059507fddeddf20.168955152811.3708612749977120.01777372760.15118142521
    17
    0xda1f8ea667dc5600f5f654df44b47f1639a83dd1erc20wSWELL0.055438586091.36608920409196840.023152052870.03228653322
    18
    0x4200000000000000000000000000000000000006erc20WETH0.02027069491.28732163691404350.003785199460.01648549544
    19
    0x10499d88bd32af443fc936f67de32be1c8bb374c0.006991957021.0894373632477960.001858486580.00513347044
    20
    0x3a464f746d23ab22155710f44db16dca53e0775ehyperlanemailbox0.046162605281.0354571567199440.002311890030.04385071525
    ...
    1000
    102KB
    5s