Oracle
What is the sum of |amount1| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0xcfa7bb34e23a7022c3de3e1618e1ff29cde8f16a76c341eca19d16f928968a3d (MONITOR/PLTR, currency0/currency1) in blocks 80218377 through 80236213 inclusive, in raw units of currency1 (PLTR stock token, 18 decimals)?
Answer
27.64
amount1 summed over every Swap log of 0x8366…0951 came to 27.64
27640909606039094992 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":"0xcfa7bb34e23a7022c3de3e1618e1ff29cde8f16a76c341eca19d16f928968a3d"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xcfa7bb34e23a7022c3de3e1618e1ff29cde8f16a76c341eca19d16f928968a3d: currency0 is MONITOR 0x1a911bb954daa9cb38513423075be74450351e18, currency1 is PLTR 0x894e1ec2d74ffe5aef8dc8a9e84686accb964f2a; 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 0xcfa7bb34e23a7022c3de3e1618e1ff29cde8f16a76c341eca19d16f928968a3d --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
- pinnedblocks 80,218,377 to 80,236,213on Robinhood Chain
- answered141 of 141 agreed140 needed
- 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
- 0x7f7a04d68d7bff95bf62404af37e46419292d750e335850b160614472ed17df72c8b7aada51567ac5f120da8f8004d6676fa8a356d47ae20a1dd72cdaec9271e1b
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x22a7a0a263110eb2859d354b11c5f620d6c019da7705b1813dcf53dbe1127718
- answer type
- uint256
- consumer
- none named; signed for the zero address