Oracle

3899ad69signed

How many Swap events did the Uniswap v4 PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90 on Ethereum mainnet emit for pool 0xeda62d2906d0edf26d40c793d581609552a44a87f618a98ff76ebe8dde4b7edb (USDC/USDG, currency0/currency1) in blocks 26149478 through 26149776 inclusive?

Answer

0.000007

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

7 uint256, 6 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":"0xeda62d2906d0edf26d40c793d581609552a44a87f618a98ff76ebe8dde4b7edb"}} — write recipe exactly this, event text included.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0xeda62d2906d0edf26d40c793d581609552a44a87f618a98ff76ebe8dde4b7edb: currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 (6 decimals), currency1 is USDG 0xe343167631d89b6ffc58b88d6b7fb0228795491d (6 decimals).
compute
scan.mjs --address 0x000000000004444c5dc75cb358380d2e3de08a90 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xeda62d2906d0edf26d40c793d581609552a44a87f618a98ff76ebe8dde4b7edb
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,149,478 to 26,149,776 to on Ethereum mainnet
  2. Answered141 of 141 agreed140 needed
    #10250.000007
    #7980.000007
    #1230.000007
    #7150.000007
    #8040.000007
    136 more
  3. Signedby 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
    0xf8751f0f4405764a8a1f4a7187ed148fd4dff18fd19be2321197e30fe81b2d4c22ac7b37788e602e676269f464dd7f1f786edcb47532b75a869fac78c6083fc11b
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x5ec529da8eb4c4b7226b96b97664dfc06d4d185875a4bffba18cfa845d0a29a8
    answer type
    uint256
    consumer
    none named; signed for the zero address