Oracle

3b440a51signed

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

Answer

5.97

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

5978741372698072374 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":"0x71f9660f9535e3e81d720696a58ea80274da8b2c6eb7c3acb22611d977439a5c"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x71f9660f9535e3e81d720696a58ea80274da8b2c6eb7c3acb22611d977439a5c: currency0 is native ETH (address 0), currency1 is NVDA 0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec; fee 500; no hook.
compute
Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x71f9660f9535e3e81d720696a58ea80274da8b2c6eb7c3acb22611d977439a5c --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,254,051 to 80,271,887on Robinhood Chain
  2. answered141 of 141 agreed140 needed
    #15065.97
    #10405.97
    #15145.97
    #5915.97
    #4625.97
    136 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
    0x3a15476829bb0b7eee78fb4b62246ab591e7c6d53f954c2564978b808c3600a4213cbb952c9059eab7a747da68b1c04ba07cb2253c4858df52aa42f52820bd681c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x823e512cfd9a1f2e1c6fb3699a9bfccab8992040c174142f61d8d7dbe6f4c1b2
    answer type
    uint256
    consumer
    none named; signed for the zero address