diff --git a/web/package-lock.json b/web/package-lock.json index 4e7913a..e39cc79 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -9,17 +9,13 @@ "version": "0.11.0", "dependencies": { "@cosmjs/launchpad": "^0.27.1", + "@cosmjs/math": "^0.32.4", "@cosmjs/stargate": "^0.32.3", "@cosmos-kit/keplr": "^2.14.1", "@cosmos-kit/leap": "^2.14.1", "@cosmos-kit/react": "^2.20.1", "@creativebulma/bulma-tooltip": "^1.2.0", - "@keplr-wallet/common": "^0.12.22", - "@keplr-wallet/cosmos": "^0.12.22", - "@keplr-wallet/hooks": "^0.12.22", - "@keplr-wallet/stores": "^0.12.22", "@keplr-wallet/types": "^0.12.22", - "@keplr-wallet/unit": "^0.12.22", "@rainbow-me/rainbowkit": "^2.2.0", "@tanstack/react-query": "^5.61.0", "@types/node": "^16.18.56", @@ -41,7 +37,8 @@ "uuid": "^9.0.1", "viem": "^2.21.49", "wagmi": "^2.13.0", - "web-vitals": "^2.1.4" + "web-vitals": "^2.1.4", + "webpack": "^5.97.1" }, "devDependencies": { "@babel/plugin-proposal-private-property-in-object": "^7.21.11", @@ -55,8 +52,7 @@ "buffer": "^6.0.3", "react-app-rewired": "^2.2.1", "source-map-explorer": "^2.5.3", - "stream-browserify": "^3.0.0", - "webpack": "^5.97.1" + "stream-browserify": "^3.0.0" } }, "node_modules/@adobe/css-tools": { @@ -2546,6 +2542,14 @@ "@cosmjs/utils": "0.27.1" } }, + "node_modules/@cosmjs/amino/node_modules/@cosmjs/math": { + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.27.1.tgz", + "integrity": "sha512-cHWVjmfIjtRc7f80n7x+J5k8pe+vTVTQ0lA82tIxUgqUvgS6rogPP/TmGtTiZ4+NxWxd11DUISY6gVpr18/VNQ==", + "dependencies": { + "bn.js": "^5.2.0" + } + }, "node_modules/@cosmjs/cosmwasm-stargate": { "version": "0.32.4", "resolved": "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.32.4.tgz", @@ -2598,14 +2602,6 @@ "readonly-date": "^1.0.0" } }, - "node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/math": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", - "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", - "dependencies": { - "bn.js": "^5.2.0" - } - }, "node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/utils": { "version": "0.32.4", "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.4.tgz", @@ -2628,6 +2624,14 @@ "sha.js": "^2.4.11" } }, + "node_modules/@cosmjs/crypto/node_modules/@cosmjs/math": { + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.27.1.tgz", + "integrity": "sha512-cHWVjmfIjtRc7f80n7x+J5k8pe+vTVTQ0lA82tIxUgqUvgS6rogPP/TmGtTiZ4+NxWxd11DUISY6gVpr18/VNQ==", + "dependencies": { + "bn.js": "^5.2.0" + } + }, "node_modules/@cosmjs/encoding": { "version": "0.27.1", "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.27.1.tgz", @@ -2661,7 +2665,7 @@ "fast-deep-equal": "^3.1.3" } }, - "node_modules/@cosmjs/math": { + "node_modules/@cosmjs/launchpad/node_modules/@cosmjs/math": { "version": "0.27.1", "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.27.1.tgz", "integrity": "sha512-cHWVjmfIjtRc7f80n7x+J5k8pe+vTVTQ0lA82tIxUgqUvgS6rogPP/TmGtTiZ4+NxWxd11DUISY6gVpr18/VNQ==", @@ -2669,6 +2673,14 @@ "bn.js": "^5.2.0" } }, + "node_modules/@cosmjs/math": { + "version": "0.32.4", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", + "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", + "dependencies": { + "bn.js": "^5.2.0" + } + }, "node_modules/@cosmjs/proto-signing": { "version": "0.32.4", "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.32.4.tgz", @@ -2717,14 +2729,6 @@ "readonly-date": "^1.0.0" } }, - "node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/math": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", - "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", - "dependencies": { - "bn.js": "^5.2.0" - } - }, "node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/utils": { "version": "0.32.4", "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.4.tgz", @@ -2793,14 +2797,6 @@ "readonly-date": "^1.0.0" } }, - "node_modules/@cosmjs/stargate/node_modules/@cosmjs/math": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", - "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", - "dependencies": { - "bn.js": "^5.2.0" - } - }, "node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils": { "version": "0.32.4", "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.4.tgz", @@ -2855,14 +2851,6 @@ "readonly-date": "^1.0.0" } }, - "node_modules/@cosmjs/tendermint-rpc/node_modules/@cosmjs/math": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", - "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", - "dependencies": { - "bn.js": "^5.2.0" - } - }, "node_modules/@cosmjs/tendermint-rpc/node_modules/@cosmjs/utils": { "version": "0.32.4", "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.4.tgz", @@ -2983,14 +2971,6 @@ "readonly-date": "^1.0.0" } }, - "node_modules/@cosmos-kit/core/node_modules/@cosmjs/math": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", - "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", - "dependencies": { - "bn.js": "^5.2.0" - } - }, "node_modules/@cosmos-kit/core/node_modules/@cosmjs/utils": { "version": "0.32.4", "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.4.tgz", @@ -3092,15 +3072,6 @@ "readonly-date": "^1.0.0" } }, - "node_modules/@cosmos-kit/keplr/node_modules/@cosmjs/math": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", - "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", - "peer": true, - "dependencies": { - "bn.js": "^5.2.0" - } - }, "node_modules/@cosmos-kit/keplr/node_modules/@cosmjs/utils": { "version": "0.32.4", "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.4.tgz", @@ -3254,15 +3225,6 @@ "readonly-date": "^1.0.0" } }, - "node_modules/@cosmos-kit/leap-mobile/node_modules/@cosmjs/math": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", - "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", - "peer": true, - "dependencies": { - "bn.js": "^5.2.0" - } - }, "node_modules/@cosmos-kit/leap-mobile/node_modules/@cosmjs/utils": { "version": "0.32.4", "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.4.tgz", @@ -3364,15 +3326,6 @@ "readonly-date": "^1.0.0" } }, - "node_modules/@cosmos-kit/leap/node_modules/@cosmjs/math": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", - "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", - "peer": true, - "dependencies": { - "bn.js": "^5.2.0" - } - }, "node_modules/@cosmos-kit/leap/node_modules/@cosmjs/utils": { "version": "0.32.4", "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.4.tgz", @@ -3557,15 +3510,6 @@ "readonly-date": "^1.0.0" } }, - "node_modules/@cosmos-kit/react-lite/node_modules/@cosmjs/math": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", - "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", - "peer": true, - "dependencies": { - "bn.js": "^5.2.0" - } - }, "node_modules/@cosmos-kit/react-lite/node_modules/@cosmjs/utils": { "version": "0.32.4", "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.4.tgz", @@ -3973,15 +3917,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@ethereumjs/common": { - "version": "2.6.5", - "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-2.6.5.tgz", - "integrity": "sha512-lRyVQOeCDaIVtgfbowla32pzeDv2Obr8oR8Put5RdUBNRGr1VGPGQNGP6elWIpgK3YdpzqTOh4GyUGOureVeeA==", - "dependencies": { - "crc-32": "^1.2.0", - "ethereumjs-util": "^7.1.5" - } - }, "node_modules/@ethereumjs/rlp": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@ethereumjs/rlp/-/rlp-4.0.1.tgz", @@ -3993,15 +3928,6 @@ "node": ">=14" } }, - "node_modules/@ethereumjs/tx": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-3.5.2.tgz", - "integrity": "sha512-gQDNJWKrSDGu2w7w0PzVXVBNMzb7wwdDOmOqczmhNjqFxFuIbhVJDwiGEnxFNC2/b8ifcZzY7MLcluizohRzNw==", - "dependencies": { - "@ethereumjs/common": "^2.6.4", - "ethereumjs-util": "^7.1.5" - } - }, "node_modules/@ethereumjs/util": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/@ethereumjs/util/-/util-8.1.0.tgz", @@ -4073,78 +3999,6 @@ "@scure/bip39": "1.3.0" } }, - "node_modules/@ethersproject/abi": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz", - "integrity": "sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "node_modules/@ethersproject/abstract-provider": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz", - "integrity": "sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/networks": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/web": "^5.7.0" - } - }, - "node_modules/@ethersproject/abstract-signer": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz", - "integrity": "sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0" - } - }, "node_modules/@ethersproject/address": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz", @@ -4167,43 +4021,6 @@ "@ethersproject/rlp": "^5.7.0" } }, - "node_modules/@ethersproject/base64": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz", - "integrity": "sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0" - } - }, - "node_modules/@ethersproject/basex": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.7.0.tgz", - "integrity": "sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/properties": "^5.7.0" - } - }, "node_modules/@ethersproject/bignumber": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz", @@ -4242,114 +4059,6 @@ "@ethersproject/logger": "^5.7.0" } }, - "node_modules/@ethersproject/constants": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz", - "integrity": "sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bignumber": "^5.7.0" - } - }, - "node_modules/@ethersproject/hash": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz", - "integrity": "sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "node_modules/@ethersproject/hdnode": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz", - "integrity": "sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/basex": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "node_modules/@ethersproject/json-wallets": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz", - "integrity": "sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "aes-js": "3.0.0", - "scrypt-js": "3.0.1" - } - }, - "node_modules/@ethersproject/json-wallets/node_modules/aes-js": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", - "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==" - }, "node_modules/@ethersproject/keccak256": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", @@ -4384,10 +4093,10 @@ } ] }, - "node_modules/@ethersproject/networks": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz", - "integrity": "sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==", + "node_modules/@ethersproject/rlp": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz", + "integrity": "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==", "funding": [ { "type": "individual", @@ -4399,345 +4108,10 @@ } ], "dependencies": { + "@ethersproject/bytes": "^5.7.0", "@ethersproject/logger": "^5.7.0" } }, - "node_modules/@ethersproject/pbkdf2": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz", - "integrity": "sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/sha2": "^5.7.0" - } - }, - "node_modules/@ethersproject/properties": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz", - "integrity": "sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/providers": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz", - "integrity": "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@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/hash": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/networks": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/rlp": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/web": "^5.7.0", - "bech32": "1.1.4", - "ws": "7.4.6" - } - }, - "node_modules/@ethersproject/providers/node_modules/ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/@ethersproject/random": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz", - "integrity": "sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/rlp": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz", - "integrity": "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/sha2": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.7.0.tgz", - "integrity": "sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "hash.js": "1.1.7" - } - }, - "node_modules/@ethersproject/signing-key": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz", - "integrity": "sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "bn.js": "^5.2.1", - "elliptic": "6.5.4", - "hash.js": "1.1.7" - } - }, - "node_modules/@ethersproject/signing-key/node_modules/elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", - "dependencies": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "node_modules/@ethersproject/signing-key/node_modules/elliptic/node_modules/bn.js": { - "version": "4.12.1", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.1.tgz", - "integrity": "sha512-k8TVBiPkPJT9uHLdOKfFpqcfprwBFOAAXXozRubr7R7PfIuKvQlzcI4M0pALeqXN09vdaMbUdUj+pass+uULAg==" - }, - "node_modules/@ethersproject/strings": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz", - "integrity": "sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/transactions": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz", - "integrity": "sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/rlp": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0" - } - }, - "node_modules/@ethersproject/units": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.7.0.tgz", - "integrity": "sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/wallet": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz", - "integrity": "sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^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/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "node_modules/@ethersproject/web": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz", - "integrity": "sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "node_modules/@ethersproject/wordlists": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz", - "integrity": "sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, "node_modules/@floating-ui/core": { "version": "1.6.8", "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.8.tgz", @@ -4847,19 +4221,6 @@ "integrity": "sha512-SwPWfeRa5veb1hOIBMdzI+73te5puUBHmqqaF1Bu7FjvxlYSz/kJcZKSa9Cg60zL0uRNeJL2SbRxV6Jp6Q1nFQ==", "peer": true }, - "node_modules/@hapi/hoek": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", - "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==" - }, - "node_modules/@hapi/topo": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", - "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, "node_modules/@humanwhocodes/config-array": { "version": "0.13.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", @@ -5509,639 +4870,128 @@ "node_modules/@jridgewell/trace-mapping": { "version": "0.3.25", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", - "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@keplr-wallet/background": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/background/-/background-0.12.156.tgz", - "integrity": "sha512-4zP9QtJJfx8fVKRA70pN6S2uHzWgFC8E2oSbcYR2KqUzmZNybUUuylsTLbcLI8oFyDH2XRwq+RMo+VOe+26F/A==", - "dependencies": { - "@ethereumjs/common": "^2.6.5", - "@ethereumjs/tx": "^3.5.2", - "@ethersproject/address": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wallet": "^5.7.0", - "@keplr-wallet/chain-validator": "0.12.156", - "@keplr-wallet/common": "0.12.156", - "@keplr-wallet/cosmos": "0.12.156", - "@keplr-wallet/crypto": "0.12.156", - "@keplr-wallet/ledger-cosmos": "0.12.156", - "@keplr-wallet/popup": "0.12.156", - "@keplr-wallet/proto-types": "0.12.156", - "@keplr-wallet/router": "0.12.156", - "@keplr-wallet/simple-fetch": "0.12.156", - "@keplr-wallet/types": "0.12.156", - "@keplr-wallet/unit": "0.12.156", - "@ledgerhq/hw-app-eth": "^6.29.3", - "@ledgerhq/hw-transport": "^6.20.0", - "@ledgerhq/hw-transport-webhid": "^6.20.0", - "@ledgerhq/hw-transport-webusb": "^6.20.0", - "@noble/hashes": "1.0.0", - "aes-js": "^3.1.2", - "big-integer": "^1.6.48", - "bip39": "^3.0.2", - "buffer": "^6.0.3", - "curve25519-js": "0.0.4", - "delay": "^4.4.0", - "joi": "^17.5.0", - "long": "^4.0.0", - "miscreant": "0.3.2", - "pbkdf2": "^3.1.2", - "utility-types": "^3.10.0" - }, - "peerDependencies": { - "mobx": "^6", - "mobx-utils": "^6", - "starknet": "^6" - } - }, - "node_modules/@keplr-wallet/background/node_modules/@noble/hashes": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.0.0.tgz", - "integrity": "sha512-DZVbtY62kc3kkBtMHqwCOfXrT/hnoORy5BJ4+HU1IR59X0KWAOqsfzQPcUl/lQLlG7qXbe/fZ3r/emxtAl+sqg==" - }, - "node_modules/@keplr-wallet/chain-validator": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/chain-validator/-/chain-validator-0.12.156.tgz", - "integrity": "sha512-nb3vfitIC6tgJSxWPWh6bjAgx013w2gqHAjT0J8T7sN+lbGB7Ld3w3Mk6hQv+C8bRVPO/BFhqw88kskRGQtLMw==", - "dependencies": { - "@ethersproject/abi": "^5.7.0", - "@keplr-wallet/cosmos": "0.12.156", - "@keplr-wallet/simple-fetch": "0.12.156", - "@keplr-wallet/types": "0.12.156", - "joi": "^17.5.0", - "utility-types": "^3.10.0" - } - }, - "node_modules/@keplr-wallet/common": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.12.156.tgz", - "integrity": "sha512-E9OyrFI9OiTkCUX2QK2ZMsTMYcbPAPLOpZ9Bl/1cLoOMjlgrPAGYsHm8pmWt2ydnWJS10a4ckOmlxE5HgcOK1A==", - "dependencies": { - "@keplr-wallet/crypto": "0.12.156", - "@keplr-wallet/types": "0.12.156", - "buffer": "^6.0.3", - "delay": "^4.4.0" - } - }, - "node_modules/@keplr-wallet/cosmos": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.12.156.tgz", - "integrity": "sha512-ru+PDOiJaC6Lke7cWVG1A/bOzoNXAHmWyt8S+1WF3lt0ZKwCe+rb+HGkfhHCji2WA8Dt4cU8GGN/nPXfoY0b6Q==", - "dependencies": { - "@ethersproject/address": "^5.6.0", - "@keplr-wallet/common": "0.12.156", - "@keplr-wallet/crypto": "0.12.156", - "@keplr-wallet/proto-types": "0.12.156", - "@keplr-wallet/simple-fetch": "0.12.156", - "@keplr-wallet/types": "0.12.156", - "@keplr-wallet/unit": "0.12.156", - "bech32": "^1.1.4", - "buffer": "^6.0.3", - "long": "^4.0.0", - "protobufjs": "^6.11.2" - } - }, - "node_modules/@keplr-wallet/crypto": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.12.156.tgz", - "integrity": "sha512-pIm9CkFQH4s9J8YunluGJvsh6KeE7HappeHM5BzKXyzuDO/gDtOQizclev9hGcfJxNu6ejlYXLK7kTmWpsHR0Q==", - "dependencies": { - "@noble/curves": "^1.4.2", - "@noble/hashes": "^1.4.0", - "bip32": "^2.0.6", - "bip39": "^3.0.3", - "bs58check": "^2.1.2", - "buffer": "^6.0.3" - }, - "peerDependencies": { - "starknet": "^6" - } - }, - "node_modules/@keplr-wallet/hooks": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/hooks/-/hooks-0.12.156.tgz", - "integrity": "sha512-KNN5TBR5Xc6QGIXpm+V/DR1mSa/Rbbp01SUHlNOnB8PSKuguNdHCjmN7IHJw4mHd/w+bQM6+S4tEQCfaVI1+5w==", - "dependencies": { - "@ethersproject/address": "^5.7.0", - "@ethersproject/providers": "^5.7.0", - "@keplr-wallet/background": "0.12.156", - "@keplr-wallet/common": "0.12.156", - "@keplr-wallet/cosmos": "0.12.156", - "@keplr-wallet/crypto": "0.12.156", - "@keplr-wallet/proto-types": "0.12.156", - "@keplr-wallet/simple-fetch": "0.12.156", - "@keplr-wallet/stores": "0.12.156", - "@keplr-wallet/stores-etc": "0.12.156", - "@keplr-wallet/stores-eth": "0.12.156", - "@keplr-wallet/types": "0.12.156", - "@keplr-wallet/unit": "0.12.156", - "buffer": "^6.0.3", - "long": "^4.0.0", - "utility-types": "^3.10.0" - }, - "peerDependencies": { - "mobx": "^6", - "mobx-utils": "^6", - "react": "^16.8.0 || ^17 || ^18" - } - }, - "node_modules/@keplr-wallet/ledger-cosmos": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/ledger-cosmos/-/ledger-cosmos-0.12.156.tgz", - "integrity": "sha512-/0VhOZKh+6yvc0cLqiC7EkqMkT1UktLGssiWVc+RVt7IH/QNL38tQ0zGLCBjZ7GxCtpC2M4iAma9vnQVN/Qfow==", - "dependencies": { - "buffer": "^6.0.3" - } - }, - "node_modules/@keplr-wallet/mobx-utils": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/mobx-utils/-/mobx-utils-0.12.156.tgz", - "integrity": "sha512-5Vj1kj+dR0yZAokP/iZp/qABRb8f8+8FgBjSWiE5yRkF38dlDM1zRucT+uyrsJazFAn/vvnMEyPmeCwEPBm4lw==", - "dependencies": { - "@keplr-wallet/types": "0.12.156" - }, - "peerDependencies": { - "mobx": "^6" - } - }, - "node_modules/@keplr-wallet/popup": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/popup/-/popup-0.12.156.tgz", - "integrity": "sha512-XQQYulcWJNC0a54KpUZRDkhRau9fD6YvBiIcOvcJbJxlLfDbtyo3tXyC7zs+ihfBLjme5TKlVobl9K3EAZIEDg==" - }, - "node_modules/@keplr-wallet/proto-types": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.12.156.tgz", - "integrity": "sha512-jxFgL1PZQldmr54gm1bFCs4FXujpyu8BhogytEc9WTCJdH4uqkNOCvEfkDvR65LRUZwp6MIGobFGYDVmfK16hA==", - "dependencies": { - "long": "^4.0.0", - "protobufjs": "^6.11.2" - } - }, - "node_modules/@keplr-wallet/provider": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.12.156.tgz", - "integrity": "sha512-Ljv7O7BkNYSbbFIUXp3Bq/sZXcMNhzosLaHY0SJO+K55eTVnY8ssa6d9wuPIVl4wA8IDQB/89ns8HnidYooJ+g==", - "dependencies": { - "@keplr-wallet/router": "0.12.156", - "@keplr-wallet/types": "0.12.156", - "buffer": "^6.0.3", - "deepmerge": "^4.2.2", - "long": "^4.0.0" - }, - "peerDependencies": { - "starknet": "^6" - } - }, - "node_modules/@keplr-wallet/provider-extension": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/provider-extension/-/provider-extension-0.12.156.tgz", - "integrity": "sha512-ev3SpiXKsQ2W0jfe5wN5Cn677yY7W1gkavla8NNIaLTiuQcI5/diJdvQz87BuKCmmXbL+k0qIkFrPLJCsmuaWw==", - "dependencies": { - "@keplr-wallet/types": "0.12.156", - "deepmerge": "^4.2.2", - "long": "^4.0.0" - }, - "peerDependencies": { - "starknet": "^6" - } - }, - "node_modules/@keplr-wallet/router": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.12.156.tgz", - "integrity": "sha512-NSa2zdBvr999Q1QO84cjveujmBxI+9Ve20Yqa4kgfizCwriy+Xdh023GXiJIVjIwWldqbrsltl6NMOEd0uhIRg==" - }, - "node_modules/@keplr-wallet/simple-fetch": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.156.tgz", - "integrity": "sha512-FPgpxEBjG6xRbMM0IwHSmYy22lU+QJ3VzmKTM8237p3v9Vj/HBSZUCYFhq2E1+hwdxd+XLtA6UipB7SBQNswrw==" - }, - "node_modules/@keplr-wallet/stores": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/stores/-/stores-0.12.156.tgz", - "integrity": "sha512-2NLf8Vl6XEylZHA71YizYNoQn9FBjNaUYE4KN30wMoU2pAmypKw9xyRIEj5p63F5pfQV5/aXwycKoXMzQi7uWw==", - "dependencies": { - "@keplr-wallet/common": "0.12.156", - "@keplr-wallet/cosmos": "0.12.156", - "@keplr-wallet/crypto": "0.12.156", - "@keplr-wallet/mobx-utils": "0.12.156", - "@keplr-wallet/proto-types": "0.12.156", - "@keplr-wallet/simple-fetch": "0.12.156", - "@keplr-wallet/types": "0.12.156", - "@keplr-wallet/unit": "0.12.156", - "buffer": "^6.0.3", - "deepmerge": "^4.2.2", - "eventemitter3": "^4.0.7", - "long": "^4.0.0", - "p-queue": "^6.6.2", - "utility-types": "^3.10.0" - }, - "peerDependencies": { - "mobx": "^6", - "mobx-utils": "^6" - } - }, - "node_modules/@keplr-wallet/stores-etc": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/stores-etc/-/stores-etc-0.12.156.tgz", - "integrity": "sha512-D7qplyeAJ8TaXplFtsa+YkgYQlXfz9PHuhEv+KiBSqQxvvurES1HrCELJo8sJhG/YKc+AATOn+n6tl46GE2qkg==", - "dependencies": { - "@ethersproject/abi": "^5.6.0", - "@keplr-wallet/common": "0.12.156", - "@keplr-wallet/simple-fetch": "0.12.156", - "@keplr-wallet/stores": "0.12.156", - "@keplr-wallet/types": "0.12.156", - "@keplr-wallet/unit": "0.12.156", - "utility-types": "^3.10.0" - }, - "peerDependencies": { - "mobx": "^6", - "mobx-utils": "^6" - } - }, - "node_modules/@keplr-wallet/stores-eth": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/stores-eth/-/stores-eth-0.12.156.tgz", - "integrity": "sha512-Jhrc+5i5kvFtj9eR3F4v1S5U6nzc4cR+FoJ7oYh4ebJIfZIJ8poWAnMVG9GoGqSrp48GtkXESCkN1I21JsKYPw==", - "dependencies": { - "@ethersproject/abi": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/units": "^5.7.0", - "@keplr-wallet/common": "0.12.156", - "@keplr-wallet/simple-fetch": "0.12.156", - "@keplr-wallet/stores": "0.12.156", - "@keplr-wallet/types": "0.12.156", - "@keplr-wallet/unit": "0.12.156", - "big-integer": "^1.6.48", - "utility-types": "^3.10.0" - }, - "peerDependencies": { - "mobx": "^6", - "mobx-utils": "^6" - } - }, - "node_modules/@keplr-wallet/types": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.12.156.tgz", - "integrity": "sha512-Z/Lf6VEsl/Am3birKE8ZEVZj/x5YGSoTdFMDtq/EfcB+hcJ/ogoiZTVEBweAig/2zcu7MsZvFTVMEXu5+y3e4A==", - "dependencies": { - "long": "^4.0.0" - }, - "peerDependencies": { - "starknet": "^6" - } - }, - "node_modules/@keplr-wallet/unit": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.12.156.tgz", - "integrity": "sha512-GGMOFsGCTv36ZWEBt8ONgYw64zYRsYmaV4ZccNHGo8NGWwQwB6OhcVYpwvjbZdB4K9tsQNJQEv16qsSpurDBGQ==", - "dependencies": { - "@keplr-wallet/types": "0.12.156", - "big-integer": "^1.6.48", - "utility-types": "^3.10.0" - } - }, - "node_modules/@keplr-wallet/wc-client": { - "version": "0.12.156", - "resolved": "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.12.156.tgz", - "integrity": "sha512-dKmNrkwaeQWq3rebyYw0PIFbY/Nt7apTGMg7nr6IWtTLQC/RJaaL31laoSMxrGlT9ofQqePq4EwsuhL7hd1wbQ==", - "dependencies": { - "@keplr-wallet/provider": "0.12.156", - "@keplr-wallet/types": "0.12.156", - "buffer": "^6.0.3", - "deepmerge": "^4.2.2", - "long": "^3 || ^4 || ^5" - }, - "peerDependencies": { - "@walletconnect/sign-client": "^2", - "@walletconnect/types": "^2", - "starknet": "^6" - } - }, - "node_modules/@leapwallet/cosmos-snap-provider": { - "version": "0.1.26", - "resolved": "https://registry.npmjs.org/@leapwallet/cosmos-snap-provider/-/cosmos-snap-provider-0.1.26.tgz", - "integrity": "sha512-KqT4OTECINPZohosLkAzdYotzV5YYJwzg2r/GKKMv3ndIuiqom/9WCaEs9W3KzPaRe69rOZpjbFmcu0gB4PSww==", - "dependencies": { - "@cosmjs/amino": "^0.32.0", - "@cosmjs/proto-signing": "^0.32.0", - "bignumber.js": "^9.1.2", - "long": "^5.2.3" - } - }, - "node_modules/@leapwallet/cosmos-snap-provider/node_modules/@cosmjs/amino": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.32.4.tgz", - "integrity": "sha512-zKYOt6hPy8obIFtLie/xtygCkH9ZROiQ12UHfKsOkWaZfPQUvVbtgmu6R4Kn1tFLI/SRkw7eqhaogmW/3NYu/Q==", - "dependencies": { - "@cosmjs/crypto": "^0.32.4", - "@cosmjs/encoding": "^0.32.4", - "@cosmjs/math": "^0.32.4", - "@cosmjs/utils": "^0.32.4" - } - }, - "node_modules/@leapwallet/cosmos-snap-provider/node_modules/@cosmjs/crypto": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.32.4.tgz", - "integrity": "sha512-zicjGU051LF1V9v7bp8p7ovq+VyC91xlaHdsFOTo2oVry3KQikp8L/81RkXmUIT8FxMwdx1T7DmFwVQikcSDIw==", - "dependencies": { - "@cosmjs/encoding": "^0.32.4", - "@cosmjs/math": "^0.32.4", - "@cosmjs/utils": "^0.32.4", - "@noble/hashes": "^1", - "bn.js": "^5.2.0", - "elliptic": "^6.5.4", - "libsodium-wrappers-sumo": "^0.7.11" - } - }, - "node_modules/@leapwallet/cosmos-snap-provider/node_modules/@cosmjs/encoding": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.32.4.tgz", - "integrity": "sha512-tjvaEy6ZGxJchiizzTn7HVRiyTg1i4CObRRaTRPknm5EalE13SV+TCHq38gIDfyUeden4fCuaBVEdBR5+ti7Hw==", - "dependencies": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "node_modules/@leapwallet/cosmos-snap-provider/node_modules/@cosmjs/math": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", - "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", - "dependencies": { - "bn.js": "^5.2.0" - } - }, - "node_modules/@leapwallet/cosmos-snap-provider/node_modules/@cosmjs/utils": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.4.tgz", - "integrity": "sha512-D1Yc+Zy8oL/hkUkFUL/bwxvuDBzRGpc4cF7/SkdhxX4iHpSLgdOuTt1mhCh9+kl6NQREy9t7SYZ6xeW5gFe60w==" - }, - "node_modules/@leapwallet/cosmos-snap-provider/node_modules/long": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" - }, - "node_modules/@ledgerhq/cryptoassets-evm-signatures": { - "version": "13.5.2", - "resolved": "https://registry.npmjs.org/@ledgerhq/cryptoassets-evm-signatures/-/cryptoassets-evm-signatures-13.5.2.tgz", - "integrity": "sha512-OjjzuiMMEIYEbXeueJB6mXwlvYhru28b43buAVOeggZ2XmdlT0kBvt7Cjn4bDPqff/glWR7vQdytIr7b77m2EQ==", - "dependencies": { - "@ledgerhq/live-env": "^2.4.1", - "axios": "1.7.7" - } - }, - "node_modules/@ledgerhq/cryptoassets-evm-signatures/node_modules/axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", - "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, - "node_modules/@ledgerhq/cryptoassets-evm-signatures/node_modules/form-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", - "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@ledgerhq/devices": { - "version": "8.4.4", - "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-8.4.4.tgz", - "integrity": "sha512-sz/ryhe/R687RHtevIE9RlKaV8kkKykUV4k29e7GAVwzHX1gqG+O75cu1NCJUHLbp3eABV5FdvZejqRUlLis9A==", - "dependencies": { - "@ledgerhq/errors": "^6.19.1", - "@ledgerhq/logs": "^6.12.0", - "rxjs": "^7.8.1", - "semver": "^7.3.5" - } - }, - "node_modules/@ledgerhq/devices/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@ledgerhq/domain-service": { - "version": "1.2.12", - "resolved": "https://registry.npmjs.org/@ledgerhq/domain-service/-/domain-service-1.2.12.tgz", - "integrity": "sha512-w33g7EqBtquzNPnvD2tmQq049eL4d8qYZH5vCwJ9Rfe6Vc/bYQvwlHFZ4N/cQPLmWQdsIMWDu+4fYo61p+Ub5A==", - "dependencies": { - "@ledgerhq/errors": "^6.19.1", - "@ledgerhq/logs": "^6.12.0", - "@ledgerhq/types-live": "^6.53.1", - "axios": "1.7.7", - "eip55": "^2.1.1", - "react": "^18.2.0", - "react-dom": "^18.2.0" - } - }, - "node_modules/@ledgerhq/domain-service/node_modules/axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", - "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, - "node_modules/@ledgerhq/domain-service/node_modules/form-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", - "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@ledgerhq/errors": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.19.1.tgz", - "integrity": "sha512-75yK7Nnit/Gp7gdrJAz0ipp31CCgncRp+evWt6QawQEtQKYEDfGo10QywgrrBBixeRxwnMy1DP6g2oCWRf1bjw==" - }, - "node_modules/@ledgerhq/evm-tools": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@ledgerhq/evm-tools/-/evm-tools-1.3.0.tgz", - "integrity": "sha512-NeMhQlcEJRkgM4Yaap+Xngm2wIib3wUoXJTvIbBt8L/yJu5A0fN8v84pprh50JC7e1X0sL4r8do8XqdxXb9Gpg==", - "dependencies": { - "@ethersproject/constants": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ledgerhq/cryptoassets-evm-signatures": "^13.5.2", - "@ledgerhq/live-env": "^2.4.1", - "axios": "1.7.7", - "crypto-js": "4.2.0" - } - }, - "node_modules/@ledgerhq/evm-tools/node_modules/axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", - "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, - "node_modules/@ledgerhq/evm-tools/node_modules/form-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", - "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@ledgerhq/hw-app-eth": { - "version": "6.41.1", - "resolved": "https://registry.npmjs.org/@ledgerhq/hw-app-eth/-/hw-app-eth-6.41.1.tgz", - "integrity": "sha512-JMt0ULJHsSZKNqKiuCpcV5lx+mm7R/p5CZY9dJmK/Db9UgmmHWV9UqPsECK3pmDtLTistJz0qUBl9gha0BpEzw==", - "dependencies": { - "@ethersproject/abi": "^5.7.0", - "@ethersproject/rlp": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ledgerhq/cryptoassets-evm-signatures": "^13.5.2", - "@ledgerhq/domain-service": "^1.2.12", - "@ledgerhq/errors": "^6.19.1", - "@ledgerhq/evm-tools": "^1.3.0", - "@ledgerhq/hw-transport": "^6.31.4", - "@ledgerhq/hw-transport-mocker": "^6.29.4", - "@ledgerhq/logs": "^6.12.0", - "@ledgerhq/types-live": "^6.53.1", - "axios": "1.7.7", - "bignumber.js": "^9.1.2", - "semver": "^7.3.5" + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@ledgerhq/hw-app-eth/node_modules/axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "node_modules/@keplr-wallet/provider": { + "version": "0.12.156", + "resolved": "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.12.156.tgz", + "integrity": "sha512-Ljv7O7BkNYSbbFIUXp3Bq/sZXcMNhzosLaHY0SJO+K55eTVnY8ssa6d9wuPIVl4wA8IDQB/89ns8HnidYooJ+g==", "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" + "@keplr-wallet/router": "0.12.156", + "@keplr-wallet/types": "0.12.156", + "buffer": "^6.0.3", + "deepmerge": "^4.2.2", + "long": "^4.0.0" + }, + "peerDependencies": { + "starknet": "^6" } }, - "node_modules/@ledgerhq/hw-app-eth/node_modules/form-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", - "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", + "node_modules/@keplr-wallet/provider-extension": { + "version": "0.12.156", + "resolved": "https://registry.npmjs.org/@keplr-wallet/provider-extension/-/provider-extension-0.12.156.tgz", + "integrity": "sha512-ev3SpiXKsQ2W0jfe5wN5Cn677yY7W1gkavla8NNIaLTiuQcI5/diJdvQz87BuKCmmXbL+k0qIkFrPLJCsmuaWw==", "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" + "@keplr-wallet/types": "0.12.156", + "deepmerge": "^4.2.2", + "long": "^4.0.0" }, - "engines": { - "node": ">= 6" + "peerDependencies": { + "starknet": "^6" } }, - "node_modules/@ledgerhq/hw-app-eth/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "bin": { - "semver": "bin/semver.js" + "node_modules/@keplr-wallet/router": { + "version": "0.12.156", + "resolved": "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.12.156.tgz", + "integrity": "sha512-NSa2zdBvr999Q1QO84cjveujmBxI+9Ve20Yqa4kgfizCwriy+Xdh023GXiJIVjIwWldqbrsltl6NMOEd0uhIRg==" + }, + "node_modules/@keplr-wallet/types": { + "version": "0.12.156", + "resolved": "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.12.156.tgz", + "integrity": "sha512-Z/Lf6VEsl/Am3birKE8ZEVZj/x5YGSoTdFMDtq/EfcB+hcJ/ogoiZTVEBweAig/2zcu7MsZvFTVMEXu5+y3e4A==", + "dependencies": { + "long": "^4.0.0" }, - "engines": { - "node": ">=10" + "peerDependencies": { + "starknet": "^6" } }, - "node_modules/@ledgerhq/hw-transport": { - "version": "6.31.4", - "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.31.4.tgz", - "integrity": "sha512-6c1ir/cXWJm5dCWdq55NPgCJ3UuKuuxRvf//Xs36Bq9BwkV2YaRQhZITAkads83l07NAdR16hkTWqqpwFMaI6A==", + "node_modules/@keplr-wallet/wc-client": { + "version": "0.12.156", + "resolved": "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.12.156.tgz", + "integrity": "sha512-dKmNrkwaeQWq3rebyYw0PIFbY/Nt7apTGMg7nr6IWtTLQC/RJaaL31laoSMxrGlT9ofQqePq4EwsuhL7hd1wbQ==", "dependencies": { - "@ledgerhq/devices": "^8.4.4", - "@ledgerhq/errors": "^6.19.1", - "@ledgerhq/logs": "^6.12.0", - "events": "^3.3.0" + "@keplr-wallet/provider": "0.12.156", + "@keplr-wallet/types": "0.12.156", + "buffer": "^6.0.3", + "deepmerge": "^4.2.2", + "long": "^3 || ^4 || ^5" + }, + "peerDependencies": { + "@walletconnect/sign-client": "^2", + "@walletconnect/types": "^2", + "starknet": "^6" } }, - "node_modules/@ledgerhq/hw-transport-mocker": { - "version": "6.29.4", - "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-mocker/-/hw-transport-mocker-6.29.4.tgz", - "integrity": "sha512-CLDIpQ/eqU8qrCYGY9MyHa+oMgqs6PuNkWtqbcaS4AzNx8L/9bv7y8CZwCjxX6oB/2ZEq42RlL6oZ6Ou3oHnoQ==", + "node_modules/@leapwallet/cosmos-snap-provider": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/@leapwallet/cosmos-snap-provider/-/cosmos-snap-provider-0.1.26.tgz", + "integrity": "sha512-KqT4OTECINPZohosLkAzdYotzV5YYJwzg2r/GKKMv3ndIuiqom/9WCaEs9W3KzPaRe69rOZpjbFmcu0gB4PSww==", "dependencies": { - "@ledgerhq/hw-transport": "^6.31.4", - "@ledgerhq/logs": "^6.12.0", - "rxjs": "^7.8.1" + "@cosmjs/amino": "^0.32.0", + "@cosmjs/proto-signing": "^0.32.0", + "bignumber.js": "^9.1.2", + "long": "^5.2.3" } }, - "node_modules/@ledgerhq/hw-transport-webhid": { - "version": "6.29.4", - "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.29.4.tgz", - "integrity": "sha512-XkF37lcuyg9zVExMyfDQathWly8rRcGac13wgZATBa3nZ+hUzzWr5QVKg1pKCw10izVHGErW/9a4tbb72rUEmQ==", + "node_modules/@leapwallet/cosmos-snap-provider/node_modules/@cosmjs/amino": { + "version": "0.32.4", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.32.4.tgz", + "integrity": "sha512-zKYOt6hPy8obIFtLie/xtygCkH9ZROiQ12UHfKsOkWaZfPQUvVbtgmu6R4Kn1tFLI/SRkw7eqhaogmW/3NYu/Q==", "dependencies": { - "@ledgerhq/devices": "^8.4.4", - "@ledgerhq/errors": "^6.19.1", - "@ledgerhq/hw-transport": "^6.31.4", - "@ledgerhq/logs": "^6.12.0" + "@cosmjs/crypto": "^0.32.4", + "@cosmjs/encoding": "^0.32.4", + "@cosmjs/math": "^0.32.4", + "@cosmjs/utils": "^0.32.4" } }, - "node_modules/@ledgerhq/hw-transport-webusb": { - "version": "6.29.4", - "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-webusb/-/hw-transport-webusb-6.29.4.tgz", - "integrity": "sha512-HoGF1LlBT9HEGBQy2XeCHrFdv/FEOZU0+J+yfKcgAQIAiASr2MLvdzwoJbUS8h6Gn+vc+/BjzBSO3JNn7Loqbg==", + "node_modules/@leapwallet/cosmos-snap-provider/node_modules/@cosmjs/crypto": { + "version": "0.32.4", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.32.4.tgz", + "integrity": "sha512-zicjGU051LF1V9v7bp8p7ovq+VyC91xlaHdsFOTo2oVry3KQikp8L/81RkXmUIT8FxMwdx1T7DmFwVQikcSDIw==", "dependencies": { - "@ledgerhq/devices": "^8.4.4", - "@ledgerhq/errors": "^6.19.1", - "@ledgerhq/hw-transport": "^6.31.4", - "@ledgerhq/logs": "^6.12.0" + "@cosmjs/encoding": "^0.32.4", + "@cosmjs/math": "^0.32.4", + "@cosmjs/utils": "^0.32.4", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers-sumo": "^0.7.11" } }, - "node_modules/@ledgerhq/live-env": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@ledgerhq/live-env/-/live-env-2.4.1.tgz", - "integrity": "sha512-ZiVUfN1F5rnj6g3IUqOsHvitiKd7rtGy7FY7VBOXbG9qN7XLeLfmJhnzh/5yjX14dXhVOeAlPd1UzmmpxkRU6A==", + "node_modules/@leapwallet/cosmos-snap-provider/node_modules/@cosmjs/encoding": { + "version": "0.32.4", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.32.4.tgz", + "integrity": "sha512-tjvaEy6ZGxJchiizzTn7HVRiyTg1i4CObRRaTRPknm5EalE13SV+TCHq38gIDfyUeden4fCuaBVEdBR5+ti7Hw==", "dependencies": { - "rxjs": "^7.8.1", - "utility-types": "^3.10.0" + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" } }, - "node_modules/@ledgerhq/logs": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@ledgerhq/logs/-/logs-6.12.0.tgz", - "integrity": "sha512-ExDoj1QV5eC6TEbMdLUMMk9cfvNKhhv5gXol4SmULRVCx/3iyCPhJ74nsb3S0Vb+/f+XujBEj3vQn5+cwS0fNA==" + "node_modules/@leapwallet/cosmos-snap-provider/node_modules/@cosmjs/utils": { + "version": "0.32.4", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.4.tgz", + "integrity": "sha512-D1Yc+Zy8oL/hkUkFUL/bwxvuDBzRGpc4cF7/SkdhxX4iHpSLgdOuTt1mhCh9+kl6NQREy9t7SYZ6xeW5gFe60w==" }, - "node_modules/@ledgerhq/types-live": { - "version": "6.53.1", - "resolved": "https://registry.npmjs.org/@ledgerhq/types-live/-/types-live-6.53.1.tgz", - "integrity": "sha512-ukaDDyxg7quBQ0vdoQQjj3ICqiG13gO/rGIO0Jm2nRh/icbLWgxfsI2wX0u0ugJQJ+q/muiX+wJrMJn9EKhEaQ==", - "dependencies": { - "bignumber.js": "^9.1.2", - "rxjs": "^7.8.1" - } + "node_modules/@leapwallet/cosmos-snap-provider/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" }, "node_modules/@leichtgewicht/ip-codec": { "version": "2.0.5", @@ -9487,24 +8337,6 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/@sideway/address": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz", - "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@sideway/formula": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", - "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==" - }, - "node_modules/@sideway/pinpoint": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" - }, "node_modules/@sinclair/typebox": { "version": "0.24.51", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.51.tgz", @@ -10127,14 +8959,6 @@ "@babel/types": "^7.20.7" } }, - "node_modules/@types/bn.js": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.6.tgz", - "integrity": "sha512-Xh8vSwUeMKeYYrj3cX4lGQgFSF/N03r+tv4AiLl1SucqV+uTQpxRcnM8AkXKHwYP9ZPXOYXRr2KPXpVlIvqh9w==", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/body-parser": { "version": "1.19.5", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", @@ -10333,14 +9157,6 @@ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz", "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==" }, - "node_modules/@types/pbkdf2": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@types/pbkdf2/-/pbkdf2-3.1.2.tgz", - "integrity": "sha512-uRwJqmiXmh9++aSu1VNEn3iIxWOhd8AHXNSdlaLfdAAdSTY9jYVeGWnzejM3dvrkbqE3/hyQkQQ29IFATEGlew==", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/prettier": { "version": "2.7.3", "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.3.tgz", @@ -10396,14 +9212,6 @@ "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==" }, - "node_modules/@types/secp256k1": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.6.tgz", - "integrity": "sha512-hHxJU6PAEUn0TP4S/ZOzuTUvJWuZ6eIKeNKb5RBpODvSl6hp1Wrw4s7ATY50rklRCScUDpHzVA/DQdSjJ3UoYQ==", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/semver": { "version": "7.5.8", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", @@ -11620,11 +10428,6 @@ "node": ">=8.9" } }, - "node_modules/aes-js": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", - "integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" - }, "node_modules/agent-base": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", @@ -12494,11 +11297,6 @@ "@noble/hashes": "^1.2.0" } }, - "node_modules/blakejs": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.2.1.tgz", - "integrity": "sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==" - }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", @@ -12605,19 +11403,6 @@ "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==" }, - "node_modules/browserify-aes": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", - "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", - "dependencies": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, "node_modules/browserslist": { "version": "4.24.2", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", @@ -12715,11 +11500,6 @@ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" }, - "node_modules/buffer-xor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==" - }, "node_modules/bufferutil": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.8.tgz", @@ -14153,11 +12933,6 @@ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" }, - "node_modules/curve25519-js": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz", - "integrity": "sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w==" - }, "node_modules/damerau-levenshtein": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz", @@ -14694,14 +13469,6 @@ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, - "node_modules/eip55": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/eip55/-/eip55-2.1.1.tgz", - "integrity": "sha512-WcagVAmNu2Ww2cDUfzuWVntYwFxbvZ5MvIyLZpMjTTkjD6sCvkGOiS86jTppzu9/gWsc8isLHAeMBWK02OnZmA==", - "dependencies": { - "keccak": "^3.0.3" - } - }, "node_modules/ejs": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", @@ -15836,43 +14603,6 @@ "fast-safe-stringify": "^2.0.6" } }, - "node_modules/ethereum-cryptography": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz", - "integrity": "sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==", - "dependencies": { - "@types/pbkdf2": "^3.0.0", - "@types/secp256k1": "^4.0.1", - "blakejs": "^1.1.0", - "browserify-aes": "^1.2.0", - "bs58check": "^2.1.2", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "hash.js": "^1.1.7", - "keccak": "^3.0.0", - "pbkdf2": "^3.0.17", - "randombytes": "^2.1.0", - "safe-buffer": "^5.1.2", - "scrypt-js": "^3.0.0", - "secp256k1": "^4.0.1", - "setimmediate": "^1.0.5" - } - }, - "node_modules/ethereumjs-util": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz", - "integrity": "sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg==", - "dependencies": { - "@types/bn.js": "^5.1.0", - "bn.js": "^5.1.2", - "create-hash": "^1.1.2", - "ethereum-cryptography": "^0.1.3", - "rlp": "^2.2.4" - }, - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/ethers": { "version": "6.13.4", "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.4.tgz", @@ -15982,15 +14712,6 @@ "node": ">=0.8.x" } }, - "node_modules/evp_bytestokey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "dependencies": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" - } - }, "node_modules/execa": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", @@ -19167,18 +17888,6 @@ "jiti": "bin/jiti.js" } }, - "node_modules/joi": { - "version": "17.13.3", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz", - "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==", - "dependencies": { - "@hapi/hoek": "^9.3.0", - "@hapi/topo": "^5.1.0", - "@sideway/address": "^4.1.5", - "@sideway/formula": "^3.0.1", - "@sideway/pinpoint": "^2.0.0" - } - }, "node_modules/js-sha3": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", @@ -20844,11 +19553,6 @@ } } }, - "node_modules/miscreant": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz", - "integrity": "sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA==" - }, "node_modules/mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -20880,15 +19584,6 @@ "url": "https://opencollective.com/mobx" } }, - "node_modules/mobx-utils": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/mobx-utils/-/mobx-utils-6.1.0.tgz", - "integrity": "sha512-P3qUVDFp3Kv5HXD7EIGJn3zlgJJnN+/ZpFHWQ+u6YNN1xDxY53iMvsQ9fM8kauTVdDmt7ulDgDQtDrOxb1NS9Q==", - "peer": true, - "peerDependencies": { - "mobx": "^6.0.0" - } - }, "node_modules/modern-ahocorasick": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/modern-ahocorasick/-/modern-ahocorasick-1.0.1.tgz", @@ -21490,14 +20185,6 @@ "readonly-date": "^1.0.0" } }, - "node_modules/osmojs/node_modules/@cosmjs/math": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.4.tgz", - "integrity": "sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw==", - "dependencies": { - "bn.js": "^5.2.0" - } - }, "node_modules/osmojs/node_modules/@cosmjs/proto-signing": { "version": "0.32.3", "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.32.3.tgz", @@ -21606,14 +20293,6 @@ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==" }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", - "engines": { - "node": ">=4" - } - }, "node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -21639,21 +20318,6 @@ "node": ">=8" } }, - "node_modules/p-queue": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", - "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", - "dependencies": { - "eventemitter3": "^4.0.4", - "p-timeout": "^3.2.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/p-retry": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", @@ -21666,17 +20330,6 @@ "node": ">=8" } }, - "node_modules/p-timeout": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", - "dependencies": { - "p-finally": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", @@ -21821,21 +20474,6 @@ "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz", "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==" }, - "node_modules/pbkdf2": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", - "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", - "dependencies": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - }, - "engines": { - "node": ">=0.12" - } - }, "node_modules/performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -25102,17 +23740,6 @@ "inherits": "^2.0.1" } }, - "node_modules/rlp": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.7.tgz", - "integrity": "sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ==", - "dependencies": { - "bn.js": "^5.2.0" - }, - "bin": { - "rlp": "bin/rlp" - } - }, "node_modules/rollup": { "version": "2.79.2", "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.2.tgz", @@ -25185,14 +23812,6 @@ "queue-microtask": "^1.2.2" } }, - "node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "dependencies": { - "tslib": "^2.1.0" - } - }, "node_modules/safe-array-concat": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", @@ -25418,30 +24037,6 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, - "node_modules/scrypt-js": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", - "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==" - }, - "node_modules/secp256k1": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.4.tgz", - "integrity": "sha512-6JfvwvjUOn8F/jUoBY2Q1v5WY5XS+rj8qSe0v8Y4ezH4InLgTEeOOPQsRll9OV429Pvo6BCHGavIyJfr3TAhsw==", - "hasInstallScript": true, - "dependencies": { - "elliptic": "^6.5.7", - "node-addon-api": "^5.0.0", - "node-gyp-build": "^4.2.0" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/secp256k1/node_modules/node-addon-api": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz", - "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==" - }, "node_modules/select-hose": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", @@ -25653,11 +24248,6 @@ "node": ">= 0.4" } }, - "node_modules/setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==" - }, "node_modules/setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", diff --git a/web/package.json b/web/package.json index ba35f2a..3ad64a0 100644 --- a/web/package.json +++ b/web/package.json @@ -4,17 +4,13 @@ "private": true, "dependencies": { "@cosmjs/launchpad": "^0.27.1", + "@cosmjs/math": "^0.32.4", "@cosmjs/stargate": "^0.32.3", "@cosmos-kit/keplr": "^2.14.1", "@cosmos-kit/leap": "^2.14.1", "@cosmos-kit/react": "^2.20.1", "@creativebulma/bulma-tooltip": "^1.2.0", - "@keplr-wallet/common": "^0.12.22", - "@keplr-wallet/cosmos": "^0.12.22", - "@keplr-wallet/hooks": "^0.12.22", - "@keplr-wallet/stores": "^0.12.22", "@keplr-wallet/types": "^0.12.22", - "@keplr-wallet/unit": "^0.12.22", "@rainbow-me/rainbowkit": "^2.2.0", "@tanstack/react-query": "^5.61.0", "@types/node": "^16.18.56", @@ -36,7 +32,8 @@ "uuid": "^9.0.1", "viem": "^2.21.49", "wagmi": "^2.13.0", - "web-vitals": "^2.1.4" + "web-vitals": "^2.1.4", + "webpack": "^5.97.1" }, "overrides": { "react-scripts": { @@ -78,7 +75,6 @@ "buffer": "^6.0.3", "react-app-rewired": "^2.2.1", "source-map-explorer": "^2.5.3", - "stream-browserify": "^3.0.0", - "webpack": "^5.97.1" + "stream-browserify": "^3.0.0" } } diff --git a/web/src/components/DepositCard/DepositCard.tsx b/web/src/components/DepositCard/DepositCard.tsx index 1c48363..1e3c415 100644 --- a/web/src/components/DepositCard/DepositCard.tsx +++ b/web/src/components/DepositCard/DepositCard.tsx @@ -1,7 +1,6 @@ import type React from "react"; import { useCallback, useEffect, useMemo, useState } from "react"; -import { Dec, DecUtils } from "@keplr-wallet/unit"; import AnimatedArrowSpacer from "components/AnimatedDownArrowSpacer/AnimatedDownArrowSpacer"; import Dropdown from "components/Dropdown/Dropdown"; import { useConfig } from "config"; @@ -9,12 +8,9 @@ import { AddERC20ToWalletButton, useEvmChainSelection, } from "features/EthWallet"; -import { - padDecimal, - sendIbcTransfer, - useIbcChainSelection, -} from "features/KeplrWallet"; +import { sendIbcTransfer, useIbcChainSelection } from "features/KeplrWallet"; import { NotificationType, useNotifications } from "features/Notifications"; +import { Decimal } from "@cosmjs/math"; export default function DepositCard(): React.ReactElement { const { evmChains, ibcChains } = useConfig(); @@ -194,15 +190,10 @@ export default function DepositCard(): React.ReactElement { setIsAnimating(true); try { - // must left pad the amount with 0 if it starts with a dot because - // keplr's regex for a decimal is ^-?\d+.?\d*$ so it requires a leading digit - const amountStrPadded = padDecimal(amount); - const formattedAmount = DecUtils.getTenExponentN( + const formattedAmount = Decimal.fromUserInput( + amount, selectedIbcCurrency.coinDecimals, - ) - .mul(new Dec(amountStrPadded)) - .truncate() - .toString(); + ).atomics; const signer = await getCosmosSigningClient(); await sendIbcTransfer( diff --git a/web/src/features/KeplrWallet/index.ts b/web/src/features/KeplrWallet/index.ts index 5f6e78e..6c05b6b 100644 --- a/web/src/features/KeplrWallet/index.ts +++ b/web/src/features/KeplrWallet/index.ts @@ -1,5 +1,4 @@ import { useIbcChainSelection } from "./hooks/useIbcChainSelection"; import { sendIbcTransfer } from "./services/ibc"; -import { padDecimal } from "./utils/utils"; -export { padDecimal, sendIbcTransfer, useIbcChainSelection }; +export { sendIbcTransfer, useIbcChainSelection }; diff --git a/web/src/features/KeplrWallet/services/ibc.ts b/web/src/features/KeplrWallet/services/ibc.ts index 958ffbc..7a9df2a 100644 --- a/web/src/features/KeplrWallet/services/ibc.ts +++ b/web/src/features/KeplrWallet/services/ibc.ts @@ -1,7 +1,8 @@ import type { SigningStargateClient } from "@cosmjs/stargate"; -import { Dec } from "@keplr-wallet/unit"; -import type { IbcChainInfo, IbcCurrency } from "config"; +import { Decimal } from "@cosmjs/math"; import { osmosis } from "osmojs"; +import type { IbcChainInfo, IbcCurrency } from "config"; +import { nowPlusMinutesInNano } from "../utils/utils.ts"; /** * Send an IBC transfer from the selected chain to the recipient address. @@ -47,8 +48,7 @@ export const sendIbcTransfer = async ( sender: sender, memo: memo, receiver: currency.sequencerBridgeAccount, - // 10 minutes from now, in nanoseconds - timeoutTimestamp: BigInt(Date.now() + 600_000) * BigInt(1_000_000), + timeoutTimestamp: nowPlusMinutesInNano(10), }, }; @@ -85,8 +85,11 @@ export const getBalanceFromChain = async ( } // convert to display amount using decimal places - const amount = new Dec(balance.balance.amount, currency.coinDecimals); - return `${amount.toString(2)} ${currency.coinDenom}`; + const amount = Decimal.fromAtomics( + balance.balance.amount, + currency.coinDecimals, + ); + return `${amount.toString()} ${currency.coinDenom}`; } catch (error) { console.error("Failed to fetch balance:", error); throw error; diff --git a/web/src/features/KeplrWallet/utils/utils.test.ts b/web/src/features/KeplrWallet/utils/utils.test.ts index 415ed4b..806a65b 100644 --- a/web/src/features/KeplrWallet/utils/utils.test.ts +++ b/web/src/features/KeplrWallet/utils/utils.test.ts @@ -1,45 +1,35 @@ -import { padDecimal } from "./utils"; // adjust import path as needed +import { nowPlusMinutesInNano } from "./utils"; -describe("padDecimal", () => { - test("adds leading zero to strings starting with decimal point", () => { - expect(padDecimal(".5")).toBe("0.5"); - expect(padDecimal(".123")).toBe("0.123"); - expect(padDecimal(".0")).toBe("0.0"); +describe("nowPlusMinutesInNano", () => { + beforeEach(() => { + jest.spyOn(Date, "now").mockImplementation(() => 1600000000000); // 2020-09-13T12:26:40.000Z }); - test("does not modify strings that do not start with decimal point", () => { - expect(padDecimal("1.5")).toBe("1.5"); - expect(padDecimal("10.123")).toBe("10.123"); - expect(padDecimal("0.5")).toBe("0.5"); - expect(padDecimal("123")).toBe("123"); + afterEach(() => { + jest.restoreAllMocks(); }); - test("handles edge cases", () => { - // Empty string - expect(padDecimal("")).toBe(""); + test("converts 5 minutes to expected nanoseconds from now", () => { + const result = nowPlusMinutesInNano(5); - // Just a decimal point - expect(padDecimal(".")).toBe("0."); + // assert the result is a BigInt + expect(typeof result).toBe("bigint"); - // Multiple decimal points - expect(padDecimal(".1.2")).toBe("0.1.2"); - - // Leading zeros - expect(padDecimal("00.5")).toBe("00.5"); - - // Negative numbers - expect(padDecimal("-.5")).toBe("-.5"); - expect(padDecimal("-0.5")).toBe("-0.5"); + // convert result back to milliseconds and check the time difference + const resultInMs = Number(result / BigInt(1_000_000)); + const expectedMs = Date.now() + 5 * 60 * 1000; + expect(resultInMs).toBe(expectedMs); }); - test("preserves string format without modifying actual numbers", () => { - // Scientific notation - expect(padDecimal("1e-10")).toBe("1e-10"); - - // Very long decimals - expect(padDecimal(".12345678901234567890")).toBe("0.12345678901234567890"); + test("maintains millisecond precision when converting to nanoseconds", () => { + const result = nowPlusMinutesInNano(1); + // check that the last 6 digits (nanosecond portion) are zeros + expect(result % BigInt(1_000_000)).toBe(BigInt(0)); + }); - // Trailing zeros - expect(padDecimal(".500")).toBe("0.500"); + test("handles zero minutes", () => { + const result = nowPlusMinutesInNano(0); + const expectedMs = Date.now(); + expect(Number(result / BigInt(1_000_000))).toBe(expectedMs); }); }); diff --git a/web/src/features/KeplrWallet/utils/utils.ts b/web/src/features/KeplrWallet/utils/utils.ts index 46fc999..eff5ebc 100644 --- a/web/src/features/KeplrWallet/utils/utils.ts +++ b/web/src/features/KeplrWallet/utils/utils.ts @@ -1,7 +1,6 @@ /** - * Pad decimal with 0 if it starts with a dot - * @param str + * Returns now plus the given minutes, in nanoseconds */ -export function padDecimal(str: string) { - return str.startsWith(".") ? `0${str}` : str; +export function nowPlusMinutesInNano(minutes: number): bigint { + return BigInt(Date.now() + minutes * 60 * 1000) * BigInt(1_000_000); } diff --git a/web/src/react-app-env.d.ts b/web/src/react-app-env.d.ts index da98bdc..6431bc5 100644 --- a/web/src/react-app-env.d.ts +++ b/web/src/react-app-env.d.ts @@ -1,9 +1 @@ /// -import type { Keplr } from "@keplr-wallet/types"; - -declare global { - interface Window { - // window.keplr should be provided by the Keplr extension - keplr?: Keplr; - } -}