diff --git a/apps/api/package.json b/apps/api/package.json index f0d6623b..f873eddf 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -42,6 +42,6 @@ "@types/node": "18.11.18", "rimraf": "^5.0.1", "ts-node": "^10.0.0", - "typescript": "^4.7.4" + "typescript": "^5.4.3" } } diff --git a/apps/client/package.json b/apps/client/package.json index 2da8f83c..45e6d612 100644 --- a/apps/client/package.json +++ b/apps/client/package.json @@ -31,7 +31,7 @@ "@types/react": "^18.0.27", "@types/react-dom": "^18.0.10", "@vitejs/plugin-react": "^3.1.0", - "typescript": "^4.9.3", + "typescript": "^5.4.3", "vite": "^4.1.0", "vite-plugin-node-polyfills": "^0.20.0" } diff --git a/apps/client/src/pages/home.tsx b/apps/client/src/pages/home.tsx index 049823d4..6e8a0a81 100644 --- a/apps/client/src/pages/home.tsx +++ b/apps/client/src/pages/home.tsx @@ -27,6 +27,15 @@ import { const injectedConnector = new InjectedConnector({}) +type Invite = { + groupId: string +} +type Group = { + credentials: { + id: string + } +} + export default function HomePage(): JSX.Element { const [_inviteCode, setInviteCode] = useState("") const [_credentialGroupId, setCredentialGroupId] = useState("") @@ -59,7 +68,7 @@ export default function HomePage(): JSX.Element { if (account && library) { setLoading(true) - const invite = await getInvite(inviteCode) + const invite: Invite | null = await getInvite(inviteCode) if (invite === null) { setLoading(false) @@ -112,7 +121,7 @@ export default function HomePage(): JSX.Element { if (account && library) { setLoading(true) - const group = await getGroup(groupId) + const group: Group | null = await getGroup(groupId) if (group === null) { setLoading(false) diff --git a/apps/contracts/hardhat.config.ts b/apps/contracts/hardhat.config.ts index 42af0422..6ce5b25b 100644 --- a/apps/contracts/hardhat.config.ts +++ b/apps/contracts/hardhat.config.ts @@ -1,5 +1,6 @@ import "@nomicfoundation/hardhat-chai-matchers" import "@nomicfoundation/hardhat-toolbox" +import "@nomicfoundation/hardhat-verify" import { config as dotenvConfig } from "dotenv" import "hardhat-dependency-compiler" import { HardhatUserConfig } from "hardhat/config" diff --git a/apps/contracts/package.json b/apps/contracts/package.json index c3b42c7b..52fd3ec3 100644 --- a/apps/contracts/package.json +++ b/apps/contracts/package.json @@ -18,8 +18,10 @@ }, "devDependencies": { "@nomicfoundation/hardhat-chai-matchers": "^2.0.6", + "@nomicfoundation/hardhat-ethers": "^3.0.0", "@nomicfoundation/hardhat-network-helpers": "^1.0.10", "@nomicfoundation/hardhat-toolbox": "^5.0.0", + "@nomicfoundation/hardhat-verify": "^2.0.5", "@nomiclabs/hardhat-ethers": "^2.2.3", "@nomiclabs/hardhat-etherscan": "^3.1.8", "@semaphore-protocol/group": "3.9.0", @@ -33,7 +35,7 @@ "chai": "^5.1.0", "dotenv": "^16.0.3", "ethers": "^6.11.1", - "hardhat": "^2.11.0", + "hardhat": "^2.22.2", "hardhat-dependency-compiler": "^1.1.3", "hardhat-gas-reporter": "^1.0.8", "prettier": "^2.8.4", @@ -43,7 +45,7 @@ "solidity-coverage": "^0.8.1", "ts-node": ">=8.0.0", "typechain": "^8.1.0", - "typescript": ">=4.5.0" + "typescript": "^5.4.3" }, "dependencies": { "@openzeppelin/contracts": "4.7.3", diff --git a/apps/contracts/tasks/deploy-bandada-semaphore.ts b/apps/contracts/tasks/deploy-bandada-semaphore.ts index 69a1f00f..b5ca01e6 100644 --- a/apps/contracts/tasks/deploy-bandada-semaphore.ts +++ b/apps/contracts/tasks/deploy-bandada-semaphore.ts @@ -1,4 +1,4 @@ -import type { Contract } from "ethers" +import type { BaseContract } from "ethers" import { task, types } from "hardhat/config" task("deploy:bandada-semaphore", "Deploy a BandadaSemaphore contract") @@ -23,7 +23,7 @@ task("deploy:bandada-semaphore", "Deploy a BandadaSemaphore contract") semaphoreVerifier: semaphoreVerifierAddress }, { ethers, run } - ): Promise => { + ): Promise => { if (!semaphoreVerifierAddress) { const PairingFactory = await ethers.getContractFactory( "Pairing" diff --git a/apps/contracts/tasks/deploy-bandada.ts b/apps/contracts/tasks/deploy-bandada.ts index dc0309d6..a03782e3 100644 --- a/apps/contracts/tasks/deploy-bandada.ts +++ b/apps/contracts/tasks/deploy-bandada.ts @@ -1,10 +1,10 @@ -import type { Contract } from "ethers" +import type { BaseContract } from "ethers" import { task, types } from "hardhat/config" task("deploy:bandada", "Deploy a Bandada contract") .addOptionalParam("logs", "Print the logs", true, types.boolean) - .setAction(async ({ logs }, { ethers }): Promise => { + .setAction(async ({ logs }, { ethers }): Promise => { const ContractFactory = await ethers.getContractFactory("Bandada") const contract = await ContractFactory.deploy() diff --git a/apps/dashboard/package.json b/apps/dashboard/package.json index 569d81c8..03ef7806 100644 --- a/apps/dashboard/package.json +++ b/apps/dashboard/package.json @@ -33,7 +33,7 @@ "@types/react": "^18.0.27", "@types/react-dom": "^18.0.10", "@vitejs/plugin-react": "^3.1.0", - "typescript": "^4.9.3", + "typescript": "^5.4.3", "vite": "^4.1.0" } } diff --git a/apps/dashboard/src/components/new-group-stepper/final-preview-step.tsx b/apps/dashboard/src/components/new-group-stepper/final-preview-step.tsx index bab304f0..080c4e40 100644 --- a/apps/dashboard/src/components/new-group-stepper/final-preview-step.tsx +++ b/apps/dashboard/src/components/new-group-stepper/final-preview-step.tsx @@ -92,7 +92,7 @@ export default function FinalPreviewStep({ - + diff --git a/libs/api-sdk/package.json b/libs/api-sdk/package.json index a1ce7814..ed8bf883 100644 --- a/libs/api-sdk/package.json +++ b/libs/api-sdk/package.json @@ -36,6 +36,6 @@ "rimraf": "^4.1.2", "rollup": "^3.17.2", "rollup-plugin-cleanup": "^3.2.1", - "typescript": "^4.9.5" + "typescript": "^5.4.3" } } diff --git a/libs/credentials/package.json b/libs/credentials/package.json index ef1b0ec3..d3c864f9 100644 --- a/libs/credentials/package.json +++ b/libs/credentials/package.json @@ -37,6 +37,6 @@ "rimraf": "^4.1.2", "rollup": "^3.17.2", "rollup-plugin-cleanup": "^3.2.1", - "typescript": "^4.9.5" + "typescript": "^5.4.3" } } diff --git a/libs/hardhat/package.json b/libs/hardhat/package.json index 862dff2f..8c5ddc7a 100644 --- a/libs/hardhat/package.json +++ b/libs/hardhat/package.json @@ -36,7 +36,7 @@ "rimraf": "^4.1.2", "rollup": "^3.17.2", "rollup-plugin-cleanup": "^3.2.1", - "typescript": "^4.9.5" + "typescript": "^5.4.3" }, "peerDependencies": { "@bandada/contracts": "2.1.1", diff --git a/libs/hardhat/src/tasks/deploy-bandada-semaphore.ts b/libs/hardhat/src/tasks/deploy-bandada-semaphore.ts index 220392f1..8f4c1d5b 100644 --- a/libs/hardhat/src/tasks/deploy-bandada-semaphore.ts +++ b/libs/hardhat/src/tasks/deploy-bandada-semaphore.ts @@ -41,11 +41,11 @@ task("deploy:bandada-semaphore", "Deploy BandadaSemaphore contract") if (logs) { console.info( - `Pairing library has been deployed to: ${pairing.address}` + `Pairing library has been deployed to: ${pairing.getAddress()}` ) } - pairingAddress = pairing.address + pairingAddress = await pairing.getAddress() } const SemaphoreVerifierFactory = @@ -62,11 +62,11 @@ task("deploy:bandada-semaphore", "Deploy BandadaSemaphore contract") if (logs) { console.info( - `SemaphoreVerifier contract has been deployed to: ${semaphoreVerifier.address}` + `SemaphoreVerifier contract has been deployed to: ${semaphoreVerifier.getAddress()}` ) } - semaphoreVerifierAddress = semaphoreVerifier.address + semaphoreVerifierAddress = await semaphoreVerifier.getAddress() } if (!bandadaAddress) { @@ -88,7 +88,7 @@ task("deploy:bandada-semaphore", "Deploy BandadaSemaphore contract") if (logs) { console.info( - `BandadaSemaphore contract has been deployed to: ${bandadaSemaphore.address}` + `BandadaSemaphore contract has been deployed to: ${bandadaSemaphore.getAddress}` ) } diff --git a/libs/hardhat/src/tasks/deploy-bandada.ts b/libs/hardhat/src/tasks/deploy-bandada.ts index 1aa983d6..6ebd6787 100644 --- a/libs/hardhat/src/tasks/deploy-bandada.ts +++ b/libs/hardhat/src/tasks/deploy-bandada.ts @@ -11,7 +11,7 @@ task("deploy:bandada", "Deploy a Bandada contract") if (logs) { console.info( - `Bandada contract has been deployed to: ${bandada.address}` + `Bandada contract has been deployed to: ${bandada.getAddress()}` ) } diff --git a/libs/utils/package.json b/libs/utils/package.json index 10968886..8225e09f 100644 --- a/libs/utils/package.json +++ b/libs/utils/package.json @@ -37,7 +37,7 @@ "rimraf": "^4.1.2", "rollup": "^3.17.2", "rollup-plugin-cleanup": "^3.2.1", - "typescript": "^4.9.5" + "typescript": "^5.4.3" }, "dependencies": { "axios": "^1.3.3", diff --git a/package.json b/package.json index 0c028edf..ebc66711 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "prettier": "^2.8.4", "ts-jest": "29.0.5", "tslib": "^2.5.0", - "typescript": "^4.7.0" + "typescript": "^5.4.3" }, "config": { "commitizen": { diff --git a/yarn.lock b/yarn.lock index 50560098..675b42f0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2324,7 +2324,7 @@ __metadata: rimraf: "npm:^4.1.2" rollup: "npm:^3.17.2" rollup-plugin-cleanup: "npm:^3.2.1" - typescript: "npm:^4.9.5" + typescript: "npm:^5.4.3" languageName: unknown linkType: soft @@ -2347,7 +2347,7 @@ __metadata: rimraf: "npm:^4.1.2" rollup: "npm:^3.17.2" rollup-plugin-cleanup: "npm:^3.2.1" - typescript: "npm:^4.9.5" + typescript: "npm:^5.4.3" languageName: unknown linkType: soft @@ -2363,7 +2363,7 @@ __metadata: rimraf: "npm:^4.1.2" rollup: "npm:^3.17.2" rollup-plugin-cleanup: "npm:^3.2.1" - typescript: "npm:^4.9.5" + typescript: "npm:^5.4.3" peerDependencies: "@bandada/contracts": 2.1.1 "@nomiclabs/hardhat-ethers": ^2.2.3 @@ -2387,7 +2387,7 @@ __metadata: rimraf: "npm:^4.1.2" rollup: "npm:^3.17.2" rollup-plugin-cleanup: "npm:^3.2.1" - typescript: "npm:^4.9.5" + typescript: "npm:^5.4.3" languageName: unknown linkType: soft @@ -6418,6 +6418,105 @@ __metadata: languageName: node linkType: hard +"@nomicfoundation/edr-darwin-arm64@npm:0.3.2": + version: 0.3.2 + resolution: "@nomicfoundation/edr-darwin-arm64@npm:0.3.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@nomicfoundation/edr-darwin-x64@npm:0.3.2": + version: 0.3.2 + resolution: "@nomicfoundation/edr-darwin-x64@npm:0.3.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@nomicfoundation/edr-linux-arm64-gnu@npm:0.3.2": + version: 0.3.2 + resolution: "@nomicfoundation/edr-linux-arm64-gnu@npm:0.3.2" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@nomicfoundation/edr-linux-arm64-musl@npm:0.3.2": + version: 0.3.2 + resolution: "@nomicfoundation/edr-linux-arm64-musl@npm:0.3.2" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@nomicfoundation/edr-linux-x64-gnu@npm:0.3.2": + version: 0.3.2 + resolution: "@nomicfoundation/edr-linux-x64-gnu@npm:0.3.2" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@nomicfoundation/edr-linux-x64-musl@npm:0.3.2": + version: 0.3.2 + resolution: "@nomicfoundation/edr-linux-x64-musl@npm:0.3.2" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@nomicfoundation/edr-win32-arm64-msvc@npm:0.3.2": + version: 0.3.2 + resolution: "@nomicfoundation/edr-win32-arm64-msvc@npm:0.3.2" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@nomicfoundation/edr-win32-ia32-msvc@npm:0.3.2": + version: 0.3.2 + resolution: "@nomicfoundation/edr-win32-ia32-msvc@npm:0.3.2" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@nomicfoundation/edr-win32-x64-msvc@npm:0.3.2": + version: 0.3.2 + resolution: "@nomicfoundation/edr-win32-x64-msvc@npm:0.3.2" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@nomicfoundation/edr@npm:^0.3.1": + version: 0.3.2 + resolution: "@nomicfoundation/edr@npm:0.3.2" + dependencies: + "@nomicfoundation/edr-darwin-arm64": "npm:0.3.2" + "@nomicfoundation/edr-darwin-x64": "npm:0.3.2" + "@nomicfoundation/edr-linux-arm64-gnu": "npm:0.3.2" + "@nomicfoundation/edr-linux-arm64-musl": "npm:0.3.2" + "@nomicfoundation/edr-linux-x64-gnu": "npm:0.3.2" + "@nomicfoundation/edr-linux-x64-musl": "npm:0.3.2" + "@nomicfoundation/edr-win32-arm64-msvc": "npm:0.3.2" + "@nomicfoundation/edr-win32-ia32-msvc": "npm:0.3.2" + "@nomicfoundation/edr-win32-x64-msvc": "npm:0.3.2" + dependenciesMeta: + "@nomicfoundation/edr-darwin-arm64": + optional: true + "@nomicfoundation/edr-darwin-x64": + optional: true + "@nomicfoundation/edr-linux-arm64-gnu": + optional: true + "@nomicfoundation/edr-linux-arm64-musl": + optional: true + "@nomicfoundation/edr-linux-x64-gnu": + optional: true + "@nomicfoundation/edr-linux-x64-musl": + optional: true + "@nomicfoundation/edr-win32-arm64-msvc": + optional: true + "@nomicfoundation/edr-win32-ia32-msvc": + optional: true + "@nomicfoundation/edr-win32-x64-msvc": + optional: true + checksum: 10/173293dfb7911105dda89354d3b6b94114f93d710a74af6e3caa1d440d8c34d3095e3c77e14f092dcc1748380a85bb8ed3bf9853714b77d1145de49397c88081 + languageName: node + linkType: hard + "@nomicfoundation/ethereumjs-block@npm:^4.0.0": version: 4.0.0 resolution: "@nomicfoundation/ethereumjs-block@npm:4.0.0" @@ -6452,6 +6551,15 @@ __metadata: languageName: node linkType: hard +"@nomicfoundation/ethereumjs-common@npm:4.0.4": + version: 4.0.4 + resolution: "@nomicfoundation/ethereumjs-common@npm:4.0.4" + dependencies: + "@nomicfoundation/ethereumjs-util": "npm:9.0.4" + checksum: 10/1daaede087c5dee92cb1e5309a548da2d64484722b917eccda4118d627293b61f705a990075f4d7f0f350100ed79396b3a25e7ea67824242d36d23716fe75e97 + languageName: node + linkType: hard + "@nomicfoundation/ethereumjs-common@npm:^3.0.0": version: 3.0.0 resolution: "@nomicfoundation/ethereumjs-common@npm:3.0.0" @@ -6492,6 +6600,15 @@ __metadata: languageName: node linkType: hard +"@nomicfoundation/ethereumjs-rlp@npm:5.0.4": + version: 5.0.4 + resolution: "@nomicfoundation/ethereumjs-rlp@npm:5.0.4" + bin: + rlp: bin/rlp.cjs + checksum: 10/39fb26340bb2643a66c642315aa7b6fcfbdbddddeee18b4b683b77aa93b8a031bc86d4d4144368e5dd20499dc96b8b27751c6a285ff34e7a9969b530b306ce8c + languageName: node + linkType: hard + "@nomicfoundation/ethereumjs-rlp@npm:^4.0.0, @nomicfoundation/ethereumjs-rlp@npm:^4.0.0-beta.2": version: 4.0.0 resolution: "@nomicfoundation/ethereumjs-rlp@npm:4.0.0" @@ -6528,6 +6645,23 @@ __metadata: languageName: node linkType: hard +"@nomicfoundation/ethereumjs-tx@npm:5.0.4": + version: 5.0.4 + resolution: "@nomicfoundation/ethereumjs-tx@npm:5.0.4" + dependencies: + "@nomicfoundation/ethereumjs-common": "npm:4.0.4" + "@nomicfoundation/ethereumjs-rlp": "npm:5.0.4" + "@nomicfoundation/ethereumjs-util": "npm:9.0.4" + ethereum-cryptography: "npm:0.1.3" + peerDependencies: + c-kzg: ^2.1.2 + peerDependenciesMeta: + c-kzg: + optional: true + checksum: 10/5e84de14fa464501c5c60ac6519f536d39ebc52c4d1fb79c63a66ea86f992bde4f338b0b0fdd2e5bc811ebd984e8ff41e4205e47d30001bad5b45370568bc41c + languageName: node + linkType: hard + "@nomicfoundation/ethereumjs-tx@npm:^4.0.0": version: 4.0.0 resolution: "@nomicfoundation/ethereumjs-tx@npm:4.0.0" @@ -6540,6 +6674,21 @@ __metadata: languageName: node linkType: hard +"@nomicfoundation/ethereumjs-util@npm:9.0.4": + version: 9.0.4 + resolution: "@nomicfoundation/ethereumjs-util@npm:9.0.4" + dependencies: + "@nomicfoundation/ethereumjs-rlp": "npm:5.0.4" + ethereum-cryptography: "npm:0.1.3" + peerDependencies: + c-kzg: ^2.1.2 + peerDependenciesMeta: + c-kzg: + optional: true + checksum: 10/891806c7edda29c7b3f61551949ff0c1fa5f4e122fba84878bf27362a9e058768fd01194dc0e031de2e523c30ecbeb22e6841b8ab3772c8567fef4af6480872d + languageName: node + linkType: hard + "@nomicfoundation/ethereumjs-util@npm:^8.0.0": version: 8.0.0 resolution: "@nomicfoundation/ethereumjs-util@npm:8.0.0" @@ -6591,6 +6740,19 @@ __metadata: languageName: node linkType: hard +"@nomicfoundation/hardhat-ethers@npm:^3.0.0": + version: 3.0.5 + resolution: "@nomicfoundation/hardhat-ethers@npm:3.0.5" + dependencies: + debug: "npm:^4.1.1" + lodash.isequal: "npm:^4.5.0" + peerDependencies: + ethers: ^6.1.0 + hardhat: ^2.0.0 + checksum: 10/666101fe903923dda54e6f0c87946468e33d614b8b8ff6678b9507a753fcdb6b053d3b785ecb3964102f513d3fd9dcfaa22b39de6afe6f4df2400483e9c54850 + languageName: node + linkType: hard + "@nomicfoundation/hardhat-network-helpers@npm:^1.0.10": version: 1.0.10 resolution: "@nomicfoundation/hardhat-network-helpers@npm:1.0.10" @@ -6628,6 +6790,25 @@ __metadata: languageName: node linkType: hard +"@nomicfoundation/hardhat-verify@npm:^2.0.5": + version: 2.0.5 + resolution: "@nomicfoundation/hardhat-verify@npm:2.0.5" + dependencies: + "@ethersproject/abi": "npm:^5.1.2" + "@ethersproject/address": "npm:^5.0.2" + cbor: "npm:^8.1.0" + chalk: "npm:^2.4.2" + debug: "npm:^4.1.1" + lodash.clonedeep: "npm:^4.5.0" + semver: "npm:^6.3.0" + table: "npm:^6.8.0" + undici: "npm:^5.14.0" + peerDependencies: + hardhat: ^2.0.4 + checksum: 10/a3295e06d1d8be78bdfae20aa1ce448f0070bf8c5aea85cb93d6c1fedc5d0608ded67f7da014082414ab0cc80e40b3cb5e6409ef9753acf535cb6b17c1ee3eeb + languageName: node + linkType: hard + "@nomicfoundation/solidity-analyzer-darwin-arm64@npm:0.1.0": version: 0.1.0 resolution: "@nomicfoundation/solidity-analyzer-darwin-arm64@npm:0.1.0" @@ -10243,7 +10424,7 @@ __metadata: languageName: node linkType: hard -"ansi-align@npm:^3.0.1": +"ansi-align@npm:^3.0.0, ansi-align@npm:^3.0.1": version: 3.0.1 resolution: "ansi-align@npm:3.0.1" dependencies: @@ -10448,7 +10629,7 @@ __metadata: sqlite3: "npm:^5.1.4" ts-node: "npm:^10.0.0" typeorm: "npm:^0.3.12" - typescript: "npm:^4.7.4" + typescript: "npm:^5.4.3" uuid: "npm:^9.0.0" languageName: unknown linkType: soft @@ -11106,7 +11287,7 @@ __metadata: prettier: "npm:^2.8.4" ts-jest: "npm:29.0.5" tslib: "npm:^2.5.0" - typescript: "npm:^4.7.0" + typescript: "npm:^5.4.3" languageName: unknown linkType: soft @@ -11299,6 +11480,22 @@ __metadata: languageName: node linkType: hard +"boxen@npm:^5.1.2": + version: 5.1.2 + resolution: "boxen@npm:5.1.2" + dependencies: + ansi-align: "npm:^3.0.0" + camelcase: "npm:^6.2.0" + chalk: "npm:^4.1.0" + cli-boxes: "npm:^2.2.1" + string-width: "npm:^4.2.2" + type-fest: "npm:^0.20.2" + widest-line: "npm:^3.1.0" + wrap-ansi: "npm:^7.0.0" + checksum: 10/bc3d3d88d77dc8cabb0811844acdbd4805e8ca8011222345330817737042bf6f86d93eb74a3f7e0cab634e64ef69db03cf52b480761ed90a965de0c8ff1bea8c + languageName: node + linkType: hard + "boxen@npm:^6.2.1": version: 6.2.1 resolution: "boxen@npm:6.2.1" @@ -12270,6 +12467,13 @@ __metadata: languageName: node linkType: hard +"cli-boxes@npm:^2.2.1": + version: 2.2.1 + resolution: "cli-boxes@npm:2.2.1" + checksum: 10/be79f8ec23a558b49e01311b39a1ea01243ecee30539c880cf14bf518a12e223ef40c57ead0cb44f509bffdffc5c129c746cd50d863ab879385370112af4f585 + languageName: node + linkType: hard + "cli-boxes@npm:^3.0.0": version: 3.0.0 resolution: "cli-boxes@npm:3.0.0" @@ -12404,7 +12608,7 @@ __metadata: react-icons: "npm:^4.10.1" react-router-dom: "npm:^6.8.1" regenerator-runtime: "npm:^0.13.11" - typescript: "npm:^4.9.3" + typescript: "npm:^5.4.3" vite: "npm:^4.1.0" vite-plugin-node-polyfills: "npm:^0.20.0" languageName: unknown @@ -12904,8 +13108,10 @@ __metadata: resolution: "contracts@workspace:apps/contracts" dependencies: "@nomicfoundation/hardhat-chai-matchers": "npm:^2.0.6" + "@nomicfoundation/hardhat-ethers": "npm:^3.0.0" "@nomicfoundation/hardhat-network-helpers": "npm:^1.0.10" "@nomicfoundation/hardhat-toolbox": "npm:^5.0.0" + "@nomicfoundation/hardhat-verify": "npm:^2.0.5" "@nomiclabs/hardhat-ethers": "npm:^2.2.3" "@nomiclabs/hardhat-etherscan": "npm:^3.1.8" "@openzeppelin/contracts": "npm:4.7.3" @@ -12921,7 +13127,7 @@ __metadata: chai: "npm:^5.1.0" dotenv: "npm:^16.0.3" ethers: "npm:^6.11.1" - hardhat: "npm:^2.11.0" + hardhat: "npm:^2.22.2" hardhat-dependency-compiler: "npm:^1.1.3" hardhat-gas-reporter: "npm:^1.0.8" prettier: "npm:^2.8.4" @@ -12931,7 +13137,7 @@ __metadata: solidity-coverage: "npm:^0.8.1" ts-node: "npm:>=8.0.0" typechain: "npm:^8.1.0" - typescript: "npm:>=4.5.0" + typescript: "npm:^5.4.3" languageName: unknown linkType: soft @@ -13653,7 +13859,7 @@ __metadata: react-icons: "npm:^4.10.1" react-router-dom: "npm:^6.8.1" siwe: "npm:^1.1.6" - typescript: "npm:^4.9.3" + typescript: "npm:^5.4.3" viem: "npm:2.x" vite: "npm:^4.1.0" wagmi: "npm:^2.5.12" @@ -17394,6 +17600,67 @@ __metadata: languageName: node linkType: hard +"hardhat@npm:^2.22.2": + version: 2.22.2 + resolution: "hardhat@npm:2.22.2" + dependencies: + "@ethersproject/abi": "npm:^5.1.2" + "@metamask/eth-sig-util": "npm:^4.0.0" + "@nomicfoundation/edr": "npm:^0.3.1" + "@nomicfoundation/ethereumjs-common": "npm:4.0.4" + "@nomicfoundation/ethereumjs-tx": "npm:5.0.4" + "@nomicfoundation/ethereumjs-util": "npm:9.0.4" + "@nomicfoundation/solidity-analyzer": "npm:^0.1.0" + "@sentry/node": "npm:^5.18.1" + "@types/bn.js": "npm:^5.1.0" + "@types/lru-cache": "npm:^5.1.0" + adm-zip: "npm:^0.4.16" + aggregate-error: "npm:^3.0.0" + ansi-escapes: "npm:^4.3.0" + boxen: "npm:^5.1.2" + chalk: "npm:^2.4.2" + chokidar: "npm:^3.4.0" + ci-info: "npm:^2.0.0" + debug: "npm:^4.1.1" + enquirer: "npm:^2.3.0" + env-paths: "npm:^2.2.0" + ethereum-cryptography: "npm:^1.0.3" + ethereumjs-abi: "npm:^0.6.8" + find-up: "npm:^2.1.0" + fp-ts: "npm:1.19.3" + fs-extra: "npm:^7.0.1" + glob: "npm:7.2.0" + immutable: "npm:^4.0.0-rc.12" + io-ts: "npm:1.10.4" + keccak: "npm:^3.0.2" + lodash: "npm:^4.17.11" + mnemonist: "npm:^0.38.0" + mocha: "npm:^10.0.0" + p-map: "npm:^4.0.0" + raw-body: "npm:^2.4.1" + resolve: "npm:1.17.0" + semver: "npm:^6.3.0" + solc: "npm:0.7.3" + source-map-support: "npm:^0.5.13" + stacktrace-parser: "npm:^0.1.10" + tsort: "npm:0.0.1" + undici: "npm:^5.14.0" + uuid: "npm:^8.3.2" + ws: "npm:^7.4.6" + peerDependencies: + ts-node: "*" + typescript: "*" + peerDependenciesMeta: + ts-node: + optional: true + typescript: + optional: true + bin: + hardhat: internal/cli/bootstrap.js + checksum: 10/c79747b9922c3010aa043c5b527c68dfcd20286a1a09296ae145bbfb96e73c05fe0e9ab6b652960022c7398817e3bc5164c70cdf34f9fa64f3d57a637dd4c857 + languageName: node + linkType: hard + "has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": version: 1.0.2 resolution: "has-bigints@npm:1.0.2" @@ -20437,6 +20704,13 @@ __metadata: languageName: node linkType: hard +"lodash.clonedeep@npm:^4.5.0": + version: 4.5.0 + resolution: "lodash.clonedeep@npm:4.5.0" + checksum: 10/957ed243f84ba6791d4992d5c222ffffca339a3b79dbe81d2eaf0c90504160b500641c5a0f56e27630030b18b8e971ea10b44f928a977d5ced3c8948841b555f + languageName: node + linkType: hard + "lodash.debounce@npm:^4.0.8": version: 4.0.8 resolution: "lodash.debounce@npm:4.0.8" @@ -20444,7 +20718,7 @@ __metadata: languageName: node linkType: hard -"lodash.isequal@npm:4.5.0": +"lodash.isequal@npm:4.5.0, lodash.isequal@npm:^4.5.0": version: 4.5.0 resolution: "lodash.isequal@npm:4.5.0" checksum: 10/82fc58a83a1555f8df34ca9a2cd300995ff94018ac12cc47c349655f0ae1d4d92ba346db4c19bbfc90510764e0c00ddcc985a358bdcd4b3b965abf8f2a48a214 @@ -27581,7 +27855,7 @@ __metadata: languageName: node linkType: hard -"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": +"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" dependencies: @@ -28869,7 +29143,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:4.9.5, typescript@npm:>=4.5.0, typescript@npm:^4.7.0, typescript@npm:^4.7.4, typescript@npm:^4.9.3, typescript@npm:^4.9.5": +"typescript@npm:4.9.5": version: 4.9.5 resolution: "typescript@npm:4.9.5" bin: @@ -28889,6 +29163,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:^5.4.3": + version: 5.4.3 + resolution: "typescript@npm:5.4.3" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10/de4c69f49a7ad4b1ea66a6dcc8b055ac34eb56af059a069d8988dd811c5e649be07e042e5bf573e8d0ac3ec2f30e6c999aa651cd09f6e9cbc6113749e8b6be20 + languageName: node + linkType: hard + "typescript@npm:~5.2.2": version: 5.2.2 resolution: "typescript@npm:5.2.2" @@ -28899,7 +29183,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A4.9.5#optional!builtin, typescript@patch:typescript@npm%3A>=4.5.0#optional!builtin, typescript@patch:typescript@npm%3A^4.7.0#optional!builtin, typescript@patch:typescript@npm%3A^4.7.4#optional!builtin, typescript@patch:typescript@npm%3A^4.9.3#optional!builtin, typescript@patch:typescript@npm%3A^4.9.5#optional!builtin": +"typescript@patch:typescript@npm%3A4.9.5#optional!builtin": version: 4.9.5 resolution: "typescript@patch:typescript@npm%3A4.9.5#optional!builtin::version=4.9.5&hash=289587" bin: @@ -28919,6 +29203,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@npm%3A^5.4.3#optional!builtin": + version: 5.4.3 + resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=5adc0c" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10/5aedd97595582b08aadb8a70e8e3ddebaf5a9c1e5ad4d6503c2fcfc15329b5cf8d01145b09913e9555683ac16c5123a96be32b6d72614098ebd42df520eed9b1 + languageName: node + linkType: hard + "typescript@patch:typescript@npm%3A~5.2.2#optional!builtin": version: 5.2.2 resolution: "typescript@patch:typescript@npm%3A5.2.2#optional!builtin::version=5.2.2&hash=f3b441" @@ -30278,6 +30572,15 @@ __metadata: languageName: node linkType: hard +"widest-line@npm:^3.1.0": + version: 3.1.0 + resolution: "widest-line@npm:3.1.0" + dependencies: + string-width: "npm:^4.0.0" + checksum: 10/03db6c9d0af9329c37d74378ff1d91972b12553c7d72a6f4e8525fe61563fa7adb0b9d6e8d546b7e059688712ea874edd5ded475999abdeedf708de9849310e0 + languageName: node + linkType: hard + "widest-line@npm:^4.0.1": version: 4.0.1 resolution: "widest-line@npm:4.0.1"