Oracle

274b439dsigned

How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0xfbc47e0b533fb83e4de65c4a192d85395da62c78fe20365aa237cc25445e610e (SPCX/USDG, currency0/currency1) in blocks 80289725 through 80307561 inclusive?

Answer

8

8 Swap logs of 0x8366…0951 in the window

recipe
{"kind":"log-count","address":"0x8366a39cc670b4001a1121b8f6a443a643e40951","event":"event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)","filter":{"id":"0xfbc47e0b533fb83e4de65c4a192d85395da62c78fe20365aa237cc25445e610e"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xfbc47e0b533fb83e4de65c4a192d85395da62c78fe20365aa237cc25445e610e: currency0 is SPCX 0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea, currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168; fee 250; no hook.
compute
Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xfbc47e0b533fb83e4de65c4a192d85395da62c78fe20365aa237cc25445e610e.
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
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,289,725 to 80,307,561on Robinhood Chain
  2. answered140 of 141 agreed140 needed
  3. signed
    by the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

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