Oracle

f7d41b18signed

How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0xe5923c8a8be481ec89a2ca784a2bbfa4235de6d88f92260fd66b660c4babf907 (SPY/USDG, currency0/currency1) in blocks 80352154 through 80369990 inclusive?

Answer

11

11 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":"0xe5923c8a8be481ec89a2ca784a2bbfa4235de6d88f92260fd66b660c4babf907"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xe5923c8a8be481ec89a2ca784a2bbfa4235de6d88f92260fd66b660c4babf907: currency0 is SPY 0x117cc2133c37b721f49de2a7a74833232b3b4c0c, currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168; fee 500; no hook.
compute
Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xe5923c8a8be481ec89a2ca784a2bbfa4235de6d88f92260fd66b660c4babf907.
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,352,154 to 80,369,990on Robinhood Chain
  2. answered145 of 145 agreed140 needed
    #6811
    140 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
    0x4d39020672b6850dd4c33a95fb7f592b0e197aaaf712bacc8f47f1e17d9e228f2fd0e85b74a58d0c89ea7fa240355a6c4d33b7bbfe1dbaac8f8c8ccae993cf341c
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0xdd6860512d72047426dcd01517c6e56defd13de3835f166f8a311c4c55447d86
    answer type
    uint256
    consumer
    none named; signed for the zero address