From e66bddc20720598cf3fd51a21eb9e2c51d92b3bd Mon Sep 17 00:00:00 2001 From: Andres Adjimann Date: Fri, 22 Sep 2023 12:22:39 -0300 Subject: [PATCH] chore: remove web3 dependency, fix deployments --- .../deploy/marketplace/02_deploy_exchange.ts | 1 + packages/deploy/hardhat.config.ts | 8 +- packages/marketplace/package.json | 14 +- packages/marketplace/test/utils/assets.ts | 11 +- yarn.lock | 428 +----------------- 5 files changed, 24 insertions(+), 438 deletions(-) diff --git a/packages/deploy/deploy/marketplace/02_deploy_exchange.ts b/packages/deploy/deploy/marketplace/02_deploy_exchange.ts index b3ed72b048..0a2d64b729 100644 --- a/packages/deploy/deploy/marketplace/02_deploy_exchange.ts +++ b/packages/deploy/deploy/marketplace/02_deploy_exchange.ts @@ -18,6 +18,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const orderValidator = await deployments.get('OrderValidator'); const royaltiesRegistry = await deployments.get('RoyaltiesRegistry'); + // TODO: Do we need oll the combinations of flags ? Can we have two deployments scripts with different tags each ? // TODO: to be fetched from env? const deployMeta = process.env.DEPLOY_META; const nativeOrder = process.env.NATIVE_ORDER; diff --git a/packages/deploy/hardhat.config.ts b/packages/deploy/hardhat.config.ts index c8e8be5f57..cbeadcc96f 100644 --- a/packages/deploy/hardhat.config.ts +++ b/packages/deploy/hardhat.config.ts @@ -9,7 +9,13 @@ import './tasks/importedPackages'; // Package name : solidity source code path const importedPackages = { '@sandbox-smart-contracts/giveaway': 'contracts/SignedMultiGiveaway.sol', - '@sandbox-smart-contracts/marketplace': 'contracts/', + '@sandbox-smart-contracts/marketplace': [ + 'contracts/royalties-registry/RoyaltiesRegistry.sol', + 'contracts/exchange/OrderValidator.sol', + 'contracts/exchange/ExchangeMeta.sol', + 'contracts/exchange/Exchange.sol', + 'contracts/exchange/AssetMatcher.sol', + ], }; const namedAccounts = { diff --git a/packages/marketplace/package.json b/packages/marketplace/package.json index be23f1181d..bc6bcf1cf6 100644 --- a/packages/marketplace/package.json +++ b/packages/marketplace/package.json @@ -10,17 +10,12 @@ ] }, "devDependencies": { - "@ethersproject/abi": "^5.7.0", - "@ethersproject/providers": "^5.7.2", "@nomicfoundation/hardhat-chai-matchers": "^2.0.1", "@nomicfoundation/hardhat-ethers": "^3.0.3", "@nomicfoundation/hardhat-network-helpers": "^1.0.8", "@nomicfoundation/hardhat-toolbox": "^3.0.0", "@nomicfoundation/hardhat-verify": "^1.0.0", "@nomiclabs/hardhat-etherscan": "^3.1.7", - "@openzeppelin/contracts": "^4.9.2", - "@openzeppelin/contracts-upgradeable": "^4.9.2", - "@sandbox-smart-contracts/dependency-metatx": "0.0.3", "@typechain/ethers-v6": "^0.4.0", "@typechain/hardhat": "^8.0.0", "@types/chai": "^4.3.6", @@ -36,6 +31,7 @@ "ethers": "^6.6.2", "hardhat": "^2.14.1", "hardhat-gas-reporter": "^1.0.9", + "mocha": "^10.2.0", "prettier": "^2.8.8", "prettier-plugin-solidity": "^1.1.3", "solhint": "^3.4.1", @@ -43,8 +39,7 @@ "solidity-coverage": "^0.8.3", "ts-node": "^10.9.1", "typechain": "^8.2.0", - "typescript": "5.0.4", - "web3": "^4.1.2" + "typescript": "5.0.4" }, "scripts": { "lint": "eslint --max-warnings 0 \"**/*.{js,ts}\" && solhint --max-warnings 0 \"contracts/**/*.sol\"", @@ -59,6 +54,9 @@ "author": "", "license": "ISC", "dependencies": { - "@openzeppelin/hardhat-upgrades": "^2.2.1" + "@openzeppelin/contracts": "^4.9.2", + "@openzeppelin/contracts-upgradeable": "^4.9.2", + "@openzeppelin/hardhat-upgrades": "^2.2.1", + "@sandbox-smart-contracts/dependency-metatx": "0.0.3" } } diff --git a/packages/marketplace/test/utils/assets.ts b/packages/marketplace/test/utils/assets.ts index a7fcca0e74..9aef11418c 100644 --- a/packages/marketplace/test/utils/assets.ts +++ b/packages/marketplace/test/utils/assets.ts @@ -1,26 +1,25 @@ // TODO: This is the same as the root folder scripts... fix it -import ethUtil from 'ethereumjs-util'; -import Web3 from 'web3'; +import {ethers} from 'hardhat'; +import {AbiCoder} from 'ethers'; export const ETH_ASSET_CLASS = '0xaaaebeba'; export const ERC20_ASSET_CLASS = '0x8ae85d84'; export const ERC721_ASSET_CLASS = '0x73ad2146'; export async function id(str: string) { - return `0x${ethUtil + return `0x${ethers .keccak256(Buffer.from(str)) .toString('hex') .substring(0, 8)}`; } export async function enc(token: string, tokenId: number) { - const web3 = new Web3('http://localhost:8545'); // Mock Provider URL to eliminate warnings if (tokenId) { - return web3.eth.abi.encodeParameters( + return AbiCoder.defaultAbiCoder().encode( ['address', 'uint256'], [token, tokenId] ); } else { - return web3.eth.abi.encodeParameter('address', token); + return AbiCoder.defaultAbiCoder().encode(['address'], [token]); } } diff --git a/yarn.lock b/yarn.lock index 9e756a6562..7640676ae4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,13 +19,6 @@ __metadata: languageName: node linkType: hard -"@adraffy/ens-normalize@npm:^1.8.8": - version: 1.10.0 - resolution: "@adraffy/ens-normalize@npm:1.10.0" - checksum: af0540f963a2632da2bbc37e36ea6593dcfc607b937857133791781e246d47f870d5e3d21fa70d5cfe94e772c284588c81ea3f5b7f4ea8fbb824369444e4dbcb - languageName: node - linkType: hard - "@aws-crypto/sha256-js@npm:1.2.2": version: 1.2.2 resolution: "@aws-crypto/sha256-js@npm:1.2.2" @@ -290,15 +283,6 @@ __metadata: languageName: node linkType: hard -"@ethereumjs/rlp@npm:^4.0.1": - version: 4.0.1 - resolution: "@ethereumjs/rlp@npm:4.0.1" - bin: - rlp: bin/rlp - checksum: 30db19c78faa2b6ff27275ab767646929207bb207f903f09eb3e4c273ce2738b45f3c82169ddacd67468b4f063d8d96035f2bf36f02b6b7e4d928eefe2e3ecbc - languageName: node - linkType: hard - "@ethereumjs/tx@npm:^3.3.2, @ethereumjs/tx@npm:^3.5.2": version: 3.5.2 resolution: "@ethereumjs/tx@npm:3.5.2" @@ -816,15 +800,6 @@ __metadata: languageName: node linkType: hard -"@noble/curves@npm:1.1.0, @noble/curves@npm:~1.1.0": - version: 1.1.0 - resolution: "@noble/curves@npm:1.1.0" - dependencies: - "@noble/hashes": 1.3.1 - checksum: 2658cdd3f84f71079b4e3516c47559d22cf4b55c23ac8ee9d2b1f8e5b72916d9689e59820e0f9d9cb4a46a8423af5b56dc6bb7782405c88be06a015180508db5 - languageName: node - linkType: hard - "@noble/hashes@npm:1.1.2": version: 1.1.2 resolution: "@noble/hashes@npm:1.1.2" @@ -839,20 +814,6 @@ __metadata: languageName: node linkType: hard -"@noble/hashes@npm:1.3.1": - version: 1.3.1 - resolution: "@noble/hashes@npm:1.3.1" - checksum: 7fdefc0f7a0c1ec27acc6ff88841793e3f93ec4ce6b8a6a12bfc0dd70ae6b7c4c82fe305fdfeda1735d5ad4a9eebe761e6693b3d355689c559e91242f4bc95b1 - languageName: node - linkType: hard - -"@noble/hashes@npm:~1.3.0, @noble/hashes@npm:~1.3.1": - version: 1.3.2 - resolution: "@noble/hashes@npm:1.3.2" - checksum: fe23536b436539d13f90e4b9be843cc63b1b17666a07634a2b1259dded6f490be3d050249e6af98076ea8f2ea0d56f578773c2197f2aa0eeaa5fba5bc18ba474 - languageName: node - linkType: hard - "@noble/secp256k1@npm:1.7.1, @noble/secp256k1@npm:~1.7.0": version: 1.7.1 resolution: "@noble/secp256k1@npm:1.7.1" @@ -1812,8 +1773,6 @@ __metadata: version: 0.0.0-use.local resolution: "@sandbox-smart-contracts/marketplace@workspace:packages/marketplace" dependencies: - "@ethersproject/abi": ^5.7.0 - "@ethersproject/providers": ^5.7.2 "@nomicfoundation/hardhat-chai-matchers": ^2.0.1 "@nomicfoundation/hardhat-ethers": ^3.0.3 "@nomicfoundation/hardhat-network-helpers": ^1.0.8 @@ -1839,6 +1798,7 @@ __metadata: ethers: ^6.6.2 hardhat: ^2.14.1 hardhat-gas-reporter: ^1.0.9 + mocha: ^10.2.0 prettier: ^2.8.8 prettier-plugin-solidity: ^1.1.3 solhint: ^3.4.1 @@ -1847,7 +1807,6 @@ __metadata: ts-node: ^10.9.1 typechain: ^8.2.0 typescript: 5.0.4 - web3: ^4.1.2 languageName: unknown linkType: soft @@ -1869,17 +1828,6 @@ __metadata: languageName: node linkType: hard -"@scure/bip32@npm:1.3.1": - version: 1.3.1 - resolution: "@scure/bip32@npm:1.3.1" - dependencies: - "@noble/curves": ~1.1.0 - "@noble/hashes": ~1.3.1 - "@scure/base": ~1.1.0 - checksum: 394d65f77a40651eba21a5096da0f4233c3b50d422864751d373fcf142eeedb94a1149f9ab1dbb078086dab2d0bc27e2b1afec8321bf22d4403c7df2fea5bfe2 - languageName: node - linkType: hard - "@scure/bip39@npm:1.1.1": version: 1.1.1 resolution: "@scure/bip39@npm:1.1.1" @@ -1890,16 +1838,6 @@ __metadata: languageName: node linkType: hard -"@scure/bip39@npm:1.2.1": - version: 1.2.1 - resolution: "@scure/bip39@npm:1.2.1" - dependencies: - "@noble/hashes": ~1.3.0 - "@scure/base": ~1.1.0 - checksum: c5bd6f1328fdbeae2dcdd891825b1610225310e5e62a4942714db51066866e4f7bef242c7b06a1b9dcc8043a4a13412cf5c5df76d3b10aa9e36b82e9b6e3eeaa - languageName: node - linkType: hard - "@sentry/core@npm:5.30.0": version: 5.30.0 resolution: "@sentry/core@npm:5.30.0" @@ -2401,15 +2339,6 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:8.5.3": - version: 8.5.3 - resolution: "@types/ws@npm:8.5.3" - dependencies: - "@types/node": "*" - checksum: 0ce46f850d41383fcdc2149bcacc86d7232fa7a233f903d2246dff86e31701a02f8566f40af5f8b56d1834779255c04ec6ec78660fe0f9b2a69cf3d71937e4ae - languageName: node - linkType: hard - "@typescript-eslint/eslint-plugin@npm:^4.6.0": version: 4.33.0 resolution: "@typescript-eslint/eslint-plugin@npm:4.33.0" @@ -4092,7 +4021,7 @@ __metadata: languageName: node linkType: hard -"crc-32@npm:^1.2.0, crc-32@npm:^1.2.2": +"crc-32@npm:^1.2.0": version: 1.2.2 resolution: "crc-32@npm:1.2.2" bin: @@ -4147,15 +4076,6 @@ __metadata: languageName: node linkType: hard -"cross-fetch@npm:^3.1.5": - version: 3.1.8 - resolution: "cross-fetch@npm:3.1.8" - dependencies: - node-fetch: ^2.6.12 - checksum: 78f993fa099eaaa041122ab037fe9503ecbbcb9daef234d1d2e0b9230a983f64d645d088c464e21a247b825a08dc444a6e7064adfa93536d3a9454b4745b3632 - languageName: node - linkType: hard - "cross-spawn@npm:^6.0.0": version: 6.0.5 resolution: "cross-spawn@npm:6.0.5" @@ -5323,18 +5243,6 @@ __metadata: languageName: node linkType: hard -"ethereum-cryptography@npm:^2.0.0": - version: 2.1.2 - resolution: "ethereum-cryptography@npm:2.1.2" - dependencies: - "@noble/curves": 1.1.0 - "@noble/hashes": 1.3.1 - "@scure/bip32": 1.3.1 - "@scure/bip39": 1.2.1 - checksum: 2e8f7b8cc90232ae838ab6a8167708e8362621404d26e79b5d9e762c7b53d699f7520aff358d9254de658fcd54d2d0af168ff909943259ed27dc4cef2736410c - languageName: node - linkType: hard - "ethereumjs-abi@npm:^0.6.8": version: 0.6.8 resolution: "ethereumjs-abi@npm:0.6.8" @@ -7139,16 +7047,6 @@ __metadata: languageName: node linkType: hard -"is-arguments@npm:^1.0.4": - version: 1.1.1 - resolution: "is-arguments@npm:1.1.1" - dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: 7f02700ec2171b691ef3e4d0e3e6c0ba408e8434368504bb593d0d7c891c0dbfda6d19d30808b904a6cb1929bca648c061ba438c39f296c2a8ca083229c49f27 - languageName: node - linkType: hard - "is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.2": version: 3.0.2 resolution: "is-array-buffer@npm:3.0.2" @@ -7257,15 +7155,6 @@ __metadata: languageName: node linkType: hard -"is-generator-function@npm:^1.0.7": - version: 1.0.10 - resolution: "is-generator-function@npm:1.0.10" - dependencies: - has-tostringtag: ^1.0.0 - checksum: d54644e7dbaccef15ceb1e5d91d680eb5068c9ee9f9eb0a9e04173eb5542c9b51b5ab52c5537f5703e48d5fddfd376817c1ca07a84a407b7115b769d4bdde72b - languageName: node - linkType: hard - "is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3, is-glob@npm:~4.0.1": version: 4.0.3 resolution: "is-glob@npm:4.0.3" @@ -7377,7 +7266,7 @@ __metadata: languageName: node linkType: hard -"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.12, is-typed-array@npm:^1.1.3, is-typed-array@npm:^1.1.9": +"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.12, is-typed-array@npm:^1.1.9": version: 1.1.12 resolution: "is-typed-array@npm:1.1.12" dependencies: @@ -7449,15 +7338,6 @@ __metadata: languageName: node linkType: hard -"isomorphic-ws@npm:^5.0.0": - version: 5.0.0 - resolution: "isomorphic-ws@npm:5.0.0" - peerDependencies: - ws: "*" - checksum: e20eb2aee09ba96247465fda40c6d22c1153394c0144fa34fe6609f341af4c8c564f60ea3ba762335a7a9c306809349f9b863c8beedf2beea09b299834ad5398 - languageName: node - linkType: hard - "isstream@npm:~0.1.2": version: 0.1.2 resolution: "isstream@npm:0.1.2" @@ -8541,7 +8421,7 @@ __metadata: languageName: node linkType: hard -"mocha@npm:^10.0.0": +"mocha@npm:^10.0.0, mocha@npm:^10.2.0": version: 10.2.0 resolution: "mocha@npm:10.2.0" dependencies: @@ -8808,20 +8688,6 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^2.6.12": - version: 2.7.0 - resolution: "node-fetch@npm:2.7.0" - dependencies: - whatwg-url: ^5.0.0 - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - checksum: d76d2f5edb451a3f05b15115ec89fc6be39de37c6089f1b6368df03b91e1633fd379a7e01b7ab05089a25034b2023d959b47e59759cb38d88341b2459e89d6e5 - languageName: node - linkType: hard - "node-forge@npm:^1.3.1": version: 1.3.1 resolution: "node-forge@npm:1.3.1" @@ -11588,19 +11454,6 @@ __metadata: languageName: node linkType: hard -"util@npm:^0.12.5": - version: 0.12.5 - resolution: "util@npm:0.12.5" - dependencies: - inherits: ^2.0.3 - is-arguments: ^1.0.4 - is-generator-function: ^1.0.7 - is-typed-array: ^1.1.3 - which-typed-array: ^1.1.2 - checksum: 705e51f0de5b446f4edec10739752ac25856541e0254ea1e7e45e5b9f9b0cb105bc4bd415736a6210edc68245a7f903bf085ffb08dd7deb8a0e847f60538a38a - languageName: node - linkType: hard - "uuid@npm:2.0.1": version: 2.0.1 resolution: "uuid@npm:2.0.1" @@ -11692,206 +11545,6 @@ __metadata: languageName: node linkType: hard -"web3-core@npm:^4.2.0": - version: 4.2.0 - resolution: "web3-core@npm:4.2.0" - dependencies: - web3-errors: ^1.1.2 - web3-eth-iban: ^4.0.6 - web3-providers-http: ^4.0.6 - web3-providers-ipc: ^4.0.6 - web3-providers-ws: ^4.0.6 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - web3-validator: ^2.0.2 - dependenciesMeta: - web3-providers-ipc: - optional: true - checksum: d3514d078d74ab13d2ca25738499dc58347fd7f42af4e98fe31367b404f7fc6260a7ad3cd1c1480077c2960fb874f9e3fdbaf8fb1424d0537c76d8c0e88dc74e - languageName: node - linkType: hard - -"web3-errors@npm:^1.1.2": - version: 1.1.2 - resolution: "web3-errors@npm:1.1.2" - dependencies: - web3-types: ^1.2.0 - checksum: 7f9e8a476aa8514a2926743680e5561950f684be0cd6ff87e6fb12a7978fa568492aee0f502ee68e88686c5a904348d32935dbcb852ba00b7612efb8baf14d34 - languageName: node - linkType: hard - -"web3-eth-abi@npm:^4.1.2": - version: 4.1.2 - resolution: "web3-eth-abi@npm:4.1.2" - dependencies: - "@ethersproject/abi": ^5.7.0 - "@ethersproject/bignumber": ^5.7.0 - web3-errors: ^1.1.2 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - checksum: 72c4374a29e6db0e2ddf74a8cc952c74a9cda16150c3a6df7fd54848ee00519b544dd313eadbfea53584f01eccd0ba285f5119bc8323bb5199678639ad28eda3 - languageName: node - linkType: hard - -"web3-eth-accounts@npm:^4.0.6": - version: 4.0.6 - resolution: "web3-eth-accounts@npm:4.0.6" - dependencies: - "@ethereumjs/rlp": ^4.0.1 - crc-32: ^1.2.2 - ethereum-cryptography: ^2.0.0 - web3-errors: ^1.1.2 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - web3-validator: ^2.0.2 - checksum: 07fc3f5b6ccb862696ea2c34cc104323ad2b1e85c54bb8bd8dcb61154b09f592a2cc899ff0ac7bdd2a2e6f39afe3a4cdf2e7630ddc9b4150bf0b45e7004fe209 - languageName: node - linkType: hard - -"web3-eth-contract@npm:^4.1.0": - version: 4.1.0 - resolution: "web3-eth-contract@npm:4.1.0" - dependencies: - web3-core: ^4.2.0 - web3-errors: ^1.1.2 - web3-eth: ^4.2.0 - web3-eth-abi: ^4.1.2 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - web3-validator: ^2.0.2 - checksum: 063f2c12f10c17040362f7a88865a7a727f875d7a51e69f5c804b16e61813d79af7b1c1016a856c8a2ceb585ba8f60881eb66e4df5106ff36ce4bae16fe0340b - languageName: node - linkType: hard - -"web3-eth-ens@npm:^4.0.6": - version: 4.0.6 - resolution: "web3-eth-ens@npm:4.0.6" - dependencies: - "@adraffy/ens-normalize": ^1.8.8 - web3-core: ^4.2.0 - web3-errors: ^1.1.2 - web3-eth: ^4.2.0 - web3-eth-contract: ^4.1.0 - web3-net: ^4.0.6 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - web3-validator: ^2.0.2 - checksum: 8417a5938c59f2a7d04b103c36868ea612d88afc18c35783ab60c48b375d355b47b994d753ad8507a304b3845d2f8e5d812e9ada5105ad276051f7305ccedafa - languageName: node - linkType: hard - -"web3-eth-iban@npm:^4.0.6": - version: 4.0.6 - resolution: "web3-eth-iban@npm:4.0.6" - dependencies: - web3-errors: ^1.1.2 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - web3-validator: ^2.0.2 - checksum: 7932961def8972aae01b409e28a98ccda6aece344bd3741bf967304b878a1722d77805d364ff61ca71c70cda937aadb077b506c9671e6b33db88c6a4e59ce5e8 - languageName: node - linkType: hard - -"web3-eth-personal@npm:^4.0.6": - version: 4.0.6 - resolution: "web3-eth-personal@npm:4.0.6" - dependencies: - web3-core: ^4.2.0 - web3-eth: ^4.2.0 - web3-rpc-methods: ^1.1.2 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - web3-validator: ^2.0.2 - checksum: 7d6066b3cdaa20e6c19b581c44feea546fe0dd32b5f7db502626db2bd90de1e034cf36dcb5262fe3fdb145665925ae4cc81cb3ae051b7cf38765cd0a7e638ca8 - languageName: node - linkType: hard - -"web3-eth@npm:^4.2.0": - version: 4.2.0 - resolution: "web3-eth@npm:4.2.0" - dependencies: - setimmediate: ^1.0.5 - web3-core: ^4.2.0 - web3-errors: ^1.1.2 - web3-eth-abi: ^4.1.2 - web3-eth-accounts: ^4.0.6 - web3-net: ^4.0.6 - web3-providers-ws: ^4.0.6 - web3-rpc-methods: ^1.1.2 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - web3-validator: ^2.0.2 - checksum: e8453ced9c2e9b12a2c80d0383d568ba597c9ca052b4a847794758a6c1589c35b919ceddedef8aaab7abdb800d15ff4cb6103c7ccbccb41e6e3cf1bb61344071 - languageName: node - linkType: hard - -"web3-net@npm:^4.0.6": - version: 4.0.6 - resolution: "web3-net@npm:4.0.6" - dependencies: - web3-core: ^4.2.0 - web3-rpc-methods: ^1.1.2 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - checksum: 840ae451ca7cd7386cf68d1839bd4bf9ceda987bd8e74dee179375ab4297d36fddff7b4ec1472f66779326714e8c90912f612c124facea75c2039b3ac06d1e42 - languageName: node - linkType: hard - -"web3-providers-http@npm:^4.0.6": - version: 4.0.6 - resolution: "web3-providers-http@npm:4.0.6" - dependencies: - cross-fetch: ^3.1.5 - web3-errors: ^1.1.2 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - checksum: a15b282a711c8a67ec69f2f54e057ef23ae67cd0f9bbe0f6189a8f7059bb5d80b55a1635eb2f13ff6e3a2fed13e18b67cdf60305ae1a35ff95fc1b288daaf7b5 - languageName: node - linkType: hard - -"web3-providers-ipc@npm:^4.0.6": - version: 4.0.6 - resolution: "web3-providers-ipc@npm:4.0.6" - dependencies: - web3-errors: ^1.1.2 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - checksum: 2939b47ab2828106f79df5a7c96b3a15802565ce8f72b8b3684af65925a930c9298ed691e94589871ba87e70a4f626669f9087e25b7aa9086fca205dc415b8ac - languageName: node - linkType: hard - -"web3-providers-ws@npm:^4.0.6": - version: 4.0.6 - resolution: "web3-providers-ws@npm:4.0.6" - dependencies: - "@types/ws": 8.5.3 - isomorphic-ws: ^5.0.0 - web3-errors: ^1.1.2 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - ws: ^8.8.1 - checksum: af43ccabafcf85ef363bcb13796cee1c8849283fff822d25d7044774917fe5827c8f93dcf55dd98d1540b3198cb1c4bc65b01985af1791f764ef6a8a5f197f4a - languageName: node - linkType: hard - -"web3-rpc-methods@npm:^1.1.2": - version: 1.1.2 - resolution: "web3-rpc-methods@npm:1.1.2" - dependencies: - web3-core: ^4.2.0 - web3-types: ^1.2.0 - web3-validator: ^2.0.2 - checksum: 452dcd18993d7fa2ab37a062d39a317100223b65f13fa9ecc0e95d91e05312e013b7cc3e21aaaf583f8a3261e819022d69d1c1ab1ac65a40afe14d28ff11becf - languageName: node - linkType: hard - -"web3-types@npm:^1.2.0": - version: 1.2.0 - resolution: "web3-types@npm:1.2.0" - checksum: ed8c42df578fc51cb4a56d60d9dd018f0fbbf7cf4992ac4150361e2985e8a6fc91fde9589f74201495d7795ac563eecf62ec2e7496858433f3ba0350e1808bbc - languageName: node - linkType: hard - "web3-utils@npm:^1.3.6": version: 1.10.0 resolution: "web3-utils@npm:1.10.0" @@ -11907,55 +11560,6 @@ __metadata: languageName: node linkType: hard -"web3-utils@npm:^4.0.6": - version: 4.0.6 - resolution: "web3-utils@npm:4.0.6" - dependencies: - ethereum-cryptography: ^2.0.0 - web3-errors: ^1.1.2 - web3-types: ^1.2.0 - web3-validator: ^2.0.2 - checksum: dadc688fefe893f06ecc4d961400ad68a81f49c5484e5a06397902f30980dd3bb4945fddc45b732f90e7fa574531ee8355aaba5b417aad2cfcbf935faf843ec8 - languageName: node - linkType: hard - -"web3-validator@npm:^2.0.2": - version: 2.0.2 - resolution: "web3-validator@npm:2.0.2" - dependencies: - ethereum-cryptography: ^2.0.0 - util: ^0.12.5 - web3-errors: ^1.1.2 - web3-types: ^1.2.0 - zod: ^3.21.4 - checksum: 690eb297c517dd4016c9a9e6929236d394367793903242e788bd43a323c7934cf4a47e68b7f6526f9f0d1c8cf4d9bee0693331e4edff489e17b749e9d2538542 - languageName: node - linkType: hard - -"web3@npm:^4.1.2": - version: 4.1.2 - resolution: "web3@npm:4.1.2" - dependencies: - web3-core: ^4.2.0 - web3-errors: ^1.1.2 - web3-eth: ^4.2.0 - web3-eth-abi: ^4.1.2 - web3-eth-accounts: ^4.0.6 - web3-eth-contract: ^4.1.0 - web3-eth-ens: ^4.0.6 - web3-eth-iban: ^4.0.6 - web3-eth-personal: ^4.0.6 - web3-net: ^4.0.6 - web3-providers-http: ^4.0.6 - web3-providers-ws: ^4.0.6 - web3-rpc-methods: ^1.1.2 - web3-types: ^1.2.0 - web3-utils: ^4.0.6 - web3-validator: ^2.0.2 - checksum: ecc4d83df7d011a238ee6edd7455255036b8b63f3086ab960689d60b865cac157cb457a790500ac583b585bb3211096b0e01571e558f453e8437a7e3a01177da - languageName: node - linkType: hard - "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1" @@ -11993,7 +11597,7 @@ __metadata: languageName: node linkType: hard -"which-typed-array@npm:^1.1.10, which-typed-array@npm:^1.1.11, which-typed-array@npm:^1.1.2": +"which-typed-array@npm:^1.1.10, which-typed-array@npm:^1.1.11": version: 1.1.11 resolution: "which-typed-array@npm:1.1.11" dependencies: @@ -12183,21 +11787,6 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.8.1": - version: 8.14.2 - resolution: "ws@npm:8.14.2" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ">=5.0.2" - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: 3ca0dad26e8cc6515ff392b622a1467430814c463b3368b0258e33696b1d4bed7510bc7030f7b72838b9fdeb8dbd8839cbf808367d6aae2e1d668ce741d4308b - languageName: node - linkType: hard - "xmlhttprequest@npm:1.8.0": version: 1.8.0 resolution: "xmlhttprequest@npm:1.8.0" @@ -12364,10 +11953,3 @@ __metadata: checksum: f702a3437f48a8d42c4bb35b8dd13671a168aadfc4e23ce723d62959220ccb6bf9c529c60331fe5b91afaa622147c6a37490551474fe3e35c06ac476524b5160 languageName: node linkType: hard - -"zod@npm:^3.21.4": - version: 3.22.2 - resolution: "zod@npm:3.22.2" - checksum: 231e2180c8eabb56e88680d80baff5cf6cbe6d64df3c44c50ebe52f73081ecd0229b1c7215b9552537f537a36d9e36afac2737ddd86dc14e3519bdbc777e82b9 - languageName: node - linkType: hard