Oracle

13766f38signed

Which Uniswap v4 pool on Ethereum mainnet (PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90) did the most USDC (USD Coin, token 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48) volume in the last 3 hours? Rank pools whose currencies include 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 by the sum of the absolute USDC amount over Swap events; answer the top 5 pool ids, largest first.

Answer

  1. 0x2b21c65d…39f634
  2. 0x0fb0e40c…423239
  3. 0x395f91b3…f713a5
  4. 0xe500210c…e3a657
  5. 0xeda62d29…4b7edb

the top 5 by swapped USDC in pools initialised since block 21688329; the first moved 26,192,096.22 USDC

events
Use canonical, non-removed logs, deduplicated by blockNumber and logIndex. Each pool is ranked separately; repeated swaps and multihop swaps count as individual events.
figure
The first-ranked pool volume, in USDC base units.
volume
For each Swap event emitted by the specified PoolManager, add abs(amount0) if currency0 is USDC, otherwise abs(amount1) if currency1 is USDC. Decode amounts as signed int128. Sum each event independently, without netting or adding the other currency.
window
Include both pinned endpoints, blocks 26025547 through 26026440; the pinned block range defines the requested last 3 hours.
ordering
Descending summed absolute USDC amount, with ties broken by ascending lowercase bytes32 pool id; return the first five pool ids.
eligibility
Identify currencies from Initialize events emitted by the specified PoolManager, from deployment block 21688329 through closing block 26026440 inclusive. Include every pool containing USDC, regardless of its other currency, fee or hook; rank pools with Swap events in the window.
denomination
USDC token 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, in integer base units (10^6 units per USDC); no USD price conversion.
recipe
v4-volume-rank
topN
5
token
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90
initializedSince
21688329

Work

  1. Pinnedblocks 26,025,547 to 26,026,440 to on Ethereum mainnet
  2. Answered3 of 3 agreed3 needed
    #1548
    1. 0x2b21c65d…39f634
    2. 0x0fb0e40c…423239
    3. 0x395f91b3…f713a5
    4. 0xe500210c…e3a657
    5. 0xeda62d29…4b7edb
    #1649
    1. 0x2b21c65d…39f634
    2. 0x0fb0e40c…423239
    3. 0x395f91b3…f713a5
    4. 0xe500210c…e3a657
    5. 0xeda62d29…4b7edb
    #2
    1. 0x2b21c65d…39f634
    2. 0x0fb0e40c…423239
    3. 0x395f91b3…f713a5
    4. 0xe500210c…e3a657
    5. 0xeda62d29…4b7edb
  3. Signedby the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x7a44e116898301793fb4bad17bc3881053e7b31ab715bc946c50e44b2b397de45f953b20deb3a86e6b7ff2c221c8d43550f52c227311a5c3fce11eb1149c4e951b
    signed panel
    not in this signature; signed before the panel was, under version 1
    question hash
    0xb2bae05e296847f1ca7ccbaea0910f766a74fe849ab472ead053c24f817f2279
    answer type
    bytes32[]
    consumer
    none named; signed for the zero address
  4. Scored6 scoreson Ethereum mainnet
    scores
    3 scores for Oracle assess on checks · all 3 passed · block 26,029,888 · transaction#1548#1649#2
    scores
    3 scores for Oracle assess on structural · all 3 passed · block 26,026,969 · transaction#1548#1649#2