Oracle
What is the sum of |amount0| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0x510ca40b4dc915a45b07d9c8f5fb501b62d0124a98a554b3efaaefbe7f6ca53a (ETH/Parabol, currency0/currency1) in blocks 83580943 through 83598536 inclusive, in raw units of currency0 (ETH, 18 decimals)?
Answer
6.54
amount0 summed over every Swap log of 0x8366…0951 came to 6.54
6547892008651430545 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":"0x510ca40b4dc915a45b07d9c8f5fb501b62d0124a98a554b3efaaefbe7f6ca53a"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x510ca40b4dc915a45b07d9c8f5fb501b62d0124a98a554b3efaaefbe7f6ca53a: currency0 is native ETH (address 0) (18 decimals), currency1 is Parabol 0xb489068e1d48cda3e4c9a5f1ff526aa7fc9496d7 (18 decimals).
- compute
- scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x510ca40b4dc915a45b07d9c8f5fb501b62d0124a98a554b3efaaefbe7f6ca53a --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
- Pinnedblocks 83,580,943 to 83,598,536on Robinhood Chain
- Answered140 of 140 agreed140 needed
Signedby 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
- 0x8eec97b7cc1d73543aa3706ed54546817d3a29ff73e89757d33a5097e6bfc16859fcffe90150e5333ebf0b53a53438d8d563a2fa2e2a0f4721db68e1b2581a701c
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0x9b7f2a5267afa4bb218de2b36c3ea4b6f4c527c773afc7d475f23d43120f2ee1
- answer type
- uint256
- consumer
- none named; signed for the zero address