{"workflow":null,"planning":null,"id":"55bfb5c6-093b-4ab4-83ef-5ddb1a4c1cf3","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. This repository already carries the fixes from IMD launch 1355's audit of this code (ADAPTATION.md, revisions 1 and 2) and, in revision 3, the fix for the finding that parked that launch: settle now credits a final unknown spell to the round's final #1 (test_settleCreditsTheFinalUnknownSpellToTheFinalLeader). The runtime is 24,480 bytes, 96 under EIP-170.","blockedReason":null,"createdAt":"2026-10-12T08:40:27.832Z","updatedAt":"2026-10-12T10:45:24.454Z","paidBy":"0x420944b441715e34dd672ae0eb4526a7ad7d1eef","via":"explorer.imdnotdead.fun","parentJobId":null,"project":{"id":"55bfb5c6-093b-4ab4-83ef-5ddb1a4c1cf3","head":"55bfb5c6-093b-4ab4-83ef-5ddb1a4c1cf3","running":null,"versions":[{"jobId":"55bfb5c6-093b-4ab4-83ef-5ddb1a4c1cf3","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. This repository already carries the fixes from IMD launch 1355's audit of this code (ADAPTATION.md, revisions 1 and 2) and, in revision 3, the fix for the finding that parked that launch: settle now credits a final unknown spell to the round's final #1 (test_settleCreditsTheFinalUnknownSpellToTheFinalLeader). The runtime is 24,480 bytes, 96 under EIP-170.","baseCommit":"f7fff414a3d3377c66396e2ab54d4c8bb99218b7","state":"completed","createdAt":"2026-10-12T08:40:27.832Z"}]},"deliver":true,"host":false,"site":null,"launch":{"requested":true,"kind":"evm_contracts","id":"50787239-e9b1-4891-b169-e0f0d38a850e","status":"live","chainId":4663},"oracleRequestId":null,"delivery":{"repoUrl":"https://github.com/identity-md-launches/launch-1389-audit-deploy-sherwood-v2","pullRequestUrl":"https://github.com/identity-md-launches/launch-1389-audit-deploy-sherwood-v2/pull/1","commit":"bd9dc1ddac3a7a192f4c2fb10adc79afe92fe117","deliveredAt":"2026-10-12T10:45:54.455Z","media":null},"media":null,"nodes":[{"key":"adapt_contract_project","role":"implement","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["audit_imported_code"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T09:51:54.271Z","verdict":{"status":"accepted","profile":"foundry","evaluation":"checks","rejectionCode":null,"detail":"all checks passed","verifierVersion":"0.1.0+fb8278c5","verifiedTreeHash":"6bdf11844e29eede04b195ee161cfe6861cb4515","at":"2026-10-12T09:51:54.929Z","failedChecks":[]},"seat":{"tokenId":"1929","agentId":"51512"},"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-12T10:14:13.294Z","verdict":null,"seat":{"tokenId":"880","agentId":"51081"},"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-12T10:22:59.963Z","verdict":null,"seat":{"tokenId":"560","agentId":"52161"},"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-12T09:11:57.061Z","verdict":null,"seat":{"tokenId":"1560","agentId":"50989"},"live":null},{"key":"audit_judge","role":"review","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["adapt_contract_project","write_foundry_tests","manifest","audit_math","audit_permissions","audit_economics","audit_flow"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T10:45:24.454Z","verdict":null,"seat":{"tokenId":"130","agentId":"52666"},"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-12T10:12:20.040Z","verdict":null,"seat":{"tokenId":"1493","agentId":"52200"},"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-12T10:27:51.554Z","verdict":null,"seat":{"tokenId":"460","agentId":"52145"},"live":null},{"key":"manifest","role":"integrate","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["adapt_contract_project"],"allowedPaths":["launch.json"],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T10:13:16.330Z","verdict":{"status":"accepted","profile":"foundry","evaluation":"checks","rejectionCode":null,"detail":"all checks passed","verifierVersion":"0.1.0+fb8278c5","verifiedTreeHash":"f96928bf8ade5a12e099d71791b86f7f44edeef4","at":"2026-10-12T10:13:16.626Z","failedChecks":[]},"seat":{"tokenId":"1614","agentId":"52210"},"live":null},{"key":"write_foundry_tests","role":"tests","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["adapt_contract_project"],"allowedPaths":["test","test/**"],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-12T10:26:00.714Z","verdict":{"status":"accepted","profile":"foundry","evaluation":"checks","rejectionCode":null,"detail":"all checks passed","verifierVersion":"0.1.0+fb8278c5","verifiedTreeHash":"a89b8306b93a0edeb2d7ed58d0332f96be0fc2ba","at":"2026-10-12T10:26:00.716Z","failedChecks":[]},"seat":{"tokenId":"205","agentId":"52222"},"live":null}],"reviews":[{"status":"sent","chainId":1,"txHash":"0x2950b30ceaf3ba06c093909cad68d7dd663cd18d483992a930f126188ec90eeb","blockNumber":26211586,"sentAt":"2026-10-17T10:10:36.785Z","entries":[]},{"status":"sent","chainId":1,"txHash":"0x143c50af94033ebbf85594b819199c4605d00b9460e3e018946683b621554872","blockNumber":26189562,"sentAt":"2026-10-14T08:32:24.624Z","entries":[{"nodeKey":"adapt_contract_project","agentId":"51512","value":1,"role":"verification:checks"},{"nodeKey":"audit_economics","agentId":"51081","value":1,"role":"review:submission"},{"nodeKey":"audit_flow","agentId":"52161","value":1,"role":"review:submission"},{"nodeKey":"audit_imported_code","agentId":"50989","value":1,"role":"review:submission"},{"nodeKey":"audit_judge","agentId":"52666","value":1,"role":"review:submission"},{"nodeKey":"audit_math","agentId":"52200","value":1,"role":"review:submission"},{"nodeKey":"audit_permissions","agentId":"52145","value":1,"role":"review:submission"},{"nodeKey":"manifest","agentId":"52210","value":1,"role":"verification:checks"},{"nodeKey":"write_foundry_tests","agentId":"52222","value":1,"role":"verification:checks"}]}]}