{"workflow":null,"planning":null,"id":"2d8bf5a2-fe97-45ed-bc6b-1622f3fa12c1","state":"blocked","template":"shape:chain","objective":"Token name: Work\nToken symbol: WORK\n\nImport, audit and deploy this existing Foundry project on Robinhood Chain (4663) as a Uniswap v4 hook launch paired with IMD. The code is complete and tested (forge test: 76 passing; forge build --sizes: WorkersNFT 21.6 KB runtime, no linked libraries, via_ir per foundry.toml, bytecode_hash none). Keep behaviour unchanged; only adapt what deployment strictly needs and keep every test passing.\n\nContracts: src/WorkersNFT.sol (ERC-721 proof-of-work mine, IMD-paid mint, escrowed staking, passive WORK emission, burn pool) and src/WorkHook.sol (the v4 hook, fee 0.75% on top of the launch fee, owner bounds 0-8.75%). test/mocks/Work.sol is a test-only ERC-20 and must never be deployed: the launch token is IMD's.\n\nDeployment order:\n1. The launch token (WORK) exists first.\n2. WorkersNFT(initialOwner = $owner (the paying wallet), workToken = the launch token, imdToken = 0x5f7bb59365ce557c26dbcaa4ee9d39a4b95b7127, manager = the chain's v4 PoolManager, spacing = the launch pool's tickSpacing).\n3. WorkHook(manager, WorkersNFT, $owner) deployed at an address whose low 14 bits equal REQUIRED_HOOK_FLAGS (0x30cc), from the same deploying account.\n4. Initialize the WORK/IMD pool with this hook in a transaction from that same deploying account: beforeInitialize binds the hook to WorkersNFT automatically (bindHook, tx.origin check). The pool key must use fee 12500 (LP_FEE) and the tickSpacing passed to WorkersNFT; adjust only if the launch policy requires different values, and keep hook and NFT consistent.\n5. Owner of both contracts is the paying wallet. Builders address B = 0xc9EAFE33A510a3a3d95A94c4f85AdaF6a3EA12a0 is hard-coded and receives the 10% mint share, activation fees, royalties and builder hook fees; B funds the mining (100M) and burn (50M) pools later with fundPools().\n\nAudit focus: proof-of-work mint and retarget, IMD payment split 65/25/10, escrowed staking (staked NFTs owned by the contract, unstaked never blocked), passive emission with carry-forward (emissionCarry) and releaseMiningRemainder, 24h pause with 24h cooldown, buyback limits and TWAP check, sweep never touching staker IMD / buyback balance / pools, deploy-time hook binding.","blockedReason":"node audit_imported_code: runtime_error","createdAt":"2026-10-07T15:21:26.211Z","updatedAt":"2026-10-07T15:22:00.895Z","paidBy":"0xc9eafe33a510a3a3d95a94c4f85adaf6a3ea12a0","parentJobId":null,"project":{"id":"2d8bf5a2-fe97-45ed-bc6b-1622f3fa12c1","head":"2d8bf5a2-fe97-45ed-bc6b-1622f3fa12c1","running":null,"versions":[{"jobId":"2d8bf5a2-fe97-45ed-bc6b-1622f3fa12c1","workflowId":null,"objective":"Token name: Work\nToken symbol: WORK\n\nImport, audit and deploy this existing Foundry project on Robinhood Chain (4663) as a Uniswap v4 hook launch paired with IMD. The code is complete and tested (forge test: 76 passing; forge build --sizes: WorkersNFT 21.6 KB runtime, no linked libraries, via_ir per foundry.toml, bytecode_hash none). Keep behaviour unchanged; only adapt what deployment strictly needs and keep every test passing.\n\nContracts: src/WorkersNFT.sol (ERC-721 proof-of-work mine, IMD-paid mint, escrowed staking, passive WORK emission, burn pool) and src/WorkHook.sol (the v4 hook, fee 0.75% on top of the launch fee, owner bounds 0-8.75%). test/mocks/Work.sol is a test-only ERC-20 and must never be deployed: the launch token is IMD's.\n\nDeployment order:\n1. The launch token (WORK) exists first.\n2. WorkersNFT(initialOwner = $owner (the paying wallet), workToken = the launch token, imdToken = 0x5f7bb59365ce557c26dbcaa4ee9d39a4b95b7127, manager = the chain's v4 PoolManager, spacing = the launch pool's tickSpacing).\n3. WorkHook(manager, WorkersNFT, $owner) deployed at an address whose low 14 bits equal REQUIRED_HOOK_FLAGS (0x30cc), from the same deploying account.\n4. Initialize the WORK/IMD pool with this hook in a transaction from that same deploying account: beforeInitialize binds the hook to WorkersNFT automatically (bindHook, tx.origin check). The pool key must use fee 12500 (LP_FEE) and the tickSpacing passed to WorkersNFT; adjust only if the launch policy requires different values, and keep hook and NFT consistent.\n5. Owner of both contracts is the paying wallet. Builders address B = 0xc9EAFE33A510a3a3d95A94c4f85AdaF6a3EA12a0 is hard-coded and receives the 10% mint share, activation fees, royalties and builder hook fees; B funds the mining (100M) and burn (50M) pools later with fundPools().\n\nAudit focus: proof-of-work mint and retarget, IMD payment split 65/25/10, escrowed staking (staked NFTs owned by the contract, unstaked never blocked), passive emission with carry-forward (emissionCarry) and releaseMiningRemainder, 24h pause with 24h cooldown, buyback limits and TWAP check, sweep never touching staker IMD / buyback balance / pools, deploy-time hook binding.","baseCommit":"bf1ab2c04c7dd0b2044bedfe56fc4800b375bc44","state":"blocked","createdAt":"2026-10-07T15:21:26.211Z"}]},"deliver":true,"host":false,"site":null,"launch":{"requested":true,"kind":"univ4_hook","id":null,"status":null,"chainId":4663},"oracleRequestId":null,"delivery":null,"media":null,"nodes":[{"key":"adapt_contract_project","role":"implement","state":"waiting","attempt":0,"revisions":0,"judgeRevisions":0,"dependsOn":["audit_imported_code"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-07T15:21:26.211Z","verdict":null,"seat":null,"live":null},{"key":"audit_imported_code","role":"review","state":"failed","attempt":3,"revisions":0,"judgeRevisions":0,"dependsOn":[],"allowedPaths":[],"failureReason":"runtime_error","dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-07T15:22:00.895Z","verdict":null,"seat":null,"live":null},{"key":"manifest","role":"integrate","state":"waiting","attempt":0,"revisions":0,"judgeRevisions":0,"dependsOn":["audit_imported_code","adapt_contract_project","write_foundry_tests"],"allowedPaths":["launch.json"],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-07T15:21:26.211Z","verdict":null,"seat":null,"live":null},{"key":"write_foundry_tests","role":"tests","state":"waiting","attempt":0,"revisions":0,"judgeRevisions":0,"dependsOn":["adapt_contract_project"],"allowedPaths":["test","test/**"],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-07T15:21:26.211Z","verdict":null,"seat":null,"live":null}],"reviews":[{"status":"sent","chainId":1,"txHash":"0xb0d000cc6b73013cbaa7dc23e2c3bfc472528a1f2614bff4c1d69a96fca22daa","blockNumber":26142656,"sentAt":"2026-10-07T19:39:40.106Z","entries":[]}]}