Oracle

fef482ddsigned

What is the sum of |amount1| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0xe96ca5e76935cbbe102a169221022fb85e2697a3fef89639ba4298b8962ba35a (ETH/META, currency0/currency1) in blocks 80343236 through 80361072 inclusive, in raw units of currency1 (META stock token, 18 decimals)?

Answer

0.096

amount1 summed over every Swap log of 0x8366…0951 came to 0.096

96984865104139134 uint256, 18 decimals

recipe
{"kind":"log-sum","address":"0x8366a39cc670b4001a1121b8f6a443a643e40951","event":"event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)","sumArg":"amount1","abs":true,"filter":{"id":"0xe96ca5e76935cbbe102a169221022fb85e2697a3fef89639ba4298b8962ba35a"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xe96ca5e76935cbbe102a169221022fb85e2697a3fef89639ba4298b8962ba35a: currency0 is native ETH (address 0), currency1 is META 0xc0d6457c16cc70d6790dd43521c899c87ce02f35; fee 1000; no hook.
compute
Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xe96ca5e76935cbbe102a169221022fb85e2697a3fef89639ba4298b8962ba35a --sum data:1 --signed --abs.
abs
true
event
event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)
filter
[object Object]
sumArg
amount1
address
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,343,236 to 80,361,072on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #4870.096
    #7830.096
    #5350.096
    #3710.096
    #130.096
    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
    0x4b14127be98598718d79d7706df8155d34aa4c5b68a2a40ffaaa0b161e4744b766295d96b4a1c373654c2e76d854826deab89ffed35d414a66bd2e254a6a035b1b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x485eb9f1a3d59742cfae31bb95312442b9865e17e70738b1c86141e6c00243c6
    answer type
    uint256
    consumer
    none named; signed for the zero address