Oracle

d8e3d094signed

What is the sum of |amount1| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0xc65bb6ae16964dfec7fcc2dfc42913134515c1332fb442576161c35693be4883 (MASKS/META, currency0/currency1) in blocks 80325399 through 80343235 inclusive, in raw units of currency1 (META stock token, 18 decimals)?

Answer

0.034

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

34533033022731565 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":"0xc65bb6ae16964dfec7fcc2dfc42913134515c1332fb442576161c35693be4883"}} — write recipe exactly this, event text included.
pool
PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xc65bb6ae16964dfec7fcc2dfc42913134515c1332fb442576161c35693be4883: currency0 is MASKS 0x1c252b71e231269d39f78765b3ad457204561e18, currency1 is META 0xc0d6457c16cc70d6790dd43521c899c87ce02f35; 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 0xc65bb6ae16964dfec7fcc2dfc42913134515c1332fb442576161c35693be4883 --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,325,399 to 80,343,235on Robinhood Chain
  2. answered140 of 140 agreed140 needed
    #14860.034
    #19690.034
    #7590.034
    #15810.034
    #15740.034
    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
    0xb5f78ce0bd3caa5eaf934bf662f93c117104abd70633f155aa157e450809450f76cc1a229fbb6987ac4c4898a396c5e62f640828030dbe27ddc8819e2e3600da1c
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xfa793c8824840d31c1afe7b8674c3cf5e14a6a60ab430e3f9f2e6247ca59792c
    answer type
    uint256
    consumer
    none named; signed for the zero address