[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-uniswap-v4-hook-generator":3,"mdc--8092nd-key":33,"related-org-uniswap-v4-hook-generator":3290,"related-repo-uniswap-v4-hook-generator":3438},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":28,"sourceUrl":31,"mdContent":32},"v4-hook-generator","generate Uniswap v4 hook contracts","Generate Uniswap v4 hook contracts via OpenZeppelin MCP. Use when building custom swap logic, async swaps, hook-owned liquidity, custom curves, dynamic fees, MEV protection, limit orders, or oracle hooks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"uniswap","Uniswap","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Funiswap.png",[12,16,19],{"name":13,"slug":14,"type":15},"Web3","web3","tag",{"name":17,"slug":18,"type":15},"Smart Contracts","smart-contracts",{"name":20,"slug":21,"type":15},"Ethereum","ethereum",215,"https:\u002F\u002Fgithub.com\u002FUniswap\u002Funiswap-ai","2026-07-17T06:04:19.17669","MIT",35,[],{"repoUrl":23,"stars":22,"forks":26,"topics":29,"description":30},[],"AI tools for building on Uniswap — skills, plugins, and agents for any coding agent.","https:\u002F\u002Fgithub.com\u002FUniswap\u002Funiswap-ai\u002Ftree\u002FHEAD\u002Fpackages\u002Fplugins\u002Funiswap-hooks\u002Fskills\u002Fv4-hook-generator","---\nname: v4-hook-generator\ndescription: 'Generate Uniswap v4 hook contracts via OpenZeppelin MCP. Use when building custom swap logic, async swaps, hook-owned liquidity, custom curves, dynamic fees, MEV protection, limit orders, or oracle hooks.'\nallowed-tools: Read, Glob, Grep, WebFetch, Bash\nmodel: opus\nlicense: MIT\nmetadata:\n  author: uniswap\n  version: '1.0.0'\n---\n\n# v4 Hook Generator\n\nGenerate Uniswap v4 hook contracts via the OpenZeppelin Contracts Wizard MCP tool. This skill\nguides you through selecting the right hook type, configuring permissions and utilities, assembling\nthe canonical MCP JSON, and invoking the MCP tool to produce ready-to-compile Solidity code.\n\n> **Security companion**: Generated hook code touches fund-handling contracts. Always apply the\n> `v4-security-foundations` skill immediately after generation to audit permissions, delta\n> accounting, and access control before deploying to any network.\n\n## When to Use This Skill\n\nUse this skill when you need to:\n\n- Scaffold a new Uniswap v4 hook contract from scratch\n- Select the right base hook type for a specific use case (fees, MEV protection, oracles, etc.)\n- Configure hook permissions, utility libraries, shares, and access control\n- Produce the canonical MCP tool call JSON to invoke the OpenZeppelin Contracts Wizard\n- Understand trade-offs between hook configuration options before committing to an implementation\n\n**Prerequisite \u002F companion skill**: `v4-security-foundations` — run it before writing custom logic\nand again before deployment. Hook misconfiguration can drain user funds.\n\n## Hook Type Decision Table\n\nChoose the base hook type that matches your primary goal. If your hook has multiple goals, choose\nthe type that covers the most critical concern and layer additional logic on top.\n\n| Goal                 | Use Hook                   |\n| -------------------- | -------------------------- |\n| Custom swap logic    | `BaseHook`                 |\n| Async\u002Fdelayed swaps  | `BaseAsyncSwap`            |\n| Hook-owned liquidity | `BaseCustomAccounting`     |\n| Custom curve         | `BaseCustomCurve`          |\n| Dynamic LP fees      | `BaseDynamicFee`           |\n| Dynamic swap fees    | `BaseOverrideFee`          |\n| Post-swap fees       | `BaseDynamicAfterFee`      |\n| Fixed hook fees      | `BaseHookFee`              |\n| MEV protection       | `AntiSandwichHook`         |\n| JIT protection       | `LiquidityPenaltyHook`     |\n| Limit orders         | `LimitOrderHook`           |\n| Yield on idle        | `ReHypothecationHook`      |\n| Oracle               | `BaseOracleHook`           |\n| V3-compatible oracle | `OracleHookWithV3Adapters` |\n\n**Selection tips**:\n\n- `BaseHook` is the general-purpose starting point — choose a specialized type only when the\n  built-in logic provides concrete value.\n- `BaseCustomCurve` replaces the entire AMM math; only use it if you are implementing a novel\n  pricing algorithm.\n- `AntiSandwichHook` and `LiquidityPenaltyHook` both address MEV but target different actors\n  (traders vs. JIT LPs). Clarify which attack vector you are mitigating.\n- `OracleHookWithV3Adapters` is appropriate when downstream integrations expect a Uniswap v3\n  `IUniswapV3Pool`-compatible oracle interface.\n\n## Minimal Decision Checklist\n\nBefore calling the MCP tool, confirm all six decisions:\n\n1. **Hook type** — chosen from the decision table above\n2. **Permissions to enable** — only the callbacks your logic actually uses (`beforeSwap`, `afterSwap`, etc.)\n3. **Utility libraries** — `currencySettler`, `safeCast`, `transientStorage` as needed\n4. **Shares** — `false`, `ERC20`, `ERC6909`, or `ERC1155`\n5. **Access control** — `ownable`, `roles`, or `managed`\n6. **Hook inputs** — `blockNumberOffset`, `maxAbsTickDelta` (only for hook types that use them)\n\n## Permission Configuration\n\nAll 14 permission flags with guidance on when to enable each. Start with all flags `false` and\nenable only what your hook logic requires. Every enabled permission increases the hook's attack\nsurface and requires a specific bit to be set in the hook's deployed address (see address encoding\nnote below).\n\n| Permission Flag                   | Enable When                                                                                                     | Risk     |\n| --------------------------------- | --------------------------------------------------------------------------------------------------------------- | -------- |\n| `beforeInitialize`                | You need to validate or restrict pool creation params                                                           | LOW      |\n| `afterInitialize`                 | You need to set up state after a pool is created                                                                | LOW      |\n| `beforeAddLiquidity`              | You need to gate or transform LP deposits                                                                       | MEDIUM   |\n| `afterAddLiquidity`               | You track LP positions or distribute rewards                                                                    | LOW      |\n| `beforeRemoveLiquidity`           | You need lock-up periods or fee-on-exit logic                                                                   | HIGH     |\n| `afterRemoveLiquidity`            | You track position removals for accounting                                                                      | LOW      |\n| `beforeSwap`                      | You modify swap behavior, apply dynamic fees, or block                                                          | HIGH     |\n| `afterSwap`                       | You observe final swap state for oracles or accounting                                                          | MEDIUM   |\n| `beforeDonate`                    | You restrict who may donate to the pool                                                                         | LOW      |\n| `afterDonate`                     | You track donation events                                                                                       | LOW      |\n| `beforeSwapReturnDelta`           | You implement custom AMM curves or JIT liquidity (CRITICAL: NoOp attack vector — see `v4-security-foundations`) | CRITICAL |\n| `afterSwapReturnDelta`            | You extract a hook fee from swap output                                                                         | HIGH     |\n| `afterAddLiquidityReturnDelta`    | You adjust LP token amounts on deposit                                                                          | HIGH     |\n| `afterRemoveLiquidityReturnDelta` | You adjust withdrawal amounts                                                                                   | HIGH     |\n\n**Address encoding note**: Permissions are encoded as bits in the hook contract's deployed address.\nThe address must have the correct bits set at deployment time or the PoolManager will revert. Use\n`HookMiner` (from `v4-periphery`) to mine a salt that produces an address with the correct bit\npattern. Never change permissions after deployment — the address is immutable.\n\n## Utility Library Selection\n\nThree optional utility libraries can be included in the generated hook. Include only what your\nhook logic uses.\n\n| Library            | Include When                                                                                                                                                |\n| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `currencySettler`  | Your hook moves tokens between itself and the PoolManager (e.g., custom accounting, fee collection)                                                         |\n| `safeCast`         | Your hook performs arithmetic that could overflow when casting between integer types                                                                        |\n| `transientStorage` | Your hook needs to pass data between callbacks within a single transaction without persisting to storage (requires EVM Cancun or later, Solidity >= 0.8.24) |\n\n**Guidance**:\n\n- `currencySettler` is almost always needed when `beforeSwapReturnDelta`,\n  `afterSwapReturnDelta`, `afterAddLiquidityReturnDelta`, or `afterRemoveLiquidityReturnDelta`\n  are enabled — it provides `settle` and `take` helpers that implement the correct\n  `sync → transfer → settle` sequence.\n- `transientStorage` is a gas-efficient alternative to storage slots for intra-transaction state.\n  Use it to pass a flag or value from `beforeSwap` to `afterSwap` without paying 20k gas for a\n  cold SSTORE.\n- `safeCast` is advisable whenever you compute amounts derived from `int256`\u002F`uint256` conversions,\n  especially for fee calculations.\n\n## Shares Configuration\n\nThe `shares` option controls whether the generated hook issues a token representing user shares\n(e.g., LP positions in hook-owned liquidity pools).\n\n| Option    | Description                                                                                  | Use When                                                 |\n| --------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------- |\n| `false`   | No share token — hook does not track ownership of deposited assets                           | Simple hooks that do not hold user funds                 |\n| `ERC20`   | Fungible share token — one token represents proportional ownership of all hook-held assets   | Hook-managed liquidity pools with interchangeable shares |\n| `ERC6909` | Multi-token (minimal) — one contract manages many token IDs with lower overhead than ERC1155 | Hook manages multiple distinct asset classes efficiently |\n| `ERC1155` | Multi-token (standard) — full ERC1155 with metadata URI support                              | Hook needs broad wallet and marketplace compatibility    |\n\n**Trade-offs**:\n\n- `false`: smallest bytecode, no share accounting overhead; appropriate for fee hooks and oracles.\n- `ERC20`: simplest fungible share; good DeFi composability (e.g., used as collateral).\n- `ERC6909`: gas-efficient multi-token with a minimal interface; preferred for new protocol designs.\n- `ERC1155`: widest ecosystem support (wallets, explorers, NFT marketplaces); higher gas cost per\n  transfer than ERC6909.\n\n## Access Control Options\n\nThe `access` option shapes the constructor and administrative interface of the generated hook.\n\n| Option    | Constructor Shape                                 | Use When                                                                     |\n| --------- | ------------------------------------------------- | ---------------------------------------------------------------------------- |\n| `ownable` | `constructor(IPoolManager, address initialOwner)` | Single owner controls all admin functions                                    |\n| `roles`   | `constructor(IPoolManager, address admin)`        | Multiple roles with granular permissions (OpenZeppelin AccessControl)        |\n| `managed` | `constructor(IPoolManager, address authority)`    | External authority contract governs permissions (OpenZeppelin AccessManaged) |\n\n**Guidance**:\n\n- `ownable` is the simplest — one address can perform all privileged operations. Suitable for\n  early-stage hooks and personal tools.\n- `roles` adds `ADMIN_ROLE`, `PAUSER_ROLE`, etc. via OpenZeppelin `AccessControl`. Use when\n  different team members need different privileges (e.g., a keeper bot that can update fees but\n  cannot upgrade the contract).\n- `managed` delegates all permission checks to a separate `AccessManager` contract. Use when\n  you need a unified governance layer across multiple contracts or want timelocked admin actions.\n\n> **Note**: Changing the `access` option changes the constructor signature. Update deployment\n> scripts and initialization logic accordingly. When using `ownable`, ensure the `initialOwner`\n> is not the zero address — OpenZeppelin's `Ownable` reverts on zero address since v5.\n\n## Hook Inputs Reference\n\nSome hook types accept numeric configuration inputs that tune behavior. These are passed as the\n`inputs` object in the MCP tool call.\n\n| Input               | Type      | Used By                                    | Description                                                            |\n| ------------------- | --------- | ------------------------------------------ | ---------------------------------------------------------------------- |\n| `blockNumberOffset` | `uint256` | `AntiSandwichHook`, `LiquidityPenaltyHook` | Number of blocks before sandwich\u002FJIT detection window opens            |\n| `maxAbsTickDelta`   | `int24`   | `AntiSandwichHook`                         | Maximum tick movement allowed per block before MEV protection triggers |\n\nFor hook types that do not use these inputs, omit the `inputs` field or pass an empty object `{}`.\nPassing unsupported inputs to the MCP tool will not cause an error but the values will be ignored.\n\n## MCP Tool Call (Canonical)\n\nThe OpenZeppelin Contracts Wizard exposes a `generate_hook` MCP tool. The following is the\ncanonical JSON schema — populate each field according to your decisions from the sections above,\nthen pass this object as the tool's argument.\n\n```json\n{\n  \"hook\": \"BaseHook\",\n  \"name\": \"MyHook\",\n  \"pausable\": false,\n  \"currencySettler\": true,\n  \"safeCast\": true,\n  \"transientStorage\": false,\n  \"shares\": { \"options\": false },\n  \"permissions\": {\n    \"beforeInitialize\": false,\n    \"afterInitialize\": false,\n    \"beforeAddLiquidity\": false,\n    \"beforeRemoveLiquidity\": false,\n    \"afterAddLiquidity\": false,\n    \"afterRemoveLiquidity\": false,\n    \"beforeSwap\": true,\n    \"afterSwap\": false,\n    \"beforeDonate\": false,\n    \"afterDonate\": false,\n    \"beforeSwapReturnDelta\": false,\n    \"afterSwapReturnDelta\": false,\n    \"afterAddLiquidityReturnDelta\": false,\n    \"afterRemoveLiquidityReturnDelta\": false\n  },\n  \"inputs\": {\n    \"blockNumberOffset\": 1,\n    \"maxAbsTickDelta\": 100\n  },\n  \"access\": \"ownable\",\n  \"info\": { \"license\": \"MIT\" }\n}\n```\n\n**Field notes**:\n\n- `hook`: string — one of the 14 hook types from the decision table\n- `name`: string — the Solidity contract name (PascalCase, no spaces)\n- `pausable`: boolean — wraps the hook in OpenZeppelin `Pausable`; adds `pause()`\u002F`unpause()` admin functions\n- `shares.options`: `false` | `\"ERC20\"` | `\"ERC6909\"` | `\"ERC1155\"`\n- `access`: `\"ownable\"` | `\"roles\"` | `\"managed\"`\n- `info.license`: SPDX license identifier — use `\"MIT\"` for open-source hooks\n- `inputs`: omit or pass `{}` for hook types that do not use `blockNumberOffset`\u002F`maxAbsTickDelta`\n\n## Workflow: Gather → Configure → Generate → Secure\n\nFollow these steps in order every time you use this skill.\n\n### Step 1: Gather Requirements\n\nAsk the user (or infer from context):\n\n1. What is the hook's primary goal? (Map to the decision table.)\n2. Which lifecycle events does the hook need to intercept? (Map to permissions.)\n3. Does the hook hold or move user funds? (Determines `currencySettler` and `shares`.)\n4. Who administers the hook? (Single owner, role-based team, or external governance?)\n5. Does the hook need to pass state between callbacks within a single transaction?\n6. Is this for a chain with EVM Cancun support? (Required for `transientStorage`.)\n\n### Step 2: Select Hook Type\n\nUsing the decision table, identify the single best hook type. If the user's goal maps to multiple\ntypes, explain the trade-offs and ask them to confirm. Document the chosen type and the reasoning.\n\n### Step 3: Configure All Six Decisions\n\nWork through the minimal decision checklist:\n\n1. Set `hook` to the chosen type.\n2. Set each permission flag — default `false`, enable only what the logic requires.\n3. Set `currencySettler`, `safeCast`, `transientStorage` based on utility library guidance.\n4. Set `shares.options` based on shares guidance.\n5. Set `access` based on access control guidance.\n6. Set `inputs` only if the hook type uses `blockNumberOffset` or `maxAbsTickDelta`.\n\n### Step 4: Assemble and Call the MCP Tool\n\nConstruct the JSON object from Step 3 and call the OpenZeppelin Contracts Wizard MCP tool with it.\nThe tool returns Solidity source code — it does **not** write files automatically.\n\nAfter receiving the generated code:\n\n1. Display the code to the user.\n2. Explain the key generated sections (constructor, `getHookPermissions`, enabled callbacks).\n3. Note any manual steps required (HookMiner for address mining, deployment script updates for\n   constructor args if `access` is `roles` or `managed`).\n\n### Step 5: Apply Security Foundations\n\n**Always remind the user** — and invoke `v4-security-foundations` — before the code is deployed:\n\n- Verify all enabled callbacks check `msg.sender == address(poolManager)`.\n- Review any enabled `*ReturnDelta` permissions for NoOp attack exposure.\n- Confirm delta accounting sums to zero for every execution path.\n- Run the full pre-deployment audit checklist from `v4-security-foundations`.\n\n## Important Notes\n\n- **Access control changes constructor shape**: Choosing `ownable` adds an `initialOwner` parameter;\n  `roles` adds an `admin` parameter; `managed` adds an `authority` parameter. Update deployment\n  scripts and factory contracts accordingly.\n- **Permissions encode in the hook address**: Each enabled permission flag corresponds to a specific\n  bit in the lower bytes of the hook's deployed address. The PoolManager validates these bits on\n  every callback. Use `HookMiner` from `v4-periphery` to mine a deployment salt that produces a\n  matching address.\n- **MCP returns code only — it does not write files**: The generated Solidity is returned as a\n  string. You must write it to disk yourself (e.g., `packages\u002Fcontracts\u002Fsrc\u002Fhooks\u002FMyHook.sol`).\n\n## Related Skills\n\n- `v4-security-foundations` — **Run this after generation.** Security audit for Uniswap v4 hooks:\n  permission risk matrix, NoOp attack patterns, delta accounting, access control verification,\n  and the full pre-deployment audit checklist. Generated hook code should never be deployed without\n  completing this review.\n- `viem-integration` — Deploy generated hook contracts and interact with them using viem\u002Fwagmi\n- `v4-sdk-integration` — Interact with deployed hooks via the Uniswap v4 SDK\n",{"data":34,"body":39},{"name":4,"description":6,"allowed-tools":35,"model":36,"license":25,"metadata":37},"Read, Glob, Grep, WebFetch, Bash","opus",{"author":8,"version":38},"1.0.0",{"type":40,"children":41},"root",[42,50,56,80,87,92,122,139,145,150,416,426,484,490,495,657,663,675,1005,1031,1037,1042,1112,1121,1233,1239,1252,1363,1372,1415,1421,1433,1533,1541,1605,1648,1654,1667,1769,1789,1795,1808,2627,2636,2805,2811,2816,2823,2828,2880,2886,2891,2897,2902,2999,3005,3017,3022,3068,3074,3091,3135,3141,3237,3243,3284],{"type":43,"tag":44,"props":45,"children":46},"element","h1",{"id":4},[47],{"type":48,"value":49},"text","v4 Hook Generator",{"type":43,"tag":51,"props":52,"children":53},"p",{},[54],{"type":48,"value":55},"Generate Uniswap v4 hook contracts via the OpenZeppelin Contracts Wizard MCP tool. This skill\nguides you through selecting the right hook type, configuring permissions and utilities, assembling\nthe canonical MCP JSON, and invoking the MCP tool to produce ready-to-compile Solidity code.",{"type":43,"tag":57,"props":58,"children":59},"blockquote",{},[60],{"type":43,"tag":51,"props":61,"children":62},{},[63,69,71,78],{"type":43,"tag":64,"props":65,"children":66},"strong",{},[67],{"type":48,"value":68},"Security companion",{"type":48,"value":70},": Generated hook code touches fund-handling contracts. Always apply the\n",{"type":43,"tag":72,"props":73,"children":75},"code",{"className":74},[],[76],{"type":48,"value":77},"v4-security-foundations",{"type":48,"value":79}," skill immediately after generation to audit permissions, delta\naccounting, and access control before deploying to any network.",{"type":43,"tag":81,"props":82,"children":84},"h2",{"id":83},"when-to-use-this-skill",[85],{"type":48,"value":86},"When to Use This Skill",{"type":43,"tag":51,"props":88,"children":89},{},[90],{"type":48,"value":91},"Use this skill when you need to:",{"type":43,"tag":93,"props":94,"children":95},"ul",{},[96,102,107,112,117],{"type":43,"tag":97,"props":98,"children":99},"li",{},[100],{"type":48,"value":101},"Scaffold a new Uniswap v4 hook contract from scratch",{"type":43,"tag":97,"props":103,"children":104},{},[105],{"type":48,"value":106},"Select the right base hook type for a specific use case (fees, MEV protection, oracles, etc.)",{"type":43,"tag":97,"props":108,"children":109},{},[110],{"type":48,"value":111},"Configure hook permissions, utility libraries, shares, and access control",{"type":43,"tag":97,"props":113,"children":114},{},[115],{"type":48,"value":116},"Produce the canonical MCP tool call JSON to invoke the OpenZeppelin Contracts Wizard",{"type":43,"tag":97,"props":118,"children":119},{},[120],{"type":48,"value":121},"Understand trade-offs between hook configuration options before committing to an implementation",{"type":43,"tag":51,"props":123,"children":124},{},[125,130,132,137],{"type":43,"tag":64,"props":126,"children":127},{},[128],{"type":48,"value":129},"Prerequisite \u002F companion skill",{"type":48,"value":131},": ",{"type":43,"tag":72,"props":133,"children":135},{"className":134},[],[136],{"type":48,"value":77},{"type":48,"value":138}," — run it before writing custom logic\nand again before deployment. Hook misconfiguration can drain user funds.",{"type":43,"tag":81,"props":140,"children":142},{"id":141},"hook-type-decision-table",[143],{"type":48,"value":144},"Hook Type Decision Table",{"type":43,"tag":51,"props":146,"children":147},{},[148],{"type":48,"value":149},"Choose the base hook type that matches your primary goal. If your hook has multiple goals, choose\nthe type that covers the most critical concern and layer additional logic on top.",{"type":43,"tag":151,"props":152,"children":153},"table",{},[154,173],{"type":43,"tag":155,"props":156,"children":157},"thead",{},[158],{"type":43,"tag":159,"props":160,"children":161},"tr",{},[162,168],{"type":43,"tag":163,"props":164,"children":165},"th",{},[166],{"type":48,"value":167},"Goal",{"type":43,"tag":163,"props":169,"children":170},{},[171],{"type":48,"value":172},"Use Hook",{"type":43,"tag":174,"props":175,"children":176},"tbody",{},[177,195,212,229,246,263,280,297,314,331,348,365,382,399],{"type":43,"tag":159,"props":178,"children":179},{},[180,186],{"type":43,"tag":181,"props":182,"children":183},"td",{},[184],{"type":48,"value":185},"Custom swap logic",{"type":43,"tag":181,"props":187,"children":188},{},[189],{"type":43,"tag":72,"props":190,"children":192},{"className":191},[],[193],{"type":48,"value":194},"BaseHook",{"type":43,"tag":159,"props":196,"children":197},{},[198,203],{"type":43,"tag":181,"props":199,"children":200},{},[201],{"type":48,"value":202},"Async\u002Fdelayed swaps",{"type":43,"tag":181,"props":204,"children":205},{},[206],{"type":43,"tag":72,"props":207,"children":209},{"className":208},[],[210],{"type":48,"value":211},"BaseAsyncSwap",{"type":43,"tag":159,"props":213,"children":214},{},[215,220],{"type":43,"tag":181,"props":216,"children":217},{},[218],{"type":48,"value":219},"Hook-owned liquidity",{"type":43,"tag":181,"props":221,"children":222},{},[223],{"type":43,"tag":72,"props":224,"children":226},{"className":225},[],[227],{"type":48,"value":228},"BaseCustomAccounting",{"type":43,"tag":159,"props":230,"children":231},{},[232,237],{"type":43,"tag":181,"props":233,"children":234},{},[235],{"type":48,"value":236},"Custom curve",{"type":43,"tag":181,"props":238,"children":239},{},[240],{"type":43,"tag":72,"props":241,"children":243},{"className":242},[],[244],{"type":48,"value":245},"BaseCustomCurve",{"type":43,"tag":159,"props":247,"children":248},{},[249,254],{"type":43,"tag":181,"props":250,"children":251},{},[252],{"type":48,"value":253},"Dynamic LP fees",{"type":43,"tag":181,"props":255,"children":256},{},[257],{"type":43,"tag":72,"props":258,"children":260},{"className":259},[],[261],{"type":48,"value":262},"BaseDynamicFee",{"type":43,"tag":159,"props":264,"children":265},{},[266,271],{"type":43,"tag":181,"props":267,"children":268},{},[269],{"type":48,"value":270},"Dynamic swap fees",{"type":43,"tag":181,"props":272,"children":273},{},[274],{"type":43,"tag":72,"props":275,"children":277},{"className":276},[],[278],{"type":48,"value":279},"BaseOverrideFee",{"type":43,"tag":159,"props":281,"children":282},{},[283,288],{"type":43,"tag":181,"props":284,"children":285},{},[286],{"type":48,"value":287},"Post-swap fees",{"type":43,"tag":181,"props":289,"children":290},{},[291],{"type":43,"tag":72,"props":292,"children":294},{"className":293},[],[295],{"type":48,"value":296},"BaseDynamicAfterFee",{"type":43,"tag":159,"props":298,"children":299},{},[300,305],{"type":43,"tag":181,"props":301,"children":302},{},[303],{"type":48,"value":304},"Fixed hook fees",{"type":43,"tag":181,"props":306,"children":307},{},[308],{"type":43,"tag":72,"props":309,"children":311},{"className":310},[],[312],{"type":48,"value":313},"BaseHookFee",{"type":43,"tag":159,"props":315,"children":316},{},[317,322],{"type":43,"tag":181,"props":318,"children":319},{},[320],{"type":48,"value":321},"MEV protection",{"type":43,"tag":181,"props":323,"children":324},{},[325],{"type":43,"tag":72,"props":326,"children":328},{"className":327},[],[329],{"type":48,"value":330},"AntiSandwichHook",{"type":43,"tag":159,"props":332,"children":333},{},[334,339],{"type":43,"tag":181,"props":335,"children":336},{},[337],{"type":48,"value":338},"JIT protection",{"type":43,"tag":181,"props":340,"children":341},{},[342],{"type":43,"tag":72,"props":343,"children":345},{"className":344},[],[346],{"type":48,"value":347},"LiquidityPenaltyHook",{"type":43,"tag":159,"props":349,"children":350},{},[351,356],{"type":43,"tag":181,"props":352,"children":353},{},[354],{"type":48,"value":355},"Limit orders",{"type":43,"tag":181,"props":357,"children":358},{},[359],{"type":43,"tag":72,"props":360,"children":362},{"className":361},[],[363],{"type":48,"value":364},"LimitOrderHook",{"type":43,"tag":159,"props":366,"children":367},{},[368,373],{"type":43,"tag":181,"props":369,"children":370},{},[371],{"type":48,"value":372},"Yield on idle",{"type":43,"tag":181,"props":374,"children":375},{},[376],{"type":43,"tag":72,"props":377,"children":379},{"className":378},[],[380],{"type":48,"value":381},"ReHypothecationHook",{"type":43,"tag":159,"props":383,"children":384},{},[385,390],{"type":43,"tag":181,"props":386,"children":387},{},[388],{"type":48,"value":389},"Oracle",{"type":43,"tag":181,"props":391,"children":392},{},[393],{"type":43,"tag":72,"props":394,"children":396},{"className":395},[],[397],{"type":48,"value":398},"BaseOracleHook",{"type":43,"tag":159,"props":400,"children":401},{},[402,407],{"type":43,"tag":181,"props":403,"children":404},{},[405],{"type":48,"value":406},"V3-compatible oracle",{"type":43,"tag":181,"props":408,"children":409},{},[410],{"type":43,"tag":72,"props":411,"children":413},{"className":412},[],[414],{"type":48,"value":415},"OracleHookWithV3Adapters",{"type":43,"tag":51,"props":417,"children":418},{},[419,424],{"type":43,"tag":64,"props":420,"children":421},{},[422],{"type":48,"value":423},"Selection tips",{"type":48,"value":425},":",{"type":43,"tag":93,"props":427,"children":428},{},[429,439,449,466],{"type":43,"tag":97,"props":430,"children":431},{},[432,437],{"type":43,"tag":72,"props":433,"children":435},{"className":434},[],[436],{"type":48,"value":194},{"type":48,"value":438}," is the general-purpose starting point — choose a specialized type only when the\nbuilt-in logic provides concrete value.",{"type":43,"tag":97,"props":440,"children":441},{},[442,447],{"type":43,"tag":72,"props":443,"children":445},{"className":444},[],[446],{"type":48,"value":245},{"type":48,"value":448}," replaces the entire AMM math; only use it if you are implementing a novel\npricing algorithm.",{"type":43,"tag":97,"props":450,"children":451},{},[452,457,459,464],{"type":43,"tag":72,"props":453,"children":455},{"className":454},[],[456],{"type":48,"value":330},{"type":48,"value":458}," and ",{"type":43,"tag":72,"props":460,"children":462},{"className":461},[],[463],{"type":48,"value":347},{"type":48,"value":465}," both address MEV but target different actors\n(traders vs. JIT LPs). Clarify which attack vector you are mitigating.",{"type":43,"tag":97,"props":467,"children":468},{},[469,474,476,482],{"type":43,"tag":72,"props":470,"children":472},{"className":471},[],[473],{"type":48,"value":415},{"type":48,"value":475}," is appropriate when downstream integrations expect a Uniswap v3\n",{"type":43,"tag":72,"props":477,"children":479},{"className":478},[],[480],{"type":48,"value":481},"IUniswapV3Pool",{"type":48,"value":483},"-compatible oracle interface.",{"type":43,"tag":81,"props":485,"children":487},{"id":486},"minimal-decision-checklist",[488],{"type":48,"value":489},"Minimal Decision Checklist",{"type":43,"tag":51,"props":491,"children":492},{},[493],{"type":48,"value":494},"Before calling the MCP tool, confirm all six decisions:",{"type":43,"tag":496,"props":497,"children":498},"ol",{},[499,509,535,567,604,633],{"type":43,"tag":97,"props":500,"children":501},{},[502,507],{"type":43,"tag":64,"props":503,"children":504},{},[505],{"type":48,"value":506},"Hook type",{"type":48,"value":508}," — chosen from the decision table above",{"type":43,"tag":97,"props":510,"children":511},{},[512,517,519,525,527,533],{"type":43,"tag":64,"props":513,"children":514},{},[515],{"type":48,"value":516},"Permissions to enable",{"type":48,"value":518}," — only the callbacks your logic actually uses (",{"type":43,"tag":72,"props":520,"children":522},{"className":521},[],[523],{"type":48,"value":524},"beforeSwap",{"type":48,"value":526},", ",{"type":43,"tag":72,"props":528,"children":530},{"className":529},[],[531],{"type":48,"value":532},"afterSwap",{"type":48,"value":534},", etc.)",{"type":43,"tag":97,"props":536,"children":537},{},[538,543,545,551,552,558,559,565],{"type":43,"tag":64,"props":539,"children":540},{},[541],{"type":48,"value":542},"Utility libraries",{"type":48,"value":544}," — ",{"type":43,"tag":72,"props":546,"children":548},{"className":547},[],[549],{"type":48,"value":550},"currencySettler",{"type":48,"value":526},{"type":43,"tag":72,"props":553,"children":555},{"className":554},[],[556],{"type":48,"value":557},"safeCast",{"type":48,"value":526},{"type":43,"tag":72,"props":560,"children":562},{"className":561},[],[563],{"type":48,"value":564},"transientStorage",{"type":48,"value":566}," as needed",{"type":43,"tag":97,"props":568,"children":569},{},[570,575,576,582,583,589,590,596,598],{"type":43,"tag":64,"props":571,"children":572},{},[573],{"type":48,"value":574},"Shares",{"type":48,"value":544},{"type":43,"tag":72,"props":577,"children":579},{"className":578},[],[580],{"type":48,"value":581},"false",{"type":48,"value":526},{"type":43,"tag":72,"props":584,"children":586},{"className":585},[],[587],{"type":48,"value":588},"ERC20",{"type":48,"value":526},{"type":43,"tag":72,"props":591,"children":593},{"className":592},[],[594],{"type":48,"value":595},"ERC6909",{"type":48,"value":597},", or ",{"type":43,"tag":72,"props":599,"children":601},{"className":600},[],[602],{"type":48,"value":603},"ERC1155",{"type":43,"tag":97,"props":605,"children":606},{},[607,612,613,619,620,626,627],{"type":43,"tag":64,"props":608,"children":609},{},[610],{"type":48,"value":611},"Access control",{"type":48,"value":544},{"type":43,"tag":72,"props":614,"children":616},{"className":615},[],[617],{"type":48,"value":618},"ownable",{"type":48,"value":526},{"type":43,"tag":72,"props":621,"children":623},{"className":622},[],[624],{"type":48,"value":625},"roles",{"type":48,"value":597},{"type":43,"tag":72,"props":628,"children":630},{"className":629},[],[631],{"type":48,"value":632},"managed",{"type":43,"tag":97,"props":634,"children":635},{},[636,641,642,648,649,655],{"type":43,"tag":64,"props":637,"children":638},{},[639],{"type":48,"value":640},"Hook inputs",{"type":48,"value":544},{"type":43,"tag":72,"props":643,"children":645},{"className":644},[],[646],{"type":48,"value":647},"blockNumberOffset",{"type":48,"value":526},{"type":43,"tag":72,"props":650,"children":652},{"className":651},[],[653],{"type":48,"value":654},"maxAbsTickDelta",{"type":48,"value":656}," (only for hook types that use them)",{"type":43,"tag":81,"props":658,"children":660},{"id":659},"permission-configuration",[661],{"type":48,"value":662},"Permission Configuration",{"type":43,"tag":51,"props":664,"children":665},{},[666,668,673],{"type":48,"value":667},"All 14 permission flags with guidance on when to enable each. Start with all flags ",{"type":43,"tag":72,"props":669,"children":671},{"className":670},[],[672],{"type":48,"value":581},{"type":48,"value":674}," and\nenable only what your hook logic requires. Every enabled permission increases the hook's attack\nsurface and requires a specific bit to be set in the hook's deployed address (see address encoding\nnote below).",{"type":43,"tag":151,"props":676,"children":677},{},[678,699],{"type":43,"tag":155,"props":679,"children":680},{},[681],{"type":43,"tag":159,"props":682,"children":683},{},[684,689,694],{"type":43,"tag":163,"props":685,"children":686},{},[687],{"type":48,"value":688},"Permission Flag",{"type":43,"tag":163,"props":690,"children":691},{},[692],{"type":48,"value":693},"Enable When",{"type":43,"tag":163,"props":695,"children":696},{},[697],{"type":48,"value":698},"Risk",{"type":43,"tag":174,"props":700,"children":701},{},[702,724,745,767,788,810,831,851,871,892,913,942,963,984],{"type":43,"tag":159,"props":703,"children":704},{},[705,714,719],{"type":43,"tag":181,"props":706,"children":707},{},[708],{"type":43,"tag":72,"props":709,"children":711},{"className":710},[],[712],{"type":48,"value":713},"beforeInitialize",{"type":43,"tag":181,"props":715,"children":716},{},[717],{"type":48,"value":718},"You need to validate or restrict pool creation params",{"type":43,"tag":181,"props":720,"children":721},{},[722],{"type":48,"value":723},"LOW",{"type":43,"tag":159,"props":725,"children":726},{},[727,736,741],{"type":43,"tag":181,"props":728,"children":729},{},[730],{"type":43,"tag":72,"props":731,"children":733},{"className":732},[],[734],{"type":48,"value":735},"afterInitialize",{"type":43,"tag":181,"props":737,"children":738},{},[739],{"type":48,"value":740},"You need to set up state after a pool is created",{"type":43,"tag":181,"props":742,"children":743},{},[744],{"type":48,"value":723},{"type":43,"tag":159,"props":746,"children":747},{},[748,757,762],{"type":43,"tag":181,"props":749,"children":750},{},[751],{"type":43,"tag":72,"props":752,"children":754},{"className":753},[],[755],{"type":48,"value":756},"beforeAddLiquidity",{"type":43,"tag":181,"props":758,"children":759},{},[760],{"type":48,"value":761},"You need to gate or transform LP deposits",{"type":43,"tag":181,"props":763,"children":764},{},[765],{"type":48,"value":766},"MEDIUM",{"type":43,"tag":159,"props":768,"children":769},{},[770,779,784],{"type":43,"tag":181,"props":771,"children":772},{},[773],{"type":43,"tag":72,"props":774,"children":776},{"className":775},[],[777],{"type":48,"value":778},"afterAddLiquidity",{"type":43,"tag":181,"props":780,"children":781},{},[782],{"type":48,"value":783},"You track LP positions or distribute rewards",{"type":43,"tag":181,"props":785,"children":786},{},[787],{"type":48,"value":723},{"type":43,"tag":159,"props":789,"children":790},{},[791,800,805],{"type":43,"tag":181,"props":792,"children":793},{},[794],{"type":43,"tag":72,"props":795,"children":797},{"className":796},[],[798],{"type":48,"value":799},"beforeRemoveLiquidity",{"type":43,"tag":181,"props":801,"children":802},{},[803],{"type":48,"value":804},"You need lock-up periods or fee-on-exit logic",{"type":43,"tag":181,"props":806,"children":807},{},[808],{"type":48,"value":809},"HIGH",{"type":43,"tag":159,"props":811,"children":812},{},[813,822,827],{"type":43,"tag":181,"props":814,"children":815},{},[816],{"type":43,"tag":72,"props":817,"children":819},{"className":818},[],[820],{"type":48,"value":821},"afterRemoveLiquidity",{"type":43,"tag":181,"props":823,"children":824},{},[825],{"type":48,"value":826},"You track position removals for accounting",{"type":43,"tag":181,"props":828,"children":829},{},[830],{"type":48,"value":723},{"type":43,"tag":159,"props":832,"children":833},{},[834,842,847],{"type":43,"tag":181,"props":835,"children":836},{},[837],{"type":43,"tag":72,"props":838,"children":840},{"className":839},[],[841],{"type":48,"value":524},{"type":43,"tag":181,"props":843,"children":844},{},[845],{"type":48,"value":846},"You modify swap behavior, apply dynamic fees, or block",{"type":43,"tag":181,"props":848,"children":849},{},[850],{"type":48,"value":809},{"type":43,"tag":159,"props":852,"children":853},{},[854,862,867],{"type":43,"tag":181,"props":855,"children":856},{},[857],{"type":43,"tag":72,"props":858,"children":860},{"className":859},[],[861],{"type":48,"value":532},{"type":43,"tag":181,"props":863,"children":864},{},[865],{"type":48,"value":866},"You observe final swap state for oracles or accounting",{"type":43,"tag":181,"props":868,"children":869},{},[870],{"type":48,"value":766},{"type":43,"tag":159,"props":872,"children":873},{},[874,883,888],{"type":43,"tag":181,"props":875,"children":876},{},[877],{"type":43,"tag":72,"props":878,"children":880},{"className":879},[],[881],{"type":48,"value":882},"beforeDonate",{"type":43,"tag":181,"props":884,"children":885},{},[886],{"type":48,"value":887},"You restrict who may donate to the pool",{"type":43,"tag":181,"props":889,"children":890},{},[891],{"type":48,"value":723},{"type":43,"tag":159,"props":893,"children":894},{},[895,904,909],{"type":43,"tag":181,"props":896,"children":897},{},[898],{"type":43,"tag":72,"props":899,"children":901},{"className":900},[],[902],{"type":48,"value":903},"afterDonate",{"type":43,"tag":181,"props":905,"children":906},{},[907],{"type":48,"value":908},"You track donation events",{"type":43,"tag":181,"props":910,"children":911},{},[912],{"type":48,"value":723},{"type":43,"tag":159,"props":914,"children":915},{},[916,925,937],{"type":43,"tag":181,"props":917,"children":918},{},[919],{"type":43,"tag":72,"props":920,"children":922},{"className":921},[],[923],{"type":48,"value":924},"beforeSwapReturnDelta",{"type":43,"tag":181,"props":926,"children":927},{},[928,930,935],{"type":48,"value":929},"You implement custom AMM curves or JIT liquidity (CRITICAL: NoOp attack vector — see ",{"type":43,"tag":72,"props":931,"children":933},{"className":932},[],[934],{"type":48,"value":77},{"type":48,"value":936},")",{"type":43,"tag":181,"props":938,"children":939},{},[940],{"type":48,"value":941},"CRITICAL",{"type":43,"tag":159,"props":943,"children":944},{},[945,954,959],{"type":43,"tag":181,"props":946,"children":947},{},[948],{"type":43,"tag":72,"props":949,"children":951},{"className":950},[],[952],{"type":48,"value":953},"afterSwapReturnDelta",{"type":43,"tag":181,"props":955,"children":956},{},[957],{"type":48,"value":958},"You extract a hook fee from swap output",{"type":43,"tag":181,"props":960,"children":961},{},[962],{"type":48,"value":809},{"type":43,"tag":159,"props":964,"children":965},{},[966,975,980],{"type":43,"tag":181,"props":967,"children":968},{},[969],{"type":43,"tag":72,"props":970,"children":972},{"className":971},[],[973],{"type":48,"value":974},"afterAddLiquidityReturnDelta",{"type":43,"tag":181,"props":976,"children":977},{},[978],{"type":48,"value":979},"You adjust LP token amounts on deposit",{"type":43,"tag":181,"props":981,"children":982},{},[983],{"type":48,"value":809},{"type":43,"tag":159,"props":985,"children":986},{},[987,996,1001],{"type":43,"tag":181,"props":988,"children":989},{},[990],{"type":43,"tag":72,"props":991,"children":993},{"className":992},[],[994],{"type":48,"value":995},"afterRemoveLiquidityReturnDelta",{"type":43,"tag":181,"props":997,"children":998},{},[999],{"type":48,"value":1000},"You adjust withdrawal amounts",{"type":43,"tag":181,"props":1002,"children":1003},{},[1004],{"type":48,"value":809},{"type":43,"tag":51,"props":1006,"children":1007},{},[1008,1013,1015,1021,1023,1029],{"type":43,"tag":64,"props":1009,"children":1010},{},[1011],{"type":48,"value":1012},"Address encoding note",{"type":48,"value":1014},": Permissions are encoded as bits in the hook contract's deployed address.\nThe address must have the correct bits set at deployment time or the PoolManager will revert. Use\n",{"type":43,"tag":72,"props":1016,"children":1018},{"className":1017},[],[1019],{"type":48,"value":1020},"HookMiner",{"type":48,"value":1022}," (from ",{"type":43,"tag":72,"props":1024,"children":1026},{"className":1025},[],[1027],{"type":48,"value":1028},"v4-periphery",{"type":48,"value":1030},") to mine a salt that produces an address with the correct bit\npattern. Never change permissions after deployment — the address is immutable.",{"type":43,"tag":81,"props":1032,"children":1034},{"id":1033},"utility-library-selection",[1035],{"type":48,"value":1036},"Utility Library Selection",{"type":43,"tag":51,"props":1038,"children":1039},{},[1040],{"type":48,"value":1041},"Three optional utility libraries can be included in the generated hook. Include only what your\nhook logic uses.",{"type":43,"tag":151,"props":1043,"children":1044},{},[1045,1061],{"type":43,"tag":155,"props":1046,"children":1047},{},[1048],{"type":43,"tag":159,"props":1049,"children":1050},{},[1051,1056],{"type":43,"tag":163,"props":1052,"children":1053},{},[1054],{"type":48,"value":1055},"Library",{"type":43,"tag":163,"props":1057,"children":1058},{},[1059],{"type":48,"value":1060},"Include When",{"type":43,"tag":174,"props":1062,"children":1063},{},[1064,1080,1096],{"type":43,"tag":159,"props":1065,"children":1066},{},[1067,1075],{"type":43,"tag":181,"props":1068,"children":1069},{},[1070],{"type":43,"tag":72,"props":1071,"children":1073},{"className":1072},[],[1074],{"type":48,"value":550},{"type":43,"tag":181,"props":1076,"children":1077},{},[1078],{"type":48,"value":1079},"Your hook moves tokens between itself and the PoolManager (e.g., custom accounting, fee collection)",{"type":43,"tag":159,"props":1081,"children":1082},{},[1083,1091],{"type":43,"tag":181,"props":1084,"children":1085},{},[1086],{"type":43,"tag":72,"props":1087,"children":1089},{"className":1088},[],[1090],{"type":48,"value":557},{"type":43,"tag":181,"props":1092,"children":1093},{},[1094],{"type":48,"value":1095},"Your hook performs arithmetic that could overflow when casting between integer types",{"type":43,"tag":159,"props":1097,"children":1098},{},[1099,1107],{"type":43,"tag":181,"props":1100,"children":1101},{},[1102],{"type":43,"tag":72,"props":1103,"children":1105},{"className":1104},[],[1106],{"type":48,"value":564},{"type":43,"tag":181,"props":1108,"children":1109},{},[1110],{"type":48,"value":1111},"Your hook needs to pass data between callbacks within a single transaction without persisting to storage (requires EVM Cancun or later, Solidity >= 0.8.24)",{"type":43,"tag":51,"props":1113,"children":1114},{},[1115,1120],{"type":43,"tag":64,"props":1116,"children":1117},{},[1118],{"type":48,"value":1119},"Guidance",{"type":48,"value":425},{"type":43,"tag":93,"props":1122,"children":1123},{},[1124,1183,1207],{"type":43,"tag":97,"props":1125,"children":1126},{},[1127,1132,1134,1139,1141,1146,1147,1152,1153,1158,1160,1166,1167,1173,1175,1181],{"type":43,"tag":72,"props":1128,"children":1130},{"className":1129},[],[1131],{"type":48,"value":550},{"type":48,"value":1133}," is almost always needed when ",{"type":43,"tag":72,"props":1135,"children":1137},{"className":1136},[],[1138],{"type":48,"value":924},{"type":48,"value":1140},",\n",{"type":43,"tag":72,"props":1142,"children":1144},{"className":1143},[],[1145],{"type":48,"value":953},{"type":48,"value":526},{"type":43,"tag":72,"props":1148,"children":1150},{"className":1149},[],[1151],{"type":48,"value":974},{"type":48,"value":597},{"type":43,"tag":72,"props":1154,"children":1156},{"className":1155},[],[1157],{"type":48,"value":995},{"type":48,"value":1159},"\nare enabled — it provides ",{"type":43,"tag":72,"props":1161,"children":1163},{"className":1162},[],[1164],{"type":48,"value":1165},"settle",{"type":48,"value":458},{"type":43,"tag":72,"props":1168,"children":1170},{"className":1169},[],[1171],{"type":48,"value":1172},"take",{"type":48,"value":1174}," helpers that implement the correct\n",{"type":43,"tag":72,"props":1176,"children":1178},{"className":1177},[],[1179],{"type":48,"value":1180},"sync → transfer → settle",{"type":48,"value":1182}," sequence.",{"type":43,"tag":97,"props":1184,"children":1185},{},[1186,1191,1193,1198,1200,1205],{"type":43,"tag":72,"props":1187,"children":1189},{"className":1188},[],[1190],{"type":48,"value":564},{"type":48,"value":1192}," is a gas-efficient alternative to storage slots for intra-transaction state.\nUse it to pass a flag or value from ",{"type":43,"tag":72,"props":1194,"children":1196},{"className":1195},[],[1197],{"type":48,"value":524},{"type":48,"value":1199}," to ",{"type":43,"tag":72,"props":1201,"children":1203},{"className":1202},[],[1204],{"type":48,"value":532},{"type":48,"value":1206}," without paying 20k gas for a\ncold SSTORE.",{"type":43,"tag":97,"props":1208,"children":1209},{},[1210,1215,1217,1223,1225,1231],{"type":43,"tag":72,"props":1211,"children":1213},{"className":1212},[],[1214],{"type":48,"value":557},{"type":48,"value":1216}," is advisable whenever you compute amounts derived from ",{"type":43,"tag":72,"props":1218,"children":1220},{"className":1219},[],[1221],{"type":48,"value":1222},"int256",{"type":48,"value":1224},"\u002F",{"type":43,"tag":72,"props":1226,"children":1228},{"className":1227},[],[1229],{"type":48,"value":1230},"uint256",{"type":48,"value":1232}," conversions,\nespecially for fee calculations.",{"type":43,"tag":81,"props":1234,"children":1236},{"id":1235},"shares-configuration",[1237],{"type":48,"value":1238},"Shares Configuration",{"type":43,"tag":51,"props":1240,"children":1241},{},[1242,1244,1250],{"type":48,"value":1243},"The ",{"type":43,"tag":72,"props":1245,"children":1247},{"className":1246},[],[1248],{"type":48,"value":1249},"shares",{"type":48,"value":1251}," option controls whether the generated hook issues a token representing user shares\n(e.g., LP positions in hook-owned liquidity pools).",{"type":43,"tag":151,"props":1253,"children":1254},{},[1255,1276],{"type":43,"tag":155,"props":1256,"children":1257},{},[1258],{"type":43,"tag":159,"props":1259,"children":1260},{},[1261,1266,1271],{"type":43,"tag":163,"props":1262,"children":1263},{},[1264],{"type":48,"value":1265},"Option",{"type":43,"tag":163,"props":1267,"children":1268},{},[1269],{"type":48,"value":1270},"Description",{"type":43,"tag":163,"props":1272,"children":1273},{},[1274],{"type":48,"value":1275},"Use When",{"type":43,"tag":174,"props":1277,"children":1278},{},[1279,1300,1321,1342],{"type":43,"tag":159,"props":1280,"children":1281},{},[1282,1290,1295],{"type":43,"tag":181,"props":1283,"children":1284},{},[1285],{"type":43,"tag":72,"props":1286,"children":1288},{"className":1287},[],[1289],{"type":48,"value":581},{"type":43,"tag":181,"props":1291,"children":1292},{},[1293],{"type":48,"value":1294},"No share token — hook does not track ownership of deposited assets",{"type":43,"tag":181,"props":1296,"children":1297},{},[1298],{"type":48,"value":1299},"Simple hooks that do not hold user funds",{"type":43,"tag":159,"props":1301,"children":1302},{},[1303,1311,1316],{"type":43,"tag":181,"props":1304,"children":1305},{},[1306],{"type":43,"tag":72,"props":1307,"children":1309},{"className":1308},[],[1310],{"type":48,"value":588},{"type":43,"tag":181,"props":1312,"children":1313},{},[1314],{"type":48,"value":1315},"Fungible share token — one token represents proportional ownership of all hook-held assets",{"type":43,"tag":181,"props":1317,"children":1318},{},[1319],{"type":48,"value":1320},"Hook-managed liquidity pools with interchangeable shares",{"type":43,"tag":159,"props":1322,"children":1323},{},[1324,1332,1337],{"type":43,"tag":181,"props":1325,"children":1326},{},[1327],{"type":43,"tag":72,"props":1328,"children":1330},{"className":1329},[],[1331],{"type":48,"value":595},{"type":43,"tag":181,"props":1333,"children":1334},{},[1335],{"type":48,"value":1336},"Multi-token (minimal) — one contract manages many token IDs with lower overhead than ERC1155",{"type":43,"tag":181,"props":1338,"children":1339},{},[1340],{"type":48,"value":1341},"Hook manages multiple distinct asset classes efficiently",{"type":43,"tag":159,"props":1343,"children":1344},{},[1345,1353,1358],{"type":43,"tag":181,"props":1346,"children":1347},{},[1348],{"type":43,"tag":72,"props":1349,"children":1351},{"className":1350},[],[1352],{"type":48,"value":603},{"type":43,"tag":181,"props":1354,"children":1355},{},[1356],{"type":48,"value":1357},"Multi-token (standard) — full ERC1155 with metadata URI support",{"type":43,"tag":181,"props":1359,"children":1360},{},[1361],{"type":48,"value":1362},"Hook needs broad wallet and marketplace compatibility",{"type":43,"tag":51,"props":1364,"children":1365},{},[1366,1371],{"type":43,"tag":64,"props":1367,"children":1368},{},[1369],{"type":48,"value":1370},"Trade-offs",{"type":48,"value":425},{"type":43,"tag":93,"props":1373,"children":1374},{},[1375,1385,1395,1405],{"type":43,"tag":97,"props":1376,"children":1377},{},[1378,1383],{"type":43,"tag":72,"props":1379,"children":1381},{"className":1380},[],[1382],{"type":48,"value":581},{"type":48,"value":1384},": smallest bytecode, no share accounting overhead; appropriate for fee hooks and oracles.",{"type":43,"tag":97,"props":1386,"children":1387},{},[1388,1393],{"type":43,"tag":72,"props":1389,"children":1391},{"className":1390},[],[1392],{"type":48,"value":588},{"type":48,"value":1394},": simplest fungible share; good DeFi composability (e.g., used as collateral).",{"type":43,"tag":97,"props":1396,"children":1397},{},[1398,1403],{"type":43,"tag":72,"props":1399,"children":1401},{"className":1400},[],[1402],{"type":48,"value":595},{"type":48,"value":1404},": gas-efficient multi-token with a minimal interface; preferred for new protocol designs.",{"type":43,"tag":97,"props":1406,"children":1407},{},[1408,1413],{"type":43,"tag":72,"props":1409,"children":1411},{"className":1410},[],[1412],{"type":48,"value":603},{"type":48,"value":1414},": widest ecosystem support (wallets, explorers, NFT marketplaces); higher gas cost per\ntransfer than ERC6909.",{"type":43,"tag":81,"props":1416,"children":1418},{"id":1417},"access-control-options",[1419],{"type":48,"value":1420},"Access Control Options",{"type":43,"tag":51,"props":1422,"children":1423},{},[1424,1425,1431],{"type":48,"value":1243},{"type":43,"tag":72,"props":1426,"children":1428},{"className":1427},[],[1429],{"type":48,"value":1430},"access",{"type":48,"value":1432}," option shapes the constructor and administrative interface of the generated hook.",{"type":43,"tag":151,"props":1434,"children":1435},{},[1436,1455],{"type":43,"tag":155,"props":1437,"children":1438},{},[1439],{"type":43,"tag":159,"props":1440,"children":1441},{},[1442,1446,1451],{"type":43,"tag":163,"props":1443,"children":1444},{},[1445],{"type":48,"value":1265},{"type":43,"tag":163,"props":1447,"children":1448},{},[1449],{"type":48,"value":1450},"Constructor Shape",{"type":43,"tag":163,"props":1452,"children":1453},{},[1454],{"type":48,"value":1275},{"type":43,"tag":174,"props":1456,"children":1457},{},[1458,1483,1508],{"type":43,"tag":159,"props":1459,"children":1460},{},[1461,1469,1478],{"type":43,"tag":181,"props":1462,"children":1463},{},[1464],{"type":43,"tag":72,"props":1465,"children":1467},{"className":1466},[],[1468],{"type":48,"value":618},{"type":43,"tag":181,"props":1470,"children":1471},{},[1472],{"type":43,"tag":72,"props":1473,"children":1475},{"className":1474},[],[1476],{"type":48,"value":1477},"constructor(IPoolManager, address initialOwner)",{"type":43,"tag":181,"props":1479,"children":1480},{},[1481],{"type":48,"value":1482},"Single owner controls all admin functions",{"type":43,"tag":159,"props":1484,"children":1485},{},[1486,1494,1503],{"type":43,"tag":181,"props":1487,"children":1488},{},[1489],{"type":43,"tag":72,"props":1490,"children":1492},{"className":1491},[],[1493],{"type":48,"value":625},{"type":43,"tag":181,"props":1495,"children":1496},{},[1497],{"type":43,"tag":72,"props":1498,"children":1500},{"className":1499},[],[1501],{"type":48,"value":1502},"constructor(IPoolManager, address admin)",{"type":43,"tag":181,"props":1504,"children":1505},{},[1506],{"type":48,"value":1507},"Multiple roles with granular permissions (OpenZeppelin AccessControl)",{"type":43,"tag":159,"props":1509,"children":1510},{},[1511,1519,1528],{"type":43,"tag":181,"props":1512,"children":1513},{},[1514],{"type":43,"tag":72,"props":1515,"children":1517},{"className":1516},[],[1518],{"type":48,"value":632},{"type":43,"tag":181,"props":1520,"children":1521},{},[1522],{"type":43,"tag":72,"props":1523,"children":1525},{"className":1524},[],[1526],{"type":48,"value":1527},"constructor(IPoolManager, address authority)",{"type":43,"tag":181,"props":1529,"children":1530},{},[1531],{"type":48,"value":1532},"External authority contract governs permissions (OpenZeppelin AccessManaged)",{"type":43,"tag":51,"props":1534,"children":1535},{},[1536,1540],{"type":43,"tag":64,"props":1537,"children":1538},{},[1539],{"type":48,"value":1119},{"type":48,"value":425},{"type":43,"tag":93,"props":1542,"children":1543},{},[1544,1554,1587],{"type":43,"tag":97,"props":1545,"children":1546},{},[1547,1552],{"type":43,"tag":72,"props":1548,"children":1550},{"className":1549},[],[1551],{"type":48,"value":618},{"type":48,"value":1553}," is the simplest — one address can perform all privileged operations. Suitable for\nearly-stage hooks and personal tools.",{"type":43,"tag":97,"props":1555,"children":1556},{},[1557,1562,1564,1570,1571,1577,1579,1585],{"type":43,"tag":72,"props":1558,"children":1560},{"className":1559},[],[1561],{"type":48,"value":625},{"type":48,"value":1563}," adds ",{"type":43,"tag":72,"props":1565,"children":1567},{"className":1566},[],[1568],{"type":48,"value":1569},"ADMIN_ROLE",{"type":48,"value":526},{"type":43,"tag":72,"props":1572,"children":1574},{"className":1573},[],[1575],{"type":48,"value":1576},"PAUSER_ROLE",{"type":48,"value":1578},", etc. via OpenZeppelin ",{"type":43,"tag":72,"props":1580,"children":1582},{"className":1581},[],[1583],{"type":48,"value":1584},"AccessControl",{"type":48,"value":1586},". Use when\ndifferent team members need different privileges (e.g., a keeper bot that can update fees but\ncannot upgrade the contract).",{"type":43,"tag":97,"props":1588,"children":1589},{},[1590,1595,1597,1603],{"type":43,"tag":72,"props":1591,"children":1593},{"className":1592},[],[1594],{"type":48,"value":632},{"type":48,"value":1596}," delegates all permission checks to a separate ",{"type":43,"tag":72,"props":1598,"children":1600},{"className":1599},[],[1601],{"type":48,"value":1602},"AccessManager",{"type":48,"value":1604}," contract. Use when\nyou need a unified governance layer across multiple contracts or want timelocked admin actions.",{"type":43,"tag":57,"props":1606,"children":1607},{},[1608],{"type":43,"tag":51,"props":1609,"children":1610},{},[1611,1616,1618,1623,1625,1630,1632,1638,1640,1646],{"type":43,"tag":64,"props":1612,"children":1613},{},[1614],{"type":48,"value":1615},"Note",{"type":48,"value":1617},": Changing the ",{"type":43,"tag":72,"props":1619,"children":1621},{"className":1620},[],[1622],{"type":48,"value":1430},{"type":48,"value":1624}," option changes the constructor signature. Update deployment\nscripts and initialization logic accordingly. When using ",{"type":43,"tag":72,"props":1626,"children":1628},{"className":1627},[],[1629],{"type":48,"value":618},{"type":48,"value":1631},", ensure the ",{"type":43,"tag":72,"props":1633,"children":1635},{"className":1634},[],[1636],{"type":48,"value":1637},"initialOwner",{"type":48,"value":1639},"\nis not the zero address — OpenZeppelin's ",{"type":43,"tag":72,"props":1641,"children":1643},{"className":1642},[],[1644],{"type":48,"value":1645},"Ownable",{"type":48,"value":1647}," reverts on zero address since v5.",{"type":43,"tag":81,"props":1649,"children":1651},{"id":1650},"hook-inputs-reference",[1652],{"type":48,"value":1653},"Hook Inputs Reference",{"type":43,"tag":51,"props":1655,"children":1656},{},[1657,1659,1665],{"type":48,"value":1658},"Some hook types accept numeric configuration inputs that tune behavior. These are passed as the\n",{"type":43,"tag":72,"props":1660,"children":1662},{"className":1661},[],[1663],{"type":48,"value":1664},"inputs",{"type":48,"value":1666}," object in the MCP tool call.",{"type":43,"tag":151,"props":1668,"children":1669},{},[1670,1695],{"type":43,"tag":155,"props":1671,"children":1672},{},[1673],{"type":43,"tag":159,"props":1674,"children":1675},{},[1676,1681,1686,1691],{"type":43,"tag":163,"props":1677,"children":1678},{},[1679],{"type":48,"value":1680},"Input",{"type":43,"tag":163,"props":1682,"children":1683},{},[1684],{"type":48,"value":1685},"Type",{"type":43,"tag":163,"props":1687,"children":1688},{},[1689],{"type":48,"value":1690},"Used By",{"type":43,"tag":163,"props":1692,"children":1693},{},[1694],{"type":48,"value":1270},{"type":43,"tag":174,"props":1696,"children":1697},{},[1698,1736],{"type":43,"tag":159,"props":1699,"children":1700},{},[1701,1709,1717,1731],{"type":43,"tag":181,"props":1702,"children":1703},{},[1704],{"type":43,"tag":72,"props":1705,"children":1707},{"className":1706},[],[1708],{"type":48,"value":647},{"type":43,"tag":181,"props":1710,"children":1711},{},[1712],{"type":43,"tag":72,"props":1713,"children":1715},{"className":1714},[],[1716],{"type":48,"value":1230},{"type":43,"tag":181,"props":1718,"children":1719},{},[1720,1725,1726],{"type":43,"tag":72,"props":1721,"children":1723},{"className":1722},[],[1724],{"type":48,"value":330},{"type":48,"value":526},{"type":43,"tag":72,"props":1727,"children":1729},{"className":1728},[],[1730],{"type":48,"value":347},{"type":43,"tag":181,"props":1732,"children":1733},{},[1734],{"type":48,"value":1735},"Number of blocks before sandwich\u002FJIT detection window opens",{"type":43,"tag":159,"props":1737,"children":1738},{},[1739,1747,1756,1764],{"type":43,"tag":181,"props":1740,"children":1741},{},[1742],{"type":43,"tag":72,"props":1743,"children":1745},{"className":1744},[],[1746],{"type":48,"value":654},{"type":43,"tag":181,"props":1748,"children":1749},{},[1750],{"type":43,"tag":72,"props":1751,"children":1753},{"className":1752},[],[1754],{"type":48,"value":1755},"int24",{"type":43,"tag":181,"props":1757,"children":1758},{},[1759],{"type":43,"tag":72,"props":1760,"children":1762},{"className":1761},[],[1763],{"type":48,"value":330},{"type":43,"tag":181,"props":1765,"children":1766},{},[1767],{"type":48,"value":1768},"Maximum tick movement allowed per block before MEV protection triggers",{"type":43,"tag":51,"props":1770,"children":1771},{},[1772,1774,1779,1781,1787],{"type":48,"value":1773},"For hook types that do not use these inputs, omit the ",{"type":43,"tag":72,"props":1775,"children":1777},{"className":1776},[],[1778],{"type":48,"value":1664},{"type":48,"value":1780}," field or pass an empty object ",{"type":43,"tag":72,"props":1782,"children":1784},{"className":1783},[],[1785],{"type":48,"value":1786},"{}",{"type":48,"value":1788},".\nPassing unsupported inputs to the MCP tool will not cause an error but the values will be ignored.",{"type":43,"tag":81,"props":1790,"children":1792},{"id":1791},"mcp-tool-call-canonical",[1793],{"type":48,"value":1794},"MCP Tool Call (Canonical)",{"type":43,"tag":51,"props":1796,"children":1797},{},[1798,1800,1806],{"type":48,"value":1799},"The OpenZeppelin Contracts Wizard exposes a ",{"type":43,"tag":72,"props":1801,"children":1803},{"className":1802},[],[1804],{"type":48,"value":1805},"generate_hook",{"type":48,"value":1807}," MCP tool. The following is the\ncanonical JSON schema — populate each field according to your decisions from the sections above,\nthen pass this object as the tool's argument.",{"type":43,"tag":1809,"props":1810,"children":1815},"pre",{"className":1811,"code":1812,"language":1813,"meta":1814,"style":1814},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"hook\": \"BaseHook\",\n  \"name\": \"MyHook\",\n  \"pausable\": false,\n  \"currencySettler\": true,\n  \"safeCast\": true,\n  \"transientStorage\": false,\n  \"shares\": { \"options\": false },\n  \"permissions\": {\n    \"beforeInitialize\": false,\n    \"afterInitialize\": false,\n    \"beforeAddLiquidity\": false,\n    \"beforeRemoveLiquidity\": false,\n    \"afterAddLiquidity\": false,\n    \"afterRemoveLiquidity\": false,\n    \"beforeSwap\": true,\n    \"afterSwap\": false,\n    \"beforeDonate\": false,\n    \"afterDonate\": false,\n    \"beforeSwapReturnDelta\": false,\n    \"afterSwapReturnDelta\": false,\n    \"afterAddLiquidityReturnDelta\": false,\n    \"afterRemoveLiquidityReturnDelta\": false\n  },\n  \"inputs\": {\n    \"blockNumberOffset\": 1,\n    \"maxAbsTickDelta\": 100\n  },\n  \"access\": \"ownable\",\n  \"info\": { \"license\": \"MIT\" }\n}\n","json","",[1816],{"type":43,"tag":72,"props":1817,"children":1818},{"__ignoreMap":1814},[1819,1831,1873,1911,1937,1962,1986,2010,2063,2089,2114,2138,2162,2186,2210,2234,2258,2282,2306,2330,2354,2378,2402,2427,2436,2460,2490,2515,2523,2559,2618],{"type":43,"tag":1820,"props":1821,"children":1824},"span",{"class":1822,"line":1823},"line",1,[1825],{"type":43,"tag":1820,"props":1826,"children":1828},{"style":1827},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[1829],{"type":48,"value":1830},"{\n",{"type":43,"tag":1820,"props":1832,"children":1834},{"class":1822,"line":1833},2,[1835,1840,1846,1851,1855,1860,1865,1869],{"type":43,"tag":1820,"props":1836,"children":1837},{"style":1827},[1838],{"type":48,"value":1839},"  \"",{"type":43,"tag":1820,"props":1841,"children":1843},{"style":1842},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1844],{"type":48,"value":1845},"hook",{"type":43,"tag":1820,"props":1847,"children":1848},{"style":1827},[1849],{"type":48,"value":1850},"\"",{"type":43,"tag":1820,"props":1852,"children":1853},{"style":1827},[1854],{"type":48,"value":425},{"type":43,"tag":1820,"props":1856,"children":1857},{"style":1827},[1858],{"type":48,"value":1859}," \"",{"type":43,"tag":1820,"props":1861,"children":1863},{"style":1862},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[1864],{"type":48,"value":194},{"type":43,"tag":1820,"props":1866,"children":1867},{"style":1827},[1868],{"type":48,"value":1850},{"type":43,"tag":1820,"props":1870,"children":1871},{"style":1827},[1872],{"type":48,"value":1140},{"type":43,"tag":1820,"props":1874,"children":1876},{"class":1822,"line":1875},3,[1877,1881,1886,1890,1894,1898,1903,1907],{"type":43,"tag":1820,"props":1878,"children":1879},{"style":1827},[1880],{"type":48,"value":1839},{"type":43,"tag":1820,"props":1882,"children":1883},{"style":1842},[1884],{"type":48,"value":1885},"name",{"type":43,"tag":1820,"props":1887,"children":1888},{"style":1827},[1889],{"type":48,"value":1850},{"type":43,"tag":1820,"props":1891,"children":1892},{"style":1827},[1893],{"type":48,"value":425},{"type":43,"tag":1820,"props":1895,"children":1896},{"style":1827},[1897],{"type":48,"value":1859},{"type":43,"tag":1820,"props":1899,"children":1900},{"style":1862},[1901],{"type":48,"value":1902},"MyHook",{"type":43,"tag":1820,"props":1904,"children":1905},{"style":1827},[1906],{"type":48,"value":1850},{"type":43,"tag":1820,"props":1908,"children":1909},{"style":1827},[1910],{"type":48,"value":1140},{"type":43,"tag":1820,"props":1912,"children":1914},{"class":1822,"line":1913},4,[1915,1919,1924,1928,1932],{"type":43,"tag":1820,"props":1916,"children":1917},{"style":1827},[1918],{"type":48,"value":1839},{"type":43,"tag":1820,"props":1920,"children":1921},{"style":1842},[1922],{"type":48,"value":1923},"pausable",{"type":43,"tag":1820,"props":1925,"children":1926},{"style":1827},[1927],{"type":48,"value":1850},{"type":43,"tag":1820,"props":1929,"children":1930},{"style":1827},[1931],{"type":48,"value":425},{"type":43,"tag":1820,"props":1933,"children":1934},{"style":1827},[1935],{"type":48,"value":1936}," false,\n",{"type":43,"tag":1820,"props":1938,"children":1940},{"class":1822,"line":1939},5,[1941,1945,1949,1953,1957],{"type":43,"tag":1820,"props":1942,"children":1943},{"style":1827},[1944],{"type":48,"value":1839},{"type":43,"tag":1820,"props":1946,"children":1947},{"style":1842},[1948],{"type":48,"value":550},{"type":43,"tag":1820,"props":1950,"children":1951},{"style":1827},[1952],{"type":48,"value":1850},{"type":43,"tag":1820,"props":1954,"children":1955},{"style":1827},[1956],{"type":48,"value":425},{"type":43,"tag":1820,"props":1958,"children":1959},{"style":1827},[1960],{"type":48,"value":1961}," true,\n",{"type":43,"tag":1820,"props":1963,"children":1965},{"class":1822,"line":1964},6,[1966,1970,1974,1978,1982],{"type":43,"tag":1820,"props":1967,"children":1968},{"style":1827},[1969],{"type":48,"value":1839},{"type":43,"tag":1820,"props":1971,"children":1972},{"style":1842},[1973],{"type":48,"value":557},{"type":43,"tag":1820,"props":1975,"children":1976},{"style":1827},[1977],{"type":48,"value":1850},{"type":43,"tag":1820,"props":1979,"children":1980},{"style":1827},[1981],{"type":48,"value":425},{"type":43,"tag":1820,"props":1983,"children":1984},{"style":1827},[1985],{"type":48,"value":1961},{"type":43,"tag":1820,"props":1987,"children":1989},{"class":1822,"line":1988},7,[1990,1994,1998,2002,2006],{"type":43,"tag":1820,"props":1991,"children":1992},{"style":1827},[1993],{"type":48,"value":1839},{"type":43,"tag":1820,"props":1995,"children":1996},{"style":1842},[1997],{"type":48,"value":564},{"type":43,"tag":1820,"props":1999,"children":2000},{"style":1827},[2001],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2003,"children":2004},{"style":1827},[2005],{"type":48,"value":425},{"type":43,"tag":1820,"props":2007,"children":2008},{"style":1827},[2009],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2011,"children":2013},{"class":1822,"line":2012},8,[2014,2018,2022,2026,2030,2035,2039,2045,2049,2053,2058],{"type":43,"tag":1820,"props":2015,"children":2016},{"style":1827},[2017],{"type":48,"value":1839},{"type":43,"tag":1820,"props":2019,"children":2020},{"style":1842},[2021],{"type":48,"value":1249},{"type":43,"tag":1820,"props":2023,"children":2024},{"style":1827},[2025],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2027,"children":2028},{"style":1827},[2029],{"type":48,"value":425},{"type":43,"tag":1820,"props":2031,"children":2032},{"style":1827},[2033],{"type":48,"value":2034}," {",{"type":43,"tag":1820,"props":2036,"children":2037},{"style":1827},[2038],{"type":48,"value":1859},{"type":43,"tag":1820,"props":2040,"children":2042},{"style":2041},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[2043],{"type":48,"value":2044},"options",{"type":43,"tag":1820,"props":2046,"children":2047},{"style":1827},[2048],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2050,"children":2051},{"style":1827},[2052],{"type":48,"value":425},{"type":43,"tag":1820,"props":2054,"children":2055},{"style":1827},[2056],{"type":48,"value":2057}," false",{"type":43,"tag":1820,"props":2059,"children":2060},{"style":1827},[2061],{"type":48,"value":2062}," },\n",{"type":43,"tag":1820,"props":2064,"children":2066},{"class":1822,"line":2065},9,[2067,2071,2076,2080,2084],{"type":43,"tag":1820,"props":2068,"children":2069},{"style":1827},[2070],{"type":48,"value":1839},{"type":43,"tag":1820,"props":2072,"children":2073},{"style":1842},[2074],{"type":48,"value":2075},"permissions",{"type":43,"tag":1820,"props":2077,"children":2078},{"style":1827},[2079],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2081,"children":2082},{"style":1827},[2083],{"type":48,"value":425},{"type":43,"tag":1820,"props":2085,"children":2086},{"style":1827},[2087],{"type":48,"value":2088}," {\n",{"type":43,"tag":1820,"props":2090,"children":2092},{"class":1822,"line":2091},10,[2093,2098,2102,2106,2110],{"type":43,"tag":1820,"props":2094,"children":2095},{"style":1827},[2096],{"type":48,"value":2097},"    \"",{"type":43,"tag":1820,"props":2099,"children":2100},{"style":2041},[2101],{"type":48,"value":713},{"type":43,"tag":1820,"props":2103,"children":2104},{"style":1827},[2105],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2107,"children":2108},{"style":1827},[2109],{"type":48,"value":425},{"type":43,"tag":1820,"props":2111,"children":2112},{"style":1827},[2113],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2115,"children":2117},{"class":1822,"line":2116},11,[2118,2122,2126,2130,2134],{"type":43,"tag":1820,"props":2119,"children":2120},{"style":1827},[2121],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2123,"children":2124},{"style":2041},[2125],{"type":48,"value":735},{"type":43,"tag":1820,"props":2127,"children":2128},{"style":1827},[2129],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2131,"children":2132},{"style":1827},[2133],{"type":48,"value":425},{"type":43,"tag":1820,"props":2135,"children":2136},{"style":1827},[2137],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2139,"children":2141},{"class":1822,"line":2140},12,[2142,2146,2150,2154,2158],{"type":43,"tag":1820,"props":2143,"children":2144},{"style":1827},[2145],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2147,"children":2148},{"style":2041},[2149],{"type":48,"value":756},{"type":43,"tag":1820,"props":2151,"children":2152},{"style":1827},[2153],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2155,"children":2156},{"style":1827},[2157],{"type":48,"value":425},{"type":43,"tag":1820,"props":2159,"children":2160},{"style":1827},[2161],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2163,"children":2165},{"class":1822,"line":2164},13,[2166,2170,2174,2178,2182],{"type":43,"tag":1820,"props":2167,"children":2168},{"style":1827},[2169],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2171,"children":2172},{"style":2041},[2173],{"type":48,"value":799},{"type":43,"tag":1820,"props":2175,"children":2176},{"style":1827},[2177],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2179,"children":2180},{"style":1827},[2181],{"type":48,"value":425},{"type":43,"tag":1820,"props":2183,"children":2184},{"style":1827},[2185],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2187,"children":2189},{"class":1822,"line":2188},14,[2190,2194,2198,2202,2206],{"type":43,"tag":1820,"props":2191,"children":2192},{"style":1827},[2193],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2195,"children":2196},{"style":2041},[2197],{"type":48,"value":778},{"type":43,"tag":1820,"props":2199,"children":2200},{"style":1827},[2201],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2203,"children":2204},{"style":1827},[2205],{"type":48,"value":425},{"type":43,"tag":1820,"props":2207,"children":2208},{"style":1827},[2209],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2211,"children":2213},{"class":1822,"line":2212},15,[2214,2218,2222,2226,2230],{"type":43,"tag":1820,"props":2215,"children":2216},{"style":1827},[2217],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2219,"children":2220},{"style":2041},[2221],{"type":48,"value":821},{"type":43,"tag":1820,"props":2223,"children":2224},{"style":1827},[2225],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2227,"children":2228},{"style":1827},[2229],{"type":48,"value":425},{"type":43,"tag":1820,"props":2231,"children":2232},{"style":1827},[2233],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2235,"children":2237},{"class":1822,"line":2236},16,[2238,2242,2246,2250,2254],{"type":43,"tag":1820,"props":2239,"children":2240},{"style":1827},[2241],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2243,"children":2244},{"style":2041},[2245],{"type":48,"value":524},{"type":43,"tag":1820,"props":2247,"children":2248},{"style":1827},[2249],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2251,"children":2252},{"style":1827},[2253],{"type":48,"value":425},{"type":43,"tag":1820,"props":2255,"children":2256},{"style":1827},[2257],{"type":48,"value":1961},{"type":43,"tag":1820,"props":2259,"children":2261},{"class":1822,"line":2260},17,[2262,2266,2270,2274,2278],{"type":43,"tag":1820,"props":2263,"children":2264},{"style":1827},[2265],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2267,"children":2268},{"style":2041},[2269],{"type":48,"value":532},{"type":43,"tag":1820,"props":2271,"children":2272},{"style":1827},[2273],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2275,"children":2276},{"style":1827},[2277],{"type":48,"value":425},{"type":43,"tag":1820,"props":2279,"children":2280},{"style":1827},[2281],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2283,"children":2285},{"class":1822,"line":2284},18,[2286,2290,2294,2298,2302],{"type":43,"tag":1820,"props":2287,"children":2288},{"style":1827},[2289],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2291,"children":2292},{"style":2041},[2293],{"type":48,"value":882},{"type":43,"tag":1820,"props":2295,"children":2296},{"style":1827},[2297],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2299,"children":2300},{"style":1827},[2301],{"type":48,"value":425},{"type":43,"tag":1820,"props":2303,"children":2304},{"style":1827},[2305],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2307,"children":2309},{"class":1822,"line":2308},19,[2310,2314,2318,2322,2326],{"type":43,"tag":1820,"props":2311,"children":2312},{"style":1827},[2313],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2315,"children":2316},{"style":2041},[2317],{"type":48,"value":903},{"type":43,"tag":1820,"props":2319,"children":2320},{"style":1827},[2321],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2323,"children":2324},{"style":1827},[2325],{"type":48,"value":425},{"type":43,"tag":1820,"props":2327,"children":2328},{"style":1827},[2329],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2331,"children":2333},{"class":1822,"line":2332},20,[2334,2338,2342,2346,2350],{"type":43,"tag":1820,"props":2335,"children":2336},{"style":1827},[2337],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2339,"children":2340},{"style":2041},[2341],{"type":48,"value":924},{"type":43,"tag":1820,"props":2343,"children":2344},{"style":1827},[2345],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2347,"children":2348},{"style":1827},[2349],{"type":48,"value":425},{"type":43,"tag":1820,"props":2351,"children":2352},{"style":1827},[2353],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2355,"children":2357},{"class":1822,"line":2356},21,[2358,2362,2366,2370,2374],{"type":43,"tag":1820,"props":2359,"children":2360},{"style":1827},[2361],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2363,"children":2364},{"style":2041},[2365],{"type":48,"value":953},{"type":43,"tag":1820,"props":2367,"children":2368},{"style":1827},[2369],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2371,"children":2372},{"style":1827},[2373],{"type":48,"value":425},{"type":43,"tag":1820,"props":2375,"children":2376},{"style":1827},[2377],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2379,"children":2381},{"class":1822,"line":2380},22,[2382,2386,2390,2394,2398],{"type":43,"tag":1820,"props":2383,"children":2384},{"style":1827},[2385],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2387,"children":2388},{"style":2041},[2389],{"type":48,"value":974},{"type":43,"tag":1820,"props":2391,"children":2392},{"style":1827},[2393],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2395,"children":2396},{"style":1827},[2397],{"type":48,"value":425},{"type":43,"tag":1820,"props":2399,"children":2400},{"style":1827},[2401],{"type":48,"value":1936},{"type":43,"tag":1820,"props":2403,"children":2405},{"class":1822,"line":2404},23,[2406,2410,2414,2418,2422],{"type":43,"tag":1820,"props":2407,"children":2408},{"style":1827},[2409],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2411,"children":2412},{"style":2041},[2413],{"type":48,"value":995},{"type":43,"tag":1820,"props":2415,"children":2416},{"style":1827},[2417],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2419,"children":2420},{"style":1827},[2421],{"type":48,"value":425},{"type":43,"tag":1820,"props":2423,"children":2424},{"style":1827},[2425],{"type":48,"value":2426}," false\n",{"type":43,"tag":1820,"props":2428,"children":2430},{"class":1822,"line":2429},24,[2431],{"type":43,"tag":1820,"props":2432,"children":2433},{"style":1827},[2434],{"type":48,"value":2435},"  },\n",{"type":43,"tag":1820,"props":2437,"children":2439},{"class":1822,"line":2438},25,[2440,2444,2448,2452,2456],{"type":43,"tag":1820,"props":2441,"children":2442},{"style":1827},[2443],{"type":48,"value":1839},{"type":43,"tag":1820,"props":2445,"children":2446},{"style":1842},[2447],{"type":48,"value":1664},{"type":43,"tag":1820,"props":2449,"children":2450},{"style":1827},[2451],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2453,"children":2454},{"style":1827},[2455],{"type":48,"value":425},{"type":43,"tag":1820,"props":2457,"children":2458},{"style":1827},[2459],{"type":48,"value":2088},{"type":43,"tag":1820,"props":2461,"children":2463},{"class":1822,"line":2462},26,[2464,2468,2472,2476,2480,2486],{"type":43,"tag":1820,"props":2465,"children":2466},{"style":1827},[2467],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2469,"children":2470},{"style":2041},[2471],{"type":48,"value":647},{"type":43,"tag":1820,"props":2473,"children":2474},{"style":1827},[2475],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2477,"children":2478},{"style":1827},[2479],{"type":48,"value":425},{"type":43,"tag":1820,"props":2481,"children":2483},{"style":2482},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[2484],{"type":48,"value":2485}," 1",{"type":43,"tag":1820,"props":2487,"children":2488},{"style":1827},[2489],{"type":48,"value":1140},{"type":43,"tag":1820,"props":2491,"children":2493},{"class":1822,"line":2492},27,[2494,2498,2502,2506,2510],{"type":43,"tag":1820,"props":2495,"children":2496},{"style":1827},[2497],{"type":48,"value":2097},{"type":43,"tag":1820,"props":2499,"children":2500},{"style":2041},[2501],{"type":48,"value":654},{"type":43,"tag":1820,"props":2503,"children":2504},{"style":1827},[2505],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2507,"children":2508},{"style":1827},[2509],{"type":48,"value":425},{"type":43,"tag":1820,"props":2511,"children":2512},{"style":2482},[2513],{"type":48,"value":2514}," 100\n",{"type":43,"tag":1820,"props":2516,"children":2518},{"class":1822,"line":2517},28,[2519],{"type":43,"tag":1820,"props":2520,"children":2521},{"style":1827},[2522],{"type":48,"value":2435},{"type":43,"tag":1820,"props":2524,"children":2526},{"class":1822,"line":2525},29,[2527,2531,2535,2539,2543,2547,2551,2555],{"type":43,"tag":1820,"props":2528,"children":2529},{"style":1827},[2530],{"type":48,"value":1839},{"type":43,"tag":1820,"props":2532,"children":2533},{"style":1842},[2534],{"type":48,"value":1430},{"type":43,"tag":1820,"props":2536,"children":2537},{"style":1827},[2538],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2540,"children":2541},{"style":1827},[2542],{"type":48,"value":425},{"type":43,"tag":1820,"props":2544,"children":2545},{"style":1827},[2546],{"type":48,"value":1859},{"type":43,"tag":1820,"props":2548,"children":2549},{"style":1862},[2550],{"type":48,"value":618},{"type":43,"tag":1820,"props":2552,"children":2553},{"style":1827},[2554],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2556,"children":2557},{"style":1827},[2558],{"type":48,"value":1140},{"type":43,"tag":1820,"props":2560,"children":2562},{"class":1822,"line":2561},30,[2563,2567,2572,2576,2580,2584,2588,2593,2597,2601,2605,2609,2613],{"type":43,"tag":1820,"props":2564,"children":2565},{"style":1827},[2566],{"type":48,"value":1839},{"type":43,"tag":1820,"props":2568,"children":2569},{"style":1842},[2570],{"type":48,"value":2571},"info",{"type":43,"tag":1820,"props":2573,"children":2574},{"style":1827},[2575],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2577,"children":2578},{"style":1827},[2579],{"type":48,"value":425},{"type":43,"tag":1820,"props":2581,"children":2582},{"style":1827},[2583],{"type":48,"value":2034},{"type":43,"tag":1820,"props":2585,"children":2586},{"style":1827},[2587],{"type":48,"value":1859},{"type":43,"tag":1820,"props":2589,"children":2590},{"style":2041},[2591],{"type":48,"value":2592},"license",{"type":43,"tag":1820,"props":2594,"children":2595},{"style":1827},[2596],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2598,"children":2599},{"style":1827},[2600],{"type":48,"value":425},{"type":43,"tag":1820,"props":2602,"children":2603},{"style":1827},[2604],{"type":48,"value":1859},{"type":43,"tag":1820,"props":2606,"children":2607},{"style":1862},[2608],{"type":48,"value":25},{"type":43,"tag":1820,"props":2610,"children":2611},{"style":1827},[2612],{"type":48,"value":1850},{"type":43,"tag":1820,"props":2614,"children":2615},{"style":1827},[2616],{"type":48,"value":2617}," }\n",{"type":43,"tag":1820,"props":2619,"children":2621},{"class":1822,"line":2620},31,[2622],{"type":43,"tag":1820,"props":2623,"children":2624},{"style":1827},[2625],{"type":48,"value":2626},"}\n",{"type":43,"tag":51,"props":2628,"children":2629},{},[2630,2635],{"type":43,"tag":64,"props":2631,"children":2632},{},[2633],{"type":48,"value":2634},"Field notes",{"type":48,"value":425},{"type":43,"tag":93,"props":2637,"children":2638},{},[2639,2649,2659,2692,2729,2758,2777],{"type":43,"tag":97,"props":2640,"children":2641},{},[2642,2647],{"type":43,"tag":72,"props":2643,"children":2645},{"className":2644},[],[2646],{"type":48,"value":1845},{"type":48,"value":2648},": string — one of the 14 hook types from the decision table",{"type":43,"tag":97,"props":2650,"children":2651},{},[2652,2657],{"type":43,"tag":72,"props":2653,"children":2655},{"className":2654},[],[2656],{"type":48,"value":1885},{"type":48,"value":2658},": string — the Solidity contract name (PascalCase, no spaces)",{"type":43,"tag":97,"props":2660,"children":2661},{},[2662,2667,2669,2675,2677,2683,2684,2690],{"type":43,"tag":72,"props":2663,"children":2665},{"className":2664},[],[2666],{"type":48,"value":1923},{"type":48,"value":2668},": boolean — wraps the hook in OpenZeppelin ",{"type":43,"tag":72,"props":2670,"children":2672},{"className":2671},[],[2673],{"type":48,"value":2674},"Pausable",{"type":48,"value":2676},"; adds ",{"type":43,"tag":72,"props":2678,"children":2680},{"className":2679},[],[2681],{"type":48,"value":2682},"pause()",{"type":48,"value":1224},{"type":43,"tag":72,"props":2685,"children":2687},{"className":2686},[],[2688],{"type":48,"value":2689},"unpause()",{"type":48,"value":2691}," admin functions",{"type":43,"tag":97,"props":2693,"children":2694},{},[2695,2701,2702,2707,2709,2715,2716,2722,2723],{"type":43,"tag":72,"props":2696,"children":2698},{"className":2697},[],[2699],{"type":48,"value":2700},"shares.options",{"type":48,"value":131},{"type":43,"tag":72,"props":2703,"children":2705},{"className":2704},[],[2706],{"type":48,"value":581},{"type":48,"value":2708}," | ",{"type":43,"tag":72,"props":2710,"children":2712},{"className":2711},[],[2713],{"type":48,"value":2714},"\"ERC20\"",{"type":48,"value":2708},{"type":43,"tag":72,"props":2717,"children":2719},{"className":2718},[],[2720],{"type":48,"value":2721},"\"ERC6909\"",{"type":48,"value":2708},{"type":43,"tag":72,"props":2724,"children":2726},{"className":2725},[],[2727],{"type":48,"value":2728},"\"ERC1155\"",{"type":43,"tag":97,"props":2730,"children":2731},{},[2732,2737,2738,2744,2745,2751,2752],{"type":43,"tag":72,"props":2733,"children":2735},{"className":2734},[],[2736],{"type":48,"value":1430},{"type":48,"value":131},{"type":43,"tag":72,"props":2739,"children":2741},{"className":2740},[],[2742],{"type":48,"value":2743},"\"ownable\"",{"type":48,"value":2708},{"type":43,"tag":72,"props":2746,"children":2748},{"className":2747},[],[2749],{"type":48,"value":2750},"\"roles\"",{"type":48,"value":2708},{"type":43,"tag":72,"props":2753,"children":2755},{"className":2754},[],[2756],{"type":48,"value":2757},"\"managed\"",{"type":43,"tag":97,"props":2759,"children":2760},{},[2761,2767,2769,2775],{"type":43,"tag":72,"props":2762,"children":2764},{"className":2763},[],[2765],{"type":48,"value":2766},"info.license",{"type":48,"value":2768},": SPDX license identifier — use ",{"type":43,"tag":72,"props":2770,"children":2772},{"className":2771},[],[2773],{"type":48,"value":2774},"\"MIT\"",{"type":48,"value":2776}," for open-source hooks",{"type":43,"tag":97,"props":2778,"children":2779},{},[2780,2785,2787,2792,2794,2799,2800],{"type":43,"tag":72,"props":2781,"children":2783},{"className":2782},[],[2784],{"type":48,"value":1664},{"type":48,"value":2786},": omit or pass ",{"type":43,"tag":72,"props":2788,"children":2790},{"className":2789},[],[2791],{"type":48,"value":1786},{"type":48,"value":2793}," for hook types that do not use ",{"type":43,"tag":72,"props":2795,"children":2797},{"className":2796},[],[2798],{"type":48,"value":647},{"type":48,"value":1224},{"type":43,"tag":72,"props":2801,"children":2803},{"className":2802},[],[2804],{"type":48,"value":654},{"type":43,"tag":81,"props":2806,"children":2808},{"id":2807},"workflow-gather-configure-generate-secure",[2809],{"type":48,"value":2810},"Workflow: Gather → Configure → Generate → Secure",{"type":43,"tag":51,"props":2812,"children":2813},{},[2814],{"type":48,"value":2815},"Follow these steps in order every time you use this skill.",{"type":43,"tag":2817,"props":2818,"children":2820},"h3",{"id":2819},"step-1-gather-requirements",[2821],{"type":48,"value":2822},"Step 1: Gather Requirements",{"type":43,"tag":51,"props":2824,"children":2825},{},[2826],{"type":48,"value":2827},"Ask the user (or infer from context):",{"type":43,"tag":496,"props":2829,"children":2830},{},[2831,2836,2841,2859,2864,2869],{"type":43,"tag":97,"props":2832,"children":2833},{},[2834],{"type":48,"value":2835},"What is the hook's primary goal? (Map to the decision table.)",{"type":43,"tag":97,"props":2837,"children":2838},{},[2839],{"type":48,"value":2840},"Which lifecycle events does the hook need to intercept? (Map to permissions.)",{"type":43,"tag":97,"props":2842,"children":2843},{},[2844,2846,2851,2852,2857],{"type":48,"value":2845},"Does the hook hold or move user funds? (Determines ",{"type":43,"tag":72,"props":2847,"children":2849},{"className":2848},[],[2850],{"type":48,"value":550},{"type":48,"value":458},{"type":43,"tag":72,"props":2853,"children":2855},{"className":2854},[],[2856],{"type":48,"value":1249},{"type":48,"value":2858},".)",{"type":43,"tag":97,"props":2860,"children":2861},{},[2862],{"type":48,"value":2863},"Who administers the hook? (Single owner, role-based team, or external governance?)",{"type":43,"tag":97,"props":2865,"children":2866},{},[2867],{"type":48,"value":2868},"Does the hook need to pass state between callbacks within a single transaction?",{"type":43,"tag":97,"props":2870,"children":2871},{},[2872,2874,2879],{"type":48,"value":2873},"Is this for a chain with EVM Cancun support? (Required for ",{"type":43,"tag":72,"props":2875,"children":2877},{"className":2876},[],[2878],{"type":48,"value":564},{"type":48,"value":2858},{"type":43,"tag":2817,"props":2881,"children":2883},{"id":2882},"step-2-select-hook-type",[2884],{"type":48,"value":2885},"Step 2: Select Hook Type",{"type":43,"tag":51,"props":2887,"children":2888},{},[2889],{"type":48,"value":2890},"Using the decision table, identify the single best hook type. If the user's goal maps to multiple\ntypes, explain the trade-offs and ask them to confirm. Document the chosen type and the reasoning.",{"type":43,"tag":2817,"props":2892,"children":2894},{"id":2893},"step-3-configure-all-six-decisions",[2895],{"type":48,"value":2896},"Step 3: Configure All Six Decisions",{"type":43,"tag":51,"props":2898,"children":2899},{},[2900],{"type":48,"value":2901},"Work through the minimal decision checklist:",{"type":43,"tag":496,"props":2903,"children":2904},{},[2905,2917,2929,2952,2963,2974],{"type":43,"tag":97,"props":2906,"children":2907},{},[2908,2910,2915],{"type":48,"value":2909},"Set ",{"type":43,"tag":72,"props":2911,"children":2913},{"className":2912},[],[2914],{"type":48,"value":1845},{"type":48,"value":2916}," to the chosen type.",{"type":43,"tag":97,"props":2918,"children":2919},{},[2920,2922,2927],{"type":48,"value":2921},"Set each permission flag — default ",{"type":43,"tag":72,"props":2923,"children":2925},{"className":2924},[],[2926],{"type":48,"value":581},{"type":48,"value":2928},", enable only what the logic requires.",{"type":43,"tag":97,"props":2930,"children":2931},{},[2932,2933,2938,2939,2944,2945,2950],{"type":48,"value":2909},{"type":43,"tag":72,"props":2934,"children":2936},{"className":2935},[],[2937],{"type":48,"value":550},{"type":48,"value":526},{"type":43,"tag":72,"props":2940,"children":2942},{"className":2941},[],[2943],{"type":48,"value":557},{"type":48,"value":526},{"type":43,"tag":72,"props":2946,"children":2948},{"className":2947},[],[2949],{"type":48,"value":564},{"type":48,"value":2951}," based on utility library guidance.",{"type":43,"tag":97,"props":2953,"children":2954},{},[2955,2956,2961],{"type":48,"value":2909},{"type":43,"tag":72,"props":2957,"children":2959},{"className":2958},[],[2960],{"type":48,"value":2700},{"type":48,"value":2962}," based on shares guidance.",{"type":43,"tag":97,"props":2964,"children":2965},{},[2966,2967,2972],{"type":48,"value":2909},{"type":43,"tag":72,"props":2968,"children":2970},{"className":2969},[],[2971],{"type":48,"value":1430},{"type":48,"value":2973}," based on access control guidance.",{"type":43,"tag":97,"props":2975,"children":2976},{},[2977,2978,2983,2985,2990,2992,2997],{"type":48,"value":2909},{"type":43,"tag":72,"props":2979,"children":2981},{"className":2980},[],[2982],{"type":48,"value":1664},{"type":48,"value":2984}," only if the hook type uses ",{"type":43,"tag":72,"props":2986,"children":2988},{"className":2987},[],[2989],{"type":48,"value":647},{"type":48,"value":2991}," or ",{"type":43,"tag":72,"props":2993,"children":2995},{"className":2994},[],[2996],{"type":48,"value":654},{"type":48,"value":2998},".",{"type":43,"tag":2817,"props":3000,"children":3002},{"id":3001},"step-4-assemble-and-call-the-mcp-tool",[3003],{"type":48,"value":3004},"Step 4: Assemble and Call the MCP Tool",{"type":43,"tag":51,"props":3006,"children":3007},{},[3008,3010,3015],{"type":48,"value":3009},"Construct the JSON object from Step 3 and call the OpenZeppelin Contracts Wizard MCP tool with it.\nThe tool returns Solidity source code — it does ",{"type":43,"tag":64,"props":3011,"children":3012},{},[3013],{"type":48,"value":3014},"not",{"type":48,"value":3016}," write files automatically.",{"type":43,"tag":51,"props":3018,"children":3019},{},[3020],{"type":48,"value":3021},"After receiving the generated code:",{"type":43,"tag":496,"props":3023,"children":3024},{},[3025,3030,3043],{"type":43,"tag":97,"props":3026,"children":3027},{},[3028],{"type":48,"value":3029},"Display the code to the user.",{"type":43,"tag":97,"props":3031,"children":3032},{},[3033,3035,3041],{"type":48,"value":3034},"Explain the key generated sections (constructor, ",{"type":43,"tag":72,"props":3036,"children":3038},{"className":3037},[],[3039],{"type":48,"value":3040},"getHookPermissions",{"type":48,"value":3042},", enabled callbacks).",{"type":43,"tag":97,"props":3044,"children":3045},{},[3046,3048,3053,3055,3060,3061,3066],{"type":48,"value":3047},"Note any manual steps required (HookMiner for address mining, deployment script updates for\nconstructor args if ",{"type":43,"tag":72,"props":3049,"children":3051},{"className":3050},[],[3052],{"type":48,"value":1430},{"type":48,"value":3054}," is ",{"type":43,"tag":72,"props":3056,"children":3058},{"className":3057},[],[3059],{"type":48,"value":625},{"type":48,"value":2991},{"type":43,"tag":72,"props":3062,"children":3064},{"className":3063},[],[3065],{"type":48,"value":632},{"type":48,"value":3067},").",{"type":43,"tag":2817,"props":3069,"children":3071},{"id":3070},"step-5-apply-security-foundations",[3072],{"type":48,"value":3073},"Step 5: Apply Security Foundations",{"type":43,"tag":51,"props":3075,"children":3076},{},[3077,3082,3084,3089],{"type":43,"tag":64,"props":3078,"children":3079},{},[3080],{"type":48,"value":3081},"Always remind the user",{"type":48,"value":3083}," — and invoke ",{"type":43,"tag":72,"props":3085,"children":3087},{"className":3086},[],[3088],{"type":48,"value":77},{"type":48,"value":3090}," — before the code is deployed:",{"type":43,"tag":93,"props":3092,"children":3093},{},[3094,3106,3119,3124],{"type":43,"tag":97,"props":3095,"children":3096},{},[3097,3099,3105],{"type":48,"value":3098},"Verify all enabled callbacks check ",{"type":43,"tag":72,"props":3100,"children":3102},{"className":3101},[],[3103],{"type":48,"value":3104},"msg.sender == address(poolManager)",{"type":48,"value":2998},{"type":43,"tag":97,"props":3107,"children":3108},{},[3109,3111,3117],{"type":48,"value":3110},"Review any enabled ",{"type":43,"tag":72,"props":3112,"children":3114},{"className":3113},[],[3115],{"type":48,"value":3116},"*ReturnDelta",{"type":48,"value":3118}," permissions for NoOp attack exposure.",{"type":43,"tag":97,"props":3120,"children":3121},{},[3122],{"type":48,"value":3123},"Confirm delta accounting sums to zero for every execution path.",{"type":43,"tag":97,"props":3125,"children":3126},{},[3127,3129,3134],{"type":48,"value":3128},"Run the full pre-deployment audit checklist from ",{"type":43,"tag":72,"props":3130,"children":3132},{"className":3131},[],[3133],{"type":48,"value":77},{"type":48,"value":2998},{"type":43,"tag":81,"props":3136,"children":3138},{"id":3137},"important-notes",[3139],{"type":48,"value":3140},"Important Notes",{"type":43,"tag":93,"props":3142,"children":3143},{},[3144,3196,3220],{"type":43,"tag":97,"props":3145,"children":3146},{},[3147,3152,3154,3159,3161,3166,3168,3173,3174,3180,3182,3187,3188,3194],{"type":43,"tag":64,"props":3148,"children":3149},{},[3150],{"type":48,"value":3151},"Access control changes constructor shape",{"type":48,"value":3153},": Choosing ",{"type":43,"tag":72,"props":3155,"children":3157},{"className":3156},[],[3158],{"type":48,"value":618},{"type":48,"value":3160}," adds an ",{"type":43,"tag":72,"props":3162,"children":3164},{"className":3163},[],[3165],{"type":48,"value":1637},{"type":48,"value":3167}," parameter;\n",{"type":43,"tag":72,"props":3169,"children":3171},{"className":3170},[],[3172],{"type":48,"value":625},{"type":48,"value":3160},{"type":43,"tag":72,"props":3175,"children":3177},{"className":3176},[],[3178],{"type":48,"value":3179},"admin",{"type":48,"value":3181}," parameter; ",{"type":43,"tag":72,"props":3183,"children":3185},{"className":3184},[],[3186],{"type":48,"value":632},{"type":48,"value":3160},{"type":43,"tag":72,"props":3189,"children":3191},{"className":3190},[],[3192],{"type":48,"value":3193},"authority",{"type":48,"value":3195}," parameter. Update deployment\nscripts and factory contracts accordingly.",{"type":43,"tag":97,"props":3197,"children":3198},{},[3199,3204,3206,3211,3213,3218],{"type":43,"tag":64,"props":3200,"children":3201},{},[3202],{"type":48,"value":3203},"Permissions encode in the hook address",{"type":48,"value":3205},": Each enabled permission flag corresponds to a specific\nbit in the lower bytes of the hook's deployed address. The PoolManager validates these bits on\nevery callback. Use ",{"type":43,"tag":72,"props":3207,"children":3209},{"className":3208},[],[3210],{"type":48,"value":1020},{"type":48,"value":3212}," from ",{"type":43,"tag":72,"props":3214,"children":3216},{"className":3215},[],[3217],{"type":48,"value":1028},{"type":48,"value":3219}," to mine a deployment salt that produces a\nmatching address.",{"type":43,"tag":97,"props":3221,"children":3222},{},[3223,3228,3230,3236],{"type":43,"tag":64,"props":3224,"children":3225},{},[3226],{"type":48,"value":3227},"MCP returns code only — it does not write files",{"type":48,"value":3229},": The generated Solidity is returned as a\nstring. You must write it to disk yourself (e.g., ",{"type":43,"tag":72,"props":3231,"children":3233},{"className":3232},[],[3234],{"type":48,"value":3235},"packages\u002Fcontracts\u002Fsrc\u002Fhooks\u002FMyHook.sol",{"type":48,"value":3067},{"type":43,"tag":81,"props":3238,"children":3240},{"id":3239},"related-skills",[3241],{"type":48,"value":3242},"Related Skills",{"type":43,"tag":93,"props":3244,"children":3245},{},[3246,3262,3273],{"type":43,"tag":97,"props":3247,"children":3248},{},[3249,3254,3255,3260],{"type":43,"tag":72,"props":3250,"children":3252},{"className":3251},[],[3253],{"type":48,"value":77},{"type":48,"value":544},{"type":43,"tag":64,"props":3256,"children":3257},{},[3258],{"type":48,"value":3259},"Run this after generation.",{"type":48,"value":3261}," Security audit for Uniswap v4 hooks:\npermission risk matrix, NoOp attack patterns, delta accounting, access control verification,\nand the full pre-deployment audit checklist. Generated hook code should never be deployed without\ncompleting this review.",{"type":43,"tag":97,"props":3263,"children":3264},{},[3265,3271],{"type":43,"tag":72,"props":3266,"children":3268},{"className":3267},[],[3269],{"type":48,"value":3270},"viem-integration",{"type":48,"value":3272}," — Deploy generated hook contracts and interact with them using viem\u002Fwagmi",{"type":43,"tag":97,"props":3274,"children":3275},{},[3276,3282],{"type":43,"tag":72,"props":3277,"children":3279},{"className":3278},[],[3280],{"type":48,"value":3281},"v4-sdk-integration",{"type":48,"value":3283}," — Interact with deployed hooks via the Uniswap v4 SDK",{"type":43,"tag":3285,"props":3286,"children":3287},"style",{},[3288],{"type":48,"value":3289},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":3291,"total":2308},[3292,3305,3320,3333,3346,3359,3372,3385,3399,3410,3421,3432],{"slug":3293,"name":3293,"fn":3294,"description":3295,"org":3296,"tags":3297,"stars":22,"repoUrl":23,"updatedAt":3304},"configurator","configure auction smart contract parameters","Configure CCA (Continuous Clearing Auction) smart contract parameters through an interactive bulk form flow. Use when user says \"configure auction\", \"cca auction\", \"setup token auction\", \"auction configuration\", \"continuous auction\", or mentions CCA contracts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3298,3301,3302,3303],{"name":3299,"slug":3300,"type":15},"Configuration","configuration",{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:08:08.974641",{"slug":3306,"name":3306,"fn":3307,"description":3308,"org":3309,"tags":3310,"stars":22,"repoUrl":23,"updatedAt":3319},"copy-trade","copy trades from crypto wallets","This skill should be used when the user asks to \"copy trades from\" a wallet, \"mirror a wallet\", \"follow this address\", set up \"copy trading\", \"track and replicate a trader\", or mirror another account's swaps bounded by guardrails. Watches a target wallet and mirrors its trades, filtered by chain, asset match, position size, and the follower's own portfolio state.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3311,3314,3315,3318],{"name":3312,"slug":3313,"type":15},"Automation","automation",{"name":20,"slug":21,"type":15},{"name":3316,"slug":3317,"type":15},"Trading","trading",{"name":13,"slug":14,"type":15},"2026-07-17T06:04:21.974052",{"slug":3321,"name":3321,"fn":3322,"description":3323,"org":3324,"tags":3325,"stars":22,"repoUrl":23,"updatedAt":3332},"dca-bot","automate dollar cost average token purchases","This skill should be used when the user wants to \"dca into\" a token, \"buy X every day\", set up a \"recurring buy\", \"dollar cost average\" into an asset, \"schedule a buy\", or \"auto-buy on a dip\". Buys a fixed amount into a token on a schedule, optionally only when a condition holds (for example only when ETH is below a price threshold). The host agent's scheduler wakes the skill on a cadence; each wake is one self-contained run.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3326,3327,3330,3331],{"name":3312,"slug":3313,"type":15},{"name":3328,"slug":3329,"type":15},"DeFi","defi",{"name":3316,"slug":3317,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:05:37.160647",{"slug":3334,"name":3334,"fn":3335,"description":3336,"org":3337,"tags":3338,"stars":22,"repoUrl":23,"updatedAt":3345},"deployer","deploy Uniswap CCA smart contracts","Deploy CCA (Continuous Clearing Auction) smart contracts using the Factory pattern. Use when user says \"deploy auction\", \"deploy cca\", \"factory deployment\", or wants to deploy a configured auction.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3339,3342,3343,3344],{"name":3340,"slug":3341,"type":15},"Deployment","deployment",{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:08:09.661977",{"slug":3347,"name":3347,"fn":3348,"description":3349,"org":3350,"tags":3351,"stars":22,"repoUrl":23,"updatedAt":3358},"index-bot","create and rebalance asset portfolios","This skill should be used when the user asks to \"create an index\", \"build a basket of top assets\", \"buy a weighted basket\", \"make a portfolio of assets\", \"equal-weight basket\", \"rebalance my portfolio\", \"track the top N tokens\", or wants an automated, weighted multi-asset basket that buys in one pass and rebalances on a cadence. Builds the basket spec, delegates each buy and rebalance swap to the swap-integration Trading API flow, and records target weights in state.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3352,3353,3356,3357],{"name":20,"slug":21,"type":15},{"name":3354,"slug":3355,"type":15},"Portfolio Management","portfolio-management",{"name":3316,"slug":3317,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:04:22.328253",{"slug":3360,"name":3360,"fn":3361,"description":3362,"org":3363,"tags":3364,"stars":22,"repoUrl":23,"updatedAt":3371},"liquidity-planner","plan and create liquidity positions","This skill should be used when the user asks to \"provide liquidity\", \"create LP position\", \"add liquidity to pool\", \"become a liquidity provider\", \"create v3 position\", \"create v4 position\", \"concentrated liquidity\", \"set price range\", or mentions providing liquidity, LP positions, or liquidity pools on Uniswap. Generates deep links to create positions in the Uniswap interface.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3365,3366,3367,3370],{"name":3328,"slug":3329,"type":15},{"name":20,"slug":21,"type":15},{"name":3368,"slug":3369,"type":15},"Liquidity","liquidity",{"name":13,"slug":14,"type":15},"2026-07-17T06:08:09.315325",{"slug":3373,"name":3373,"fn":3374,"description":3375,"org":3376,"tags":3377,"stars":22,"repoUrl":23,"updatedAt":3384},"lp-integration","integrate Uniswap liquidity provisioning","Integrate Uniswap liquidity provisioning (LP) into applications via the LP REST API. Use when the user says \"LP API\", \"liquidity provisioning API\", \"provide liquidity programmatically\", \"create LP position via API\", \"add liquidity via API\", \"increase liquidity\", \"decrease liquidity\", \"remove liquidity\", \"claim LP fees\", \"collect LP fees\", \"manage LP positions in code\", or mentions building a backend, bot, or frontend that creates or manages Uniswap v2\u002Fv3\u002Fv4 liquidity positions through an API. Also use when debugging LP API calls (e.g. \u002Flp\u002Fcreate, \u002Flp\u002Fcheck_approval, \u002Flp\u002Fincrease, \u002Flp\u002Fdecrease, \u002Flp\u002Fclaim_fees), unexpected response fields, the approval or EIP-712 permit flow, or transaction-building errors for liquidity positions. For generating deep links to the Uniswap web app instead of calling the API, use the liquidity-planner skill; for using the Uniswap v4 SDK directly rather than the REST API, use the v4-sdk-integration skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3378,3381,3382,3383],{"name":3379,"slug":3380,"type":15},"API Development","api-development",{"name":3328,"slug":3329,"type":15},{"name":3368,"slug":3369,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:08:13.704465",{"slug":3386,"name":3386,"fn":3387,"description":3388,"org":3389,"tags":3390,"stars":22,"repoUrl":23,"updatedAt":3398},"pay-with-any-token","pay HTTP 402 challenges with Uniswap","Pay HTTP 402 payment challenges using tokens via the Tempo CLI and Uniswap Trading API. Use when the user encounters a 402 Payment Required response, needs to fulfill a machine payment, mentions \"MPP\", \"Tempo payment\", \"pay for API access\", \"HTTP 402\", \"x402\", \"machine payment protocol\", \"pay-with-any-token\", \"use tempo\", \"tempo request\", or \"tempo wallet\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3391,3392,3395,3396],{"name":3328,"slug":3329,"type":15},{"name":3393,"slug":3394,"type":15},"Payments","payments",{"name":3316,"slug":3317,"type":15},{"name":3397,"slug":3397,"type":15},"x402","2026-07-17T06:04:29.756086",{"slug":3400,"name":3400,"fn":3401,"description":3402,"org":3403,"tags":3404,"stars":22,"repoUrl":23,"updatedAt":3409},"pay-with-app","pay 402 payment challenges","Pay HTTP 402 payment challenges issued by OKX's Agent Payments Protocol (APP) on X Layer using tokens from any chain via the Uniswap Trading API. Use this skill whenever the user encounters a 402 challenge whose network resolves to X Layer (chain 196), mentions \"APP\", \"Agent Payments Protocol\", \"OKX agent payment\", \"OKX Onchain OS\", \"OKX agentic wallet\", \"x402 on X Layer\", \"USDT0\", \"x42\", \"Instant Payment\", \"Batch Payment\", \"pay for X Layer API\", or wants to pay an OKX-backed merchant. Even when the user does not explicitly say APP, prefer this skill for any 402 challenge whose network resolves to X Layer (chain 196). For 402 challenges on other chains (Ethereum, Base, Arbitrum, Tempo) use pay-with-any-token instead.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3405,3406,3407,3408],{"name":3379,"slug":3380,"type":15},{"name":3393,"slug":3394,"type":15},{"name":13,"slug":14,"type":15},{"name":3397,"slug":3397,"type":15},"2026-07-17T06:07:38.795043",{"slug":3411,"name":3411,"fn":3412,"description":3413,"org":3414,"tags":3415,"stars":22,"repoUrl":23,"updatedAt":3420},"swap-integration","integrate Uniswap swap functionality","Integrate Uniswap swaps into applications. Use when user says \"integrate swaps\", \"uniswap\", \"trading api\", \"add swap functionality\", \"build a swap frontend\", \"create a swap script\", \"smart contract swap integration\", \"use Universal Router\", \"Trading API\", or mentions swapping tokens via Uniswap.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3416,3417,3418,3419],{"name":3379,"slug":3380,"type":15},{"name":3328,"slug":3329,"type":15},{"name":3316,"slug":3317,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:08:10.354222",{"slug":3422,"name":3422,"fn":3423,"description":3424,"org":3425,"tags":3426,"stars":22,"repoUrl":23,"updatedAt":3431},"swap-planner","plan and execute token swaps","This skill should be used when the user asks to \"swap tokens\", \"trade ETH for USDC\", \"exchange tokens on Uniswap\", \"buy tokens\", \"sell tokens\", \"convert ETH to stablecoins\", \"find memecoins\", \"discover tokens\", \"research tokens\", \"tokens to buy\", \"find tokens to swap\", \"what should I buy\", or mentions swapping, trading, researching, discovering, buying, or exchanging tokens on any Uniswap-supported chain. Supports both known token swaps and token discovery workflows (discovery uses keyword search and web search — there is no live \"trending\" feed). Generates deep links to execute swaps in the Uniswap interface.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3427,3428,3429,3430],{"name":3328,"slug":3329,"type":15},{"name":3368,"slug":3369,"type":15},{"name":3316,"slug":3317,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:08:10.008152",{"slug":4,"name":4,"fn":5,"description":6,"org":3433,"tags":3434,"stars":22,"repoUrl":23,"updatedAt":24},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3435,3436,3437],{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"items":3439,"total":2212},[3440,3447,3454,3461,3468,3475,3482],{"slug":3293,"name":3293,"fn":3294,"description":3295,"org":3441,"tags":3442,"stars":22,"repoUrl":23,"updatedAt":3304},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3443,3444,3445,3446],{"name":3299,"slug":3300,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"slug":3306,"name":3306,"fn":3307,"description":3308,"org":3448,"tags":3449,"stars":22,"repoUrl":23,"updatedAt":3319},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3450,3451,3452,3453],{"name":3312,"slug":3313,"type":15},{"name":20,"slug":21,"type":15},{"name":3316,"slug":3317,"type":15},{"name":13,"slug":14,"type":15},{"slug":3321,"name":3321,"fn":3322,"description":3323,"org":3455,"tags":3456,"stars":22,"repoUrl":23,"updatedAt":3332},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3457,3458,3459,3460],{"name":3312,"slug":3313,"type":15},{"name":3328,"slug":3329,"type":15},{"name":3316,"slug":3317,"type":15},{"name":13,"slug":14,"type":15},{"slug":3334,"name":3334,"fn":3335,"description":3336,"org":3462,"tags":3463,"stars":22,"repoUrl":23,"updatedAt":3345},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3464,3465,3466,3467],{"name":3340,"slug":3341,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"slug":3347,"name":3347,"fn":3348,"description":3349,"org":3469,"tags":3470,"stars":22,"repoUrl":23,"updatedAt":3358},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3471,3472,3473,3474],{"name":20,"slug":21,"type":15},{"name":3354,"slug":3355,"type":15},{"name":3316,"slug":3317,"type":15},{"name":13,"slug":14,"type":15},{"slug":3360,"name":3360,"fn":3361,"description":3362,"org":3476,"tags":3477,"stars":22,"repoUrl":23,"updatedAt":3371},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3478,3479,3480,3481],{"name":3328,"slug":3329,"type":15},{"name":20,"slug":21,"type":15},{"name":3368,"slug":3369,"type":15},{"name":13,"slug":14,"type":15},{"slug":3373,"name":3373,"fn":3374,"description":3375,"org":3483,"tags":3484,"stars":22,"repoUrl":23,"updatedAt":3384},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3485,3486,3487,3488],{"name":3379,"slug":3380,"type":15},{"name":3328,"slug":3329,"type":15},{"name":3368,"slug":3369,"type":15},{"name":13,"slug":14,"type":15}]