{"version":3,"sources":["jsdelivr-header.js","/npm/@nomicfoundation/hardhat-ignition@3.0.8/dist/src/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCNS,UAAW,SAAY,wBACvB,iBAAoB,iCACpB,cAAiB,gCACnB,uBACP,MAAM,sBAAwB,CAC1B,GAAI,UACJ,WAAY,oCACZ,aAAc,CACV,OAAQ,IAAM,OAAO,uCAEzB,aAAc,IAAM,CAAC,OAAO,oCAC5B,MAAO,CACH,UAAU,WAAY,sDAAsD,QAC5E,KAAK,CAAC,WAAY,UAAW,4CACxB,sBAAsB,CACvB,KAAM,aACN,KAAM,aAAa,OACnB,YAAa,0CAEZ,UAAU,CACX,KAAM,aACN,KAAM,aAAa,qBACnB,YAAa,kEACb,kBAAc,IAEb,UAAU,CACX,KAAM,eACN,KAAM,aAAa,uBACnB,YAAa,+BACb,kBAAc,IAEb,UAAU,CACX,KAAM,gBACN,KAAM,aAAa,uBACnB,YAAa,4CACb,kBAAc,IAEb,UAAU,CACX,KAAM,WACN,KAAM,aAAa,OACnB,YAAa,qCACb,aAAc,UAEb,QAAQ,CACT,KAAM,QACN,YAAa,yDAEZ,QAAQ,CACT,KAAM,SACN,YAAa,uCAEZ,QAAQ,CACT,KAAM,2BACN,YAAa,iFAEZ,WAAU,IAAM,OAAO,gCACvB,QACL,KAAK,CAAC,WAAY,UAAW,2CACxB,sBAAsB,CACvB,KAAM,eACN,KAAM,aAAa,OACnB,YAAa,qCAEZ,WAAU,IAAM,OAAO,gCACvB,QACL,KAAK,CAAC,WAAY,eAAgB,2BAC7B,WAAU,IAAM,OAAO,qCACvB,QACL,KAAK,CAAC,WAAY,gBAAiB,gDAC9B,sBAAsB,CACvB,KAAM,eACN,KAAM,aAAa,OACnB,YAAa,sDAEZ,WAAU,IAAM,OAAO,sCACvB,QACL,KAAK,CAAC,WAAY,QAAS,kDACtB,sBAAsB,CACvB,KAAM,eACN,KAAM,aAAa,OACnB,YAAa,qDAEZ,sBAAsB,CACvB,KAAM,WACN,KAAM,aAAa,OACnB,YAAa,iCAEZ,WAAU,IAAM,OAAO,8BACvB,QACL,KAAK,CAAC,WAAY,aAAc,wCAC3B,sBAAsB,CACvB,KAAM,aACN,KAAM,aAAa,KACnB,YAAa,6CAEZ,QAAQ,CACT,KAAM,SACN,YAAa,uCAEZ,WAAU,IAAM,OAAO,mCACvB,QACL,KAAK,CAAC,WAAY,UAAW,6EACxB,sBAAsB,CACvB,KAAM,eACN,KAAM,aAAa,OACnB,YAAa,uCAEZ,QAAQ,CACT,KAAM,QACN,YAAa,uBAEZ,WAAU,IAAM,OAAO,gCACvB,QACL,KAAK,CAAC,WAAY,YAAa,gIAC1B,sBAAsB,CACvB,KAAM,SACN,KAAM,aAAa,OACnB,YAAa,yCAEZ,sBAAsB,CACvB,KAAM,eACN,KAAM,aAAa,OACnB,YAAa,8CAEZ,WAAU,IAAM,OAAO,kCACvB,QACL,KAAK,CAAC,WAAY,WAAY,iDACzB,sBAAsB,CACvB,KAAM,eACN,KAAM,aAAa,OACnB,YAAa,wCAEZ,WAAU,IAAM,OAAO,iCACvB,yBAGE","file":"/npm/@nomicfoundation/hardhat-ignition@3.0.8/dist/src/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@nomicfoundation/hardhat-ignition@3.0.8/dist/src/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import { emptyTask, task } from \"hardhat/config\";\nimport { ArgumentType } from \"hardhat/types/arguments\";\nimport { PLUGIN_ID } from \"./internal/constants.js\";\nimport \"./type-extensions.js\";\nconst hardhatIgnitionPlugin = {\n    id: PLUGIN_ID,\n    npmPackage: \"@nomicfoundation/hardhat-ignition\",\n    hookHandlers: {\n        config: () => import(\"./internal/hook-handlers/config.js\"),\n    },\n    dependencies: () => [import(\"@nomicfoundation/hardhat-verify\")],\n    tasks: [\n        emptyTask(\"ignition\", \"Deploy your smart contracts using Hardhat Ignition\").build(),\n        task([\"ignition\", \"deploy\"], \"Deploy a module to the specified network\")\n            .addPositionalArgument({\n            name: \"modulePath\",\n            type: ArgumentType.STRING,\n            description: \"The path to the module file to deploy\",\n        })\n            .addOption({\n            name: \"parameters\",\n            type: ArgumentType.FILE_WITHOUT_DEFAULT,\n            description: \"A relative path to a JSON file to use for the module parameters\",\n            defaultValue: undefined,\n        })\n            .addOption({\n            name: \"deploymentId\",\n            type: ArgumentType.STRING_WITHOUT_DEFAULT,\n            description: \"Set the id of the deployment\",\n            defaultValue: undefined,\n        })\n            .addOption({\n            name: \"defaultSender\",\n            type: ArgumentType.STRING_WITHOUT_DEFAULT,\n            description: \"Set the default sender for the deployment\",\n            defaultValue: undefined,\n        })\n            .addOption({\n            name: \"strategy\",\n            type: ArgumentType.STRING,\n            description: \"Set the deployment strategy to use\",\n            defaultValue: \"basic\",\n        })\n            .addFlag({\n            name: \"reset\",\n            description: \"Wipes the existing deployment state before deploying\",\n        })\n            .addFlag({\n            name: \"verify\",\n            description: \"Verify the deployment on Etherscan\",\n        })\n            .addFlag({\n            name: \"writeLocalhostDeployment\",\n            description: \"Write deployment information to disk when deploying to the in-memory network\",\n        })\n            .setAction(() => import(\"./internal/tasks/deploy.js\"))\n            .build(),\n        task([\"ignition\", \"status\"], \"Show the current status of a deployment\")\n            .addPositionalArgument({\n            name: \"deploymentId\",\n            type: ArgumentType.STRING,\n            description: \"The id of the deployment to show\",\n        })\n            .setAction(() => import(\"./internal/tasks/status.js\"))\n            .build(),\n        task([\"ignition\", \"deployments\"], \"List all deployment IDs\")\n            .setAction(() => import(\"./internal/tasks/deployments.js\"))\n            .build(),\n        task([\"ignition\", \"transactions\"], \"Show all transactions for a given deployment\")\n            .addPositionalArgument({\n            name: \"deploymentId\",\n            type: ArgumentType.STRING,\n            description: \"The id of the deployment to show transactions for\",\n        })\n            .setAction(() => import(\"./internal/tasks/transactions.js\"))\n            .build(),\n        task([\"ignition\", \"wipe\"], \"Reset a deployment's future to allow rerunning\")\n            .addPositionalArgument({\n            name: \"deploymentId\",\n            type: ArgumentType.STRING,\n            description: \"The id of the deployment with the future to wipe\",\n        })\n            .addPositionalArgument({\n            name: \"futureId\",\n            type: ArgumentType.STRING,\n            description: \"The id of the future to wipe\",\n        })\n            .setAction(() => import(\"./internal/tasks/wipe.js\"))\n            .build(),\n        task([\"ignition\", \"visualize\"], \"Visualize a module as an HTML report\")\n            .addPositionalArgument({\n            name: \"modulePath\",\n            type: ArgumentType.FILE,\n            description: \"The path to the module file to visualize\",\n        })\n            .addFlag({\n            name: \"noOpen\",\n            description: \"Disables opening report in browser\",\n        })\n            .setAction(() => import(\"./internal/tasks/visualize.js\"))\n            .build(),\n        task([\"ignition\", \"verify\"], \"Verify contracts from a deployment against the configured block explorers\")\n            .addPositionalArgument({\n            name: \"deploymentId\",\n            type: ArgumentType.STRING,\n            description: \"The id of the deployment to verify\",\n        })\n            .addFlag({\n            name: \"force\",\n            description: \"Force verification\",\n        })\n            .setAction(() => import(\"./internal/tasks/verify.js\"))\n            .build(),\n        task([\"ignition\", \"track-tx\"], \"Track a transaction that is missing from a given deployment. Only use if a Hardhat Ignition error message suggests to do so.\")\n            .addPositionalArgument({\n            name: \"txHash\",\n            type: ArgumentType.STRING,\n            description: \"The hash of the transaction to track\",\n        })\n            .addPositionalArgument({\n            name: \"deploymentId\",\n            type: ArgumentType.STRING,\n            description: \"The id of the deployment to add the tx to\",\n        })\n            .setAction(() => import(\"./internal/tasks/track-tx.js\"))\n            .build(),\n        task([\"ignition\", \"migrate\"], \"Migrate artifacts to the new Hardhat 3 format\")\n            .addPositionalArgument({\n            name: \"deploymentId\",\n            type: ArgumentType.STRING,\n            description: \"The id of the deployment to migrate\",\n        })\n            .setAction(() => import(\"./internal/tasks/migrate.js\"))\n            .build(),\n    ],\n};\nexport default hardhatIgnitionPlugin;\n"]}