= {
* @param txnHash
* @dev returns empty string if the network is localChain
*/
-export function getBlockExplorerTxLink(network: Network, txnHash: string) {
- const { chainId } = network;
-
+export function getBlockExplorerTxLink(chainId: number, txnHash: string) {
const chainNames = Object.keys(chains);
const targetChainArr = chainNames.filter(chainName => {
diff --git a/packages/nextjs/utils/scaffold-eth/notification.tsx b/packages/nextjs/utils/scaffold-eth/notification.tsx
index 71379953c..22fd9477a 100644
--- a/packages/nextjs/utils/scaffold-eth/notification.tsx
+++ b/packages/nextjs/utils/scaffold-eth/notification.tsx
@@ -57,7 +57,7 @@ const Notification = ({
}`}
>
{icon ? icon : ENUM_STATUSES[status]}
- {content}
+ {content}
toast.dismiss(t.id)}>
toast.remove(t.id)} />
diff --git a/packages/nextjs/utils/scaffold-eth/parseTxnValue.ts b/packages/nextjs/utils/scaffold-eth/parseTxnValue.ts
deleted file mode 100644
index 2cc33fb73..000000000
--- a/packages/nextjs/utils/scaffold-eth/parseTxnValue.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { BigNumber } from "ethers";
-
-/**
- * @dev utility to parse string to wagmi's PayableOverrides.value.Returns BigNumber if its convertible or returns -1 if there is error or invalid string
- * @param str - any string
- * @return {BigNumber | number}
- */
-export const parseTxnValue = (str: string): BigNumber | number | undefined => {
- if (!str) {
- return undefined;
- }
- try {
- if (isNaN(parseFloat(str))) {
- return -1;
- }
- return BigNumber.from(str);
- } catch (error: any) {
- if (parseFloat(str)) {
- return parseFloat(str);
- } else {
- return -1;
- }
- }
-};
diff --git a/yarn.lock b/yarn.lock
index bb02a11fc..e89090b6a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5,6 +5,13 @@ __metadata:
version: 6
cacheKey: 8
+"@adraffy/ens-normalize@npm:1.9.0":
+ version: 1.9.0
+ resolution: "@adraffy/ens-normalize@npm:1.9.0"
+ checksum: a8d47f85db7a0bba01227fae8781a3245a4517875503d6848a47ca29e7f7da271742a2f93b55afc1b9201e74eda1fd1f1e6e79e70f967359fd7f6ec3d45bf243
+ languageName: node
+ linkType: hard
+
"@babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.18.6":
version: 7.18.6
resolution: "@babel/code-frame@npm:7.18.6"
@@ -352,7 +359,7 @@ __metadata:
languageName: node
linkType: hard
-"@ethersproject/address@npm:5.7.0, @ethersproject/address@npm:^5.0.2, @ethersproject/address@npm:^5.7.0":
+"@ethersproject/address@npm:5.7.0, @ethersproject/address@npm:^5.0.0, @ethersproject/address@npm:^5.0.2, @ethersproject/address@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/address@npm:5.7.0"
dependencies:
@@ -506,7 +513,7 @@ __metadata:
languageName: node
linkType: hard
-"@ethersproject/networks@npm:5.7.1, @ethersproject/networks@npm:^5.7.0, @ethersproject/networks@npm:^5.7.1":
+"@ethersproject/networks@npm:5.7.1, @ethersproject/networks@npm:^5.7.0":
version: 5.7.1
resolution: "@ethersproject/networks@npm:5.7.1"
dependencies:
@@ -562,7 +569,7 @@ __metadata:
languageName: node
linkType: hard
-"@ethersproject/providers@npm:5.7.2, @ethersproject/providers@npm:^5.7.2":
+"@ethersproject/providers@npm:^5.7.2":
version: 5.7.2
resolution: "@ethersproject/providers@npm:5.7.2"
dependencies:
@@ -635,7 +642,7 @@ __metadata:
languageName: node
linkType: hard
-"@ethersproject/solidity@npm:5.7.0, @ethersproject/solidity@npm:^5.7.0":
+"@ethersproject/solidity@npm:5.7.0, @ethersproject/solidity@npm:^5.0.0, @ethersproject/solidity@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/solidity@npm:5.7.0"
dependencies:
@@ -711,7 +718,7 @@ __metadata:
languageName: node
linkType: hard
-"@ethersproject/web@npm:5.7.1, @ethersproject/web@npm:^5.7.0, @ethersproject/web@npm:^5.7.1":
+"@ethersproject/web@npm:5.7.1, @ethersproject/web@npm:^5.7.0":
version: 5.7.1
resolution: "@ethersproject/web@npm:5.7.1"
dependencies:
@@ -848,41 +855,10 @@ __metadata:
languageName: node
linkType: hard
-"@json-rpc-tools/provider@npm:^1.5.5":
- version: 1.7.6
- resolution: "@json-rpc-tools/provider@npm:1.7.6"
- dependencies:
- "@json-rpc-tools/utils": ^1.7.6
- axios: ^0.21.0
- safe-json-utils: ^1.1.1
- ws: ^7.4.0
- checksum: c60d73511db7f743c3844d499df6a7e243d5f5493127c00fbf9aec74c95d2e80a3033eb22369c428c2deec263a47cd1b334cd76c84859e30355a6dace893a589
- languageName: node
- linkType: hard
-
-"@json-rpc-tools/types@npm:^1.7.6":
- version: 1.7.6
- resolution: "@json-rpc-tools/types@npm:1.7.6"
- dependencies:
- keyvaluestorage-interface: ^1.0.0
- checksum: f23ec7d79a78aa4e896d1dff506108bd3da38015028afd997034e6498c1f3c7bedee70618b0d1a73adf13b4d2a6a91146c2e9505487280b3c376e74f5790e77c
- languageName: node
- linkType: hard
-
-"@json-rpc-tools/utils@npm:^1.7.6":
- version: 1.7.6
- resolution: "@json-rpc-tools/utils@npm:1.7.6"
- dependencies:
- "@json-rpc-tools/types": ^1.7.6
- "@pedrouid/environment": ^1.0.1
- checksum: 32cac2e8cbf8a15d95415de8ded483c6206e6df392e129ad51acd90a4842511e931156c59cb26036fb9fae8054e8f20b719a35282304f39cd18683a5293cb67d
- languageName: node
- linkType: hard
-
-"@ledgerhq/connect-kit-loader@npm:^1.0.1":
- version: 1.0.2
- resolution: "@ledgerhq/connect-kit-loader@npm:1.0.2"
- checksum: 38475ee5a80b733fee571a8e882e7d309e0e28ef4776adb122bb4be010c54ca966c3946c1cbc78ae0d6abec62cd9ea6c7fbe4879041fe43d173bb287362fa34f
+"@ledgerhq/connect-kit-loader@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "@ledgerhq/connect-kit-loader@npm:1.1.0"
+ checksum: 47fedfc64d2e4d287f3f469dc67066c6ce21bfb3e26ca565132181ad8a4d5aacbd57e8cc30d32ab6fb92cba6ed64553675a2509f02fecfb017e112a6e5dea924
languageName: node
linkType: hard
@@ -1179,6 +1155,15 @@ __metadata:
languageName: node
linkType: hard
+"@noble/curves@npm:1.0.0, @noble/curves@npm:~1.0.0":
+ version: 1.0.0
+ resolution: "@noble/curves@npm:1.0.0"
+ dependencies:
+ "@noble/hashes": 1.3.0
+ checksum: 6bcef44d626c640dc8961819d68dd67dffb907e3b973b7c27efe0ecdd9a5c6ce62c7b9e3dfc930c66605dced7f1ec0514d191c09a2ce98d6d52b66e3315ffa79
+ languageName: node
+ linkType: hard
+
"@noble/ed25519@npm:^1.7.0":
version: 1.7.1
resolution: "@noble/ed25519@npm:1.7.1"
@@ -1193,6 +1178,13 @@ __metadata:
languageName: node
linkType: hard
+"@noble/hashes@npm:1.3.0, @noble/hashes@npm:~1.3.0":
+ version: 1.3.0
+ resolution: "@noble/hashes@npm:1.3.0"
+ checksum: d7ddb6d7c60f1ce1f87facbbef5b724cdea536fc9e7f59ae96e0fc9de96c8f1a2ae2bdedbce10f7dcc621338dfef8533daa73c873f2b5c87fa1a4e05a95c2e2e
+ languageName: node
+ linkType: hard
+
"@noble/hashes@npm:^1.1.2":
version: 1.1.5
resolution: "@noble/hashes@npm:1.1.5"
@@ -1631,13 +1623,6 @@ __metadata:
languageName: node
linkType: hard
-"@pedrouid/environment@npm:^1.0.1":
- version: 1.0.1
- resolution: "@pedrouid/environment@npm:1.0.1"
- checksum: fd88340ad760f26340a2816c3677f0ca913976e315880891c3de3f028fe64abc9704fb904234dce77a1ff15c22d0b6cbf1d4199a76de6695c2aed8353ce20590
- languageName: node
- linkType: hard
-
"@pkgr/utils@npm:^2.3.1":
version: 2.3.1
resolution: "@pkgr/utils@npm:2.3.1"
@@ -1652,9 +1637,9 @@ __metadata:
languageName: node
linkType: hard
-"@rainbow-me/rainbowkit@npm:^0.12.15":
- version: 0.12.15
- resolution: "@rainbow-me/rainbowkit@npm:0.12.15"
+"@rainbow-me/rainbowkit@npm:^1.0.4":
+ version: 1.0.4
+ resolution: "@rainbow-me/rainbowkit@npm:1.0.4"
dependencies:
"@vanilla-extract/css": 1.9.1
"@vanilla-extract/dynamic": 2.0.2
@@ -1663,11 +1648,11 @@ __metadata:
qrcode: 1.5.0
react-remove-scroll: 2.5.4
peerDependencies:
- ethers: ">=5.6.8"
react: ">=17"
react-dom: ">=17"
- wagmi: 0.12.x
- checksum: c871f35dd68fb118d2d1af914df86c00eb17acc569d71e1b127910b3bababac264f22abc574f75173a5e1e4b57214543b8c3b67257e1d7593eb71d4d4e280b09
+ viem: ~0.3.19 || ^1.0.0
+ wagmi: ~1.0.1 || ~1.1.0 || ~1.2.0 || ~1.3.0
+ checksum: bb0985ae8a7aa9e15b7c64a669762ce7adc332f009849b4546965c366946462903a75e4fe593565c2430e5a3385fbc7f4ea128c49a96a7f8816b1ccd54a450c4
languageName: node
linkType: hard
@@ -1688,33 +1673,23 @@ __metadata:
languageName: node
linkType: hard
-"@safe-global/safe-apps-provider@npm:^0.15.2":
- version: 0.15.2
- resolution: "@safe-global/safe-apps-provider@npm:0.15.2"
+"@safe-global/safe-apps-provider@npm:^0.17.1":
+ version: 0.17.1
+ resolution: "@safe-global/safe-apps-provider@npm:0.17.1"
dependencies:
- "@safe-global/safe-apps-sdk": 7.9.0
+ "@safe-global/safe-apps-sdk": 8.0.0
events: ^3.3.0
- checksum: 5d647d105c935f1cb2b349b2dd3f8b590be5b16f5c1e65e4fd3fb8c72e46bfe8e2bb8e4876642511c41c0b3d75ae2f572e55a35066740c04d80c1def02e93e3b
+ checksum: 02f0415a4bb77b82e55f0055be045af715d9c0ea0fa7daa4e0604f40cc2189051d111b8ead67ddab0e99b1e423b444753c11d69bb213d51e459f706d2b430e34
languageName: node
linkType: hard
-"@safe-global/safe-apps-sdk@npm:7.9.0":
- version: 7.9.0
- resolution: "@safe-global/safe-apps-sdk@npm:7.9.0"
- dependencies:
- "@safe-global/safe-gateway-typescript-sdk": ^3.5.3
- ethers: ^5.7.2
- checksum: 439cea5e486e85619c78c876bdbb81544d54c47af24e9633b7e0bd49cb0b25d260f02de573e734cd5bf767c8188bc60729880e30c86785c7e7dd22f0dbd5d0dd
- languageName: node
- linkType: hard
-
-"@safe-global/safe-apps-sdk@npm:^7.9.0":
- version: 7.10.0
- resolution: "@safe-global/safe-apps-sdk@npm:7.10.0"
+"@safe-global/safe-apps-sdk@npm:8.0.0, @safe-global/safe-apps-sdk@npm:^8.0.0":
+ version: 8.0.0
+ resolution: "@safe-global/safe-apps-sdk@npm:8.0.0"
dependencies:
"@safe-global/safe-gateway-typescript-sdk": ^3.5.3
- ethers: ^5.7.2
- checksum: 77ef8769bbb52ad72c63836928514c096ceee42b0e7d1a46f3fc54b291e909f8471a7492295af605d1c8fc1a27ae100d01f705550f0b40375e8f53fd448de83c
+ viem: ^1.0.0
+ checksum: 07295c44afa4d85fbc9419b4baac56b4fb493816d4438d6956842261e0689fdcea639ab86b39ee693c456fddace17b6c556c77a637892634a57de96f6b00b0c3
languageName: node
linkType: hard
@@ -1745,6 +1720,17 @@ __metadata:
languageName: node
linkType: hard
+"@scure/bip32@npm:1.3.0":
+ version: 1.3.0
+ resolution: "@scure/bip32@npm:1.3.0"
+ dependencies:
+ "@noble/curves": ~1.0.0
+ "@noble/hashes": ~1.3.0
+ "@scure/base": ~1.1.0
+ checksum: 6eae997f9bdf41fe848134898960ac48e645fa10e63d579be965ca331afd0b7c1b8ebac170770d237ab4099dafc35e5a82995384510025ccf2abe669f85e8918
+ languageName: node
+ linkType: hard
+
"@scure/bip39@npm:1.1.0":
version: 1.1.0
resolution: "@scure/bip39@npm:1.1.0"
@@ -1755,6 +1741,16 @@ __metadata:
languageName: node
linkType: hard
+"@scure/bip39@npm:1.2.0":
+ version: 1.2.0
+ resolution: "@scure/bip39@npm:1.2.0"
+ dependencies:
+ "@noble/hashes": ~1.3.0
+ "@scure/base": ~1.1.0
+ checksum: 980d761f53e63de04a9e4db840eb13bfb1bd1b664ecb04a71824c12c190f4972fd84146f3ed89b2a8e4c6bd2c17c15f8b592b7ac029e903323b0f9e2dae6916b
+ languageName: node
+ linkType: hard
+
"@se-2/hardhat@workspace:packages/hardhat":
version: 0.0.0-use.local
resolution: "@se-2/hardhat@workspace:packages/hardhat"
@@ -1800,24 +1796,23 @@ __metadata:
version: 0.0.0-use.local
resolution: "@se-2/nextjs@workspace:packages/nextjs"
dependencies:
- "@ethersproject/networks": ^5.7.1
- "@ethersproject/web": ^5.7.1
+ "@ethersproject/providers": ^5.7.2
"@heroicons/react": ^2.0.11
- "@rainbow-me/rainbowkit": ^0.12.15
+ "@rainbow-me/rainbowkit": ^1.0.4
"@trivago/prettier-plugin-sort-imports": ^4.1.1
"@types/node": ^17.0.35
"@types/react": ^18.0.9
"@types/react-blockies": ^1.4.1
"@types/react-copy-to-clipboard": ^5.0.4
"@typescript-eslint/eslint-plugin": ^5.39.0
- "@uniswap/sdk": ^3.0.3
+ "@uniswap/sdk-core": ^4.0.1
+ "@uniswap/v2-sdk": ^3.0.1
autoprefixer: ^10.4.12
daisyui: ^2.31.0
eslint: ^8.15.0
eslint-config-next: ^13.1.6
eslint-config-prettier: ^8.5.0
eslint-plugin-prettier: ^4.2.1
- ethers: ^5.0.0
next: ^13.1.6
nextjs-progressbar: ^0.0.16
postcss: ^8.4.16
@@ -1833,7 +1828,8 @@ __metadata:
use-debounce: ^8.0.4
usehooks-ts: ^2.7.2
vercel: ^28.15.1
- wagmi: ^0.12.15
+ viem: ^1.2.1
+ wagmi: ^1.3.2
zustand: ^4.1.2
languageName: unknown
linkType: soft
@@ -2887,31 +2883,44 @@ __metadata:
languageName: node
linkType: hard
-"@uniswap/sdk@npm:^3.0.3":
- version: 3.0.3
- resolution: "@uniswap/sdk@npm:3.0.3"
+"@uniswap/sdk-core@npm:^3.0.0-alpha.3":
+ version: 3.2.3
+ resolution: "@uniswap/sdk-core@npm:3.2.3"
dependencies:
- "@uniswap/v2-core": ^1.0.0
+ "@ethersproject/address": ^5.0.2
big.js: ^5.2.2
decimal.js-light: ^2.5.0
- jsbi: ^3.1.1
+ jsbi: ^3.1.4
tiny-invariant: ^1.1.0
- tiny-warning: ^1.0.3
toformat: ^2.0.0
- peerDependencies:
- "@ethersproject/address": ^5.0.0-beta
- "@ethersproject/contracts": ^5.0.0-beta
- "@ethersproject/networks": ^5.0.0-beta
- "@ethersproject/providers": ^5.0.0-beta
- "@ethersproject/solidity": ^5.0.0-beta
- checksum: 7dcb9cfa95d86fd92db107388a945c635590b355c9932d863b58129ee942a283dbcb0f91bf43a954551c142ec02e69370dac4b2d89dc9e59db739feb2d6a0f8c
+ checksum: a19367c7e1d7b391b1664f59b808836cbaed9a12880bdf6b9a31e6c3b63f2edce2966bdda65144a3003e4c3cd96085b86129c174971330a9766194c404263346
languageName: node
linkType: hard
-"@uniswap/v2-core@npm:^1.0.0":
- version: 1.0.1
- resolution: "@uniswap/v2-core@npm:1.0.1"
- checksum: eaa118fe45eac2e80b7468547ce2cde12bd3c8157555d2e40e0462a788c9506c6295247b511382da85e44a89ad92aff7bb3433b23bfbd2eeea23942ecd46e979
+"@uniswap/sdk-core@npm:^4.0.1":
+ version: 4.0.1
+ resolution: "@uniswap/sdk-core@npm:4.0.1"
+ dependencies:
+ "@ethersproject/address": ^5.0.2
+ big.js: ^5.2.2
+ decimal.js-light: ^2.5.0
+ jsbi: ^3.1.4
+ tiny-invariant: ^1.1.0
+ toformat: ^2.0.0
+ checksum: 5a1f02025b977b60089e4d5313b740874bb7ccc3b8a7bd4aedcaf6aa3b6b77d0e5f98de212835e11c1207d828363cd2ad9805bb405f17fc55f0d8574da1822eb
+ languageName: node
+ linkType: hard
+
+"@uniswap/v2-sdk@npm:^3.0.1":
+ version: 3.0.1
+ resolution: "@uniswap/v2-sdk@npm:3.0.1"
+ dependencies:
+ "@ethersproject/address": ^5.0.0
+ "@ethersproject/solidity": ^5.0.0
+ "@uniswap/sdk-core": ^3.0.0-alpha.3
+ tiny-invariant: ^1.1.0
+ tiny-warning: ^1.0.3
+ checksum: 2fd2de4adc462c53f1b963d4747b6b413292dc0054ebe93372753a3b2605a23169fcd8d9a8daf6ebc08568e0ae8891f9daeb29cabfe4369698e8a58395706e20
languageName: node
linkType: hard
@@ -3127,66 +3136,78 @@ __metadata:
languageName: node
linkType: hard
-"@wagmi/chains@npm:0.2.22":
- version: 0.2.22
- resolution: "@wagmi/chains@npm:0.2.22"
+"@wagmi/chains@npm:1.2.0":
+ version: 1.2.0
+ resolution: "@wagmi/chains@npm:1.2.0"
+ peerDependencies:
+ typescript: ">=5.0.4"
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ checksum: adac1caf245820bb50292bf2509be195e8efb3b349dc2ac0e0ed7370993b5fed93db57deaf4d27192b20e8418e9f10cdc7a59bd0a6ce1ac0447e61af76efe423
+ languageName: node
+ linkType: hard
+
+"@wagmi/chains@npm:1.3.0":
+ version: 1.3.0
+ resolution: "@wagmi/chains@npm:1.3.0"
peerDependencies:
- typescript: ">=4.9.4"
+ typescript: ">=5.0.4"
peerDependenciesMeta:
typescript:
optional: true
- checksum: a8fdbce18f2ed8cce6c765828b78ef59756e3d4dc858af07f42827e78d8ab5b4ab3da2c79cd7cd3f534a6b27edd5bb5f764e6250394b4ae6aa0a055b7bdc518a
+ checksum: a9dd2ed8e5e2c380ed2bcc48c36fda9c34d8fae45d080e29c472bb24f48746c4d697c42be6880ee4c9c6bcd5dcff74b0f1c0fcf17b921594788ded66b76cda78
languageName: node
linkType: hard
-"@wagmi/connectors@npm:0.3.21":
- version: 0.3.21
- resolution: "@wagmi/connectors@npm:0.3.21"
+"@wagmi/connectors@npm:2.6.1":
+ version: 2.6.1
+ resolution: "@wagmi/connectors@npm:2.6.1"
dependencies:
"@coinbase/wallet-sdk": ^3.6.6
- "@ledgerhq/connect-kit-loader": ^1.0.1
- "@safe-global/safe-apps-provider": ^0.15.2
- "@safe-global/safe-apps-sdk": ^7.9.0
- "@walletconnect/ethereum-provider": 2.8.1
+ "@ledgerhq/connect-kit-loader": ^1.1.0
+ "@safe-global/safe-apps-provider": ^0.17.1
+ "@safe-global/safe-apps-sdk": ^8.0.0
+ "@walletconnect/ethereum-provider": 2.8.4
"@walletconnect/legacy-provider": ^2.0.0
- "@walletconnect/modal": ^2.4.6
- abitype: ^0.3.0
+ "@walletconnect/modal": 2.5.4
+ abitype: 0.8.7
eventemitter3: ^4.0.7
peerDependencies:
- "@wagmi/core": ">=0.9.x"
- ethers: ">=5.5.1 <6"
- typescript: ">=4.9.4"
+ "@wagmi/chains": ">=1.3.0"
+ typescript: ">=5.0.4"
+ viem: ">=0.3.35"
peerDependenciesMeta:
- "@wagmi/core":
+ "@wagmi/chains":
optional: true
typescript:
optional: true
- checksum: 1a3111c9c4d3c168113a46035d49bd31c7adfe55ee3e2c64719570ee3868329121915fce2b9e1fde8d9a7c0fa5afb6177a71a143ee60c6a1c0812de9823f3564
+ checksum: 167909009758b1ba43e81999b082f890d206f242adab2367939293d2742e14be8b1d891aa54961e193390718ca0848fedfe4a19ac5ce53d4ff9489b8cbfb6f0d
languageName: node
linkType: hard
-"@wagmi/core@npm:0.10.14":
- version: 0.10.14
- resolution: "@wagmi/core@npm:0.10.14"
+"@wagmi/core@npm:1.3.2":
+ version: 1.3.2
+ resolution: "@wagmi/core@npm:1.3.2"
dependencies:
- "@wagmi/chains": 0.2.22
- "@wagmi/connectors": 0.3.21
- abitype: ^0.3.0
+ "@wagmi/chains": 1.3.0
+ "@wagmi/connectors": 2.6.1
+ abitype: 0.8.7
eventemitter3: ^4.0.7
zustand: ^4.3.1
peerDependencies:
- ethers: ">=5.5.1 <6"
- typescript: ">=4.9.4"
+ typescript: ">=5.0.4"
+ viem: ">=0.3.35"
peerDependenciesMeta:
typescript:
optional: true
- checksum: 33f2b37ec451c367ac339a1b811d0bacfb3bb4d7b47037ceeeb9b39dab952c53750dcff0e7f1a76c8d849f90560df79025e4867244b407b1ceedd986b05c0574
+ checksum: ca6e9a8cc1fe071a707f901d2452fe1d1397bdad6c24abab0f52d7a38091b6b3ee34fd84c269847740c23d0946a24d93c34728a16ed02055df3f346e7b5581cc
languageName: node
linkType: hard
-"@walletconnect/core@npm:2.8.1":
- version: 2.8.1
- resolution: "@walletconnect/core@npm:2.8.1"
+"@walletconnect/core@npm:2.8.4":
+ version: 2.8.4
+ resolution: "@walletconnect/core@npm:2.8.4"
dependencies:
"@walletconnect/heartbeat": 1.2.1
"@walletconnect/jsonrpc-provider": 1.0.13
@@ -3199,12 +3220,12 @@ __metadata:
"@walletconnect/relay-auth": ^1.0.4
"@walletconnect/safe-json": ^1.0.2
"@walletconnect/time": ^1.0.2
- "@walletconnect/types": 2.8.1
- "@walletconnect/utils": 2.8.1
+ "@walletconnect/types": 2.8.4
+ "@walletconnect/utils": 2.8.4
events: ^3.3.0
lodash.isequal: 4.5.0
uint8arrays: ^3.1.0
- checksum: 4f7603e510c8ab4acd0ec380740a872921a0b7fc053ef9920f405172c071259bc167fa06952d51244322caa7e282ec9debd8794b7fd3c703e3f1d1e7c7f4e512
+ checksum: bab21068190e42b56e119a89ca47af341a9ab85026c00a0341d7350ce84eab19f4c5e7074bb7846cb83fddc93f66d66820fe59e356a17de1d169ec31d11402f5
languageName: node
linkType: hard
@@ -3242,25 +3263,25 @@ __metadata:
languageName: node
linkType: hard
-"@walletconnect/ethereum-provider@npm:2.8.1":
- version: 2.8.1
- resolution: "@walletconnect/ethereum-provider@npm:2.8.1"
+"@walletconnect/ethereum-provider@npm:2.8.4":
+ version: 2.8.4
+ resolution: "@walletconnect/ethereum-provider@npm:2.8.4"
dependencies:
"@walletconnect/jsonrpc-http-connection": ^1.0.7
"@walletconnect/jsonrpc-provider": ^1.0.13
"@walletconnect/jsonrpc-types": ^1.0.3
"@walletconnect/jsonrpc-utils": ^1.0.8
- "@walletconnect/sign-client": 2.8.1
- "@walletconnect/types": 2.8.1
- "@walletconnect/universal-provider": 2.8.1
- "@walletconnect/utils": 2.8.1
+ "@walletconnect/sign-client": 2.8.4
+ "@walletconnect/types": 2.8.4
+ "@walletconnect/universal-provider": 2.8.4
+ "@walletconnect/utils": 2.8.4
events: ^3.3.0
peerDependencies:
"@walletconnect/modal": ">=2"
peerDependenciesMeta:
"@walletconnect/modal":
optional: true
- checksum: 5dcc3ca4ea0f46d2b1c97fd74ed037b5e15e0d0a7b892f3e862143d60c6cf689c92aee0a30b381fab4d9fc853a1180bed657fa8d96fd5394daa2c05407ef45bb
+ checksum: e2323b5d085c1ea4600f230f776420447dd4ef5433b0816199c9394b58a82ccc886beadb8ca8ec9f0169f300b6cfde91bb15046f2748a89406db739b3cb3c657
languageName: node
linkType: hard
@@ -3484,13 +3505,35 @@ __metadata:
languageName: node
linkType: hard
-"@walletconnect/modal@npm:^2.4.6":
- version: 2.4.7
- resolution: "@walletconnect/modal@npm:2.4.7"
+"@walletconnect/modal-core@npm:2.5.4":
+ version: 2.5.4
+ resolution: "@walletconnect/modal-core@npm:2.5.4"
+ dependencies:
+ buffer: 6.0.3
+ valtio: 1.10.6
+ checksum: 660a507a7a66812be7020b35fbe72e5052739df696424d59e0db55544dcbaf915e108c29c90578dcd82e7beeacd4891ed835e80bb9b16d2aed475fab3be1599c
+ languageName: node
+ linkType: hard
+
+"@walletconnect/modal-ui@npm:2.5.4":
+ version: 2.5.4
+ resolution: "@walletconnect/modal-ui@npm:2.5.4"
+ dependencies:
+ "@walletconnect/modal-core": 2.5.4
+ lit: 2.7.5
+ motion: 10.16.2
+ qrcode: 1.5.3
+ checksum: 40034612895ed7bc7f18e2972b0f3c681f75c59636eb88771387795d4c5e5f301bfbc7e59153d3084dd1606b70943d7885b52a54e22ce780a00696b0761f02de
+ languageName: node
+ linkType: hard
+
+"@walletconnect/modal@npm:2.5.4":
+ version: 2.5.4
+ resolution: "@walletconnect/modal@npm:2.5.4"
dependencies:
- "@web3modal/core": 2.4.7
- "@web3modal/ui": 2.4.7
- checksum: bf32b2ff50fb01e66f300b23ba2455a72f6741e2176a093db88dea4c86811c3791998a6a23816c95ecffa55bd715dd7410d96194c04f3d3cd22a4e2f8949efae
+ "@walletconnect/modal-core": 2.5.4
+ "@walletconnect/modal-ui": 2.5.4
+ checksum: 4bf0974d635ae41df665ae31ed2812c16703b605715e1b61f48c9faf8b66eab589767ff9b6e33016a60b62b1dae05948593d69abe9024b5b68dd66eec170017d
languageName: node
linkType: hard
@@ -3548,20 +3591,20 @@ __metadata:
languageName: node
linkType: hard
-"@walletconnect/sign-client@npm:2.8.1":
- version: 2.8.1
- resolution: "@walletconnect/sign-client@npm:2.8.1"
+"@walletconnect/sign-client@npm:2.8.4":
+ version: 2.8.4
+ resolution: "@walletconnect/sign-client@npm:2.8.4"
dependencies:
- "@walletconnect/core": 2.8.1
+ "@walletconnect/core": 2.8.4
"@walletconnect/events": ^1.0.1
"@walletconnect/heartbeat": 1.2.1
"@walletconnect/jsonrpc-utils": 1.0.8
"@walletconnect/logger": ^2.0.1
"@walletconnect/time": ^1.0.2
- "@walletconnect/types": 2.8.1
- "@walletconnect/utils": 2.8.1
+ "@walletconnect/types": 2.8.4
+ "@walletconnect/utils": 2.8.4
events: ^3.3.0
- checksum: 1eecc9dde5aae2034f8c2ba1d1392140f1f9019e7f627ca803f5b126c18655d7b08347147622bdce6bb07355b28893c7f7ddbe13642616238695653da44632df
+ checksum: b04bf20a85d1bee5675a6827cd2781d7a88852986ef9d770e53cd2ef5852487b2b026acf7a6648c4e471210b6639e227c7f20c2b94c6cb087acab0072fa6ba4d
languageName: node
linkType: hard
@@ -3574,9 +3617,9 @@ __metadata:
languageName: node
linkType: hard
-"@walletconnect/types@npm:2.8.1":
- version: 2.8.1
- resolution: "@walletconnect/types@npm:2.8.1"
+"@walletconnect/types@npm:2.8.4":
+ version: 2.8.4
+ resolution: "@walletconnect/types@npm:2.8.4"
dependencies:
"@walletconnect/events": ^1.0.1
"@walletconnect/heartbeat": 1.2.1
@@ -3584,31 +3627,30 @@ __metadata:
"@walletconnect/keyvaluestorage": ^1.0.2
"@walletconnect/logger": ^2.0.1
events: ^3.3.0
- checksum: 8ac30f3e66c67bdd4ea18690eaa6d873bf170544a6bc67cdbbeb849ed3a50778158bf82789d047b983e25bd43c3841c5f0102bf2981fce400f5909e0968f0192
+ checksum: fafe2105ff040fdb22125f1f9ae378dbf12dd92ec228ea12ef1da2b2705c260eda1b51a1256132847f7f5e1f8cbfade417b435c9cfc2efd7ebcc537d33b7a3e3
languageName: node
linkType: hard
-"@walletconnect/universal-provider@npm:2.8.1":
- version: 2.8.1
- resolution: "@walletconnect/universal-provider@npm:2.8.1"
+"@walletconnect/universal-provider@npm:2.8.4":
+ version: 2.8.4
+ resolution: "@walletconnect/universal-provider@npm:2.8.4"
dependencies:
"@walletconnect/jsonrpc-http-connection": ^1.0.7
"@walletconnect/jsonrpc-provider": 1.0.13
"@walletconnect/jsonrpc-types": ^1.0.2
"@walletconnect/jsonrpc-utils": ^1.0.7
"@walletconnect/logger": ^2.0.1
- "@walletconnect/sign-client": 2.8.1
- "@walletconnect/types": 2.8.1
- "@walletconnect/utils": 2.8.1
- eip1193-provider: 1.0.1
+ "@walletconnect/sign-client": 2.8.4
+ "@walletconnect/types": 2.8.4
+ "@walletconnect/utils": 2.8.4
events: ^3.3.0
- checksum: 888afcbecd7db44fa7159e33c7e714553029ca88ac2a2848664eabc810bcac95290214137cce7c8661aad326274453a484be8e5f99d469e0bcc35c204c9cd4a6
+ checksum: 51c7271a540045018f7bad25aa80c1bb48e7ac6863a1ed7129759bba7a9dd1d1162cd91062cf3058497d1537b4dbbb1b69091640c769f5787f6cd368749d4b88
languageName: node
linkType: hard
-"@walletconnect/utils@npm:2.8.1":
- version: 2.8.1
- resolution: "@walletconnect/utils@npm:2.8.1"
+"@walletconnect/utils@npm:2.8.4":
+ version: 2.8.4
+ resolution: "@walletconnect/utils@npm:2.8.4"
dependencies:
"@stablelib/chacha20poly1305": 1.0.1
"@stablelib/hkdf": 1.0.1
@@ -3618,13 +3660,13 @@ __metadata:
"@walletconnect/relay-api": ^1.0.9
"@walletconnect/safe-json": ^1.0.2
"@walletconnect/time": ^1.0.2
- "@walletconnect/types": 2.8.1
+ "@walletconnect/types": 2.8.4
"@walletconnect/window-getters": ^1.0.1
"@walletconnect/window-metadata": ^1.0.1
detect-browser: 5.3.0
query-string: 7.1.3
uint8arrays: ^3.1.0
- checksum: 2ca91486ba8704ae73ee51ff5c76099cc85ceccb692434bed70bf16b75b371e71e66c9d888c1de92b15d7fa853eee549a85af1d97b275853b827d2b1d31814fe
+ checksum: afd538be7517b6df8d13d3c1ab6b3fef85ac574c0c5d681c589a8dae5c6d50295af32d8aa213a6aad61da995b663245666f5ad53f132e37f1f85de83fd42ca7e
languageName: node
linkType: hard
@@ -3647,28 +3689,6 @@ __metadata:
languageName: node
linkType: hard
-"@web3modal/core@npm:2.4.7":
- version: 2.4.7
- resolution: "@web3modal/core@npm:2.4.7"
- dependencies:
- buffer: 6.0.3
- valtio: 1.10.5
- checksum: 3e4277a1b5ae57368ffcf8c3175fca1aff168e4a15b7bb4f70d54ce3d70457ba57fc5c66aedc426a99bc384370305c7e0731469f502de52ffb4616e9b2f39cda
- languageName: node
- linkType: hard
-
-"@web3modal/ui@npm:2.4.7":
- version: 2.4.7
- resolution: "@web3modal/ui@npm:2.4.7"
- dependencies:
- "@web3modal/core": 2.4.7
- lit: 2.7.5
- motion: 10.16.2
- qrcode: 1.5.3
- checksum: 143aee25170a87461668eda1f9326bc0d3683e95411e0bf184f3633a028b60927ea5ee313580c6648a87b28516252bf66e38532a7e0c65386a6ef37d6e8b6354
- languageName: node
- linkType: hard
-
"JSONStream@npm:1.3.2":
version: 1.3.2
resolution: "JSONStream@npm:1.3.2"
@@ -3707,16 +3727,16 @@ __metadata:
languageName: node
linkType: hard
-"abitype@npm:^0.3.0":
- version: 0.3.0
- resolution: "abitype@npm:0.3.0"
+"abitype@npm:0.8.7":
+ version: 0.8.7
+ resolution: "abitype@npm:0.8.7"
peerDependencies:
- typescript: ">=4.9.4"
- zod: ">=3.19.1"
+ typescript: ">=5.0.4"
+ zod: ^3 >=3.19.1
peerDependenciesMeta:
zod:
optional: true
- checksum: d7f604d917d0ffddc0a7865c24db78585d257202500a70b99c63da659fe299148778fcb78b31e9dbc2d213d69475880702cb05be22eaa0a49e22c73672dd97e1
+ checksum: 4351466808969bcc73e5c535c3d96bb687ee2be0bccd48eba024c47e6cc248f0c8bd368f9e42dab35d39923e63b1349ade470f72812de27127968caf1a1426c9
languageName: node
linkType: hard
@@ -4324,7 +4344,7 @@ __metadata:
languageName: node
linkType: hard
-"axios@npm:^0.21.0, axios@npm:^0.21.1":
+"axios@npm:^0.21.1":
version: 0.21.4
resolution: "axios@npm:0.21.4"
dependencies:
@@ -5829,15 +5849,6 @@ __metadata:
languageName: node
linkType: hard
-"eip1193-provider@npm:1.0.1":
- version: 1.0.1
- resolution: "eip1193-provider@npm:1.0.1"
- dependencies:
- "@json-rpc-tools/provider": ^1.5.5
- checksum: a56d6a874786b788c1f09f96d329b118ca6b3d381055865bb1ec1bde17da8d433a4141200baa2922108d67ac0d83813841940d2813814e56ea923fc9fafb369a
- languageName: node
- linkType: hard
-
"electron-to-chromium@npm:^1.4.251":
version: 1.4.264
resolution: "electron-to-chromium@npm:1.4.264"
@@ -6856,7 +6867,7 @@ __metadata:
languageName: node
linkType: hard
-"ethers@npm:^5.0.0, ethers@npm:^5.5.3, ethers@npm:^5.7.1":
+"ethers@npm:^5.5.3, ethers@npm:^5.7.1":
version: 5.7.1
resolution: "ethers@npm:5.7.1"
dependencies:
@@ -6894,44 +6905,6 @@ __metadata:
languageName: node
linkType: hard
-"ethers@npm:^5.7.2":
- version: 5.7.2
- resolution: "ethers@npm:5.7.2"
- dependencies:
- "@ethersproject/abi": 5.7.0
- "@ethersproject/abstract-provider": 5.7.0
- "@ethersproject/abstract-signer": 5.7.0
- "@ethersproject/address": 5.7.0
- "@ethersproject/base64": 5.7.0
- "@ethersproject/basex": 5.7.0
- "@ethersproject/bignumber": 5.7.0
- "@ethersproject/bytes": 5.7.0
- "@ethersproject/constants": 5.7.0
- "@ethersproject/contracts": 5.7.0
- "@ethersproject/hash": 5.7.0
- "@ethersproject/hdnode": 5.7.0
- "@ethersproject/json-wallets": 5.7.0
- "@ethersproject/keccak256": 5.7.0
- "@ethersproject/logger": 5.7.0
- "@ethersproject/networks": 5.7.1
- "@ethersproject/pbkdf2": 5.7.0
- "@ethersproject/properties": 5.7.0
- "@ethersproject/providers": 5.7.2
- "@ethersproject/random": 5.7.0
- "@ethersproject/rlp": 5.7.0
- "@ethersproject/sha2": 5.7.0
- "@ethersproject/signing-key": 5.7.0
- "@ethersproject/solidity": 5.7.0
- "@ethersproject/strings": 5.7.0
- "@ethersproject/transactions": 5.7.0
- "@ethersproject/units": 5.7.0
- "@ethersproject/wallet": 5.7.0
- "@ethersproject/web": 5.7.1
- "@ethersproject/wordlists": 5.7.0
- checksum: b7c08cf3e257185a7946117dbbf764433b7ba0e77c27298dec6088b3bc871aff711462b0621930c56880ff0a7ceb8b1d3a361ffa259f93377b48e34107f62553
- languageName: node
- linkType: hard
-
"ethjs-unit@npm:0.1.6":
version: 0.1.6
resolution: "ethjs-unit@npm:0.1.6"
@@ -8662,6 +8635,15 @@ __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
+
"isomorphic-ws@npm:^4.0.1":
version: 4.0.1
resolution: "isomorphic-ws@npm:4.0.1"
@@ -8771,7 +8753,7 @@ __metadata:
languageName: node
linkType: hard
-"jsbi@npm:^3.1.1":
+"jsbi@npm:^3.1.4":
version: 3.2.5
resolution: "jsbi@npm:3.2.5"
checksum: 642d1bb139ad1c1e96c4907eb159565e980a0d168487626b493d0d0b7b341da0e43001089d3b21703fe17b18a7a6c0f42c92026f71d54471ed0a0d1b3015ec0f
@@ -13346,9 +13328,9 @@ __metadata:
languageName: node
linkType: hard
-"valtio@npm:1.10.5":
- version: 1.10.5
- resolution: "valtio@npm:1.10.5"
+"valtio@npm:1.10.6":
+ version: 1.10.6
+ resolution: "valtio@npm:1.10.6"
dependencies:
proxy-compare: 2.5.1
use-sync-external-store: 1.2.0
@@ -13357,7 +13339,7 @@ __metadata:
peerDependenciesMeta:
react:
optional: true
- checksum: a01d7cca44b3ff60213aa40470c42083f7522d8e2c2f2d9f696b0aa3eec4c3dba7393831d5ff47db1ad025904860d2788ce4d9654963ff3555481deb25376851
+ checksum: 0e738aa204c479c8f8c89c0a7478d6784c28ddd712be529fdc5c421d3ec28157fec2fb022a75cd4f45b8c4b470fbc64a27032adba6ed9936bdad989256222adf
languageName: node
linkType: hard
@@ -13393,24 +13375,43 @@ __metadata:
languageName: node
linkType: hard
-"wagmi@npm:^0.12.15":
- version: 0.12.16
- resolution: "wagmi@npm:0.12.16"
+"viem@npm:^1.0.0, viem@npm:^1.2.1":
+ version: 1.2.1
+ resolution: "viem@npm:1.2.1"
+ dependencies:
+ "@adraffy/ens-normalize": 1.9.0
+ "@noble/curves": 1.0.0
+ "@noble/hashes": 1.3.0
+ "@scure/bip32": 1.3.0
+ "@scure/bip39": 1.2.0
+ "@wagmi/chains": 1.2.0
+ abitype: 0.8.7
+ isomorphic-ws: 5.0.0
+ ws: 8.12.0
+ peerDependencies:
+ typescript: ">=5.0.4"
+ checksum: f3b0a682a801bcaa89164e587916d5a8c17793ad8bfb639cb43ce0083261bba5ae5a28a6e2815e5267009f91e566d6b6ff83c7130fda0c248bd735bef2548cdb
+ languageName: node
+ linkType: hard
+
+"wagmi@npm:^1.3.2":
+ version: 1.3.2
+ resolution: "wagmi@npm:1.3.2"
dependencies:
"@tanstack/query-sync-storage-persister": ^4.27.1
"@tanstack/react-query": ^4.28.0
"@tanstack/react-query-persist-client": ^4.28.0
- "@wagmi/core": 0.10.14
- abitype: ^0.3.0
+ "@wagmi/core": 1.3.2
+ abitype: 0.8.7
use-sync-external-store: ^1.2.0
peerDependencies:
- ethers: ">=5.5.1 <6"
react: ">=17.0.0"
- typescript: ">=4.9.4"
+ typescript: ">=5.0.4"
+ viem: ">=0.3.35"
peerDependenciesMeta:
typescript:
optional: true
- checksum: b20bbe5271e9088509ced5831b2cef6ac4f9ea9b8ecdc9164fac5a97089771c03946485c7915e9125193f4c79831a9a2deb20a9294e3921a64098716584b1730
+ checksum: 4ba7dbf8fbc21664fe094fde9f272f0c925dfadf429ba6dd60b4d72e3779d6b25fac8b917b94a3f63656625a6fe3c11cf0596a5846be3f3f352e86c87b944e75
languageName: node
linkType: hard
@@ -13613,7 +13614,22 @@ __metadata:
languageName: node
linkType: hard
-"ws@npm:^7.4.0, ws@npm:^7.4.5, ws@npm:^7.4.6, ws@npm:^7.5.1":
+"ws@npm:8.12.0":
+ version: 8.12.0
+ resolution: "ws@npm:8.12.0"
+ peerDependencies:
+ bufferutil: ^4.0.1
+ utf-8-validate: ">=5.0.2"
+ peerDependenciesMeta:
+ bufferutil:
+ optional: true
+ utf-8-validate:
+ optional: true
+ checksum: 818ff3f8749c172a95a114cceb8b89cedd27e43a82d65c7ad0f7882b1e96a2ee6709e3746a903c3fa88beec0c8bae9a9fcd75f20858b32a166dfb7519316a5d7
+ languageName: node
+ linkType: hard
+
+"ws@npm:^7.4.5, ws@npm:^7.4.6, ws@npm:^7.5.1":
version: 7.5.9
resolution: "ws@npm:7.5.9"
peerDependencies: