{
  "schema": "pnp-ecosystem-bounties.v1",
  "version": "1.0.0",
  "programId": "ethereum-pq-wave3-bounties",
  "title": "Ethereum Post-Quantum Verification & Optimization Bounty Program (Wave 3)",
  "operator": {
    "organization": "pnp.fun",
    "handle": "MuncleUscles",
    "initiativeUrl": "https://pnp.fun/ethereum-pq/",
    "managementFeePct": 0
  },
  "settlementMechanics": {
    "ledgerContract": "ResearchV5",
    "chainId": 61999,
    "directSolverShareBps": 8000,
    "upstreamDependencyRoyaltyShareBps": 2000,
    "trunkCheckpointSchema": "trunk-checkpoint.v1",
    "blueprintDagSchema": "blueprint-dag.v1",
    "policyVersion": 7,
    "pqEvmBlueprintsPolicySha256": "8349556fd9f8a5d61b48bf9bd1ed0604230ecf10564ccca318a6d2383c311d0a",
    "leanToolchain": "lean4:4.36.0",
    "leanCommit": "611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9",
    "allowedAxioms": [
      "propext",
      "Classical.choice",
      "Quot.sound"
    ],
    "requiredKernels": [
      "leanchecker",
      "leanchecker-paranoid",
      "lean4lean",
      "nanoda",
      "con-leche",
      "con-ron"
    ],
    "evmBenchmarkFork": "glamsterdam",
    "calldataGasPerByte": 16
  },
  "antiGamingRules": {
    "minimumSoundnessBits": 128.0,
    "rejectToySub128BitParameters": true,
    "rejectStipulatedCostFormulasWithoutEquivalenceProof": true,
    "rejectSorryNativeDecideBvDecide": true,
    "requireInKernelNonVacuityWitness": true,
    "requireExecutableRevmBytecodeForGasLadders": true,
    "maxEvmRuntimeBytes": 24576,
    "requireKernelCheckedDependencyProofUse": true,
    "publicChallengeWindowSeconds": 300
  },
  "referencePoolSummary": {
    "currency": "USD",
    "totalReferencePoolUsd": 500000,
    "challengeAllocationsUsd": {
      "CHALLENGE-I-KECCAK": 100000,
      "CHALLENGE-II-128BIT-EVM-VERIFIER": 175000,
      "CHALLENGE-III-QROM-AND-SIG-PARETO": 115000,
      "CHALLENGE-IV-PQAI-WALLET-AND-PRIVACY": 110000
    }
  },
  "coSponsorshipTiers": [
    {
      "tierId": "anchor-track-sponsor",
      "name": "Anchor Track Co-Sponsor",
      "minCommitmentUsd": 150000,
      "recommendedCommitmentUsd": 200000,
      "targetPartners": [
        "Ethereum Foundation (leanEthereum / Post-Quantum Initiative)",
        "Tier-1 L2 Rollup Foundations"
      ],
      "benefits": [
        "Co-anchors an entire Grand Challenge track (I-IV)",
        "Co-signs Policy v7/v8 upstream commit pins (ethereum/EthLib, leanEthereum/leanVM) and Blueprint milestone specs",
        "Permanent institutional attribution across pnp.fun/ethereum-pq/, GitHub problem repositories, and PnpTrunk .olean releases"
      ]
    },
    {
      "tierId": "milestone-pool-cosponsor",
      "name": "Milestone Blueprint Pool Co-Sponsor",
      "minCommitmentUsd": 50000,
      "recommendedCommitmentUsd": 75000,
      "targetPartners": [
        "L2 Rollups",
        "Account-Abstraction & Smart-Wallet Teams",
        "Institutional Multisig & Custody Providers"
      ],
      "benefits": [
        "Escrows a targeted multi-node Blueprint subgraph (e.g., QROM security suite or 4,814 B leanSPHINCS AA/multisig bytecode refinement)",
        "Receives Apache-2.0 / CC0-1.0 upstream-ready Lean 4.36 + EVM deliverables checked across all 6 kernels"
      ]
    },
    {
      "tierId": "world-record-rung-sponsor",
      "name": "World-Record Rung Sponsor",
      "minCommitmentUsd": 15000,
      "recommendedCommitmentUsd": 25000,
      "targetPartners": [
        "ZK / STARK Prover Labs",
        "Post-Quantum Privacy Protocols",
        "Cryptography & Hardware Optimization Teams"
      ],
      "benefits": [
        "Sponsors a crisp quantitative world-record rung (e.g., <= 1.5M-gas >= 128-bit EIP-8288 verifier hitting B* <= 64, or <= 38,399-AND 24-round Keccak)",
        "Zero payout risk: funds release exclusively if the exact 6-kernel + revm threshold is crossed"
      ]
    }
  ],
  "challenges": [
    {
      "id": "CHALLENGE-I-KECCAK",
      "number": 1,
      "title": "Full 24-Round Keccak-f[1600] Circuit & Sumcheck Record Ladder",
      "repositories": [
        "MuncleUscles/keccak-proving"
      ],
      "allocationUsd": 100000,
      "verifiedBaselines": {
        "keccak24RoundUpperGates": 38400,
        "keccak24RoundUpperRef": "MuncleUscles/keccak-proving#10",
        "keccakTwoRoundLowerGates": 1602,
        "keccakTwoRoundLowerRef": "MuncleUscles/keccak-proving#29",
        "keccak24RoundLowerGates": 1601,
        "keccak24RoundLowerRef": "MuncleUscles/keccak-proving#19",
        "polyRmfe16OptimalWidth": 24,
        "polyRmfe16Ref": "MuncleUscles/keccak-proving#24",
        "polyRmfe32CurrentUpperWidth": 53,
        "polyRmfe32CurrentLowerWidth": 33
      },
      "subPools": [
        {
          "id": "I-A",
          "title": "24-Round Keccak-f[1600] Multiplicative Complexity Upper-Bound Ladder (Goal10_KeccakUpper)",
          "payoutModel": "threshold-plus-bounded-frontier-curve",
          "allocationUsd": 40000,
          "metric": "and_gates",
          "direction": "minimize",
          "baselineValue": 38400,
          "firstBreakThreshold": 38399,
          "firstBreakBonusUsd": 10000,
          "asymptoticTargetValue": 32000,
          "minStepDelta": 160
        },
        {
          "id": "I-B",
          "title": "Multi-Round (>= 3 Rounds & 24-Round) Super-1,602 AND Lower-Bound Ladder",
          "payoutModel": "discrete-rung-ladder",
          "allocationUsd": 30000,
          "metric": "and_gates_lower_bound",
          "direction": "maximize",
          "baselineValue": 1602,
          "antiCheeseNote": "Must introduce genuine algebraic rank, degree, or linear-invariance techniques; mechanical finite-subspace enlargement earns 0.",
          "rungs": [
            { "thresholdGates": 1650, "payoutUsd": 6000 },
            { "thresholdGates": 1800, "payoutUsd": 8000 },
            { "thresholdGates": 2400, "payoutUsd": 8000 },
            { "thresholdGates": 3200, "payoutUsd": 8000 }
          ]
        },
        {
          "id": "I-C",
          "title": "Exact Optimal Width d*(32) for 32-Channel Binary Polynomial RMFE (leanVM#721)",
          "payoutModel": "bounded-interval-closure",
          "allocationUsd": 15000,
          "metric": "poly_rmfe_32_width_gap",
          "currentLowerWidth": 33,
          "currentUpperWidth": 53,
          "minStepDelta": 3
        },
        {
          "id": "I-D",
          "title": "Soundness-Backed 24-Round Keccak-f[1600] & pad10*1 keccak256 -> KoalaBear^5 GKR/Sumcheck Reduction",
          "payoutModel": "blueprint-milestone",
          "allocationUsd": 15000,
          "minimumSoundnessBits": 128.0
        }
      ]
    },
    {
      "id": "CHALLENGE-II-128BIT-EVM-VERIFIER",
      "number": 2,
      "title": "Sub-25k-Gas >= 128-Bit Post-Quantum EVM Verifier Ladder (B <= 64)",
      "repositories": [
        "MuncleUscles/pq-evm-blueprints"
      ],
      "allocationUsd": 175000,
      "verifiedBaselines": {
        "mca128": {
          "soundnessBits": 128.22,
          "queries": [36, 27, 22],
          "powBits": 22,
          "proofBytes": 53298,
          "abiCalldataBytes": 53444,
          "revmExecGas": 5789363,
          "calldataGas": 855104,
          "totalGlamsterdamBlockGas": 6644467,
          "amortizedGasAtB64": 103820,
          "amortizedGasAtB256": 25955,
          "sub25kCrossoverBatchSize": 266
        },
        "johnson128": {
          "soundnessBits": 128.61,
          "queries": [56, 45, 37],
          "powBits": 22,
          "proofBytes": 86994,
          "abiCalldataBytes": 87172,
          "revmExecGas": 9364772,
          "calldataGas": 1394752,
          "totalGlamsterdamBlockGas": 10759524,
          "amortizedGasAtB64": 168118,
          "amortizedGasAtB256": 42030,
          "sub25kCrossoverBatchSize": 431
        }
      },
      "subPools": [
        {
          "id": "II-A",
          "title": "Foundational W3-B LeanPcs8288Verifier 128-Bit Soundness & Bytecode Refinement Blueprint",
          "payoutModel": "blueprint-dag-nodes",
          "allocationUsd": 45000,
          "nodes": [
            { "nodeId": "W3B.KoalaBearQuinticIrred", "payoutUsd": 5000 },
            { "nodeId": "W3B.PackedU256ExtArith", "payoutUsd": 8000 },
            { "nodeId": "W3B.WhirFoldSoundness", "payoutUsd": 12000 },
            { "nodeId": "W3B.FiatShamirGrinding", "payoutUsd": 8000 },
            { "nodeId": "W3B.VerifierBytecodeRefinement", "payoutUsd": 12000 }
          ]
        },
        {
          "id": "II-B",
          "title": "Conjectured-Proximity (>= 128.0-Bit MCA) EVM Block-Gas Reduction Ladder",
          "payoutModel": "bounded-frontier-curve-with-rungs",
          "allocationUsd": 85000,
          "metric": "evm_gas",
          "direction": "minimize",
          "minimumSoundnessBits": 128.0,
          "soundnessRegime": "MCA-128-or-stronger",
          "baselineTotalBlockGas": 6644467,
          "baselineSub25kCrossover": 266,
          "minRelativeReductionPct": 10.0,
          "rungs": [
            { "maxTotalBlockGas": 4500000, "sub25kCrossoverBatchSize": 180, "payoutUsd": 15000 },
            { "maxTotalBlockGas": 3000000, "sub25kCrossoverBatchSize": 120, "payoutUsd": 20000 },
            { "maxTotalBlockGas": 1500000, "sub25kCrossoverBatchSize": 60, "payoutUsd": 30000, "flagshipTargetBLe64": true },
            { "maxTotalBlockGas": 1000000, "sub25kCrossoverBatchSize": 40, "payoutUsd": 20000 }
          ]
        },
        {
          "id": "II-C",
          "title": "Unconditional (>= 128.0-Bit Proven List-Decoding / Zero-Conjecture) EVM Block-Gas Ladder",
          "payoutModel": "bounded-frontier-curve-with-rungs",
          "allocationUsd": 45000,
          "metric": "evm_gas",
          "direction": "minimize",
          "minimumSoundnessBits": 128.0,
          "soundnessRegime": "unconditional-proven-list-decoding",
          "baselineTotalBlockGas": 10759524,
          "baselineSub25kCrossover": 431,
          "minRelativeReductionPct": 10.0,
          "rungs": [
            { "maxTotalBlockGas": 6000000, "sub25kCrossoverBatchSize": 240, "payoutUsd": 12000 },
            { "maxTotalBlockGas": 3000000, "sub25kCrossoverBatchSize": 120, "payoutUsd": 15000 },
            { "maxTotalBlockGas": 1500000, "sub25kCrossoverBatchSize": 60, "payoutUsd": 18000, "flagshipTargetBLe64": true }
          ]
        }
      ]
    },
    {
      "id": "CHALLENGE-III-QROM-AND-SIG-PARETO",
      "number": 3,
      "title": "Quantum (QROM) Security of leanXMSS, leanSPHINCS, & SPHINCS- + Sub-3,000 B Signature Pareto Frontier",
      "repositories": [
        "MuncleUscles/pq-evm-blueprints",
        "MuncleUscles/post-quantum-signatures"
      ],
      "allocationUsd": 115000,
      "verifiedBaselines": {
        "ethLibSecurityModel": "Classical ROM / Random Permutation (ethereum/EthLib@212d502f)",
        "sphincsMinusC13SigBytes": 3704,
        "sphincsMinusC13VerifierHashes": 450,
        "pr111ParetoSigBytes": 3288,
        "pr111ParetoVerifierHashes": 436,
        "pr111Ref": "MuncleUscles/post-quantum-signatures#111"
      },
      "subPools": [
        {
          "id": "III-A",
          "title": "Compressed-Oracle QROM Multi-Key SUF-CMA Proof for EthLib leanXMSS (4, 58, 106)",
          "payoutModel": "blueprint-milestone",
          "allocationUsd": 35000,
          "requiredLibraries": [
            "EthLib",
            "QuantumFoundations",
            "VCVio"
          ],
          "minimumSoundnessBits": 128.0
        },
        {
          "id": "III-B",
          "title": "QROM EUF-CMA & Quantum Grinding Extractability for EthLib leanSPHINCS and SPHINCS- (FORS+C)",
          "payoutModel": "blueprint-milestone",
          "allocationUsd": 40000,
          "requiredLibraries": [
            "EthLib",
            "QuantumFoundations",
            "VCVio"
          ],
          "minimumSoundnessBits": 128.0
        },
        {
          "id": "III-C",
          "title": "Sub-3,000 B Stateless/Few-Time Signature Pareto Frontier (q >= 2^16, >= 128-Bit) or Sharp Impossibility Floor",
          "payoutModel": "pareto-frontier-or-impossibility-floor",
          "allocationUsd": 40000,
          "metric": "sig_bytes",
          "baselineSigBytes": 3288,
          "baselineVerifierHashes": 436,
          "minByteStepDelta": 80,
          "minHashStepDelta": 15,
          "rungs": [
            { "maxSigBytes": 3100, "maxVerifierHashes": 420, "payoutUsd": 10000 },
            { "maxSigBytes": 2999, "maxVerifierHashes": 380, "payoutUsd": 15000 },
            { "maxSigBytes": 2800, "maxVerifierHashes": 350, "payoutUsd": 15000 }
          ]
        }
      ]
    },
    {
      "id": "CHALLENGE-IV-PQAI-WALLET-AND-PRIVACY",
      "number": 4,
      "title": "Bytecode-Verified PQAI Account Stack & Post-Quantum Privacy Pools",
      "repositories": [
        "MuncleUscles/pq-evm-blueprints",
        "MuncleUscles/verified-ethereum"
      ],
      "allocationUsd": 110000,
      "verifiedBaselines": {
        "w3aWalletRuntimeBytes": 4814,
        "w3aWalletMode1C13Revm1of1Gas": 283775,
        "w3aWalletMode1C13Revm2of3Gas": 545801,
        "w3aWalletMode3Eip8288FrameGasRange": [14316, 28361],
        "pqPrivacyPoolRuntimeBytes": 4138,
        "pqPrivacyPoolDepositRevmExecGas": 281216,
        "pqPrivacyPoolSpend2In2OutRevmExecGas": 138197,
        "pqPrivacyPoolGlamsterdamBatchedMcaB256Gas": 40015,
        "pqPrivacyPoolGlamsterdamBatchedTarget1500kB256Gas": 19920
      },
      "subPools": [
        {
          "id": "IV-A",
          "title": "Opcode-Level EthLib.Execution.Evm Refinement of 4,814 B LeanSphincsWallet (W3A.* Blueprint)",
          "payoutModel": "blueprint-dag-nodes",
          "allocationUsd": 40000,
          "topTheorem": "Wave3.Wallet.validateFrame_refines_spec",
          "nodes": [
            { "nodeId": "W3A.PreimageInjectivity", "payoutUsd": 4000 },
            { "nodeId": "W3A.KeccakScratchpad", "payoutUsd": 6000 },
            { "nodeId": "W3A.WotsPlusCLoop", "payoutUsd": 7000 },
            { "nodeId": "W3A.ForsPlusCLoop", "payoutUsd": 7000 },
            { "nodeId": "W3A.MultisigAndRotation", "payoutUsd": 6000 },
            { "nodeId": "W3A.MainRefinement", "payoutUsd": 10000 }
          ]
        },
        {
          "id": "IV-B",
          "title": "SETCODEFROM Permanent secp256k1 Retirement & EIP-8141 + FOCIL Mempool Non-Interference",
          "payoutModel": "blueprint-milestone",
          "allocationUsd": 25000,
          "blueprintNodes": [
            "W3A.FocilStorageIsolation"
          ]
        },
        {
          "id": "IV-C",
          "title": "Verified PqPrivacyPool8288 Value Conservation, Nullifier Soundness, & Sub-25k-Gas Settlement",
          "payoutModel": "blueprint-milestone-plus-gas-target",
          "allocationUsd": 25000,
          "topTheorem": "Wave3.Whir8288.pqPrivacyPool_conservation_and_nullifier_sound",
          "targetBatchedSpendComputeAndCalldataGas": 25000
        },
        {
          "id": "IV-D",
          "title": "Arbitrary-Depth leanVM NodeStatement Aggregation Tree <-> EIP-8288 DEPS_HASH Conformance",
          "payoutModel": "blueprint-milestone",
          "allocationUsd": 20000,
          "blueprintNodes": [
            "W3B.MaliciousBuilder8288Sound"
          ]
        }
      ]
    }
  ]
}
