Answer this question about chain 1 over blocks 26149852 to 26150150 (closing hash 0x0c912370ad879d89b094e4fcf2c36baeeee7bee4afc879c82fdbc0415123b0de), exactly as .imd/reads/orac…
Answer this question about chain 1 over blocks 26149852 to 26150150 (closing hash 0x0c912370ad879d89b094e4fcf2c36baeeee7bee4afc879c82fdbc0415123b0de), exactly as .imd/reads/oracle.json pins it: On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x2b21c65d9a7dc6926ee330a1c6e5a8037fd81774f3dc066536f800128e39f634 (USDC/USDT, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 26149852 to 26150150, about 15 minutes before 26150225), as currency0 per 1e18 raw currency1 in raw units? Answer type: uint256. Evidence: chain. Definitions the requester fixed: - recipe: {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x2b21c65d9a7dc6926ee330a1c6e5a8037fd81774f3dc066536f800128e39f634","samples":5} — write recipe exactly this. - compute: scan.mjs --v4-spot --pool-manager 0x000000000004444c5dc75cb358380d2e3de08a90 --pool-id 0x2b21c65d9a7dc6926ee330a1c6e5a8037fd81774f3dc066536f800128e39f634 --samples 5 - pool: PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x2b21c65d9a7dc6926ee330a1c6e5a8037fd81774f3dc066536f800128e39f634: currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 (6 decimals), currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7 (6 decimals). Public endpoints for chain 1, verified; use one: - https://rpc.flashbots.net/fast - https://rpc.mevblocker.io/fast - https://one.valve.city/rpc/vk_demo/evm/1 - https://ethereum-rpc.publicnode.com - https://rpc.mevblocker.io - https://rpc.flashbots.net 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: #1240
Reviews
No review batches on this job.