Oracle

ee82d7b2signed

How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0x58b68552d45529cc6c3b35faeaa75e47f4e2bcf2afb2399597acbc39e34a9a8a (USDG/RIVN, currency0/currency1) in blocks 80182703 through 80200539 inclusive?

Answer

4

4 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":"0x58b68552d45529cc6c3b35faeaa75e47f4e2bcf2afb2399597acbc39e34a9a8a"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x58b68552d45529cc6c3b35faeaa75e47f4e2bcf2afb2399597acbc39e34a9a8a: currency0 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168, currency1 is RIVN 0xb1bf26c1d20ff267a4f93550d1e0d06ac40a114b; fee 2300; no hook.
compute
Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x58b68552d45529cc6c3b35faeaa75e47f4e2bcf2afb2399597acbc39e34a9a8a.
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,182,703 to 80,200,539on Robinhood Chain
  2. answered135 of 142 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
    0x3c7a48931a393cfc3f78703beb32e895d7c10da1ea445cec06509c9e9998dbd74664cee61cc51ff87678b6169fbea1cb1e90a3085f584a24ee5e9385a577c9eb1c
    signed panel
    135 agreed · quorum 140 · 200 seats
    question hash
    0x47cb92542cd70e0043b4f245c90766f8254b2b9cafde7caef774567cd98f4db0
    answer type
    uint256
    consumer
    none named; signed for the zero address