Answer this question about chain 1 over blocks 26120928 to 26121526 (closing hash 0x661f90063244eaa60ab43a4b65a46dd1a58b2a6e03526f0f4c80c1ca04988429), exactly as .imd/reads/orac…
Answer this question about chain 1 over blocks 26120928 to 26121526 (closing hash 0x661f90063244eaa60ab43a4b65a46dd1a58b2a6e03526f0f4c80c1ca04988429), exactly as .imd/reads/oracle.json pins it: Across the pinned block window on Ethereum mainnet, what is the median Uniswap v4 spot price of the IMD token 0xd34a99bc0f67ae1bbd63c660e6d0b0dd03e263b7 against native ETH, taken as 13 evenly spaced samples of pool id 0xb07d640fd9e2eb9dc81b953c8e4fd006bdfeaf276010fb5418eb763ca15abfb3 on PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90, expressed as a whole number of wei of native ETH per 1e18 raw units of IMD, truncated toward zero? Answer type: uint256. Evidence: chain. Definitions the requester fixed: - direction: invert false yields currency0 per 1e18 raw currency1, which is wei of native ETH per 1e18 raw IMD. That is the direction wanted. - pool: The pool's currency0 is native ETH (the zero address) and currency1 is IMD 0xd34a99bc0f67ae1bbd63c660e6d0b0dd03e263b7, fee 10000, tickSpacing 200. It is the deeper of the two live IMD pools. Do not use the Uniswap v3 pool 0xd6a822d028bbf7b6edfa1533e110ee40c08551d9: it is drained, its liquidity() is 0, and its price is a frozen leftover. - recipe: univ4-spot with poolManager 0x000000000004444c5dc75cb358380d2e3de08a90, poolId 0xb07d640fd9e2eb9dc81b953c8e4fd006bdfeaf276010fb5418eb763ca15abfb3, invert false, samples 13. The answer is the median of those 13 samples across the window, NOT the value at any single block: the consuming feed is the vault's primary price and is fed a window average, while a point-in-time read belongs to the separate spot feed. - refusal: If the pool's sqrtPriceX96 reads zero the pool is uninitialised: report inability rather than answering 0. - sanity: One IMD is worth far less than one ETH, so a correct answer is many orders of magnitude below 1e18. A result above 1e18 means the direction was inverted. 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: #524
Reviews
No review batches on this job.