{
 "summary": "Acceptance specification for the Ethereum Sepolia (11155111) Uniswap v4 pool for Test (TEST). Its launch must initialize and fund the pool and leave an executable swap path through existing infrastructure. The project deploys only TEST and one staking contract. A v4 pool is state in the existing PoolManager. The IdentityMD launch mechanism and live results remain unverified.",
 "sources": [
  {
   "id": "deploy",
   "url": "https://developers.uniswap.org/docs/protocols/v4/deployments",
   "section": "Testnet Deployments → Sepolia: 11155111",
   "accessDate": "2026-11-23",
   "supportedClaim": "Official Sepolia infrastructure addresses."
  },
  {
   "id": "create",
   "url": "https://developers.uniswap.org/docs/protocols/v4/guides/create-pool",
   "section": "Configure the pool through Encode the MINT_POSITION parameters",
   "accessDate": "2026-11-23",
   "supportedClaim": "Existing PositionManager multicall can initialize and mint with settlement. The guide defines ordering, native ETH, initial price, tick alignment and mint inputs."
  },
  {
   "id": "id",
   "url": "https://raw.githubusercontent.com/Uniswap/v4-core/main/src/types/PoolId.sol",
   "section": "PoolIdLibrary.toId",
   "accessDate": "2026-11-23",
   "supportedClaim": "Pool ID is the Keccak-256 hash of the five ABI words."
  },
  {
   "id": "events",
   "url": "https://raw.githubusercontent.com/Uniswap/v4-core/main/src/interfaces/IPoolManager.sol",
   "section": "Initialize, ModifyLiquidity, Swap and unlock",
   "accessDate": "2026-11-23",
   "supportedClaim": "Defines canonical logs, unlock callback requirements, and low-liquidity and hook-delta caveats."
  },
  {
   "id": "core",
   "url": "https://raw.githubusercontent.com/Uniswap/v4-core/main/src/PoolManager.sol",
   "section": "initialize, unlock and swap",
   "accessDate": "2026-11-23",
   "supportedClaim": "The singleton stores pool state per ID, validates initialization, emits the key and invokes hooks. Swap logging precedes afterSwap hook adjustments."
  },
  {
   "id": "initializer",
   "url": "https://raw.githubusercontent.com/Uniswap/v4-periphery/main/src/base/PoolInitializer_v4.sol",
   "section": "initializePool",
   "accessDate": "2026-11-23",
   "supportedClaim": "This source catches core initialization failure and returns a sentinel. Verify against the deployed release."
  },
  {
   "id": "positions",
   "url": "https://raw.githubusercontent.com/Uniswap/v4-periphery/main/src/PositionManager.sol",
   "section": "_pay, getPoolAndPositionInfo and getPositionLiquidity",
   "accessDate": "2026-11-23",
   "supportedClaim": "Externally funded ERC-20 payments use Permit2. Positions can be inspected by token ID."
  },
  {
   "id": "hooks",
   "url": "https://raw.githubusercontent.com/Uniswap/v4-core/main/src/libraries/Hooks.sol",
   "section": "Permission flags and isValidHookAddress",
   "accessDate": "2026-11-23",
   "supportedClaim": "Address bits select callbacks. The no-hook address requires a static fee."
  },
  {
   "id": "ranges",
   "url": "https://raw.githubusercontent.com/Uniswap/v4-core/main/src/libraries/Pool.sol",
   "section": "modifyLiquidity range accounting",
   "accessDate": "2026-11-23",
   "supportedClaim": "Positions contribute to active liquidity when tickLower <= tick < tickUpper. Funding quantities depend on the price and range."
  },
  {
   "id": "state",
   "url": "https://raw.githubusercontent.com/Uniswap/v4-periphery/main/src/lens/StateView.sol",
   "section": "getSlot0 and getLiquidity",
   "accessDate": "2026-11-23",
   "supportedClaim": "Reads price, tick, fees and active liquidity by ID from the linked manager."
  },
  {
   "id": "quote",
   "url": "https://developers.uniswap.org/docs/sdks/v4/guides/swapping/quoting",
   "section": "Getting a Quote",
   "accessDate": "2026-11-23",
   "supportedClaim": "Exact input quote takes the key, direction, amount and hook data. Internal state-changing work is reverted to return data."
  },
  {
   "id": "swap",
   "url": "https://developers.uniswap.org/docs/sdks/v4/guides/swapping/single-hop-swapping",
   "section": "Using Universal Router and Executing a Single-Hop Swap and Handling Token Approvals",
   "accessDate": "2026-11-23",
   "supportedClaim": "Version-specific swap, settlement, deadline, native value and ERC-20 approvals."
  }
 ],
 "checks": [
  {
   "id": "sepolia-infrastructure",
   "requirement": "Verify official infrastructure on Ethereum Sepolia.",
   "procedure": "Read eth_chainId and require 11155111. At relevant canonical blocks read eth_getCode for the manager and each used periphery address. Check against the official deployment table and bind runtime and ABI to the deployed release or verified Sepolia source. Verify periphery PoolManager and Permit2 bindings where applicable from getters or deployed constructor and immutable evidence. Keep Router encoding matched to the selected version.",
   "expectedEvidence": "Network ID, canonical block references, addresses, runtime and ABI identity and dependency bindings.",
   "passFailCriterion": "Pass if all used roles match the official Sepolia deployments and deployed ABI and bindings. Fail wrong chain, missing code, substituted infrastructure or mismatched bindings. Missing version or binding evidence leaves this check unverified.",
   "sources": [
    "deploy",
    "core",
    "positions",
    "state",
    "swap"
   ]
  },
  {
   "id": "pool-identity",
   "requirement": "Reproduce the complete PoolKey and pool ID.",
   "procedure": "Bind TEST to the launch deployment address and verify name Test, symbol TEST and decimals. Resolve the authorized paired asset and decimals. Encode native ETH as address(0) if selected. Wrapped ETH is a distinct ERC-20. Sort the two distinct currencies by uint160 address. Record currency0, currency1, fee (uint24), tickSpacing (int24), hooks (address) in that order. Compute keccak256(abi.encode(poolKey)) over the five ABI words. Compare all fields and the indexed ID to the canonical PoolManager Initialize log.",
   "expectedEvidence": "TEST deployment and metadata, paired asset evidence, complete ordered tuple, bytes32 hash and decoded core log.",
   "passFailCriterion": "Pass if the authorized tuple matches all emitted fields and the computed ID equals the indexed ID. Fail a wrong emitter or mismatch. Symbols alone cannot identify a pool.",
   "sources": [
    "create",
    "id",
    "events",
    "core"
   ]
  },
  {
   "id": "fee-spacing-hooks",
   "requirement": "Validate fee, spacing and hook configuration.",
   "procedure": "Check authorized static fee in pips (3000 = 0.30%) or dynamic sentinel 0x800000, spacing 1 through 32767, and ordered position bounds aligned to spacing and valid for deployed TickMath. A hookless configuration uses address(0) in the hooks field and static fee. For an existing hook, verify Sepolia code, manager compatibility, permission bits, required hookData, caller restrictions and initialization, liquidity and swap effects. Record the effective LP fee separately from a dynamic PoolKey fee.",
   "expectedEvidence": "Configuration, decoded key, deployed hook permissions and behavior when applicable, tick bounds and fee reading.",
   "passFailCriterion": "Pass if protocol and agreed launch parameters match and any required hook already exists and supports the actual launch and swap callers. Fail invalid parameters or an extra project deployment.",
   "sources": [
    "create",
    "events",
    "core",
    "hooks",
    "state",
    "swap"
   ]
  },
  {
   "id": "launch-attribution",
   "requirement": "Prove the launch created and seeded this exact pool within the two-contract limit.",
   "procedure": "Inspect the supported workflow and successful Sepolia receipts with decoded call traces or equivalent evidence, including nested CREATE and CREATE2. Tie TEST deployment to the canonical Initialize event and subsequent positive ModifyLiquidity for the same ID. For an atomic launch require causal ordering in its receipt. For a documented multi-transaction launch require an ordered linked transaction set with liquidity by launch completion. Check for earlier same-ID initialization. Verify the staking deployment uses the same TEST where applicable. The PositionManager initializer can catch initialization failures, so outer success alone cannot establish initialization.",
   "expectedEvidence": "Supported launch config, entry point and calldata, ordered hashes and log indexes, provenance for the first initialization and seed, and full project deployment accounting.",
   "passFailCriterion": "Pass if the authorized launch caused first initialization and seeded the pool by launch completion, with only TEST and one staking contract created for the project. Fail a preexisting pool, unrelated later seeding or extra project deployment. Missing causal evidence leaves attribution unverified.",
   "sources": [
    "core",
    "events",
    "initializer",
    "create"
   ]
  },
  {
   "id": "initial-price",
   "requirement": "Validate the initial price and tick.",
   "procedure": "Express the authorized price as whole currency1 per whole currency0 after sorting. Invert if specified in the opposite orientation. Multiply by 10^(decimals1-decimals0) to obtain the raw-unit ratio. Compute floor(sqrt(raw ratio) * 2^96) using exact arithmetic. Verify bounds, launch calldata and Initialize.sqrtPriceX96, and compare the event tick to deployed TickMath for that value.",
   "expectedEvidence": "Authorized price, orientation, decimals, conversion, calldata and decoded event price and tick.",
   "passFailCriterion": "Pass if the event matches the authorized encoding and tick. Fail invalid price or mismatch. A current price reading cannot establish the initial price.",
   "sources": [
    "create",
    "core",
    "events",
    "state"
   ]
  },
  {
   "id": "seed-active-liquidity",
   "requirement": "Verify funded liquidity in range at launch completion and at the review price.",
   "procedure": "Inspect positive same-ID ModifyLiquidity, payer settlement and actual amounts. Check balances, amount caps, aligned range and authorized LP beneficiary. For ERC-20 funding through PositionManager verify ERC-20 allowance to Permit2 and the PositionManager-specific Permit2 allowance or consumed permit at execution. Check native value for native funding. Match the position NFT mint, token ID, owner or custody, range and liquidity if using PositionManager. Read getSlot0 and getLiquidity at the same canonical launch-completion block and again at a recent canonical block. Use transaction-level evidence if later same-block transactions change state. Show the launch seed contributed active liquidity at completion and that current active liquidity is positive. When active liquidity is zero, inspect surviving positions to distinguish empty from out-of-range.",
   "expectedEvidence": "Settlement evidence by currency, position ownership and range, and block-pinned prices, ticks and active liquidity. Active ranges satisfy tickLower <= tick < tickUpper.",
   "passFailCriterion": "Pass with settled seed funding and positive active liquidity at both checkpoints. Fail an unfunded launch or absent active liquidity. Initialize and a nonzero price establish initialization only. An NFT or singleton balance alone cannot establish active liquidity.",
   "sources": [
    "create",
    "events",
    "positions",
    "ranges",
    "state",
    "core"
   ]
  },
  {
   "id": "quote",
   "requirement": "Measure modeled output for the exact pool and representative trade.",
   "procedure": "At the review block use eth_call with official Quoter.quoteExactInputSingle, specifying the exact key, direction (zeroForOne means currency0 in), nonzero base-unit amount and hookData. Use authorized representative sizes and bounds, testing each claimed direction. Record the call context and implied execution price.",
   "expectedEvidence": "Block, raw parameters, quote output and comparison against agreed limits.",
   "passFailCriterion": "Pass the quote check for positive output within bounds. Fail zero, revert or out-of-bound output. A quote proves modeled output only.",
   "sources": [
    "quote",
    "state"
   ]
  },
  {
   "id": "router-simulation",
   "requirement": "Prove the actual funded router call can settle at the review block.",
   "procedure": "Encode version-matched Universal Router.execute with direct V4_SWAP, SWAP_EXACT_IN_SINGLE, SETTLE_ALL for the input and TAKE_ALL for the output. Supply exact key, direction, hookData, positive minimum output and finite deadline valid at the block. Verify the recipient mapping. Use eth_call with the actual sender, destination, calldata and value at the review block without balance or allowance overrides. Verify gas affordability separately. For ERC-20 input verify payer balance, approval to Permit2 and the Router-specific Permit2 allowance and expiry or a valid included permit. For native input verify balance and value. Disallow swap allow-revert and inspect a simulated trace or state diff for actual input settlement and recipient output.",
   "expectedEvidence": "Block-pinned exact call, sender, recipient, amounts, Router ABI version, balances and approvals, and simulated settlement.",
   "passFailCriterion": "Pass if the intended funded call settles positive input and delivers at least the minimum output within agreed fill bounds for each claimed direction. Fail revert, skipped swap, insufficient authority or incorrect settlement. Simulation does not change canonical state.",
   "sources": [
    "deploy",
    "swap",
    "core",
    "events"
   ]
  },
  {
   "id": "confirmed-swap",
   "requirement": "Verify a real exchange of TEST through the launch pool.",
   "procedure": "Retrieve the later authorized swap and its canonical successful Sepolia receipt. Apply the workflow confirmation or finality policy. Decode the existing router call and require a Swap log for the exact ID from the canonical manager. Reconcile nonzero swap deltas and direction with transaction-scoped payer debits and recipient credits using ERC-20 Transfer logs and native traces or state changes net of gas as applicable. Account for hook adjustments. Check minimum received and agreed fill bounds.",
   "expectedEvidence": "Transaction and block hashes, confirmation status, route and Swap log index, transaction-scoped settled amounts and recipient.",
   "passFailCriterion": "Pass with at least one confirmed representative real trade meeting agreed bounds in this exact pool. Any further direction claimed as confirmed needs its own evidence. Fail wrong pool, reverted or skipped swap or mismatched settlement. Absent receipt evidence leaves confirmed trading unverified regardless of quote or simulation.",
   "sources": [
    "deploy",
    "events",
    "core",
    "swap"
   ]
  }
 ],
 "launchDependencies": {
  "network": {
   "chain": "Ethereum Sepolia",
   "chainId": 11155111,
   "source": "deploy",
   "documentedAddresses": {
    "PoolManager": "0xE03A1074c86CFeDd5C142C4F04F1a1536e203543",
    "PositionManager": "0x429ba70129df741B2Ca2a85BC3A2a3328e5c09b4",
    "StateView": "0xe1dd9c3fa50edb962e442f60dfbc432e24537e4c",
    "Quoter": "0x68aFa8b853cAa7a2D40B0F6AEE5C4DbC147C8244",
    "UniversalRouter": "0x3A9D48AB9751398BbFa63ad67599Bb04e4BdF98b",
    "UniversalRouter2.1.1": "0x7dfd4f31be6814d2906bde155c3e1b146eac1468",
    "UniversalRouter2.1.2": "0x7E4f6c5e954Da5c61B3423D81E2277431Ac043f3",
    "Permit2": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
   }
  },
  "protocolPath": "The create guide documents existing PositionManager.multicall with initializePool followed by modifyLiquidities using MINT_POSITION and SETTLE_PAIR. That can combine pool initialization and initial liquidity in one transaction once funding and authorization are ready. Including token deployment in that transaction requires separately evidenced orchestration.",
  "platformPath": "Unresolved. Require the actual supported Sepolia launch mode and version, decoded execution plan, existing orchestration entry point if used, and receipt mapping. A mode requiring a new helper, hook, distributor or any additional project contract fails the two-contract limit.",
  "evidenceHandoff": "Provide chain ID, TEST and staking addresses and deployment hashes, launch transaction or ordered transaction set, full PoolKey and ID, initial price and tick, funding and position evidence, block-pinned state, quote, exact router simulation and confirmed swap evidence. Preserve block hashes, transaction hashes, log indexes, raw units and ABI versions.",
  "economicInputs": "Unresolved. Require the approved quote asset, fee and spacing, hook policy, starting price, LP range and recipient, TEST and paired-asset funding and approvals, gas funding, and reviewer trade sizes and execution bounds. Establish that the launch payer has TEST available when seed liquidity settles."
 },
 "unresolvedQuestions": [
  "Which IdentityMD Sepolia mode creates and seeds the pool while deploying only TEST and one staking contract? Factory identity, manifest support, entry point, launch identifier if applicable, and ordering are unverified.",
  "Which paired asset, decimals, fee mode and value, spacing, hook choice and starting price with quote orientation are authorized? Pool ID is unknown until the deployed TEST address and complete key are known.",
  "Who supplies each currency and gas, in what amounts and tick range, and who receives the position? No payer, recipient, amount or funding commitment was supplied.",
  "Which representative swap directions and sizes, minimum outputs and execution bounds are acceptable? Who supplies funded swap access and mined evidence?",
  "No live deployment, launch receipts, pool logs, state reads, approvals or swap evidence were supplied. Launch attribution, funded liquidity and tradability remain unverified."
 ],
 "gates": {
  "specComplete": "pass",
  "liveLaunchVerified": "not_evaluated"
 }
}
