{"workflow":{"id":"1198001b-6d86-4de4-b8eb-44dd394636eb","objective":"Release Whale Tax (token symbol WHAL) on Sepolia as a univ4_hook launch. Token: Whale Tax (WHAL), total supply 1,000,000,000 WHAL with 18 decimals, minted once to the deployer (a separate zero-argument ERC-20, no mint, owner or admin). Hook: WhaleTaxHook, a Uniswap v4 hook on the token's native-ETH pool whose fee grows with the swap's price impact. beforeSwap stores the pre-swap sqrtPriceX96 in transient storage keyed by PoolId. afterSwap reads the post-swap sqrtPriceX96 and computes the price move m in bps, m = |P_after / P_before - 1| x 10,000 with P = sqrtPrice squared, using FullMath.mulDiv so nothing overflows, then clears the transient slot (Solidity 0.8.26, foundry.toml evm_version = \"cancun\", which Sepolia supports). Fee bps = 30 + floor(470 x min(m, 500) / 500): 0.3% for a swap that barely moves the price, rising linearly to 5% at a 5% move and capped there. The fee is taken from the swap's unspecified leg as a positive unspecified afterSwap delta: exact-in pays it out of the output, exact-out on top of the input, in whichever currency that is. The hook settles it by minting itself ERC-6909 claims (never take() in a callback) and permissionless burnFees(currency) sends accrued claims to 0x000000000000000000000000000000000000dEaD inside the hook's unlockCallback, their only destination. Events: WhaleTax(poolId, moveBps, feeBps, currency, fee). README: the tax is per swap, so splitting a trade across swaps or blocks lowers it; that is the design, not a bug. Deploy shape, matching the live Sepolia hook launches 170 and 186 (168 passed the mainnet PoolManager and is not a model): WhaleTaxHook's only constructor argument is the Sepolia PoolManager 0xE03A1074c86CFeDd5C142C4F04F1a1536e203543; every rate, window and threshold here is a source constant; there is no owner, admin, setter, pause, upgrade or sweep, and no $owner or $token argument. Permissions are exactly beforeSwap, afterSwap, afterSwapReturnDelta (low address bits 0x00C4), all others false; the constructor calls Hooks.validateHookPermissions and the CREATE2 salt is mined for those bits. The factory initializes the pool (currency0 native ETH, currency1 WHAL, fee 3000, tickSpacing 60) and seeds one-sided WHAL liquidity, so nothing in the hook may revert that initialize or that liquidity add (launch 138 was parked when a beforeInitialize gate reverted the factory), and the first buy lands in a pool that holds no ETH. All state is keyed by PoolId; a pool on this hook whose currency0 is not native ETH gets zero deltas and no other effect. Every callback requires msg.sender == PoolManager. Tests (Foundry, a real v4-core PoolManager deployed in the test, hook at a mined address): a launch rehearsal that initializes at the manifest price, seeds one-sided WHAL liquidity like the factory and makes the first buy into the ETH-less pool; exact-in and exact-out in both directions; dust amounts; a pool whose currency0 is not ETH; direct callback calls from a non-PoolManager address revert; fuzzed sizes; and specifically: a tiny swap pays 30 bps; a 2.5% move pays 265 bps; any move of 5% or more pays 500 bps; exact-in and exact-out in both directions; two swaps in one transaction each use their own pre-swap price; burnFees; the hook's claims equal unburned fees (fuzzed). An independent adversarial review (read-only) must attack: impact maths (overflow, rounding, direction), the transient slot across several swaps in one transaction, the fee never exceeding the unspecified leg, the zero-liquidity case where the price jumps to the limit, and burnFees accounting. It reports each finding with the exact call sequence that triggers it. Website: one static page (dist/index.html) that reads the hook's views and events and the pool price through Uniswap's Sepolia StateView, with a buy/sell form that swaps through Uniswap's published Sepolia PoolSwapTest router (check it has code). It shows a fee preview for a typed swap size (simulated with eth_call, showing the price move and fee) and the fee curve.","status":"blocked","brief":"# Approved workflow\n\nRelease Whale Tax (token symbol WHAL) on Sepolia as a univ4_hook launch. Token: Whale Tax (WHAL), total supply 1,000,000,000 WHAL with 18 decimals, minted once to the deployer (a separate zero-argument ERC-20, no mint, owner or admin). Hook: WhaleTaxHook, a Uniswap v4 hook on the token's native-ETH pool whose fee grows with the swap's price impact. beforeSwap stores the pre-swap sqrtPriceX96 in transient storage keyed by PoolId. afterSwap reads the post-swap sqrtPriceX96 and computes the price move m in bps, m = |P_after / P_before - 1| x 10,000 with P = sqrtPrice squared, using FullMath.mulDiv so nothing overflows, then clears the transient slot (Solidity 0.8.26, foundry.toml evm_version = \"cancun\", which Sepolia supports). Fee bps = 30 + floor(470 x min(m, 500) / 500): 0.3% for a swap that barely moves the price, rising linearly to 5% at a 5% move and capped there. The fee is taken from the swap's unspecified leg as a positive unspecified afterSwap delta: exact-in pays it out of the output, exact-out on top of the input, in whichever currency that is. The hook settles it by minting itself ERC-6909 claims (never take() in a callback) and permissionless burnFees(currency) sends accrued claims to 0x000000000000000000000000000000000000dEaD inside the hook's unlockCallback, their only destination. Events: WhaleTax(poolId, moveBps, feeBps, currency, fee). README: the tax is per swap, so splitting a trade across swaps or blocks lowers it; that is the design, not a bug. Deploy shape, matching the live Sepolia hook launches 170 and 186 (168 passed the mainnet PoolManager and is not a model): WhaleTaxHook's only constructor argument is the Sepolia PoolManager 0xE03A1074c86CFeDd5C142C4F04F1a1536e203543; every rate, window and threshold here is a source constant; there is no owner, admin, setter, pause, upgrade or sweep, and no $owner or $token argument. Permissions are exactly beforeSwap, afterSwap, afterSwapReturnDelta (low address bits 0x00C4), all others false; the constructor calls Hooks.validateHookPermissions and the CREATE2 salt is mined for those bits. The factory initializes the pool (currency0 native ETH, currency1 WHAL, fee 3000, tickSpacing 60) and seeds one-sided WHAL liquidity, so nothing in the hook may revert that initialize or that liquidity add (launch 138 was parked when a beforeInitialize gate reverted the factory), and the first buy lands in a pool that holds no ETH. All state is keyed by PoolId; a pool on this hook whose currency0 is not native ETH gets zero deltas and no other effect. Every callback requires msg.sender == PoolManager. Tests (Foundry, a real v4-core PoolManager deployed in the test, hook at a mined address): a launch rehearsal that initializes at the manifest price, seeds one-sided WHAL liquidity like the factory and makes the first buy into the ETH-less pool; exact-in and exact-out in both directions; dust amounts; a pool whose currency0 is not ETH; direct callback calls from a non-PoolManager address revert; fuzzed sizes; and specifically: a tiny swap pays 30 bps; a 2.5% move pays 265 bps; any move of 5% or more pays 500 bps; exact-in and exact-out in both directions; two swaps in one transaction each use their own pre-swap price; burnFees; the hook's claims equal unburned fees (fuzzed). An independent adversarial review (read-only) must attack: impact maths (overflow, rounding, direction), the transient slot across several swaps in one transaction, the fee never exceeding the unspecified leg, the zero-liquidity case where the price jumps to the limit, and burnFees accounting. It reports each finding with the exact call sequence that triggers it. Website: one static page (dist/index.html) that reads the hook's views and events and the pool price through Uniswap's Sepolia StateView, with a buy/sell form that swaps through Uniswap's published Sepolia PoolSwapTest router (check it has code). It shows a fee preview for a typed swap size (simulated with eth_call, showing the price move and fee) and the fee curve.\n\nSepolia (11155111) only, launched as univ4_hook on the native-ETH pool the factory opens. GitHub publication and IPFS hosting are approved. Launch token: fixed supply of 1,000,000,000, 18 decimals, no constructor arguments, minted to msg.sender, no mint or admin. One hook; enable only the permission flags its logic uses and never revert the factory's pool initialisation or its one-sided seed. Like every hook launch that has gone live, the hook constructor takes exactly one argument, the Sepolia PoolManager 0xE03A1074c86CFeDd5C142C4F04F1a1536e203543; rates, recipients and the token are source constants or learned from the pool key, and there is no owner. Take any hook fee through return deltas (settled as ERC-6909 claims, paid out by pull) instead of assuming a dynamic-fee pool key. Where a swapper identity is needed, read it from hookData; a swap without valid hookData credits nobody (a router can never claim), and hookData is unauthenticated, which the README states. No external oracles or VRF, no proxies, delegatecall or selfdestruct. foundry.toml sets bytecode_hash = \"none\". Any website is a static export with index.html in dist/. Site label lab-whale-tax-hook.\n\nBuild WHAL and WhaleTaxHook (permissions beforeSwap, afterSwap, afterSwapReturnDelta; PoolManager-only constructor) with a launch-rehearsal Foundry suite and an independent adversarial review, deploy them through the factory on Sepolia, then build the one-page site against the live pool.\n","briefDigest":"5c0ac47a9d259003d7a12c60435ab0eaf821d1da95a69d4c60b2c0b1b8306e58"},"planning":null,"id":"035dfaac-976b-4e98-894a-71e3f4b2fe1a","state":"completed","template":"shape:chain","objective":"WORKFLOW CONTRACT STAGE CONTEXT: the stage produces implemented and tested contracts, ABI documentation and an independently reviewed launch.json. Each assignment contributes only within its own role and write scope. Source-producing assignments own implementation, tests and ABI exports at docs/abi/<Contract>.json where their scope permits. The generated manifest assignment writes only launch.json. Review assignments inspect accepted source and manifest and return findings without editing files; they do not implement contracts or generate ABI files. Use the supplied canonical manifest guidance: policy and signed artifact linkage belong to services, while concrete source, constructor, policy or authorization conflicts remain review findings. Services publish source, attest, admit and deploy after this stage, then start the frontend. Read .imd/reads/workflow.md for the complete approved requirements and apply them to your assigned contribution; later service outcomes are not prerequisites of this assignment.","blockedReason":null,"createdAt":"2026-09-27T05:54:30.130Z","updatedAt":"2026-09-27T06:37:04.062Z","paidBy":"0x8a3b860f6dbfbbbb07f21905ed8cb0234538bdc8","via":"api.imd.fun","parentJobId":null,"project":{"id":"035dfaac-976b-4e98-894a-71e3f4b2fe1a","head":"6e186da6-d29f-43dd-8a95-cf9220929aee","running":null,"versions":[{"jobId":"035dfaac-976b-4e98-894a-71e3f4b2fe1a","workflowId":"1198001b-6d86-4de4-b8eb-44dd394636eb","objective":"Release Whale Tax (token symbol WHAL) on Sepolia as a univ4_hook launch. Token: Whale Tax (WHAL), total supply 1,000,000,000 WHAL with 18 decimals, minted once to the deployer (a separate zero-argument ERC-20, no mint, owner or admin). Hook: WhaleTaxHook, a Uniswap v4 hook on the token's native-ETH pool whose fee grows with the swap's price impact. beforeSwap stores the pre-swap sqrtPriceX96 in transient storage keyed by PoolId. afterSwap reads the post-swap sqrtPriceX96 and computes the price move m in bps, m = |P_after / P_before - 1| x 10,000 with P = sqrtPrice squared, using FullMath.mulDiv so nothing overflows, then clears the transient slot (Solidity 0.8.26, foundry.toml evm_version = \"cancun\", which Sepolia supports). Fee bps = 30 + floor(470 x min(m, 500) / 500): 0.3% for a swap that barely moves the price, rising linearly to 5% at a 5% move and capped there. The fee is taken from the swap's unspecified leg as a positive unspecified afterSwap delta: exact-in pays it out of the output, exact-out on top of the input, in whichever currency that is. The hook settles it by minting itself ERC-6909 claims (never take() in a callback) and permissionless burnFees(currency) sends accrued claims to 0x000000000000000000000000000000000000dEaD inside the hook's unlockCallback, their only destination. Events: WhaleTax(poolId, moveBps, feeBps, currency, fee). README: the tax is per swap, so splitting a trade across swaps or blocks lowers it; that is the design, not a bug. Deploy shape, matching the live Sepolia hook launches 170 and 186 (168 passed the mainnet PoolManager and is not a model): WhaleTaxHook's only constructor argument is the Sepolia PoolManager 0xE03A1074c86CFeDd5C142C4F04F1a1536e203543; every rate, window and threshold here is a source constant; there is no owner, admin, setter, pause, upgrade or sweep, and no $owner or $token argument. Permissions are exactly beforeSwap, afterSwap, afterSwapReturnDelta (low address bits 0x00C4), all others false; the constructor calls Hooks.validateHookPermissions and the CREATE2 salt is mined for those bits. The factory initializes the pool (currency0 native ETH, currency1 WHAL, fee 3000, tickSpacing 60) and seeds one-sided WHAL liquidity, so nothing in the hook may revert that initialize or that liquidity add (launch 138 was parked when a beforeInitialize gate reverted the factory), and the first buy lands in a pool that holds no ETH. All state is keyed by PoolId; a pool on this hook whose currency0 is not native ETH gets zero deltas and no other effect. Every callback requires msg.sender == PoolManager. Tests (Foundry, a real v4-core PoolManager deployed in the test, hook at a mined address): a launch rehearsal that initializes at the manifest price, seeds one-sided WHAL liquidity like the factory and makes the first buy into the ETH-less pool; exact-in and exact-out in both directions; dust amounts; a pool whose currency0 is not ETH; direct callback calls from a non-PoolManager address revert; fuzzed sizes; and specifically: a tiny swap pays 30 bps; a 2.5% move pays 265 bps; any move of 5% or more pays 500 bps; exact-in and exact-out in both directions; two swaps in one transaction each use their own pre-swap price; burnFees; the hook's claims equal unburned fees (fuzzed). An independent adversarial review (read-only) must attack: impact maths (overflow, rounding, direction), the transient slot across several swaps in one transaction, the fee never exceeding the unspecified leg, the zero-liquidity case where the price jumps to the limit, and burnFees accounting. It reports each finding with the exact call sequence that triggers it. Website: one static page (dist/index.html) that reads the hook's views and events and the pool price through Uniswap's Sepolia StateView, with a buy/sell form that swaps through Uniswap's published Sepolia PoolSwapTest router (check it has code). It shows a fee preview for a typed swap size (simulated with eth_call, showing the price move and fee) and the fee curve.","baseCommit":"0243d7da4a4337ae8b16bcdf15bb4ead736fd68f","state":"completed","createdAt":"2026-09-27T05:54:30.130Z"}]},"deliver":true,"host":false,"site":null,"launch":{"requested":true,"kind":"univ4_hook","id":"543763e2-628b-4091-93d9-2fb043124609","status":"live","chainId":11155111},"oracleRequestId":null,"delivery":{"repoUrl":"https://github.com/identity-md-launches/launch-310-whaletaxhook","pullRequestUrl":null,"commit":"07a9d5d68a4e1416289e4c168a4761ec627078a9","deliveredAt":"2026-09-27T06:48:15.877Z","media":null},"media":null,"nodes":[{"key":"adversarial_review","role":"review","state":"accepted","attempt":2,"revisions":0,"judgeRevisions":0,"dependsOn":["build_contract_project","manifest"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-09-27T06:37:04.062Z","verdict":null,"seat":{"tokenId":"1832","agentId":"51430"},"live":null},{"key":"build_contract_project","role":"implement","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":[],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-09-27T06:17:01.604Z","verdict":{"status":"accepted","profile":"foundry","evaluation":"checks","rejectionCode":null,"detail":"all checks passed","verifierVersion":"0.1.0+ff982c0f","verifiedTreeHash":"cd0fe8182588bca6f92ed8d50c47b8a01404f1ea","at":"2026-09-27T06:17:01.606Z","failedChecks":[]},"seat":{"tokenId":"1860","agentId":"50976"},"live":null},{"key":"manifest","role":"integrate","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["build_contract_project"],"allowedPaths":["launch.json"],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-09-27T06:20:40.989Z","verdict":{"status":"accepted","profile":"foundry","evaluation":"checks","rejectionCode":null,"detail":"all checks passed","verifierVersion":"0.1.0+ff982c0f","verifiedTreeHash":"5841a5d5f4f87d3fd0bea2a643a0bed72ccdcb54","at":"2026-09-27T06:20:40.992Z","failedChecks":[]},"seat":{"tokenId":"1846","agentId":"51297"},"live":null}],"reviews":[{"status":"sent","chainId":1,"txHash":"0xaf9a67dd634880177892ca9a835f04e95ac3bd831f3ca6fbb0e8c338befca21d","blockNumber":26115463,"sentAt":"2026-10-04T00:40:51.344Z","entries":[]},{"status":"sent","chainId":1,"txHash":"0x63a69c611f89dce434eff8531768db5062a9977bb618c5b88d3e4659fc2b6530","blockNumber":26114281,"sentAt":"2026-10-03T20:44:03.373Z","entries":[{"nodeKey":"adversarial_review","agentId":"51430","value":1,"role":"review:submission"},{"nodeKey":"build_contract_project","agentId":"50976","value":1,"role":"verification:checks"},{"nodeKey":"manifest","agentId":"51297","value":1,"role":"verification:checks"}]}]}