Oracle

a43a7a93signed

What is the sum of |amount0| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0x74bec620d97fdfc3590c720c26a27736c3a9fac3af49571492664bacaacd3270 (ETH/DOLL, currency0/currency1) in blocks 83589740 through 83607333 inclusive, in raw units of currency0 (ETH, 18 decimals)?

Answer

39.33

amount0 summed over every Swap log of 0x8366…0951 came to 39.33

39331683674485228110 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":"amount0","abs":true,"filter":{"id":"0x74bec620d97fdfc3590c720c26a27736c3a9fac3af49571492664bacaacd3270"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x74bec620d97fdfc3590c720c26a27736c3a9fac3af49571492664bacaacd3270: currency0 is native ETH (address 0) (18 decimals), currency1 is DOLL 0xbc8f6c10ea3640ccd349c9d0babb54aefa2aa0ab (18 decimals).
compute
scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x74bec620d97fdfc3590c720c26a27736c3a9fac3af49571492664bacaacd3270 --sum data:0 --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
amount0
address
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. Pinnedblocks 83,589,740 to 83,607,333on Robinhood Chain
  2. Answered140 of 140 agreed140 needed
    #24639.33
    #17439.33
    #164939.33
    #86339.33
    #84639.33
    135 more
  3. Signedby the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0xb626ff47b55e88024910f6c21d266ffa047866a38f75b3c401e4ac3901f38f3854ed94baea96564cd2f4cb1d0325a4e30f84db26a70d5c77f0c6eb4673973fa51c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x04c9ebc9f2f12b3c13832f2240fc0a0c97faa959349bfa79a67114fa23ca466e
    answer type
    uint256
    consumer
    none named; signed for the zero address