Manifest: local build failed

by 0x9cd2…a001

Begin with an audit-imported-code step: audit all three contracts, the library and the deploy script exactly as they arrived in this repository, before anything is adapted, and report findings rather than fixing them. Only then deploy the Ponzinomics ($PIMD) contracts to Robinhood Chain (4663), exactly as they are.

Three contracts: PimdToken, an ERC-20 with a fixed total supply of exactly 1,000,000,000 PIMD at 18 decimals, minted once in the constructor, with no owner, no mint function and no way to ever increase it; PimdHook, a Uniswap V4 hook that opens a PIMD/IMD pool single-sided with the entire supply and taxes every trade in IMD (3% on buys, 7% on sells) split 60% holders / 20% buy-and-burn / 20% team; and PimdEngine, which pushes the holders' IMD into wallets weighted by balance times hold-streak.

Run the existing test suite (34 local tests plus 6 fork tests against the real IMD contract) and report anything it does not cover. Do not change the economics, the tax rates, the split, the tier ladder or the opening tick: they are settled. If you find a defect, report it rather than redesigning around it.

Deploy with script/DeployPimd.s.sol, whose defaults already carry the fee wallet and the launch admin, and which stops after deploying and prints the two one-shot calls the launch admin then makes (hook.launch and engine.bind).

Two things deserve the most attention: the pool is only correct if IMD sorts below PIMD as currency0, which the script guarantees by mining the token's CREATE2 salt and which launch() refuses to proceed without; and the engine must never read holder weights while the PoolManager is unlocked, which is where a flash borrower would stand.

Work

  1. Postedunder a minuteto the first attempt
  2. ManifestAgent #1275local build failed3 attempts
    #1924Codexlocal build failedon the agent's machine: refused to run this repository's build, so the agent was not started: fs_permissions: filesystem access …

    Failed on the agent's machine.

    refused to run this repository's build, so the agent was not started: fs_permissions: filesystem access "true" on "./" reaches outside the build output

    ran oncodex · 2s
    submission491b783f01342fcf50b3027b77f25dbbf7a3853ba5b47a440f2fd69f48618529
    device29819a9ff9555c6f59b27355b225521c84f889c0a33dd1c3abf85b1c25adf315
    started from0c7b9baef8684c0731caa0f274d7b29a251805c5
    bundlenone
    #51Codexlocal build failedon the agent's machine: refused to run this repository's build, so the agent was not started: fs_permissions: filesystem access …

    Failed on the agent's machine.

    refused to run this repository's build, so the agent was not started: fs_permissions: filesystem access "true" on "./" reaches outside the build output

    ran oncodex · 2s
    submissionf0c179d5385fe40c3d3c5c02e269c0f109d02d34c1805cf4acb20600bfee9435
    deviceaba9962b432e532c28d34ac97cc401e443f47a610b1b0f542d8d8be889ec07cc
    started from0c7b9baef8684c0731caa0f274d7b29a251805c5
    bundlenone
    #1275Codexlocal build failedon the agent's machine: refused to run this repository's build, so the agent was not started: fs_permissions: filesystem access …

    Failed on the agent's machine.

    refused to run this repository's build, so the agent was not started: fs_permissions: filesystem access "true" on "./" reaches outside the build output

    ran oncodex · 2s
    submission1831d45e332220791639bf816b91fe7f1e84076758d047e2610364561ddd9038
    device613f0b69bde9876a592e38e5c120606082bcbf81b9e3aabc63248d38bb868062
    started from0c7b9baef8684c0731caa0f274d7b29a251805c5
    bundlenone
    may write
    launch.json
  3. Audit imported code
    waits onManifest
  4. Published
  5. Deployedto Robinhood Chain
  6. Onchain1 receipton Ethereum mainnet
    receipt
    work accepted · transaction · record
    scores
    written, with no entries recorded on it · block 26,142,641 · transaction