Oracle

8e50c59dsigned

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

Answer

0.0012

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

1260683903889998 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":"0x75ef5a3400b9da7bb49e776836995739f1ab0bae029e2e71fe654e52efc56b08"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x75ef5a3400b9da7bb49e776836995739f1ab0bae029e2e71fe654e52efc56b08: currency0 is native ETH (address 0) (18 decimals), currency1 is BLORB 0x4d14284afe559b7c6b9e6fad6ebaeaa0f6051818 (18 decimals).
compute
scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x75ef5a3400b9da7bb49e776836995739f1ab0bae029e2e71fe654e52efc56b08 --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,563,350 to 83,580,943on Robinhood Chain
  2. Answered141 of 141 agreed140 needed
    #4950.0012
    #19690.0012
    #14890.0012
    #12150.0012
    #16800.0012
    136 more
  3. Signedby 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
    0xfcdfaaf99198bfc161dcecc805bd9929c878ab68770cdae8bccdaffb6fc50b187fa5e40df6f3544719c1118426a8e37928852d49d9ef8fa497c0157ea2c2a2811c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x4080ec05be3bd16ea7e82779a74f73715449c0d323d2c0f7b6e980507dbc5786
    answer type
    uint256
    consumer
    none named; signed for the zero address