{"version":3,"sources":["jsdelivr-header.js","/npm/hardhat-chainlink@0.2.4/dist/src/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,MAAM,SAAW,QAAQ,kBACnB,UAAY,QAAQ,mBAC1B,QAAQ,qBACR,MAAM,gBAAkB,QAAQ,8CAC1B,mBAAqB,QAAQ,sBAC7B,WAAa,QAAQ,oBACrB,aAAe,QAAQ,sBACvB,oBAAsB,QAAQ,6BAC9B,gBAAkB,QAAQ,yBAC1B,OAAS,QAAQ,gBACjB,YAAc,QAAQ,sBAC5B,EAAI,SAAS,eAAc,CAAC,EAAQ,KAAT,KAC3B,EAAI,SAAS,oBAAoB,IAC7B,EAAI,WAAY,EAAI,UAAU,aAAY,IAAM,IAAI,mBAAmB,iBAAiB,IAAK,KAEjG,EAAI,SAAS,MAAM,qBAAsB,2BACpC,2BAA2B,cAAe,2EAA2E,EAAO,gBAAgB,SAC5I,UAAU,WAAW,UAC1B,EAAI,SAAS,MAAM,uBAAwB,mBACtC,mBAAmB,gBAAiB,qBACpC,2BAA2B,UAAW,iBAAkB,UACxD,UAAU,aAAa,YAC5B,EAAI,SAAS,MAAM,wBAAyB,8CAA8C,UAAU,oBAAoB,kBACxH,EAAI,SAAS,MAAM,0BAA2B,sBACzC,mBAAmB,cAAe,oBAClC,mBAAmB,cAAe,0BAClC,UAAU,gBAAgB,eAC/B,EAAI,SAAS,MAAM,qBAAsB,2BACpC,mBAAmB,cAAe,oBAClC,mBAAmB,SAAU,kBAC7B,UAAU,OAAO,UACtB,EAAI,SAAS,MAAM,sBAAuB,4BACrC,mBAAmB,cAAe,0BAClC,mBAAmB,kBAAmB,iCACtC,UAAU,OAAO,WACtB,EAAI,SAAS,MAAM,sBAAuB,iBAAiB,UAAU,YAAY","file":"/npm/hardhat-chainlink@0.2.4/dist/src/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/hardhat-chainlink@0.2.4/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","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst config_1 = require(\"hardhat/config\");\nconst plugins_1 = require(\"hardhat/plugins\");\nrequire(\"./type-extensions\");\nconst argumentTypes_1 = require(\"hardhat/internal/core/params/argumentTypes\");\nconst HardhatChainlink_1 = require(\"./HardhatChainlink\");\nconst run_node_1 = require(\"./tasks/run-node\");\nconst create_job_1 = require(\"./tasks/create-job\");\nconst deploy_link_token_1 = require(\"./tasks/deploy-link-token\");\nconst deploy_oracle_1 = require(\"./tasks/deploy-oracle\");\nconst fund_1 = require(\"./tasks/fund\");\nconst node_info_1 = require(\"./tasks/node-info\");\n(0, config_1.extendConfig)((config, userConfig) => { });\n(0, config_1.extendEnvironment)((hre) => {\n    hre.chainlink = (0, plugins_1.lazyObject)(() => new HardhatChainlink_1.HardhatChainlink(hre));\n});\n(0, config_1.task)('chainlink:run-node', 'Runs the chainlink node')\n    .addOptionalPositionalParam('restartOnly', 'Restart the existing containers instead of removing and recreating them', false, argumentTypes_1.boolean)\n    .setAction(run_node_1.runNode);\n(0, config_1.task)('chainlink:create-job', 'Creates the job')\n    .addPositionalParam('oracleAddress', 'Address of Oracle')\n    .addOptionalPositionalParam('jobType', 'direct or cron', 'direct')\n    .setAction(create_job_1.createJob);\n(0, config_1.task)('chainlink:deploy-link', 'Deploys the Link token into a running node').setAction(deploy_link_token_1.deployLinkToken);\n(0, config_1.task)('chainlink:deploy-oracle', 'Deploys the oracle')\n    .addPositionalParam('nodeAddress', 'The node address')\n    .addPositionalParam('linkAddress', 'The Link token address')\n    .setAction(deploy_oracle_1.deployOracle);\n(0, config_1.task)('chainlink:fund-eth', 'Funds the node with ETH')\n    .addPositionalParam('nodeAddress', 'The node address')\n    .addPositionalParam('amount', 'Amount to fund')\n    .setAction(fund_1.fundEth);\n(0, config_1.task)('chainlink:fund-link', 'Funds the node with LINK')\n    .addPositionalParam('linkAddress', 'The link token address')\n    .addPositionalParam('contractAddress', 'The consumer contract address')\n    .setAction(fund_1.fundLink);\n(0, config_1.task)('chainlink:node-info', 'Get node info').setAction(node_info_1.nodeInfo);\n"]}