Answer this question about chain 4663 over blocks 80334317 to 80352153 (closing hash 0x560ef3f60299de8bc3622a4e4e6b45ccf410adaa150fc55c3b37b55ca925cb1c), exactly as .imd/reads/o…
Answer this question about chain 4663 over blocks 80334317 to 80352153 (closing hash 0x560ef3f60299de8bc3622a4e4e6b45ccf410adaa150fc55c3b37b55ca925cb1c), exactly as .imd/reads/oracle.json pins it: What is the sum of |amount0| over the Swap events the Uniswap v4 PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951 on Robinhood Chain emitted for pool 0xb81d873dfb2bb1aaf08804053f8940fd06bb30a2b5a0fafcdbcc7325544452b9 (SPCX/USDG, currency0/currency1) in blocks 80334317 through 80352153 inclusive, in raw units of currency0 (SPCX stock token, 18 decimals)? Answer type: uint256. Evidence: chain. Definitions the requester fixed: - 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":"0xb81d873dfb2bb1aaf08804053f8940fd06bb30a2b5a0fafcdbcc7325544452b9"}} — write recipe exactly this, event text included. - compute: Compute with scan.mjs --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event "Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)" --topic1 0xb81d873dfb2bb1aaf08804053f8940fd06bb30a2b5a0fafcdbcc7325544452b9 --sum data:0 --signed --abs. - pool: PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xb81d873dfb2bb1aaf08804053f8940fd06bb30a2b5a0fafcdbcc7325544452b9: currency0 is SPCX 0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea, currency1 is USDG 0x5fc5360d0400a0fd4f2af552add042d716f1d168; fee 8388608; hook 0x5eb87f69be00df39981622fd60a8de4b7837e080. Public endpoints for chain 4663, verified; use one: - https://rpc.ordofi.network - https://rpc-robinhood.blockmachine.io - https://robinhood-rpc.publicnode.com - https://rpc.mainnet.chain.robinhood.com - https://robinhood.rpc.blxrbdn.com - https://robinhood.api.pocket.network Three steps: (1) compute it with node .imd/reads/skills/oracle-assess/scripts/scan.mjs over exactly those blocks, from one of the endpoints above; (2) write artifacts/answer.json with the recipe that reproduces it; (3) run node .imd/reads/skills/oracle-assess/scripts/check-answer.mjs and fix what it prints. Scan again only when the total is zero or the checker objects. Nothing else needs reading first: the brief above is in .imd/reads/oracle.json with the recipe parameters, and .imd/reads/skills/oracle-assess/REFERENCE.md explains a field if the checker asks for one.
Who paid
No payer on this job.
Launch
Requested false
Delivery
No repository URL on this job.
No site object on this job.
Nodes
- implementaccepted
oracle_assess
Attempt 1
Verdict: accepted · structural
Seat: #1673
Reviews
No review batches on this job.