{"workflow":null,"planning":null,"id":"0f874eef-fadd-41fd-aab5-bf3ff4c420d4","state":"completed","template":"shape:chain","objective":"Audit and deploy Sherwood v2 on Robinhood Chain (4663) for $IMD, with no new token. Sherwood v2 (src/SherwoodV2.sol) is a Uniswap v4 hook running a leaderboard game in rolling 20-hour rounds on one native-ETH/$IMD pool: every buy scores points and pays 5% of its ETH into the round's pot. Moves are Buy, Steal, Robin Hood, Flip (Dice Protocol randomness) and Shield, with stacking charges. Each pot pays the top 3 40/20/10%, 8% to the King of the Hill (longest at #1), 10% buys back and burns $IMD through the existing ETH/$IMD 1% pool, 7% buys back and burns $PFWA (the host token) through its holder pool, and 5% rolls over. Prizes are claimed within 7 days; anything unclaimed goes into the live round's pot. A v4 hook needs its permission flags (0x20CC) in its address, and this launch takes no salt, so deploy ONE contract, src/SherwoodV2Launcher.sol:SherwoodV2Launcher, whose constructor finds the salt onchain and deploys the hook with CREATE2 (about 10M gas; rehearsed on a fork in test/SherwoodV2LauncherFork.t.sol). The hook is launcher.hook(). Constructor arguments, in order: poolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951, token ($IMD) 0x5f7bb59365ce557c26dbcaa4ee9d39a4b95b7127, host ($PFWA) 0xa934ba4f59070149d37a93f8a002af79bae35563, hostHolderMin 100000000000000000000000, dice 0xd8a0680e7699526b57140ed4eafdcc7219dc0a0c, diceProvider 0x8741b8a825644d9ef18faf2dab5e9b47b900f2b6, owner $owner, genesis 1791835200. Please keep the game rules and the split as they are; fix anything the audit finds. Focus: swap delta accounting and the two buyback swaps in unlockCallback, pot/prize/referral/claim/sweep accounting (ETH out can never exceed ETH in, and settlement can never revert), the flip lifecycle with Dice, the charge clocks, the King of the Hill reign tracking, and anything that could block swaps, settlement or claims. Our own notes for the audit are in README.md under Sherwood v2.","blockedReason":null,"createdAt":"2026-10-12T01:36:51.371Z","updatedAt":"2026-10-12T07:34:42.333Z","paidBy":"0x420944b441715e34dd672ae0eb4526a7ad7d1eef","via":"explorer.imdnotdead.fun","parentJobId":null,"project":{"id":"0f874eef-fadd-41fd-aab5-bf3ff4c420d4","head":"0f874eef-fadd-41fd-aab5-bf3ff4c420d4","running":null,"versions":[{"jobId":"0f874eef-fadd-41fd-aab5-bf3ff4c420d4","workflowId":null,"objective":"Audit and deploy Sherwood v2 on Robinhood Chain (4663) for $IMD, with no new token. Sherwood v2 (src/SherwoodV2.sol) is a Uniswap v4 hook running a leaderboard game in rolling 20-hour rounds on one native-ETH/$IMD pool: every buy scores points and pays 5% of its ETH into the round's pot. Moves are Buy, Steal, Robin Hood, Flip (Dice Protocol randomness) and Shield, with stacking charges. Each pot pays the top 3 40/20/10%, 8% to the King of the Hill (longest at #1), 10% buys back and burns $IMD through the existing ETH/$IMD 1% pool, 7% buys back and burns $PFWA (the host token) through its holder pool, and 5% rolls over. Prizes are claimed within 7 days; anything unclaimed goes into the live round's pot. A v4 hook needs its permission flags (0x20CC) in its address, and this launch takes no salt, so deploy ONE contract, src/SherwoodV2Launcher.sol:SherwoodV2Launcher, whose constructor finds the salt onchain and deploys the hook with CREATE2 (about 10M gas; rehearsed on a fork in test/SherwoodV2LauncherFork.t.sol). The hook is launcher.hook(). Constructor arguments, in order: poolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951, token ($IMD) 0x5f7bb59365ce557c26dbcaa4ee9d39a4b95b7127, host ($PFWA) 0xa934ba4f59070149d37a93f8a002af79bae35563, hostHolderMin 100000000000000000000000, dice 0xd8a0680e7699526b57140ed4eafdcc7219dc0a0c, diceProvider 0x8741b8a825644d9ef18faf2dab5e9b47b900f2b6, owner $owner, genesis 1791835200. Please keep the game rules and the split as they are; fix anything the audit finds. Focus: swap delta accounting and the two buyback swaps in unlockCallback, pot/prize/referral/claim/sweep accounting (ETH out can never exceed ETH in, and settlement can never revert), the flip lifecycle with Dice, the charge clocks, the King of the Hill reign tracking, and anything that could block swaps, settlement or claims. Our own notes for the audit are in README.md under Sherwood v2.","baseCommit":"59dd17c0dff92edb99c069e0d65fa2157e2ed2be","state":"completed","createdAt":"2026-10-12T01:36:51.371Z"}]},"deliver":true,"host":false,"site":null,"launch":{"requested":true,"kind":"evm_contracts","id":"fcaf211f-83b5-4e3c-aede-7cd3941658b0","status":"parked","chainId":4663},"oracleRequestId":null,"delivery":{"repoUrl":"https://github.com/identity-md-launches/launch-1355-audit-deploy-sherwood-v2","pullRequestUrl":"https://github.com/identity-md-launches/launch-1355-audit-deploy-sherwood-v2/pull/1","commit":"85a1b49e9dff3b2bd74313ef8ce131671977569b","deliveredAt":"2026-10-12T07:35:19.457Z","media":null},"media":null,"nodes":[{"key":"adapt_contract_project","role":"implement","state":"accepted","attempt":1,"revisions":2,"judgeRevisions":2,"dependsOn":["audit_imported_code"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T06:52:30.470Z","verdict":{"status":"accepted","profile":"foundry","evaluation":"checks","rejectionCode":null,"detail":"all checks passed","verifierVersion":"0.1.0+fb8278c5","verifiedTreeHash":"16d64172190cfad9b67c73f5ff0eebc4a7518825","at":"2026-10-12T06:52:30.473Z","failedChecks":[]},"seat":{"tokenId":"956","agentId":"52481"},"live":null},{"key":"audit_economics","role":"review","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["adapt_contract_project"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T04:44:54.283Z","verdict":null,"seat":{"tokenId":"724","agentId":"51451"},"live":null},{"key":"audit_flow","role":"review","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["adapt_contract_project"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T04:41:52.541Z","verdict":null,"seat":{"tokenId":"76","agentId":"52292"},"live":null},{"key":"audit_imported_code","role":"review","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":[],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T01:55:36.955Z","verdict":null,"seat":{"tokenId":"959","agentId":"52176"},"live":null},{"key":"audit_judge","role":"review","state":"accepted","attempt":1,"revisions":2,"judgeRevisions":2,"dependsOn":["adapt_contract_project","write_foundry_tests","manifest","audit_math","audit_permissions","audit_economics","audit_flow"],"allowedPaths":[],"failureReason":null,"dispatchNote":"judge findings unresolved after 2 revisions: no revision budget left for adapt_contract_project (2 revisions, 2 from the judge) — settle drops the final unknown spell: the round's final #1 gets no reign for it and the 8% King share goes to a player observed at #1 for less (write_foundry_tests 95e534f7, reproduced)","dispatchNoteAt":"2026-10-12T07:34:42.333Z","updatedAt":"2026-10-12T07:34:42.333Z","verdict":null,"seat":{"tokenId":"13","agentId":"51504"},"live":null},{"key":"audit_math","role":"review","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["adapt_contract_project"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T04:36:54.046Z","verdict":null,"seat":{"tokenId":"1981","agentId":"51374"},"live":null},{"key":"audit_permissions","role":"review","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["adapt_contract_project"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T04:39:22.972Z","verdict":null,"seat":{"tokenId":"939","agentId":"52420"},"live":null},{"key":"manifest","role":"integrate","state":"accepted","attempt":1,"revisions":2,"judgeRevisions":2,"dependsOn":["adapt_contract_project"],"allowedPaths":["launch.json"],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T07:03:48.466Z","verdict":{"status":"accepted","profile":"foundry","evaluation":"checks","rejectionCode":null,"detail":"all checks passed","verifierVersion":"0.1.0+fb8278c5","verifiedTreeHash":"f9937caa16fafe688bbb23bc2957303de20a26a7","at":"2026-10-12T07:03:49.702Z","failedChecks":[]},"seat":{"tokenId":"1484","agentId":"51367"},"live":null},{"key":"write_foundry_tests","role":"tests","state":"accepted","attempt":1,"revisions":2,"judgeRevisions":2,"dependsOn":["adapt_contract_project"],"allowedPaths":["test","test/**"],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T07:20:03.661Z","verdict":{"status":"accepted","profile":"foundry","evaluation":"checks","rejectionCode":null,"detail":"all checks passed","verifierVersion":"0.1.0+fb8278c5","verifiedTreeHash":"e22de5d8aff7d3d89b167ae5b789f077b802f214","at":"2026-10-12T07:20:03.719Z","failedChecks":[]},"seat":{"tokenId":"429","agentId":"51140"},"live":null}],"reviews":[{"status":"sent","chainId":1,"txHash":"0xa89129db1ec3f319a022aa88b99b9e7898f8ccacbc00a2edc6219e3e09a8c477","blockNumber":26202759,"sentAt":"2026-10-16T04:40:26.618Z","entries":[]},{"status":"sent","chainId":1,"txHash":"0x7c2b542296c8fe631cee46e788f73feeaf2bc5b67cd32c8d2226299159132b6f","blockNumber":26189500,"sentAt":"2026-10-14T08:20:05.238Z","entries":[{"nodeKey":"adapt_contract_project","agentId":"51485","value":1,"role":"verification:checks"},{"nodeKey":"adapt_contract_project","agentId":"51141","value":1,"role":"verification:checks"},{"nodeKey":"adapt_contract_project","agentId":"52481","value":1,"role":"verification:checks"},{"nodeKey":"audit_economics","agentId":"51451","value":1,"role":"review:submission"},{"nodeKey":"audit_flow","agentId":"52292","value":1,"role":"review:submission"},{"nodeKey":"audit_imported_code","agentId":"52176","value":1,"role":"review:submission"},{"nodeKey":"audit_judge","agentId":"51504","value":1,"role":"review:submission"},{"nodeKey":"audit_judge","agentId":"51317","value":1,"role":"review:submission"},{"nodeKey":"audit_judge","agentId":"51468","value":1,"role":"review:submission"},{"nodeKey":"audit_math","agentId":"51374","value":1,"role":"review:submission"},{"nodeKey":"audit_permissions","agentId":"52420","value":1,"role":"review:submission"},{"nodeKey":"manifest","agentId":"52232","value":1,"role":"verification:checks"},{"nodeKey":"manifest","agentId":"51375","value":1,"role":"verification:checks"},{"nodeKey":"manifest","agentId":"51367","value":1,"role":"verification:checks"},{"nodeKey":"write_foundry_tests","agentId":"51033","value":1,"role":"verification:checks"},{"nodeKey":"write_foundry_tests","agentId":"51139","value":1,"role":"verification:checks"},{"nodeKey":"write_foundry_tests","agentId":"51140","value":1,"role":"verification:checks"}]}]}