Oracle

c66967a2signed

How many Swap events did the Uniswap v4 PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90 on Ethereum mainnet emit for pool 0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2 (WBTC/USDT, currency0/currency1) in blocks 26127039 through 26127337 inclusive?

Answer

0.00000013

13 Swap logs of 0x0000…8a90 in the window

13 uint256, 8 decimals

recipe
{"kind":"log-count","address":"0x000000000004444c5dc75cb358380d2e3de08a90","event":"event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)","filter":{"id":"0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2"}} — write recipe exactly this, event text included.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2: currency0 is WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599 (8 decimals), currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7 (6 decimals).
compute
scan.mjs --address 0x000000000004444c5dc75cb358380d2e3de08a90 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2
event
event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)
filter
[object Object]
address
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,127,039 to 26,127,337 to · on Ethereum mainnet
  2. answered144 of 144 agreed140 needed
    #7050.00000013
    #10250.00000013
    #11190.00000013
    #4600.00000013
    #8800.00000013
    139 more
  3. signed
    by the attester 0x5598…2982reproduced firstusable until

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0xec10928312f87938b308f550b78da3301328a1b5667df7a353593befce96144741e44c8fa58eb88df4e13d48a89e7a6eade36f9dfb94321eb58fc4a4da4f98591b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x16f71066404008273e375914b7b488b736275f57cb6d2f5fa5945fd041f47792
    answer type
    uint256
    consumer
    none named; signed for the zero address