diff --git a/bun.lockb b/bun.lockb index 3f15abb..4d40553 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/index.html b/index.html index a7a7475..67520d7 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,12 @@ + + @@ -30,6 +36,8 @@ +
diff --git a/package.json b/package.json index d4b5344..fcaefc5 100644 --- a/package.json +++ b/package.json @@ -18,13 +18,12 @@ "@mui/icons-material": "^5.15.14", "@mui/material": "^5.15.14", "@skalenetwork/metaport": "2.1.1-develop.2", - "@skalenetwork/skale-contracts-ethers-v6": "1.0.1-develop.2", + "@skalenetwork/skale-contracts-ethers-v6": "1.0.1", "@transak/transak-sdk": "^3.1.1", "@types/react-copy-to-clipboard": "^5.0.4", "@vercel/analytics": "^1.0.2", "eslint-config-prettier": "^9.0.0", "eslint-config-standard-with-typescript": "^39.1.0", - "ethers-multicall-provider": "^6.2.0", "prettier": "^3.0.3", "react": "^18.2.0", "react-copy-to-clipboard": "^5.1.0", diff --git a/src/core/contracts.ts b/src/core/contracts.ts index b469444..c4b2646 100644 --- a/src/core/contracts.ts +++ b/src/core/contracts.ts @@ -21,8 +21,7 @@ */ import debug from 'debug' -import { type Contract, type AbstractProvider, type Signer } from 'ethers' -import { MulticallWrapper } from 'ethers-multicall-provider' +import { type Contract, type Signer } from 'ethers' import { skaleContracts, type Instance } from '@skalenetwork/skale-contracts-ethers-v6' import { type MetaportCore, type interfaces } from '@skalenetwork/metaport' @@ -37,7 +36,7 @@ type PROJECT_TYPE = 'manager' | 'allocator' | 'grants' export async function initContracts(mpc: MetaportCore): Promise { log('Initializing contracts') - const provider = MulticallWrapper.wrap(mpc.provider('mainnet') as AbstractProvider) + const provider = mpc.provider('mainnet') const network = await skaleContracts.getNetworkByProvider(provider) const managerProject = await network.getProject('skale-manager') const manager = await getInstance(managerProject, mpc.config.skaleNetwork, 'manager')