Oracle

8b410367signed

What is the sum of |amount0| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0x5846268ea3de08b15b5ef1d0092eee66a8b5843902ab79b5f2d9eea1bf1d0468 (AMZN/BOXY, currency0/currency1) in blocks 80325399 through 80343235 inclusive, in raw units of currency0 (AMZN stock token, 18 decimals)?

Answer

1.87

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

1878982444787477236 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":"0x5846268ea3de08b15b5ef1d0092eee66a8b5843902ab79b5f2d9eea1bf1d0468"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x5846268ea3de08b15b5ef1d0092eee66a8b5843902ab79b5f2d9eea1bf1d0468: currency0 is AMZN 0x12f190a9f9d7d37a250758b26824b97ce941bf54, currency1 is BOXY 0x4beede2e87cc6ba3e995b01911d36269465e1e18; 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 0x5846268ea3de08b15b5ef1d0092eee66a8b5843902ab79b5f2d9eea1bf1d0468 --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,325,399 to 80,343,235on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #15651.87
    #4631.87
    #151.87
    #4561.87
    #14271.87
    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
    0x57e0b1cc07e69ed9a20b4adf81938532f7176c8789a43a3456ccda0d2909d4421182d770f1d838ae3896b28a4ebf1cb813e9166d2d754e6db034a63a54aa816e1c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x8ed07e52b535be96e104fbf3658ebeda25a8a6f0d721c27bbe061d4c0d547066
    answer type
    uint256
    consumer
    none named; signed for the zero address