Oracle

46e5fd5asigned

How many Swap events did the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emit for pool 0xed80cb489e051246f95fbe9e507d04120faac8742e4c20eae69d6738d7b36d6f (ETH/TSLA, currency0/currency1) in blocks 80325399 through 80343235 inclusive?

Answer

0.000000000000000006 ETH

6 Swap logs of 0x8366…0951 in the window

6 uint256, 18 decimals

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":"0xed80cb489e051246f95fbe9e507d04120faac8742e4c20eae69d6738d7b36d6f"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xed80cb489e051246f95fbe9e507d04120faac8742e4c20eae69d6738d7b36d6f: currency0 is native ETH (address 0), currency1 is TSLA 0x322f0929c4625ed5bad873c95208d54e1c003b2d; fee 1800; no hook.
compute
Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xed80cb489e051246f95fbe9e507d04120faac8742e4c20eae69d6738d7b36d6f.
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,325,399 to 80,343,235on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #5340.000000000000000006 ETH
    #13180.000000000000000006 ETH
    #13110.000000000000000006 ETH
    #1260.000000000000000006 ETH
    #11190.000000000000000006 ETH
    135 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
    0xf8eb9ef8cc913c0b3789125d258661beec01b106ef3f710e620ffdc2880339001a2433b4af718d04fae8a1140281c4239e49f8626157767f949d645cacad8be61b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xe5daeec172b66ced903395d901455d77e94e35c0182f1564aea9c12b534ec727
    answer type
    uint256
    consumer
    none named; signed for the zero address