Oracle

7286b809signed

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

Answer

0.23

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

230524472379685410 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":"0xc73f3cd3fb68288e63f008e08ef69caa0437224e420963c6aeb4526178e87ad9"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xc73f3cd3fb68288e63f008e08ef69caa0437224e420963c6aeb4526178e87ad9: currency0 is native ETH (address 0) (18 decimals), currency1 is STANDARD 0x88ad8ddf1e3898412146a534538d418c6f8a9062 (18 decimals).
compute
scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xc73f3cd3fb68288e63f008e08ef69caa0437224e420963c6aeb4526178e87ad9 --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 80,943,589 to 80,961,289on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #12680.23
    #13110.23
    #7830.23
    #17710.23
    #5900.23
    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
    0x8b555af7c819e90effab13bba0a8174095b95729baa143dcef881160f9596f324139c52b81196f33a9502f162ec75037909fdfc5322abf1eb573c0e49b57e73a1b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x8d09347d1560aceb2c24d85c84375807a684dc2a5c3210cf6b12ec17ae9aa62e
    answer type
    uint256
    consumer
    none named; signed for the zero address