Oracle

cf43dfddsigned

How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0xd5effce87036cd858146c0c15fa825c231a9de1843200ca108e431e431331e8e (TSLA/USDG, currency0/currency1) in blocks 80254051 through 80271887 inclusive?

Answer

5

5 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":"0xd5effce87036cd858146c0c15fa825c231a9de1843200ca108e431e431331e8e"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xd5effce87036cd858146c0c15fa825c231a9de1843200ca108e431e431331e8e: currency0 is TSLA 0x322f0929c4625ed5bad873c95208d54e1c003b2d, currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168; fee 8388608; hook 0x67d86050d22d574df046f3d90f722045f714e080.
compute
Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xd5effce87036cd858146c0c15fa825c231a9de1843200ca108e431e431331e8e.
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,254,051 to 80,271,887on Robinhood Chain
  2. answered140 of 140 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
    0x94878325634ba433eae7512483e2fff631f8fdd761d7263a8e38cadeb798a5391e9d0ce58d5ddf89ae5aaf82672f1b5a3448167ec5493735c65307610420a7931c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x6dabb9def7a208f89f5071adeda208b07200852a22f1292705a7a3df2637142c
    answer type
    uint256
    consumer
    none named; signed for the zero address