Oracle

497e983fsigned

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

Answer

0.25

amount1 summed over every Swap log of 0x8366…0951 came to 0.25

254655121481770429 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":"amount1","abs":true,"filter":{"id":"0xd1c2f6cb178a165a643deae8752098dea08d51b6170cd8e36e196ef03dc74751"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xd1c2f6cb178a165a643deae8752098dea08d51b6170cd8e36e196ef03dc74751: currency0 is SAYLORMOON 0xd18528b39da6464b3662c331a52181ecb15b1e18, currency1 is MSTR 0xec262a75e413fafd0df80480274532c79d42da09; 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 0xd1c2f6cb178a165a643deae8752098dea08d51b6170cd8e36e196ef03dc74751 --sum data:1 --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
amount1
address
0x8366a39cc670b4001a1121b8f6a443a643e40951

Work

  1. pinnedblocks 80,352,154 to 80,369,990on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #3410.25
    #10400.25
    #10250.25
    #9310.25
    #2480.25
    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
    0xd9d5b8382483734ed9ad623b984cb01a84eace27bf688d63e983bf67c83160d041e0a6676a9f61c0e8db69a37c293ab675f07ab788b77d238f0396a7981b41891b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x11a1207677a092ede6a586d431c7a582e53fe0677f1da15f5cca930e963ca34d
    answer type
    uint256
    consumer
    none named; signed for the zero address