Oracle

e3cf0b2dsigned

What is the sum of |amount0| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0x52a261a40fd3cbeab71e903d8aa9eac1c11d75aff4bcf0551573e09d5f7e720e (SPCX/URANUS, currency0/currency1) in blocks 80289725 through 80307561 inclusive, in raw units of currency0 (SPCX stock token, 18 decimals)?

Answer

41.57

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

41578637350613102742 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":"0x52a261a40fd3cbeab71e903d8aa9eac1c11d75aff4bcf0551573e09d5f7e720e"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x52a261a40fd3cbeab71e903d8aa9eac1c11d75aff4bcf0551573e09d5f7e720e: currency0 is SPCX 0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea, currency1 is URANUS 0xb911f04a24a9f6234537829290335e623ee71e18; 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 0x52a261a40fd3cbeab71e903d8aa9eac1c11d75aff4bcf0551573e09d5f7e720e --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,289,725 to 80,307,561on Robinhood Chain
  2. answered141 of 141 agreed140 needed
    #90541.57
    #127541.57
    #42941.57
    #112941.57
    #174641.57
    136 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
    0x0b3168d7655851469f35e1eadfd273f6dfacfe6f9f68e771f72b17286c9a462e0590c5b47db1c4f786b18dc494d6d119b193940fefc637a3f2f44f3108171aed1c
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x976f7dac5ae7617ea3c24ebcd7ad0d874ae16fff6c88d0d253cc51ad06d0ad6e
    answer type
    uint256
    consumer
    none named; signed for the zero address