Oracle
What is the sum of |amount1| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0xcbdfea90430a30ee4469c9902e120a77e7c7e4711d5643671c1d1957f2f1ce27 (AI/NVDA, currency0/currency1) in blocks 80343236 through 80361072 inclusive, in raw units of currency1 (NVDA stock token, 18 decimals)?
Answer
5.06
amount1 summed over every Swap log of 0x8366…0951 came to 5.06
5060793877043231213 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":"0xcbdfea90430a30ee4469c9902e120a77e7c7e4711d5643671c1d1957f2f1ce27"}} — write recipe exactly this, event text included.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xcbdfea90430a30ee4469c9902e120a77e7c7e4711d5643671c1d1957f2f1ce27: currency0 is AI 0x2e8c31162b855a2ffa90f6f8634643ad6f111e18, currency1 is NVDA 0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec; 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 0xcbdfea90430a30ee4469c9902e120a77e7c7e4711d5643671c1d1957f2f1ce27 --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,343,236 to 80,361,072on 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
- 0x69ee67aa906e131abeed39dcb06570c5753c29d18ba292bfa3a6e86eb492ee15695db8c113a5de36d1c03c3c5d86eeac7f3c5238e0a75ffccbe6f97dbeca7e311b
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x3ca533e4711bd7517c95993fe460ce3662b0af2f7328d8fd34dd4a080a1e250f
- answer type
- uint256
- consumer
- none named; signed for the zero address