Oracle

efd1d4b3signed

How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0xc39187cec78a076c41a4085598b4cc05be2ed9b04a3443167471fa0fc4984188 (ICOIN/AAPL, currency0/currency1) in blocks 80307562 through 80325398 inclusive?

Answer

7

7 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":"0xc39187cec78a076c41a4085598b4cc05be2ed9b04a3443167471fa0fc4984188"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xc39187cec78a076c41a4085598b4cc05be2ed9b04a3443167471fa0fc4984188: currency0 is ICOIN 0x5d6ef090a1461b11c9427ac319260122d1c61e18, currency1 is AAPL 0xaf3d76f1834a1d425780943c99ea8a608f8a93f9; fee 8388608; a LONG (long.xyz) stock-paired memecoin pool, hook 0x4e3468951d49f2eea976ed0d6e75ffcb44a9a544.
compute
Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xc39187cec78a076c41a4085598b4cc05be2ed9b04a3443167471fa0fc4984188.
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,307,562 to 80,325,398on Robinhood Chain
  2. answered140 of 140 agreed140 needed
  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
    0x7883d218c4bf3521d235c7ea9c62c7601aa8c6ff7d80376ac187ae4e820da6a7733181d310b408f2e31af4c88f285b3d0c4184f2f57d04f143fba8db3347f3741c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x43f68a75052af90ffd6509faa797ade542d2bee368e19571d78ef6650a9e946b
    answer type
    uint256
    consumer
    none named; signed for the zero address