{"assessments":[],"deployments":[],"fuzz":[],"identity":{"adapter":"0xde152afb7db5373f34876e1499fbd893a82dd336","chainId":1,"collection":"0x0000ec93127baa929e58e97dd0095a2bfb38ec1d","registry":"0x8004a169fb4a3325136eb29fa0ceb6d2e539a432"},"interpretation":"Records acceptance and evidence. Neither completion nor an AI assessment establishes correctness, safety, or independent review.","jobId":"0be50153-c313-4f1a-a2ad-ae2051dd66d9","kind":"shape:chain","nodes":[{"acceptedSubmissionHash":"ff16526a345c7f9f91f554cb362f4d07739ecf510848d56a617b29e1ae45ef60","dependsOn":["audit_imported_code"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"15128eeb8da9fb5ec13c7964e80f936ddc40e718cc0d455d200435c3dc43d6a7","skillId":"adapt-contract-project","tools":[]},"key":"adapt_contract_project","kind":"code","role":"implement","skillHash":"15128eeb8da9fb5ec13c7964e80f936ddc40e718cc0d455d200435c3dc43d6a7","skillId":"adapt-contract-project","state":"accepted"},{"acceptedSubmissionHash":"07cbb96d72d4c9a43b6b0b9ce8342fc4c39518d8393f21c4d258f0d5a441534e","dependsOn":["adapt_contract_project"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","subagents":3,"tools":[]},"key":"audit_economics","kind":"code","role":"review","skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","state":"accepted"},{"acceptedSubmissionHash":"c1202d90355eefd98667e27d3e51f1d8e41b77a914f795b2d67c235396cf07db","dependsOn":["adapt_contract_project"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","subagents":3,"tools":[]},"key":"audit_flow","kind":"code","role":"review","skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","state":"accepted"},{"acceptedSubmissionHash":"9b771803f3ba1c0b8d88e8e418504fcce36b421ca4ad3c0e6bc3798f72f80e6b","dependsOn":[],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"b72293c3366fff3f0b93151bca72cc6cbd189dad31d1ccd1d34dd483f2165a36","skillId":"audit-imported-code","subagents":4,"tools":[]},"key":"audit_imported_code","kind":"code","role":"review","skillHash":"b72293c3366fff3f0b93151bca72cc6cbd189dad31d1ccd1d34dd483f2165a36","skillId":"audit-imported-code","state":"accepted"},{"acceptedSubmissionHash":"83a6721b728a40ec0808052b4b031aca1b674fba0ca30fc7e484cddb03439537","dependsOn":["adapt_contract_project","write_foundry_tests","manifest","audit_math","audit_permissions","audit_economics","audit_flow"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"b89279670f5a00f5d26286edee00c97dd158b997031350a01cafe6e0329ad227","skillId":"audit-judge","subagents":4,"tools":[]},"key":"audit_judge","kind":"code","role":"review","skillHash":"b89279670f5a00f5d26286edee00c97dd158b997031350a01cafe6e0329ad227","skillId":"audit-judge","state":"accepted"},{"acceptedSubmissionHash":"3297aed198831ccbbe801e1e3d05917db684e5df69f7a3e21647c64eede84200","dependsOn":["adapt_contract_project"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","subagents":3,"tools":[]},"key":"audit_math","kind":"code","role":"review","skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","state":"accepted"},{"acceptedSubmissionHash":"2b974bc4bb5762cea6e0372f92a4184eb666d0ff7e5d997b9804b72f88ecb10b","dependsOn":["adapt_contract_project"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","subagents":3,"tools":[]},"key":"audit_permissions","kind":"code","role":"review","skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","state":"accepted"},{"acceptedSubmissionHash":"136b30a62715732e130c6d671d416eeb4f9a16346ea09799f12cc96b21087ca3","dependsOn":["adapt_contract_project"],"execution":{"network":false,"profile":"foundry","requires":[],"tools":[]},"key":"manifest","kind":"code","role":"integrate","skillHash":null,"skillId":null,"state":"accepted"},{"acceptedSubmissionHash":"8b67c33279c79c514880ad670e1062d73ec1dc16b9c9a035bb2262ed8bf6e61d","dependsOn":["adapt_contract_project"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"6c8cf11980f74125d34b6f2b05c5495824fcaadbed08be63708f2f4c4e8114a2","skillId":"write-foundry-tests","subagents":4,"tools":[]},"key":"write_foundry_tests","kind":"code","role":"tests","skillHash":"6c8cf11980f74125d34b6f2b05c5495824fcaadbed08be63708f2f4c4e8114a2","skillId":"write-foundry-tests","state":"accepted"}],"objective":"# IMD PICKS — V10 CONTRACT DEPLOYMENT\n\nUse the imported Foundry project:\nhttps://github.com/AgentStewLC/launch-3500-imd-picks-complete/tree/main\n\nReuse existing V10 payment escrow and refund reserve contracts. Preserve compatibility with IMD PICKS. Do not create a new token or unnecessarily rewrite contracts.\n\nNETWORK: Ethereum Mainnet, chain ID 1.\n\nIMD TOKEN:\n0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7\n\nIMMUTABLE DEVELOPER WALLETS:\n0x83027AD9d0D5374335086c539dADD1db983441B0\n0xA02c46e76283677Ca4cB7cf152474477C0f40A88\n\nIMMUTABLE VERIFIER:\n0x3322e6dd06ade8377f1f1bcb766f6133d7b64d69\n\nRestrict verifier authority to existing report verification and settlement functions.\n\nPAYMENT DISTRIBUTION:\n\n1–4 events: 1 IMD.\nSwarm 0.5, burn 0.25, each developer 0.125.\n\n5–9 events: 1.5 IMD.\nSwarm 0.5, burn 0.5, each developer 0.25.\n\n10–14 events: 2 IMD.\nSwarm 0.5, burn 0.75, each developer 0.375.\n\nPreserve automatic distributions, immutable recipients, exact accounting, secure escrow, permanent burns, refund protection, report verification and duplicate-payment prevention.\n\nNo owner privileges, backdoors, upgradeable proxies, unauthorized withdrawals, hidden fees or recipient changes. Preserve non-pausable architecture.\n\nUse the imported root Foundry configuration, including bytecode_hash = \"none\". Compile and independently audit contracts. Run available offline unit, fuzz and invariant tests. Resolve critical/high security findings.\n\nVerify exact constructor arguments and the official Intake treasury before deployment. Never invent addresses or request private keys or seed phrases.\n\nDeploy and verify both contracts on Ethereum Mainnet only after security checks, treasury verification and deployment authorization. If any prerequisite cannot be verified, do not broadcast.\n\nDeliver verified contract addresses, deployment transaction hashes, ABI, constructor arguments, audit, test results and website/backend integration configuration.\n\nExisting website:\nhttps://imd-picks-you-select-the-ga-e617.imd.site/\n\nDo not activate customer payments, fund the refund reserve, create another website or modify my IMD agent #1927 or its server.\n\nIMD PICKS — Beyond the Odds.","parentJobId":null,"planHash":"cb0a1ed0a0f0589926f237d7b48c074dd9e3b3fcc0b33dc6375c4265a8574061","previousHash":"0000000000000000000000000000000000000000000000000000000000000000","projectId":"0be50153-c313-4f1a-a2ad-ae2051dd66d9","publication":{"commit":null,"deliveredAt":null,"repoUrl":"https://github.com/identity-md-launches/launch-3528-imd-picks"},"receiptIdentity":{"adapter":"0xde152afb7db5373f34876e1499fbd893a82dd336","chainId":1,"collection":"0x0000ec93127baa929e58e97dd0095a2bfb38ec1d","registry":"0x8004a169fb4a3325136eb29fa0ceb6d2e539a432"},"registry":"0xb6d0a187b050fa5bb0b87033a203f37becf4a775","research":[],"schema":"identitymd-work-v1","signals":[{"agentId":"52129","feedbackHash":"d92ed5a37268461fb173f477b68ce7bab671514feb72099eb7696abf0eb7f22f","nodeKey":"adapt_contract_project","submissionHash":"ff16526a345c7f9f91f554cb362f4d07739ecf510848d56a617b29e1ae45ef60","tag1":"verification:checks","tag2":"acceptance-v2","value":1},{"agentId":"54155","feedbackHash":"a3dd8150d328610efab3ae85bb72b4349fe2307c3e0148e9409e949e61512baf","nodeKey":"adapt_contract_project","submissionHash":"3f19942a970ced72a95d1c29ab7e2f3db0ccf782f71d8dc4103f40bc5e14b907","tag1":"verification:checks","tag2":"acceptance-v2","value":1},{"agentId":"52682","feedbackHash":"4b954326f6c4c9ac8dbe0ebd22b05d642182b83d552e048ef215b92f62a727d9","nodeKey":"audit_economics","submissionHash":"07cbb96d72d4c9a43b6b0b9ce8342fc4c39518d8393f21c4d258f0d5a441534e","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"52675","feedbackHash":"44464c033f2a3f086c5fce666d38e57ea6f045b0d06990142022e27e946fef8c","nodeKey":"audit_flow","submissionHash":"c1202d90355eefd98667e27d3e51f1d8e41b77a914f795b2d67c235396cf07db","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"56202","feedbackHash":"dc7d3ae85df9110414104198c83ce3ad1047482759683ef57f763332f57a2433","nodeKey":"audit_imported_code","submissionHash":"9b771803f3ba1c0b8d88e8e418504fcce36b421ca4ad3c0e6bc3798f72f80e6b","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"50966","feedbackHash":"c72757191de88360efd96276db5328604d191b71c95d6c9ad9f2b9914d7ba865","nodeKey":"audit_judge","submissionHash":"83a6721b728a40ec0808052b4b031aca1b674fba0ca30fc7e484cddb03439537","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"52128","feedbackHash":"d70c9352019780a157c4da553441085053f11cee1ec5563be8929481a3ff8a87","nodeKey":"audit_judge","submissionHash":"d9dd6d86217cee3093839061ea0e04d53637d4b78d2487f9d9b997508d5bfa9b","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"50985","feedbackHash":"6b35721cda5068a744fd0e877e18c366cbf00e1e213ec9213091d6450fd6697c","nodeKey":"audit_math","submissionHash":"3297aed198831ccbbe801e1e3d05917db684e5df69f7a3e21647c64eede84200","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"52139","feedbackHash":"e9fb63ed425ae545f27321f83a015a37881df21a212e0a30fa0e9cbcc0c39e9e","nodeKey":"audit_permissions","submissionHash":"2b974bc4bb5762cea6e0372f92a4184eb666d0ff7e5d997b9804b72f88ecb10b","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"52628","feedbackHash":"fb75d02ddd8f4e9e9b7d40716ec00dbdf7b1307e7c8e78ab0d873a1723711043","nodeKey":"manifest","submissionHash":"62c227c46b28c2458ac4dbb49d7419673777b26f123955d7b4b2baf029beafcc","tag1":"verification:checks","tag2":"acceptance-v2","value":1},{"agentId":"51174","feedbackHash":"df8682fa597ee235400a6637169862561b6ce7d79c53e28d792672661c539abb","nodeKey":"manifest","submissionHash":"136b30a62715732e130c6d671d416eeb4f9a16346ea09799f12cc96b21087ca3","tag1":"verification:checks","tag2":"acceptance-v2","value":1},{"agentId":"51316","feedbackHash":"a4f4fbca7930acd7890ad9dc028329813843a958c586f1e483e89c31d6b6bfa3","nodeKey":"write_foundry_tests","submissionHash":"8b67c33279c79c514880ad670e1062d73ec1dc16b9c9a035bb2262ed8bf6e61d","tag1":"verification:checks","tag2":"acceptance-v2","value":1},{"agentId":"52616","feedbackHash":"aa130ce5ae445809b3e8ca7ae6d7daf0a301cc10ef0edfad769d43da62340c1b","nodeKey":"write_foundry_tests","submissionHash":"332ed7f19f44c0ea2ce13b61a8d717175bd38b6ee28fa0a79ee51bc53eaf40a0","tag1":"verification:checks","tag2":"acceptance-v2","value":1}],"site":null,"snapshotHash":"1262d7c5e24ff0acabddd3d5ecbbabc633a4081a4bdf2aba9c4fa31e81ddf7eb","state":"completed","submissions":[{"artifacts":[],"attempt":1,"bundleHash":null,"device":"a0f4c3f900dedd4a","findings":[{"citation":"resolved","description":"Guide: Invariant (break commutativity / path divergence) and Flow Gap (state written by the escrow read as ground truth by the reserve). Invariant the reserve states in its header: a late report 'before or after the timeout refund' is not topped up, and refusals (Intake status 1) are never topped up, so the payer never holds both the report and the Swarm share. It holds only when the Intake's outcome is recorded BEFORE topUp. For a timeout refund, eligibility() decides finality from two things that are not final: 1 day since the refund (TOPUP_GRACE, counted from finalizedAt, which the payer or anyone sets by calling the permissionless refund one second after deliverBy) and Intake.requests(requestId).completed == false at that moment. The Intake has no expiry: its writer can call complete() for the request at any later time, and the escrow then records the outcome on the already topped-up order (onResult -> lateResultHash + OrderDeliveredLate(afterRefund=true); onFailure status 1 -> failStatus 1). The reserve has no way back. The grace is also far shorter than the horizon the escrow itself treats as a possible delivery time: pay accepts deliverBy up to MAX_DELIVERY_WINDOW = 3 days after payment, but the payer chooses deliverBy, so with the 15-minute floor (events = 1) the top-up opens 24h15m after payment whatever the job in the body needs. The Swarm never sees deliverBy (it is only in the escrow's OrderPaid event); it sees the payer-written free-text body, which names the event start times, so a body whose events start days ahead, a Swarm backlog or an outage longer than a day gives this state with no privileged actor misbehaving. Who gains/loses per order: payer pays 1 IMD, gets 0.5 from the escrow and 0.5 from the reserve (net 0 IMD, gas only; the keeper in web/server/indexer.ts even sends refund and topUp for them) and holds the report; the reserve funder loses 0.5 IMD, which is what the Swarm treasury received; burn and both developer shares get nothing. Repeats per order until the reserve is empty. The swapped order of the same two calls gives the opposite result (NotEligible(LateReport)), which is the divergence. The existing suite does not see it: the invariant handler asserts 'no top-up for a report or a refusal' only at the moment topUp runs (test/ImdPicksEscrow.invariant.t.sol, Handler.topUp), never after a later deliver/fail on a topped-up order. Fix options, all inside the reserve and none changing prices, recipients or the escrow: (a) count the grace from the escrow's own outer bound, e.g. require block.timestamp >= submittedAt + ESCROW.MAX_DELIVERY_WINDOW() + TOPUP_GRACE instead of finalizedAt + TOPUP_GRACE, so a payer-shortened deadline no longer shortens the wait; (b) top up a no-outcome refund only when the escrow has recorded a failure (failStatus >= 2). Either is a scope decision for the requester: (a) narrows the window but cannot close it because Intake requests never expire; (b) closes it and removes the full refund for jobs the Swarm silently drops.","line":128,"path":"src/ImdPicksRefundReserve.sol","reproduction":"State: reserve funded with >= 0.5 IMD; Intake price 0.5 IMD. Calls (reproduced with the repository's Fixture/MockIntake, which models Intake.complete; all pass on the current tree): 1) t0: ALICE approve(escrow, 1e18); escrow.pay(cid, events=1, deliverBy=t0+900, expectedPrice=1e18, body). ALICE -1 IMD, treasury +0.5. 2) t0+901: anyone calls escrow.refund(orderId) -> ALICE +0.5, status Refunded, finalizedAt=t0+901, reportedAt=0, failStatus=0. 3) t0+901+86400: Intake.requests(requestId).completed is false -> reserve.eligibility(orderId) = (None, ALICE); reserve.topUp(orderId) -> ALICE +0.5. ALICE's balance equals her balance before step 1. 4) t0+901+86400+60: writer calls Intake.complete(requestId, 0, hash, uri, abi.encode(requestId, hash, uri)) -> escrow.onResult records lateResultHash = hash, emits OrderDeliveredLate(..., afterRefund=true); the report URI is public. Actual: toppedUp[orderId] == true AND getOrder(orderId).lateResultHash != 0; payer paid 0 IMD and holds the report; reserve.available() fell by 5e17; eligibility now answers AlreadyToppedUp. Expected (reserve header, V8-3): a late report is never also topped up. Control: run step 4 before step 3 (report at t0+901+86400-60, topUp one day later) -> topUp reverts NotEligible(LateReport). Same divergence with a refusal: after step 3, Intake.complete(requestId, 1, 0, '', abi.encode(requestId, uint256(1), reason, 0, 0, '')) sets failStatus = 1 on an order that was already topped up, although refusals are excluded by design. Also reproduced on a Mainnet fork against the real Intake (0xa43e...DE82, 200,000-gas callback stipend) and the real IMD token: same four calls, same end state (customer balance unchanged, treasury +0.5 IMD, reserve -0.5 IMD, lateResultHash set on a topped-up order).","severity":"medium","snippet":"        if (block.timestamp < uint256(o.finalizedAt) + TOPUP_GRACE) return (Ineligible.GracePending, o.payer);","title":"Reserve pays the full top-up for a 'no report' refund 24h after a 15-minute deadline, then the report (or a refusal) still lands: payer keeps the report and 100% of the price"},{"citation":"resolved","description":"Guide: Invariant (value stranded across a halt with no paired cleanup) and Economic Security (a dependency failure that permanently blocks claims). The reserve can pay only orders of the one escrow fixed at deployment, and IMD leaves it only through topUp. That escrow's ability to take orders is not under the requester's control: pay reverts for good when the Intake owner moves payTo (SwarmTreasuryChanged), prices job.open above 0.5 IMD or retires it (IntakePriceAboveShare). docs/ACTIVATION.md ('Treasury migration') treats the first as an expected event and prescribes deploying a new escrow, but says nothing about the reserve: the new escrow needs a new reserve funded from scratch, and whatever the old reserve holds beyond 0.5 IMD x (old orders that still end in an eligible refund) can never leave. The 'fund it in amounts you accept never to recover' note covers the missing withdraw; it does not say that a third party's routine configuration change turns the whole unspent balance into a permanent loss at a moment the funder does not choose. Loss: reserve.available() at the time of the change minus the top-ups still owed to open orders; the Intake owner gains nothing, the funder loses it. The brief forbids owner withdrawals, so I am not proposing a sweep. Options that keep the design: state in the migration runbook that the reserve must be drawn down first and fund it only in tranches of 0.5 IMD x expected failures per period; or, as a scope decision, a permissionless rule that sends the unspent balance to the fixed BURN address once the escrow's pinned treasury no longer equals INTAKE.payTo() and every order of the escrow is final. Severity low: it needs the Intake owner to act, and the amount is whatever the requester chose to hold in the reserve.","line":44,"path":"src/ImdPicksRefundReserve.sol","reproduction":"Reproduced on a Mainnet fork with the real Intake and IMD token. State: escrow and reserve deployed; reserve.fund(5e18) -> reserve.available() == 5e18; no open order. 1) Intake owner (0x047F606fD5b2BaA5f5C6c4aB8958E45CB6B054B7) calls Intake.setPayTo(0xBEEF) (the migration the runbook describes). 2) Any customer: escrow.pay(cid, 1, now+900, 1e18, body) reverts SwarmTreasuryChanged(0xBEEF); every later pay reverts the same way, so no order of this escrow can ever again reach Refunded. 3) reserve.topUp(x) reverts NotEligible(NotRefunded) for every x; there is no other function that moves IMD out. Actual: 5 IMD stays in the reserve permanently, and the replacement escrow that the runbook says to deploy cannot be served by it (ESCROW is immutable). Expected: IMD put aside for customer refunds remains usable for customer refunds, or the runbook tells the operator to draw it down before a migration.","severity":"low","snippet":"    ImdPicksEscrow public immutable ESCROW;","title":"Reserve balance is stranded for good once the escrow stops taking orders (the documented treasury migration): no order can claim it and the replacement escrow cannot use it"}],"hash":"07cbb96d72d4c9a43b6b0b9ce8342fc4c39518d8393f21c4d258f0d5a441534e","nodeId":"572cd60a-9b21-4ec4-aacd-267763e1a24d","outcome":"completed","summary":"The economics review is done: two findings (one medium, one low) and no critical or high defect in this area. `.imd-findings.json` holds both findings and a coverage row for all nine entry points; no tracked file was changed.\n\n## Findings\n\n1. **Medium — the reserve can pay a full top-up and the report still arrives.** (`src/ImdPicksRefundReserve.sol:128`, `topUp`)\n   - A payer sets the 15-minute deadline, anyone refunds one second after it, and 24 hours later `topUp` pays the 0.5 IMD because the Intake has not completed the request yet.\n   - The Intake has no expiry, so the writer can still complete afterwards. The escrow then records a late report (or a refusal) on an order that was already topped up.\n   - Net effect per order: the payer pays 0 IMD and holds the report, the reserve loses 0.5 IMD, and burn and developer shares get nothing.\n   - Swapping the two calls gives `NotEligible(LateReport)`, so the outcome depends purely on ordering.\n   - It needs the Swarm to complete more than about 24 hours after payment. I could not check whether a payer can force that through the job body; a backlog or outage longer than a day produces the same state.\n   - The existing invariant handler only asserts \"no top-up for a report\" at the moment `topUp` runs, never afterwards.\n\n2. **Low — the reserve balance is stranded once the escrow stops taking orders.** (`src/ImdPicksRefundReserve.sol:44`)\n   - If the Intake owner moves `payTo` (the treasury migration `docs/ACTIVATION.md` describes), every `pay` reverts for good.\n   - No further order can become eligible, the reserve has no other exit, and the replacement escrow cannot use it. The runbook does not mention this.\n\nBoth were reproduced on a Mainnet fork against the real Intake and IMD token. Finding 1's fix options and finding 2's remedy are scope decisions for you; they are spelled out in the file.\n\n## What held\n\n- **Entry points:** `pay`, `refund`, `settle`, `verifyDelivery`, `rejectDelivery`, `onResult`, `onFailure` and `fund` all hold. `topUp` carries finding 1.\n- **Accounting:** conservation is exact, the three tier splits are exact in wei, and settle and refund are never both possible for one order.\n- **Payer cap:** a payer never gets back more than the tier price.\n- **Live state:** the pinned treasury equals `Intake.payTo()`, the Intake price is 0.5 IMD, and the callback stipend is 200,000 gas. `onResult` still delivers under that stipend with an 8 KB URI.\n- **Token:** IMD is a plain LayerZero OFT with no fee, hook, pause or blacklist.\n- **Tests:** the offline suite passes 112 with 15 skipped, and all 15 fork tests pass with a Mainnet RPC.\n\n## Not re-reported and not reached\n\n- **Already documented as accepted:** the payer-declared event count and deadline (`6809aab2`, `01d76ce7`), reserve griefing through a Swarm failure, completions that reach the escrow with no callback, and the Intake owner halting new payments. One note: the deadline floor is keyed to the declared count, so under-declaring also lowers the floor. The payer's net cost is still the 0.5 IMD the Intake charges directly, so I left it out.\n- **Not reached:** whether a payer can make the Swarm fail, stay silent or deliver late through the body; the web SDK and indexer beyond the keeper loop; and `launch.json`, which does not exist yet.","treeHash":null,"usage":{"cachedInputTokens":2732392,"cost":{"source":"runtime","usdMicros":5502072},"inputTokens":44,"model":"claude-fable-5-2","outputTokens":57730,"runtime":"claude","turns":25,"wallClockMs":652011}},{"artifacts":[],"attempt":1,"bundleHash":"9f37138f37e39e512d2a502babd4eedd43bb782be32728e536a8ea4d9b3eb844","device":"e89087c02a1681bf","findings":[],"hash":"136b30a62715732e130c6d671d416eeb4f9a16346ea09799f12cc96b21087ca3","nodeId":"1b78d954-fc09-4b04-b303-d11002f8fcde","outcome":"completed","summary":"`launch.json` still names the same two contracts with the same constructor arguments; the only change in this revision is one passage of the notes, brought in line with the revised reserve source. No findings were attached to this revision, so I re-checked the manifest against the current tree instead.\n\n```json\n\"contracts\": [\n  { \"contract\": \"ImdPicksEscrow\",        \"constructorArgs\": [\"0x3322e6dd06ade8377f1f1bcb766f6133d7b64d69\"] },\n  { \"contract\": \"ImdPicksRefundReserve\", \"constructorArgs\": [\"$contract:ImdPicksEscrow\"] }\n]\n```\n\n- **Arguments:** `ImdPicksEscrow(address verifier)` takes the brief's immutable verifier, and `ImdPicksRefundReserve(address escrow)` takes the escrow deployed before it. Neither contract has an owner or admin, so nothing is `$owner` and the factory gets no role.\n- **What changed in the notes:** the reserve's `checkEscrow()` now also checks the escrow's developer wallets, burn address, Intake, Swarm treasury, 3-day delivery bound, three-tier split and verifier. The notes now say so, and that the reserve refuses an escrow deployed with any other verifier, so the escrow argument must stay exactly the brief's address.\n- **Checks run:**\n  - `forge build` succeeds.\n  - `forge test` with the verifier's fuzz seed: 121 passed, 0 failed, 15 skipped (the fork suite, which needs a network RPC). Two of the 121 are my own scratch tests, which are not submitted.\n  - The scratch rehearsal deploys both contracts by CREATE2 on an empty chain with chain id 1, using the manifest's arguments. The reserve accepts that escrow, all three tier splits match the brief, and both runtimes pass the size and forbidden-opcode scan.\n  - The manifest passes a schema check I wrote from the stated rules (keys, names, argument forms, backward references); notes are 2,569 characters.\n- **Scope:** only `launch.json` is modified, and it is left uncommitted in the working tree. Nothing was deployed, funded or activated.","treeHash":"28c538a836141f14fb370771caa43623bdf9250c","usage":{"cachedInputTokens":347489,"cost":{"source":"runtime","usdMicros":1069346},"inputTokens":18,"model":"claude-fable-5-2","outputTokens":7470,"runtime":"claude","turns":9,"wallClockMs":86641}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"079b3bf4557d8811","findings":[{"citation":"resolved","description":"Permissions / trust gap. The reserve's whole authorization to pay out is `ESCROW.getOrder(orderId)` (payer, status, failStatus, resultHash, lateResultHash) plus `ESCROW.INTAKE().requests(...)`. Its constructor accepts any non-zero address (line 87-88), and its NatSpec (lines 82-85) says the escrow's constants are read back by `checkEscrow` on every fund and topUp 'and a contract with any other token or split is refused there'. checkEscrow only reads IMD(), ENGINE_VERSION(), SWARM_SHARE() and six priceFor values: it never reads splitOf, WALLET_1/WALLET_2/BURN, VERIFIER, INTAKE or SWARM_TREASURY, and the eligibility path uses the unchecked ESCROW.INTAKE() (line 129). So any contract that returns those nine constants passes, and then decides alone who is paid from the reserve. The live risk is limited to a reserve instantiated against the wrong escrow address (the manifest is expected to bind it as $contract:ImdPicksEscrow, which the reviewer of launch.json must confirm), so the severity is low. The stated guarantee that a funder can rely on checkEscrow, for example before calling fund() on a reserve somebody else deployed, does not hold. Minimal fix that keeps the design: also require e.splitOf(1e18/15e17/2e18) to equal the brief's figures, and require e.WALLET_1(), e.WALLET_2(), e.BURN(), e.INTAKE() and e.VERIFIER() to equal the brief's constants (0x83027AD9..., 0xA02c46e7..., 0x...dEaD, 0xa43e6F75..., 0x3322e6dd...). Even then a hostile look-alike passes, so the comment should state that the guarantee rests on the deployment binding, not on checkEscrow.","line":96,"path":"src/ImdPicksRefundReserve.sol","reproduction":"Deploy FakeEscrow with constants IMD=0xD34a99Bc...63B7, ENGINE_VERSION=10, SWARM_SHARE=5e17, priceFor tiers 1e18/15e17/2e18, splitOf(any)=(5e17,0,0,5e17) (no burn, everything to one wallet), INTAKE=itself, and getOrder(any) returning {payer: 0xBEEF, status: Refunded, failStatus: 2}. Then new ImdPicksRefundReserve(address(fake)). Expected, per lines 82-85: checkEscrow() reverts NotEscrow because the split differs. Actual: checkEscrow() passes, and eligibility(keccak256(\"any\")) returns (None, 0xBEEF), so every topUp(id) for any id pays 0.5 IMD to 0xBEEF until the reserve is empty. Verified locally with a scratch Foundry test (forge test: PASS, eligibility == 0, payer == 0xBEEF).","severity":"low","snippet":"        if (\n            address(e.IMD()) != address(IMD) || e.ENGINE_VERSION() != 10 || e.SWARM_SHARE() != TOP_UP\n                || e.priceFor(1) != 1e18 || e.priceFor(4) != 1e18 || e.priceFor(5) != 15e17 || e.priceFor(9) != 15e17\n                || e.priceFor(10) != 2e18 || e.priceFor(14) != 2e18\n        ) revert NotEscrow();","title":"ImdPicksRefundReserve.checkEscrow does not check the escrow's split, recipients, verifier or Intake it then trusts, despite claiming to refuse 'any other token or split'"}],"hash":"2b974bc4bb5762cea6e0372f92a4184eb666d0ff7e5d997b9804b72f88ecb10b","nodeId":"035d799f-37fd-4e1e-970d-9cb3b79b32ee","outcome":"completed","summary":"I found no critical, high or medium issues in the permissions review (Access Control, Trust Gap and Asymmetry) of `ImdPicksEscrow` and `ImdPicksRefundReserve`. There is one low finding. All of it is in `.imd-findings.json`, with a coverage row for each of the 9 entry points plus 2 invariant rows. I changed no project files: the scratch test I used to confirm the finding has been deleted.\n\n**Finding 1 (low): `checkEscrow` checks less than its comment says** (`src/ImdPicksRefundReserve.sol:96`)\n- **What's wrong:** the reserve decides who to pay entirely from what its escrow reports. The comment says `checkEscrow` refuses \"any other token or split\". In fact it only reads the token, engine version, Swarm share and six prices. It never checks the split, the developer wallets, the burn address, the verifier or the Intake.\n- **Reproduction:** a look-alike escrow that returns those nine values passes the check, even with a split of 0.5 Swarm and 0.5 to one wallet with no burn. Its `getOrder` can then return `{payer: 0xBEEF, status: Refunded, failStatus: 2}` for any order, and `eligibility` answers eligible with payer `0xBEEF`. So `topUp` would pay 0.5 IMD per call until the reserve is empty. I confirmed this with a local Foundry test, which passed.\n- **Why low:** it only matters if the reserve is deployed pointing at the wrong escrow. Whoever checks the deployment manifest needs to confirm it binds the reserve to the real escrow (`$contract:ImdPicksEscrow`).\n- **Suggested fix:** also check the split for all three tiers and compare the wallets, burn address, Intake and verifier against the brief's addresses. Even then a hostile copy could pass, so the comment should say the real protection is the deployment binding.\n\n**What holds:**\n- **Verifier:** it can only call `verifyDelivery` and `rejectDelivery`, which either lets the order settle to the fixed recipients or refunds the payer. The deploy script, `docs/LAUNCH.md` and `contracts/integration.mainnet.json` all pin `0x3322e6dd…`.\n- **EIP-7702 delegation:** the verifier address has EIP-7702 delegation code on Mainnet. It points to MetaMask's `EIP7702StatelessDeleGator` v1.3.0, which only acts on the account's own signatures, so nobody else can call as the verifier. The docs already disclose this.\n- **No privileges:** neither contract has an owner, pause, upgrade, setter or proxy. `settle`, `refund` and `topUp` are open to anyone but only ever pay the fixed recipients or the order's payer.\n- **Intake callbacks:** I read the Intake's verified source on Sourcify. Its `requests()` layout matches the interface the escrow uses, and its `complete()` ties failure arguments to the request and status. The escrow's checks ignore callbacks for requests it didn't open or that aren't completed.\n- **Live Intake settings:** the price (0.5 IMD), payment address (`0x4e0fA57B…`) and callback gas (200,000) on Mainnet match the contract's pinned values.\n- **Settle and refund never overlap:** the deadline and verification-window boundaries leave no moment where both are possible. `rejectDelivery` has no window check, unlike `verifyDelivery`, but after the window the order is refundable anyway, so the outcome is the same.\n- **ABIs:** the ABI files in `contracts/abi/` match the compiled ones exactly.\n- **Tests:** the offline suite passes (112 passed, 15 fork tests skipped). I ran it with fewer fuzz and invariant runs than the configured defaults (200 and 32 instead of 1,000 and 128) to save time.\n\n**Not re-reported or not covered:**\n- I didn't re-report issues the project already records. Most notably, a payer can understate the event count, or get a delivered report rejected, and so obtain the report for only the 0.5 IMD Swarm share. That is listed as open decision 6809aab2.\n- I couldn't prove on chain that a payer can choose a body that makes the Swarm fail rather than refuse. If they can, they could drain the reserve 0.5 IMD at a time into the Swarm treasury. It depends on off-chain behaviour, so I left it","treeHash":null,"usage":{"cachedInputTokens":1535156,"cost":{"source":"runtime","usdMicros":1277881},"inputTokens":3941,"model":"claude-opus-5-5","outputTokens":22759,"runtime":"claude","turns":22,"wallClockMs":344109}},{"artifacts":[],"attempt":2,"bundleHash":null,"device":"410247426ec5a6df","findings":[{"citation":"resolved","description":"Boundary x precision seam between the site and the escrow (Boundary guide: max input; Numerical Gap guide: a cap checked against a value computed on a different clock). deliverByFor() caps the deadline at nowS + MAX_DELIVERY_WINDOW_S where nowS = floor(Date.now()/1000), the browser's wall clock, with zero slack. ImdPicksEscrow.pay (src/ImdPicksEscrow.sol:333, `|| deliverBy > block.timestamp + MAX_DELIVERY_WINDOW`) measures the same 259,200-second cap from block.timestamp. sdk.pay() (web/src/engine/sdk.ts:195) first runs pc.simulateContract, which viem 2.58.8 sends as eth_call at blockTag 'latest' (actions/public/call.js: `blockTag = client.experimental_blockTag ?? 'latest'`), so the simulation's block.timestamp is the timestamp of the newest mined block. A mainnet block's timestamp is its slot start and the block reaches a node 1-4 s later, with the next one 12 s after, so a correctly set browser clock is 1-12 s ahead of it essentially always. Whenever the clamp is the binding term (earliest selected start later than now + 3 days + 2 minutes), deliverBy - block.timestamp = 259,200 + (nowS - T_latest) > 259,200 and the simulation reverts BadDeadline; sdk.pay throws and nothing is sent. The site loads 7 days of fixtures for team leagues and 30 days for the others (web/src/games.tsx:118, `const days = lg.teams ? 7 : 30;`) and recheck() only enforces the lower lead time, so such selections are offered, priced and approved, and then can never be paid. If a caller skips the simulation, the transaction succeeds only when it is mined in a block whose timestamp is >= the browser's nowS; a browser clock a few seconds fast makes the mined transaction revert and the payer loses the gas. The project's own test pins the zero-slack value (web/tests/engine.test.mjs:48, `Math.floor(NOW / 1000) + 3 * 86400`, 'capped at 3 days'), and no test runs that value against the contract at a block timestamp behind NOW. No IMD is lost: the impact is that every order in this class is unpayable through the delivered site/SDK once payments are activated. Fix that keeps the design: leave slack under the cap in deliverByFor (for example nowS + MAX_DELIVERY_WINDOW_S - 600), or take `now` from the latest block's timestamp instead of Date.now(); the contract needs no change.","line":136,"path":"web/src/engine/deadline.ts","reproduction":"State: latest mainnet block timestamp T = 1,800,000,000; browser clock 6 s after it (nowMs = 1,800,000,006,000); a selection of one event starting 5 days later. deliverByFor([{start: now + 5 days}], nowMs) = min(floor((start - 120 s)), 1,800,000,006 + 259,200) = 1,800,259,206. sdk.pay simulates pay(clientOrderId, 1, 1800259206, 1e18, body) at block 'latest' (block.timestamp = 1,800,000,000): 1,800,259,206 > 1,800,000,000 + 259,200 = 1,800,259,200, so it reverts BadDeadline(1800259206). Expected: the order is accepted with a deadline inside the 3-day cap. Actual: the payment cannot be made. On-chain half reproduced in Foundry with the repository fixture (block.timestamp T): esc.pay(cid, 1, uint40(T + 3 days + 6), 1e18, BODY) reverts BadDeadline(T + 3 days + 6), while the same call with uint40(T + 3 days) succeeds. Client half: web/tests/engine.test.mjs:48 asserts deliverByFor([{ start: at(10 * 1440) }], NOW) === Math.floor(NOW / 1000) + 3 * 86400, i.e. exactly the cap measured from the wall clock.","severity":"medium","snippet":"  const by = Math.min(Math.floor((earliest - DELIVERY_MARGIN_MS) / 1000), nowS + MAX_DELIVERY_WINDOW_S);","title":"Site clamps deliverBy to wall-clock now + exactly 3 days, which the escrow's upper bound rejects against the block timestamp: selections whose first event is more than 3 days away cannot be paid"},{"citation":"resolved","description":"Boundary x invariant seam in ImdPicksRefundReserve.eligibility / topUp. The reserve's stated property is that 'a report that is merely slow cannot also collect the full refund' (contract header) and that a late report is never topped up (Ineligible.LateReport). For a no-report timeout the only bars are this 1-day grace, counted from the order's finalizedAt (the moment anyone called the permissionless refund), and Intake.requests(requestId).completed == false at the time of topUp. finalizedAt can be as early as deliverBy + 1 s, and deliverBy is chosen by the payer down to minDeliveryWindowFor(events) = 15 minutes after payment (25 / 40 minutes for larger orders), not the 3-day MAX_DELIVERY_WINDOW. So the window in which a slow report is still recognised as late is 24 h 15 min from payment, not 3 days + grace: once topUp has paid, a later onResult only records lateResultHash and no IMD comes back. The payer then holds the report (possibly still before the event, since the short deadline was the payer's choice, not the event's start), has the escrowed remainder back from the escrow and the 0.5 IMD Swarm share back from the reserve; the reserve is 0.5 IMD poorer for a job the Swarm did deliver, and burn and developer shares are zero. Precondition, stated plainly: the Intake writer must complete the request more than deliverBy + 24 h after payment (a Swarm backlog or outage longer than a day); I found no way for a payer to force that delay, so this is bounded at 0.5 IMD of reserve per affected order and rated low. V8-3 (docs/V8_REPORT.md) introduced the grace for exactly this case; the launch adaptation's per-size floors left the anchor at the refund time. A fix inside the agreed design: count the grace from the latest time a report could still have been on time for any order, e.g. require block.timestamp >= uint256(o.submittedAt) + ESCROW.MAX_DELIVERY_WINDOW() + TOPUP_GRACE (or simply a longer grace) before a no-report top-up; failure- and no-artifact top-ups (failStatus >= 2) are unaffected.","line":128,"path":"src/ImdPicksRefundReserve.sol","reproduction":"Reproduced with the repository's Fixture (MockIMD/MockIntake at the pinned addresses) and a reserve funded with 10 IMD; t0 = block.timestamp. 1) ALICE approves 1e18 and calls esc.pay(bytes32(1), 1, uint40(t0 + 15 minutes), 1e18, BODY). 2) warp t0 + 15 min + 1 s: esc.refund(orderId) succeeds (timeout), ALICE receives 0.5 IMD, finalizedAt = t0 + 901. 3) warp t0 + 901 + 1 days - 1: reserve.eligibility(orderId) = GracePending; warp to t0 + 901 + 1 days: reserve.topUp(orderId) succeeds and ALICE's IMD balance equals her balance before paying. 4) warp t0 + 24 h 20 min: the writer calls intake.complete(requestId, 0, keccak256('report'), 'ipfs://bafyreport', abi.encode(requestId, keccak256('report'), 'ipfs://bafyreport')). Actual: esc.getOrder(orderId).lateResultHash == keccak256('report'), reserve.toppedUp(orderId) == true, reserve balance 9.5 IMD, ALICE paid 0 IMD net and the report URI is public in OrderDeliveredLate/Completed. Expected by the reserve's own rule: an order whose report was delivered late is not topped up (the same report landing at t0 + 24 h 10 min, before step 3's topUp, makes eligibility return LateReport).","severity":"low","snippet":"        if (block.timestamp < uint256(o.finalizedAt) + TOPUP_GRACE) return (Ineligible.GracePending, o.payer);","title":"Reserve grace runs from the refund of a payer-chosen deadline: a report completed more than 24 h after a 15-minute deadline leaves the payer with the report and the whole price back"}],"hash":"3297aed198831ccbbe801e1e3d05917db684e5df69f7a3e21647c64eede84200","nodeId":"f1487fdc-3913-4ed1-821d-c0a96cb3ab55","outcome":"completed","summary":"The math audit is written to `.imd-findings.json`: two findings (one medium, one low) and a coverage row for all nine entry points. No tracked file was changed and the scratch tests are removed.\n\n## Findings\n\n1. **Medium — selections whose first event is more than 3 days away cannot be paid** (`web/src/engine/deadline.ts:136`).\n   - The site caps `deliverBy` at the browser's clock plus exactly 3 days, with no slack. The escrow measures the same cap from `block.timestamp` (`src/ImdPicksEscrow.sol:333`).\n   - The SDK simulates `pay` at the latest block, whose timestamp is normally 1–12 s behind the browser, so the simulation reverts `BadDeadline` and nothing is sent.\n   - The site lists fixtures 7–30 days ahead, so these selections are offered and priced but never chargeable.\n   - No IMD is lost. If the simulation is skipped and the browser clock is fast, the mined transaction reverts and the payer loses the gas.\n   - I reproduced the contract half: `T + 3 days + 6` reverts, `T + 3 days` succeeds. The site's own test pins the zero-slack value, and viem's default block tag is `latest`.\n   - The fix is client-side: leave slack under the cap, or take \"now\" from the latest block.\n\n2. **Low — a report arriving more than a day late still collects the full refund** (`src/ImdPicksRefundReserve.sol:128`).\n   - The reserve's 1-day grace runs from the refund time, and the payer can set the deadline as short as 15 minutes.\n   - A report the Intake completes more than about 24 h 15 min after payment therefore leaves the payer with the report, the escrowed remainder and the 0.5 IMD top-up.\n   - I reproduced the full sequence against the repository fixture.\n   - It needs a Swarm delay of over a day, which I found no way for a payer to force, so the cost is bounded at 0.5 IMD of reserve per affected order.\n\n## What held\n\n- **Split arithmetic:** exact in wei for all three tiers, with no remainder and equal developer shares.\n- **Accounting:** the lifetime totals reconcile with no rounding term.\n- **Tier and window boundaries:** 4/5, 9/10, 14/15 and 0 are exact; the delivery window is inclusive at both ends.\n- **Settle versus refund:** they never share a timestamp, at either `deliverBy` or the 6-hour verify window.\n- **Casts:** the `uint96` and `uint40` narrowings are bounded.\n- **Live Intake:** its verified source forwards the full amount to the treasury. On chain, the price is 0.5 IMD, `payTo` is the pinned treasury and the callback stipend is 200,000 gas.\n- **Callback gas:** both result paths fit the stipend for URIs up to 16,000 bytes.\n- **Tests:** 112 offline tests and 15 fork tests against mainnet pass.\n\n## Not reported or not reached\n\n- The declared event count not being tied to the job body is already documented as an open decision (finding `6809aab2` in `ADAPTATION.md`), so I did not re-report it. Because the delivery floor is keyed to that same count, an understated order also gets the shortest floor; the payer's net cost stays 0.5 IMD either way.\n- The verifier address `0x3322…4d69` currently carries an EIP-7702 delegation to `0x63c0…e32b`. This is outside the math area and I did not assess it; it is not in the findings file.\n- I did not review the indexer's latency statistics, the built `dist/` bundle or the protected launch tests. There is no `launch.json` in the tree yet.","treeHash":null,"usage":{"cachedInputTokens":3231144,"chain":[{"calls":95,"chainId":1,"failed":0,"own":24,"public":61,"refused":10}],"cost":{"source":"runtime","usdMicros":5652879},"inputTokens":53,"model":"claude-fable-5-2","outputTokens":59780,"runtime":"claude","turns":29,"wallClockMs":661361}},{"artifacts":[],"attempt":1,"bundleHash":"7e6b2e821fa34a16cbdc117425c0f99e4230133b8c9935287565442d6f87df5f","device":"a7979f925df7a720","findings":[{"description":"For a no-report timeout refund the reserve waits TOPUP_GRACE (1 day) after finalizedAt and then checks that the Intake has not completed the request. Nothing stops the Intake's writer from completing it after that: onResult (src/ImdPicksEscrow.sol:453) records the result as lateResultHash on the already-refunded and already-topped-up order. The customer then holds the full tier price back AND the report, and the reserve has paid 0.5 IMD to the Swarm for a report that was delivered. The contract header says 'a report that is merely slow cannot also collect the full refund'; that holds only for reports slower than the deadline but faster than deadline + 1 day. No escrow, burn or developer funds are affected, the reserve is optional and the brief says not to fund it, so this is low. It cannot be closed inside the reserve (the late report arrives after the payment); a longer grace or an off-chain writer cut-off narrows it.","line":128,"path":"src/ImdPicksRefundReserve.sol","reproduction":"Fixture with MockIMD/MockIntake; fund reserve 1 IMD; ALICE pays 1 IMD (1 event, deliverBy = now + 1h); warp to deliverBy + 1; esc.refund(orderId) -> ALICE +0.5; warp + 1 day; rr.topUp(orderId) -> ALICE +0.5 (balance back to 100 IMD); writer then calls intake.complete(requestId, 0, keccak256('report'), 'ipfs://bafyreport', args). Expected per the header: the slow report cannot also collect the full refund. Actual: the call succeeds, order.lateResultHash == keccak256('report') and ALICE's balance stays at 100 IMD (full refund kept together with the report).","severity":"low","title":"A report slower than deliverBy + TOPUP_GRACE still lands after the reserve has paid the full refund"},{"description":"_submit reverts IntakePriceAboveShare when Intake.priceOf(ACTION, IMD) is 0 or > 0.5 IMD and SwarmTreasuryChanged when Intake.payTo() != SWARM_TREASURY. The escrow has no pause function, but the Intake's owner (an external party, 0x047F606f... per the fork tests) can halt new payments at will by changing either setting. Open orders are unaffected (settle/refund do not read them). This is the documented, fail-safe design (funds are never redirected) and is covered by test_V10_1_swarmTreasuryChanged_reverts_noCharge and test_V10_intakeAbove05_blocksEveryTier_noCharge; it is listed so the 'non-pausable' requirement is read with this external dependency in mind.","line":541,"path":"src/ImdPicksEscrow.sol","reproduction":"intake.setPrice(ACTION, IMD, 5e17 + 1) or intake.init(otherTreasury, WRITER) then ALICE.pay(...) -> reverts IntakePriceAboveShare(5e17+1) / SwarmTreasuryChanged(otherTreasury); no IMD moves.","severity":"info","title":"Payments stop (every pay reverts) whenever the Intake owner changes payTo or raises the price above 0.5 IMD"}],"hash":"332ed7f19f44c0ea2ce13b61a8d717175bd38b6ee28fa0a79ee51bc53eaf40a0","nodeId":"358f34d6-8594-4f92-a6b1-5a9775226027","outcome":"completed","summary":"I've added 43 new tests in three files, and they all pass. The full `forge test` run with the verifier's fuzz seed gives 155 passed, 0 failed and 15 skipped; the 15 skips are the existing fork tests, which need `FORK_URL`. I found no critical or high defects in `src/`. I couldn't make the commit because this machine has no git author identity, and I didn't set one. The new files under `test/` are staged and ready.\n\n**New tests**\n- **Wallet gas** (`test/ImdPicksWalletGas.t.sol`, 13 tests): uses the supplied `WalletGas` helper, copied with only its import path changed. Each transaction a person or bot sends does the same work at the lowest gas a wallet would send as with gas to spare. That covers `pay` at every tier and at the 16,384-byte body limit, `verifyDelivery`, `rejectDelivery`, `settle`, `refund` (after a failure, a timeout and an unattested delivery), and the reserve's `fund` and `topUp`.\n  - It also covers the Swarm writer's `Intake.complete`, the only call in the flow that forwards a fixed amount of gas and catches a failure. I checked it for a normal result, a 2 KB URI, a failure, a late result and a failure after a timeout refund.\n  - The live Intake (checked against its Sourcify-verified source) refuses to run when it can't give the escrow's callback its full gas. The repo's `MockIntake` doesn't have that check, so I added `test/utils/GasFloorIntake.sol`, which reproduces it.\n  - I'd drafted a note that the old mock would fail this check, but a scratch test showed it passes too, so I removed that claim.\n- **Failure paths** (`test/ImdPicksAdversarial.t.sol`, 29 tests): the exact second where verification closes and refund opens, and the same at `deliverBy` and at the reserve's 1-day grace. It also covers anyone other than the verifier calling verify or reject, bad attestation inputs, every call made twice or in the wrong state, and late orders. Body size limits, deadline limits for each size band, unlimited approvals, callbacks from the wrong caller, IMD sent directly to either contract, and all the reserve's refusal reasons are covered too. A fuzz test checks the exact split for any tier and any caller.\n  - That fuzz run caught a mistake in my own test, not the contract: it picked the escrow itself as the caller. I fixed the test.\n- **Invariants** (`test/ImdPicksLifecycle.invariant.t.sol`): random call sequences across four customers, covering both contracts. Every wrong-state attempt must revert and move nothing. After each sequence:\n  - the escrow holds exactly what open orders are owed, plus anything donated;\n  - a finished order never reopens;\n  - the IMD supply never changes;\n  - each customer's balance reconciles, and no order returns more than its price;\n  - the reserve spends only what it received;\n  - burn and developer totals match the brief's table for each tier.\n  - In scratch runs I confirmed the sequences actually reach settlements, refunds, top-ups and late reports, so these checks aren't passing on empty states.\n\n**Reported in `.imd-findings.json`**\n- **Low:** if a report arrives more than a day after a timeout refund, and the reserve has already topped up that order, the customer ends up with the full price back and the report. The contract's header says this can't happen. Only the optional reserve loses its 0.5 IMD, and your brief says not to fund it; I reproduced it in a scratch test.\n- **Info:** new payments stop whenever the Intake's owner changes where Swarm payments go or raises the Intake price above 0.5 IMD. This is the intended fail-safe (money is never redirected) and existing tests cover it. I listed it because it's an outside party's switch, which matters for your \"non-pausable\" requirement.\n\nThe repo had no forge-std, so I vendored its `src/` folder (MIT/Apache licences included) under `test/lib/forge-std/`. That way the tests build with no network access.","treeHash":"eaebe23e4080bfd50412106ea4956043563f9a91","usage":{"cachedInputTokens":2677228,"cost":{"source":"runtime","usdMicros":2600949},"inputTokens":58,"model":"claude-opus-5-5","outputTokens":52016,"runtime":"claude","turns":35,"wallClockMs":592407}},{"artifacts":[],"attempt":1,"bundleHash":"8ee5af8a0d3816bb9cea992f9efc72d2ced535252a0a83650171093357abb329","device":"989e104186cad5ec","findings":[],"hash":"3f19942a970ced72a95d1c29ab7e2f3db0ccf782f71d8dc4103f40bc5e14b907","nodeId":"d63f0b41-73bc-4a08-b628-e33e99875552","outcome":"completed","summary":"The V10 escrow and refund reserve are ready for the factory launch, with one audit finding left open for your decision. Nothing was deployed, broadcast, signed or funded, so there are no contract addresses or transaction hashes yet; those come from IMD's launch.\n\n`forge build` succeeds and `forge test` with the verifier's seed gives 112 passed, 0 failed, 15 skipped. The 15 skipped are the Mainnet fork suite, which passes 15/15 when pointed at Mainnet state (block 26,517,657). Slither, Mythril and the `web/` test suites were not run.\n\n## What the launch deploys\n\n| Order | Contract | Constructor argument |\n|---|---|---|\n| 1 | `ImdPicksEscrow` | verifier `0x3322e6dd06ade8377f1f1bcb766f6133d7b64d69` (static, immutable) |\n| 2 | `ImdPicksRefundReserve` | the escrow's address |\n\n- **Treasury check:** `Intake.payTo()` on Mainnet returns `0x4e0fA57Bde726079356537E2F34d671E9F41ADbc`, which equals the escrow's pinned Swarm treasury. The Intake price is 0.5 IMD.\n- **Unchanged:** prices, the split, both developer wallets, the burn, the IMD token, `pay`'s signature and the verifier's two functions. There is still no owner, pause, proxy or setter.\n\n## Changes\n\n- **Reserve constructor:** it no longer calls the escrow, because the factory runs constructors with no other contract in reach. The same check now runs at the start of every `fund` and `topUp`.\n- **Failure after a timeout refund (medium, fixed):** the escrow now records it, so the reserve top-up no longer depends on whether `refund` or the Intake callback landed first.\n- **Payer-chosen deadline (medium, fixed with a floor):** the shortest delivery window is now 15 / 25 / 40 minutes for 1–3 / 4–7 / 8–14 events instead of a flat 10. I chose these as the site's own lead targets minus 5 minutes, so the site's deadlines still clear them. A Swarm slower than the floor still delivers late and refunds.\n- **Reserve drain through rejected deliveries (medium, fixed):** the reserve refuses any order whose report was delivered on time and then rejected or left unattested. The catch is that a customer whose on-time report really was unretrievable gets the escrowed remainder back but not the 0.5 IMD Swarm share.\n- **Fork tests (low, fixed):** they now report as skipped offline instead of passed.\n- **Duplicate source tree (low, fixed):** I deleted `contracts/src`, `contracts/test` and `contracts/script`, which were byte-identical copies built without `bytecode_hash = \"none\"`. `contracts/deploy.sh` and `contracts/test.sh` now build from the root, and the deploy script pins the brief's verifier and always deploys both contracts.\n\nAll four medium findings reproduced against the original source. The low finding about the Intake owner being able to halt new payments is left as a trust assumption of the design.\n\n## Open decision for you\n\nThe escrow still prices an order by the event count the payer declares; a 14-event body paid as 1 event is accepted at 1 IMD. I did not change this, because both fixes the audit names conflict with the brief:\n\n- **A new `pay` signature** taking a fixed-shape event list would break the existing site.\n- **Letting a count mismatch settle instead of refund** reverses what your indexer does today.\n\nAs it stands, a rejected understated order costs the payer the full 0.5 IMD Swarm share and the reserve no longer returns it, but burn and developer shares are lost on that order. Tell me which way you want it if you want this closed on chain.\n\n`ADAPTATION.md` lists every change and why; `docs/LAUNCH.md` has the constructor arguments, on-chain checks, audit table, test results and site/indexer settings. The ABIs are in `contracts/abi/`, and `contracts/integration.mainnet.json` holds the integration config with addresses left `null` until the launch.\n\nCustomer payments stay closed, the reserve is unfunded, and the existing website and agent #1927 were not touched. The work is in the working tree, not committed.","treeHash":"240d6280f65dacf0946771d057458eb24b03491d","usage":{"cachedInputTokens":3523098,"chain":[{"calls":168,"chainId":1,"failed":0,"own":155,"public":0,"refused":13}],"cost":{"source":"runtime","usdMicros":7431186},"inputTokens":52,"model":"claude-fable-5-2","outputTokens":88028,"runtime":"claude","turns":34,"wallClockMs":924327}},{"artifacts":[],"attempt":1,"bundleHash":"c67bd645a2c88b56601775fe3e259833d2c1758d3a033d7d17d4f1cdacdc5a5f","device":"764cd99b4c628a47","findings":[],"hash":"62c227c46b28c2458ac4dbb49d7419673777b26f123955d7b4b2baf029beafcc","nodeId":"1b78d954-fc09-4b04-b303-d11002f8fcde","outcome":"completed","summary":"`launch.json` is written and checked; it is the only file changed, left uncommitted in the working tree.\n\nThe manifest names the two existing V10 contracts in dependency order:\n\n| Order | Contract | Constructor argument |\n|---|---|---|\n| 1 | `ImdPicksEscrow` | `0x3322e6dd06ade8377f1f1bcb766f6133d7b64d69` (the brief's immutable verifier) |\n| 2 | `ImdPicksRefundReserve` | `$contract:ImdPicksEscrow` |\n\nNeither contract has an owner or admin, so no argument is `$owner` and the factory gets no role. The token, Intake, Swarm treasury, both developer wallets, burn address and tier split are compile-time constants in the accepted source and match the brief.\n\n- **Manifest shape:** only `kind`, `contracts` and `notes`; all arguments are strings; notes are 2,175 characters.\n- **Build and tests:** `forge build` succeeds. `forge test` with the verifier's fuzz seed gives 112 passed, 0 failed, 15 skipped; the skipped ones are the fork suite, which needs an RPC.\n- **Deployment rehearsal:** a scratch test read the manifest's values, deployed both contracts by CREATE2 in one call, and confirmed the stored verifier, the reserve's escrow reference, `checkEscrow()`, the wallets, the token and all three splits.\n- **Treasury re-check on Mainnet:** `Intake.payTo()` returns `0x4e0fA57Bde726079356537E2F34d671E9F41ADbc`, equal to the pinned Swarm treasury, and the Intake price for the job is 0.5 IMD.\n\nI did not run the two protected checks themselves, because they need the factory environment the verifier supplies.\n\nNothing was deployed, broadcast, funded or activated. The notes also carry forward the one open decision already recorded in `docs/LAUNCH.md` (audit finding `6809aab2`, medium: the declared event count is not tied to the job body on chain).","treeHash":"64fba084321343b5dd3ee4a63e0bdedf118e1a0a","usage":{"cachedInputTokens":243338,"cost":{"source":"runtime","usdMicros":1026776},"inputTokens":14,"model":"claude-fable-5-2","outputTokens":6936,"runtime":"claude","turns":8,"wallClockMs":79034}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"759c614fdc84ff66","findings":[],"hash":"83a6721b728a40ec0808052b4b031aca1b674fba0ca30fc7e484cddb03439537","nodeId":"0ae29ce7-3194-49d7-9a94-91abbf198219","outcome":"completed","summary":"All six findings from the last round are fixed, and I found no new defects. `.imd-findings.json` has an empty findings list and a coverage row for each of the 9 entry points, all marked `holds`, plus one row for the reserve's new waiting rule.\n\n**How I checked**\n- The offline test suite passes: 167 tests across 8 suites, including both invariant suites, with 0 failures. I did not run the Mainnet fork suite.\n- I reran my earlier reproductions as a scratch Foundry test (5 tests, all passing), then deleted it.\n- The site's engine test passes 10 of 10.\n\n**The two medium findings**\n- **Reserve top-up arriving before a late report (13f34e47): fixed.** With a 15-minute deadline and a refund at t0+901, `topUp` at t0+901+1 day now reverts `GracePending`. When the report lands 60 s later, the reserve refuses with `LateReport`. An order the Swarm never answers still gets its 0.5 IMD: it is refused at t0+4 days minus 1 s and paid at exactly t0+4 days. If the refund itself is called late, the one-day wait counts from that refund. Swarm-failure (status 2) top-ups still pay straight after the refund. The contract header now states what remains: a report more than 4 days after payment can still follow a top-up.\n- **Site deadline cap (08afe707): fixed.** `deliverByFor` now caps the deadline 600 s under 3 days. With the browser clock 6 s ahead of the block, the result stays within the escrow's limit. The pinned test is updated and passes. The built `dist/` was not rebuilt, as the author said.\n\n**The four low findings**\n- **Reserve's escrow check (55cc31e8): fixed.** `checkEscrow` now also checks the developer wallets, burn address, Intake, Swarm treasury, verifier, 3-day delivery limit and all three payment splits. My fake escrow with a wrong split is now refused with `NotEscrow`, and so is a real escrow deployed with a different verifier. The real one passes, and launch.json passes the brief's verifier.\n- **Failure sent without a callback (1691d704): fixed in the docs.** The reserve header and the \"Refund reserve operations\" section of `docs/ACTIVATION.md` now state the exception. They also make sending failure args a requirement, with an alert when the escrow did not record the failure.\n- **Reserve balance stranded after a treasury migration (7c38c4c7): fixed in the docs.** The same section now says to fund the reserve in small amounts, let it run down before a planned migration, and deploy a new reserve for a new escrow.\n\nThe contract sizes are well within the limits (escrow 11,765 bytes deployed, reserve 6,464). The static-analysis warnings are about code this round did not change.\n\nOne mismatch with the author's notes: the new tests they named in `test/LaunchAdaptation.t.sol` (`test_13f3_*`, `test_55cc_*`) are not in this tree. My own scratch tests cover the same cases. Their absence doesn't affect the code, so I didn't raise it as a finding.","treeHash":null,"usage":{"cachedInputTokens":911960,"cost":{"source":"runtime","usdMicros":977528},"inputTokens":25,"model":"claude-opus-5-5","outputTokens":9214,"runtime":"claude","turns":14,"wallClockMs":156727}},{"artifacts":[],"attempt":1,"bundleHash":"8d342e47025aca0c314550b5f85114da23c181373a70429c73d3fc4e0d2a9aa5","device":"6b0a28df3d585600","findings":[],"hash":"8b67c33279c79c514880ad670e1062d73ec1dc16b9c9a035bb2262ed8bf6e61d","nodeId":"358f34d6-8594-4f92-a6b1-5a9775226027","outcome":"completed","summary":"I've updated my tests for the reserve's new top-up wait, and the suite passes: `forge build` is clean, and `forge test` with the verifier's fuzz seed gives 167 passed, 0 failed, 15 skipped. The 15 skipped are the fork tests, which skip when no RPC variable is set; this task names no fork block, so they never ran here.\n\n**What broke.** Another contributor changed when the refund reserve may top up an order that got no report. It used to wait 1 day after the refund. Now it waits 1 day after the later of the refund and 3 days after payment. My exact-second boundary test still used the old rule, so it was the one failure.\n\n**Changes, all in my own test files:**\n- **`test/ImdPicksAdversarial.t.sol`**\n  - The boundary test now follows the new rule. It checks the top-up is refused at the old moment and one second before the new one, pays at the exact second, and refuses a second top-up.\n  - New tests:\n    - a refund made more than 3 days after payment waits 1 day from the refund itself;\n    - a Swarm failure recorded after the refund makes the order eligible at once;\n    - a refusal recorded after the refund blocks the top-up for good;\n    - a 1000-run fuzz test over deadline, refund time and check time, compared against my own model of the rule.\n- **`test/ImdPicksLifecycle.invariant.t.sol`**\n  - When a no-report top-up succeeds, the handler now checks the timing against its own model rather than reading the contract's eligibility answer back.\n  - That check was never reached in 128 runs, so I added a step that jumps to within 2 seconds either side of the boundary and tries the top-up. A scratch run confirmed it is reached now.\n- **`test/ImdPicksWalletGas.t.sol`**: the top-up after the wait behaves the same at a wallet's gas as with gas to spare.\n\n**No new findings, so no `.imd-findings.json`.** One known gap stays open: the Swarm's request on the Intake (its job queue) never expires, so a report or refusal sent more than 4 days after payment can still be recorded on an order the reserve already topped up. The reserve can't take that top-up back. The contract's own comments accept this as the requester's call, because closing it would also remove the top-up for jobs the Swarm silently drops. So I didn't report it as a defect.\n\nNothing is committed.","treeHash":"d5883d11d201252fecc4b089b1cca4000d7ed7e2","usage":{"cachedInputTokens":1130093,"cost":{"source":"runtime","usdMicros":1019942},"inputTokens":38,"model":"claude-opus-5-5","outputTokens":14165,"runtime":"claude","turns":22,"wallClockMs":288858}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"9abb45864e8fdce1","findings":[{"citation":"resolved","description":"onFailure acts only on a Submitted order. Once deliverBy has passed, refund() is callable by anyone; if it runs before the Intake's failure callback lands, onFailure emits CallbackIgnored and the order keeps failStatus 0 and lateResultHash 0. ImdPicksRefundReserve.eligibility (src/ImdPicksRefundReserve.sol:113-114) then reads Intake.requests(requestId).completed == true and returns IntakeCompleted on every later call, so topUp reverts permanently. The same failure landing one transaction earlier (before refund) sets failStatus 2 and is topped up at once. Whether the customer is made whole therefore depends on the order of a permissionless call and the writer's callback, and anyone (a keeper, the customer's own UI, a griefer) calling refund first costs the customer the 0.5 IMD the reserve documents for 'every escrow order that ended in a refund because the Swarm FAILED (Intake status 2) or sent nothing within the escrow's timeout'. onResult already records a post-refund REPORT without moving funds (lines 420-427); nothing records a post-refund FAILURE, and a status-0 completion with a zero hash or empty URI after a timeout refund is dropped by the same status check (line 428). Two related states end the same way and cannot be seen by a callback at all: the verified Intake makes no failure callback when complete() is called with status != 0 and empty args (Intake.sol lines 247-253), and a callback that reverts or is starved leaves the order Submitted; both refund on timeout and are then refused as IntakeCompleted (reproduced: reason 6). The existing suite has no test of failure-after-refund followed by topUp. Minimal fix that keeps the design: in onFailure, before the Submitted check, treat `status == Refunded && reportedAt == 0 && failStatus == 0` like onResult's late branch: set reportedAt and failStatus = (status == 1 ? 1 : 2), emit OrderFailed, move no funds (and do the same for the zero-hash/empty-URI case in onResult with failStatus 3). I applied exactly that to a scratch copy: the attached proof passes and all 97 existing tests still pass. The no-callback variants need a scope decision, since the reserve cannot tell a failure completed without args from a starved result callback.","line":457,"path":"src/ImdPicksEscrow.sol","proof":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\nimport {Test} from \"forge-std/Test.sol\";\nimport {ImdPicksEscrow} from \"src/ImdPicksEscrow.sol\";\nimport {ImdPicksRefundReserve} from \"src/ImdPicksRefundReserve.sol\";\n\n/// Plain OpenZeppelin-style ERC-20, etched at the escrow's constant IMD address.\ncontract ProofToken {\n    mapping(address => uint256) public balanceOf;\n    mapping(address => mapping(address => uint256)) public allowance;\n\n    function mint(address to, uint256 v) external {\n        balanceOf[to] += v;\n    }\n\n    function approve(address s, uint256 v) external returns (bool) {\n        allowance[msg.sender][s] = v;\n        return true;\n    }\n\n    function transfer(address to, uint256 v) external returns (bool) {\n        balanceOf[msg.sender] -= v;\n        balanceOf[to] += v;\n        return true;\n    }\n\n    function transferFrom(address f, address to, uint256 v) external returns (bool) {\n        allowance[f][msg.sender] -= v;\n        balanceOf[f] -= v;\n        balanceOf[to] += v;\n        return true;\n    }\n}\n\n/// The request/complete paths of the verified Intake v2 (0xa43e...DE82), etched at the escrow's constant INTAKE address.\ncontract ProofIntake {\n    struct Callback {\n        address target;\n        bytes4 selector;\n    }\n\n    struct Request {\n        address payer;\n        address callbackTarget;\n        bytes4 callbackSelector;\n        bool completed;\n    }\n\n    address public payTo;\n    address public writer;\n    uint64 public callbackGas;\n    uint256 public nonce;\n    mapping(bytes32 => mapping(address => uint256)) public priceOf;\n    mapping(bytes32 => Request) public requests;\n    mapping(bytes32 => bytes4) public failureSelectorOf;\n\n    function init(address payTo_, address writer_, bytes32 action, address asset, uint256 price) external {\n        payTo = payTo_;\n        writer = writer_;\n        callbackGas = 200_000;\n        priceOf[action][asset] = price;\n    }\n\n    function requestWithFailure(bytes32 action, bytes calldata body, Callback calldata cb, bytes4 onFailure, address asset, uint256 amount)\n        external\n        payable\n        returns (bytes32 requestId)\n    {\n        uint256 price = priceOf[action][asset];\n        require(price != 0 && amount >= price && body.length != 0, \"request\");\n        requestId = keccak256(abi.encode(block.chainid, address(this), ++nonce));\n        requests[requestId] = Request(msg.sender, cb.target, cb.selector, false);\n        if (onFailure != bytes4(0)) failureSelectorOf[requestId] = onFailure;\n        require(ProofToken(asset).transferFrom(msg.sender, payTo, amount), \"collect\");\n    }\n\n    function complete(bytes32 requestId, uint8 status, bytes32, string calldata, bytes calldata args) external {\n        require(msg.sender == writer, \"writer\");\n        Request storage s = requests[requestId];\n        require(s.payer != address(0) && !s.completed, \"state\");\n        s.completed = true;\n        bytes4 selector = s.callbackSelector;\n        if (status != 0) {\n            selector = failureSelectorOf[requestId];\n            if (selector != bytes4(0) && args.length != 0) {\n                require(args.length >= 64 && bytes32(args[0:32]) == requestId && uint256(bytes32(args[32:64])) == status, \"args\");\n            } else {\n                selector = bytes4(0);\n            }\n        }\n        if ((status == 0 || selector != bytes4(0)) && s.callbackTarget != address(0)) {\n            (bool ok,) = s.callbackTarget.call{gas: callbackGas}(bytes.concat(selector, args));\n            ok;\n        }\n    }\n}\n\n/// A Swarm failure (Intake status 2) that is reported after the order's deadline is topped up by the reserve\n/// only if the failure callback happens to land before anyone calls the permissionless `refund`. If `refund`\n/// runs first, `onFailure` ignores the callback, the order keeps failStatus 0, and the reserve then reads the\n/// Intake's `completed == true` as \"a report was delivered\" and refuses the top-up for good.\ncontract PostRefundFailureTopUpProof is Test {\n    address internal constant TREASURY = 0x4e0fA57Bde726079356537E2F34d671E9F41ADbc;\n    address internal constant WRITER = address(0x3217E2);\n    address internal constant VERIFIER = address(0x7E21F1E2);\n    address internal constant ALICE = address(0xA11CE);\n    address internal constant KEEPER = address(0xBEEF);\n    bytes internal constant BODY = bytes('{\"objective\":\"IMD PICKS analysis\",\"events\":[{\"label\":\"A vs B\"}]}');\n\n    ImdPicksEscrow internal esc;\n    ImdPicksRefundReserve internal reserve;\n    ProofToken internal imd;\n    ProofIntake internal intake;\n\n    function setUp() public {\n        vm.warp(1_800_000_000);\n        esc = new ImdPicksEscrow(VERIFIER);\n        vm.etch(address(esc.IMD()), address(new ProofToken()).code);\n        vm.etch(address(esc.INTAKE()), address(new ProofIntake()).code);\n        imd = ProofToken(address(esc.IMD()));\n        intake = ProofIntake(address(esc.INTAKE()));\n        intake.init(TREASURY, WRITER, esc.ACTION(), address(imd), 5e17);\n        reserve = new ImdPicksRefundReserve(address(esc));\n        imd.mint(ALICE, 1e18);\n        imd.mint(address(reserve), 10e18); // a funded reserve (direct transfers count as reserve)\n    }\n\n    function _payOneEvent() internal returns (bytes32 orderId, bytes32 requestId, uint256 deliverBy) {\n        deliverBy = block.timestamp + 1 hours;\n        vm.startPrank(ALICE);\n        imd.approve(address(esc), 1e18);\n        (orderId, requestId) = esc.pay(\"order-1\", 1, uint40(deliverBy), 1e18, BODY);\n        vm.stopPrank();\n    }\n\n    function _swarmFails(bytes32 requestId) internal {\n        vm.prank(WRITER);\n        intake.complete(requestId, 2, bytes32(0), \"\", abi.encode(requestId, uint256(2), bytes32(\"job-failed\"), uint16(0), uint16(0), bytes(\"\")));\n    }\n\n    /// Control (passes today): the failure callback lands one second after the deadline, BEFORE refund.\n    function test_control_failureReportedBeforeRefund_isToppedUp() public {\n        (bytes32 orderId, bytes32 requestId, uint256 deliverBy) = _payOneEvent();\n        vm.warp(deliverBy + 1);\n        _swarmFails(requestId);\n        vm.prank(KEEPER);\n        esc.refund(orderId);\n        vm.warp(deliverBy + 1 + 1 days + 1);\n        reserve.topUp(orderId);\n        assertEq(imd.balanceOf(ALICE), 1e18, \"customer made whole: 0.5 escrow + 0.5 reserve\");\n    }\n\n    /// Fails today: the same failure, the same second, but `refund` (callable by anyone) ran first.\n    function test_failureReportedAfterTimeoutRefund_isStillToppedUp() public {\n        (bytes32 orderId, bytes32 requestId, uint256 deliverBy) = _payOneEvent();\n        vm.warp(deliverBy + 1);\n        vm.prank(KEEPER);\n        esc.refund(orderId); // timeout refund: 0.5 IMD back to ALICE\n        _swarmFails(requestId); // Intake status 2: the Swarm produced no report\n        assertEq(imd.balanceOf(ALICE), 5e17, \"escrowed remainder refunded\");\n        assertEq(uint256(esc.getOrder(orderId).lateResultHash), 0, \"no report was ever delivered\");\n\n        vm.warp(deliverBy + 1 + 1 days + 1); // TOPUP_GRACE over\n        (ImdPicksRefundReserve.Ineligible why,) = reserve.eligibility(orderId);\n        assertEq(uint256(why), uint256(ImdPicksRefundReserve.Ineligible.None), \"a failed, refunded order must be eligible for the top-up\");\n        reserve.topUp(orderId);\n        assertEq(imd.balanceOf(ALICE), 1e18, \"customer made whole: 0.5 escrow + 0.5 reserve\");\n    }\n}","reproduction":"Mocks: a plain ERC-20 at IMD, the verified Intake v2 request/complete logic at INTAKE, price 0.5 IMD, reserve holding 10 IMD, block.timestamp T = 1,800,000,000. (1) ALICE approves 1e18 and calls pay(\"order-1\", 1, T+3600, 1e18, BODY): treasury +0.5, escrow holds 0.5. (2) warp to T+3601. (3) Any address calls refund(orderId): ALICE gets 0.5 IMD back, status Refunded, failStatus 0. (4) The Intake writer calls complete(requestId, 2, 0x0, \"\", abi.encode(requestId, 2, \"job-failed\", 0, 0, \"\")): the escrow emits CallbackIgnored, nothing is recorded. (5) warp past T+3601+1 day. Expected: reserve.eligibility(orderId) == None and topUp pays ALICE 0.5 IMD (total 1 IMD back), exactly as it does when step 4 precedes step 3 (control test in the same file passes). Actual: eligibility returns (IntakeCompleted = 6), topUp reverts NotEligible(6) forever; ALICE is out 0.5 IMD. Run: forge test --match-path test/scratch/PostRefundFailureTopUp.t.sol -> test_failureReportedAfterTimeoutRefund_isStillToppedUp FAILS with 'a failed, refunded order must be eligible for the top-up: 6 != 0'.","severity":"medium","snippet":"if (orderId == bytes32(0) || o.requestId != requestId || o.status != Status.Submitted || !_completedByIntake(requestId)) {","title":"A Swarm failure reported after a timeout refund is ignored, and the reserve then refuses the 0.5 IMD top-up for good"},{"citation":"resolved","description":"deliverBy is a free argument of pay(), bounded only to [now + 10 minutes, now + 3 days]. Nothing ties it to the events' start times or to how long the Swarm needs. A result that arrives after deliverBy is recorded as Late (line 440-445): the report hash is stored, the URI is emitted in OrderDeliveredLate ('kept for the customer, labelled late', line 168) and in the Intake's Completed event, and the entire escrowed remainder (0.5 / 1.0 / 1.5 IMD) is refundable to the payer; settle can never run. The project's own latency model (web/src/engine/deadline.ts, TIERS) targets 20 / 30 / 45 minutes of lead for 1-3 / 4-7 / 8-14 events with 60 / 75 / 90 minute fallbacks, so a delivery inside 10 minutes is not expected for any tier. The site computes an honest deliverBy, but pay() is public: a customer who calls it directly with deliverBy = block.timestamp + 600 receives the full analysis and is refunded everything except the 0.5 IMD Swarm share. The price tiers, the burn and both developer shares are then optional for every customer, at no cost and repeatably. Late-report refunds are an intended V8 customer protection, so this is not fixed by removing them; what is missing is a floor the payer cannot undercut. Options that keep the design: a per-tier minimum window at least as long as the Swarm's delivery time for that tier (the 10-minute constant is below all three targets), or binding the deadline to data the payer does not control. Any constant floor still leaves the residual case where the Swarm is slower than the floor; say which is accepted.","line":302,"path":"src/ImdPicksEscrow.sol","reproduction":"Project mocks (test/utils/Fixture.sol), T = 1,800,000,000, ALICE holds 100 IMD. (1) ALICE approves 2e18 and calls pay(\"x\", 14, uint40(T + 600), 2e18, BODY). (2) warp to T + 601. (3) Writer calls Intake.complete(requestId, 0, keccak256(\"report\"), \"ipfs://bafyreport\", abi.encode(requestId, keccak256(\"report\"), \"ipfs://bafyreport\")): order status 6 (Late), lateResultHash == keccak256(\"report\"), OrderDeliveredLate carries the URI. (4) BOB calls refund(orderId). Expected for a delivered 14-event analysis: burn 0.75 IMD, WALLET_1 0.375, WALLET_2 0.375, payer cost 2 IMD. Actual (measured in a scratch test): ALICE net cost 500000000000000000 wei (0.5 IMD), totalBurned 0, WALLET_1 balance 0, WALLET_2 balance 0, Swarm treasury +0.5 IMD.","severity":"medium","snippet":"if (deliverBy < block.timestamp + MIN_DELIVERY_WINDOW || deliverBy > block.timestamp + MAX_DELIVERY_WINDOW) {","title":"The payer chooses the deadline: with the 10-minute floor a report that lands one second late refunds the whole escrow, so any tier costs 0.5 IMD and burn and developers get nothing"},{"citation":"resolved","description":"pay() prices the order from the `events` argument alone and forwards `body` to the Intake unread (only its length is checked, _checkBody). The Intake's price is flat (0.5 IMD for a job of up to 14 events), so the Swarm works on whatever the body lists. A payer who declares events = 1 with a body listing 14 events is charged 1 IMD instead of 2 IMD. If the verifier attests the delivery, settle pays burn 0.25 and 0.125 to each developer instead of 0.75 and 0.375 each: 1 IMD short per order, split across burn and both wallets. If the verifier's indexer rejects it instead (web/src/engine/report.ts completenessErrors: 'the purchased request lists N events but the order is for M' -> web/server/indexer.ts:353 rejectDelivery), the order refunds and the payer has paid only the 0.5 IMD Swarm share for a report whose URI is already public in the Intake's Completed event (and see the reserve finding: with a funded reserve the payer's cost is zero). Either way '5-9 events: 1.5 IMD, 10-14 events: 2 IMD' is not enforced on chain; the invariant 'totalPaid is exactly priceFor(events) per order' holds only for the declared number. The contract cannot parse JSON, so a fix is a design choice: have pay() take the purchased events as a fixed-shape list (for example an array of event ids or lines) from which it derives both the count and the body or its hash, so events == list length by construction; or keep the body opaque and make a count mismatch settle rather than refund, which changes what a rejection means and needs the requester's decision.","line":299,"path":"src/ImdPicksEscrow.sol","reproduction":"Project mocks, T = 1,800,000,000. (1) ALICE approves 1e18 and calls pay(\"y\", 1, uint40(T + 3600), 1e18, body) with body = {\"objective\":\"IMD PICKS analysis\",\"events\":[{\"l\":\"1\"},{\"l\":\"2\"}, ... ,{\"l\":\"14\"}]} (14 entries). Expected: revert, or a charge of priceFor(14) = 2e18. Actual: the call succeeds, getOrder(orderId).price == 1000000000000000000, events == 1, and the Intake's Requested event carries the 14-event body for 0.5 IMD. (2) Writer delivers on time and the verifier attests: settle sends 0.25 IMD to BURN and 0.125 IMD to each wallet (expected for 14 events: 0.75 and 0.375 each). (2') Or the verifier rejects as the indexer does: refund returns 0.5 IMD and ALICE's total cost for the 14-event report is 0.5 IMD.","severity":"medium","snippet":"uint256 price = priceFor(events); // reverts BadEventCount outside 1..14","title":"The tier is whatever the payer declares: `events` is never tied to the job body, so a 14-event job is accepted at the 1-event price"},{"citation":"resolved","description":"Every refunded order with failStatus >= 2 is eligible at once, with no grace period and no check that a report exists. failStatus 3 is set in three places: an empty result from the Intake, rejectDelivery by the verifier (src/ImdPicksEscrow.sol:400), and refund() of a delivery the verifier did not attest within 6 hours (src/ImdPicksEscrow.sol:342). In the last two the Swarm DID deliver on time: resultHash is stored and the URI was emitted in OrderDelivered. The reserve's own header refuses refusals because 'a caller could otherwise pay with a deliberately invalid body and move reserve IMD to the Swarm treasury for the price of gas'; the same move works through failStatus 3. The off-chain verifier rejects whenever the committed body and the order disagree (report.ts completenessErrors: event count differs from `events`, or the body lists an event twice), and both are fully under the payer's control because pay() does not read the body. Each such order costs the payer only gas (0.5 back from escrow, 0.5 from the reserve), hands them the report, and moves 0.5 IMD of reserve to the Swarm treasury; N orders empty a reserve of N/2 IMD, after which honest customers' topUp reverts ReserveTooLow. A verifier that is merely offline for 6 hours has the same effect for every delivery in flight, in contrast to a late report, which the reserve refuses precisely because 'the customer holds it'. The brief says not to fund the reserve at launch, so nothing is at risk until it is funded. Fix needs a small design decision: let the escrow tell these cases apart (for example a distinct failStatus for a verifier rejection and for an unattested delivery) and have the reserve refuse orders whose report was delivered (resultHash != 0), or keep them eligible only for causes the payer cannot trigger.","line":110,"path":"src/ImdPicksRefundReserve.sol","reproduction":"Project mocks, reserve holds 10 IMD, T = 1,800,000,000. (1) ALICE approves 1e18 and calls pay(\"y\", 1, uint40(T + 3600), 1e18, <body listing 14 events>). (2) Writer completes with status 0, a non-zero hash and a URI: status Delivered, OrderDelivered emits the URI. (3) VERIFIER calls rejectDelivery(orderId, \"report-schema-invalid\") (what indexer.ts:353 sends for a count mismatch). (4) Anyone calls escrow.refund(orderId): ALICE +0.5 IMD. (5) Anyone calls reserve.topUp(orderId): ALICE +0.5 IMD, no waiting. Expected: a payer-caused rejection of a delivered report is not made whole from the reserve. Actual (measured): ALICE net cost 0 wei, reserve balance -500000000000000000, Swarm treasury +500000000000000000; 20 repetitions empty the 10 IMD reserve. Variant without the verifier acting: after step 2 warp 6 hours + 1 second, refund (failStatus 3), topUp: same balances, and the on-time report stays with the payer.","severity":"medium","snippet":"if (o.failStatus >= 2) return (Ineligible.None, o.payer); // Swarm failure or unverifiable artifact","title":"The reserve tops up outcomes the payer can cause: a verifier rejection or an unattested delivery returns 100% of the price while the payer keeps the report, draining the reserve to the Swarm treasury"},{"citation":"resolved","description":"pay() reverts whenever the Intake's price for job.open@job-1 in IMD is 0 or above 0.5 IMD (this line) or Intake.payTo() differs from the pinned SWARM_TREASURY (line 490). Both are set by the Intake owner (setPrice, setPayTo; owner() is 0x047F606fD5b2BaA5f5C6c4aB8958E45CB6B054B7 on Mainnet, also the IMD token's owner). The escrow has no setter, so one such transaction stops every new order until a new escrow is deployed; the contract comment at lines 65-70 says so. The same owner can also lower callbackGas so that every callback is starved: orders then time out and refund without a reserve top-up. Escrowed funds are not at risk: refund and settle never call the Intake. Listed because the brief asks to 'preserve non-pausable architecture' and 'no pausing'; the escrow itself has no pause, but its intake side is pausable by a third party. This is a trust assumption of the agreed design (it is what keeps the Swarm share from being redirected), not something to remove silently.","line":488,"path":"src/ImdPicksEscrow.sol","reproduction":"State: Intake owner calls setPrice(bytes32(\"job.open@job-1\"), IMD, 5e17 + 1). Then ALICE approves 1e18 and calls pay(\"z\", 1, now + 3600, 1e18, BODY). Expected under a non-pausable design: the payment goes through. Actual: revert IntakePriceAboveShare(500000000000000001), for every caller, until the owner changes the price back (reproduced with the project mock; setPayTo(any other address) gives SwarmTreasuryChanged, which the project's own test_fork_V10_1_pinnedTreasury_and_payToChange_reverts shows against the live Intake).","severity":"low","snippet":"if (price == 0 || price > share) revert IntakePriceAboveShare(price);","title":"New payments can be halted indefinitely by the Intake's owner, an address outside this launch"},{"citation":"resolved","description":"setUp returns early without a fork and every test starts with `if (!on) return;`, so an offline `forge test` prints 11 passing fork tests that executed no assertion. The offline result '97 tests passed' therefore contains 86 real tests; the checks against the real IMD token and the real Intake (treasury pin, exact balance deltas, callback stipend, reserve full refund) are not part of it. A reader of the test results cannot tell the difference. I ran them for real against Mainnet state at block 26,517,576 and all 11 pass, so the code is fine; the reporting is not. Fix: skip visibly (vm.skip(true)) or keep the fork suite out of the default run.","line":29,"path":"test/ImdPicksEscrow.fork.t.sol","reproduction":"Run `forge test --match-path test/ImdPicksEscrow.fork.t.sol` with FORK_URL unset. Expected: 11 skipped (or the suite not run). Actual: 'Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 18.00ms' with zero RPC calls. With FORK_URL pointing at an Ethereum Mainnet RPC (the script's default is https://ethereum-rpc.publicnode.com) the same 11 tests take about 2 seconds and pass.","severity":"low","snippet":"if (bytes(url).length == 0) return;","title":"The 11 fork tests report PASS without running when FORK_URL is unset"},{"citation":"resolved","description":"The repository carries two byte-identical source trees (src/ and contracts/src/, likewise test/ and script/). The root foundry.toml sets bytecode_hash = \"none\"; contracts/ has no foundry.toml and its scripts set only compiler version, EVM version and optimizer through the environment, so they compile with the default IPFS metadata hash. The brief requires the root configuration including bytecode_hash = \"none\": bytecode produced or verified through contracts/deploy.sh will not match the audited root build. The same script defaults DEPLOY_REFUND_RESERVE to 0 (line 19) while the brief asks for both contracts, and script/Deploy.s.sol:42 accepts any non-zero VERIFIER_ADDRESS without comparing it to the brief's 0x3322e6dd06ade8377f1f1bcb766f6133d7b64d69, which appears nowhere in the repository. The duplicate tree also means a fix applied to src/ leaves contracts/src/ stale. For the adapter: build from the root only, pass the verifier as the brief's static address, list the escrow before the reserve.","line":18,"path":"contracts/deploy.sh","reproduction":"Build both ways with solc 0.8.28, cancun, optimizer 200. Root (`forge build`): ImdPicksEscrow runtime 11,201 bytes ending ...a164736f6c634300081c000a; ImdPicksRefundReserve 3,803 bytes. `forge build --root contracts` with the environment of contracts/deploy.sh: ImdPicksEscrow 11,242 bytes ending ...64736f6c634300081c0033 (IPFS metadata appended); ImdPicksRefundReserve 3,844 bytes. Expected: identical bytecode to the root configuration. Actual: 41 extra bytes and a different creation hash for each contract.","severity":"low","snippet":"export FOUNDRY_SOLC_VERSION=\"${FOUNDRY_SOLC:-0.8.28}\" FOUNDRY_EVM_VERSION=cancun FOUNDRY_OPTIMIZER=true FOUNDRY_OPTIMIZER_RUNS=200","title":"contracts/deploy.sh and test.sh build different bytecode from the root configuration (no bytecode_hash = \"none\"), deploy the reserve only on request and take the verifier from the environment"},{"citation":"resolved","description":"READ IN FULL: src/ImdPicksEscrow.sol (536 lines), src/ImdPicksRefundReserve.sol (153), src/Interfaces.sol (39), script/Deploy.s.sol (80), test/utils/{Base,Fixture,Mocks}.sol, contracts/deploy.sh, contracts/test.sh; contracts/{src,test,script} are byte-identical copies (diff -r). From verified source (Etherscan API V2, api.etherscan.io): the Intake 0xa43e6F75ee006411F79Ac1C84120606C2330DE82 (src/Intake.sol, all 322 lines; the project's MockIntake matches its request/complete logic) and the IMD token's top contract BridgedFP (plain LayerZero OFT / OpenZeppelin ERC-20 with owner-settable name and symbol; no fee, pause or blacklist). READ IN PART: web/server/indexer.ts and web/src/engine/{report,deadline}.ts only for the verifier's attest/reject rule and the latency model; the four test files only for coverage. NOT REACHED: the inherited LayerZero OFT/OApp and OpenZeppelin sources of the token (owner, peer and bridge-mint powers of the token owner 0x047F606fD5b2BaA5f5C6c4aB8958E45CB6B054B7 were not reviewed); the EIP-7702 delegate contracts behind the verifier and both developer wallets; the rest of web/, dist/ and the live website; launch.json (none exists yet). No helpers ran: the twelve Pashov specialties were my own passes over the nine state-changing entry points (escrow pay, refund, settle, verifyDelivery, rejectDelivery, onResult, onFailure; reserve fund, topUp) and both constructors. No critical or high defect was found in the escrow's custody or accounting; a clean pass is not proof of absence. TESTS RUN: offline 97/97 pass (70 escrow unit and fuzz at 1,000 runs, 15 reserve, 1 invariant at 128 runs x 60 depth with 0 reverts, 11 fork tests that do not execute offline); the 11 fork tests pass for real against Mainnet state at block 26,517,576. The committed contracts/abi/ImdPicksEscrow.json equals the compiled ABI (77 entries); no ABI file exists for the reserve. ON-CHAIN (chain 1, block 26,517,576, source https://ethereum-rpc.publicnode.com as named by the project): Intake.payTo() = 0x4e0fA57Bde726079356537E2F34d671E9F41ADbc = SWARM_TREASURY (an EOA, no code); priceOf(job.open@job-1, IMD) = 5e17; callbackGas = 200,000; writer = 0x3d3C0Df7C1a17d384545e9D7C8228897bD9625CB; IMD decimals 18, symbol IMD, EIP-1967 implementation slot empty (not a proxy). The verifier 0x3322e6dd06ade8377f1f1bcb766f6133d7b64d69 and both developer wallets are EOAs carrying EIP-7702 delegation code (23 bytes, 0xef0100...; the verifier delegates to 0x63c0c19a282a1b52b07dd5a65b58948a07dae32b): ERC-20 receipts are unaffected, but calls with msg.sender == VERIFIER can be originated by whatever that delegate contract authorises, not only by a transaction signed with the key. LAUNCH-FORBIDDEN FEATURES: none found. No mint, pause, freeze, blacklist or seizure; no DELEGATECALL, CALLCODE or SELFDESTRUCT in source or in reachable runtime opcodes; no proxy, initializer or post-deployment setter; no owner. Constructors are nonpayable with one address each; the reserve's constructor requires code at the escrow and reads its pure getters, so the escrow must be deployed first in the same launch. Runtime 11,201 and 3,803 bytes. TRUST ASSUMPTIONS (design, not defects): the immutable verifier can attest a worthless report (escrow settles to the fixed recipients) or reject or ignore a good one (escrow refunds; after 6 hours of silence every delivery refunds and no burn or reward is ever paid), and it cannot be rotated; the Intake writer decides every outcome before verification; the Intake owner sets price, payTo, writer and callbackGas. Nothing was deployed, broadcast or funded by this review.","line":71,"path":"src/ImdPicksEscrow.sol","reproduction":"No failing input: this entry records scope. To re-check the pinned treasury: eth_call Intake(0xa43e6F75ee006411F79Ac1C84120606C2330DE82).payTo() on Ethereum Mainnet returns 0x4e0fA57Bde726079356537E2F34d671E9F41ADbc, equal to the constant on this line; priceOf(0x6a6f622e6f70656e406a6f622d31000000000000000000000000000000000000, 0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7) returns 500000000000000000; eth_getCode(0x3322e6dd06ade8377f1f1bcb766f6133d7b64d69) returns 0xef010063c0c19a282a1b52b07dd5a65b58948a07dae32b.","severity":"info","snippet":"address public constant SWARM_TREASURY = 0x4e0fA57Bde726079356537E2F34d671E9F41ADbc;","title":"Coverage, on-chain checks and trust assumptions: what was read, what was not reached, and what the launch forbids"}],"hash":"9b771803f3ba1c0b8d88e8e418504fcce36b421ca4ad3c0e6bc3798f72f80e6b","nodeId":"46d76330-487a-4db0-9f3d-56ea8be690f5","outcome":"completed","summary":"The review is complete: `.imd-findings.json` holds 8 findings (4 medium, 3 low, 1 info) and no tracked file was changed. I found no critical or high defect in the escrow's custody or accounting. Nothing was deployed, broadcast or funded.\n\nEvery reproduction below was run in a scratch test, and the numbers are the measured ones.\n\n**Medium**\n\n1. **A Swarm failure reported after a timeout refund loses the customer the 0.5 IMD top-up** (`src/ImdPicksEscrow.sol:457`). If anyone calls `refund` before the Intake's failure callback lands, `onFailure` ignores it and the reserve then refuses the order permanently. The same failure landing one transaction earlier is topped up. This is the one finding with a proof attached: it fails on the current code and passes with a small fix in `onFailure`, with the existing tests still green.\n2. **The payer chooses the deadline, and the floor is 10 minutes** (`src/ImdPicksEscrow.sol:302`). A 14-event order with `deliverBy = now + 600`, delivered one second late, refunds 1.5 IMD. The payer's cost is 0.5 IMD, burn and both developer wallets get 0, and the report URI is still emitted. The project's own latency model targets 20–45 minutes.\n3. **The tier is whatever the payer declares** (`src/ImdPicksEscrow.sol:299`). `pay` with `events = 1` and a body listing 14 events is accepted at 1 IMD; settlement pays 0.25 burn and 0.125 to each wallet instead of 0.75 and 0.375.\n4. **The reserve tops up outcomes the payer can cause** (`src/ImdPicksRefundReserve.sol:110`). A verifier rejection, or a delivery left unattested for 6 hours, returns the full price while the payer keeps the report. Measured: payer cost 0, reserve −0.5 IMD per order. Nothing is at risk until the reserve is funded.\n\nFindings 2–4 need a design decision from the requester rather than a mechanical fix; each entry states the options.\n\n**Low**\n\n5. The Intake owner can halt every new payment by changing price or `payTo` (`src/ImdPicksEscrow.sol:488`). This is a trust assumption of the pinned-treasury design, listed against the brief's \"non-pausable\" line.\n6. The 11 fork tests report PASS without running when `FORK_URL` is unset (`test/ImdPicksEscrow.fork.t.sol:29`). I ran them against Mainnet state and all 11 pass.\n7. `contracts/deploy.sh` builds without `bytecode_hash = \"none\"` (11,242 bytes against the root build's 11,201). It also leaves the reserve off by default and takes the verifier from the environment (`contracts/deploy.sh:18`).\n\n**Info: coverage and pre-deployment checks**\n\n- **Read in full:** both contracts, the interfaces, the deploy script, the test utilities, and the Intake's verified source.\n- **Not reached:** the token's inherited LayerZero and OpenZeppelin code, the EIP-7702 delegate contracts, most of `web/`, and the live site. No `launch.json` exists yet.\n- **Tests:** 97 of 97 pass offline, of which 86 actually execute.\n- **Treasury:** on Mainnet at block 26,517,576, `Intake.payTo()` equals the pinned treasury `0x4e0fA57Bde726079356537E2F34d671E9F41ADbc`, and the Intake price is 0.5 IMD.\n- **Verifier and wallets:** the verifier and both developer wallets are EOAs carrying EIP-7702 delegation code, so calls from the verifier address can originate from whatever its delegate contract authorises.\n- **Launch-forbidden features:** none found — no mint, pause, proxy, owner, `DELEGATECALL` or `SELFDESTRUCT`.\n\nThe proof is at `test/scratch/PostRefundFailureTopUp.t.sol`; running it needs forge-std, which the repository does not vendor — I used a copy outside the repo.","treeHash":null,"usage":{"cachedInputTokens":1524348,"chain":[{"calls":111,"chainId":1,"failed":0,"own":94,"public":0,"refused":17}],"cost":{"source":"runtime","usdMicros":4864531},"inputTokens":34,"model":"claude-fable-5-2","outputTokens":57653,"runtime":"claude","turns":19,"wallClockMs":618226}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"382ebcfad965e0cd","findings":[{"citation":"resolved","description":"The live Intake's complete() sets selector = 0 for any status != 0 when args.length == 0, so no onFailure callback reaches the escrow; the order stays Submitted with failStatus 0. After deliverBy it is timeout-refunded, and eligibility() then reaches the Intake-completed check and returns IntakeCompleted. The reserve cannot tell a failed job from a delivered one whose callback reverted, because the Intake keeps status only in its Completed event. A genuine Swarm failure (status 2) therefore costs the customer the 0.5 IMD Swarm share. The contract header says 'for every escrow order that ended in a refund because the Swarm FAILED (Intake status 2) ... topUp pays the order's payer the missing Swarm share'. This only happens when the writer sends empty args. That is the writer's choice, so the impact depends on writer behaviour: severity low.","line":129,"path":"src/ImdPicksRefundReserve.sol","reproduction":"MockIntake fixture (it mirrors the live Intake's complete(), which was checked against the Sourcify source): the reserve is funded 1e18; ALICE calls pay(...) and gets orderId/requestId; WRITER calls intake.complete(requestId, 2, 0x0, \"\", \"\"). The escrow order stays status 1 (Submitted). Warp to deliverBy+1 and call esc.refund(orderId): ALICE gets the 0.5 IMD escrow. Warp +1 day: rr.eligibility(orderId) returns IntakeCompleted (6), so topUp reverts NotEligible(6). Expected for a Swarm failure: Ineligible.None and a 0.5 IMD top-up. Actual: refused, and ALICE recovers only 0.5 of the 1 IMD paid. A scratch test confirming this passed locally. Fix options: require the writer always to send (requestId,status) args on failure (an operational rule, plus an indexer check), or document that a failure without args is treated like a completed request.","severity":"low","snippet":"        (,,, bool completed) = IIntake(address(ESCROW.INTAKE())).requests(o.requestId);\n        if (completed) return (Ineligible.IntakeCompleted, o.payer);","title":"Swarm failure completed with empty args is refused a reserve top-up (IntakeCompleted), contrary to the reserve's stated status-2 guarantee"}],"hash":"c1202d90355eefd98667e27d3e51f1d8e41b77a914f795b2d67c235396cf07db","nodeId":"9fda5b80-f057-47f3-ab5b-9783ffe02bab","outcome":"completed","summary":"I found one low-severity defect in my area and nothing critical or high. The findings and a coverage row for every entry point are in `.imd-findings.json`. No repository files were changed.\n\n**Finding 1 (low): a Swarm failure is refused its top-up when the writer sends no arguments.** The code is `src/ImdPicksRefundReserve.sol:129`.\n- **Cause:** the live Intake sends no failure callback when a failure is completed with empty `args`, so the escrow order stays Submitted.\n- **Result:** after `deliverBy` the order gets a timeout refund. A day later `eligibility()` returns `IntakeCompleted`, so `topUp` reverts. The customer gets back 0.5 of the 1 IMD paid.\n- **Expected:** the reserve's own header promises a top-up for status-2 failures.\n- **Reproduction:**\n  1. `pay(...)`.\n  2. The writer calls `complete(requestId, 2, 0x0, \"\", \"\")`.\n  3. Wait until after `deliverBy` and call `refund(orderId)`.\n  4. Wait one more day and call `topUp(orderId)`: it reverts `NotEligible(IntakeCompleted)`.\n\n  I confirmed this with a scratch test and then deleted it.\n- **Why low:** it only happens if the writer sends empty arguments. The fix is a rule that the writer always sends `(requestId, status)` on failure, or documenting this behaviour.\n\n**Coverage:** `topUp` is marked as finding 1. The other eight entry points hold, and so does the rule that settle and refund can never both apply to one order:\n- **Order states:** I traced every transition, including the exact time limits at `deliverBy` and at the 6-hour verify window. Settle, verify and refund can never compete for the same order.\n- **Callbacks:** `onResult` and `onFailure` only act on requests this escrow opened and the Intake has completed. I read the live Intake source on Sourcify. It reverts `complete()` when there is too little gas left for the callback, so a writer cannot silently starve it. That lead is closed.\n- **Reentrancy:** I rejected the slither reentrancy warnings. The only token is IMD, which has no transfer hooks; the Intake address is fixed; state is final before any transfer; and every function that moves funds has the reentrancy guard.\n\n**Leads not reported:**\n- The declared event count is not tied to the job body. This is already known as `6809aab2` and is still an open decision for you.\n- A writer error could mark a different completed request as Delivered. The verifier's artifact check would still catch it.\n\n**Tests:** `forge test --offline` gave 112 passed, 0 failed, 15 skipped. The 15 skipped are the mainnet fork tests, which I didn't run because no RPC was used.\n\n`git status` lists untracked files at the repository root that I didn't create, such as `.bashrc`, `.claude/` and `.mcp.json`. I left them alone, but they could get a submission rejected if they are packaged with it.","treeHash":null,"usage":{"cachedInputTokens":821723,"cost":{"source":"runtime","usdMicros":1126138},"inputTokens":25,"model":"claude-opus-5-5","outputTokens":17043,"runtime":"claude","turns":15,"wallClockMs":201010}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"9c6767b941fcfedc","findings":[{"citation":"resolved","description":"Merged from three specialist reports of one root cause (write_foundry_tests b20e0b7f low, audit_math f76a4af6 low, audit_economics 0f55a128 medium); kept at medium because reserve IMD is paid out against the reserve's own stated rule and the contract cannot be changed after deployment. For a no-report timeout refund, eligibility() treats two non-final facts as final: TOPUP_GRACE (1 day) counted from finalizedAt, and Intake.requests(requestId).completed == false at the moment topUp runs. finalizedAt is set by the permissionless refund, which opens one second after deliverBy, and deliverBy is chosen by the payer down to minDeliveryWindowFor(events) = 15 minutes after payment (src/ImdPicksEscrow.sol:332), although the escrow itself accepts deliveries up to MAX_DELIVERY_WINDOW = 3 days after payment. The live Intake (Sourcify source of 0xa43e6F75...DE82, read for this review) has no expiry on complete(), so its writer can complete the request at any later time; ImdPicksEscrow.onResult (line 453) then writes lateResultHash and emits OrderDeliveredLate(afterRefund = true), and onFailure (line 501) writes failStatus 1 for a refusal, on an order the reserve has already paid. The reserve has no way back. Result: the payer holds the report (its URI is public in the events) and 100% of the price; the reserve is 0.5 IMD poorer for a job the Swarm treasury was paid for and did deliver; the same order with the two calls swapped is refused (NotEligible(LateReport) or Refused). This contradicts the reserve header, lines 25-28: 'a late report (... before or after the timeout refund) is not topped up' and 'a report that is merely slow cannot also collect the full refund'. The condition is a Swarm delivery later than deliverBy + 24 h (a backlog or outage longer than a day, which affects every open short-deadline order at once); I found no way for a payer to force that delay, and the loss is bounded at 0.5 IMD per affected order. The suite does not see it: the invariant handler checks 'no top-up for a report or refusal' only at the moment topUp runs, never after a later deliver/fail on a topped-up order. Fix that keeps prices, recipients and the escrow unchanged: count the grace from the escrow's own outer bound, e.g. require block.timestamp >= uint256(o.submittedAt) + ESCROW.MAX_DELIVERY_WINDOW() + TOPUP_GRACE for the no-outcome branch (failStatus >= 2 top-ups are unaffected), so a payer-shortened deadline no longer shortens the wait, and reword lines 25-28 to say what remains: because Intake requests never expire, a report later than that bound can still follow a top-up. Closing it completely (top up only on a recorded failure) removes the full refund for jobs the Swarm silently drops and is a scope decision for the requester.","line":128,"path":"src/ImdPicksRefundReserve.sol","reproduction":"Reproduced in a scratch Foundry test on this tree with the repository's Fixture (MockIMD/MockIntake; MockIntake.complete was compared line by line with the verified Intake source and matches). Reserve funded with 10 IMD, t0 = block.timestamp, ALICE balance B. 1) ALICE approve(escrow, 1e18); esc.pay(bytes32(1), 1, uint40(t0 + 15 minutes), 1e18, BODY). 2) warp t0 + 901: esc.refund(orderId) succeeds (timeout), ALICE +0.5 IMD, finalizedAt = t0 + 901. 3) warp t0 + 901 + 1 days - 1: rr.eligibility(orderId) = GracePending (5); warp t0 + 901 + 1 days: rr.topUp(orderId) succeeds, ALICE balance == B. 4) warp +60 s: WRITER calls intake.complete(requestId, 0, keccak256('report'), 'ipfs://bafyreport', abi.encode(requestId, keccak256('report'), 'ipfs://bafyreport')). Expected by the reserve's rule: an order with a late report is never topped up. Actual: esc.getOrder(orderId).lateResultHash == keccak256('report'), rr.toppedUp(orderId) == true, reserve balance 9.5 IMD, ALICE paid 0 IMD net. Control: step 4 at t0 + 901 + 1 days - 60 (before topUp) makes rr.topUp revert NotEligible(LateReport). Refusal variant: after step 3, intake.complete(requestId, 1, 0, '', abi.encode(requestId, uint256(1), bytes32('no-result'), uint16(0), uint16(0), bytes(''))) leaves failStatus == 1 on a topped-up order. All three tests passed (i.e. the defect is present).","severity":"medium","snippet":"        if (block.timestamp < uint256(o.finalizedAt) + TOPUP_GRACE) return (Ineligible.GracePending, o.payer);","title":"Reserve pays the full top-up 24 h after a payer-chosen deadline, and a report (or refusal) that lands later is recorded on an order that was already made whole"},{"citation":"resolved","description":"Kept from audit_math 434af386 after reading both halves. deliverByFor() takes nowS = floor(Date.now()/1000) from the browser clock and caps the deadline at nowS + 259,200 with no slack. ImdPicksEscrow.pay measures the same cap from block.timestamp (src/ImdPicksEscrow.sol:333, `|| deliverBy > block.timestamp + MAX_DELIVERY_WINDOW`). checkout (web/src/escrow.tsx:178) passes that value straight to sdk.pay, which first runs pc.simulateContract (web/src/engine/sdk.ts:195); that is an eth_call against the latest mined block, whose timestamp is its slot start and therefore behind a correct wall clock by the propagation delay plus up to 12 s. Whenever the cap is the binding term (earliest selected start later than now + 3 days + 2 minutes), deliverBy - block.timestamp = 259,200 + (nowS - T_latest) > 259,200, the simulation reverts BadDeadline, sdk.pay throws and nothing is sent. The site lists 7 days of fixtures for team leagues and 30 days for the others (web/src/games.tsx:118) and recheck() only enforces the lower lead time, so these selections are offered, priced and (if needed) approved on chain, and then cannot be paid; the approval gas is spent for nothing. A caller that skips the simulation succeeds only if the including block's timestamp is >= the browser's nowS, so a clock a few seconds fast loses the gas of a reverted pay. No IMD is lost and the contract is correct. The project's own test pins the zero-slack value (web/tests/engine.test.mjs:48, 'capped at 3 days'), and no test runs that value against the contract at a block timestamp behind NOW. Fix in the site only: leave slack under the cap (for example nowS + MAX_DELIVERY_WINDOW_S - 600) or take `now` from the latest block's timestamp; update the pinned test.","line":136,"path":"web/src/engine/deadline.ts","reproduction":"Client half, run with node against web/src/engine/deadline.ts (and pinned by web/tests/engine.test.mjs:48): latest block timestamp T = 1,800,000,000, browser clock 6 s later (nowMs = 1,800,000,006,000), one event starting 5 days later. deliverByFor([{start}], nowMs) returned 1800259206 = min(start - 120 s, 1,800,000,006 + 259,200), which is 6 s above T + 259,200. On-chain half, reproduced in a scratch Foundry test with the repository's Fixture at block.timestamp T: esc.pay(bytes32(7), 1, uint40(T + 3 days + 6), 1e18, BODY) reverts BadDeadline(T + 3 days + 6); the same call with uint40(T + 3 days) succeeds. Expected: a selection the site offers and prices is payable with a deadline inside the 3-day cap. Actual: the simulated pay reverts BadDeadline for every such selection while the user's clock is ahead of the latest block's timestamp, which is the normal case.","severity":"medium","snippet":"  const by = Math.min(Math.floor((earliest - DELIVERY_MARGIN_MS) / 1000), nowS + MAX_DELIVERY_WINDOW_S);","title":"Site caps deliverBy at wall-clock now + exactly 3 days, which the escrow rejects against the block timestamp: selections whose earliest event is more than 3 days away cannot be paid"},{"citation":"resolved","description":"Kept from audit_flow 20e5de85 at low. In the verified Intake source, complete() with status != 0 and args.length == 0 sets selector = 0 and makes no callback (the same happens when a callback is starved or reverts), so the escrow order stays Submitted with failStatus 0. After deliverBy it is timeout-refunded and eligibility() reaches this check and answers IntakeCompleted permanently: the Intake keeps the status only in its Completed event, so the reserve cannot tell a failed job from a delivered one. A genuine status-2 failure reported that way costs the customer the 0.5 IMD Swarm share, while the header (lines 11-14) promises a top-up 'for every escrow order that ended in a refund because the Swarm FAILED (Intake status 2)'. It depends on the Intake writer sending empty args, which is the writer's choice; ADAPTATION.md (lines 67-68) and test_f44a_failureWithoutCallback_stillRefused already record the behaviour as left in place, but the reserve header and the customer-facing promise do not. No escrow, burn or developer funds are affected. Fix inside the design: state the exception in the header and in the refund terms, and make 'failure args always carry (requestId, status)' an operational requirement with an indexer alert on Completed(status != 0, delivered == false) for an escrow request.","line":129,"path":"src/ImdPicksRefundReserve.sol","reproduction":"Scratch Foundry test with the repository's Fixture, reserve funded with 10 IMD: ALICE pays 1 IMD (1 event, deliverBy = now + 1 h); WRITER calls intake.complete(requestId, 2, bytes32(0), '', ''). Order status stays 1 (Submitted). warp deliverBy + 1: esc.refund(orderId) pays ALICE 0.5 IMD. warp + 30 days: rr.eligibility(orderId) returns IntakeCompleted (6) and rr.topUp reverts NotEligible(6). Expected for a Swarm failure (status 2): Ineligible.None and a 0.5 IMD top-up. Actual: refused for good; ALICE recovers 0.5 of the 1 IMD paid.","severity":"low","snippet":"        (,,, bool completed) = IIntake(address(ESCROW.INTAKE())).requests(o.requestId);\n        if (completed) return (Ineligible.IntakeCompleted, o.payer);","title":"A Swarm failure the Intake completes without a callback (empty args) is refused a top-up for good, contrary to the reserve's stated status-2 guarantee"},{"citation":"resolved","description":"Kept from audit_permissions c8d5a671 at low. The reserve's only authority to pay is ESCROW.getOrder(orderId) plus ESCROW.INTAKE().requests(...) (line 129). The constructor accepts any non-zero address and its NatSpec (lines 82-85) says the escrow's constants are read back on every fund and topUp 'and a contract with any other token or split is refused there'. checkEscrow reads IMD(), ENGINE_VERSION(), SWARM_SHARE() and six priceFor values only: never splitOf, WALLET_1/WALLET_2/BURN, VERIFIER, INTAKE or SWARM_TREASURY. Any contract answering those nine reads passes and then alone decides who is paid from the reserve. For this launch the risk is closed by the manifest, which I checked: launch.json binds the argument to $contract:ImdPicksEscrow. What does not hold is the written guarantee that a funder can rely on checkEscrow (the site's verifyEscrow in web/src/engine/sdk.ts has the same gap for VERIFIER, which is not in EXPECTED). Fix that keeps the design: also require splitOf(1e18/15e17/2e18) and WALLET_1, WALLET_2, BURN, INTAKE, SWARM_TREASURY and VERIFIER to equal the brief's constants, and say in the comment that the guarantee rests on the deployment binding, since a hostile look-alike can still answer every read.","line":96,"path":"src/ImdPicksRefundReserve.sol","reproduction":"Scratch Foundry test on this tree: FakeEscrow with IMD = 0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7, ENGINE_VERSION = 10, SWARM_SHARE = 5e17, priceFor tiers 1e18/15e17/2e18, splitOf(any) = (5e17, 0, 0, 5e17), INTAKE() = itself with requests() returning completed = false, and getOrder(any) = {payer: 0xBEEF, status: Refunded, failStatus: 2}. r2 = new ImdPicksRefundReserve(address(fake)); r2.checkEscrow() passes; r2.fund(1e18) succeeds; r2.topUp(keccak256('any')) and r2.topUp(keccak256('other')) each pay 0.5 IMD to 0xBEEF. Expected per lines 82-85: checkEscrow reverts NotEscrow because the split differs. Actual: it passes and the reserve is drained to the fake's payer (balanceOf(0xBEEF) == 1e18).","severity":"low","snippet":"        if (\n            address(e.IMD()) != address(IMD) || e.ENGINE_VERSION() != 10 || e.SWARM_SHARE() != TOP_UP\n                || e.priceFor(1) != 1e18 || e.priceFor(4) != 1e18 || e.priceFor(5) != 15e17 || e.priceFor(9) != 15e17\n                || e.priceFor(10) != 2e18 || e.priceFor(14) != 2e18\n        ) revert NotEscrow();","title":"checkEscrow does not check the split, recipients, verifier or Intake it then trusts, although the constructor comment says a contract with any other split is refused"},{"citation":"resolved","description":"Kept from audit_economics bd58175e at low. The reserve can pay only orders of the one escrow fixed at deployment, and IMD leaves it only through topUp. Whether that escrow can still take orders is decided by a third party: pay reverts for good once the Intake owner moves payTo (SwarmTreasuryChanged) or prices job.open at 0 or above 0.5 IMD (IntakePriceAboveShare). docs/ACTIVATION.md, 'Treasury migration' (lines 161-170), treats the first as an expected event and prescribes deploying a new escrow, but says nothing about the reserve: the replacement escrow needs a new reserve funded from nothing, and whatever the old reserve holds beyond 0.5 IMD per old order that still ends in an eligible refund can never leave. The header's 'fund it in amounts you accept never to recover' covers the missing withdraw; it does not tell the funder that someone else's routine configuration change turns the whole unspent balance into a permanent loss at a time the funder does not choose. The brief forbids owner withdrawals, so no sweep is proposed. Fix that keeps the design: add to the migration and rollback runbook that the reserve is funded only in small tranches (0.5 IMD x expected failures per period) and is left to run down before a planned migration; a permissionless burn of the unspent balance once the pinned treasury no longer equals INTAKE.payTo() and no order is open would be a scope decision for the requester.","line":44,"path":"src/ImdPicksRefundReserve.sol","reproduction":"Scratch Foundry test with the repository's Fixture: rr = new ImdPicksRefundReserve(address(esc)); rr.fund(5e18); no open order. The Intake's payTo is moved to 0xBEEF (intake.init(0xBEEF, WRITER) on the mock; setPayTo by the owner on the live Intake). ALICE: esc.pay(bytes32(1), 1, now + 1 h, 1e18, BODY) reverts SwarmTreasuryChanged(0xBEEF), as every later pay does, so no order of this escrow can reach Refunded again. rr.topUp(x) reverts NotEligible(NotRefunded) for every x and no other function moves IMD. Expected: IMD set aside for customer refunds stays usable for refunds, or the runbook tells the operator to draw it down first. Actual: rr.available() == 5e18 permanently, and the replacement escrow the runbook prescribes cannot be served by it (ESCROW is immutable).","severity":"low","snippet":"    ImdPicksEscrow public immutable ESCROW;","title":"Reserve balance is stranded for good when the escrow stops taking orders (the documented treasury migration); the migration runbook does not mention the reserve"}],"hash":"d9dd6d86217cee3093839061ea0e04d53637d4b78d2487f9d9b997508d5bfa9b","nodeId":"0ae29ce7-3194-49d7-9a94-91abbf198219","outcome":"completed","summary":"The review is written to `.imd-findings.json`: five findings (two medium, three low, no critical or high) and a coverage row for all nine entry points. No tracked file was changed; the scratch tests I used are removed.\n\n## Findings kept\n\n| # | Severity | Where | What |\n|---|---|---|---|\n| 1 | medium | `src/ImdPicksRefundReserve.sol:128` | The reserve pays the full top-up 24 h after a payer-chosen deadline (as short as 15 minutes). A report or refusal that lands later is still recorded, so the payer holds the report and 100% of the price. |\n| 2 | medium | `web/src/engine/deadline.ts:136` | The site caps `deliverBy` at browser time + exactly 3 days, while the escrow measures the cap from the block timestamp. Selections whose earliest event is more than 3 days away fail simulation with `BadDeadline` and cannot be paid. |\n| 3 | low | `src/ImdPicksRefundReserve.sol:129` | A Swarm failure completed with empty args makes no callback, so the reserve answers `IntakeCompleted` for good and the customer loses the 0.5 IMD share. |\n| 4 | low | `src/ImdPicksRefundReserve.sol:96` | `checkEscrow` does not check the split, recipients, verifier or Intake, although the constructor comment says any other split is refused. The manifest closes this for the launch by binding the reserve to `$contract:ImdPicksEscrow`. |\n| 5 | low | `src/ImdPicksRefundReserve.sol:44` | The reserve balance is stranded once the escrow stops taking orders after a treasury migration, and the migration runbook does not mention the reserve. |\n\nEach was reproduced on this tree with a Foundry test using the repository's fixture. For finding 2 I also ran `deliverByFor` under node: it returned a deadline 6 s over the cap for a clock 6 s ahead of the block.\n\n## How the specialists' reports were settled\n\n- **Merged:** three reports of the late-report top-up (two low, one medium) are finding 1. I kept medium because reserve IMD is paid against the reserve's own stated rule and the contract cannot be changed after deployment. A payer cannot force the delay, and the loss is 0.5 IMD per affected order.\n- **Dropped:** \"payments stop when the Intake owner changes `payTo` or the price\". It reproduces, but it is the documented fail-safe design, not a defect.\n- **Kept as reported:** the other four, at the severities their specialists gave.\n\n## Coverage\n\n- **Escrow:** all seven entry points hold.\n- **Reserve:** `fund` points to finding 4 and `topUp` to finding 1.\n- **Tests:** the offline suite passes (155 tests, including fuzz and invariant), and the 15 fork tests pass against live Mainnet.\n- **Live facts:** Intake `payTo()` is the pinned treasury, the job price is 0.5 IMD and the callback stipend is 200,000 gas. The verified Intake source matches the mock the tests use. The IMD token is a plain OpenZeppelin ERC-20 with no fee, pause or blocklist.\n- **Manifest:** `launch.json` is schema-valid, and the verifier argument is the brief's address.\n- **Not determined:** how the live writer reports failures (finding 3's precondition). The public RPC only served recent logs, and those 25 completions were all successes.\n\n## Notes outside the findings\n\n- The verifier and both developer wallets currently carry EIP-7702 delegation code. This does not affect token transfers to them, but whoever can drive the verifier's delegate can attest or reject deliveries.\n- The escrow accepts `pay` on chain from the moment it is deployed; \"payments not activated\" is only the site flag `PAID_RESEARCH_OPEN = false`. That follows from the no-owner, non-pausable design the brief asks for.\n- I did not re-raise the recorded open decision `6809aab2` (declared event count is not tied to the body). Anyone can buy the same Swarm job from the Intake directly for 0.5 IMD, so understating the count gains a payer nothing extra.","treeHash":null,"usage":{"cachedInputTokens":1970027,"cost":{"source":"runtime","usdMicros":5145872},"inputTokens":30,"model":"claude-fable-5-2","outputTokens":54805,"runtime":"claude","turns":25,"wallClockMs":586172}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"809ae05b6282abad","findings":[],"hash":"f7bb410459d5f4d418cc2d89b76fe001f07a1a5a6d810ad86ce007304e65f117","nodeId":"f1487fdc-3913-4ed1-821d-c0a96cb3ab55","outcome":"failed","summary":"turn budget exhausted","treeHash":null,"usage":{"cachedInputTokens":3835648,"cost":{"source":"runtime","usdMicros":3913530},"inputTokens":94205,"model":"claude-fable-5-2","outputTokens":59819,"runtime":"claude","turns":53,"wallClockMs":419353}},{"artifacts":[],"attempt":1,"bundleHash":"5c714c88e379a30d90d4ee13b4aa3c8bca0b96e95845d03472c1f206d7560bc6","device":"63c29c49a249ab7e","findings":[],"hash":"ff16526a345c7f9f91f554cb362f4d07739ecf510848d56a617b29e1ae45ef60","nodeId":"d63f0b41-73bc-4a08-b628-e33e99875552","outcome":"completed","summary":"All five reopened findings reproduced on this tree, and I fixed each one. `forge build` passes, and `forge test` with the verifier's fuzz seed gives 119 passed, 0 failed, 15 skipped. The 15 skipped are the fork tests, which need a network; I ran them separately against current Mainnet state and all 15 pass. Nothing was deployed, broadcast or funded, and I haven't committed the changes.\n\n**The two medium findings**\n- **Reserve top-up could be paid before a slow report arrived (`13f34e47`):** the reserve now waits 1 day after whichever is later: the refund, or 3 days after payment (the latest deadline the escrow allows). A payer who picks a 15-minute deadline can no longer shorten that wait. In the reviewer's sequence the top-up is now refused as \"grace pending\", and once the late report lands it is refused as \"late report\". Top-ups for recorded Swarm failures are unchanged. One gap remains: the Intake never expires a request, so a report arriving more than 4 days after payment can still follow a top-up. That is capped at 0.5 IMD per order and is now stated in the contract header. Closing it fully would also remove top-ups for jobs the Swarm silently drops, which is your decision. Two existing tests needed their time jump lengthened to match the new wait.\n- **The website set deadlines the escrow rejected (`08afe707`):** `web/src/engine/deadline.ts` now sets the deadline at most 3 days minus 10 minutes ahead, so a browser clock running ahead of the blockchain no longer produces a deadline the escrow rejects. I updated the existing website test and added one with a clock 6 seconds ahead; it passes with the fix and fails with the old formula. The contracts are unchanged for this one, and I did not rebuild the prebuilt `dist/` website files.\n\n**The three low findings**\n- **Reserve didn't fully check its escrow (`55cc31e8`):** `checkEscrow` now also checks both developer wallets, the burn address, the Intake, the Swarm treasury, the verifier, the 3-day limit and the split for all three tiers. To make this pass, the test setup and fork tests now build the escrow with your real verifier address. The reviewer's fake escrow and a version of it with each field changed in turn are all refused. I regenerated the reserve ABI.\n- **Failures reported without a callback, and a reserve stranded by a treasury move (`1691d704`, `7c38c4c7`):** these are documentation only, as the reviewer suggested. The contract header and a new \"Refund reserve operations\" section in `docs/ACTIVATION.md` now say three things:\n  - A Swarm failure reported without a callback never gets a top-up.\n  - The Intake writer must therefore always include the failure details, and an alert should flag any failure the escrow didn't record.\n  - Fund the reserve in small amounts and let it run down before any treasury move, since it can't be withdrawn or moved to a new escrow.\n\n**Files touched**\n- **Contract:** `src/ImdPicksRefundReserve.sol` is the only contract change.\n- **Tests:** new tests in `test/LaunchAdaptation.t.sol`, plus the adjusted tests and setup described above.\n- **Notes:** `ADAPTATION.md` has a new \"Revision\" section, and the test-result files in `docs/validation/` are updated.\n- **Answers:** `.imd-responses.json` answers every finding as \"fixed\".\n\nNot run: Slither and Mythril (not available on this machine), and the full website test suites (they need `npm install`); only the deadline test there was run.","treeHash":"98a7ecc8648ca6fc9796e71c4528cc8ede1ff6e3","usage":{"cachedInputTokens":1517905,"chain":[{"calls":99,"chainId":1,"failed":0,"own":95,"public":0,"refused":4}],"cost":{"source":"runtime","usdMicros":1146385},"inputTokens":47,"model":"claude-opus-5-5","outputTokens":22962,"runtime":"claude","turns":26,"wallClockMs":231680}}],"verification":[{"checks":[{"durationMs":2699,"exitCode":0,"name":"build","output":"Compiling 12 files with Solc 0.8.28\nSolc 0.8.28 finished in 2.64s\nCompiler run successful with warnings:\nWarning (2018): Function state mutability can be restricted to pure\n   --> src/ImdPicksRefundReserve.sol:131:5:\n    |\n131 |     function _checkSplit(ImdPicksEscrow e, uint256 price, uint256 burn, uint256 dev) private view {\n    |     ^ (Relevant source part starts here and spans across multiple lines).\n\n","passed":true},{"durationMs":2616,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 15 tests for test/ImdPicksEscrow.fork.t.sol:ImdPicksEscrowForkTest\n[SKIP] test_fork_V10_1_pinnedTreasury_and_payToChange_reverts() (gas: 0)\n[SKIP] test_fork_V10_tier3_failure_refund() (gas: 0)\n[SKIP] test_fork_V10_tiers_realIntake_settle() (gas: 0)\n[SKIP] test_fork_V1_resultArgsNamingAnotherRequest_ignored() (gas: 0)\n[SKIP] test_fork_gasFigures() (gas: 0)\n[SKIP] test_fork_launch_failureAfterTimeoutRefund_recorded_toppedUp() (gas: 0)\n[SKIP] test_fork_launch_liveFacts() (gas: 0)\n[SKIP] test_fork_launch_rejectedDelivery_notToppedUp() (gas: 0)\n[SKIP] test_fork_launch_shortDeadline_reverts_noCharge() (gas: 0)\n[SKIP] test_fork_realIntake_failure_refund() (gas: 0)\n[SKIP] test_fork_realTokenAndIntake_settle() (gas: 0)\n[SKIP] test_fork_refundReserve_fullRefund() (gas: 0)\n[SKIP] test_fork_refusedOrder_onlyRefund_noSecondCharge() (gas: 0)\n[SKIP] test_fork_starvedCallback_timeoutRefund() (gas: 0)\n[SKIP] test_fork_tokenFacts() (gas: 0)\nSuite result: ok. 0 passed; 0 failed; 15 skipped; finished in 847.98µs (1.67ms CPU time)\n\nRan 4 tests for test/LaunchAdaptation.t.sol:LaunchRehearsalTest\n[PASS] test_launch_bothContracts_deployInOneCall_onAnEmptyChain() (gas: 4555518)\n[PASS] test_launch_constructorsAreOrderIndependent() (gas: 4516466)\n[PASS] test_launch_noOwnerOrAdminSurface() (gas: 4940500)\n[PASS] test_launch_runtimeSize_andNoForbiddenOpcodes() (gas: 12777282)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 404.23ms (20.10ms CPU time)\n\nRan 29 tests for test/LaunchAdaptation.t.sol:LaunchAdaptationTest\n[PASS] testFuzz_01d7_window(uint8,uint32) (runs: 1000, μ: 317576, ~: 507195)\n[PASS] testFuzz_13f3_noTopUpBeforeOuterBound(uint256,uint256,uint256) (runs: 1000, μ: 651843, ~: 655952)\n[PASS] test_01d7_everyEventCount_floorIsExact() (gas: 6359686)\n[PASS] test_01d7_floorConstants() (gas: 271874)\n[PASS] test_01d7_siteDeadlines_accepted() (gas: 2415926)\n[PASS] test_01d7_tenMinuteDeadline_fourteenEvents_reverts_noCharge() (gas: 101819)\n[PASS] test_13f3_lateRefundCall_graceCountsFromRefund() (gas: 871302)\n[PASS] test_13f3_shortDeadline_lateRefusal_notToppedUp() (gas: 842786)\n[PASS] test_13f3_shortDeadline_lateReportAfterOneDay_notToppedUp() (gas: 988429)\n[PASS] test_13f3_silentOrder_toppedUpAtOuterBoundPlusGrace() (gas: 871224)\n[PASS] test_55cc_lookAlike_eachFieldChecked() (gas: 21164918)\n[PASS] test_55cc_lookAlike_wrongSplit_refused() (gas: 1934644)\n[PASS] test_6809_understatedCount_rejected_costsSwarmShare_reserveRefuses() (gas: 942783)\n[PASS] test_9872_enumValuesStable() (gas: 493)\n[PASS] test_9872_noReportOutcomes_stillToppedUp() (gas: 1627043)\n[PASS] test_9872_rejectedDelivery_notToppedUp() (gas: 1014130)\n[PASS] test_9872_repeatedRejections_cannotDrainReserve() (gas: 14113862)\n[PASS] test_9872_unattestedDelivery_notToppedUp() (gas: 858376)\n[PASS] test_f44a_control_failureBeforeRefund_sameOutcome() (gas: 959763)\n[PASS] test_f44a_emptyResultAfterTimeoutRefund_isFailure_toppedUp() (gas: 1707366)\n[PASS] test_f44a_failureAfterTimeoutRefund_recorded_andToppedUp() (gas: 1158887)\n[PASS] test_f44a_failureCallback_onlyRecordsTimeoutRefunds() (gas: 872363)\n[PASS] test_f44a_failureWithoutCallback_stillRefused() (gas: 803007)\n[PASS] test_f44a_refusalAfterTimeoutRefund_recorded_notToppedUp() (gas: 867473)\n[PASS] test_f44a_reportAfterTimeoutRefund_stillLate_secondOutcomeIgnored() (gas: 996704)\n[PASS] test_launch_reserveConstructor_makesNoCall_checksOnFirstUse() (gas: 1696646)\n[PASS] test_launch_reserveConstructor_zeroEscrow_reverts() (gas: 216359)\n[PASS] test_launch_reserve_realEscrow_passesCheck() (gas: 40813)\n[PASS] test_launch_reserve_wrongContract_refusedOnFundAndTopUp() (gas: 1743653)\nSuite result: ok. 29 passed; 0 failed; 0 skipped; finished in 404.35ms (683.40ms CPU time)\n\nRan 15 tests for test/ImdPicksRefundReserve.t.sol:ImdPicksRefundReserveTest\n[PASS] testFuzz_outcomes_neverOverRefund(uint8,uint256) (runs: 1000, μ: 3756083, ~: 3198282)\n[PASS] test_V10_tiers_fullRefund_escrowPlusHalfImd() (gas: 1699591)\n[PASS] test_V8_intakeCompletedWithoutEscrowRecord_notToppedUp() (gas: 877210)\n[PASS] test_V8_lateReport_notToppedUp() (gas: 897037)\n[PASS] test_V8_reportAfterTimeoutRefund_notToppedUp() (gas: 979027)\n[PASS] test_failedOrder_fullRefund_exactlyOneImd() (gas: 950978)\n[PASS] test_feeOnTransfer_rejected() (gas: 187003)\n[PASS] test_noAdminSurface() (gas: 140559)\n[PASS] test_nonEscrow_refusedOnFirstUse() (gas: 216273)\n[PASS] test_notRefundedStates_notEligible() (gas: 1819607)\n[PASS] test_onlyOnce() (gas: 970455)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1022645)\n[PASS] test_refusedOrder_notToppedUp() (gas: 803136)\n[PASS] test_reserveTooLow_revertsThenWorksAfterFunding() (gas: 3838715)\n[PASS] test_timeoutOrder_fullRefund() (gas: 794272)\nSuite result: ok. 15 passed; 0 failed; 0 skipped; finished in 404.38ms (397.59ms CPU time)\n\nRan 70 tests for test/ImdPicksEscrow.t.sol:ImdPicksEscrowTest\n[PASS] testFuzz_V10_1_anyOtherTreasury_reverts(address,uint8) (runs: 1000, μ: 367400, ~: 367549)\n[PASS] testFuzz_V10_refundPlusSwarmIsPrice(uint8,uint8) (runs: 1000, μ: 774321, ~: 800936)\n[PASS] testFuzz_V10_splitOf_rejectsNonTier(uint256) (runs: 1000, μ: 9563, ~: 9563)\n[PASS] testFuzz_V8_settleXorRefund(uint32,bool) (runs: 1000, μ: 784849, ~: 683509)\n[PASS] testFuzz_V9_tierChargeAndSplit(uint8,bool) (runs: 1000, μ: 899416, ~: 750291)\n[PASS] testFuzz_invalidEvents_revert(uint8) (runs: 1000, μ: 91545, ~: 91546)\n[PASS] testFuzz_outcomes_conserveValue(uint8,uint256) (runs: 1000, μ: 4399205, ~: 3499249)\n[PASS] testFuzz_pay_anyValidInput(bytes32,uint8,uint16,uint256) (runs: 1000, μ: 602275, ~: 566899)\n[PASS] test_V10_1_swarmTreasuryChanged_reverts_noCharge() (gas: 907237)\n[PASS] test_V10_distributionOf_everyEventCount() (gas: 108781)\n[PASS] test_V10_intakeAbove05_blocksEveryTier_noCharge() (gas: 968771)\n[PASS] test_V10_splitExact_allTiers() (gas: 32530)\n[PASS] test_V10_splitOf_onlyTierPrices() (gas: 61153)\n[PASS] test_V10_tier1_fourEvents_settle() (gas: 1017083)\n[PASS] test_V1_callbackForUncompletedRequest_ignored() (gas: 636320)\n[PASS] test_V1_resultArgsNamingAnotherOpenRequest_ignored() (gas: 1401441)\n[PASS] test_V81_onlyVerifier_rightHash_insideWindow() (gas: 792107)\n[PASS] test_V81_reject_refundsAtOnce_neverSettles() (gas: 859369)\n[PASS] test_V81_settle_requiresVerifiedArtifacts() (gas: 976953)\n[PASS] test_V81_unverifiedDelivery_refundableAfterWindow() (gas: 900262)\n[PASS] test_V81_verifiedDelivery_neverRefundable() (gas: 781268)\n[PASS] test_V81_zeroVerifier_rejected() (gas: 301790)\n[PASS] test_V8_badDeadline_reverts_noCharge() (gas: 570793)\n[PASS] test_V8_deadlineBoundary_exactSecond() (gas: 1738493)\n[PASS] test_V8_lateDelivery_beforeRefund_isLate_refundedNotSettled() (gas: 1026928)\n[PASS] test_V8_race_refundThenLateReport_recordedNoFunds() (gas: 974408)\n[PASS] test_V8_unverifiableArtifact_isFailure() (gas: 816145)\n[PASS] test_V9_boundaries_1_4_5_9_10_14_charge() (gas: 2560977)\n[PASS] test_V9_priceBoundaries() (gas: 70659)\n[PASS] test_V9_priceFor_outOfRange_reverts() (gas: 18504)\n[PASS] test_V9_priceMismatch_reverts_noCharge() (gas: 126024)\n[PASS] test_V9_refund_scalesByTier() (gas: 1330995)\n[PASS] test_V9_tier2Approval_tooLowFor_tier3_reverts() (gas: 283823)\n[PASS] test_V9_tier2_fiveEvents_settle() (gas: 1054530)\n[PASS] test_V9_tier3_fourteenEvents_settle() (gas: 1032065)\n[PASS] test_badEventCounts_revert() (gas: 952554)\n[PASS] test_callbackStarved_timeoutRefund() (gas: 742596)\n[PASS] test_callbacks_onlyIntake() (gas: 552091)\n[PASS] test_constants_exactSplit() (gas: 34596)\n[PASS] test_customerDebit_isExactlyOneImd_onDelivery() (gas: 1007023)\n[PASS] test_deliveredOrder_notRefundable() (gas: 767514)\n[PASS] test_duplicateOrder_reverts_noSecondCharge() (gas: 588606)\n[PASS] test_failedOrder_cannotBeChargedAgain_byPayerOrAnyone() (gas: 853725)\n[PASS] test_failedTransferToRecipient_revertsWholeSettle() (gas: 1303046)\n[PASS] test_failureWithoutArgs_noCallback_timeoutRefund() (gas: 710507)\n[PASS] test_failure_refundToPayer_byAnyone() (gas: 867049)\n[PASS] test_falseReturningToken_rejected() (gas: 322960)\n[PASS] test_feeOnTransferToken_rejected() (gas: 367107)\n[PASS] test_insufficientApproval_reverts() (gas: 284130)\n[PASS] test_intakeNotSelling_reverts() (gas: 358962)\n[PASS] test_intakePriceAboveShare_reverts_noCharge() (gas: 366898)\n[PASS] test_intakePriceBelowShare_stillFundsFullShare() (gas: 544193)\n[PASS] test_largerApproval_onlyOneImdTaken() (gas: 520934)\n[PASS] test_lateCallback_afterTimeoutRefund_ignored() (gas: 672482)\n[PASS] test_lateResult_afterTimeoutRefund_ignored() (gas: 848556)\n[PASS] test_noAdminSurface() (gas: 5665)\n[PASS] test_onResult_gasUnderStipend_longUri() (gas: 1057545)\n[PASS] test_orderId_boundToPayer_noSquatting() (gas: 876286)\n[PASS] test_orderId_includesChainAndContract() (gas: 2664436)\n[PASS] test_pay_pullsOneImd_fundsSwarm_escrowsHalf() (gas: 633643)\n[PASS] test_reentrancy_refundDuringPay_blocked() (gas: 606681)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1112566)\n[PASS] test_refundThenNewOrder_isASeparateOneImdAnalysis() (gas: 1606556)\n[PASS] test_refund_beforeTimeout_reverts_afterTimeout_ok() (gas: 727084)\n[PASS] test_refusal_status1_refundable() (gas: 774554)\n[PASS] test_settle_beforeDelivery_reverts() (gas: 533975)\n[PASS] test_settle_exactDistribution() (gas: 1136501)\n[PASS] test_settle_unknownOrder_reverts() (gas: 37326)\n[PASS] test_staleCallback_afterFailure_ignored() (gas: 714841)\n[PASS] test_unknownRequestCallback_ignored() (gas: 64056)\nSuite result: ok. 70 passed; 0 failed; 0 skipped; finished in 404.53ms (2.65s CPU time)\n\nRan 1 test for test/ImdPicksEscrow.invariant.t.sol:ImdPicksEscrowInvariantTest\n[PASS]\nImdPicksEscrowInvariantTest invariants:\n[PASS] invariant_balanceEqualsEscrow\n[PASS] invariant_conservation\n[PASS] invariant_noStandingApproval\n[PASS] invariant_reserve\n[PASS] invariant_split\n ImdPicksEscrowInvariantTest invariants (runs: 128, calls: 7680, reverts: 0)\n\n╭----------+-------------+-------+---------+----------╮\n| Contract | Selector    | Calls | Reverts | Discards |\n+=====================================================+\n| Handler  | attack      | 740   | 0       | 15       |\n|----------+-------------+-------+---------+----------|\n| Handler  | deliver     | 783   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fail        | 751   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fundReserve | 795   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | pay         | 787   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | refund      | 783   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | reject      | 776   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | settle      | 795   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | topUp       | 746   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | wait        | 739   | 0       | 0        |\n╰----------+-------------+-------+---------+----------╯\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 2.53s (2.53s CPU time)\n\nRan 6 test suites in 2.53s (4.15s CPU time): 119 tests passed, 0 failed, 15 skipped (134 total tests)\n","passed":true},{"durationMs":101,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"ImdPicksEscrow.onFailure(bytes32,uint8,bytes32,uint16,uint16,bytes)\",\"ImdPicksEscrow.onResult(bytes32,bytes32,string)\",\"ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes)\",\"ImdPicksEscrow.refund(bytes32)\",\"ImdPicksEscrow.rejectDelivery(bytes32,bytes32)\",\"ImdPicksEscrow.settle(bytes32)\",\"ImdPicksEscrow.verifyDelivery(bytes32,bytes32,bytes32)\",\"ImdPicksRefundReserve.fund(uint256)\",\"ImdPicksRefundReserve.topUp(bytes32)\"],\"files\":{\".gitignore\":9,\"ADAPTATION.md\":204,\"DESIGN.md\":173,\"README.md\":753,\"artifacts/render-results.txt\":16,\"artifacts/samples/recovered-ufc-report.v2.json\":3058,\"artifacts/taste-results.txt\":17,\"artifacts/unit-results.txt\":51,\"artifacts/validation.md\":156,\"contracts/abi/ImdPicksEscrow.json\":1417,\"contracts/abi/ImdPicksRefundReserve.json\":353,\"contracts/deploy.sh\":31,\"contracts/integration.mainnet.json\":51,\"contracts/test.sh\":16,\"dist/assets/ccip-BfrJC5Ha.js\":1,\"dist/assets/index-CMMfdzWJ.js\":101,\"dist/assets/index-gHn7bocS.css\":1,\"dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2\":207,\"dist/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2\":105,\"dist/favicon.svg\":1,\"dist/img/football.webp\":85,\"dist/img/hero.webp\":1034,\"dist/img/mlb.webp\":175,\"dist/img/nba.webp\":41,\"dist/img/nfl.webp\":183,\"dist/img/nhl.webp\":81,\"dist/img/tennis.webp\":69,\"dist/img/ufc.webp\":78,\"dist/index.html\":29,\"dist/og.jpg\":393,\"docs/ACTIVATION.md\":195,\"docs/KNOWLEDGE_ENGINE.md\":32,\"docs/LAUNCH.md\":153,\"docs/OPERATIONS.md\":186,\"docs/PAYMENT_ENGINE.md\":129,\"docs/SECURITY_AUDIT.md\":162,\"docs/V10_REPORT.md\":125,\"docs/V8_REPORT.md\":171,\"docs/validation/contracts-fork-results-launch.txt\":24,\"docs/validation/contracts-fork-results-v10.txt\":485,\"docs/validation/contracts-fork-results-v9.1.txt\":27,\"docs/validation/contracts-test-results-launch.txt\":190,\"docs/validation/contracts-test-results-v10-1.txt\":612,\"docs/validation/contracts-test-results-v10.txt\":598,\"docs/validation/contracts-test-results-v8.txt\":525,\"docs/validation/contracts-test-results-v9.txt\":115,\"docs/validation/contracts-test-results.txt\":656,\"docs/validation/deploy-dry-run-v10-1.txt\":38,\"docs/validation/deploy-dry-run-v10.txt\":38,\"docs/validation/deploy-dry-run.txt\":29,\"docs/validation/engine-e2e-results.txt\":28,\"docs/validation/engine-tests-v8.txt\":18,\"docs/validation/indexer-test-results-v8.txt\":20,\"docs/validation/indexer-test-results.txt\":14,\"docs/validation/knowledge-ingest-results.txt\":6,\"docs/validation/render-escrow-results.txt\":5,\"docs/validation/taste-results-v10-1.txt\":116,\"docs/validation/taste-results-v10.txt\":18,\"docs/validation/taste-results-v9.1.txt\":17,\"docs/validation/taste-results.txt\":17,\"docs/validation/web-interaction-v10.txt\":38,\"docs/validation/web-interaction-v9.1.json\":41,\"docs/validation/web-tests-v10.txt\":62,\"docs/validation/web-tests-v9.1.txt\":65,\"docs/validation/web-tests-v9.2.txt\":60,\"docs/validation/web-tests-v9.txt\":27,\"foundry.toml\":19,\"launch.json\":18,\"script/Deploy.s.sol\":107,\"src/ImdPicksEscrow.sol\":595,\"src/ImdPicksRefundReserve.sol\":209,\"src/Interfaces.sol\":39,\"test/ImdPicksEscrow.fork.t.sol\":415,\"test/ImdPicksEscrow.invariant.t.sol\":252,\"test/ImdPicksEscrow.t.sol\":901,\"test/ImdPicksRefundReserve.t.sol\":259,\"test/LaunchAdaptation.t.sol\":682,\"test/utils/Base.sol\":65,\"test/utils/Fixture.sol\":92,\"test/utils/Mocks.sol\":183,\"web/index.html\":28,\"web/package-lock.json\":1995,\"web/package.json\":24,\"web/public/favicon.svg\":1,\"web/public/img/football.webp\":85,\"web/public/img/hero.webp\":1034,\"web/public/img/mlb.webp\":175,\"web/public/img/nba.webp\":41,\"web/public/img/nfl.webp\":183,\"web/public/img/nhl.webp\":81,\"web/public/img/tennis.webp\":69,\"web/public/img/ufc.webp\":78,\"web/public/og.jpg\":393,\"web/scripts/gen-abi.mjs\":6,\"web/scripts/i18n-check.mjs\":87,\"web/server/indexer.test.mjs\":499,\"web/server/indexer.ts\":495,\"web/server/knowledge/ingest.ts\":106,\"web/server/knowledge/migrations/001_init.sql\":67,\"web/server/knowledge/migrations/002_scoped_aliases_confirmations.sql\":43,\"web/server/knowledge/sources.ts\":63,\"web/server/knowledge/store.ts\":80,\"web/server/knowledge/track.ts\":114,\"web/server/node-shim.d.ts\":31,\"web/server/tsconfig.json\":5,\"web/src/backtest.ts\":219,\"web/src/charts.tsx\":59,\"web/src/checkout.tsx\":219,\"web/src/config.ts\":154,\"web/src/engine/abi.ts\":1418,\"web/src/engine/deadline.ts\":149,\"web/src/engine/labels.ts\":7,\"web/src/engine/legs.ts\":61,\"web/src/engine/pricing.ts\":84,\"web/src/engine/report.ts\":179,\"web/src/engine/reserve.ts\":70,\"web/src/engine/sdk.ts\":428,\"web/src/escrow.tsx\":349,\"web/src/fonts/inter-latin-wght-normal.woff2\":207,\"web/src/fonts/space-grotesk-latin-wght-normal.woff2\":105,\"web/src/games.tsx\":482,\"web/src/i18n-flow.ts\":219,\"web/src/i18n-langs.ts\":198,\"web/src/i18n-pay.ts\":349,\"web/src/i18n-ui/es.ts\":412,\"web/src/i18n-ui/fr.ts\":19,\"web/src/i18n-ui/index.ts\":32,\"web/src/i18n-ui/it.ts\":412,\"web/src/i18n-ui/ja.ts\":412,\"web/src/i18n-ui/keys.ts\":379,\"web/src/i18n-ui/pcm.ts\":412,\"web/src/i18n-ui/pt.ts\":412,\"web/src/i18n-ui/ru.ts\":412,\"web/src/i18n-ui/th.ts\":412,\"web/src/i18n-ui/v10.ts\":169,\"web/src/i18n-ui/v11.ts\":122,\"web/src/i18n-ui/v12.ts\":409,\"web/src/i18n-ui/v13.ts\":88,\"web/src/i18n-ui/v14.ts\":81,\"web/src/i18n-ui/v15.ts\":60,\"web/src/i18n-ui/v5.ts\":307,\"web/src/i18n-ui/v6.ts\":173,\"web/src/i18n-ui/v7.ts\":151,\"web/src/i18n-ui/v8.ts\":142,\"web/src/i18n-ui/v9.ts\":79,\"web/src/i18n-ui/zh.ts\":412,\"web/src/i18n.ts\":122,\"web/src/insight.ts\":78,\"web/src/main.tsx\":209,\"web/src/markdown.tsx\":72,\"web/src/orders.ts\":261,\"web/src/pages.tsx\":1058,\"web/src/predict.ts\":360,\"web/src/prefs.ts\":43,\"web/src/styles.css\":403,\"web/src/swap.tsx\":153,\"web/src/swarm.ts\":667,\"web/src/tiers.tsx\":52,\"web/src/wallet.tsx\":241,\"web/tests/engine.test.mjs\":109,\"web/tests/knowledge.test.mjs\":153,\"web/tests/pricing.test.mjs\":60,\"web/tests/revision-v10-1.test.mjs\":120,\"web/tests/revision.test.mjs\":98,\"web/tsconfig.json\":7,\"web/vite.config.ts\":5},\"excluded\":[\"lib/\",\"contracts/lib/\",\"node_modules/\"],\"truncated\":false}","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"136b30a62715732e130c6d671d416eeb4f9a16346ea09799f12cc96b21087ca3","verifiedTreeHash":"28c538a836141f14fb370771caa43623bdf9250c","verifierVersion":"0.1.0+0ce771de"},{"checks":[{"durationMs":5172,"exitCode":0,"name":"build","output":"Compiling 49 files with Solc 0.8.28\nSolc 0.8.28 finished in 5.07s\nCompiler run successful!\n","passed":true},{"durationMs":7785,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 15 tests for test/ImdPicksEscrow.fork.t.sol:ImdPicksEscrowForkTest\n[SKIP] test_fork_V10_1_pinnedTreasury_and_payToChange_reverts() (gas: 0)\n[SKIP] test_fork_V10_tier3_failure_refund() (gas: 0)\n[SKIP] test_fork_V10_tiers_realIntake_settle() (gas: 0)\n[SKIP] test_fork_V1_resultArgsNamingAnotherRequest_ignored() (gas: 0)\n[SKIP] test_fork_gasFigures() (gas: 0)\n[SKIP] test_fork_launch_failureAfterTimeoutRefund_recorded_toppedUp() (gas: 0)\n[SKIP] test_fork_launch_liveFacts() (gas: 0)\n[SKIP] test_fork_launch_rejectedDelivery_notToppedUp() (gas: 0)\n[SKIP] test_fork_launch_shortDeadline_reverts_noCharge() (gas: 0)\n[SKIP] test_fork_realIntake_failure_refund() (gas: 0)\n[SKIP] test_fork_realTokenAndIntake_settle() (gas: 0)\n[SKIP] test_fork_refundReserve_fullRefund() (gas: 0)\n[SKIP] test_fork_refusedOrder_onlyRefund_noSecondCharge() (gas: 0)\n[SKIP] test_fork_starvedCallback_timeoutRefund() (gas: 0)\n[SKIP] test_fork_tokenFacts() (gas: 0)\nSuite result: ok. 0 passed; 0 failed; 15 skipped; finished in 591.63µs (918.12µs CPU time)\n\nRan 22 tests for test/LaunchAdaptation.t.sol:LaunchAdaptationTest\n[PASS] testFuzz_01d7_window(uint8,uint32) (runs: 1000, μ: 320885, ~: 507217)\n[PASS] test_01d7_everyEventCount_floorIsExact() (gas: 6359686)\n[PASS] test_01d7_floorConstants() (gas: 271829)\n[PASS] test_01d7_siteDeadlines_accepted() (gas: 2416013)\n[PASS] test_01d7_tenMinuteDeadline_fourteenEvents_reverts_noCharge() (gas: 101863)\n[PASS] test_6809_understatedCount_rejected_costsSwarmShare_reserveRefuses() (gas: 932641)\n[PASS] test_9872_enumValuesStable() (gas: 493)\n[PASS] test_9872_noReportOutcomes_stillToppedUp() (gas: 1606638)\n[PASS] test_9872_rejectedDelivery_notToppedUp() (gas: 993699)\n[PASS] test_9872_repeatedRejections_cannotDrainReserve() (gas: 13909635)\n[PASS] test_9872_unattestedDelivery_notToppedUp() (gas: 848130)\n[PASS] test_f44a_control_failureBeforeRefund_sameOutcome() (gas: 949583)\n[PASS] test_f44a_emptyResultAfterTimeoutRefund_isFailure_toppedUp() (gas: 1687050)\n[PASS] test_f44a_failureAfterTimeoutRefund_recorded_andToppedUp() (gas: 1138595)\n[PASS] test_f44a_failureCallback_onlyRecordsTimeoutRefunds() (gas: 872289)\n[PASS] test_f44a_failureWithoutCallback_stillRefused() (gas: 765000)\n[PASS] test_f44a_refusalAfterTimeoutRefund_recorded_notToppedUp() (gas: 857250)\n[PASS] test_f44a_reportAfterTimeoutRefund_stillLate_secondOutcomeIgnored() (gas: 986525)\n[PASS] test_launch_reserveConstructor_makesNoCall_checksOnFirstUse() (gas: 1382301)\n[PASS] test_launch_reserveConstructor_zeroEscrow_reverts() (gas: 193169)\n[PASS] test_launch_reserve_realEscrow_passesCheck() (gas: 30738)\n[PASS] test_launch_reserve_wrongContract_refusedOnFundAndTopUp() (gas: 1429319)\nSuite result: ok. 22 passed; 0 failed; 0 skipped; finished in 416.10ms (383.59ms CPU time)\n\nRan 4 tests for test/LaunchAdaptation.t.sol:LaunchRehearsalTest\n[PASS] test_launch_bothContracts_deployInOneCall_onAnEmptyChain() (gas: 4227775)\n[PASS] test_launch_constructorsAreOrderIndependent() (gas: 4188660)\n[PASS] test_launch_noOwnerOrAdminSurface() (gas: 4622680)\n[PASS] test_launch_runtimeSize_andNoForbiddenOpcodes() (gas: 11784937)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 441.43ms (16.19ms CPU time)\n\nRan 13 tests for test/ImdPicksWalletGas.t.sol:ImdPicksWalletGasTest\n[PASS] test_walletGas_fullSettlePath_endState() (gas: 6764660)\n[PASS] test_walletGas_intakeComplete_afterTimeoutRefund_recordsFailure() (gas: 2412915)\n[PASS] test_walletGas_intakeComplete_failure_deliversCallback() (gas: 2493348)\n[PASS] test_walletGas_intakeComplete_lateResult() (gas: 2730300)\n[PASS] test_walletGas_intakeComplete_longUri() (gas: 5054326)\n[PASS] test_walletGas_intakeComplete_result_deliversCallback() (gas: 2480668)\n[PASS] test_walletGas_pay_everyTier() (gas: 69651062)\n[PASS] test_walletGas_pay_largestBody() (gas: 21765595)\n[PASS] test_walletGas_rejectDelivery_and_refund() (gas: 4512546)\n[PASS] test_walletGas_reserve_fund_and_topUp() (gas: 7568236)\n[PASS] test_walletGas_timeoutRefund() (gas: 3169859)\n[PASS] test_walletGas_unverifiedDeliveryRefund() (gas: 3865977)\n[PASS] test_walletGas_verifyDelivery_and_settle() (gas: 8537623)\nSuite result: ok. 13 passed; 0 failed; 0 skipped; finished in 441.44ms (94.78ms CPU time)\n\nRan 15 tests for test/ImdPicksRefundReserve.t.sol:ImdPicksRefundReserveTest\n[PASS] testFuzz_outcomes_neverOverRefund(uint8,uint256) (runs: 1000, μ: 3805668, ~: 3183165)\n[PASS] test_V10_tiers_fullRefund_escrowPlusHalfImd() (gas: 1679121)\n[PASS] test_V8_intakeCompletedWithoutEscrowRecord_notToppedUp() (gas: 841654)\n[PASS] test_V8_lateReport_notToppedUp() (gas: 886858)\n[PASS] test_V8_reportAfterTimeoutRefund_notToppedUp() (gas: 958522)\n[PASS] test_failedOrder_fullRefund_exactlyOneImd() (gas: 940754)\n[PASS] test_feeOnTransfer_rejected() (gas: 176826)\n[PASS] test_noAdminSurface() (gas: 140493)\n[PASS] test_nonEscrow_refusedOnFirstUse() (gas: 193017)\n[PASS] test_notRefundedStates_notEligible() (gas: 1768712)\n[PASS] test_onlyOnce() (gas: 950096)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1012443)\n[PASS] test_refusedOrder_notToppedUp() (gas: 792957)\n[PASS] test_reserveTooLow_revertsThenWorksAfterFunding() (gas: 3767292)\n[PASS] test_timeoutOrder_fullRefund() (gas: 783947)\nSuite result: ok. 15 passed; 0 failed; 0 skipped; finished in 441.53ms (447.99ms CPU time)\n\nRan 70 tests for test/ImdPicksEscrow.t.sol:ImdPicksEscrowTest\n[PASS] testFuzz_V10_1_anyOtherTreasury_reverts(address,uint8) (runs: 1000, μ: 367435, ~: 367549)\n[PASS] testFuzz_V10_refundPlusSwarmIsPrice(uint8,uint8) (runs: 1000, μ: 773840, ~: 800935)\n[PASS] testFuzz_V10_splitOf_rejectsNonTier(uint256) (runs: 1000, μ: 9563, ~: 9563)\n[PASS] testFuzz_V8_settleXorRefund(uint32,bool) (runs: 1000, μ: 783311, ~: 683509)\n[PASS] testFuzz_V9_tierChargeAndSplit(uint8,bool) (runs: 1000, μ: 899415, ~: 750291)\n[PASS] testFuzz_invalidEvents_revert(uint8) (runs: 1000, μ: 91545, ~: 91546)\n[PASS] testFuzz_outcomes_conserveValue(uint8,uint256) (runs: 1000, μ: 4467248, ~: 3687607)\n[PASS] testFuzz_pay_anyValidInput(bytes32,uint8,uint16,uint256) (runs: 1000, μ: 603922, ~: 569111)\n[PASS] test_V10_1_swarmTreasuryChanged_reverts_noCharge() (gas: 907237)\n[PASS] test_V10_distributionOf_everyEventCount() (gas: 108781)\n[PASS] test_V10_intakeAbove05_blocksEveryTier_noCharge() (gas: 968771)\n[PASS] test_V10_splitExact_allTiers() (gas: 32530)\n[PASS] test_V10_splitOf_onlyTierPrices() (gas: 61153)\n[PASS] test_V10_tier1_fourEvents_settle() (gas: 1017083)\n[PASS] test_V1_callbackForUncompletedRequest_ignored() (gas: 636320)\n[PASS] test_V1_resultArgsNamingAnotherOpenRequest_ignored() (gas: 1401441)\n[PASS] test_V81_onlyVerifier_rightHash_insideWindow() (gas: 792107)\n[PASS] test_V81_reject_refundsAtOnce_neverSettles() (gas: 859369)\n[PASS] test_V81_settle_requiresVerifiedArtifacts() (gas: 976953)\n[PASS] test_V81_unverifiedDelivery_refundableAfterWindow() (gas: 900262)\n[PASS] test_V81_verifiedDelivery_neverRefundable() (gas: 781268)\n[PASS] test_V81_zeroVerifier_rejected() (gas: 301790)\n[PASS] test_V8_badDeadline_reverts_noCharge() (gas: 570793)\n[PASS] test_V8_deadlineBoundary_exactSecond() (gas: 1738493)\n[PASS] test_V8_lateDelivery_beforeRefund_isLate_refundedNotSettled() (gas: 1026928)\n[PASS] test_V8_race_refundThenLateReport_recordedNoFunds() (gas: 974408)\n[PASS] test_V8_unverifiableArtifact_isFailure() (gas: 816145)\n[PASS] test_V9_boundaries_1_4_5_9_10_14_charge() (gas: 2560977)\n[PASS] test_V9_priceBoundaries() (gas: 70659)\n[PASS] test_V9_priceFor_outOfRange_reverts() (gas: 18504)\n[PASS] test_V9_priceMismatch_reverts_noCharge() (gas: 126024)\n[PASS] test_V9_refund_scalesByTier() (gas: 1330995)\n[PASS] test_V9_tier2Approval_tooLowFor_tier3_reverts() (gas: 283823)\n[PASS] test_V9_tier2_fiveEvents_settle() (gas: 1054530)\n[PASS] test_V9_tier3_fourteenEvents_settle() (gas: 1032065)\n[PASS] test_badEventCounts_revert() (gas: 952554)\n[PASS] test_callbackStarved_timeoutRefund() (gas: 742596)\n[PASS] test_callbacks_onlyIntake() (gas: 552091)\n[PASS] test_constants_exactSplit() (gas: 34596)\n[PASS] test_customerDebit_isExactlyOneImd_onDelivery() (gas: 1007023)\n[PASS] test_deliveredOrder_notRefundable() (gas: 767514)\n[PASS] test_duplicateOrder_reverts_noSecondCharge() (gas: 588606)\n[PASS] test_failedOrder_cannotBeChargedAgain_byPayerOrAnyone() (gas: 853725)\n[PASS] test_failedTransferToRecipient_revertsWholeSettle() (gas: 1303046)\n[PASS] test_failureWithoutArgs_noCallback_timeoutRefund() (gas: 710507)\n[PASS] test_failure_refundToPayer_byAnyone() (gas: 867049)\n[PASS] test_falseReturningToken_rejected() (gas: 322960)\n[PASS] test_feeOnTransferToken_rejected() (gas: 367107)\n[PASS] test_insufficientApproval_reverts() (gas: 284130)\n[PASS] test_intakeNotSelling_reverts() (gas: 358962)\n[PASS] test_intakePriceAboveShare_reverts_noCharge() (gas: 366898)\n[PASS] test_intakePriceBelowShare_stillFundsFullShare() (gas: 544193)\n[PASS] test_largerApproval_onlyOneImdTaken() (gas: 520934)\n[PASS] test_lateCallback_afterTimeoutRefund_ignored() (gas: 672482)\n[PASS] test_lateResult_afterTimeoutRefund_ignored() (gas: 848556)\n[PASS] test_noAdminSurface() (gas: 5665)\n[PASS] test_onResult_gasUnderStipend_longUri() (gas: 1057545)\n[PASS] test_orderId_boundToPayer_noSquatting() (gas: 876286)\n[PASS] test_orderId_includesChainAndContract() (gas: 2664244)\n[PASS] test_pay_pullsOneImd_fundsSwarm_escrowsHalf() (gas: 633643)\n[PASS] test_reentrancy_refundDuringPay_blocked() (gas: 606681)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1112566)\n[PASS] test_refundThenNewOrder_isASeparateOneImdAnalysis() (gas: 1606556)\n[PASS] test_refund_beforeTimeout_reverts_afterTimeout_ok() (gas: 727084)\n[PASS] test_refusal_status1_refundable() (gas: 774554)\n[PASS] test_settle_beforeDelivery_reverts() (gas: 533975)\n[PASS] test_settle_exactDistribution() (gas: 1136501)\n[PASS] test_settle_unknownOrder_reverts() (gas: 37326)\n[PASS] test_staleCallback_afterFailure_ignored() (gas: 714841)\n[PASS] test_unknownRequestCallback_ignored() (gas: 64056)\nSuite result: ok. 70 passed; 0 failed; 0 skipped; finished in 443.10ms (2.84s CPU time)\n\nRan 29 tests for test/ImdPicksAdversarial.t.sol:ImdPicksAdversarialTest\n[PASS] testFuzz_settle_anyCaller_exactSplit(uint8,address) (runs: 1000, μ: 1023238, ~: 1023504)\n[PASS] test_callbacks_fromNonIntake_revert_forEveryRole() (gas: 726694)\n[PASS] test_deliverBy_exactSecond_reportSettles_refundClosed() (gas: 1085036)\n[PASS] test_directDonation_doesNotChangeAccounting() (gas: 1046434)\n[PASS] test_infiniteAllowance_onlyOneCharge_perOrder() (gas: 1420002)\n[PASS] test_lateOrder_neverSettles_refundsOnce() (gas: 897217)\n[PASS] test_onResult_forUncompletedRequest_ignored_noStateChange() (gas: 666547)\n[PASS] test_pay_bodyLimits() (gas: 895943)\n[PASS] test_pay_deadlineEdges_everyBand() (gas: 2609677)\n[PASS] test_postRefundOutcome_recordedOnlyOnce() (gas: 859749)\n[PASS] test_refundTwice_settleAfterRefund_revert() (gas: 793137)\n[PASS] test_reject_afterVerifyWindow_stillOnlyRefundsPayer() (gas: 812972)\n[PASS] test_reject_twice_and_verifyAfterReject_revert() (gas: 763911)\n[PASS] test_reserve_directTransfer_spendableOnlyAsTopUp() (gas: 1047612)\n[PASS] test_reserve_fundZero_reverts() (gas: 45362)\n[PASS] test_reserve_fund_withoutApproval_reverts() (gas: 59437)\n[PASS] test_reserve_graceBoundary_exactSecond() (gas: 1089233)\n[PASS] test_reserve_lateAndUnattested_neverToppedUp() (gas: 1679887)\n[PASS] test_reserve_paysRecordedPayerOnly() (gas: 1055279)\n[PASS] test_reserve_settledOrder_notEligible() (gas: 1185313)\n[PASS] test_reserve_unknownOrder_notEligible() (gas: 228529)\n[PASS] test_settleTwice_refundAfterSettle_revert() (gas: 1072566)\n[PASS] test_unknownOrder_refund_settle_revert() (gas: 70663)\n[PASS] test_verifier_cannotRedirectFunds() (gas: 992244)\n[PASS] test_verifyWindow_exactBoundary_attestAllowed_refundClosed() (gas: 1048913)\n[PASS] test_verifyWindow_onePastBoundary_attestClosed_refundOpen() (gas: 946372)\n[PASS] test_verify_badInputs_revert() (gas: 853054)\n[PASS] test_verify_reject_byAnyoneButVerifier_revert() (gas: 958879)\n[PASS] test_verify_twice_and_rejectAfterVerify_revert() (gas: 825459)\nSuite result: ok. 29 passed; 0 failed; 0 skipped; finished in 444.10ms (400.31ms CPU time)\n\nRan 1 test for test/ImdPicksEscrow.invariant.t.sol:ImdPicksEscrowInvariantTest\n[PASS]\nImdPicksEscrowInvariantTest invariants:\n[PASS] invariant_balanceEqualsEscrow\n[PASS] invariant_conservation\n[PASS] invariant_noStandingApproval\n[PASS] invariant_reserve\n[PASS] invariant_split\n ImdPicksEscrowInvariantTest invariants (runs: 128, calls: 7680, reverts: 0)\n\n╭----------+-------------+-------+---------+----------╮\n| Contract | Selector    | Calls | Reverts | Discards |\n+=====================================================+\n| Handler  | attack      | 732   | 0       | 2        |\n|----------+-------------+-------+---------+----------|\n| Handler  | deliver     | 783   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fail        | 755   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fundReserve | 797   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | pay         | 788   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | refund      | 779   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | reject      | 779   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | settle      | 788   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | topUp       | 748   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | wait        | 733   | 0       | 0        |\n╰----------+-------------+-------+---------+----------╯\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 2.59s (2.59s CPU time)\n\nRan 1 test for test/ImdPicksLifecycle.invariant.t.sol:ImdPicksLifecycleInvariantTest\n[PASS]\nImdPicksLifecycleInvariantTest invariants:\n[PASS] invariant_customersReconcile\n[PASS] invariant_escrowHoldsExactlyOpenOrders\n[PASS] invariant_perOrderStateMachine\n[PASS] invariant_reserveConserves\n[PASS] invariant_splitMatchesBrief\n[PASS] invariant_supplyConserved\n ImdPicksLifecycleInvariantTest invariants (runs: 256, calls: 15360, reverts: 0)\n\n╭------------------+------------------+-------+---------+----------╮\n| Contract         | Selector         | Calls | Reverts | Discards |\n+==================================================================+\n| LifecycleHandler | deliver          | 1103  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | deliverAndVerify | 1204  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | donate           | 1147  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | fail             | 1177  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | fundReserve      | 1199  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | longWait         | 1204  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | pay              | 1165  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | refund           | 1162  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | reject           | 1221  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | settle           | 1203  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | topUp            | 1212  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | verify           | 1196  | 0       | 0        |\n|------------------+------------------+-------+---------+----------|\n| LifecycleHandler | wait             | 1167  | 0       | 0        |\n╰------------------+------------------+-------+---------+----------╯\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 7.67s (7.67s CPU time)\n\nRan 9 test suites in 7.68s (12.89s CPU time): 155 tests passed, 0 failed, 15 skipped (170 total tests)\n","passed":true},{"durationMs":116,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"ImdPicksEscrow.onFailure(bytes32,uint8,bytes32,uint16,uint16,bytes)\",\"ImdPicksEscrow.onResult(bytes32,bytes32,string)\",\"ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes)\",\"ImdPicksEscrow.refund(bytes32)\",\"ImdPicksEscrow.rejectDelivery(bytes32,bytes32)\",\"ImdPicksEscrow.settle(bytes32)\",\"ImdPicksEscrow.verifyDelivery(bytes32,bytes32,bytes32)\",\"ImdPicksRefundReserve.fund(uint256)\",\"ImdPicksRefundReserve.topUp(bytes32)\"],\"files\":{\".gitignore\":9,\"ADAPTATION.md\":193,\"DESIGN.md\":173,\"README.md\":753,\"artifacts/render-results.txt\":16,\"artifacts/samples/recovered-ufc-report.v2.json\":3058,\"artifacts/taste-results.txt\":17,\"artifacts/unit-results.txt\":51,\"artifacts/validation.md\":156,\"contracts/abi/ImdPicksEscrow.json\":1417,\"contracts/abi/ImdPicksRefundReserve.json\":327,\"contracts/deploy.sh\":31,\"contracts/integration.mainnet.json\":51,\"contracts/test.sh\":16,\"dist/assets/ccip-BfrJC5Ha.js\":1,\"dist/assets/index-CMMfdzWJ.js\":101,\"dist/assets/index-gHn7bocS.css\":1,\"dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2\":207,\"dist/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2\":105,\"dist/favicon.svg\":1,\"dist/img/football.webp\":85,\"dist/img/hero.webp\":1034,\"dist/img/mlb.webp\":175,\"dist/img/nba.webp\":41,\"dist/img/nfl.webp\":183,\"dist/img/nhl.webp\":81,\"dist/img/tennis.webp\":69,\"dist/img/ufc.webp\":78,\"dist/index.html\":29,\"dist/og.jpg\":393,\"docs/ACTIVATION.md\":177,\"docs/KNOWLEDGE_ENGINE.md\":32,\"docs/LAUNCH.md\":153,\"docs/OPERATIONS.md\":186,\"docs/PAYMENT_ENGINE.md\":129,\"docs/SECURITY_AUDIT.md\":162,\"docs/V10_REPORT.md\":125,\"docs/V8_REPORT.md\":171,\"docs/validation/contracts-fork-results-launch.txt\":21,\"docs/validation/contracts-fork-results-v10.txt\":485,\"docs/validation/contracts-fork-results-v9.1.txt\":27,\"docs/validation/contracts-test-results-launch.txt\":159,\"docs/validation/contracts-test-results-v10-1.txt\":612,\"docs/validation/contracts-test-results-v10.txt\":598,\"docs/validation/contracts-test-results-v8.txt\":525,\"docs/validation/contracts-test-results-v9.txt\":115,\"docs/validation/contracts-test-results.txt\":656,\"docs/validation/deploy-dry-run-v10-1.txt\":38,\"docs/validation/deploy-dry-run-v10.txt\":38,\"docs/validation/deploy-dry-run.txt\":29,\"docs/validation/engine-e2e-results.txt\":28,\"docs/validation/engine-tests-v8.txt\":18,\"docs/validation/indexer-test-results-v8.txt\":20,\"docs/validation/indexer-test-results.txt\":14,\"docs/validation/knowledge-ingest-results.txt\":6,\"docs/validation/render-escrow-results.txt\":5,\"docs/validation/taste-results-v10-1.txt\":116,\"docs/validation/taste-results-v10.txt\":18,\"docs/validation/taste-results-v9.1.txt\":17,\"docs/validation/taste-results.txt\":17,\"docs/validation/web-interaction-v10.txt\":38,\"docs/validation/web-interaction-v9.1.json\":41,\"docs/validation/web-tests-v10.txt\":62,\"docs/validation/web-tests-v9.1.txt\":65,\"docs/validation/web-tests-v9.2.txt\":60,\"docs/validation/web-tests-v9.txt\":27,\"foundry.toml\":19,\"script/Deploy.s.sol\":107,\"src/ImdPicksEscrow.sol\":595,\"src/ImdPicksRefundReserve.sol\":172,\"src/Interfaces.sol\":39,\"test/ImdPicksAdversarial.t.sol\":511,\"test/ImdPicksEscrow.fork.t.sol\":410,\"test/ImdPicksEscrow.invariant.t.sol\":252,\"test/ImdPicksEscrow.t.sol\":901,\"test/ImdPicksLifecycle.invariant.t.sol\":384,\"test/ImdPicksRefundReserve.t.sol\":259,\"test/ImdPicksWalletGas.t.sol\":242,\"test/LaunchAdaptation.t.sol\":500,\"test/lib/forge-std/LICENSE-APACHE\":203,\"test/lib/forge-std/LICENSE-MIT\":25,\"test/lib/forge-std/src/Base.sol\":48,\"test/lib/forge-std/src/Config.sol\":60,\"test/lib/forge-std/src/LibVariable.sol\":477,\"test/lib/forge-std/src/Script.sol\":30,\"test/lib/forge-std/src/StdAssertions.sol\":1300,\"test/lib/forge-std/src/StdChains.sol\":316,\"test/lib/forge-std/src/StdCheats.sol\":923,\"test/lib/forge-std/src/StdConfig.sol\":672,\"test/lib/forge-std/src/StdConstants.sol\":30,\"test/lib/forge-std/src/StdError.sol\":33,\"test/lib/forge-std/src/StdInvariant.sol\":161,\"test/lib/forge-std/src/StdJson.sol\":331,\"test/lib/forge-std/src/StdMath.sol\":68,\"test/lib/forge-std/src/StdSecp256k1.sol\":119,\"test/lib/forge-std/src/StdStorage.sol\":612,\"test/lib/forge-std/src/StdStyle.sol\":410,\"test/lib/forge-std/src/StdToml.sol\":323,\"test/lib/forge-std/src/StdUtils.sol\":247,\"test/lib/forge-std/src/Test.sol\":34,\"test/lib/forge-std/src/Vm.sol\":3130,\"test/lib/forge-std/src/console.sol\":1599,\"test/lib/forge-std/src/console2.sol\":4,\"test/lib/forge-std/src/interfaces/IERC1155.sol\":105,\"test/lib/forge-std/src/interfaces/IERC165.sol\":12,\"test/lib/forge-std/src/interfaces/IERC20.sol\":43,\"test/lib/forge-std/src/interfaces/IERC4626.sol\":190,\"test/lib/forge-std/src/interfaces/IERC6909.sol\":72,\"test/lib/forge-std/src/interfaces/IERC721.sol\":164,\"test/lib/forge-std/src/interfaces/IERC7540.sol\":145,\"test/lib/forge-std/src/interfaces/IERC7575.sol\":241,\"test/lib/forge-std/src/interfaces/IMulticall3.sol\":68,\"test/lib/forge-std/src/safeconsole.sol\":13248,\"test/utils/Base.sol\":65,\"test/utils/Fixture.sol\":80,\"test/utils/GasFloorIntake.sol\":118,\"test/utils/Mocks.sol\":183,\"test/utils/WalletGas.sol\":76,\"web/index.html\":28,\"web/package-lock.json\":1995,\"web/package.json\":24,\"web/public/favicon.svg\":1,\"web/public/img/football.webp\":85,\"web/public/img/hero.webp\":1034,\"web/public/img/mlb.webp\":175,\"web/public/img/nba.webp\":41,\"web/public/img/nfl.webp\":183,\"web/public/img/nhl.webp\":81,\"web/public/img/tennis.webp\":69,\"web/public/img/ufc.webp\":78,\"web/public/og.jpg\":393,\"web/scripts/gen-abi.mjs\":6,\"web/scripts/i18n-check.mjs\":87,\"web/server/indexer.test.mjs\":499,\"web/server/indexer.ts\":495,\"web/server/knowledge/ingest.ts\":106,\"web/server/knowledge/migrations/001_init.sql\":67,\"web/server/knowledge/migrations/002_scoped_aliases_confirmations.sql\":43,\"web/server/knowledge/sources.ts\":63,\"web/server/knowledge/store.ts\":80,\"web/server/knowledge/track.ts\":114,\"web/server/node-shim.d.ts\":31,\"web/server/tsconfig.json\":5,\"web/src/backtest.ts\":219,\"web/src/charts.tsx\":59,\"web/src/checkout.tsx\":219,\"web/src/config.ts\":154,\"web/src/engine/abi.ts\":1418,\"web/src/engine/deadline.ts\":147,\"web/src/engine/labels.ts\":7,\"web/src/engine/legs.ts\":61,\"web/src/engine/pricing.ts\":84,\"web/src/engine/report.ts\":179,\"web/src/engine/reserve.ts\":70,\"web/src/engine/sdk.ts\":428,\"web/src/escrow.tsx\":349,\"web/src/fonts/inter-latin-wght-normal.woff2\":207,\"web/src/fonts/space-grotesk-latin-wght-normal.woff2\":105,\"web/src/games.tsx\":482,\"web/src/i18n-flow.ts\":219,\"web/src/i18n-langs.ts\":198,\"web/src/i18n-pay.ts\":349,\"web/src/i18n-ui/es.ts\":412,\"web/src/i18n-ui/fr.ts\":19,\"web/src/i18n-ui/index.ts\":32,\"web/src/i18n-ui/it.ts\":412,\"web/src/i18n-ui/ja.ts\":412,\"web/src/i18n-ui/keys.ts\":379,\"web/src/i18n-ui/pcm.ts\":412,\"web/src/i18n-ui/pt.ts\":412,\"web/src/i18n-ui/ru.ts\":412,\"web/src/i18n-ui/th.ts\":412,\"web/src/i18n-ui/v10.ts\":169,\"web/src/i18n-ui/v11.ts\":122,\"web/src/i18n-ui/v12.ts\":409,\"web/src/i18n-ui/v13.ts\":88,\"web/src/i18n-ui/v14.ts\":81,\"web/src/i18n-ui/v15.ts\":60,\"web/src/i18n-ui/v5.ts\":307,\"web/src/i18n-ui/v6.ts\":173,\"web/src/i18n-ui/v7.ts\":151,\"web/src/i18n-ui/v8.ts\":142,\"web/src/i18n-ui/v9.ts\":79,\"web/src/i18n-ui/zh.ts\":412,\"web/src/i18n.ts\":122,\"web/src/insight.ts\":78,\"web/src/main.tsx\":209,\"web/src/markdown.tsx\":72,\"web/src/orders.ts\":261,\"web/src/pages.tsx\":1058,\"web/src/predict.ts\":360,\"web/src/prefs.ts\":43,\"web/src/styles.css\":403,\"web/src/swap.tsx\":153,\"web/src/swarm.ts\":667,\"web/src/tiers.tsx\":52,\"web/src/wallet.tsx\":241,\"web/tests/engine.test.mjs\":106,\"web/tests/knowledge.test.mjs\":153,\"web/tests/pricing.test.mjs\":60,\"web/tests/revision-v10-1.test.mjs\":120,\"web/tests/revision.test.mjs\":98,\"web/tsconfig.json\":7,\"web/vite.config.ts\":5},\"excluded\":[\"lib/\",\"contracts/lib/\",\"node_modules/\"],\"truncated\":false}","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"332ed7f19f44c0ea2ce13b61a8d717175bd38b6ee28fa0a79ee51bc53eaf40a0","verifiedTreeHash":"eaebe23e4080bfd50412106ea4956043563f9a91","verifierVersion":"0.1.0+0ce771de"},{"checks":[{"durationMs":2548,"exitCode":0,"name":"build","output":"Compiling 12 files with Solc 0.8.28\nSolc 0.8.28 finished in 2.48s\nCompiler run successful!\n","passed":true},{"durationMs":2480,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 15 tests for test/ImdPicksRefundReserve.t.sol:ImdPicksRefundReserveTest\n[PASS] testFuzz_outcomes_neverOverRefund(uint8,uint256) (runs: 1000, μ: 3708270, ~: 3109546)\n[PASS] test_V10_tiers_fullRefund_escrowPlusHalfImd() (gas: 1679121)\n[PASS] test_V8_intakeCompletedWithoutEscrowRecord_notToppedUp() (gas: 841654)\n[PASS] test_V8_lateReport_notToppedUp() (gas: 886858)\n[PASS] test_V8_reportAfterTimeoutRefund_notToppedUp() (gas: 958522)\n[PASS] test_failedOrder_fullRefund_exactlyOneImd() (gas: 940754)\n[PASS] test_feeOnTransfer_rejected() (gas: 176826)\n[PASS] test_noAdminSurface() (gas: 140493)\n[PASS] test_nonEscrow_refusedOnFirstUse() (gas: 193017)\n[PASS] test_notRefundedStates_notEligible() (gas: 1768712)\n[PASS] test_onlyOnce() (gas: 950096)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1012443)\n[PASS] test_refusedOrder_notToppedUp() (gas: 792957)\n[PASS] test_reserveTooLow_revertsThenWorksAfterFunding() (gas: 3767292)\n[PASS] test_timeoutOrder_fullRefund() (gas: 783947)\nSuite result: ok. 15 passed; 0 failed; 0 skipped; finished in 373.97ms (380.96ms CPU time)\n\nRan 4 tests for test/LaunchAdaptation.t.sol:LaunchRehearsalTest\n[PASS] test_launch_bothContracts_deployInOneCall_onAnEmptyChain() (gas: 4227775)\n[PASS] test_launch_constructorsAreOrderIndependent() (gas: 4188660)\n[PASS] test_launch_noOwnerOrAdminSurface() (gas: 4622680)\n[PASS] test_launch_runtimeSize_andNoForbiddenOpcodes() (gas: 11784937)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 373.92ms (15.54ms CPU time)\n\nRan 15 tests for test/ImdPicksEscrow.fork.t.sol:ImdPicksEscrowForkTest\n[SKIP] test_fork_V10_1_pinnedTreasury_and_payToChange_reverts() (gas: 0)\n[SKIP] test_fork_V10_tier3_failure_refund() (gas: 0)\n[SKIP] test_fork_V10_tiers_realIntake_settle() (gas: 0)\n[SKIP] test_fork_V1_resultArgsNamingAnotherRequest_ignored() (gas: 0)\n[SKIP] test_fork_gasFigures() (gas: 0)\n[SKIP] test_fork_launch_failureAfterTimeoutRefund_recorded_toppedUp() (gas: 0)\n[SKIP] test_fork_launch_liveFacts() (gas: 0)\n[SKIP] test_fork_launch_rejectedDelivery_notToppedUp() (gas: 0)\n[SKIP] test_fork_launch_shortDeadline_reverts_noCharge() (gas: 0)\n[SKIP] test_fork_realIntake_failure_refund() (gas: 0)\n[SKIP] test_fork_realTokenAndIntake_settle() (gas: 0)\n[SKIP] test_fork_refundReserve_fullRefund() (gas: 0)\n[SKIP] test_fork_refusedOrder_onlyRefund_noSecondCharge() (gas: 0)\n[SKIP] test_fork_starvedCallback_timeoutRefund() (gas: 0)\n[SKIP] test_fork_tokenFacts() (gas: 0)\nSuite result: ok. 0 passed; 0 failed; 15 skipped; finished in 374.32ms (31.78ms CPU time)\n\nRan 22 tests for test/LaunchAdaptation.t.sol:LaunchAdaptationTest\n[PASS] testFuzz_01d7_window(uint8,uint32) (runs: 1000, μ: 312244, ~: 507217)\n[PASS] test_01d7_everyEventCount_floorIsExact() (gas: 6359686)\n[PASS] test_01d7_floorConstants() (gas: 271829)\n[PASS] test_01d7_siteDeadlines_accepted() (gas: 2416013)\n[PASS] test_01d7_tenMinuteDeadline_fourteenEvents_reverts_noCharge() (gas: 101863)\n[PASS] test_6809_understatedCount_rejected_costsSwarmShare_reserveRefuses() (gas: 932641)\n[PASS] test_9872_enumValuesStable() (gas: 493)\n[PASS] test_9872_noReportOutcomes_stillToppedUp() (gas: 1606638)\n[PASS] test_9872_rejectedDelivery_notToppedUp() (gas: 993699)\n[PASS] test_9872_repeatedRejections_cannotDrainReserve() (gas: 13909635)\n[PASS] test_9872_unattestedDelivery_notToppedUp() (gas: 848130)\n[PASS] test_f44a_control_failureBeforeRefund_sameOutcome() (gas: 949583)\n[PASS] test_f44a_emptyResultAfterTimeoutRefund_isFailure_toppedUp() (gas: 1687050)\n[PASS] test_f44a_failureAfterTimeoutRefund_recorded_andToppedUp() (gas: 1138595)\n[PASS] test_f44a_failureCallback_onlyRecordsTimeoutRefunds() (gas: 872289)\n[PASS] test_f44a_failureWithoutCallback_stillRefused() (gas: 765000)\n[PASS] test_f44a_refusalAfterTimeoutRefund_recorded_notToppedUp() (gas: 857250)\n[PASS] test_f44a_reportAfterTimeoutRefund_stillLate_secondOutcomeIgnored() (gas: 986525)\n[PASS] test_launch_reserveConstructor_makesNoCall_checksOnFirstUse() (gas: 1382301)\n[PASS] test_launch_reserveConstructor_zeroEscrow_reverts() (gas: 193169)\n[PASS] test_launch_reserve_realEscrow_passesCheck() (gas: 30738)\n[PASS] test_launch_reserve_wrongContract_refusedOnFundAndTopUp() (gas: 1429319)\nSuite result: ok. 22 passed; 0 failed; 0 skipped; finished in 374.37ms (316.78ms CPU time)\n\nRan 70 tests for test/ImdPicksEscrow.t.sol:ImdPicksEscrowTest\n[PASS] testFuzz_V10_1_anyOtherTreasury_reverts(address,uint8) (runs: 1000, μ: 367400, ~: 367549)\n[PASS] testFuzz_V10_refundPlusSwarmIsPrice(uint8,uint8) (runs: 1000, μ: 773664, ~: 800936)\n[PASS] testFuzz_V10_splitOf_rejectsNonTier(uint256) (runs: 1000, μ: 9563, ~: 9563)\n[PASS] testFuzz_V8_settleXorRefund(uint32,bool) (runs: 1000, μ: 784164, ~: 683509)\n[PASS] testFuzz_V9_tierChargeAndSplit(uint8,bool) (runs: 1000, μ: 899416, ~: 750291)\n[PASS] testFuzz_invalidEvents_revert(uint8) (runs: 1000, μ: 91545, ~: 91546)\n[PASS] testFuzz_outcomes_conserveValue(uint8,uint256) (runs: 1000, μ: 4366550, ~: 3496795)\n[PASS] testFuzz_pay_anyValidInput(bytes32,uint8,uint16,uint256) (runs: 1000, μ: 601591, ~: 566913)\n[PASS] test_V10_1_swarmTreasuryChanged_reverts_noCharge() (gas: 907237)\n[PASS] test_V10_distributionOf_everyEventCount() (gas: 108781)\n[PASS] test_V10_intakeAbove05_blocksEveryTier_noCharge() (gas: 968771)\n[PASS] test_V10_splitExact_allTiers() (gas: 32530)\n[PASS] test_V10_splitOf_onlyTierPrices() (gas: 61153)\n[PASS] test_V10_tier1_fourEvents_settle() (gas: 1017083)\n[PASS] test_V1_callbackForUncompletedRequest_ignored() (gas: 636320)\n[PASS] test_V1_resultArgsNamingAnotherOpenRequest_ignored() (gas: 1401441)\n[PASS] test_V81_onlyVerifier_rightHash_insideWindow() (gas: 792107)\n[PASS] test_V81_reject_refundsAtOnce_neverSettles() (gas: 859369)\n[PASS] test_V81_settle_requiresVerifiedArtifacts() (gas: 976953)\n[PASS] test_V81_unverifiedDelivery_refundableAfterWindow() (gas: 900262)\n[PASS] test_V81_verifiedDelivery_neverRefundable() (gas: 781268)\n[PASS] test_V81_zeroVerifier_rejected() (gas: 301790)\n[PASS] test_V8_badDeadline_reverts_noCharge() (gas: 570793)\n[PASS] test_V8_deadlineBoundary_exactSecond() (gas: 1738493)\n[PASS] test_V8_lateDelivery_beforeRefund_isLate_refundedNotSettled() (gas: 1026928)\n[PASS] test_V8_race_refundThenLateReport_recordedNoFunds() (gas: 974408)\n[PASS] test_V8_unverifiableArtifact_isFailure() (gas: 816145)\n[PASS] test_V9_boundaries_1_4_5_9_10_14_charge() (gas: 2560977)\n[PASS] test_V9_priceBoundaries() (gas: 70659)\n[PASS] test_V9_priceFor_outOfRange_reverts() (gas: 18504)\n[PASS] test_V9_priceMismatch_reverts_noCharge() (gas: 126024)\n[PASS] test_V9_refund_scalesByTier() (gas: 1330995)\n[PASS] test_V9_tier2Approval_tooLowFor_tier3_reverts() (gas: 283823)\n[PASS] test_V9_tier2_fiveEvents_settle() (gas: 1054530)\n[PASS] test_V9_tier3_fourteenEvents_settle() (gas: 1032065)\n[PASS] test_badEventCounts_revert() (gas: 952554)\n[PASS] test_callbackStarved_timeoutRefund() (gas: 742596)\n[PASS] test_callbacks_onlyIntake() (gas: 552091)\n[PASS] test_constants_exactSplit() (gas: 34596)\n[PASS] test_customerDebit_isExactlyOneImd_onDelivery() (gas: 1007023)\n[PASS] test_deliveredOrder_notRefundable() (gas: 767514)\n[PASS] test_duplicateOrder_reverts_noSecondCharge() (gas: 588606)\n[PASS] test_failedOrder_cannotBeChargedAgain_byPayerOrAnyone() (gas: 853725)\n[PASS] test_failedTransferToRecipient_revertsWholeSettle() (gas: 1303046)\n[PASS] test_failureWithoutArgs_noCallback_timeoutRefund() (gas: 710507)\n[PASS] test_failure_refundToPayer_byAnyone() (gas: 867049)\n[PASS] test_falseReturningToken_rejected() (gas: 322960)\n[PASS] test_feeOnTransferToken_rejected() (gas: 367107)\n[PASS] test_insufficientApproval_reverts() (gas: 284130)\n[PASS] test_intakeNotSelling_reverts() (gas: 358962)\n[PASS] test_intakePriceAboveShare_reverts_noCharge() (gas: 366898)\n[PASS] test_intakePriceBelowShare_stillFundsFullShare() (gas: 544193)\n[PASS] test_largerApproval_onlyOneImdTaken() (gas: 520934)\n[PASS] test_lateCallback_afterTimeoutRefund_ignored() (gas: 672482)\n[PASS] test_lateResult_afterTimeoutRefund_ignored() (gas: 848556)\n[PASS] test_noAdminSurface() (gas: 5665)\n[PASS] test_onResult_gasUnderStipend_longUri() (gas: 1057545)\n[PASS] test_orderId_boundToPayer_noSquatting() (gas: 876286)\n[PASS] test_orderId_includesChainAndContract() (gas: 2664244)\n[PASS] test_pay_pullsOneImd_fundsSwarm_escrowsHalf() (gas: 633643)\n[PASS] test_reentrancy_refundDuringPay_blocked() (gas: 606681)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1112566)\n[PASS] test_refundThenNewOrder_isASeparateOneImdAnalysis() (gas: 1606556)\n[PASS] test_refund_beforeTimeout_reverts_afterTimeout_ok() (gas: 727084)\n[PASS] test_refusal_status1_refundable() (gas: 774554)\n[PASS] test_settle_beforeDelivery_reverts() (gas: 533975)\n[PASS] test_settle_exactDistribution() (gas: 1136501)\n[PASS] test_settle_unknownOrder_reverts() (gas: 37326)\n[PASS] test_staleCallback_afterFailure_ignored() (gas: 714841)\n[PASS] test_unknownRequestCallback_ignored() (gas: 64056)\nSuite result: ok. 70 passed; 0 failed; 0 skipped; finished in 374.38ms (2.78s CPU time)\n\nRan 1 test for test/ImdPicksEscrow.invariant.t.sol:ImdPicksEscrowInvariantTest\n[PASS]\nImdPicksEscrowInvariantTest invariants:\n[PASS] invariant_balanceEqualsEscrow\n[PASS] invariant_conservation\n[PASS] invariant_noStandingApproval\n[PASS] invariant_reserve\n[PASS] invariant_split\n ImdPicksEscrowInvariantTest invariants (runs: 128, calls: 7680, reverts: 0)\n\n╭----------+-------------+-------+---------+----------╮\n| Contract | Selector    | Calls | Reverts | Discards |\n+=====================================================+\n| Handler  | attack      | 740   | 0       | 15       |\n|----------+-------------+-------+---------+----------|\n| Handler  | deliver     | 783   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fail        | 751   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fundReserve | 795   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | pay         | 787   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | refund      | 783   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | reject      | 776   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | settle      | 795   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | topUp       | 746   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | wait        | 739   | 0       | 0        |\n╰----------+-------------+-------+---------+----------╯\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 2.40s (2.40s CPU time)\n\nRan 6 test suites in 2.41s (4.27s CPU time): 112 tests passed, 0 failed, 15 skipped (127 total tests)\n","passed":true},{"durationMs":92,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"ImdPicksEscrow.onFailure(bytes32,uint8,bytes32,uint16,uint16,bytes)\",\"ImdPicksEscrow.onResult(bytes32,bytes32,string)\",\"ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes)\",\"ImdPicksEscrow.refund(bytes32)\",\"ImdPicksEscrow.rejectDelivery(bytes32,bytes32)\",\"ImdPicksEscrow.settle(bytes32)\",\"ImdPicksEscrow.verifyDelivery(bytes32,bytes32,bytes32)\",\"ImdPicksRefundReserve.fund(uint256)\",\"ImdPicksRefundReserve.topUp(bytes32)\"],\"files\":{\".gitignore\":9,\"ADAPTATION.md\":193,\"DESIGN.md\":173,\"README.md\":753,\"artifacts/render-results.txt\":16,\"artifacts/samples/recovered-ufc-report.v2.json\":3058,\"artifacts/taste-results.txt\":17,\"artifacts/unit-results.txt\":51,\"artifacts/validation.md\":156,\"contracts/abi/ImdPicksEscrow.json\":1417,\"contracts/abi/ImdPicksRefundReserve.json\":327,\"contracts/deploy.sh\":31,\"contracts/integration.mainnet.json\":51,\"contracts/test.sh\":16,\"dist/assets/ccip-BfrJC5Ha.js\":1,\"dist/assets/index-CMMfdzWJ.js\":101,\"dist/assets/index-gHn7bocS.css\":1,\"dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2\":207,\"dist/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2\":105,\"dist/favicon.svg\":1,\"dist/img/football.webp\":85,\"dist/img/hero.webp\":1034,\"dist/img/mlb.webp\":175,\"dist/img/nba.webp\":41,\"dist/img/nfl.webp\":183,\"dist/img/nhl.webp\":81,\"dist/img/tennis.webp\":69,\"dist/img/ufc.webp\":78,\"dist/index.html\":29,\"dist/og.jpg\":393,\"docs/ACTIVATION.md\":177,\"docs/KNOWLEDGE_ENGINE.md\":32,\"docs/LAUNCH.md\":153,\"docs/OPERATIONS.md\":186,\"docs/PAYMENT_ENGINE.md\":129,\"docs/SECURITY_AUDIT.md\":162,\"docs/V10_REPORT.md\":125,\"docs/V8_REPORT.md\":171,\"docs/validation/contracts-fork-results-launch.txt\":21,\"docs/validation/contracts-fork-results-v10.txt\":485,\"docs/validation/contracts-fork-results-v9.1.txt\":27,\"docs/validation/contracts-test-results-launch.txt\":159,\"docs/validation/contracts-test-results-v10-1.txt\":612,\"docs/validation/contracts-test-results-v10.txt\":598,\"docs/validation/contracts-test-results-v8.txt\":525,\"docs/validation/contracts-test-results-v9.txt\":115,\"docs/validation/contracts-test-results.txt\":656,\"docs/validation/deploy-dry-run-v10-1.txt\":38,\"docs/validation/deploy-dry-run-v10.txt\":38,\"docs/validation/deploy-dry-run.txt\":29,\"docs/validation/engine-e2e-results.txt\":28,\"docs/validation/engine-tests-v8.txt\":18,\"docs/validation/indexer-test-results-v8.txt\":20,\"docs/validation/indexer-test-results.txt\":14,\"docs/validation/knowledge-ingest-results.txt\":6,\"docs/validation/render-escrow-results.txt\":5,\"docs/validation/taste-results-v10-1.txt\":116,\"docs/validation/taste-results-v10.txt\":18,\"docs/validation/taste-results-v9.1.txt\":17,\"docs/validation/taste-results.txt\":17,\"docs/validation/web-interaction-v10.txt\":38,\"docs/validation/web-interaction-v9.1.json\":41,\"docs/validation/web-tests-v10.txt\":62,\"docs/validation/web-tests-v9.1.txt\":65,\"docs/validation/web-tests-v9.2.txt\":60,\"docs/validation/web-tests-v9.txt\":27,\"foundry.toml\":19,\"script/Deploy.s.sol\":107,\"src/ImdPicksEscrow.sol\":595,\"src/ImdPicksRefundReserve.sol\":172,\"src/Interfaces.sol\":39,\"test/ImdPicksEscrow.fork.t.sol\":410,\"test/ImdPicksEscrow.invariant.t.sol\":252,\"test/ImdPicksEscrow.t.sol\":901,\"test/ImdPicksRefundReserve.t.sol\":259,\"test/LaunchAdaptation.t.sol\":500,\"test/utils/Base.sol\":65,\"test/utils/Fixture.sol\":80,\"test/utils/Mocks.sol\":183,\"web/index.html\":28,\"web/package-lock.json\":1995,\"web/package.json\":24,\"web/public/favicon.svg\":1,\"web/public/img/football.webp\":85,\"web/public/img/hero.webp\":1034,\"web/public/img/mlb.webp\":175,\"web/public/img/nba.webp\":41,\"web/public/img/nfl.webp\":183,\"web/public/img/nhl.webp\":81,\"web/public/img/tennis.webp\":69,\"web/public/img/ufc.webp\":78,\"web/public/og.jpg\":393,\"web/scripts/gen-abi.mjs\":6,\"web/scripts/i18n-check.mjs\":87,\"web/server/indexer.test.mjs\":499,\"web/server/indexer.ts\":495,\"web/server/knowledge/ingest.ts\":106,\"web/server/knowledge/migrations/001_init.sql\":67,\"web/server/knowledge/migrations/002_scoped_aliases_confirmations.sql\":43,\"web/server/knowledge/sources.ts\":63,\"web/server/knowledge/store.ts\":80,\"web/server/knowledge/track.ts\":114,\"web/server/node-shim.d.ts\":31,\"web/server/tsconfig.json\":5,\"web/src/backtest.ts\":219,\"web/src/charts.tsx\":59,\"web/src/checkout.tsx\":219,\"web/src/config.ts\":154,\"web/src/engine/abi.ts\":1418,\"web/src/engine/deadline.ts\":147,\"web/src/engine/labels.ts\":7,\"web/src/engine/legs.ts\":61,\"web/src/engine/pricing.ts\":84,\"web/src/engine/report.ts\":179,\"web/src/engine/reserve.ts\":70,\"web/src/engine/sdk.ts\":428,\"web/src/escrow.tsx\":349,\"web/src/fonts/inter-latin-wght-normal.woff2\":207,\"web/src/fonts/space-grotesk-latin-wght-normal.woff2\":105,\"web/src/games.tsx\":482,\"web/src/i18n-flow.ts\":219,\"web/src/i18n-langs.ts\":198,\"web/src/i18n-pay.ts\":349,\"web/src/i18n-ui/es.ts\":412,\"web/src/i18n-ui/fr.ts\":19,\"web/src/i18n-ui/index.ts\":32,\"web/src/i18n-ui/it.ts\":412,\"web/src/i18n-ui/ja.ts\":412,\"web/src/i18n-ui/keys.ts\":379,\"web/src/i18n-ui/pcm.ts\":412,\"web/src/i18n-ui/pt.ts\":412,\"web/src/i18n-ui/ru.ts\":412,\"web/src/i18n-ui/th.ts\":412,\"web/src/i18n-ui/v10.ts\":169,\"web/src/i18n-ui/v11.ts\":122,\"web/src/i18n-ui/v12.ts\":409,\"web/src/i18n-ui/v13.ts\":88,\"web/src/i18n-ui/v14.ts\":81,\"web/src/i18n-ui/v15.ts\":60,\"web/src/i18n-ui/v5.ts\":307,\"web/src/i18n-ui/v6.ts\":173,\"web/src/i18n-ui/v7.ts\":151,\"web/src/i18n-ui/v8.ts\":142,\"web/src/i18n-ui/v9.ts\":79,\"web/src/i18n-ui/zh.ts\":412,\"web/src/i18n.ts\":122,\"web/src/insight.ts\":78,\"web/src/main.tsx\":209,\"web/src/markdown.tsx\":72,\"web/src/orders.ts\":261,\"web/src/pages.tsx\":1058,\"web/src/predict.ts\":360,\"web/src/prefs.ts\":43,\"web/src/styles.css\":403,\"web/src/swap.tsx\":153,\"web/src/swarm.ts\":667,\"web/src/tiers.tsx\":52,\"web/src/wallet.tsx\":241,\"web/tests/engine.test.mjs\":106,\"web/tests/knowledge.test.mjs\":153,\"web/tests/pricing.test.mjs\":60,\"web/tests/revision-v10-1.test.mjs\":120,\"web/tests/revision.test.mjs\":98,\"web/tsconfig.json\":7,\"web/vite.config.ts\":5},\"excluded\":[\"lib/\",\"contracts/lib/\",\"node_modules/\"],\"truncated\":false}","passed":true},{"durationMs":966,"exitCode":0,"name":"slither","output":"[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:580: Reentrancy in ImdPicksEscrow._send(address,uint256) (src/ImdPicksEscrow.sol#580-585):\n[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:539: Reentrancy in ImdPicksEscrow._submit(bytes32,bytes,uint256) (src/ImdPicksEscrow.sol#539-563):\n[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:572: Reentrancy in ImdPicksEscrow._pull(uint256) (src/ImdPicksEscrow.sol#572-577):\n[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:539: Reentrancy in ImdPicksEscrow._submit(bytes32,bytes,uint256) (src/ImdPicksEscrow.sol#539-563):\n[high/medium] reentrancy-balance at src/ImdPicksRefundReserve.sol:148: Reentrancy in ImdPicksRefundReserve.topUp(bytes32) (src/ImdPicksRefundReserve.sol#148-163):\n[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:539: Reentrancy in ImdPicksEscrow._submit(bytes32,bytes,uint256) (src/ImdPicksEscrow.sol#539-563):\n[high/medium] reentrancy-balance at src/ImdPicksRefundReserve.sol:135: Reentrancy in ImdPicksRefundReserve.fund(uint256) (src/ImdPicksRefundReserve.sol#135-144):\n[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:539: Reentrancy in ImdPicksEscrow._submit(bytes32,bytes,uint256) (src/ImdPicksEscrow.sol#539-563):\n[medium/high] incorrect-equality at src/ImdPicksEscrow.sol:588: ImdPicksEscrow._call(bytes) (src/ImdPicksEscrow.sol#588-594) uses a dangerous strict equality:\n[medium/medium] reentrancy-no-eth at src/ImdPicksEscrow.sol:323: Reentrancy in ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes) (src/ImdPicksEscrow.sol#323-363):\n[medium/medium] unused-return at src/ImdPicksRefundReserve.sol:119: ImdPicksRefundReserve.eligibility(bytes32) (src/ImdPicksRefundReserve.sol#119-132) ignores return value by (None,None,None,completed) = IIntake(address(ESCROW.INTAKE())).requests(o.requestId) (src/ImdPicksRefundReserve.sol#129)\n[medium/medium] unused-return at src/ImdPicksEscrow.sol:525: ImdPicksEscrow._completedByIntake(bytes32) (src/ImdPicksEscrow.sol#525-528) ignores return value by (payer,None,None,completed) = INTAKE.requests(requestId) (src/ImdPicksEscrow.sol#526)\n[low/medium] reentrancy-benign at src/ImdPicksRefundReserve.sol:135: Reentrancy in ImdPicksRefundReserve.fund(uint256) (src/ImdPicksRefundReserve.sol#135-144):\n[low/medium] reentrancy-benign at src/ImdPicksEscrow.sol:323: Reentrancy in ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes) (src/ImdPicksEscrow.sol#323-363):\n[low/medium] reentrancy-benign at src/ImdPicksEscrow.sol:539: Reentrancy in ImdPicksEscrow._submit(bytes32,bytes,uint256) (src/ImdPicksEscrow.sol#539-563):\n[low/medium] timestamp at src/ImdPicksEscrow.sol:413: ImdPicksEscrow.verifyDelivery(bytes32,bytes32,bytes32) (src/ImdPicksEscrow.sol#413-423) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksEscrow.sol:445: ImdPicksEscrow.onResult(bytes32,bytes32,string) (src/ImdPicksEscrow.sol#445-490) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksEscrow.sol:323: ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes) (src/ImdPicksEscrow.sol#323-363) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksEscrow.sol:298: ImdPicksEscrow.refundable(bytes32) (src/ImdPicksEscrow.sol#298-309) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksEscrow.sol:588: ImdPicksEscrow._call(bytes) (src/ImdPicksEscrow.sol#588-594) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksRefundReserve.sol:119: ImdPicksRefundReserve.eligibility(bytes32) (src/ImdPicksRefundReserve.sol#119-132) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksEscrow.sol:580: ImdPicksEscrow._send(address,uint256) (src/ImdPicksEscrow.sol#580-585) uses timestamp for comparisons","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"3f19942a970ced72a95d1c29ab7e2f3db0ccf782f71d8dc4103f40bc5e14b907","verifiedTreeHash":"240d6280f65dacf0946771d057458eb24b03491d","verifierVersion":"0.1.0+0ce771de"},{"checks":[{"durationMs":2786,"exitCode":0,"name":"build","output":"Compiling 12 files with Solc 0.8.28\nSolc 0.8.28 finished in 2.72s\nCompiler run successful!\n","passed":true},{"durationMs":2516,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 15 tests for test/ImdPicksEscrow.fork.t.sol:ImdPicksEscrowForkTest\n[SKIP] test_fork_V10_1_pinnedTreasury_and_payToChange_reverts() (gas: 0)\n[SKIP] test_fork_V10_tier3_failure_refund() (gas: 0)\n[SKIP] test_fork_V10_tiers_realIntake_settle() (gas: 0)\n[SKIP] test_fork_V1_resultArgsNamingAnotherRequest_ignored() (gas: 0)\n[SKIP] test_fork_gasFigures() (gas: 0)\n[SKIP] test_fork_launch_failureAfterTimeoutRefund_recorded_toppedUp() (gas: 0)\n[SKIP] test_fork_launch_liveFacts() (gas: 0)\n[SKIP] test_fork_launch_rejectedDelivery_notToppedUp() (gas: 0)\n[SKIP] test_fork_launch_shortDeadline_reverts_noCharge() (gas: 0)\n[SKIP] test_fork_realIntake_failure_refund() (gas: 0)\n[SKIP] test_fork_realTokenAndIntake_settle() (gas: 0)\n[SKIP] test_fork_refundReserve_fullRefund() (gas: 0)\n[SKIP] test_fork_refusedOrder_onlyRefund_noSecondCharge() (gas: 0)\n[SKIP] test_fork_starvedCallback_timeoutRefund() (gas: 0)\n[SKIP] test_fork_tokenFacts() (gas: 0)\nSuite result: ok. 0 passed; 0 failed; 15 skipped; finished in 711.24µs (1.15ms CPU time)\n\nRan 22 tests for test/LaunchAdaptation.t.sol:LaunchAdaptationTest\n[PASS] testFuzz_01d7_window(uint8,uint32) (runs: 1000, μ: 312244, ~: 507217)\n[PASS] test_01d7_everyEventCount_floorIsExact() (gas: 6359686)\n[PASS] test_01d7_floorConstants() (gas: 271829)\n[PASS] test_01d7_siteDeadlines_accepted() (gas: 2416013)\n[PASS] test_01d7_tenMinuteDeadline_fourteenEvents_reverts_noCharge() (gas: 101863)\n[PASS] test_6809_understatedCount_rejected_costsSwarmShare_reserveRefuses() (gas: 932641)\n[PASS] test_9872_enumValuesStable() (gas: 493)\n[PASS] test_9872_noReportOutcomes_stillToppedUp() (gas: 1606638)\n[PASS] test_9872_rejectedDelivery_notToppedUp() (gas: 993699)\n[PASS] test_9872_repeatedRejections_cannotDrainReserve() (gas: 13909635)\n[PASS] test_9872_unattestedDelivery_notToppedUp() (gas: 848130)\n[PASS] test_f44a_control_failureBeforeRefund_sameOutcome() (gas: 949583)\n[PASS] test_f44a_emptyResultAfterTimeoutRefund_isFailure_toppedUp() (gas: 1687050)\n[PASS] test_f44a_failureAfterTimeoutRefund_recorded_andToppedUp() (gas: 1138595)\n[PASS] test_f44a_failureCallback_onlyRecordsTimeoutRefunds() (gas: 872289)\n[PASS] test_f44a_failureWithoutCallback_stillRefused() (gas: 765000)\n[PASS] test_f44a_refusalAfterTimeoutRefund_recorded_notToppedUp() (gas: 857250)\n[PASS] test_f44a_reportAfterTimeoutRefund_stillLate_secondOutcomeIgnored() (gas: 986525)\n[PASS] test_launch_reserveConstructor_makesNoCall_checksOnFirstUse() (gas: 1382301)\n[PASS] test_launch_reserveConstructor_zeroEscrow_reverts() (gas: 193169)\n[PASS] test_launch_reserve_realEscrow_passesCheck() (gas: 30738)\n[PASS] test_launch_reserve_wrongContract_refusedOnFundAndTopUp() (gas: 1429319)\nSuite result: ok. 22 passed; 0 failed; 0 skipped; finished in 104.64ms (120.80ms CPU time)\n\nRan 4 tests for test/LaunchAdaptation.t.sol:LaunchRehearsalTest\n[PASS] test_launch_bothContracts_deployInOneCall_onAnEmptyChain() (gas: 4227775)\n[PASS] test_launch_constructorsAreOrderIndependent() (gas: 4188660)\n[PASS] test_launch_noOwnerOrAdminSurface() (gas: 4622680)\n[PASS] test_launch_runtimeSize_andNoForbiddenOpcodes() (gas: 11784937)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 368.03ms (36.51ms CPU time)\n\nRan 70 tests for test/ImdPicksEscrow.t.sol:ImdPicksEscrowTest\n[PASS] testFuzz_V10_1_anyOtherTreasury_reverts(address,uint8) (runs: 1000, μ: 367400, ~: 367549)\n[PASS] testFuzz_V10_refundPlusSwarmIsPrice(uint8,uint8) (runs: 1000, μ: 773664, ~: 800936)\n[PASS] testFuzz_V10_splitOf_rejectsNonTier(uint256) (runs: 1000, μ: 9563, ~: 9563)\n[PASS] testFuzz_V8_settleXorRefund(uint32,bool) (runs: 1000, μ: 784164, ~: 683509)\n[PASS] testFuzz_V9_tierChargeAndSplit(uint8,bool) (runs: 1000, μ: 899416, ~: 750291)\n[PASS] testFuzz_invalidEvents_revert(uint8) (runs: 1000, μ: 91545, ~: 91546)\n[PASS] testFuzz_outcomes_conserveValue(uint8,uint256) (runs: 1000, μ: 4366550, ~: 3496795)\n[PASS] testFuzz_pay_anyValidInput(bytes32,uint8,uint16,uint256) (runs: 1000, μ: 601591, ~: 566913)\n[PASS] test_V10_1_swarmTreasuryChanged_reverts_noCharge() (gas: 907237)\n[PASS] test_V10_distributionOf_everyEventCount() (gas: 108781)\n[PASS] test_V10_intakeAbove05_blocksEveryTier_noCharge() (gas: 968771)\n[PASS] test_V10_splitExact_allTiers() (gas: 32530)\n[PASS] test_V10_splitOf_onlyTierPrices() (gas: 61153)\n[PASS] test_V10_tier1_fourEvents_settle() (gas: 1017083)\n[PASS] test_V1_callbackForUncompletedRequest_ignored() (gas: 636320)\n[PASS] test_V1_resultArgsNamingAnotherOpenRequest_ignored() (gas: 1401441)\n[PASS] test_V81_onlyVerifier_rightHash_insideWindow() (gas: 792107)\n[PASS] test_V81_reject_refundsAtOnce_neverSettles() (gas: 859369)\n[PASS] test_V81_settle_requiresVerifiedArtifacts() (gas: 976953)\n[PASS] test_V81_unverifiedDelivery_refundableAfterWindow() (gas: 900262)\n[PASS] test_V81_verifiedDelivery_neverRefundable() (gas: 781268)\n[PASS] test_V81_zeroVerifier_rejected() (gas: 301790)\n[PASS] test_V8_badDeadline_reverts_noCharge() (gas: 570793)\n[PASS] test_V8_deadlineBoundary_exactSecond() (gas: 1738493)\n[PASS] test_V8_lateDelivery_beforeRefund_isLate_refundedNotSettled() (gas: 1026928)\n[PASS] test_V8_race_refundThenLateReport_recordedNoFunds() (gas: 974408)\n[PASS] test_V8_unverifiableArtifact_isFailure() (gas: 816145)\n[PASS] test_V9_boundaries_1_4_5_9_10_14_charge() (gas: 2560977)\n[PASS] test_V9_priceBoundaries() (gas: 70659)\n[PASS] test_V9_priceFor_outOfRange_reverts() (gas: 18504)\n[PASS] test_V9_priceMismatch_reverts_noCharge() (gas: 126024)\n[PASS] test_V9_refund_scalesByTier() (gas: 1330995)\n[PASS] test_V9_tier2Approval_tooLowFor_tier3_reverts() (gas: 283823)\n[PASS] test_V9_tier2_fiveEvents_settle() (gas: 1054530)\n[PASS] test_V9_tier3_fourteenEvents_settle() (gas: 1032065)\n[PASS] test_badEventCounts_revert() (gas: 952554)\n[PASS] test_callbackStarved_timeoutRefund() (gas: 742596)\n[PASS] test_callbacks_onlyIntake() (gas: 552091)\n[PASS] test_constants_exactSplit() (gas: 34596)\n[PASS] test_customerDebit_isExactlyOneImd_onDelivery() (gas: 1007023)\n[PASS] test_deliveredOrder_notRefundable() (gas: 767514)\n[PASS] test_duplicateOrder_reverts_noSecondCharge() (gas: 588606)\n[PASS] test_failedOrder_cannotBeChargedAgain_byPayerOrAnyone() (gas: 853725)\n[PASS] test_failedTransferToRecipient_revertsWholeSettle() (gas: 1303046)\n[PASS] test_failureWithoutArgs_noCallback_timeoutRefund() (gas: 710507)\n[PASS] test_failure_refundToPayer_byAnyone() (gas: 867049)\n[PASS] test_falseReturningToken_rejected() (gas: 322960)\n[PASS] test_feeOnTransferToken_rejected() (gas: 367107)\n[PASS] test_insufficientApproval_reverts() (gas: 284130)\n[PASS] test_intakeNotSelling_reverts() (gas: 358962)\n[PASS] test_intakePriceAboveShare_reverts_noCharge() (gas: 366898)\n[PASS] test_intakePriceBelowShare_stillFundsFullShare() (gas: 544193)\n[PASS] test_largerApproval_onlyOneImdTaken() (gas: 520934)\n[PASS] test_lateCallback_afterTimeoutRefund_ignored() (gas: 672482)\n[PASS] test_lateResult_afterTimeoutRefund_ignored() (gas: 848556)\n[PASS] test_noAdminSurface() (gas: 5665)\n[PASS] test_onResult_gasUnderStipend_longUri() (gas: 1057545)\n[PASS] test_orderId_boundToPayer_noSquatting() (gas: 876286)\n[PASS] test_orderId_includesChainAndContract() (gas: 2664244)\n[PASS] test_pay_pullsOneImd_fundsSwarm_escrowsHalf() (gas: 633643)\n[PASS] test_reentrancy_refundDuringPay_blocked() (gas: 606681)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1112566)\n[PASS] test_refundThenNewOrder_isASeparateOneImdAnalysis() (gas: 1606556)\n[PASS] test_refund_beforeTimeout_reverts_afterTimeout_ok() (gas: 727084)\n[PASS] test_refusal_status1_refundable() (gas: 774554)\n[PASS] test_settle_beforeDelivery_reverts() (gas: 533975)\n[PASS] test_settle_exactDistribution() (gas: 1136501)\n[PASS] test_settle_unknownOrder_reverts() (gas: 37326)\n[PASS] test_staleCallback_afterFailure_ignored() (gas: 714841)\n[PASS] test_unknownRequestCallback_ignored() (gas: 64056)\nSuite result: ok. 70 passed; 0 failed; 0 skipped; finished in 368.28ms (2.62s CPU time)\n\nRan 15 tests for test/ImdPicksRefundReserve.t.sol:ImdPicksRefundReserveTest\n[PASS] testFuzz_outcomes_neverOverRefund(uint8,uint256) (runs: 1000, μ: 3708270, ~: 3109546)\n[PASS] test_V10_tiers_fullRefund_escrowPlusHalfImd() (gas: 1679121)\n[PASS] test_V8_intakeCompletedWithoutEscrowRecord_notToppedUp() (gas: 841654)\n[PASS] test_V8_lateReport_notToppedUp() (gas: 886858)\n[PASS] test_V8_reportAfterTimeoutRefund_notToppedUp() (gas: 958522)\n[PASS] test_failedOrder_fullRefund_exactlyOneImd() (gas: 940754)\n[PASS] test_feeOnTransfer_rejected() (gas: 176826)\n[PASS] test_noAdminSurface() (gas: 140493)\n[PASS] test_nonEscrow_refusedOnFirstUse() (gas: 193017)\n[PASS] test_notRefundedStates_notEligible() (gas: 1768712)\n[PASS] test_onlyOnce() (gas: 950096)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1012443)\n[PASS] test_refusedOrder_notToppedUp() (gas: 792957)\n[PASS] test_reserveTooLow_revertsThenWorksAfterFunding() (gas: 3767292)\n[PASS] test_timeoutOrder_fullRefund() (gas: 783947)\nSuite result: ok. 15 passed; 0 failed; 0 skipped; finished in 368.35ms (379.52ms CPU time)\n\nRan 1 test for test/ImdPicksEscrow.invariant.t.sol:ImdPicksEscrowInvariantTest\n[PASS]\nImdPicksEscrowInvariantTest invariants:\n[PASS] invariant_balanceEqualsEscrow\n[PASS] invariant_conservation\n[PASS] invariant_noStandingApproval\n[PASS] invariant_reserve\n[PASS] invariant_split\n ImdPicksEscrowInvariantTest invariants (runs: 128, calls: 7680, reverts: 0)\n\n╭----------+-------------+-------+---------+----------╮\n| Contract | Selector    | Calls | Reverts | Discards |\n+=====================================================+\n| Handler  | attack      | 740   | 0       | 15       |\n|----------+-------------+-------+---------+----------|\n| Handler  | deliver     | 783   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fail        | 751   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fundReserve | 795   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | pay         | 787   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | refund      | 783   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | reject      | 776   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | settle      | 795   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | topUp       | 746   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | wait        | 739   | 0       | 0        |\n╰----------+-------------+-------+---------+----------╯\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 2.44s (2.44s CPU time)\n\nRan 6 test suites in 2.44s (3.65s CPU time): 112 tests passed, 0 failed, 15 skipped (127 total tests)\n","passed":true},{"durationMs":92,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"ImdPicksEscrow.onFailure(bytes32,uint8,bytes32,uint16,uint16,bytes)\",\"ImdPicksEscrow.onResult(bytes32,bytes32,string)\",\"ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes)\",\"ImdPicksEscrow.refund(bytes32)\",\"ImdPicksEscrow.rejectDelivery(bytes32,bytes32)\",\"ImdPicksEscrow.settle(bytes32)\",\"ImdPicksEscrow.verifyDelivery(bytes32,bytes32,bytes32)\",\"ImdPicksRefundReserve.fund(uint256)\",\"ImdPicksRefundReserve.topUp(bytes32)\"],\"files\":{\".gitignore\":9,\"ADAPTATION.md\":193,\"DESIGN.md\":173,\"README.md\":753,\"artifacts/render-results.txt\":16,\"artifacts/samples/recovered-ufc-report.v2.json\":3058,\"artifacts/taste-results.txt\":17,\"artifacts/unit-results.txt\":51,\"artifacts/validation.md\":156,\"contracts/abi/ImdPicksEscrow.json\":1417,\"contracts/abi/ImdPicksRefundReserve.json\":327,\"contracts/deploy.sh\":31,\"contracts/integration.mainnet.json\":51,\"contracts/test.sh\":16,\"dist/assets/ccip-BfrJC5Ha.js\":1,\"dist/assets/index-CMMfdzWJ.js\":101,\"dist/assets/index-gHn7bocS.css\":1,\"dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2\":207,\"dist/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2\":105,\"dist/favicon.svg\":1,\"dist/img/football.webp\":85,\"dist/img/hero.webp\":1034,\"dist/img/mlb.webp\":175,\"dist/img/nba.webp\":41,\"dist/img/nfl.webp\":183,\"dist/img/nhl.webp\":81,\"dist/img/tennis.webp\":69,\"dist/img/ufc.webp\":78,\"dist/index.html\":29,\"dist/og.jpg\":393,\"docs/ACTIVATION.md\":177,\"docs/KNOWLEDGE_ENGINE.md\":32,\"docs/LAUNCH.md\":153,\"docs/OPERATIONS.md\":186,\"docs/PAYMENT_ENGINE.md\":129,\"docs/SECURITY_AUDIT.md\":162,\"docs/V10_REPORT.md\":125,\"docs/V8_REPORT.md\":171,\"docs/validation/contracts-fork-results-launch.txt\":21,\"docs/validation/contracts-fork-results-v10.txt\":485,\"docs/validation/contracts-fork-results-v9.1.txt\":27,\"docs/validation/contracts-test-results-launch.txt\":159,\"docs/validation/contracts-test-results-v10-1.txt\":612,\"docs/validation/contracts-test-results-v10.txt\":598,\"docs/validation/contracts-test-results-v8.txt\":525,\"docs/validation/contracts-test-results-v9.txt\":115,\"docs/validation/contracts-test-results.txt\":656,\"docs/validation/deploy-dry-run-v10-1.txt\":38,\"docs/validation/deploy-dry-run-v10.txt\":38,\"docs/validation/deploy-dry-run.txt\":29,\"docs/validation/engine-e2e-results.txt\":28,\"docs/validation/engine-tests-v8.txt\":18,\"docs/validation/indexer-test-results-v8.txt\":20,\"docs/validation/indexer-test-results.txt\":14,\"docs/validation/knowledge-ingest-results.txt\":6,\"docs/validation/render-escrow-results.txt\":5,\"docs/validation/taste-results-v10-1.txt\":116,\"docs/validation/taste-results-v10.txt\":18,\"docs/validation/taste-results-v9.1.txt\":17,\"docs/validation/taste-results.txt\":17,\"docs/validation/web-interaction-v10.txt\":38,\"docs/validation/web-interaction-v9.1.json\":41,\"docs/validation/web-tests-v10.txt\":62,\"docs/validation/web-tests-v9.1.txt\":65,\"docs/validation/web-tests-v9.2.txt\":60,\"docs/validation/web-tests-v9.txt\":27,\"foundry.toml\":19,\"launch.json\":18,\"script/Deploy.s.sol\":107,\"src/ImdPicksEscrow.sol\":595,\"src/ImdPicksRefundReserve.sol\":172,\"src/Interfaces.sol\":39,\"test/ImdPicksEscrow.fork.t.sol\":410,\"test/ImdPicksEscrow.invariant.t.sol\":252,\"test/ImdPicksEscrow.t.sol\":901,\"test/ImdPicksRefundReserve.t.sol\":259,\"test/LaunchAdaptation.t.sol\":500,\"test/utils/Base.sol\":65,\"test/utils/Fixture.sol\":80,\"test/utils/Mocks.sol\":183,\"web/index.html\":28,\"web/package-lock.json\":1995,\"web/package.json\":24,\"web/public/favicon.svg\":1,\"web/public/img/football.webp\":85,\"web/public/img/hero.webp\":1034,\"web/public/img/mlb.webp\":175,\"web/public/img/nba.webp\":41,\"web/public/img/nfl.webp\":183,\"web/public/img/nhl.webp\":81,\"web/public/img/tennis.webp\":69,\"web/public/img/ufc.webp\":78,\"web/public/og.jpg\":393,\"web/scripts/gen-abi.mjs\":6,\"web/scripts/i18n-check.mjs\":87,\"web/server/indexer.test.mjs\":499,\"web/server/indexer.ts\":495,\"web/server/knowledge/ingest.ts\":106,\"web/server/knowledge/migrations/001_init.sql\":67,\"web/server/knowledge/migrations/002_scoped_aliases_confirmations.sql\":43,\"web/server/knowledge/sources.ts\":63,\"web/server/knowledge/store.ts\":80,\"web/server/knowledge/track.ts\":114,\"web/server/node-shim.d.ts\":31,\"web/server/tsconfig.json\":5,\"web/src/backtest.ts\":219,\"web/src/charts.tsx\":59,\"web/src/checkout.tsx\":219,\"web/src/config.ts\":154,\"web/src/engine/abi.ts\":1418,\"web/src/engine/deadline.ts\":147,\"web/src/engine/labels.ts\":7,\"web/src/engine/legs.ts\":61,\"web/src/engine/pricing.ts\":84,\"web/src/engine/report.ts\":179,\"web/src/engine/reserve.ts\":70,\"web/src/engine/sdk.ts\":428,\"web/src/escrow.tsx\":349,\"web/src/fonts/inter-latin-wght-normal.woff2\":207,\"web/src/fonts/space-grotesk-latin-wght-normal.woff2\":105,\"web/src/games.tsx\":482,\"web/src/i18n-flow.ts\":219,\"web/src/i18n-langs.ts\":198,\"web/src/i18n-pay.ts\":349,\"web/src/i18n-ui/es.ts\":412,\"web/src/i18n-ui/fr.ts\":19,\"web/src/i18n-ui/index.ts\":32,\"web/src/i18n-ui/it.ts\":412,\"web/src/i18n-ui/ja.ts\":412,\"web/src/i18n-ui/keys.ts\":379,\"web/src/i18n-ui/pcm.ts\":412,\"web/src/i18n-ui/pt.ts\":412,\"web/src/i18n-ui/ru.ts\":412,\"web/src/i18n-ui/th.ts\":412,\"web/src/i18n-ui/v10.ts\":169,\"web/src/i18n-ui/v11.ts\":122,\"web/src/i18n-ui/v12.ts\":409,\"web/src/i18n-ui/v13.ts\":88,\"web/src/i18n-ui/v14.ts\":81,\"web/src/i18n-ui/v15.ts\":60,\"web/src/i18n-ui/v5.ts\":307,\"web/src/i18n-ui/v6.ts\":173,\"web/src/i18n-ui/v7.ts\":151,\"web/src/i18n-ui/v8.ts\":142,\"web/src/i18n-ui/v9.ts\":79,\"web/src/i18n-ui/zh.ts\":412,\"web/src/i18n.ts\":122,\"web/src/insight.ts\":78,\"web/src/main.tsx\":209,\"web/src/markdown.tsx\":72,\"web/src/orders.ts\":261,\"web/src/pages.tsx\":1058,\"web/src/predict.ts\":360,\"web/src/prefs.ts\":43,\"web/src/styles.css\":403,\"web/src/swap.tsx\":153,\"web/src/swarm.ts\":667,\"web/src/tiers.tsx\":52,\"web/src/wallet.tsx\":241,\"web/tests/engine.test.mjs\":106,\"web/tests/knowledge.test.mjs\":153,\"web/tests/pricing.test.mjs\":60,\"web/tests/revision-v10-1.test.mjs\":120,\"web/tests/revision.test.mjs\":98,\"web/tsconfig.json\":7,\"web/vite.config.ts\":5},\"excluded\":[\"lib/\",\"contracts/lib/\",\"node_modules/\"],\"truncated\":false}","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"62c227c46b28c2458ac4dbb49d7419673777b26f123955d7b4b2baf029beafcc","verifiedTreeHash":"64fba084321343b5dd3ee4a63e0bdedf118e1a0a","verifierVersion":"0.1.0+0ce771de"},{"checks":[{"durationMs":5608,"exitCode":0,"name":"build","output":"Compiling 49 files with Solc 0.8.28\nSolc 0.8.28 finished in 5.48s\nCompiler run successful with warnings:\nWarning (2072): Unused local variable.\n   --> test/ImdPicksLifecycle.invariant.t.sol:265:19:\n    |\n265 |         (bool ok, bytes32 id, ImdPicksEscrow.Order memory o) = _pick(i);\n    |                   ^^^^^^^^^^\n\nWarning (2018): Function state mutability can be restricted to pure\n   --> src/ImdPicksRefundReserve.sol:131:5:\n    |\n131 |     function _checkSplit(ImdPicksEscrow e, uint256 price, uint256 burn, uint256 dev) private view {\n    |     ^ (Relevant source part starts here and spans across multiple lines).\n\n","passed":true},{"durationMs":7870,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 15 tests for test/ImdPicksEscrow.fork.t.sol:ImdPicksEscrowForkTest\n[SKIP] test_fork_V10_1_pinnedTreasury_and_payToChange_reverts() (gas: 0)\n[SKIP] test_fork_V10_tier3_failure_refund() (gas: 0)\n[SKIP] test_fork_V10_tiers_realIntake_settle() (gas: 0)\n[SKIP] test_fork_V1_resultArgsNamingAnotherRequest_ignored() (gas: 0)\n[SKIP] test_fork_gasFigures() (gas: 0)\n[SKIP] test_fork_launch_failureAfterTimeoutRefund_recorded_toppedUp() (gas: 0)\n[SKIP] test_fork_launch_liveFacts() (gas: 0)\n[SKIP] test_fork_launch_rejectedDelivery_notToppedUp() (gas: 0)\n[SKIP] test_fork_launch_shortDeadline_reverts_noCharge() (gas: 0)\n[SKIP] test_fork_realIntake_failure_refund() (gas: 0)\n[SKIP] test_fork_realTokenAndIntake_settle() (gas: 0)\n[SKIP] test_fork_refundReserve_fullRefund() (gas: 0)\n[SKIP] test_fork_refusedOrder_onlyRefund_noSecondCharge() (gas: 0)\n[SKIP] test_fork_starvedCallback_timeoutRefund() (gas: 0)\n[SKIP] test_fork_tokenFacts() (gas: 0)\nSuite result: ok. 0 passed; 0 failed; 15 skipped; finished in 718.04µs (178.50µs CPU time)\n\nRan 29 tests for test/LaunchAdaptation.t.sol:LaunchAdaptationTest\n[PASS] testFuzz_01d7_window(uint8,uint32) (runs: 1000, μ: 324568, ~: 507195)\n[PASS] testFuzz_13f3_noTopUpBeforeOuterBound(uint256,uint256,uint256) (runs: 1000, μ: 651851, ~: 655952)\n[PASS] test_01d7_everyEventCount_floorIsExact() (gas: 6359686)\n[PASS] test_01d7_floorConstants() (gas: 271874)\n[PASS] test_01d7_siteDeadlines_accepted() (gas: 2415926)\n[PASS] test_01d7_tenMinuteDeadline_fourteenEvents_reverts_noCharge() (gas: 101819)\n[PASS] test_13f3_lateRefundCall_graceCountsFromRefund() (gas: 871302)\n[PASS] test_13f3_shortDeadline_lateRefusal_notToppedUp() (gas: 842786)\n[PASS] test_13f3_shortDeadline_lateReportAfterOneDay_notToppedUp() (gas: 988429)\n[PASS] test_13f3_silentOrder_toppedUpAtOuterBoundPlusGrace() (gas: 871224)\n[PASS] test_55cc_lookAlike_eachFieldChecked() (gas: 21164918)\n[PASS] test_55cc_lookAlike_wrongSplit_refused() (gas: 1934644)\n[PASS] test_6809_understatedCount_rejected_costsSwarmShare_reserveRefuses() (gas: 942783)\n[PASS] test_9872_enumValuesStable() (gas: 493)\n[PASS] test_9872_noReportOutcomes_stillToppedUp() (gas: 1627043)\n[PASS] test_9872_rejectedDelivery_notToppedUp() (gas: 1014130)\n[PASS] test_9872_repeatedRejections_cannotDrainReserve() (gas: 14113862)\n[PASS] test_9872_unattestedDelivery_notToppedUp() (gas: 858376)\n[PASS] test_f44a_control_failureBeforeRefund_sameOutcome() (gas: 959763)\n[PASS] test_f44a_emptyResultAfterTimeoutRefund_isFailure_toppedUp() (gas: 1707366)\n[PASS] test_f44a_failureAfterTimeoutRefund_recorded_andToppedUp() (gas: 1158887)\n[PASS] test_f44a_failureCallback_onlyRecordsTimeoutRefunds() (gas: 872363)\n[PASS] test_f44a_failureWithoutCallback_stillRefused() (gas: 803007)\n[PASS] test_f44a_refusalAfterTimeoutRefund_recorded_notToppedUp() (gas: 867473)\n[PASS] test_f44a_reportAfterTimeoutRefund_stillLate_secondOutcomeIgnored() (gas: 996704)\n[PASS] test_launch_reserveConstructor_makesNoCall_checksOnFirstUse() (gas: 1696646)\n[PASS] test_launch_reserveConstructor_zeroEscrow_reverts() (gas: 216359)\n[PASS] test_launch_reserve_realEscrow_passesCheck() (gas: 40813)\n[PASS] test_launch_reserve_wrongContract_refusedOnFundAndTopUp() (gas: 1743653)\nSuite result: ok. 29 passed; 0 failed; 0 skipped; finished in 425.25ms (449.24ms CPU time)\n\nRan 4 tests for test/LaunchAdaptation.t.sol:LaunchRehearsalTest\n[PASS] test_launch_bothContracts_deployInOneCall_onAnEmptyChain() (gas: 4555518)\n[PASS] test_launch_constructorsAreOrderIndependent() (gas: 4516466)\n[PASS] test_launch_noOwnerOrAdminSurface() (gas: 4940500)\n[PASS] test_launch_runtimeSize_andNoForbiddenOpcodes() (gas: 12777282)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 489.78ms (26.26ms CPU time)\n\nRan 15 tests for test/ImdPicksRefundReserve.t.sol:ImdPicksRefundReserveTest\n[PASS] testFuzz_outcomes_neverOverRefund(uint8,uint256) (runs: 1000, μ: 3859248, ~: 3221773)\n[PASS] test_V10_tiers_fullRefund_escrowPlusHalfImd() (gas: 1699591)\n[PASS] test_V8_intakeCompletedWithoutEscrowRecord_notToppedUp() (gas: 877210)\n[PASS] test_V8_lateReport_notToppedUp() (gas: 897037)\n[PASS] test_V8_reportAfterTimeoutRefund_notToppedUp() (gas: 979027)\n[PASS] test_failedOrder_fullRefund_exactlyOneImd() (gas: 950978)\n[PASS] test_feeOnTransfer_rejected() (gas: 187003)\n[PASS] test_noAdminSurface() (gas: 140559)\n[PASS] test_nonEscrow_refusedOnFirstUse() (gas: 216273)\n[PASS] test_notRefundedStates_notEligible() (gas: 1819607)\n[PASS] test_onlyOnce() (gas: 970455)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1022645)\n[PASS] test_refusedOrder_notToppedUp() (gas: 803136)\n[PASS] test_reserveTooLow_revertsThenWorksAfterFunding() (gas: 3838715)\n[PASS] test_timeoutOrder_fullRefund() (gas: 794272)\nSuite result: ok. 15 passed; 0 failed; 0 skipped; finished in 533.41ms (539.72ms CPU time)\n\nRan 70 tests for test/ImdPicksEscrow.t.sol:ImdPicksEscrowTest\n[PASS] testFuzz_V10_1_anyOtherTreasury_reverts(address,uint8) (runs: 1000, μ: 367435, ~: 367549)\n[PASS] testFuzz_V10_refundPlusSwarmIsPrice(uint8,uint8) (runs: 1000, μ: 774497, ~: 800936)\n[PASS] testFuzz_V10_splitOf_rejectsNonTier(uint256) (runs: 1000, μ: 9563, ~: 9563)\n[PASS] testFuzz_V8_settleXorRefund(uint32,bool) (runs: 1000, μ: 782305, ~: 683509)\n[PASS] testFuzz_V9_tierChargeAndSplit(uint8,bool) (runs: 1000, μ: 899415, ~: 750291)\n[PASS] testFuzz_invalidEvents_revert(uint8) (runs: 1000, μ: 91545, ~: 91546)\n[PASS] testFuzz_outcomes_conserveValue(uint8,uint256) (runs: 1000, μ: 4502735, ~: 3655995)\n[PASS] testFuzz_pay_anyValidInput(bytes32,uint8,uint16,uint256) (runs: 1000, μ: 605224, ~: 569187)\n[PASS] test_V10_1_swarmTreasuryChanged_reverts_noCharge() (gas: 907237)\n[PASS] test_V10_distributionOf_everyEventCount() (gas: 108781)\n[PASS] test_V10_intakeAbove05_blocksEveryTier_noCharge() (gas: 968771)\n[PASS] test_V10_splitExact_allTiers() (gas: 32530)\n[PASS] test_V10_splitOf_onlyTierPrices() (gas: 61153)\n[PASS] test_V10_tier1_fourEvents_settle() (gas: 1017083)\n[PASS] test_V1_callbackForUncompletedRequest_ignored() (gas: 636320)\n[PASS] test_V1_resultArgsNamingAnotherOpenRequest_ignored() (gas: 1401441)\n[PASS] test_V81_onlyVerifier_rightHash_insideWindow() (gas: 792107)\n[PASS] test_V81_reject_refundsAtOnce_neverSettles() (gas: 859369)\n[PASS] test_V81_settle_requiresVerifiedArtifacts() (gas: 976953)\n[PASS] test_V81_unverifiedDelivery_refundableAfterWindow() (gas: 900262)\n[PASS] test_V81_verifiedDelivery_neverRefundable() (gas: 781268)\n[PASS] test_V81_zeroVerifier_rejected() (gas: 301790)\n[PASS] test_V8_badDeadline_reverts_noCharge() (gas: 570793)\n[PASS] test_V8_deadlineBoundary_exactSecond() (gas: 1738493)\n[PASS] test_V8_lateDelivery_beforeRefund_isLate_refundedNotSettled() (gas: 1026928)\n[PASS] test_V8_race_refundThenLateReport_recordedNoFunds() (gas: 974408)\n[PASS] test_V8_unverifiableArtifact_isFailure() (gas: 816145)\n[PASS] test_V9_boundaries_1_4_5_9_10_14_charge() (gas: 2560977)\n[PASS] test_V9_priceBoundaries() (gas: 70659)\n[PASS] test_V9_priceFor_outOfRange_reverts() (gas: 18504)\n[PASS] test_V9_priceMismatch_reverts_noCharge() (gas: 126024)\n[PASS] test_V9_refund_scalesByTier() (gas: 1330995)\n[PASS] test_V9_tier2Approval_tooLowFor_tier3_reverts() (gas: 283823)\n[PASS] test_V9_tier2_fiveEvents_settle() (gas: 1054530)\n[PASS] test_V9_tier3_fourteenEvents_settle() (gas: 1032065)\n[PASS] test_badEventCounts_revert() (gas: 952554)\n[PASS] test_callbackStarved_timeoutRefund() (gas: 742596)\n[PASS] test_callbacks_onlyIntake() (gas: 552091)\n[PASS] test_constants_exactSplit() (gas: 34596)\n[PASS] test_customerDebit_isExactlyOneImd_onDelivery() (gas: 1007023)\n[PASS] test_deliveredOrder_notRefundable() (gas: 767514)\n[PASS] test_duplicateOrder_reverts_noSecondCharge() (gas: 588606)\n[PASS] test_failedOrder_cannotBeChargedAgain_byPayerOrAnyone() (gas: 853725)\n[PASS] test_failedTransferToRecipient_revertsWholeSettle() (gas: 1303046)\n[PASS] test_failureWithoutArgs_noCallback_timeoutRefund() (gas: 710507)\n[PASS] test_failure_refundToPayer_byAnyone() (gas: 867049)\n[PASS] test_falseReturningToken_rejected() (gas: 322960)\n[PASS] test_feeOnTransferToken_rejected() (gas: 367107)\n[PASS] test_insufficientApproval_reverts() (gas: 284130)\n[PASS] test_intakeNotSelling_reverts() (gas: 358962)\n[PASS] test_intakePriceAboveShare_reverts_noCharge() (gas: 366898)\n[PASS] test_intakePriceBelowShare_stillFundsFullShare() (gas: 544193)\n[PASS] test_largerApproval_onlyOneImdTaken() (gas: 520934)\n[PASS] test_lateCallback_afterTimeoutRefund_ignored() (gas: 672482)\n[PASS] test_lateResult_afterTimeoutRefund_ignored() (gas: 848556)\n[PASS] test_noAdminSurface() (gas: 5665)\n[PASS] test_onResult_gasUnderStipend_longUri() (gas: 1057545)\n[PASS] test_orderId_boundToPayer_noSquatting() (gas: 876286)\n[PASS] test_orderId_includesChainAndContract() (gas: 2664436)\n[PASS] test_pay_pullsOneImd_fundsSwarm_escrowsHalf() (gas: 633643)\n[PASS] test_reentrancy_refundDuringPay_blocked() (gas: 606681)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1112566)\n[PASS] test_refundThenNewOrder_isASeparateOneImdAnalysis() (gas: 1606556)\n[PASS] test_refund_beforeTimeout_reverts_afterTimeout_ok() (gas: 727084)\n[PASS] test_refusal_status1_refundable() (gas: 774554)\n[PASS] test_settle_beforeDelivery_reverts() (gas: 533975)\n[PASS] test_settle_exactDistribution() (gas: 1136501)\n[PASS] test_settle_unknownOrder_reverts() (gas: 37326)\n[PASS] test_staleCallback_afterFailure_ignored() (gas: 714841)\n[PASS] test_unknownRequestCallback_ignored() (gas: 64056)\nSuite result: ok. 70 passed; 0 failed; 0 skipped; finished in 533.61ms (3.76s CPU time)\n\nRan 33 tests for test/ImdPicksAdversarial.t.sol:ImdPicksAdversarialTest\n[PASS] testFuzz_reserve_graceModel(uint256,uint256,uint256) (runs: 1000, μ: 894385, ~: 854302)\n[PASS] testFuzz_settle_anyCaller_exactSplit(uint8,address) (runs: 1000, μ: 1023279, ~: 1023545)\n[PASS] test_callbacks_fromNonIntake_revert_forEveryRole() (gas: 726723)\n[PASS] test_deliverBy_exactSecond_reportSettles_refundClosed() (gas: 1085164)\n[PASS] test_directDonation_doesNotChangeAccounting() (gas: 1046475)\n[PASS] test_infiniteAllowance_onlyOneCharge_perOrder() (gas: 1420087)\n[PASS] test_lateOrder_neverSettles_refundsOnce() (gas: 897202)\n[PASS] test_onResult_forUncompletedRequest_ignored_noStateChange() (gas: 666525)\n[PASS] test_pay_bodyLimits() (gas: 895899)\n[PASS] test_pay_deadlineEdges_everyBand() (gas: 2609677)\n[PASS] test_postRefundOutcome_recordedOnlyOnce() (gas: 859705)\n[PASS] test_refundTwice_settleAfterRefund_revert() (gas: 793137)\n[PASS] test_reject_afterVerifyWindow_stillOnlyRefundsPayer() (gas: 813001)\n[PASS] test_reject_twice_and_verifyAfterReject_revert() (gas: 764020)\n[PASS] test_reserve_directTransfer_spendableOnlyAsTopUp() (gas: 1067993)\n[PASS] test_reserve_failureAfterTimeoutRefund_skipsGrace() (gas: 1169233)\n[PASS] test_reserve_fundZero_reverts() (gas: 55539)\n[PASS] test_reserve_fund_withoutApproval_reverts() (gas: 69548)\n[PASS] test_reserve_graceBoundary_exactSecond() (gas: 1278005)\n[PASS] test_reserve_graceBoundary_lateRefund_countsFromRefund() (gas: 1099166)\n[PASS] test_reserve_lateAndUnattested_neverToppedUp() (gas: 1710466)\n[PASS] test_reserve_paysRecordedPayerOnly() (gas: 1075681)\n[PASS] test_reserve_refusalAfterTimeoutRefund_neverToppedUp() (gas: 1002964)\n[PASS] test_reserve_settledOrder_notEligible() (gas: 1205666)\n[PASS] test_reserve_unknownOrder_notEligible() (gas: 248885)\n[PASS] test_settleTwice_refundAfterSettle_revert() (gas: 1072607)\n[PASS] test_unknownOrder_refund_settle_revert() (gas: 70663)\n[PASS] test_verifier_cannotRedirectFunds() (gas: 992321)\n[PASS] test_verifyWindow_exactBoundary_attestAllowed_refundClosed() (gas: 1048987)\n[PASS] test_verifyWindow_onePastBoundary_attestClosed_refundOpen() (gas: 946430)\n[PASS] test_verify_badInputs_revert() (gas: 853257)\n[PASS] test_verify_reject_byAnyoneButVerifier_revert() (gas: 958879)\n[PASS] test_verify_twice_and_rejectAfterVerify_revert() (gas: 825580)\nSuite result: ok. 33 passed; 0 failed; 0 skipped; finished in 533.94ms (833.90ms CPU time)\n\nRan 14 tests for test/ImdPicksWalletGas.t.sol:ImdPicksWalletGasTest\n[PASS] test_walletGas_fullSettlePath_endState() (gas: 6764615)\n[PASS] test_walletGas_intakeComplete_afterTimeoutRefund_recordsFailure() (gas: 2412915)\n[PASS] test_walletGas_intakeComplete_failure_deliversCallback() (gas: 2493393)\n[PASS] test_walletGas_intakeComplete_lateResult() (gas: 2730235)\n[PASS] test_walletGas_intakeComplete_longUri() (gas: 5054348)\n[PASS] test_walletGas_intakeComplete_result_deliversCallback() (gas: 2480580)\n[PASS] test_walletGas_pay_everyTier() (gas: 69651040)\n[PASS] test_walletGas_pay_largestBody() (gas: 21765595)\n[PASS] test_walletGas_rejectDelivery_and_refund() (gas: 4512568)\n[PASS] test_walletGas_reserve_fund_and_topUp() (gas: 8096419)\n[PASS] test_walletGas_reserve_topUp_afterGrace() (gas: 5430488)\n[PASS] test_walletGas_timeoutRefund() (gas: 3169881)\n[PASS] test_walletGas_unverifiedDeliveryRefund() (gas: 3865977)\n[PASS] test_walletGas_verifyDelivery_and_settle() (gas: 8537601)\nSuite result: ok. 14 passed; 0 failed; 0 skipped; finished in 534.01ms (108.44ms CPU time)\n\nRan 1 test for test/ImdPicksEscrow.invariant.t.sol:ImdPicksEscrowInvariantTest\n[PASS]\nImdPicksEscrowInvariantTest invariants:\n[PASS] invariant_balanceEqualsEscrow\n[PASS] invariant_conservation\n[PASS] invariant_noStandingApproval\n[PASS] invariant_reserve\n[PASS] invariant_split\n ImdPicksEscrowInvariantTest invariants (runs: 128, calls: 7680, reverts: 0)\n\n╭----------+-------------+-------+---------+----------╮\n| Contract | Selector    | Calls | Reverts | Discards |\n+=====================================================+\n| Handler  | attack      | 732   | 0       | 2        |\n|----------+-------------+-------+---------+----------|\n| Handler  | deliver     | 783   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fail        | 755   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fundReserve | 797   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | pay         | 788   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | refund      | 779   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | reject      | 779   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | settle      | 788   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | topUp       | 748   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | wait        | 733   | 0       | 0        |\n╰----------+-------------+-------+---------+----------╯\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 2.79s (2.79s CPU time)\n\nRan 1 test for test/ImdPicksLifecycle.invariant.t.sol:ImdPicksLifecycleInvariantTest\n[PASS]\nImdPicksLifecycleInvariantTest invariants:\n[PASS] invariant_customersReconcile\n[PASS] invariant_escrowHoldsExactlyOpenOrders\n[PASS] invariant_perOrderStateMachine\n[PASS] invariant_reserveConserves\n[PASS] invariant_splitMatchesBrief\n[PASS] invariant_supplyConserved\n ImdPicksLifecycleInvariantTest invariants (runs: 256, calls: 15360, reverts: 0)\n\n╭------------------+---------------------+-------+---------+----------╮\n| Contract         | Selector            | Calls | Reverts | Discards |\n+=====================================================================+\n| LifecycleHandler | deliver             | 1124  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | deliverAndVerify    | 1116  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | donate              | 1086  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | fail                | 1071  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | fundReserve         | 1079  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | longWait            | 1165  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | pay                 | 1113  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | refund              | 1029  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | reject              | 1118  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | settle              | 1080  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | topUp               | 1079  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | verify              | 1114  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | wait                | 1083  | 0       | 0        |\n|------------------+---------------------+-------+---------+----------|\n| LifecycleHandler | waitToGraceAndTopUp | 1103  | 0       | 0        |\n╰------------------+---------------------+-------+---------+----------╯\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 7.74s (7.74s CPU time)\n\nRan 9 test suites in 7.75s (13.59s CPU time): 167 tests passed, 0 failed, 15 skipped (182 total tests)\n","passed":true},{"durationMs":127,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"ImdPicksEscrow.onFailure(bytes32,uint8,bytes32,uint16,uint16,bytes)\",\"ImdPicksEscrow.onResult(bytes32,bytes32,string)\",\"ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes)\",\"ImdPicksEscrow.refund(bytes32)\",\"ImdPicksEscrow.rejectDelivery(bytes32,bytes32)\",\"ImdPicksEscrow.settle(bytes32)\",\"ImdPicksEscrow.verifyDelivery(bytes32,bytes32,bytes32)\",\"ImdPicksRefundReserve.fund(uint256)\",\"ImdPicksRefundReserve.topUp(bytes32)\"],\"files\":{\".gitignore\":9,\"ADAPTATION.md\":204,\"DESIGN.md\":173,\"README.md\":753,\"artifacts/render-results.txt\":16,\"artifacts/samples/recovered-ufc-report.v2.json\":3058,\"artifacts/taste-results.txt\":17,\"artifacts/unit-results.txt\":51,\"artifacts/validation.md\":156,\"contracts/abi/ImdPicksEscrow.json\":1417,\"contracts/abi/ImdPicksRefundReserve.json\":353,\"contracts/deploy.sh\":31,\"contracts/integration.mainnet.json\":51,\"contracts/test.sh\":16,\"dist/assets/ccip-BfrJC5Ha.js\":1,\"dist/assets/index-CMMfdzWJ.js\":101,\"dist/assets/index-gHn7bocS.css\":1,\"dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2\":207,\"dist/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2\":105,\"dist/favicon.svg\":1,\"dist/img/football.webp\":85,\"dist/img/hero.webp\":1034,\"dist/img/mlb.webp\":175,\"dist/img/nba.webp\":41,\"dist/img/nfl.webp\":183,\"dist/img/nhl.webp\":81,\"dist/img/tennis.webp\":69,\"dist/img/ufc.webp\":78,\"dist/index.html\":29,\"dist/og.jpg\":393,\"docs/ACTIVATION.md\":195,\"docs/KNOWLEDGE_ENGINE.md\":32,\"docs/LAUNCH.md\":153,\"docs/OPERATIONS.md\":186,\"docs/PAYMENT_ENGINE.md\":129,\"docs/SECURITY_AUDIT.md\":162,\"docs/V10_REPORT.md\":125,\"docs/V8_REPORT.md\":171,\"docs/validation/contracts-fork-results-launch.txt\":24,\"docs/validation/contracts-fork-results-v10.txt\":485,\"docs/validation/contracts-fork-results-v9.1.txt\":27,\"docs/validation/contracts-test-results-launch.txt\":190,\"docs/validation/contracts-test-results-v10-1.txt\":612,\"docs/validation/contracts-test-results-v10.txt\":598,\"docs/validation/contracts-test-results-v8.txt\":525,\"docs/validation/contracts-test-results-v9.txt\":115,\"docs/validation/contracts-test-results.txt\":656,\"docs/validation/deploy-dry-run-v10-1.txt\":38,\"docs/validation/deploy-dry-run-v10.txt\":38,\"docs/validation/deploy-dry-run.txt\":29,\"docs/validation/engine-e2e-results.txt\":28,\"docs/validation/engine-tests-v8.txt\":18,\"docs/validation/indexer-test-results-v8.txt\":20,\"docs/validation/indexer-test-results.txt\":14,\"docs/validation/knowledge-ingest-results.txt\":6,\"docs/validation/render-escrow-results.txt\":5,\"docs/validation/taste-results-v10-1.txt\":116,\"docs/validation/taste-results-v10.txt\":18,\"docs/validation/taste-results-v9.1.txt\":17,\"docs/validation/taste-results.txt\":17,\"docs/validation/web-interaction-v10.txt\":38,\"docs/validation/web-interaction-v9.1.json\":41,\"docs/validation/web-tests-v10.txt\":62,\"docs/validation/web-tests-v9.1.txt\":65,\"docs/validation/web-tests-v9.2.txt\":60,\"docs/validation/web-tests-v9.txt\":27,\"foundry.toml\":19,\"script/Deploy.s.sol\":107,\"src/ImdPicksEscrow.sol\":595,\"src/ImdPicksRefundReserve.sol\":209,\"src/Interfaces.sol\":39,\"test/ImdPicksAdversarial.t.sol\":594,\"test/ImdPicksEscrow.fork.t.sol\":415,\"test/ImdPicksEscrow.invariant.t.sol\":252,\"test/ImdPicksEscrow.t.sol\":901,\"test/ImdPicksLifecycle.invariant.t.sol\":405,\"test/ImdPicksRefundReserve.t.sol\":259,\"test/ImdPicksWalletGas.t.sol\":258,\"test/LaunchAdaptation.t.sol\":682,\"test/lib/forge-std/LICENSE-APACHE\":203,\"test/lib/forge-std/LICENSE-MIT\":25,\"test/lib/forge-std/src/Base.sol\":48,\"test/lib/forge-std/src/Config.sol\":60,\"test/lib/forge-std/src/LibVariable.sol\":477,\"test/lib/forge-std/src/Script.sol\":30,\"test/lib/forge-std/src/StdAssertions.sol\":1300,\"test/lib/forge-std/src/StdChains.sol\":316,\"test/lib/forge-std/src/StdCheats.sol\":923,\"test/lib/forge-std/src/StdConfig.sol\":672,\"test/lib/forge-std/src/StdConstants.sol\":30,\"test/lib/forge-std/src/StdError.sol\":33,\"test/lib/forge-std/src/StdInvariant.sol\":161,\"test/lib/forge-std/src/StdJson.sol\":331,\"test/lib/forge-std/src/StdMath.sol\":68,\"test/lib/forge-std/src/StdSecp256k1.sol\":119,\"test/lib/forge-std/src/StdStorage.sol\":612,\"test/lib/forge-std/src/StdStyle.sol\":410,\"test/lib/forge-std/src/StdToml.sol\":323,\"test/lib/forge-std/src/StdUtils.sol\":247,\"test/lib/forge-std/src/Test.sol\":34,\"test/lib/forge-std/src/Vm.sol\":3130,\"test/lib/forge-std/src/console.sol\":1599,\"test/lib/forge-std/src/console2.sol\":4,\"test/lib/forge-std/src/interfaces/IERC1155.sol\":105,\"test/lib/forge-std/src/interfaces/IERC165.sol\":12,\"test/lib/forge-std/src/interfaces/IERC20.sol\":43,\"test/lib/forge-std/src/interfaces/IERC4626.sol\":190,\"test/lib/forge-std/src/interfaces/IERC6909.sol\":72,\"test/lib/forge-std/src/interfaces/IERC721.sol\":164,\"test/lib/forge-std/src/interfaces/IERC7540.sol\":145,\"test/lib/forge-std/src/interfaces/IERC7575.sol\":241,\"test/lib/forge-std/src/interfaces/IMulticall3.sol\":68,\"test/lib/forge-std/src/safeconsole.sol\":13248,\"test/utils/Base.sol\":65,\"test/utils/Fixture.sol\":92,\"test/utils/GasFloorIntake.sol\":118,\"test/utils/Mocks.sol\":183,\"test/utils/WalletGas.sol\":76,\"web/index.html\":28,\"web/package-lock.json\":1995,\"web/package.json\":24,\"web/public/favicon.svg\":1,\"web/public/img/football.webp\":85,\"web/public/img/hero.webp\":1034,\"web/public/img/mlb.webp\":175,\"web/public/img/nba.webp\":41,\"web/public/img/nfl.webp\":183,\"web/public/img/nhl.webp\":81,\"web/public/img/tennis.webp\":69,\"web/public/img/ufc.webp\":78,\"web/public/og.jpg\":393,\"web/scripts/gen-abi.mjs\":6,\"web/scripts/i18n-check.mjs\":87,\"web/server/indexer.test.mjs\":499,\"web/server/indexer.ts\":495,\"web/server/knowledge/ingest.ts\":106,\"web/server/knowledge/migrations/001_init.sql\":67,\"web/server/knowledge/migrations/002_scoped_aliases_confirmations.sql\":43,\"web/server/knowledge/sources.ts\":63,\"web/server/knowledge/store.ts\":80,\"web/server/knowledge/track.ts\":114,\"web/server/node-shim.d.ts\":31,\"web/server/tsconfig.json\":5,\"web/src/backtest.ts\":219,\"web/src/charts.tsx\":59,\"web/src/checkout.tsx\":219,\"web/src/config.ts\":154,\"web/src/engine/abi.ts\":1418,\"web/src/engine/deadline.ts\":149,\"web/src/engine/labels.ts\":7,\"web/src/engine/legs.ts\":61,\"web/src/engine/pricing.ts\":84,\"web/src/engine/report.ts\":179,\"web/src/engine/reserve.ts\":70,\"web/src/engine/sdk.ts\":428,\"web/src/escrow.tsx\":349,\"web/src/fonts/inter-latin-wght-normal.woff2\":207,\"web/src/fonts/space-grotesk-latin-wght-normal.woff2\":105,\"web/src/games.tsx\":482,\"web/src/i18n-flow.ts\":219,\"web/src/i18n-langs.ts\":198,\"web/src/i18n-pay.ts\":349,\"web/src/i18n-ui/es.ts\":412,\"web/src/i18n-ui/fr.ts\":19,\"web/src/i18n-ui/index.ts\":32,\"web/src/i18n-ui/it.ts\":412,\"web/src/i18n-ui/ja.ts\":412,\"web/src/i18n-ui/keys.ts\":379,\"web/src/i18n-ui/pcm.ts\":412,\"web/src/i18n-ui/pt.ts\":412,\"web/src/i18n-ui/ru.ts\":412,\"web/src/i18n-ui/th.ts\":412,\"web/src/i18n-ui/v10.ts\":169,\"web/src/i18n-ui/v11.ts\":122,\"web/src/i18n-ui/v12.ts\":409,\"web/src/i18n-ui/v13.ts\":88,\"web/src/i18n-ui/v14.ts\":81,\"web/src/i18n-ui/v15.ts\":60,\"web/src/i18n-ui/v5.ts\":307,\"web/src/i18n-ui/v6.ts\":173,\"web/src/i18n-ui/v7.ts\":151,\"web/src/i18n-ui/v8.ts\":142,\"web/src/i18n-ui/v9.ts\":79,\"web/src/i18n-ui/zh.ts\":412,\"web/src/i18n.ts\":122,\"web/src/insight.ts\":78,\"web/src/main.tsx\":209,\"web/src/markdown.tsx\":72,\"web/src/orders.ts\":261,\"web/src/pages.tsx\":1058,\"web/src/predict.ts\":360,\"web/src/prefs.ts\":43,\"web/src/styles.css\":403,\"web/src/swap.tsx\":153,\"web/src/swarm.ts\":667,\"web/src/tiers.tsx\":52,\"web/src/wallet.tsx\":241,\"web/tests/engine.test.mjs\":109,\"web/tests/knowledge.test.mjs\":153,\"web/tests/pricing.test.mjs\":60,\"web/tests/revision-v10-1.test.mjs\":120,\"web/tests/revision.test.mjs\":98,\"web/tsconfig.json\":7,\"web/vite.config.ts\":5},\"excluded\":[\"lib/\",\"contracts/lib/\",\"node_modules/\"],\"truncated\":false}","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"8b67c33279c79c514880ad670e1062d73ec1dc16b9c9a035bb2262ed8bf6e61d","verifiedTreeHash":"d5883d11d201252fecc4b089b1cca4000d7ed7e2","verifierVersion":"0.1.0+0ce771de"},{"checks":[{"durationMs":2953,"exitCode":0,"name":"build","output":"Compiling 12 files with Solc 0.8.28\nSolc 0.8.28 finished in 2.87s\nCompiler run successful with warnings:\nWarning (2018): Function state mutability can be restricted to pure\n   --> src/ImdPicksRefundReserve.sol:131:5:\n    |\n131 |     function _checkSplit(ImdPicksEscrow e, uint256 price, uint256 burn, uint256 dev) private view {\n    |     ^ (Relevant source part starts here and spans across multiple lines).\n\n","passed":true},{"durationMs":2792,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 15 tests for test/ImdPicksEscrow.fork.t.sol:ImdPicksEscrowForkTest\n[SKIP] test_fork_V10_1_pinnedTreasury_and_payToChange_reverts() (gas: 0)\n[SKIP] test_fork_V10_tier3_failure_refund() (gas: 0)\n[SKIP] test_fork_V10_tiers_realIntake_settle() (gas: 0)\n[SKIP] test_fork_V1_resultArgsNamingAnotherRequest_ignored() (gas: 0)\n[SKIP] test_fork_gasFigures() (gas: 0)\n[SKIP] test_fork_launch_failureAfterTimeoutRefund_recorded_toppedUp() (gas: 0)\n[SKIP] test_fork_launch_liveFacts() (gas: 0)\n[SKIP] test_fork_launch_rejectedDelivery_notToppedUp() (gas: 0)\n[SKIP] test_fork_launch_shortDeadline_reverts_noCharge() (gas: 0)\n[SKIP] test_fork_realIntake_failure_refund() (gas: 0)\n[SKIP] test_fork_realTokenAndIntake_settle() (gas: 0)\n[SKIP] test_fork_refundReserve_fullRefund() (gas: 0)\n[SKIP] test_fork_refusedOrder_onlyRefund_noSecondCharge() (gas: 0)\n[SKIP] test_fork_starvedCallback_timeoutRefund() (gas: 0)\n[SKIP] test_fork_tokenFacts() (gas: 0)\nSuite result: ok. 0 passed; 0 failed; 15 skipped; finished in 654.20µs (985.25µs CPU time)\n\nRan 29 tests for test/LaunchAdaptation.t.sol:LaunchAdaptationTest\n[PASS] testFuzz_01d7_window(uint8,uint32) (runs: 1000, μ: 317576, ~: 507195)\n[PASS] testFuzz_13f3_noTopUpBeforeOuterBound(uint256,uint256,uint256) (runs: 1000, μ: 651843, ~: 655952)\n[PASS] test_01d7_everyEventCount_floorIsExact() (gas: 6359686)\n[PASS] test_01d7_floorConstants() (gas: 271874)\n[PASS] test_01d7_siteDeadlines_accepted() (gas: 2415926)\n[PASS] test_01d7_tenMinuteDeadline_fourteenEvents_reverts_noCharge() (gas: 101819)\n[PASS] test_13f3_lateRefundCall_graceCountsFromRefund() (gas: 871302)\n[PASS] test_13f3_shortDeadline_lateRefusal_notToppedUp() (gas: 842786)\n[PASS] test_13f3_shortDeadline_lateReportAfterOneDay_notToppedUp() (gas: 988429)\n[PASS] test_13f3_silentOrder_toppedUpAtOuterBoundPlusGrace() (gas: 871224)\n[PASS] test_55cc_lookAlike_eachFieldChecked() (gas: 21164918)\n[PASS] test_55cc_lookAlike_wrongSplit_refused() (gas: 1934644)\n[PASS] test_6809_understatedCount_rejected_costsSwarmShare_reserveRefuses() (gas: 942783)\n[PASS] test_9872_enumValuesStable() (gas: 493)\n[PASS] test_9872_noReportOutcomes_stillToppedUp() (gas: 1627043)\n[PASS] test_9872_rejectedDelivery_notToppedUp() (gas: 1014130)\n[PASS] test_9872_repeatedRejections_cannotDrainReserve() (gas: 14113862)\n[PASS] test_9872_unattestedDelivery_notToppedUp() (gas: 858376)\n[PASS] test_f44a_control_failureBeforeRefund_sameOutcome() (gas: 959763)\n[PASS] test_f44a_emptyResultAfterTimeoutRefund_isFailure_toppedUp() (gas: 1707366)\n[PASS] test_f44a_failureAfterTimeoutRefund_recorded_andToppedUp() (gas: 1158887)\n[PASS] test_f44a_failureCallback_onlyRecordsTimeoutRefunds() (gas: 872363)\n[PASS] test_f44a_failureWithoutCallback_stillRefused() (gas: 803007)\n[PASS] test_f44a_refusalAfterTimeoutRefund_recorded_notToppedUp() (gas: 867473)\n[PASS] test_f44a_reportAfterTimeoutRefund_stillLate_secondOutcomeIgnored() (gas: 996704)\n[PASS] test_launch_reserveConstructor_makesNoCall_checksOnFirstUse() (gas: 1696646)\n[PASS] test_launch_reserveConstructor_zeroEscrow_reverts() (gas: 216359)\n[PASS] test_launch_reserve_realEscrow_passesCheck() (gas: 40813)\n[PASS] test_launch_reserve_wrongContract_refusedOnFundAndTopUp() (gas: 1743653)\nSuite result: ok. 29 passed; 0 failed; 0 skipped; finished in 385.99ms (734.11ms CPU time)\n\nRan 4 tests for test/LaunchAdaptation.t.sol:LaunchRehearsalTest\n[PASS] test_launch_bothContracts_deployInOneCall_onAnEmptyChain() (gas: 4555518)\n[PASS] test_launch_constructorsAreOrderIndependent() (gas: 4516466)\n[PASS] test_launch_noOwnerOrAdminSurface() (gas: 4940500)\n[PASS] test_launch_runtimeSize_andNoForbiddenOpcodes() (gas: 12777282)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 389.52ms (17.44ms CPU time)\n\nRan 70 tests for test/ImdPicksEscrow.t.sol:ImdPicksEscrowTest\n[PASS] testFuzz_V10_1_anyOtherTreasury_reverts(address,uint8) (runs: 1000, μ: 367400, ~: 367549)\n[PASS] testFuzz_V10_refundPlusSwarmIsPrice(uint8,uint8) (runs: 1000, μ: 774321, ~: 800936)\n[PASS] testFuzz_V10_splitOf_rejectsNonTier(uint256) (runs: 1000, μ: 9563, ~: 9563)\n[PASS] testFuzz_V8_settleXorRefund(uint32,bool) (runs: 1000, μ: 784849, ~: 683509)\n[PASS] testFuzz_V9_tierChargeAndSplit(uint8,bool) (runs: 1000, μ: 899416, ~: 750291)\n[PASS] testFuzz_invalidEvents_revert(uint8) (runs: 1000, μ: 91545, ~: 91546)\n[PASS] testFuzz_outcomes_conserveValue(uint8,uint256) (runs: 1000, μ: 4399205, ~: 3499249)\n[PASS] testFuzz_pay_anyValidInput(bytes32,uint8,uint16,uint256) (runs: 1000, μ: 602275, ~: 566899)\n[PASS] test_V10_1_swarmTreasuryChanged_reverts_noCharge() (gas: 907237)\n[PASS] test_V10_distributionOf_everyEventCount() (gas: 108781)\n[PASS] test_V10_intakeAbove05_blocksEveryTier_noCharge() (gas: 968771)\n[PASS] test_V10_splitExact_allTiers() (gas: 32530)\n[PASS] test_V10_splitOf_onlyTierPrices() (gas: 61153)\n[PASS] test_V10_tier1_fourEvents_settle() (gas: 1017083)\n[PASS] test_V1_callbackForUncompletedRequest_ignored() (gas: 636320)\n[PASS] test_V1_resultArgsNamingAnotherOpenRequest_ignored() (gas: 1401441)\n[PASS] test_V81_onlyVerifier_rightHash_insideWindow() (gas: 792107)\n[PASS] test_V81_reject_refundsAtOnce_neverSettles() (gas: 859369)\n[PASS] test_V81_settle_requiresVerifiedArtifacts() (gas: 976953)\n[PASS] test_V81_unverifiedDelivery_refundableAfterWindow() (gas: 900262)\n[PASS] test_V81_verifiedDelivery_neverRefundable() (gas: 781268)\n[PASS] test_V81_zeroVerifier_rejected() (gas: 301790)\n[PASS] test_V8_badDeadline_reverts_noCharge() (gas: 570793)\n[PASS] test_V8_deadlineBoundary_exactSecond() (gas: 1738493)\n[PASS] test_V8_lateDelivery_beforeRefund_isLate_refundedNotSettled() (gas: 1026928)\n[PASS] test_V8_race_refundThenLateReport_recordedNoFunds() (gas: 974408)\n[PASS] test_V8_unverifiableArtifact_isFailure() (gas: 816145)\n[PASS] test_V9_boundaries_1_4_5_9_10_14_charge() (gas: 2560977)\n[PASS] test_V9_priceBoundaries() (gas: 70659)\n[PASS] test_V9_priceFor_outOfRange_reverts() (gas: 18504)\n[PASS] test_V9_priceMismatch_reverts_noCharge() (gas: 126024)\n[PASS] test_V9_refund_scalesByTier() (gas: 1330995)\n[PASS] test_V9_tier2Approval_tooLowFor_tier3_reverts() (gas: 283823)\n[PASS] test_V9_tier2_fiveEvents_settle() (gas: 1054530)\n[PASS] test_V9_tier3_fourteenEvents_settle() (gas: 1032065)\n[PASS] test_badEventCounts_revert() (gas: 952554)\n[PASS] test_callbackStarved_timeoutRefund() (gas: 742596)\n[PASS] test_callbacks_onlyIntake() (gas: 552091)\n[PASS] test_constants_exactSplit() (gas: 34596)\n[PASS] test_customerDebit_isExactlyOneImd_onDelivery() (gas: 1007023)\n[PASS] test_deliveredOrder_notRefundable() (gas: 767514)\n[PASS] test_duplicateOrder_reverts_noSecondCharge() (gas: 588606)\n[PASS] test_failedOrder_cannotBeChargedAgain_byPayerOrAnyone() (gas: 853725)\n[PASS] test_failedTransferToRecipient_revertsWholeSettle() (gas: 1303046)\n[PASS] test_failureWithoutArgs_noCallback_timeoutRefund() (gas: 710507)\n[PASS] test_failure_refundToPayer_byAnyone() (gas: 867049)\n[PASS] test_falseReturningToken_rejected() (gas: 322960)\n[PASS] test_feeOnTransferToken_rejected() (gas: 367107)\n[PASS] test_insufficientApproval_reverts() (gas: 284130)\n[PASS] test_intakeNotSelling_reverts() (gas: 358962)\n[PASS] test_intakePriceAboveShare_reverts_noCharge() (gas: 366898)\n[PASS] test_intakePriceBelowShare_stillFundsFullShare() (gas: 544193)\n[PASS] test_largerApproval_onlyOneImdTaken() (gas: 520934)\n[PASS] test_lateCallback_afterTimeoutRefund_ignored() (gas: 672482)\n[PASS] test_lateResult_afterTimeoutRefund_ignored() (gas: 848556)\n[PASS] test_noAdminSurface() (gas: 5665)\n[PASS] test_onResult_gasUnderStipend_longUri() (gas: 1057545)\n[PASS] test_orderId_boundToPayer_noSquatting() (gas: 876286)\n[PASS] test_orderId_includesChainAndContract() (gas: 2664436)\n[PASS] test_pay_pullsOneImd_fundsSwarm_escrowsHalf() (gas: 633643)\n[PASS] test_reentrancy_refundDuringPay_blocked() (gas: 606681)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1112566)\n[PASS] test_refundThenNewOrder_isASeparateOneImdAnalysis() (gas: 1606556)\n[PASS] test_refund_beforeTimeout_reverts_afterTimeout_ok() (gas: 727084)\n[PASS] test_refusal_status1_refundable() (gas: 774554)\n[PASS] test_settle_beforeDelivery_reverts() (gas: 533975)\n[PASS] test_settle_exactDistribution() (gas: 1136501)\n[PASS] test_settle_unknownOrder_reverts() (gas: 37326)\n[PASS] test_staleCallback_afterFailure_ignored() (gas: 714841)\n[PASS] test_unknownRequestCallback_ignored() (gas: 64056)\nSuite result: ok. 70 passed; 0 failed; 0 skipped; finished in 411.46ms (2.73s CPU time)\n\nRan 15 tests for test/ImdPicksRefundReserve.t.sol:ImdPicksRefundReserveTest\n[PASS] testFuzz_outcomes_neverOverRefund(uint8,uint256) (runs: 1000, μ: 3756083, ~: 3198282)\n[PASS] test_V10_tiers_fullRefund_escrowPlusHalfImd() (gas: 1699591)\n[PASS] test_V8_intakeCompletedWithoutEscrowRecord_notToppedUp() (gas: 877210)\n[PASS] test_V8_lateReport_notToppedUp() (gas: 897037)\n[PASS] test_V8_reportAfterTimeoutRefund_notToppedUp() (gas: 979027)\n[PASS] test_failedOrder_fullRefund_exactlyOneImd() (gas: 950978)\n[PASS] test_feeOnTransfer_rejected() (gas: 187003)\n[PASS] test_noAdminSurface() (gas: 140559)\n[PASS] test_nonEscrow_refusedOnFirstUse() (gas: 216273)\n[PASS] test_notRefundedStates_notEligible() (gas: 1819607)\n[PASS] test_onlyOnce() (gas: 970455)\n[PASS] test_reentrancy_viaTokenHook_blocked() (gas: 1022645)\n[PASS] test_refusedOrder_notToppedUp() (gas: 803136)\n[PASS] test_reserveTooLow_revertsThenWorksAfterFunding() (gas: 3838715)\n[PASS] test_timeoutOrder_fullRefund() (gas: 794272)\nSuite result: ok. 15 passed; 0 failed; 0 skipped; finished in 411.89ms (422.43ms CPU time)\n\nRan 1 test for test/ImdPicksEscrow.invariant.t.sol:ImdPicksEscrowInvariantTest\n[PASS]\nImdPicksEscrowInvariantTest invariants:\n[PASS] invariant_balanceEqualsEscrow\n[PASS] invariant_conservation\n[PASS] invariant_noStandingApproval\n[PASS] invariant_reserve\n[PASS] invariant_split\n ImdPicksEscrowInvariantTest invariants (runs: 128, calls: 7680, reverts: 0)\n\n╭----------+-------------+-------+---------+----------╮\n| Contract | Selector    | Calls | Reverts | Discards |\n+=====================================================+\n| Handler  | attack      | 740   | 0       | 15       |\n|----------+-------------+-------+---------+----------|\n| Handler  | deliver     | 783   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fail        | 751   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | fundReserve | 795   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | pay         | 787   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | refund      | 783   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | reject      | 776   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | settle      | 795   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | topUp       | 746   | 0       | 0        |\n|----------+-------------+-------+---------+----------|\n| Handler  | wait        | 739   | 0       | 0        |\n╰----------+-------------+-------+---------+----------╯\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 2.68s (2.68s CPU time)\n\nRan 6 test suites in 2.69s (4.28s CPU time): 119 tests passed, 0 failed, 15 skipped (134 total tests)\n","passed":true},{"durationMs":107,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"ImdPicksEscrow.onFailure(bytes32,uint8,bytes32,uint16,uint16,bytes)\",\"ImdPicksEscrow.onResult(bytes32,bytes32,string)\",\"ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes)\",\"ImdPicksEscrow.refund(bytes32)\",\"ImdPicksEscrow.rejectDelivery(bytes32,bytes32)\",\"ImdPicksEscrow.settle(bytes32)\",\"ImdPicksEscrow.verifyDelivery(bytes32,bytes32,bytes32)\",\"ImdPicksRefundReserve.fund(uint256)\",\"ImdPicksRefundReserve.topUp(bytes32)\"],\"files\":{\".gitignore\":9,\"ADAPTATION.md\":204,\"DESIGN.md\":173,\"README.md\":753,\"artifacts/render-results.txt\":16,\"artifacts/samples/recovered-ufc-report.v2.json\":3058,\"artifacts/taste-results.txt\":17,\"artifacts/unit-results.txt\":51,\"artifacts/validation.md\":156,\"contracts/abi/ImdPicksEscrow.json\":1417,\"contracts/abi/ImdPicksRefundReserve.json\":353,\"contracts/deploy.sh\":31,\"contracts/integration.mainnet.json\":51,\"contracts/test.sh\":16,\"dist/assets/ccip-BfrJC5Ha.js\":1,\"dist/assets/index-CMMfdzWJ.js\":101,\"dist/assets/index-gHn7bocS.css\":1,\"dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2\":207,\"dist/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2\":105,\"dist/favicon.svg\":1,\"dist/img/football.webp\":85,\"dist/img/hero.webp\":1034,\"dist/img/mlb.webp\":175,\"dist/img/nba.webp\":41,\"dist/img/nfl.webp\":183,\"dist/img/nhl.webp\":81,\"dist/img/tennis.webp\":69,\"dist/img/ufc.webp\":78,\"dist/index.html\":29,\"dist/og.jpg\":393,\"docs/ACTIVATION.md\":195,\"docs/KNOWLEDGE_ENGINE.md\":32,\"docs/LAUNCH.md\":153,\"docs/OPERATIONS.md\":186,\"docs/PAYMENT_ENGINE.md\":129,\"docs/SECURITY_AUDIT.md\":162,\"docs/V10_REPORT.md\":125,\"docs/V8_REPORT.md\":171,\"docs/validation/contracts-fork-results-launch.txt\":24,\"docs/validation/contracts-fork-results-v10.txt\":485,\"docs/validation/contracts-fork-results-v9.1.txt\":27,\"docs/validation/contracts-test-results-launch.txt\":190,\"docs/validation/contracts-test-results-v10-1.txt\":612,\"docs/validation/contracts-test-results-v10.txt\":598,\"docs/validation/contracts-test-results-v8.txt\":525,\"docs/validation/contracts-test-results-v9.txt\":115,\"docs/validation/contracts-test-results.txt\":656,\"docs/validation/deploy-dry-run-v10-1.txt\":38,\"docs/validation/deploy-dry-run-v10.txt\":38,\"docs/validation/deploy-dry-run.txt\":29,\"docs/validation/engine-e2e-results.txt\":28,\"docs/validation/engine-tests-v8.txt\":18,\"docs/validation/indexer-test-results-v8.txt\":20,\"docs/validation/indexer-test-results.txt\":14,\"docs/validation/knowledge-ingest-results.txt\":6,\"docs/validation/render-escrow-results.txt\":5,\"docs/validation/taste-results-v10-1.txt\":116,\"docs/validation/taste-results-v10.txt\":18,\"docs/validation/taste-results-v9.1.txt\":17,\"docs/validation/taste-results.txt\":17,\"docs/validation/web-interaction-v10.txt\":38,\"docs/validation/web-interaction-v9.1.json\":41,\"docs/validation/web-tests-v10.txt\":62,\"docs/validation/web-tests-v9.1.txt\":65,\"docs/validation/web-tests-v9.2.txt\":60,\"docs/validation/web-tests-v9.txt\":27,\"foundry.toml\":19,\"script/Deploy.s.sol\":107,\"src/ImdPicksEscrow.sol\":595,\"src/ImdPicksRefundReserve.sol\":209,\"src/Interfaces.sol\":39,\"test/ImdPicksEscrow.fork.t.sol\":415,\"test/ImdPicksEscrow.invariant.t.sol\":252,\"test/ImdPicksEscrow.t.sol\":901,\"test/ImdPicksRefundReserve.t.sol\":259,\"test/LaunchAdaptation.t.sol\":682,\"test/utils/Base.sol\":65,\"test/utils/Fixture.sol\":92,\"test/utils/Mocks.sol\":183,\"web/index.html\":28,\"web/package-lock.json\":1995,\"web/package.json\":24,\"web/public/favicon.svg\":1,\"web/public/img/football.webp\":85,\"web/public/img/hero.webp\":1034,\"web/public/img/mlb.webp\":175,\"web/public/img/nba.webp\":41,\"web/public/img/nfl.webp\":183,\"web/public/img/nhl.webp\":81,\"web/public/img/tennis.webp\":69,\"web/public/img/ufc.webp\":78,\"web/public/og.jpg\":393,\"web/scripts/gen-abi.mjs\":6,\"web/scripts/i18n-check.mjs\":87,\"web/server/indexer.test.mjs\":499,\"web/server/indexer.ts\":495,\"web/server/knowledge/ingest.ts\":106,\"web/server/knowledge/migrations/001_init.sql\":67,\"web/server/knowledge/migrations/002_scoped_aliases_confirmations.sql\":43,\"web/server/knowledge/sources.ts\":63,\"web/server/knowledge/store.ts\":80,\"web/server/knowledge/track.ts\":114,\"web/server/node-shim.d.ts\":31,\"web/server/tsconfig.json\":5,\"web/src/backtest.ts\":219,\"web/src/charts.tsx\":59,\"web/src/checkout.tsx\":219,\"web/src/config.ts\":154,\"web/src/engine/abi.ts\":1418,\"web/src/engine/deadline.ts\":149,\"web/src/engine/labels.ts\":7,\"web/src/engine/legs.ts\":61,\"web/src/engine/pricing.ts\":84,\"web/src/engine/report.ts\":179,\"web/src/engine/reserve.ts\":70,\"web/src/engine/sdk.ts\":428,\"web/src/escrow.tsx\":349,\"web/src/fonts/inter-latin-wght-normal.woff2\":207,\"web/src/fonts/space-grotesk-latin-wght-normal.woff2\":105,\"web/src/games.tsx\":482,\"web/src/i18n-flow.ts\":219,\"web/src/i18n-langs.ts\":198,\"web/src/i18n-pay.ts\":349,\"web/src/i18n-ui/es.ts\":412,\"web/src/i18n-ui/fr.ts\":19,\"web/src/i18n-ui/index.ts\":32,\"web/src/i18n-ui/it.ts\":412,\"web/src/i18n-ui/ja.ts\":412,\"web/src/i18n-ui/keys.ts\":379,\"web/src/i18n-ui/pcm.ts\":412,\"web/src/i18n-ui/pt.ts\":412,\"web/src/i18n-ui/ru.ts\":412,\"web/src/i18n-ui/th.ts\":412,\"web/src/i18n-ui/v10.ts\":169,\"web/src/i18n-ui/v11.ts\":122,\"web/src/i18n-ui/v12.ts\":409,\"web/src/i18n-ui/v13.ts\":88,\"web/src/i18n-ui/v14.ts\":81,\"web/src/i18n-ui/v15.ts\":60,\"web/src/i18n-ui/v5.ts\":307,\"web/src/i18n-ui/v6.ts\":173,\"web/src/i18n-ui/v7.ts\":151,\"web/src/i18n-ui/v8.ts\":142,\"web/src/i18n-ui/v9.ts\":79,\"web/src/i18n-ui/zh.ts\":412,\"web/src/i18n.ts\":122,\"web/src/insight.ts\":78,\"web/src/main.tsx\":209,\"web/src/markdown.tsx\":72,\"web/src/orders.ts\":261,\"web/src/pages.tsx\":1058,\"web/src/predict.ts\":360,\"web/src/prefs.ts\":43,\"web/src/styles.css\":403,\"web/src/swap.tsx\":153,\"web/src/swarm.ts\":667,\"web/src/tiers.tsx\":52,\"web/src/wallet.tsx\":241,\"web/tests/engine.test.mjs\":109,\"web/tests/knowledge.test.mjs\":153,\"web/tests/pricing.test.mjs\":60,\"web/tests/revision-v10-1.test.mjs\":120,\"web/tests/revision.test.mjs\":98,\"web/tsconfig.json\":7,\"web/vite.config.ts\":5},\"excluded\":[\"lib/\",\"contracts/lib/\",\"node_modules/\"],\"truncated\":false}","passed":true},{"durationMs":1015,"exitCode":0,"name":"slither","output":"[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:580: Reentrancy in ImdPicksEscrow._send(address,uint256) (src/ImdPicksEscrow.sol#580-585):\n[high/medium] reentrancy-balance at src/ImdPicksRefundReserve.sol:185: Reentrancy in ImdPicksRefundReserve.topUp(bytes32) (src/ImdPicksRefundReserve.sol#185-200):\n[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:539: Reentrancy in ImdPicksEscrow._submit(bytes32,bytes,uint256) (src/ImdPicksEscrow.sol#539-563):\n[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:572: Reentrancy in ImdPicksEscrow._pull(uint256) (src/ImdPicksEscrow.sol#572-577):\n[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:539: Reentrancy in ImdPicksEscrow._submit(bytes32,bytes,uint256) (src/ImdPicksEscrow.sol#539-563):\n[high/medium] reentrancy-balance at src/ImdPicksRefundReserve.sol:172: Reentrancy in ImdPicksRefundReserve.fund(uint256) (src/ImdPicksRefundReserve.sol#172-181):\n[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:539: Reentrancy in ImdPicksEscrow._submit(bytes32,bytes,uint256) (src/ImdPicksEscrow.sol#539-563):\n[high/medium] reentrancy-balance at src/ImdPicksEscrow.sol:539: Reentrancy in ImdPicksEscrow._submit(bytes32,bytes,uint256) (src/ImdPicksEscrow.sol#539-563):\n[medium/high] incorrect-equality at src/ImdPicksEscrow.sol:588: ImdPicksEscrow._call(bytes) (src/ImdPicksEscrow.sol#588-594) uses a dangerous strict equality:\n[medium/medium] reentrancy-no-eth at src/ImdPicksEscrow.sol:323: Reentrancy in ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes) (src/ImdPicksEscrow.sol#323-363):\n[medium/medium] unused-return at src/ImdPicksRefundReserve.sol:152: ImdPicksRefundReserve.eligibility(bytes32) (src/ImdPicksRefundReserve.sol#152-169) ignores return value by (None,None,None,completed) = IIntake(address(ESCROW.INTAKE())).requests(o.requestId) (src/ImdPicksRefundReserve.sol#166)\n[medium/medium] unused-return at src/ImdPicksEscrow.sol:525: ImdPicksEscrow._completedByIntake(bytes32) (src/ImdPicksEscrow.sol#525-528) ignores return value by (payer,None,None,completed) = INTAKE.requests(requestId) (src/ImdPicksEscrow.sol#526)\n[low/medium] reentrancy-benign at src/ImdPicksRefundReserve.sol:172: Reentrancy in ImdPicksRefundReserve.fund(uint256) (src/ImdPicksRefundReserve.sol#172-181):\n[low/medium] reentrancy-benign at src/ImdPicksEscrow.sol:323: Reentrancy in ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes) (src/ImdPicksEscrow.sol#323-363):\n[low/medium] reentrancy-benign at src/ImdPicksEscrow.sol:539: Reentrancy in ImdPicksEscrow._submit(bytes32,bytes,uint256) (src/ImdPicksEscrow.sol#539-563):\n[low/medium] timestamp at src/ImdPicksRefundReserve.sol:152: ImdPicksRefundReserve.eligibility(bytes32) (src/ImdPicksRefundReserve.sol#152-169) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksEscrow.sol:413: ImdPicksEscrow.verifyDelivery(bytes32,bytes32,bytes32) (src/ImdPicksEscrow.sol#413-423) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksEscrow.sol:445: ImdPicksEscrow.onResult(bytes32,bytes32,string) (src/ImdPicksEscrow.sol#445-490) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksEscrow.sol:323: ImdPicksEscrow.pay(bytes32,uint8,uint40,uint256,bytes) (src/ImdPicksEscrow.sol#323-363) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksEscrow.sol:298: ImdPicksEscrow.refundable(bytes32) (src/ImdPicksEscrow.sol#298-309) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksEscrow.sol:588: ImdPicksEscrow._call(bytes) (src/ImdPicksEscrow.sol#588-594) uses timestamp for comparisons\n[low/medium] timestamp at src/ImdPicksEscrow.sol:580: ImdPicksEscrow._send(address,uint256) (src/ImdPicksEscrow.sol#580-585) uses timestamp for comparisons","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"ff16526a345c7f9f91f554cb362f4d07739ecf510848d56a617b29e1ae45ef60","verifiedTreeHash":"98a7ecc8648ca6fc9796e71c4528cc8ede1ff6e3","verifierVersion":"0.1.0+0ce771de"}]}