Oracle

1df0ef71signed

What is the sum of |amount0| over the Swap events Uniswap v4 PoolManager 0x28e2ea090877bf75740558f6bfb36a5ffee9e9df emitted for pool 0xc197357b0f65a134cf443d8fbbd77b3070861514a9eb3f9162620a6452d1b59f on BNB Smart Chain in blocks 125188126 through 125192124 inclusive, in raw units of the pool's currency0?

Answer

1,266,063,212,499,209,553

amount0 summed over every Swap log of 0x28e2…e9df came to 1,266,063,212,499,209,553

1266063212499209553 uint256

recipe
{"kind":"log-sum","address":"0x28e2ea090877bf75740558f6bfb36a5ffee9e9df","event":"event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)","filter":{"id":"0xc197357b0f65a134cf443d8fbbd77b3070861514a9eb3f9162620a6452d1b59f"},"sumArg":"amount0","abs":true} — write recipe exactly this, event text included.
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
0x28e2ea090877bf75740558f6bfb36a5ffee9e9df

Work

  1. pinnedblocks 125,188,126 to 125,192,124on BNB Chain
  2. answered140 of 141 agreed140 needed
    #5911,266,063,212,499,209,553
    #9691,266,063,212,499,209,553
    #15331,266,063,212,499,209,553
    #10031,266,063,212,499,209,553
    #11,266,063,212,499,209,553
    136 more
  3. signed
    by the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0xb0b245559cc63e692d3d0d4bc646236c15ef2b842e987582342302f1641fa1aa6adf7bd2e65f3e81dd6a5d80e9ba931c998a30e273b10f7426409cc6cbac4ed91b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xf68c45a431dbf25e1484c956270a081daa0e4f48aa29e0b4d3c6b3836cd52dc2
    answer type
    uint256
    consumer
    none named; signed for the zero address