{"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":"e31673b1-fe65-4248-8048-3aa7df6bbe74","kind":"shape:chain","nodes":[{"acceptedSubmissionHash":"05153f400cb4fc1af0da9ac9276eab022f0d3d7f16be45b4f625ca9f4e2dd62f","dependsOn":["build_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":"0855f014af0fdceed19cbcd68a16485fa7531b49f2fcd5b1bcf8b1f03a6e942e","dependsOn":["build_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":"1193c9e2d5ab0254124f05ede9f1fc0b08cd7d804b3eb159eab410f7db26ec4d","dependsOn":["build_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":"e4bf76da42031837df5c76fcc46fcc83582a82631658ef6cbc629419c766e68c","dependsOn":["build_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":"1d55ab86064a2b10683651955a2a39a3fcc53d2d5f14e4bb63f3c6e3b8a8c8ee","dependsOn":["build_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":"7d04194eea8d5d23588efd8234439d8d23934f2c2a9788eee81f5b0fa6c36bb5","dependsOn":[],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"15b04fc8f60521936b9e2b37c09a804685ec689fc98cd5b04510d986d3106a15","skillId":"build-contract-project","tools":[]},"key":"build_contract_project","kind":"code","role":"implement","skillHash":"15b04fc8f60521936b9e2b37c09a804685ec689fc98cd5b04510d986d3106a15","skillId":"build-contract-project","state":"accepted"},{"acceptedSubmissionHash":"00c211bfd2d335cec065d24d626f1ce16c2fe8fe5b85816757b12093ff2188dc","dependsOn":["build_contract_project"],"execution":{"network":false,"profile":"foundry","requires":[],"tools":[]},"key":"manifest","kind":"code","role":"integrate","skillHash":null,"skillId":null,"state":"accepted"},{"acceptedSubmissionHash":"18ba3cec3689357be35101c16852b616b30254890917d9d461b33bd7d1239563","dependsOn":["build_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":"A custom token: imdUSD (IMDUSD).\nToken name: imdUSD\nToken symbol: IMDUSD\nToken supply: 1,000,000,000 with 18 decimals, all minted once to the deployer in the constructor.","parentJobId":null,"planHash":"18a58d228a78889c94cbe1ce07337f641663fa200ef4cbf4530cd3f5ff39c67b","previousHash":"0000000000000000000000000000000000000000000000000000000000000000","projectId":"e31673b1-fe65-4248-8048-3aa7df6bbe74","publication":{"commit":null,"deliveredAt":null,"repoUrl":"https://github.com/identity-md-launches/launch-3293-imdusd"},"receiptIdentity":{"adapter":"0xde152afb7db5373f34876e1499fbd893a82dd336","chainId":1,"collection":"0x0000ec93127baa929e58e97dd0095a2bfb38ec1d","registry":"0x8004a169fb4a3325136eb29fa0ceb6d2e539a432"},"registry":"0xb6d0a187b050fa5bb0b87033a203f37becf4a775","research":[],"schema":"identitymd-work-v1","signals":[{"agentId":"53927","feedbackHash":"c7c3352890e3c22c34f7b7f484a43874da3d5d32f33c8b7c71fbd109ce7254b1","nodeKey":"audit_economics","submissionHash":"05153f400cb4fc1af0da9ac9276eab022f0d3d7f16be45b4f625ca9f4e2dd62f","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"51060","feedbackHash":"e741677267249ef36ecc030f9177a21d113bf7890f4c6755b55608cb6aa73f76","nodeKey":"audit_flow","submissionHash":"0855f014af0fdceed19cbcd68a16485fa7531b49f2fcd5b1bcf8b1f03a6e942e","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"51318","feedbackHash":"42369584107d242cc58af826d28e5b082b524ec64e1dc047f3668b974b6c0977","nodeKey":"audit_judge","submissionHash":"1193c9e2d5ab0254124f05ede9f1fc0b08cd7d804b3eb159eab410f7db26ec4d","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"53938","feedbackHash":"432015cd12e272b54eb9046a9be9b9058a5be3ebec86f2e8b087294766125874","nodeKey":"audit_math","submissionHash":"e4bf76da42031837df5c76fcc46fcc83582a82631658ef6cbc629419c766e68c","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"51482","feedbackHash":"b62fd011dbdb0dd7623e8d3f3cac50fef0ab764a3c0d429f0cf7bb2a5ba6684a","nodeKey":"audit_permissions","submissionHash":"1d55ab86064a2b10683651955a2a39a3fcc53d2d5f14e4bb63f3c6e3b8a8c8ee","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"51421","feedbackHash":"9b6048e80c4a24b95a460449ff487954f42ac7240431c651d57153a9604b6664","nodeKey":"build_contract_project","submissionHash":"7d04194eea8d5d23588efd8234439d8d23934f2c2a9788eee81f5b0fa6c36bb5","tag1":"verification:checks","tag2":"acceptance-v2","value":1},{"agentId":"51333","feedbackHash":"c91339b0905422aeaa612acd429b4c72b8336c3a57adc812dd9e998dfc36362a","nodeKey":"manifest","submissionHash":"00c211bfd2d335cec065d24d626f1ce16c2fe8fe5b85816757b12093ff2188dc","tag1":"verification:checks","tag2":"acceptance-v2","value":1},{"agentId":"51424","feedbackHash":"a838b63ab687146a309986b47be7c6793fa7b6b1d7fb005449e045e33db96ee3","nodeKey":"write_foundry_tests","submissionHash":"18ba3cec3689357be35101c16852b616b30254890917d9d461b33bd7d1239563","tag1":"verification:checks","tag2":"acceptance-v2","value":1}],"site":null,"snapshotHash":"880df03de1059142bb5ab283259f4448573412aa248a2190896c0e485a966713","state":"completed","submissions":[{"artifacts":[],"attempt":1,"bundleHash":"ff296162f7e60b808410e47b5e6aa6cbb6653e6317d23a8d47d4e98603cecb1a","device":"41f7c1458e1278ad","findings":[],"hash":"00c211bfd2d335cec065d24d626f1ce16c2fe8fe5b85816757b12093ff2188dc","nodeId":"450a4bce-985c-4c69-942a-607ac4318f7d","outcome":"completed","summary":"`launch.json` is written and is the only file changed; `forge build` succeeds and `forge test` passes all 29 tests with the verifier's fuzz seed.\n\nThe protected floor tests could not be run here, because they import harness files that are not in this tree. Instead I checked the manifest against the built token with a throwaway test: name, symbol, decimals and the minted supply all match, and the whole supply lands on the deployer.\n\nWhat the manifest says:\n\n- **Token:** contract `ImdUSD`, name `imdUSD`, symbol `IMDUSD`, 18 decimals, `totalSupply` `\"1000000000000000000000000000\"`.\n- **Constructor arguments:** an empty list, since the accepted constructor takes none and exempts no address.\n- **Application contracts:** none, as the accepted tree contains only the token.\n- **Pool:** paired with `0xd34a99bc0f67ae1bbd63c660e6d0b0dd03e263b7`, fee 12500, tick spacing 60, `initialPrice` `\"79228162514264337593543950336\"`.\n- **Economics:** copied verbatim from the job.\n- **Notes:** 1,321 characters describing the token as built, including that it holds no reserve and enforces no peg despite the \"USD\" in its name.\n\nNothing is committed; `launch.json` is an untracked file in the working tree.","treeHash":"5d3589fb0db6cf92d810032f9b932281e55f0767","usage":{"cachedInputTokens":125461,"cost":{"source":"runtime","usdMicros":649674},"inputTokens":10,"model":"claude-fable-5-2","outputTokens":3078,"runtime":"claude","turns":5,"wallClockMs":42885}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"a8006a8757108cd3","findings":[],"hash":"05153f400cb4fc1af0da9ac9276eab022f0d3d7f16be45b4f625ca9f4e2dd62f","nodeId":"2c124f8f-3a1d-45ea-87fb-376388393b96","outcome":"completed","summary":"The economics review of imdUSD found no defects: `.imd-findings.json` holds an empty findings list and a coverage record, and no repository file was changed.\n\nAll three entry points — `approve`, `transfer` and `transferFrom` — are marked `holds`. The token is unmodified OpenZeppelin v5.4.0 `ERC20` plus a single constructor mint, and the vendored library files are byte-identical to the upstream tag.\n\n- **Invariants:** supply stays at 1,000,000,000 × 10^18 and balances always sum to it. The only mint is in the constructor, no burn is compiled in, and transfers to the zero address revert. The project's 29 tests pass, as do my own edge and fuzz probes.\n- **Economic security:** the runtime bytecode makes no external calls and has no oracle, fee, shared cap or privileged role, so there is no dependency to break and no reentrancy window.\n- **Flow gap:** I ran the launch flows against a real Uniswap v4 PoolManager (v4-core v4.0.0, outside the repository) using the repo's compiled creation code. The 10% to the distributor, the 80% single-sided seed, the remainder, a claim, and a buy and sell all moved exactly the stated amounts, with the token as either currency0 or currency1.\n\nTwo things are recorded in the coverage rows rather than as findings, because they come from the job's economics and not from the token code:\n\n- **Unlocked 20% outside the pool:** the swarm's 10% and the 10% sent to `remainderTo` (an address with no code on chain 1) are not vested. The pool holds no IMD at open, so they can only sell into later buyers' IMD. Buying 10% / 50% / 90% of the seeded tokens costs about 226 / 2,037 / 18,335 IMD including the 1.25% fee.\n- **No peg behind the \"USD\" name:** the contract holds no reserve and enforces no price; the README says so.\n\nOne row is `unreached`: the protected floor test and the real factory, distributor and initialization-guard hook are not in this tree, so I reproduced the same flows with my own harness and a hookless pool instead.","treeHash":null,"usage":{"cachedInputTokens":935495,"chain":[{"calls":6,"chainId":1,"failed":0,"own":6,"public":0,"refused":0}],"cost":{"source":"runtime","usdMicros":2668360},"inputTokens":27,"model":"claude-fable-5-2","outputTokens":25632,"runtime":"claude","turns":16,"wallClockMs":283676}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"312a95392d3e8a75","findings":[{"citation":"resolved","description":"ImdUSD inherits OpenZeppelin v5.4.0 transferFrom unchanged. In lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol, _spendAllowance (lines 294-304) only reverts when `currentAllowance < value`; with value = 0 and an allowance of 0 the check `0 < 0` is false, so the call proceeds to _transfer/_update, which emits `Transfer(from, to, 0)` (line 203). The result is that an account the holder never approved can make the token contract log a Transfer whose `from` is the holder and whose `to` is any address the caller picks. No balance moves and the supply is untouched, so this is not a loss inside the contract. The harm is off chain: wallets and explorers list the event as an outgoing transfer of the holder, which is the mechanism of zero-value address-poisoning scams (a look-alike recipient is planted in the victim's history and later copied as a destination). A token whose name ends in USD is the kind those campaigns target. The README's Assumptions and Operational responsibilities sections document the approve ordering caveat, unlimited allowances and unrecoverable tokens, but say nothing about this; assumption 4 only says transferFrom returns true or reverts. Assumption violated: `a Transfer event with from = X implies X (or a spender X approved) initiated it`. Checked boundaries that do hold: transferFrom(address(0), x, 0) reverts with ERC20InvalidApprover(0), so a fake mint event cannot be emitted; transferFrom(victim, x, 1) with no allowance reverts with ERC20InsufficientAllowance; transfer/transferFrom to address(0) revert. Fix options, both preserving the fixed supply and the launch flows (the factory, the distributor and the v4 PoolManager settle with transfer, never with an unapproved transferFrom; confirmed on a mainnet fork against the real PoolManager and IMD in both currency orders): (a) override transferFrom in ImdUSD to revert with ERC20InsufficientAllowance(msg.sender, 0, 0) when value == 0, from != msg.sender and allowance(from, msg.sender) == 0, then call super; ERC-20 says transferFrom SHOULD throw unless the sender was authorised, so this stays conformant. Trade-off: the contract is no longer byte-for-byte plain OpenZeppelin, and an integrator that pulls zero tokens without any allowance would revert. (b) keep the code and add the behaviour to the README's operational notes so integrators and front ends filter zero-value Transfer events. Which one is a scope decision for the requester; the behaviour itself is reproducible as stated.","line":14,"path":"src/ImdUSD.sol","reproduction":"State: deploy ImdUSD from D; D calls transfer(V, 1000e18) where V = 0x1111111111111111111111111111111111111111. allowance(V, S) == 0 for stranger S = 0x0000000000000000000000000000000000000BAD. Call (msg.sender = S): transferFrom(V, 0x1111111111111111111111111111111111111112, 0). Expected for a holder who approved nobody: revert, as transferFrom(V, anything, 1) does with ERC20InsufficientAllowance(S, 0, 1). Actual: returns true and the token emits exactly one log, Transfer(from = 0x1111...1111, to = 0x1111...1112, value = 0); balanceOf(V) stays 1000e18. Foundry check that fails on the current code: `vm.prank(S); (bool ok,) = address(token).call(abi.encodeCall(token.transferFrom, (V, lookalike, 0))); assertFalse(ok);` -> FAIL, ok == true (run locally as test/scratch/Probe.t.sol::test_strangerCannotEmitTransferFromVictim).","severity":"low","snippet":"contract ImdUSD is ERC20 {","title":"Any account can emit Transfer(holder, anyAddress, 0) from a holder with no allowance (zero-value transferFrom, address-poisoning vector)"},{"citation":"resolved","description":"Periphery check of the code the token and its tests are built on. The five OpenZeppelin files under lib/openzeppelin-contracts/contracts are byte-identical to the v5.4.0 tag (ERC20.sol, IERC20.sol, extensions/IERC20Metadata.sol, utils/Context.sol, interfaces/draft-IERC6093.sol), so the deployed bytecode rests on unmodified library code and this note does not affect it. The forge-std copy is not byte-identical to tag v1.9.7: StdAssertions.sol, StdJson.sol, StdToml.sol, Vm.sol, console.sol, interfaces/IERC7540.sol and interfaces/IMulticall3.sol differ from upstream. Stripping all whitespace makes every one of the 28 files equal to upstream and there are no added or missing files, so the change is a reformat to the project's 120-column style (line wrapping only), not a behavioural edit. The statement in lib/README.md is therefore inaccurate for forge-std: anyone who checks the tree against upstream by hash, as the provenance claim invites, gets a mismatch and has to diff the test framework by hand to learn it is harmless. Fix: re-copy lib/forge-std/src from the v1.9.7 tag without formatting it, or change the sentence to say forge-std was reformatted. No change to src/ or to the token's bytecode is needed.","line":3,"path":"lib/README.md","reproduction":"Fetch https://codeload.github.com/foundry-rs/forge-std/tar.gz/refs/tags/v1.9.7, extract, and run `diff -r forge-std-1.9.7/src lib/forge-std/src`. Expected from the README sentence: no output. Actual: differences in 7 files, for example lib/forge-std/src/console.sol line 5 is `    address constant CONSOLE_ADDRESS = 0x000000000000000000636F6e736F6c652e6c6f67;` on one line where upstream splits it over lines 5-6, and Vm.sol line 827 has getDeployment(...) on one line where upstream uses four. Comparing with all whitespace removed gives zero differences across all 28 files.","severity":"info","snippet":"Ordinary files, not git submodules, copied unmodified from the upstream release tags.","title":"lib/README.md says the vendored libraries are unmodified, but seven forge-std v1.9.7 files were reformatted (whitespace only, test-only code)"}],"hash":"0855f014af0fdceed19cbcd68a16485fa7531b49f2fcd5b1bcf8b1f03a6e942e","nodeId":"5fc3d62b-8531-4f1e-bb37-c3e0be4176f5","outcome":"completed","summary":"The review is finished and `.imd-findings.json` is written: one low finding, one info note, and no critical, high or medium defects. No tracked file was changed, and the scratch tests and build output are removed.\n\n## Findings\n\n1. **Low — zero-value `transferFrom` by a stranger (`src/ImdUSD.sol:14`).** Any account with no allowance can call `transferFrom(holder, anyAddress, 0)`. It returns true and the token emits `Transfer(holder, anyAddress, 0)`.\n   - **Impact:** no balance moves; the harm is the address-poisoning pattern, where a look-alike recipient is planted in a holder's transfer history.\n   - **Fix options:** either a small `transferFrom` override that rejects unapproved zero-value pulls, or a README note so integrators filter zero-value events. The override means the token is no longer plain OpenZeppelin, so that choice is the requester's.\n   - **Proof:** none attached, since a failing test would force the code change over the documentation route.\n\n2. **Info — `lib/README.md:3` says the vendored libraries are unmodified.** Seven forge-std files differ from the v1.9.7 tag. The differences are whitespace only and the code is test-only, so the deployed bytecode is unaffected.\n\n## Coverage\n\n| Target | Verdict | Basis |\n| --- | --- | --- |\n| `ImdUSD.approve(address,uint256)` | holds | Writes only the caller's allowance; zero spender, malformed calldata and attached ether all revert. |\n| `ImdUSD.transfer(address,uint256)` | holds | Moves exactly the amount; short balance and zero recipient revert; self-transfer and zero value conserve balances. |\n| `ImdUSD.transferFrom(address,address,uint256)` | finding 1 | Allowance is spent exactly and over-spend reverts, apart from the zero-value case above. |\n| Constructor | holds | One mint of 1e27 to `msg.sender`. |\n| Fixed supply | holds | No mint or burn path is reachable; `transferFrom(address(0), x, 0)` reverts, so a fake mint event cannot be emitted. |\n| No external calls | holds | The runtime bytecode has no call, create or self-destruct opcodes. |\n| OpenZeppelin files | holds | All five are byte-identical to v5.4.0. |\n| forge-std (test only) | finding 2 | Whitespace-only reformat of seven files against v1.9.7. |\n| README launch facts | holds | The pair address on chain 1 has code, symbol IMD and 18 decimals; the split and opening-price arithmetic are correct. |\n| Launch contracts and manifest | unreached | The factory, distributor and initialization guard sources and `launch.json` are not in this tree. |\n\nBeyond the project's own 29 passing tests, I ran the launch flows on a mainnet fork against the real v4 PoolManager and IMD, with the token sorted on either side of the pair. The swarm transfer, single-sided seed, buy, sell and claim all moved exact amounts. That fork test used no hook, so the guard hook's interaction is part of the unreached row.","treeHash":null,"usage":{"cachedInputTokens":967264,"chain":[{"calls":90,"chainId":1,"failed":0,"own":85,"public":0,"refused":5}],"cost":{"source":"runtime","usdMicros":3070533},"inputTokens":27,"model":"claude-fable-5-2","outputTokens":30526,"runtime":"claude","turns":16,"wallClockMs":317457}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"c7b1db4d25939bd5","findings":[{"citation":"resolved","description":"Reported by the flow specialist as low; reproduced and recalibrated to info. ImdUSD inherits OpenZeppelin v5.4.0 transferFrom unchanged (the five vendored OpenZeppelin files are byte-identical to the v5.4.0 tag). ERC20.transferFrom (lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol line 142) calls _spendAllowance (line 294), which reverts only when `currentAllowance < value` (line 297). With value 0 and allowance 0 that is `0 < 0`, false, so the call goes on to _update, which emits Transfer(from, to, 0) (line 203). A caller the holder never approved can therefore make the token log a Transfer whose `from` is the holder and whose `to` is an address the caller chose. No balance, allowance or supply changes, so nothing is lost on chain and no guarantee the project states is broken: EIP-20 says zero-value transfers MUST be treated as normal transfers and fire the event, and USDT, USDC and every unmodified OpenZeppelin token behave the same way. The exposure is off chain only: wallets and explorers that list zero-value events show an outgoing transfer the holder did not make, which is how address-poisoning campaigns plant look-alike recipients, and a token with USD in its name is a likely target. Why info and not low: it is the documented standard behaviour the brief's plain token implies, and it cannot move or freeze funds. Recommended fix is documentation only: add one item to the README's Operational responsibilities saying that zero-value Transfer events can be emitted from any holder's address by anyone and that front ends and integrators should filter them. I do not recommend the specialist's code option (overriding transferFrom to revert on a zero-value pull without allowance): it would make the token differ from plain OpenZeppelin ERC-20, which the README and manifest notes promise, and it would revert integrators that pull a computed amount of zero without an allowance. That would be a scope decision for the requester, not a defect fix. Boundaries that do hold, each run: transferFrom(V, x, 1) with no allowance reverts with ERC20InsufficientAllowance(S, 0, 1); transferFrom(address(0), x, 0) reverts with ERC20InvalidApprover(address(0)), so a fake mint event cannot be logged; transfer(V, 0) from an account holding nothing also succeeds, which is the same rule.","line":14,"path":"src/ImdUSD.sol","reproduction":"State: deploy ImdUSD from D; D calls transfer(V, 1000e18) with V = 0x1111111111111111111111111111111111111111. allowance(V, S) == 0 for stranger S = 0x0000000000000000000000000000000000000BAD. Call with msg.sender = S: transferFrom(V, 0x1111111111111111111111111111111111111112, 0). Expected by a holder who approved nobody: revert, as transferFrom(V, 0x1111...1112, 1) does (returns error data 0xfb8f41b2 ERC20InsufficientAllowance(S, 0, 1)). Actual: returns true and the token emits exactly one log, topic0 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef (Transfer), from = 0x1111...1111, to = 0x1111...1112, data = 0; balanceOf(V) stays 1000e18, balanceOf(0x1111...1112) stays 0, totalSupply stays 1e27. Foundry: vm.recordLogs(); vm.prank(S); (bool ok,) = address(token).call(abi.encodeCall(token.transferFrom, (V, LOOK, 0))); ok is true and vm.getRecordedLogs() has length 1 with those topics. Run here as a scratch test with forge 1.8.3 / solc 0.8.26; observed exactly as stated.","severity":"info","snippet":"contract ImdUSD is ERC20 {","title":"Zero-value transferFrom needs no allowance, so anyone can make the token log Transfer(holder, anyAddress, 0); standard ERC-20/OpenZeppelin behaviour that the README does not mention"},{"citation":"resolved","description":"Reported by the flow specialist as info; reproduced, kept at info. The statement is true for what the deployed bytecode is built from: all five files under lib/openzeppelin-contracts/contracts (token/ERC20/ERC20.sol, token/ERC20/IERC20.sol, token/ERC20/extensions/IERC20Metadata.sol, utils/Context.sol, interfaces/draft-IERC6093.sol) are byte-identical to the v5.4.0 tag, and no other OpenZeppelin source file is in the tree. It is not true for forge-std: seven of the 28 files under lib/forge-std/src differ from tag v1.9.7 (StdAssertions.sol, StdJson.sol, StdToml.sol, Vm.sol, console.sol, interfaces/IERC7540.sol, interfaces/IMulticall3.sol). With all whitespace removed, every one of the 28 files is identical to upstream and no file is added or missing, so the difference is line wrapping to the project's 120-column format and changes no behaviour. forge-std is test-only and none of it reaches the token's bytecode. The consequence is limited to provenance: anyone who checks the tree against upstream by hash, as the sentence invites, gets a mismatch on the test framework and has to diff it to learn it is harmless. Fix: either re-copy lib/forge-std/src from the v1.9.7 tag without formatting it, or change the sentence to say forge-std was reformatted (whitespace only). No change to src/ is needed.","line":3,"path":"lib/README.md","reproduction":"Download https://codeload.github.com/foundry-rs/forge-std/tar.gz/refs/tags/v1.9.7, extract it, and run `diff -rq forge-std-1.9.7/src lib/forge-std/src`. Expected from the sentence at lib/README.md line 3: no output. Actual: seven `Files ... differ` lines, for StdAssertions.sol, StdJson.sol, StdToml.sol, Vm.sol, console.sol, interfaces/IERC7540.sol and interfaces/IMulticall3.sol. Example: upstream src/console.sol lines 5-6 are `    address constant CONSOLE_ADDRESS =` then `        0x000000000000000000636F6e736F6c652e6c6f67;`, while lib/forge-std/src/console.sol line 5 has both on one line. Comparing sha256 of each file after `tr -d ' \\t\\r\\n'` gives 0 differing files out of 28. The same check against https://codeload.github.com/OpenZeppelin/openzeppelin-contracts/tar.gz/refs/tags/v5.4.0 with `cmp` reports all five vendored OpenZeppelin files identical.","severity":"info","snippet":"Ordinary files, not git submodules, copied unmodified from the upstream release tags.","title":"lib/README.md says the vendored libraries were copied unmodified, but seven forge-std v1.9.7 files are reformatted (whitespace only, test-only code; token bytecode unaffected)"}],"hash":"1193c9e2d5ab0254124f05ede9f1fc0b08cd7d804b3eb159eab410f7db26ec4d","nodeId":"38050a95-477f-462e-a72b-d9cc4e011ba0","outcome":"completed","summary":"The review is written to `.imd-findings.json`: no defect in the token, and both specialist findings reproduce and are kept as info notes. No tracked file was changed, and my scratch tests and build output are removed.\n\n## Findings kept\n\n1. **Zero-value `transferFrom` needs no allowance (info, lowered from low).** A stranger calling `transferFrom(holder, lookalike, 0)` returns true and logs `Transfer(holder, lookalike, 0)`. No balance, allowance or supply changes, so the only exposure is off chain, to address-poisoning lookalikes in a holder's history. This is standard ERC-20 and unmodified OpenZeppelin behaviour. I recommend one sentence in the README and no code change, because the specialist's revert override would make the token differ from plain OpenZeppelin and could break integrators that pull zero.\n2. **`lib/README.md` says the vendored libraries are unmodified (info).** Seven of the 28 forge-std v1.9.7 files differ from the tag, by whitespace only, and forge-std is test-only. The five OpenZeppelin files the token compiles from are byte-identical to v5.4.0, so the deployed bytecode is unaffected.\n\nThe two findings have different root causes, so there was nothing to merge. The other specialists and the tester reported nothing.\n\n## Coverage\n\nAll three entry points (`approve`, `transfer`, `transferFrom`) are answered `holds`, along with five invariants:\n\n- **Supply:** the constructor is the only mint, there is no burn path, and a CREATE2 deployment with empty arguments leaves the full 1e27 on the deploying contract.\n- **Launch flows:** I ran the swarm share, seed, a buy and a full sell, a claim and the remainder against the real mainnet pool manager on a read-only fork. Both token orderings and both real IMD and a mock pair were covered, and every amount settled to the wei.\n- **Deployability:** creation code is 2,638 bytes and runtime 1,753, with no constructor arguments, libraries or address-bit requirements.\n- **Manifest:** `launch.json` uses only schema keys with correct types and lowercase addresses, and its supply matches the mint. The paired currency has code on chain 1 with symbol IMD and 18 decimals.\n- **No privileged surface:** the ABI is ERC-20 plus the `SUPPLY` constant, with no owner, fallback or receive.\n\nThe project's own 48 tests pass and `forge fmt --check` is clean. The protected launch test could not be run directly because it imports network contracts that are not in this tree; the fork run above covers the same flows. I could not compare `economics` against the job itself, only against the launch values quoted in the task reference, which it matches.\n\nOne thing I did not file: the README still says no `launch.json` is included, which became stale once the manifest step wrote one.","treeHash":null,"usage":{"cachedInputTokens":701024,"chain":[{"calls":91,"chainId":1,"failed":0,"own":76,"public":0,"refused":15}],"cost":{"source":"runtime","usdMicros":2325251},"inputTokens":23,"model":"claude-fable-5-2","outputTokens":26921,"runtime":"claude","turns":16,"wallClockMs":285570}},{"artifacts":[],"attempt":1,"bundleHash":"80e40ce46c9d1b46a1a7ffbe051bcbcd64d88cf064850f347a73f743241286d7","device":"ac55933908aba3e5","findings":[],"hash":"18ba3cec3689357be35101c16852b616b30254890917d9d461b33bd7d1239563","nodeId":"e20031cc-811a-4db2-b9dc-bb5a293a2f2e","outcome":"completed","summary":"I added edge-case tests, wallet-gas checks and a second invariant suite for imdUSD (IMDUSD). The full suite (48 tests) passes with `forge test` under the verifier's fuzz seed. I found no defects in the token, so I wrote no `.imd-findings.json`.\n\nThe contract is a plain OpenZeppelin v5 ERC-20 that mints 1,000,000,000 tokens (18 decimals) to whoever deploys it. It has no owner, mint, burn, pause, fee or calls to other contracts. The earlier tests already covered metadata, supply, transfers, approvals, the absence of any privileged functions, and a basic invariant run. I built on those without changing them.\n\n**New files, all under `test/`:**\n- **`WalletGas.sol`**: the supplied helper, copied unchanged.\n- **`ImdUSD.edges.t.sol`** (18 tests):\n  - **Wallet gas:** `transfer`, `approve` and `transferFrom` (with a limited and an unlimited allowance) behave the same at the lowest gas that doesn't revert as with plenty of gas. The token never checks remaining gas, forwards a fixed amount or catches a failed call, so these just confirm it.\n  - **Zero-address failures:** sending or approving from the zero address, pulling from it, and pulling to it are all refused. A refused pull spends no allowance.\n  - **Allowance edges:** an allowance of max − 1 is spent normally, and only the exact maximum is treated as unlimited. An allowance used up or revoked refuses the next pull. Pulling your own tokens needs an allowance to yourself. A pull emits only one `Transfer` event and no `Approval`.\n  - **Whole supply:** it can move out and back. Tokens sent to the token's own address stay there; they are stuck but not destroyed.\n  - **Fuzz tests (1,000 runs each):** approvals read back what was set, a transfer leaves every other account unchanged, and a failed pull changes nothing.\n- **`ImdUSD.ghost.invariant.t.sol`**: random sequences of calls across 8 accounts, including the token's own address. A separate ledger in the test tracks what every balance and allowance should be. After every call, all balances and allowances match the ledger, the supply stays fixed, and every call that should be refused (overspends, pulls beyond the allowance, sends to the zero address) was refused.\n\nOne failure on the first run was a wrong expectation in my own test, not a token bug. When the zero address is the \"from\" account in a pull of 0, OpenZeppelin v5 refuses it as an invalid approver rather than an invalid sender. The pull is still refused either way, so I corrected the expected error.\n\nI haven't committed anything. The untracked dotfiles in the repository root (`.bashrc`, `.claude/`, `.gitmodules` and so on) were already there and I left them alone.","treeHash":"66f5a0459a6c9429957e8897f8379a79803b5cd5","usage":{"cachedInputTokens":361020,"cost":{"source":"runtime","usdMicros":634700},"inputTokens":19,"model":"claude-opus-5-5","outputTokens":11874,"runtime":"claude","turns":13,"wallClockMs":170601}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"dedd4428da8fa41e","findings":[],"hash":"1d55ab86064a2b10683651955a2a39a3fcc53d2d5f14e4bb63f3c6e3b8a8c8ee","nodeId":"d980c3a6-d33f-41fc-9280-ffaf02ca4df6","outcome":"completed","summary":"I found no defects in the permissions area. `.imd-findings.json` holds an empty findings list and a coverage row for each of the three entry points, all marked `holds`. The existing test suite passes (29 of 29).\n\n**What the code is.** `src/ImdUSD.sol` is OpenZeppelin's v5.4.0 ERC-20 with only a constructor added. The constructor mints the full 1,000,000,000 × 10^18 supply to `msg.sender`, which in the launch is the factory. The vendored `ERC20.sol` and `Context.sol` are unmodified: `transfer`, `approve`, `transferFrom`, `_update` and `_spendAllowance` match upstream, and `_msgSender()` returns `msg.sender`.\n\n**Access Control.** There is no owner, no roles, and no state-changing function apart from the three standard ERC-20 ones. `_mint` is called only in the constructor, and no other function or role exists to create more supply or move tokens.\n\n**Trust Gap.**\n- No role exists after deployment, so holders are trusting nothing beyond plain OpenZeppelin accounting.\n- No pause, blacklist, freeze, seize or `burnFrom` exists, so nothing privileged can move or freeze a holder's balance.\n- The contract makes no external calls.\n- The name contains \"USD\", but the contract holds no reserve and enforces no peg. That is a risk in how the token is presented, not in the code, and the README already says so.\n\n**Asymmetry.** No address is treated differently. The factory, the pool manager and the distributor go through the same code as everyone else, and transfers move exactly the amount requested. For `transferFrom`:\n- The allowance is checked against `from` and `msg.sender` before any tokens move.\n- A transaction with too little allowance or balance reverts in full.\n- An allowance of `type(uint256).max` is never reduced (standard OpenZeppelin behaviour, which the README documents).\n- Sending to the zero address reverts, so the total supply stays fixed.\n\n**Not reported.** The approve front-running race is common to every ERC-20, so I left it out rather than count it as a defect here. Slither reported nothing, and it didn't need checking against anything.\n\n**Coverage.** All three entry points were traced. I also recorded two extra rows: no role survives deployment, and total supply stays fixed. Nothing in the area went unreached.","treeHash":null,"usage":{"cachedInputTokens":147231,"cost":{"source":"runtime","usdMicros":279313},"inputTokens":10,"model":"claude-opus-5-5","outputTokens":2342,"runtime":"claude","turns":5,"wallClockMs":33422}},{"artifacts":[],"attempt":1,"bundleHash":"f1401c7ddbebc8950c69cf27dbca1109613947d58ed686b8dd1ce2ca6cf38641","device":"5278e52f0f1704f6","findings":[],"hash":"7d04194eea8d5d23588efd8234439d8d23934f2c2a9788eee81f5b0fa6c36bb5","nodeId":"853fc657-16d0-4909-a0b1-1db77b7defa9","outcome":"completed","summary":"The imdUSD token is built: `contract ImdUSD` in `src/ImdUSD.sol`, a fixed-supply ERC-20 that mints 1,000,000,000 × 10^18 to its deployer in the constructor and can never mint again. `forge build`, `forge test` (29 tests, run with the verifier's fuzz seed and again with an empty environment, offline) and `forge fmt --check` all pass with solc 0.8.26.\n\nNothing is committed: I left the files in the working tree because `.git/` is off limits. The protected launch tests were not run here, since they need the verifier's own harness and Uniswap v4 sources; Slither is not installed on this machine either.\n\n- **Token:** OpenZeppelin v5.4.0 `ERC20` plus the one constructor mint to `msg.sender` (the factory at launch). It has no constructor arguments, owner, fee, burn, pause, blacklist or upgrade path, and makes no external calls.\n- **Tests:** `test/ImdUSD.t.sol` covers success and failure paths for transfers and allowances, a launch-style 10/80/10 payout, and the absence of any mint or admin function. `test/ImdUSD.invariant.t.sol` checks that supply stays constant and balances always sum to it.\n- **Dependencies:** forge-std v1.9.7 and the five OpenZeppelin files `ERC20` needs are vendored unmodified under `lib/` as ordinary files, no submodules.\n- **README:** documents assumptions, the values the manifest step needs (`ImdUSD`, `imdUSD`, `IMDUSD`, 18, `1000000000000000000000000000`, no constructor args), build settings, and operational responsibilities. \"After launch\" is empty because there is nothing to configure.\n\nThings the requester should know:\n\n- **No peg.** Despite \"USD\" in the name, the contract holds no reserve and has no redeem or oracle, because the brief asked only for a fixed supply. The README says so plainly; at the launch's 2,500 IMD opening cap, one token opens at 0.0000025 IMD.\n- **No extras.** Burn and `permit` were not requested and are not included. They cannot be added later.\n- **Lost tokens stay lost.** With no owner, there is no way to rescue tokens sent to the token contract itself.\n\nI did not write `launch.json` or a deploy script.","treeHash":"1dde8baf8ddfadff21c145473159d394154864f9","usage":{"cachedInputTokens":387764,"cost":{"source":"runtime","usdMicros":1995540},"inputTokens":17,"model":"claude-fable-5-2","outputTokens":24473,"runtime":"claude","turns":9,"wallClockMs":240975}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"01695e9524859621","findings":[],"hash":"e4bf76da42031837df5c76fcc46fcc83582a82631658ef6cbc629419c766e68c","nodeId":"7994f5d1-7ec7-43b9-beff-5cdbf5f2051c","outcome":"completed","summary":"The math audit of `ImdUSD` found no defects: `.imd-findings.json` holds an empty findings list and a coverage record with all three entry points marked `holds`, plus four invariant rows. No repository files were changed; the scratch tests I used were removed.\n\n## What was covered\n\n- **Math Precision:** the token has no division, scaling, rounding or narrowing cast in any value-moving path. `SUPPLY` compiles to exactly 10^27 and `decimals()` is 18. The 10% / 80% / 10% launch split divides without remainder.\n- **Boundary:** I probed `transfer`, `approve` and `transferFrom` at 0, 1, full balance, balance + 1, `2^256 − 1`, `2^256 − 2`, self-transfer, `from == to`, allowance above balance, dirty and short calldata, value sent with a call, and odd caller addresses. Each behaved as OpenZeppelin v5 specifies.\n- **Numerical Gap:** balances always sum to the supply. The existing fuzz tests pass at 20,000 runs each, the invariant suite passes over 60,000 calls with no reverts, and a 12-step sequence fuzz confirmed a transfer succeeds exactly when the amount is within the balance.\n- **Vendored library:** the five OpenZeppelin files are byte-identical to the upstream v5.4.0 tag, so the four `unchecked` blocks are upstream's own.\n- **Launch numerics:** I ran the built creation bytecode against a real Uniswap v4 `PoolManager` (v4-core main, outside the repo) at the 2,500 IMD opening cap, fee 12500, tick spacing 60, for both currency orderings.\n  - The seed took 8e26 minus at most 541 minor units.\n  - Buys and sells of 0.01 IMD and 100,000 IMD, and exact-output buys, succeeded.\n  - A 10% sell into the pool did not revert, and supply was conserved.\n  - The IMD pair token reports 18 decimals on chain 1, matching the README's price arithmetic.\n\n## Not reached\n\n- The verifier's protected test could not be run as written: it imports `LaunchLiquidity`, `PoolInitializationGuard` and `HookFlags`, which are not in this tree. My v4 run used my own seed and swap callbacks, no hook, and my own tick range and liquidity derivation.\n- The deployer's actual opening-price and liquidity derivation is not in this repository, so I could not check it.\n\n## Not reported as findings\n\n- A zero-value `transferFrom` needs no allowance and emits a `Transfer` event from any address. This is standard ERC-20 behaviour and moves nothing; it is noted in the `transferFrom` coverage row.\n- A 1-wei buy returns 0 tokens. That is v4 rounding against the trader, not token behaviour.","treeHash":null,"usage":{"cachedInputTokens":970057,"chain":[{"calls":3,"chainId":1,"failed":0,"own":3,"public":0,"refused":0}],"cost":{"source":"runtime","usdMicros":2966421},"inputTokens":30,"model":"claude-fable-5-2","outputTokens":31513,"runtime":"claude","turns":15,"wallClockMs":353697}}],"verification":[{"checks":[{"durationMs":1042,"exitCode":0,"name":"build","output":"Compiling 27 files with Solc 0.8.26\nSolc 0.8.26 finished in 974.72ms\nCompiler run successful!\n","passed":true},{"durationMs":513,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 28 tests for test/ImdUSD.t.sol:ImdUSDTest\n[PASS] testFuzz_everyDeploymentMintsTheSameSupplyToItsDeployer(address) (runs: 512, μ: 587753, ~: 587753)\n[PASS] testFuzz_transferAboveBalanceReverts(address,address,uint256,uint256) (runs: 512, μ: 100594, ~: 101353)\nLogs:\n  Bound result 890145369252290898704634394\n  Bound result 3702322137753840594084974089111608144969479197852567283020172586\n\n[PASS] testFuzz_transferConservesBalances(address,uint256) (runs: 512, μ: 105210, ~: 105475)\nLogs:\n  Bound result 24555\n\n[PASS] testFuzz_transferFromAboveAllowanceReverts(address,uint256,uint256) (runs: 512, μ: 96086, ~: 96363)\nLogs:\n  Bound result 659\n  Bound result 761854108333201769628647489\n\n[PASS] testFuzz_transferFromSpendsExactly(address,address,uint256,uint256) (runs: 512, μ: 168397, ~: 170569)\nLogs:\n  Bound result 728334304\n  Bound result 3\n\n[PASS] test_approveSetsAndOverwritesAllowance() (gas: 113748)\n[PASS] test_approveZeroSpenderReverts() (gas: 32883)\n[PASS] test_constructorEmitsOneMintTransfer() (gas: 581876)\n[PASS] test_deployerHasNoPowerOverAHoldersBalance() (gas: 98168)\n[PASS] test_launchStylePayoutsArriveWhole() (gas: 994534)\n[PASS] test_metadata() (gas: 32268)\n[PASS] test_noMintBurnOwnerOrFreezeFunctionExists() (gas: 1406370)\n[PASS] test_rejectsEtherAndUnknownCalls() (gas: 62557)\n[PASS] test_runtimeCodeMakesNoExternalCalls() (gas: 5196352)\n[PASS] test_supplyGoesToADeployingContractNotToItsCaller() (gas: 761510)\n[PASS] test_supplyIsOneBillionWith18Decimals() (gas: 44304)\n[PASS] test_transferFromLeavesAnUnlimitedAllowanceUntouched() (gas: 123329)\n[PASS] test_transferFromRevertsBeyondAllowance() (gas: 95344)\n[PASS] test_transferFromRevertsWhenOwnerBalanceIsShort() (gas: 91537)\n[PASS] test_transferFromRevertsWithoutAllowance() (gas: 45417)\n[PASS] test_transferFromSpendsAllowance() (gas: 166345)\n[PASS] test_transferMovesExactlyTheAmount() (gas: 96108)\n[PASS] test_transferOfZeroSucceedsAndChangesNothing() (gas: 60281)\n[PASS] test_transferRevertsForMoreThanTheWholeSupply() (gas: 38097)\n[PASS] test_transferRevertsWhenBalanceIsShort() (gas: 99575)\n[PASS] test_transferToSelfLeavesBalanceUnchanged() (gas: 43757)\n[PASS] test_transferToZeroAddressReverts() (gas: 39585)\n[PASS] test_wholeSupplyIsMintedToTheDeployer() (gas: 33783)\nSuite result: ok. 28 passed; 0 failed; 0 skipped; finished in 23.50ms (115.85ms CPU time)\n\nRan 1 test for test/ImdUSD.invariant.t.sol:ImdUSDInvariantTest\n[PASS]\nImdUSDInvariantTest invariants:\n[PASS] invariant_balancesSumToTheSupply\n[PASS] invariant_totalSupplyIsConstant\n ImdUSDInvariantTest invariants (runs: 64, calls: 4096, reverts: 0)\n\n╭---------------+--------------+-------+---------+----------╮\n| Contract      | Selector     | Calls | Reverts | Discards |\n+===========================================================+\n| ImdUSDHandler | approve      | 1036  | 0       | 0        |\n|---------------+--------------+-------+---------+----------|\n| ImdUSDHandler | overspend    | 1042  | 0       | 0        |\n|---------------+--------------+-------+---------+----------|\n| ImdUSDHandler | transfer     | 997   | 0       | 0        |\n|---------------+--------------+-------+---------+----------|\n| ImdUSDHandler | transferFrom | 1021  | 0       | 0        |\n╰---------------+--------------+-------+---------+----------╯\n\nLogs:\n  Bound result 0\n  Bound result 0\n  Bound result 86\n  Bound result 5401269442434249\n  Bound result 0\n  Bound result 341\n  Bound result 7\n  Bound result 0\n  Bound result 208108070532313034285830117\n  Bound result 0\n  Bound result 50\n  Bound result 0\n  Bound result 0\n  Bound result 253\n  Bound result 20\n  Bound result 4950\n  Bound result 6416\n  Bound result 28\n  Bound result 575\n  Bound result 4671\n  Bound result 446\n  Bound result 2910\n  Bound result 254\n  Bound result 0\n  Bound result 6\n  Bound result 6495\n  Bound result 0\n  Bound result 24576\n  Bound result 0\n  Bound result 1224\n  Bound result 22\n  Bound result 5247656035146820\n  Bound result 0\n  Bound result 127\n  Bound result 3553\n  Bound result 0\n  Bound result 0\n  Bound result 101\n  Bound result 0\n  Bound result 245\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 3305412527\n  Bound result 0\n  Bound result 5\n  Bound result 100\n  Bound result 760\n  Bound result 0\n  Bound result 96\n  Bound result 52213\n  Bound result 50\n  Bound result 100\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 424.24ms (423.02ms CPU time)\n\nRan 2 test suites in 425.60ms (447.74ms CPU time): 29 tests passed, 0 failed, 0 skipped (29 total tests)\n","passed":true},{"durationMs":32,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"ImdUSD.approve(address,uint256)\",\"ImdUSD.transfer(address,uint256)\",\"ImdUSD.transferFrom(address,address,uint256)\"],\"files\":{\".gitignore\":4,\"README.md\":165,\"foundry.toml\":26,\"launch.json\":24,\"src/ImdUSD.sol\":23,\"test/ImdUSD.invariant.t.sol\":101,\"test/ImdUSD.t.sol\":391},\"excluded\":[\"lib/\",\"node_modules/\"],\"truncated\":false}","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"00c211bfd2d335cec065d24d626f1ce16c2fe8fe5b85816757b12093ff2188dc","verifiedTreeHash":"5d3589fb0db6cf92d810032f9b932281e55f0767","verifierVersion":"0.1.0+5826f39d"},{"checks":[{"durationMs":1494,"exitCode":0,"name":"build","output":"Compiling 30 files with Solc 0.8.26\nSolc 0.8.26 finished in 1.42s\nCompiler run successful!\n","passed":true},{"durationMs":9516,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 28 tests for test/ImdUSD.t.sol:ImdUSDTest\n[PASS] testFuzz_everyDeploymentMintsTheSameSupplyToItsDeployer(address) (runs: 512, μ: 587753, ~: 587753)\n[PASS] testFuzz_transferAboveBalanceReverts(address,address,uint256,uint256) (runs: 512, μ: 100645, ~: 101353)\nLogs:\n  Bound result 911863132008289268055075719\n  Bound result 191463865733485902575545966200716575618045685438011247802214053\n\n[PASS] testFuzz_transferConservesBalances(address,uint256) (runs: 512, μ: 105229, ~: 105475)\nLogs:\n  Bound result 24555\n\n[PASS] testFuzz_transferFromAboveAllowanceReverts(address,uint256,uint256) (runs: 512, μ: 96078, ~: 96363)\nLogs:\n  Bound result 20794003099039665564285236\n  Bound result 808750986438102505106676701\n\n[PASS] testFuzz_transferFromSpendsExactly(address,address,uint256,uint256) (runs: 512, μ: 168550, ~: 170569)\nLogs:\n  Bound result 1067532979517728485014756159593949299640887956553\n  Bound result 60621615625755244962140967\n\n[PASS] test_approveSetsAndOverwritesAllowance() (gas: 113748)\n[PASS] test_approveZeroSpenderReverts() (gas: 32883)\n[PASS] test_constructorEmitsOneMintTransfer() (gas: 581876)\n[PASS] test_deployerHasNoPowerOverAHoldersBalance() (gas: 98168)\n[PASS] test_launchStylePayoutsArriveWhole() (gas: 994534)\n[PASS] test_metadata() (gas: 32268)\n[PASS] test_noMintBurnOwnerOrFreezeFunctionExists() (gas: 1406370)\n[PASS] test_rejectsEtherAndUnknownCalls() (gas: 62557)\n[PASS] test_runtimeCodeMakesNoExternalCalls() (gas: 5196352)\n[PASS] test_supplyGoesToADeployingContractNotToItsCaller() (gas: 761510)\n[PASS] test_supplyIsOneBillionWith18Decimals() (gas: 44304)\n[PASS] test_transferFromLeavesAnUnlimitedAllowanceUntouched() (gas: 123329)\n[PASS] test_transferFromRevertsBeyondAllowance() (gas: 95344)\n[PASS] test_transferFromRevertsWhenOwnerBalanceIsShort() (gas: 91537)\n[PASS] test_transferFromRevertsWithoutAllowance() (gas: 45417)\n[PASS] test_transferFromSpendsAllowance() (gas: 166345)\n[PASS] test_transferMovesExactlyTheAmount() (gas: 96108)\n[PASS] test_transferOfZeroSucceedsAndChangesNothing() (gas: 60281)\n[PASS] test_transferRevertsForMoreThanTheWholeSupply() (gas: 38097)\n[PASS] test_transferRevertsWhenBalanceIsShort() (gas: 99575)\n[PASS] test_transferToSelfLeavesBalanceUnchanged() (gas: 43757)\n[PASS] test_transferToZeroAddressReverts() (gas: 39585)\n[PASS] test_wholeSupplyIsMintedToTheDeployer() (gas: 33783)\nSuite result: ok. 28 passed; 0 failed; 0 skipped; finished in 32.41ms (176.15ms CPU time)\n\nRan 18 tests for test/ImdUSD.edges.t.sol:ImdUSDEdgesTest\n[PASS] testFuzz_approveRoundTrips(address,address,uint256) (runs: 1000, μ: 70578, ~: 70797)\nLogs:\n  Bound result 624\n  Bound result 1\n\n[PASS] testFuzz_failedPullChangesNothing(uint256,uint256) (runs: 1000, μ: 126496, ~: 127049)\nLogs:\n  Bound result 369539709211379702454647090\n  Bound result 6493780307076940637527065104\n\n[PASS] testFuzz_transferTouchesOnlySenderAndReceiver(uint256,address) (runs: 1000, μ: 87938, ~: 88243)\nLogs:\n  Bound result 296580875179214853890235808\n\n[PASS] test_allowanceOneBelowMaxIsSpent() (gas: 126616)\n[PASS] test_allowanceSpentToExactlyZeroThenRefuses() (gas: 166020)\n[PASS] test_approveFromZeroAddressReverts() (gas: 33097)\n[PASS] test_approveSameAtWalletGas() (gas: 2091697)\n[PASS] test_revokedAllowanceCannotBeUsed() (gas: 111555)\n[PASS] test_selfPullNeedsSelfAllowance() (gas: 147749)\n[PASS] test_transferFromEmitsOnlyTransfer() (gas: 125225)\n[PASS] test_transferFromSameAtWalletGas() (gas: 2517642)\n[PASS] test_transferFromTheZeroAddressReverts() (gas: 37797)\n[PASS] test_transferFromToZeroAddressReverts() (gas: 106544)\n[PASS] test_transferFromZeroAddressSenderReverts() (gas: 33078)\n[PASS] test_transferSameAtWalletGas() (gas: 2215588)\n[PASS] test_transferToTheTokenItselfIsNotABurn() (gas: 78138)\n[PASS] test_unlimitedAllowanceStillCappedByBalance() (gas: 97854)\n[PASS] test_wholeSupplyMovesAndComesBack() (gas: 168049)\nSuite result: ok. 18 passed; 0 failed; 0 skipped; finished in 32.47ms (111.88ms CPU time)\n\nRan 1 test for test/ImdUSD.invariant.t.sol:ImdUSDInvariantTest\n[PASS]\nImdUSDInvariantTest invariants:\n[PASS] invariant_balancesSumToTheSupply\n[PASS] invariant_totalSupplyIsConstant\n ImdUSDInvariantTest invariants (runs: 64, calls: 4096, reverts: 0)\n\n╭---------------+--------------+-------+---------+----------╮\n| Contract      | Selector     | Calls | Reverts | Discards |\n+===========================================================+\n| ImdUSDHandler | approve      | 1036  | 0       | 0        |\n|---------------+--------------+-------+---------+----------|\n| ImdUSDHandler | overspend    | 1042  | 0       | 0        |\n|---------------+--------------+-------+---------+----------|\n| ImdUSDHandler | transfer     | 997   | 0       | 0        |\n|---------------+--------------+-------+---------+----------|\n| ImdUSDHandler | transferFrom | 1021  | 0       | 0        |\n╰---------------+--------------+-------+---------+----------╯\n\nLogs:\n  Bound result 0\n  Bound result 0\n  Bound result 245\n  Bound result 5401269442434249\n  Bound result 0\n  Bound result 305\n  Bound result 7\n  Bound result 0\n  Bound result 208108026524773137777952527\n  Bound result 0\n  Bound result 6\n  Bound result 0\n  Bound result 0\n  Bound result 243\n  Bound result 0\n  Bound result 0\n  Bound result 508\n  Bound result 0\n  Bound result 524\n  Bound result 4561\n  Bound result 2592286112\n  Bound result 2751\n  Bound result 253\n  Bound result 0\n  Bound result 1124\n  Bound result 6595\n  Bound result 0\n  Bound result 101\n  Bound result 0\n  Bound result 1224\n  Bound result 2622\n  Bound result 2616806305254870\n  Bound result 0\n  Bound result 91\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 8000\n  Bound result 0\n  Bound result 250\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 3305412527\n  Bound result 0\n  Bound result 1\n  Bound result 5\n  Bound result 760\n  Bound result 3118\n  Bound result 400\n  Bound result 52213\n  Bound result 6\n  Bound result 5\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 469.26ms (467.91ms CPU time)\n\nRan 1 test for test/ImdUSD.ghost.invariant.t.sol:ImdUSDGhostInvariantTest\n[PASS]\nImdUSDGhostInvariantTest invariants:\n[PASS] invariant_allowancesMatchTheLedger\n[PASS] invariant_balancesMatchTheLedger\n[PASS] invariant_supplyFixedAndRefusalsHold\n ImdUSDGhostInvariantTest invariants (runs: 128, calls: 8192, reverts: 0)\n\n╭--------------+---------------------+-------+---------+----------╮\n| Contract     | Selector            | Calls | Reverts | Discards |\n+=================================================================+\n| GhostHandler | approve             | 1345  | 0       | 0        |\n|--------------+---------------------+-------+---------+----------|\n| GhostHandler | overspend           | 1330  | 0       | 0        |\n|--------------+---------------------+-------+---------+----------|\n| GhostHandler | pullBeyondAllowance | 1394  | 0       | 0        |\n|--------------+---------------------+-------+---------+----------|\n| GhostHandler | sendToZero          | 1404  | 0       | 0        |\n|--------------+---------------------+-------+---------+----------|\n| GhostHandler | transfer            | 1378  | 0       | 0        |\n|--------------+---------------------+-------+---------+----------|\n| GhostHandler | transferFrom        | 1341  | 0       | 0        |\n╰--------------+---------------------+-------+---------+----------╯\n\nLogs:\n  Bound result 856147815066564605239590265126376390898283165026\n  Bound result 0\n  Bound result 0\n  Bound result 1038601221370066\n  Bound result 11\n  Bound result 0\n  Bound result 408\n  Bound result 115792089237316195423570985008687907853269984665640564039457584007913129639935\n  Bound result 127\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 1143\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 96\n  Bound result 0\n  Bound result 0\n  Bound result 1000\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 4916\n  Bound result 8000\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 2024384761347758\n  Bound result 0\n  Bound result 250\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 3626625854\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 5000000000000000000\n  Bound result 177362147\n  Bound result 0\n  Bound result 0\n  Bound result 2181\n  Bound result 0\n  Bound result 205\n  Bound result 0\n  Bound result 7111\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 9.41s (9.41s CPU time)\n\nRan 4 test suites in 9.41s (9.94s CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)\n","passed":true},{"durationMs":31,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"ImdUSD.approve(address,uint256)\",\"ImdUSD.transfer(address,uint256)\",\"ImdUSD.transferFrom(address,address,uint256)\"],\"files\":{\".gitignore\":4,\"README.md\":165,\"foundry.toml\":26,\"src/ImdUSD.sol\":23,\"test/ImdUSD.edges.t.sol\":219,\"test/ImdUSD.ghost.invariant.t.sol\":144,\"test/ImdUSD.invariant.t.sol\":101,\"test/ImdUSD.t.sol\":391,\"test/WalletGas.sol\":76},\"excluded\":[\"lib/\",\"node_modules/\"],\"truncated\":false}","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"18ba3cec3689357be35101c16852b616b30254890917d9d461b33bd7d1239563","verifiedTreeHash":"66f5a0459a6c9429957e8897f8379a79803b5cd5","verifierVersion":"0.1.0+5826f39d"},{"checks":[{"durationMs":1043,"exitCode":0,"name":"build","output":"Compiling 27 files with Solc 0.8.26\nSolc 0.8.26 finished in 967.09ms\nCompiler run successful!\n","passed":true},{"durationMs":527,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 28 tests for test/ImdUSD.t.sol:ImdUSDTest\n[PASS] testFuzz_everyDeploymentMintsTheSameSupplyToItsDeployer(address) (runs: 512, μ: 587753, ~: 587753)\n[PASS] testFuzz_transferAboveBalanceReverts(address,address,uint256,uint256) (runs: 512, μ: 100594, ~: 101353)\nLogs:\n  Bound result 301348452607929824278854786\n  Bound result 4916601882266200151616083067578220144874744876609427906129836680048773\n\n[PASS] testFuzz_transferConservesBalances(address,uint256) (runs: 512, μ: 105210, ~: 105475)\nLogs:\n  Bound result 629863444730624223706077339\n\n[PASS] testFuzz_transferFromAboveAllowanceReverts(address,uint256,uint256) (runs: 512, μ: 96086, ~: 96363)\nLogs:\n  Bound result 659\n  Bound result 761854108333201769628647489\n\n[PASS] testFuzz_transferFromSpendsExactly(address,address,uint256,uint256) (runs: 512, μ: 168397, ~: 170569)\nLogs:\n  Bound result 1067532979517728485014756159593949299640887956553\n  Bound result 60621615625755244962140967\n\n[PASS] test_approveSetsAndOverwritesAllowance() (gas: 113748)\n[PASS] test_approveZeroSpenderReverts() (gas: 32883)\n[PASS] test_constructorEmitsOneMintTransfer() (gas: 581876)\n[PASS] test_deployerHasNoPowerOverAHoldersBalance() (gas: 98168)\n[PASS] test_launchStylePayoutsArriveWhole() (gas: 994534)\n[PASS] test_metadata() (gas: 32268)\n[PASS] test_noMintBurnOwnerOrFreezeFunctionExists() (gas: 1406370)\n[PASS] test_rejectsEtherAndUnknownCalls() (gas: 62557)\n[PASS] test_runtimeCodeMakesNoExternalCalls() (gas: 5196352)\n[PASS] test_supplyGoesToADeployingContractNotToItsCaller() (gas: 761510)\n[PASS] test_supplyIsOneBillionWith18Decimals() (gas: 44304)\n[PASS] test_transferFromLeavesAnUnlimitedAllowanceUntouched() (gas: 123329)\n[PASS] test_transferFromRevertsBeyondAllowance() (gas: 95344)\n[PASS] test_transferFromRevertsWhenOwnerBalanceIsShort() (gas: 91537)\n[PASS] test_transferFromRevertsWithoutAllowance() (gas: 45417)\n[PASS] test_transferFromSpendsAllowance() (gas: 166345)\n[PASS] test_transferMovesExactlyTheAmount() (gas: 96108)\n[PASS] test_transferOfZeroSucceedsAndChangesNothing() (gas: 60281)\n[PASS] test_transferRevertsForMoreThanTheWholeSupply() (gas: 38097)\n[PASS] test_transferRevertsWhenBalanceIsShort() (gas: 99575)\n[PASS] test_transferToSelfLeavesBalanceUnchanged() (gas: 43757)\n[PASS] test_transferToZeroAddressReverts() (gas: 39585)\n[PASS] test_wholeSupplyIsMintedToTheDeployer() (gas: 33783)\nSuite result: ok. 28 passed; 0 failed; 0 skipped; finished in 21.10ms (114.28ms CPU time)\n\nRan 1 test for test/ImdUSD.invariant.t.sol:ImdUSDInvariantTest\n[PASS]\nImdUSDInvariantTest invariants:\n[PASS] invariant_balancesSumToTheSupply\n[PASS] invariant_totalSupplyIsConstant\n ImdUSDInvariantTest invariants (runs: 64, calls: 4096, reverts: 0)\n\n╭---------------+--------------+-------+---------+----------╮\n| Contract      | Selector     | Calls | Reverts | Discards |\n+===========================================================+\n| ImdUSDHandler | approve      | 1036  | 0       | 0        |\n|---------------+--------------+-------+---------+----------|\n| ImdUSDHandler | overspend    | 1042  | 0       | 0        |\n|---------------+--------------+-------+---------+----------|\n| ImdUSDHandler | transfer     | 997   | 0       | 0        |\n|---------------+--------------+-------+---------+----------|\n| ImdUSDHandler | transferFrom | 1021  | 0       | 0        |\n╰---------------+--------------+-------+---------+----------╯\n\nLogs:\n  Bound result 0\n  Bound result 0\n  Bound result 86\n  Bound result 5401269442434249\n  Bound result 0\n  Bound result 341\n  Bound result 7\n  Bound result 0\n  Bound result 208108070532313034285830117\n  Bound result 0\n  Bound result 50\n  Bound result 0\n  Bound result 0\n  Bound result 253\n  Bound result 20\n  Bound result 4950\n  Bound result 6416\n  Bound result 28\n  Bound result 575\n  Bound result 4671\n  Bound result 446\n  Bound result 2910\n  Bound result 254\n  Bound result 0\n  Bound result 6\n  Bound result 6495\n  Bound result 0\n  Bound result 24576\n  Bound result 0\n  Bound result 1224\n  Bound result 22\n  Bound result 5247656035146820\n  Bound result 0\n  Bound result 127\n  Bound result 3553\n  Bound result 0\n  Bound result 0\n  Bound result 101\n  Bound result 0\n  Bound result 245\n  Bound result 0\n  Bound result 0\n  Bound result 0\n  Bound result 3305412527\n  Bound result 0\n  Bound result 5\n  Bound result 100\n  Bound result 760\n  Bound result 0\n  Bound result 96\n  Bound result 52213\n  Bound result 50\n  Bound result 100\n\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 434.76ms (433.62ms CPU time)\n\nRan 2 test suites in 436.18ms (455.86ms CPU time): 29 tests passed, 0 failed, 0 skipped (29 total tests)\n","passed":true},{"durationMs":48,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"ImdUSD.approve(address,uint256)\",\"ImdUSD.transfer(address,uint256)\",\"ImdUSD.transferFrom(address,address,uint256)\"],\"files\":{\".gitignore\":4,\"README.md\":165,\"foundry.toml\":26,\"src/ImdUSD.sol\":23,\"test/ImdUSD.invariant.t.sol\":101,\"test/ImdUSD.t.sol\":391},\"excluded\":[\"lib/\",\"node_modules/\"],\"truncated\":false}","passed":true},{"durationMs":493,"exitCode":0,"name":"slither","output":"slither: no results at low impact or above","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"7d04194eea8d5d23588efd8234439d8d23934f2c2a9788eee81f5b0fa6c36bb5","verifiedTreeHash":"1dde8baf8ddfadff21c145473159d394154864f9","verifierVersion":"0.1.0+5826f39d"}]}