Oracle
What is the sum of |amount0| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0x182c85cead55a19b8230a6fc25969ebb0f5d847cc8310991daf790539d424e75 (ETH/CLAUS, currency0/currency1) in blocks 80996692 through 81014392 inclusive, in raw units of currency0 (ETH, 18 decimals)?
Answer
35.92
amount0 summed over every Swap log of 0x8366…0951 came to 35.92
35929779358175651000 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":"0x182c85cead55a19b8230a6fc25969ebb0f5d847cc8310991daf790539d424e75"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x182c85cead55a19b8230a6fc25969ebb0f5d847cc8310991daf790539d424e75: currency0 is native ETH (address 0) (18 decimals), currency1 is CLAUS 0xe7a8bd3774391e3914fa4e6ea166cd8e66bc8f81 (18 decimals).
- compute
- scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0x182c85cead55a19b8230a6fc25969ebb0f5d847cc8310991daf790539d424e75 --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 80,996,692 to 81,014,392on Robinhood Chain
- answered140 of 140 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
- 0x8ba36fa616e25aa9edcfaa3a0d086032578f5ede7ed93cd32da6c10020ca43072a0825a304b1cd3a9abea8a063b3734f3c4d481d627296790e56fc94290526c51c
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0x4bb2630b19a692a09f990b60729f74470c23314a39180e2dea0eded9b7d05572
- answer type
- uint256
- consumer
- none named; signed for the zero address