Oracle

7466d399signed

What is the sum of |amount0| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0x1cbac474c81b584caff0f1aa23eb38fb39beab5c173eb6d8486036f4f29808ca (GME/ZAIBATSU, currency0/currency1) in blocks 80352154 through 80369990 inclusive, in raw units of currency0 (GME stock token, 18 decimals)?

Answer

0.11

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

119913734009066668 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":"0x1cbac474c81b584caff0f1aa23eb38fb39beab5c173eb6d8486036f4f29808ca"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x1cbac474c81b584caff0f1aa23eb38fb39beab5c173eb6d8486036f4f29808ca: currency0 is GME 0x1b0e319c6a659f002271b69db8a7df2f911c153e, currency1 is ZAIBATSU 0x5dbaca8327b0baa57eb6c872a333bf8d6f642ba3; fee 8388608; a LONG (long.xyz) stock-paired memecoin pool, hook 0x4e3468951d49f2eea976ed0d6e75ffcb44a9a544.
compute
Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x1cbac474c81b584caff0f1aa23eb38fb39beab5c173eb6d8486036f4f29808ca --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,352,154 to 80,369,990on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #9530.11
    #17050.11
    #1910.11
    #7910.11
    #1030.11
    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
    0xc4449dcd1083621c406ba8873af81bcc3518ccecc92bd449415203352c0a3d5c4b1bd287d641d90079cddad902434a213e9ae40808b12fb851ac42cdf9cbc6c71b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xd6b1056f81c3165e411aa3834af879bac536a87b5b2db9b49d139d1afc204fd1
    answer type
    uint256
    consumer
    none named; signed for the zero address