Oracle

41d4bc2asigned

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

Answer

16.4

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

16402004469654368315 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":"0x590dcb6a87828bf688b48089a62239b693378f1fb64d2286e6a399ed8c005fdf"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x590dcb6a87828bf688b48089a62239b693378f1fb64d2286e6a399ed8c005fdf: currency0 is native ETH (address 0) (18 decimals), currency1 is HOOKR 0x18e674231a58c239dc7daedcffe15ec3a24cff5c (18 decimals).
compute
scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x590dcb6a87828bf688b48089a62239b693378f1fb64d2286e6a399ed8c005fdf --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,978,991 to 80,996,691on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #196516.4
    #18316.4
    #157116.4
    #192916.4
    #1316.4
    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
    0x909d6f06626771241c93801942dfa28dc81772d18b616d389c4b24af6bcc82b77cdd6c2b66b2b873a9ea4e41ed517b4d7bd8f93ffda2dd487e51fe8a3256f0411c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x9520f9ce892705a9ec167b8d9cac9a9604391b1399ecf1aa52f107dd23ae94f9
    answer type
    uint256
    consumer
    none named; signed for the zero address