Oracle
What is the sum of |amount0| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0xc9e6535c80dbbb7f3549d02541398d1aaebc529c2fef1c25c2f1f9aa791a238a (NVDA/MSTR, currency0/currency1) in blocks 80289725 through 80307561 inclusive, in raw units of currency0 (NVDA stock token, 18 decimals)?
Answer
7.11
amount0 summed over every Swap log of 0x8366…0951 came to 7.11
7115596684519616635 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":"0xc9e6535c80dbbb7f3549d02541398d1aaebc529c2fef1c25c2f1f9aa791a238a"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xc9e6535c80dbbb7f3549d02541398d1aaebc529c2fef1c25c2f1f9aa791a238a: currency0 is NVDA 0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec, currency1 is MSTR 0xec262a75e413fafd0df80480274532c79d42da09; fee 375; hook 0x0022e098b9baf3c758496092b312126ec84780cc.
- compute
- Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xc9e6535c80dbbb7f3549d02541398d1aaebc529c2fef1c25c2f1f9aa791a238a --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,289,725 to 80,307,561on 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
- 0xe857918cb76881959fe01e0e881c42d31d5b87865d6b258391f6b794fef843532c3ce97f4003bbc0d5a09c3a8eced9ffff34b7876096739a5c6714ca0a4c40931c
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0xfe22df68687f6c54b0ce34474f5e24f84d43a560e3e076595c9b4dd20840ccc6
- answer type
- uint256
- consumer
- none named; signed for the zero address