diff --git a/.pnp.cjs b/.pnp.cjs index 81fdb2bd..ad0db535 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -88,7 +88,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "@ethersproject/abi",\ - "npm:5.0.7"\ + "npm:5.6.0"\ ],\ [\ "@ethersproject/abstract-provider",\ @@ -276,11 +276,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "@sindresorhus/is",\ - "npm:0.14.0"\ + "npm:4.6.0"\ ],\ [\ "@szmarczak/http-timer",\ - "npm:1.1.2"\ + "npm:5.0.1"\ ],\ [\ "@tootallnate/once",\ @@ -648,7 +648,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "bufferutil",\ - "npm:4.0.6"\ + "npm:4.0.5"\ ],\ [\ "bytes",\ @@ -664,7 +664,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "cacheable-request",\ - "npm:6.1.0"\ + "npm:7.0.2"\ ],\ [\ "call-bind",\ @@ -708,7 +708,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "chownr",\ - "npm:1.1.4"\ + "npm:2.0.0"\ ],\ [\ "cids",\ @@ -740,11 +740,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "color-convert",\ - "npm:1.9.3"\ + "npm:2.0.1"\ ],\ [\ "color-name",\ - "npm:1.1.3"\ + "npm:1.1.4"\ ],\ [\ "color-support",\ @@ -754,6 +754,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "combined-stream",\ "npm:1.0.8"\ ],\ + [\ + "command-exists",\ + "npm:1.2.9"\ + ],\ [\ "commander",\ "npm:2.20.3"\ @@ -800,7 +804,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "core-util-is",\ - "npm:1.0.2"\ + "npm:1.0.3"\ ],\ [\ "cors",\ @@ -860,7 +864,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "debug",\ - "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"\ + "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"\ ],\ [\ "decode-uri-component",\ @@ -880,7 +884,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "defer-to-connect",\ - "npm:1.1.3"\ + "npm:2.0.1"\ ],\ [\ "define-properties",\ @@ -995,7 +999,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "npm:1.4.4"\ ],\ [\ - "ens-contracts",\ + "ens-contracts-namewrapper",\ + "https://github.com/ensdomains/ens-contracts.git#commit=9b42c4b57e76aa4041847579c0bd5c3ca3cf6375"\ + ],\ + [\ + "ens-contracts-universal",\ "https://github.com/ensdomains/ens-contracts.git#commit=5c27bec6bf0b86797c3482ada66152443de421a0"\ ],\ [\ @@ -1040,7 +1048,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "escape-string-regexp",\ - "npm:1.0.5"\ + "npm:4.0.0"\ ],\ [\ "eslint",\ @@ -1620,7 +1628,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "js-sha3",\ - "npm:0.5.7"\ + "npm:0.8.0"\ ],\ [\ "js-yaml",\ @@ -1632,7 +1640,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "json-buffer",\ - "npm:3.0.0"\ + "npm:3.0.1"\ ],\ [\ "json-schema",\ @@ -1664,11 +1672,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "keccak",\ - "npm:3.0.2"\ + "npm:3.0.1"\ ],\ [\ "keyv",\ - "npm:3.1.0"\ + "npm:4.1.1"\ ],\ [\ "level-concat-iterator",\ @@ -1742,6 +1750,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "media-typer",\ "npm:0.3.0"\ ],\ + [\ + "memorystream",\ + "npm:0.3.1"\ + ],\ [\ "merge-descriptors",\ "npm:1.0.1"\ @@ -1904,7 +1916,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "normalize-url",\ - "npm:4.5.1"\ + "npm:6.1.0"\ ],\ [\ "npmlog",\ @@ -1958,9 +1970,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "optionator",\ "npm:0.9.1"\ ],\ + [\ + "os-tmpdir",\ + "npm:1.0.2"\ + ],\ [\ "p-cancelable",\ - "npm:1.1.0"\ + "npm:3.0.0"\ ],\ [\ "p-finally",\ @@ -2196,7 +2212,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "secp256k1",\ - "npm:4.0.3"\ + "npm:4.0.2"\ ],\ [\ "semver",\ @@ -2270,6 +2286,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "socks-proxy-agent",\ "npm:6.1.1"\ ],\ + [\ + "solc",\ + "npm:0.8.13"\ + ],\ [\ "source-map",\ "npm:0.6.1"\ @@ -2340,7 +2360,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "supports-color",\ - "npm:5.5.0"\ + "npm:7.2.0"\ ],\ [\ "swarm-js",\ @@ -2370,6 +2390,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "timed-out",\ "npm:4.0.1"\ ],\ + [\ + "tmp",\ + "npm:0.0.33"\ + ],\ [\ "to-readable-stream",\ "npm:1.0.0"\ @@ -2460,7 +2484,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "universalify",\ - "npm:0.1.2"\ + "npm:2.0.0"\ ],\ [\ "unpipe",\ @@ -2484,7 +2508,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "utf-8-validate",\ - "npm:5.0.9"\ + "npm:5.0.7"\ ],\ [\ "utf8",\ @@ -2648,7 +2672,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "ws",\ - "virtual:f0336c84008699a86abfadce785f4a22941161f29b5b5e6919a8c7693f76e5c3938176dc2db06c085dc60cce29a261dc2ce48f374b1356bc1c873e5683508a38#npm:3.3.3"\ + "virtual:ab1be870460e3ff3576f54a7e9c32c4a8505fbef0e6bbc8dda580e71134bac790a28054c59d4cbb48c72d638a7d9b9f749a341d6ae616511f9296eea98f9a72f#npm:7.4.6"\ ],\ [\ "xhr",\ @@ -2710,8 +2734,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageDependencies": [\ ["@typescript-eslint/eslint-plugin", "virtual:18871a8dec559cd45f159cc6ccc35dca6943896d73c1129c917a6367a95f6a0920e5882fbc8f2d0416f94184bd0f22f6747f25ff9398c218d855f8cc83da6ea8#npm:5.15.0"],\ ["@typescript-eslint/parser", "virtual:18871a8dec559cd45f159cc6ccc35dca6943896d73c1129c917a6367a95f6a0920e5882fbc8f2d0416f94184bd0f22f6747f25ff9398c218d855f8cc83da6ea8#npm:5.15.0"],\ - ["dotenv", "npm:16.0.0"],\ - ["ens-contracts", "https://github.com/ensdomains/ens-contracts.git#commit=5c27bec6bf0b86797c3482ada66152443de421a0"],\ ["eslint", "npm:8.11.0"],\ ["eslint-config-airbnb", "virtual:18871a8dec559cd45f159cc6ccc35dca6943896d73c1129c917a6367a95f6a0920e5882fbc8f2d0416f94184bd0f22f6747f25ff9398c218d855f8cc83da6ea8#npm:19.0.4"],\ ["eslint-config-airbnb-base", "virtual:18871a8dec559cd45f159cc6ccc35dca6943896d73c1129c917a6367a95f6a0920e5882fbc8f2d0416f94184bd0f22f6747f25ff9398c218d855f8cc83da6ea8#npm:15.0.0"],\ @@ -2802,7 +2824,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./packages/ensjs/",\ "packageDependencies": [\ ["@ensdomains/ensjs", "workspace:packages/ensjs"],\ - ["@ensdomains/ens-contracts", "npm:0.0.11"]\ + ["@ensdomains/buffer", "npm:0.0.13"],\ + ["@ensdomains/ens-contracts", "npm:0.0.11"],\ + ["@ensdomains/ens-test-env", "workspace:packages/ens-test-env"],\ + ["@openzeppelin/contracts", "npm:4.5.0"],\ + ["dotenv", "npm:16.0.0"],\ + ["ens-contracts-namewrapper", "https://github.com/ensdomains/ens-contracts.git#commit=9b42c4b57e76aa4041847579c0bd5c3ca3cf6375"],\ + ["ens-contracts-universal", "https://github.com/ensdomains/ens-contracts.git#commit=5c27bec6bf0b86797c3482ada66152443de421a0"],\ + ["ethers", "npm:5.6.1"],\ + ["solc", "npm:0.8.13"]\ ],\ "linkType": "SOFT"\ }]\ @@ -2823,7 +2853,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageDependencies": [\ ["@eslint/eslintrc", "npm:1.2.1"],\ ["ajv", "npm:6.12.6"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["espree", "npm:9.3.1"],\ ["globals", "npm:13.13.0"],\ ["ignore", "npm:5.2.0"],\ @@ -3338,7 +3368,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageDependencies": [\ ["@humanwhocodes/config-array", "npm:0.9.5"],\ ["@humanwhocodes/object-schema", "npm:1.2.1"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["minimatch", "npm:3.1.2"]\ ],\ "linkType": "HARD"\ @@ -3595,7 +3625,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["big.js", "npm:5.2.2"],\ ["bn.js", "npm:4.12.0"],\ ["borc", "npm:2.1.2"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["lodash.clonedeep", "npm:4.5.0"],\ ["lodash.escaperegexp", "npm:4.1.2"],\ ["lodash.partition", "npm:4.6.0"],\ @@ -3614,7 +3644,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageDependencies": [\ ["@truffle/contract-schema", "npm:3.4.6"],\ ["ajv", "npm:6.12.6"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"]\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"]\ ],\ "linkType": "HARD"\ }]\ @@ -3627,7 +3657,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@truffle/codec", "npm:0.7.1"],\ ["@trufflesuite/chromafi", "npm:2.2.2"],\ ["chalk", "npm:2.4.2"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["highlight.js", "npm:9.18.5"],\ ["highlightjs-solidity", "npm:1.2.2"]\ ],\ @@ -3858,7 +3888,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@typescript-eslint/scope-manager", "npm:5.15.0"],\ ["@typescript-eslint/type-utils", "virtual:9006629c97a0d35db134e9829cd17741f248bb2c5b58b70b65a9240543c6ede5f5bfa043211098a60df1c7fc1bc62f6fa191ab543ebd7b1c26dcc40f75adff28#npm:5.15.0"],\ ["@typescript-eslint/utils", "virtual:9006629c97a0d35db134e9829cd17741f248bb2c5b58b70b65a9240543c6ede5f5bfa043211098a60df1c7fc1bc62f6fa191ab543ebd7b1c26dcc40f75adff28#npm:5.15.0"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["eslint", "npm:8.11.0"],\ ["functional-red-black-tree", "npm:1.0.1"],\ ["ignore", "npm:5.2.0"],\ @@ -3895,7 +3925,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@typescript-eslint/scope-manager", "npm:5.15.0"],\ ["@typescript-eslint/types", "npm:5.15.0"],\ ["@typescript-eslint/typescript-estree", "virtual:6abab19c08d6312349db2e4d018843cfe8efaec3ee0d8099e5a2c5850e0ff78d98738e1cb21b2a52e614f24d835cf4a044f9de9f89f36d0064d66e8afc1128f2#npm:5.15.0"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["eslint", "npm:8.11.0"],\ ["typescript", "patch:typescript@npm%3A4.6.2#~builtin::version=4.6.2&hash=bda367"]\ ],\ @@ -3934,7 +3964,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/eslint", null],\ ["@types/typescript", null],\ ["@typescript-eslint/utils", "virtual:9006629c97a0d35db134e9829cd17741f248bb2c5b58b70b65a9240543c6ede5f5bfa043211098a60df1c7fc1bc62f6fa191ab543ebd7b1c26dcc40f75adff28#npm:5.15.0"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["eslint", "npm:8.11.0"],\ ["tsutils", "virtual:9006629c97a0d35db134e9829cd17741f248bb2c5b58b70b65a9240543c6ede5f5bfa043211098a60df1c7fc1bc62f6fa191ab543ebd7b1c26dcc40f75adff28#npm:3.21.0"],\ ["typescript", "patch:typescript@npm%3A4.6.2#~builtin::version=4.6.2&hash=bda367"]\ @@ -3972,7 +4002,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/typescript", null],\ ["@typescript-eslint/types", "npm:5.15.0"],\ ["@typescript-eslint/visitor-keys", "npm:5.15.0"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["globby", "npm:11.1.0"],\ ["is-glob", "npm:4.0.3"],\ ["semver", "npm:7.3.5"],\ @@ -3992,7 +4022,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/typescript", null],\ ["@typescript-eslint/types", "npm:5.15.0"],\ ["@typescript-eslint/visitor-keys", "npm:5.15.0"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["globby", "npm:11.1.0"],\ ["is-glob", "npm:4.0.3"],\ ["semver", "npm:7.3.5"],\ @@ -4134,7 +4164,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip/node_modules/agent-base/",\ "packageDependencies": [\ ["agent-base", "npm:6.0.2"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"]\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"]\ ],\ "linkType": "HARD"\ }]\ @@ -4144,7 +4174,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/cache/agentkeepalive-npm-4.2.1-b86a9fb343-39cb49ed8c.zip/node_modules/agentkeepalive/",\ "packageDependencies": [\ ["agentkeepalive", "npm:4.2.1"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["depd", "npm:1.1.2"],\ ["humanize-ms", "npm:1.2.1"]\ ],\ @@ -5099,6 +5129,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["command-exists", [\ + ["npm:1.2.9", {\ + "packageLocation": "./.yarn/cache/command-exists-npm-1.2.9-cc51a1f78a-729ae3d88a.zip/node_modules/command-exists/",\ + "packageDependencies": [\ + ["command-exists", "npm:1.2.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["commander", [\ ["npm:2.20.3", {\ "packageLocation": "./.yarn/cache/commander-npm-2.20.3-d8dcbaa39b-ab8c07884e.zip/node_modules/commander/",\ @@ -5106,6 +5145,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["commander", "npm:2.20.3"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:8.3.0", {\ + "packageLocation": "./.yarn/cache/commander-npm-8.3.0-c0d18c66d5-0f82321821.zip/node_modules/commander/",\ + "packageDependencies": [\ + ["commander", "npm:8.3.0"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["concat-map", [\ @@ -5420,10 +5466,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ "linkType": "HARD"\ }],\ - ["virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3", {\ - "packageLocation": "./.yarn/__virtual__/debug-virtual-6ed181951f/0/cache/debug-npm-4.3.3-710fd4cc7f-14472d56fe.zip/node_modules/debug/",\ + ["virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3", {\ + "packageLocation": "./.yarn/__virtual__/debug-virtual-95a535adad/0/cache/debug-npm-4.3.3-710fd4cc7f-14472d56fe.zip/node_modules/debug/",\ "packageDependencies": [\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["@types/supports-color", null],\ ["ms", "npm:2.1.2"],\ ["supports-color", null]\ @@ -5776,11 +5822,24 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ - ["ens-contracts", [\ + ["ens-contracts-namewrapper", [\ + ["https://github.com/ensdomains/ens-contracts.git#commit=9b42c4b57e76aa4041847579c0bd5c3ca3cf6375", {\ + "packageLocation": "./.yarn/cache/ens-contracts-namewrapper-https-fba17cd56b-2de96c7734.zip/node_modules/ens-contracts-namewrapper/",\ + "packageDependencies": [\ + ["ens-contracts-namewrapper", "https://github.com/ensdomains/ens-contracts.git#commit=9b42c4b57e76aa4041847579c0bd5c3ca3cf6375"],\ + ["@ensdomains/buffer", "npm:0.0.13"],\ + ["@ensdomains/solsha1", "npm:0.0.3"],\ + ["@openzeppelin/contracts", "npm:4.5.0"],\ + ["dns-packet", "npm:5.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["ens-contracts-universal", [\ ["https://github.com/ensdomains/ens-contracts.git#commit=5c27bec6bf0b86797c3482ada66152443de421a0", {\ - "packageLocation": "./.yarn/unplugged/ens-contracts-https-0b4151b74e/node_modules/ens-contracts/",\ + "packageLocation": "./.yarn/cache/ens-contracts-universal-https-0d4521819c-9256b1fbc0.zip/node_modules/ens-contracts-universal/",\ "packageDependencies": [\ - ["ens-contracts", "https://github.com/ensdomains/ens-contracts.git#commit=5c27bec6bf0b86797c3482ada66152443de421a0"],\ + ["ens-contracts-universal", "https://github.com/ensdomains/ens-contracts.git#commit=5c27bec6bf0b86797c3482ada66152443de421a0"],\ ["@ensdomains/buffer", "npm:0.0.13"],\ ["@ensdomains/solsha1", "npm:0.0.3"],\ ["@openzeppelin/contracts", "npm:4.5.0"],\ @@ -5796,8 +5855,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["ensjs-monorepo", "workspace:."],\ ["@typescript-eslint/eslint-plugin", "virtual:18871a8dec559cd45f159cc6ccc35dca6943896d73c1129c917a6367a95f6a0920e5882fbc8f2d0416f94184bd0f22f6747f25ff9398c218d855f8cc83da6ea8#npm:5.15.0"],\ ["@typescript-eslint/parser", "virtual:18871a8dec559cd45f159cc6ccc35dca6943896d73c1129c917a6367a95f6a0920e5882fbc8f2d0416f94184bd0f22f6747f25ff9398c218d855f8cc83da6ea8#npm:5.15.0"],\ - ["dotenv", "npm:16.0.0"],\ - ["ens-contracts", "https://github.com/ensdomains/ens-contracts.git#commit=5c27bec6bf0b86797c3482ada66152443de421a0"],\ ["eslint", "npm:8.11.0"],\ ["eslint-config-airbnb", "virtual:18871a8dec559cd45f159cc6ccc35dca6943896d73c1129c917a6367a95f6a0920e5882fbc8f2d0416f94184bd0f22f6747f25ff9398c218d855f8cc83da6ea8#npm:19.0.4"],\ ["eslint-config-airbnb-base", "virtual:18871a8dec559cd45f159cc6ccc35dca6943896d73c1129c917a6367a95f6a0920e5882fbc8f2d0416f94184bd0f22f6747f25ff9398c218d855f8cc83da6ea8#npm:15.0.0"],\ @@ -5959,7 +6016,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["ajv", "npm:6.12.6"],\ ["chalk", "npm:4.1.2"],\ ["cross-spawn", "npm:7.0.3"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["doctrine", "npm:3.0.0"],\ ["escape-string-regexp", "npm:4.0.0"],\ ["eslint-scope", "npm:7.1.1"],\ @@ -7382,7 +7439,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["http-proxy-agent", "npm:5.0.0"],\ ["@tootallnate/once", "npm:2.0.0"],\ ["agent-base", "npm:6.0.2"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"]\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"]\ ],\ "linkType": "HARD"\ }]\ @@ -7416,7 +7473,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageDependencies": [\ ["https-proxy-agent", "npm:5.0.0"],\ ["agent-base", "npm:6.0.2"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"]\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"]\ ],\ "linkType": "HARD"\ }]\ @@ -8274,6 +8331,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["memorystream", [\ + ["npm:0.3.1", {\ + "packageLocation": "./.yarn/cache/memorystream-npm-0.3.1-ae973f1d16-f18b42440d.zip/node_modules/memorystream/",\ + "packageDependencies": [\ + ["memorystream", "npm:0.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["merge-descriptors", [\ ["npm:1.0.1", {\ "packageLocation": "./.yarn/cache/merge-descriptors-npm-1.0.1-615287aaa8-5abc259d2a.zip/node_modules/merge-descriptors/",\ @@ -8892,6 +8958,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["os-tmpdir", [\ + ["npm:1.0.2", {\ + "packageLocation": "./.yarn/cache/os-tmpdir-npm-1.0.2-e305b0689b-5666560f7b.zip/node_modules/os-tmpdir/",\ + "packageDependencies": [\ + ["os-tmpdir", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["p-cancelable", [\ ["npm:0.3.0", {\ "packageLocation": "./.yarn/cache/p-cancelable-npm-0.3.0-abade43096-2b27639be8.zip/node_modules/p-cancelable/",\ @@ -9609,6 +9684,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["semver", [\ + ["npm:5.7.1", {\ + "packageLocation": "./.yarn/cache/semver-npm-5.7.1-40bcea106b-57fd0acfd0.zip/node_modules/semver/",\ + "packageDependencies": [\ + ["semver", "npm:5.7.1"]\ + ],\ + "linkType": "HARD"\ + }],\ ["npm:6.3.0", {\ "packageLocation": "./.yarn/cache/semver-npm-6.3.0-b3eace8bfd-1b26ecf6db.zip/node_modules/semver/",\ "packageDependencies": [\ @@ -9815,12 +9897,28 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageDependencies": [\ ["socks-proxy-agent", "npm:6.1.1"],\ ["agent-base", "npm:6.0.2"],\ - ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.3"],\ + ["debug", "virtual:62738e6f4a1bb4f8ff35ae41a77cb589aeffb1a2b896f237bc331b5509d0b413c328994ab1431dc8c128ffa7d6ca83d167ebf621c5c6b08297150420be31ce8e#npm:4.3.3"],\ ["socks", "npm:2.6.2"]\ ],\ "linkType": "HARD"\ }]\ ]],\ + ["solc", [\ + ["npm:0.8.13", {\ + "packageLocation": "./.yarn/cache/solc-npm-0.8.13-bc8e8a029b-210a012155.zip/node_modules/solc/",\ + "packageDependencies": [\ + ["solc", "npm:0.8.13"],\ + ["command-exists", "npm:1.2.9"],\ + ["commander", "npm:8.3.0"],\ + ["follow-redirects", "virtual:a1c287d287cceec925a9c0ff143359f3710be8008f8559da00a15e4d93f76849e9493b8b7760d073ae605ea56d1482d54174c007b28cbf6b38332d152576190f#npm:1.14.9"],\ + ["js-sha3", "npm:0.8.0"],\ + ["memorystream", "npm:0.3.1"],\ + ["semver", "npm:5.7.1"],\ + ["tmp", "npm:0.0.33"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["source-map", [\ ["npm:0.6.1", {\ "packageLocation": "./.yarn/cache/source-map-npm-0.6.1-1a3621db16-59ce8640cf.zip/node_modules/source-map/",\ @@ -10143,6 +10241,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["tmp", [\ + ["npm:0.0.33", {\ + "packageLocation": "./.yarn/cache/tmp-npm-0.0.33-bcbf65df2a-902d7aceb7.zip/node_modules/tmp/",\ + "packageDependencies": [\ + ["tmp", "npm:0.0.33"],\ + ["os-tmpdir", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["to-readable-stream", [\ ["npm:1.0.0", {\ "packageLocation": "./.yarn/cache/to-readable-stream-npm-1.0.0-4fa4da8130-2bd7778490.zip/node_modules/to-readable-stream/",\ diff --git a/.yarn/cache/ens-contracts-https-0b4151b74e-e9f58169ef.zip b/.yarn/cache/ens-contracts-https-0b4151b74e-e9f58169ef.zip deleted file mode 100644 index 81e61618..00000000 Binary files a/.yarn/cache/ens-contracts-https-0b4151b74e-e9f58169ef.zip and /dev/null differ diff --git a/package.json b/package.json index 90205ea8..e5e99a5a 100644 --- a/package.json +++ b/package.json @@ -7,22 +7,17 @@ "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.15.0", "@typescript-eslint/parser": "^5.15.0", - "dotenv": "^16.0.0", - "ens-contracts": "github:ensdomains/ens-contracts#universal", "eslint": "^8.11.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^16.1.2", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", - "ethers": "^5.6.1", "prettier": "^2.6.0", "ts-node": "^10.7.0", "typescript": "^4.6.2" }, - "dependenciesMeta": { - "ens-contracts@0.0.8": { - "unplugged": true - } + "dependencies": { + "ethers": "^5.6.1" } } diff --git a/.env.example b/packages/ensjs/.env.example similarity index 100% rename from .env.example rename to packages/ensjs/.env.example diff --git a/packages/ensjs/deployments/NameWrapper.mjs b/packages/ensjs/deployments/NameWrapper.mjs new file mode 100644 index 00000000..dd71697d --- /dev/null +++ b/packages/ensjs/deployments/NameWrapper.mjs @@ -0,0 +1,131 @@ +import { ethers } from 'ethers' +import fs from 'fs' +import nModule from 'module' +import path from 'path' +import solc from 'solc' + +const pnp = nModule.findPnpApi('./') +const contracts = pnp.resolveToUnqualified( + 'ens-contracts-namewrapper/contracts', + './', +) + +const findImports = (ogPath) => (filePath) => { + let newPath = path.resolve(contracts, ogPath, './' + filePath) + if (!fs.existsSync(newPath)) { + newPath = path.resolve(contracts, ogPath, '../' + filePath) + } + if (!fs.existsSync(newPath)) { + newPath = pnp.resolveToUnqualified(filePath, './') + } + return { + contents: fs.readFileSync(newPath, 'utf8'), + } +} + +async function compile(name, inputPath) { + const input = JSON.stringify({ + language: 'Solidity', + sources: { + [name]: { + content: fs.readFileSync( + path.resolve(contracts, inputPath + name + '.sol'), + 'utf8', + ), + }, + }, + settings: { + outputSelection: { + '*': { + '*': ['*'], + }, + }, + optimizer: { + enabled: true, + runs: 200, + }, + }, + }) + const compiled = solc.compile(input, { import: findImports(inputPath) }) + const parsed = JSON.parse(compiled) + return parsed.contracts[name][name] +} + +const deployContract = async (InputContract, args) => { + const deployment = await InputContract.deploy(...args, { + gasLimit: 30000000, + }) + await deployment.deployTransaction.wait() + return deployment.address +} + +export default async (server) => { + let metadataAddress, + wrapperAddress, + resolverAddress, + metadataHost, + wrapperArguments, + resolverArguments, + metadataArguments + ;({ + METADATA_ADDRESS: metadataAddress, + WRAPPER_ADDRESS: wrapperAddress, + RESOLVER_ADDRESS: resolverAddress, + METADATA_HOST: metadataHost, + } = process.env) + + const registryAddress = '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e' + const registrarAddress = '0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85' + const controllerAddress = '0x283Af0B28c62C092C9727F1Ee09c02CA627EB7F5' + const reverseRegisrarAddress = '0x084b1c3C81545d370f3634392De611CaaBFf8148' + const metadataUrl = `${metadataHost}/name/0x{id}` + + const address = server.provider.getInitialAccounts() + const provider = new ethers.providers.Web3Provider(server.provider) + const deployer = provider.getSigner(Object.keys(address)[0]) + + console.log('Deploying wrapper with account:', deployer._address) + + const CompiledNameWrapper = await compile('NameWrapper', 'wrapper/') + const CompiledStaticMetadataService = await compile( + 'StaticMetadataService', + 'wrapper/', + ) + const CompiledPublicResolver = await compile('PublicResolver', 'resolvers/') + + const NameWrapper = ethers.ContractFactory.fromSolidity( + CompiledNameWrapper, + deployer, + ) + const StaticMetadataService = ethers.ContractFactory.fromSolidity( + CompiledStaticMetadataService, + deployer, + ) + const PublicResolver = ethers.ContractFactory.fromSolidity( + CompiledPublicResolver, + deployer, + ) + + console.log('Setting metadata service URL to:', metadataUrl) + console.log('Deploying StaticMetadataService...') + metadataAddress = await deployContract(StaticMetadataService, [metadataUrl]) + console.log('StaticMetadataService Address:', metadataAddress) + + console.log('Deploying NameWrapper...') + wrapperAddress = await deployContract(NameWrapper, [ + registryAddress, + registrarAddress, + metadataAddress, + ]) + console.log('NameWrapper Address:', wrapperAddress) + + console.log('Deploying Resolver...') + resolverAddress = await deployContract(PublicResolver, [ + registryAddress, + wrapperAddress, + controllerAddress, + reverseRegisrarAddress, + ]) + console.log('Resolver Address:', resolverAddress) + return +} diff --git a/packages/ensjs/deployments/UniversalResolver.mjs b/packages/ensjs/deployments/UniversalResolver.mjs new file mode 100644 index 00000000..9c515b88 --- /dev/null +++ b/packages/ensjs/deployments/UniversalResolver.mjs @@ -0,0 +1,83 @@ +import { ethers } from 'ethers' +import fs from 'fs' +import nModule from 'module' +import path from 'path' +import solc from 'solc' + +const pnp = nModule.findPnpApi('./') +const contracts = pnp.resolveToUnqualified( + 'ens-contracts-universal/contracts', + './', +) + +const findImports = (ogPath) => (filePath) => { + let newPath = path.resolve(contracts, ogPath, './' + filePath) + if (!fs.existsSync(newPath)) { + newPath = path.resolve(contracts, ogPath, '../' + filePath) + } + if (!fs.existsSync(newPath)) { + newPath = pnp.resolveToUnqualified(filePath, './') + } + return { + contents: fs.readFileSync(newPath, 'utf8'), + } +} + +async function compile(name, inputPath) { + const input = JSON.stringify({ + language: 'Solidity', + sources: { + [name]: { + content: fs.readFileSync( + path.resolve(contracts, inputPath + name + '.sol'), + 'utf8', + ), + }, + }, + settings: { + outputSelection: { + '*': { + '*': ['*'], + }, + }, + optimizer: { + enabled: true, + runs: 200, + }, + }, + }) + const compiled = solc.compile(input, { import: findImports(inputPath) }) + const parsed = JSON.parse(compiled) + return parsed.contracts[name][name] +} + +const deployContract = async (InputContract, args) => { + const deployment = await InputContract.deploy(...args, { + gasLimit: 30000000, + }) + await deployment.deployTransaction.wait() + return deployment.address +} + +export default async (server) => { + const registryAddress = '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e' + + const address = server.provider.getInitialAccounts() + const provider = new ethers.providers.Web3Provider(server.provider) + const deployer = provider.getSigner(Object.keys(address)[0]) + + console.log('Deploying UniversalResolver with account:', deployer._address) + + const CompiledUniversalResolver = await compile('UniversalResolver', 'utils/') + + const UniversalResolver = ethers.ContractFactory.fromSolidity( + CompiledUniversalResolver, + deployer, + ) + + const universalResolverAddress = await deployContract(UniversalResolver, [ + registryAddress, + ]) + console.log('Universal Resolver Address:', universalResolverAddress) + return +} diff --git a/ens-test-env.config.js b/packages/ensjs/ens-test-env.config.js similarity index 87% rename from ens-test-env.config.js rename to packages/ensjs/ens-test-env.config.js index 230e7b0e..5a99a48b 100644 --- a/ens-test-env.config.js +++ b/packages/ensjs/ens-test-env.config.js @@ -1,4 +1,4 @@ -require('dotenv').config({ path: process.env.PROJECT_CWD + '/.env' }) +require('dotenv').config({ path: process.env.INIT_CWD + '/.env' }) module.exports = { ganache: { diff --git a/packages/ensjs/package.json b/packages/ensjs/package.json index 60cfce5d..25f46a0e 100644 --- a/packages/ensjs/package.json +++ b/packages/ensjs/package.json @@ -11,7 +11,17 @@ }, "packageManager": "yarn@3.2.0", "dependencies": { - "@ensdomains/ens-contracts": "^0.0.11" + "@ensdomains/ens-contracts": "^0.0.11", + "ethers": "^5.6.1" + }, + "devDependencies": { + "@ensdomains/buffer": "^0.0.13", + "@ensdomains/ens-test-env": "workspace:*", + "@openzeppelin/contracts": "^4.5.0", + "dotenv": "^16.0.0", + "ens-contracts-namewrapper": "github:ensdomains/ens-contracts#commit=9b42c4b57e76aa4041847579c0bd5c3ca3cf6375", + "ens-contracts-universal": "github:ensdomains/ens-contracts#universal", + "solc": "^0.8.13" }, "peerDependencies": { "ethers": "*" diff --git a/yarn.lock b/yarn.lock index bcd9f2f8..2cc8d74b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -48,7 +48,7 @@ __metadata: languageName: node linkType: hard -"@ensdomains/ens-test-env@workspace:packages/ens-test-env": +"@ensdomains/ens-test-env@workspace:*, @ensdomains/ens-test-env@workspace:packages/ens-test-env": version: 0.0.0-use.local resolution: "@ensdomains/ens-test-env@workspace:packages/ens-test-env" dependencies: @@ -72,7 +72,15 @@ __metadata: version: 0.0.0-use.local resolution: "@ensdomains/ensjs@workspace:packages/ensjs" dependencies: + "@ensdomains/buffer": ^0.0.13 "@ensdomains/ens-contracts": ^0.0.11 + "@ensdomains/ens-test-env": "workspace:*" + "@openzeppelin/contracts": ^4.5.0 + dotenv: ^16.0.0 + ens-contracts-namewrapper: "github:ensdomains/ens-contracts#commit=9b42c4b57e76aa4041847579c0bd5c3ca3cf6375" + ens-contracts-universal: "github:ensdomains/ens-contracts#universal" + ethers: ^5.6.1 + solc: ^0.8.13 peerDependencies: ethers: "*" languageName: unknown @@ -676,7 +684,7 @@ __metadata: languageName: node linkType: hard -"@openzeppelin/contracts@npm:^4.1.0": +"@openzeppelin/contracts@npm:^4.1.0, @openzeppelin/contracts@npm:^4.5.0": version: 4.5.0 resolution: "@openzeppelin/contracts@npm:4.5.0" checksum: 1c9c5dff041905771d2a83ac29c64dbf0b48603de43f74a34fb1358813d7c7bf259efe2f64e2112b410c5cca7a0b41aaedd882368be5f01a6d50a3ee0740f962 @@ -2015,6 +2023,13 @@ __metadata: languageName: node linkType: hard +"command-exists@npm:^1.2.8": + version: 1.2.9 + resolution: "command-exists@npm:1.2.9" + checksum: 729ae3d88a2058c93c58840f30341b7f82688a573019535d198b57a4d8cb0135ced0ad7f52b591e5b28a90feb2c675080ce916e56254a0f7c15cb2395277cac3 + languageName: node + linkType: hard + "commander@npm:^2.15.0": version: 2.20.3 resolution: "commander@npm:2.20.3" @@ -2022,6 +2037,13 @@ __metadata: languageName: node linkType: hard +"commander@npm:^8.1.0": + version: 8.3.0 + resolution: "commander@npm:8.3.0" + checksum: 0f82321821fc27b83bd409510bb9deeebcfa799ff0bf5d102128b500b7af22872c0c92cb6a0ebc5a4cf19c6b550fba9cedfa7329d18c6442a625f851377bacf0 + languageName: node + linkType: hard + "concat-map@npm:0.0.1": version: 0.0.1 resolution: "concat-map@npm:0.0.1" @@ -2584,15 +2606,27 @@ __metadata: languageName: node linkType: hard -"ens-contracts@github:ensdomains/ens-contracts#universal": +"ens-contracts-namewrapper@github:ensdomains/ens-contracts#commit=9b42c4b57e76aa4041847579c0bd5c3ca3cf6375": + version: 0.0.9 + resolution: "ens-contracts-namewrapper@https://github.com/ensdomains/ens-contracts.git#commit=9b42c4b57e76aa4041847579c0bd5c3ca3cf6375" + dependencies: + "@ensdomains/buffer": ^0.0.13 + "@ensdomains/solsha1": 0.0.3 + "@openzeppelin/contracts": ^4.1.0 + dns-packet: ^5.3.0 + checksum: 2de96c77345d7e84a40033863a69324d6f57c1f7c42045f9d8e0e87955a7f54218ac1be9c11f1e7ee49513621bf684b1c3b19a4ed776e5089be3f632e22ff363 + languageName: node + linkType: hard + +"ens-contracts-universal@github:ensdomains/ens-contracts#universal": version: 0.0.8 - resolution: "ens-contracts@https://github.com/ensdomains/ens-contracts.git#commit=5c27bec6bf0b86797c3482ada66152443de421a0" + resolution: "ens-contracts-universal@https://github.com/ensdomains/ens-contracts.git#commit=5c27bec6bf0b86797c3482ada66152443de421a0" dependencies: "@ensdomains/buffer": ^0.0.13 "@ensdomains/solsha1": 0.0.3 "@openzeppelin/contracts": ^4.1.0 dns-packet: ^5.3.0 - checksum: e9f58169ef4f73f235107ad327e69f51f5859c13b13499b1d4390afe322d8101746118f790c4231394848d569083f4b7729db90383c24ac36b47d6ae304cbac2 + checksum: 9256b1fbc08e64195769c0d2d74c0f6814f6c99c168f3b7ee69b95378afc7ed5fc4fafadf4231a56de5ef97d657438faa145e2a4dfbdbdf848562d64c274501c languageName: node linkType: hard @@ -2602,8 +2636,6 @@ __metadata: dependencies: "@typescript-eslint/eslint-plugin": ^5.15.0 "@typescript-eslint/parser": ^5.15.0 - dotenv: ^16.0.0 - ens-contracts: "github:ensdomains/ens-contracts#universal" eslint: ^8.11.0 eslint-config-airbnb: ^19.0.4 eslint-config-airbnb-base: ^15.0.0 @@ -2614,9 +2646,6 @@ __metadata: prettier: ^2.6.0 ts-node: ^10.7.0 typescript: ^4.6.2 - dependenciesMeta: - ens-contracts@0.0.8: - unplugged: true languageName: unknown linkType: soft @@ -3364,7 +3393,7 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.14.7": +"follow-redirects@npm:^1.12.1, follow-redirects@npm:^1.14.7": version: 1.14.9 resolution: "follow-redirects@npm:1.14.9" peerDependenciesMeta: @@ -4737,6 +4766,13 @@ __metadata: languageName: node linkType: hard +"memorystream@npm:^0.3.1": + version: 0.3.1 + resolution: "memorystream@npm:0.3.1" + checksum: f18b42440d24d09516d01466c06adf797df7873f0d40aa7db02e5fb9ed83074e5e65412d0720901d7069363465f82dc4f8bcb44f0cde271567a61426ce6ca2e9 + languageName: node + linkType: hard + "merge-descriptors@npm:1.0.1": version: 1.0.1 resolution: "merge-descriptors@npm:1.0.1" @@ -5300,6 +5336,13 @@ __metadata: languageName: node linkType: hard +"os-tmpdir@npm:~1.0.2": + version: 1.0.2 + resolution: "os-tmpdir@npm:1.0.2" + checksum: 5666560f7b9f10182548bf7013883265be33620b1c1b4a4d405c25be2636f970c5488ff3e6c48de75b55d02bde037249fe5dbfbb4c0fb7714953d56aed062e6d + languageName: node + linkType: hard + "p-cancelable@npm:^0.3.0": version: 0.3.0 resolution: "p-cancelable@npm:0.3.0" @@ -5920,6 +5963,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^5.5.0": + version: 5.7.1 + resolution: "semver@npm:5.7.1" + bin: + semver: ./bin/semver + checksum: 57fd0acfd0bac382ee87cd52cd0aaa5af086a7dc8d60379dfe65fea491fb2489b6016400813930ecd61fd0952dae75c115287a1b16c234b1550887117744dfaf + languageName: node + linkType: hard + "semver@npm:^6.3.0": version: 6.3.0 resolution: "semver@npm:6.3.0" @@ -6113,6 +6165,23 @@ __metadata: languageName: node linkType: hard +"solc@npm:^0.8.13": + version: 0.8.13 + resolution: "solc@npm:0.8.13" + dependencies: + command-exists: ^1.2.8 + commander: ^8.1.0 + follow-redirects: ^1.12.1 + js-sha3: 0.8.0 + memorystream: ^0.3.1 + semver: ^5.5.0 + tmp: 0.0.33 + bin: + solcjs: solc.js + checksum: 210a012155a29017f2c6c56a7a0e1e46658b2da75fb99341677a69955b87d90e09810570461012ca89007288a2e9245d033a30d8f5baf599c7b60c0a30b119ba + languageName: node + linkType: hard + "source-map-support@npm:^0.5.19": version: 0.5.21 resolution: "source-map-support@npm:0.5.21" @@ -6409,6 +6478,15 @@ __metadata: languageName: node linkType: hard +"tmp@npm:0.0.33": + version: 0.0.33 + resolution: "tmp@npm:0.0.33" + dependencies: + os-tmpdir: ~1.0.2 + checksum: 902d7aceb74453ea02abbf58c203f4a8fc1cead89b60b31e354f74ed5b3fb09ea817f94fb310f884a5d16987dd9fa5a735412a7c2dd088dd3d415aa819ae3a28 + languageName: node + linkType: hard + "to-readable-stream@npm:^1.0.0": version: 1.0.0 resolution: "to-readable-stream@npm:1.0.0"