Oracle
What is the sum of |amount0| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0xbf7dc545ff6d3b0e23f6264f7c23d4fa16a0f3bb1b26eda350593bd63a94da97 (ETH/TIBBIR, currency0/currency1) in blocks 83563350 through 83580943 inclusive, in raw units of currency0 (ETH, 18 decimals)?
Answer
17.52
amount0 summed over every Swap log of 0x8366…0951 came to 17.52
17521911623905466522 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":"0xbf7dc545ff6d3b0e23f6264f7c23d4fa16a0f3bb1b26eda350593bd63a94da97"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xbf7dc545ff6d3b0e23f6264f7c23d4fa16a0f3bb1b26eda350593bd63a94da97: currency0 is native ETH (address 0) (18 decimals), currency1 is TIBBIR 0x4db7374e966097be94c6680d49156d580f097bbf (18 decimals).
- compute
- scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xbf7dc545ff6d3b0e23f6264f7c23d4fa16a0f3bb1b26eda350593bd63a94da97 --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,563,350 to 83,580,943on Robinhood Chain
- Answered141 of 141 agreed140 needed
Signedby the attester 0x5598…2982reproduced firstexpired
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0x9a4cdf84bf22b22c840297e5490c22658a56f8c71524c29c93a296c727a7c48a7e408cf37a223c7f42e7e860fb628dd1d71a2ef502c0eaefa4f8ece8b02a21641b
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x3ed4a10a1ee7f948e670aa94e9b2d1c1e9fd05c827008adb11bb1964573b4d04
- answer type
- uint256
- consumer
- none named; signed for the zero address