Oracle

1102e72dsigned

What is the sum of |amount0| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0x141be60316aeb3aa7c0e0d8e4fbdc0aa78105e6e462cfc03b8a0f0c59f0bf3f8 (TSLA/DOGGIE, currency0/currency1) in blocks 80343236 through 80361072 inclusive, in raw units of currency0 (TSLA stock token, 18 decimals)?

Answer

0.25

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

254955587439907118 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":"0x141be60316aeb3aa7c0e0d8e4fbdc0aa78105e6e462cfc03b8a0f0c59f0bf3f8"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x141be60316aeb3aa7c0e0d8e4fbdc0aa78105e6e462cfc03b8a0f0c59f0bf3f8: currency0 is TSLA 0x322f0929c4625ed5bad873c95208d54e1c003b2d, currency1 is DOGGIE 0xa9efe2fc94de79734c03051515f48f254ce61e18; 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 0x141be60316aeb3aa7c0e0d8e4fbdc0aa78105e6e462cfc03b8a0f0c59f0bf3f8 --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,343,236 to 80,361,072on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #6160.25
    #3670.25
    #8270.25
    #19880.25
    #11680.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
    0x89686781f7a311af1d9d0db6b542edcb14d396971c735ae25f19b32b7ec7aa680e1902abffa5fabffbbb97ac92525a68df173ad698286fc56358a1956f73907b1c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x43f949ca5cded9b2407ceb3d07d368149a3882888bb8fcabd5455b4cb55270de
    answer type
    uint256
    consumer
    none named; signed for the zero address