From 367dc4f7501941d2f755059b74f419a3ce26fbbc Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Tue, 5 Sep 2023 09:30:12 +0100 Subject: [PATCH 01/89] wip: working aave --- package.json | 13 + src/components/current/ChatBox.tsx | 3 + .../current/layout/header/HeaderContainer.tsx | 1 - .../current/widgets/nearBos/NearWidget.tsx | 174 + .../current/widgets/nearBos/data/web3.js | 282 + .../current/widgets/nearBos/data/widgets.js | 36 + .../nearBos/images/near_social_icon.svg | 4 + src/contexts/ConnectionWrapper.tsx | 7 +- src/utils/ethersPolyfill.ts | 26 + types/index.d.ts | 2 + yarn.lock | 4797 ++++++++++++++++- 11 files changed, 5174 insertions(+), 171 deletions(-) create mode 100644 src/components/current/widgets/nearBos/NearWidget.tsx create mode 100644 src/components/current/widgets/nearBos/data/web3.js create mode 100644 src/components/current/widgets/nearBos/data/widgets.js create mode 100644 src/components/current/widgets/nearBos/images/near_social_icon.svg create mode 100644 src/utils/ethersPolyfill.ts diff --git a/package.json b/package.json index 9af609fe6..b53577c33 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,12 @@ "@heroicons/react": "^2.0.14", "@liquity/lib-base": "^3.0.0", "@liquity/lib-ethers": "^3.4.0", + "@near-wallet-selector/core": "^8.5.1", + "@near-wallet-selector/modal-ui": "^8.5.1", + "@near-wallet-selector/near-wallet": "^8.5.1", + "@near-wallet-selector/neth": "^8.5.1", + "@near-wallet-selector/nightly": "^8.5.1", + "@near-wallet-selector/sender": "^8.5.1", "@next/font": "13.1.2", "@rainbow-me/rainbowkit": "^0.12.0", "@types/node": "18.11.18", @@ -34,6 +40,10 @@ "@uniswap/sdk-core": "<=4.0.3 || >4.0.6", "@uniswap/smart-order-router": "^3.11.0", "@uniswap/v3-periphery": "^1.4.3", + "@web3-onboard/injected-wallets": "^2.10.5", + "@web3-onboard/ledger": "^2.5.2", + "@web3-onboard/react": "^2.8.11", + "@web3-onboard/walletconnect": "^2.4.6", "copy-to-clipboard": "^3.3.3", "date-fns": "^2.30.0", "eslint": "8.32.0", @@ -41,6 +51,9 @@ "ethers": "^5.7.2", "graphql-request": "^6.1.0", "json-bigint": "^1.0.0", + "local-storage": "^2.0.0", + "near-api-js": "^2.1.4", + "near-social-vm": "^2.3.1", "next": "13.1.2", "next-auth": "^4.22.1", "react": "18.2.0", diff --git a/src/components/current/ChatBox.tsx b/src/components/current/ChatBox.tsx index f4849aa18..7e0dda72e 100644 --- a/src/components/current/ChatBox.tsx +++ b/src/components/current/ChatBox.tsx @@ -6,6 +6,7 @@ import MessageList from './MessageList'; // Use experimental components import ShareChatModal from './ShareChatModal'; import WelcomeMessage from './WelcomeMessage'; +import NearWidget from './widgets/nearBos/NearWidget'; const ChatBox = () => { const { isLoading } = useQueryChats(); @@ -15,6 +16,8 @@ const ChatBox = () => { return (
+ + {/* chat sharing modal*/} diff --git a/src/components/current/layout/header/HeaderContainer.tsx b/src/components/current/layout/header/HeaderContainer.tsx index 47cc418ac..113a2840b 100644 --- a/src/components/current/layout/header/HeaderContainer.tsx +++ b/src/components/current/layout/header/HeaderContainer.tsx @@ -24,7 +24,6 @@ const HeaderContainer = ({
{children}
-
diff --git a/src/components/current/widgets/nearBos/NearWidget.tsx b/src/components/current/widgets/nearBos/NearWidget.tsx new file mode 100644 index 000000000..ff94b9c06 --- /dev/null +++ b/src/components/current/widgets/nearBos/NearWidget.tsx @@ -0,0 +1,174 @@ +import React, { useCallback, useEffect, useState } from 'react'; +import Link from 'next/link'; +import { sanitizeUrl } from '@braintree/sanitize-url'; +// import { useParams } from "react-router-dom"; +// import { useQuery } from "../hooks/useQuery"; +// import { useHashRouterLegacy } from "../hooks/useHashRouterLegacy"; +import { setupWalletSelector } from '@near-wallet-selector/core'; +import { setupSender } from "@near-wallet-selector/sender"; +// import { setupHereWallet } from "@near-wallet-selector/here-wallet"; +// import { setupMeteorWallet } from "@near-wallet-selector/meteor-wallet"; +import { setupNeth } from "@near-wallet-selector/neth"; +import { setupNightly } from "@near-wallet-selector/nightly"; + +import { setupModal } from '@near-wallet-selector/modal-ui'; +import { setupNearWallet } from '@near-wallet-selector/near-wallet'; +import { Widget as BosWidget } from 'near-social-vm'; +import { EthersProviderContext, useAccount, useInitNear, useNear, utils } from 'near-social-vm'; + +import { ResponseWrap } from '@/components/cactiComponents/helpers/layout'; +import { useEthersProviderContext } from './data/web3'; +// import Big from "big.js"; +// import { NavigationWrapper } from "./components/navigation/NavigationWrapper"; +import { NetworkId, Widgets } from './data/widgets'; + +function NearWidgetUnwrapped(props: any) { + // const { widgetSrc } = useParams(); + const [widgetProps, setWidgetProps] = useState({}); + const src = 'aave-v3.near/widget/AAVE'; // widgetSrc || props.widgets.default; + + // useEffect(() => { + // setWidgetProps( + // [...query.entries()].reduce((props, [key, value]) => { + // props[key] = value; + // return props; + // }, {}) + // ); + // }, [query]); + + const [connected, setConnected] = useState(false); + const [signedIn, setSignedIn] = useState(false); + const [signedAccountId, setSignedAccountId] = useState(null); + const [availableStorage, setAvailableStorage] = useState(null); + const [walletModal, setWalletModal] = useState(null); + const [widgetSrc, setWidgetSrc] = useState(null); + + const { initNear } = useInitNear(); + const near = useNear(); + const account = useAccount(); + + const accountId = account.accountId; + + useEffect(() => { + initNear && + initNear({ + networkId: NetworkId, + selector: setupWalletSelector({ + network: NetworkId, + modules: [ + setupNearWallet(), + // setupMyNearWallet(), + setupSender(), + // setupHereWallet(), + // setupMeteorWallet(), + setupNeth({ + gas: "300000000000000", + bundle: false, + }), + setupNightly(), + ], + }), + customElements: { + Link: (props: any) => { + if (!props.to && props.href) { + props.to = props.href; + delete props.href; + } + if (props.to) { + props.to = sanitizeUrl(props.to); + } + return ; + }, + }, + config: { + defaultFinality: undefined, + }, + }); + }, [initNear]); + + useEffect(() => { + if (!near) { + return; + } + near.selector.then((selector: any) => { + setWalletModal(selector && setupModal(selector, { contractId: near.config.contractName })); + }); + }, [near]); + + const requestSignIn = useCallback( + (e: any) => { + e && e.preventDefault(); + // @ts-ignore + walletModal.show(); + return false; + }, + [walletModal] + ); + + const logOut = useCallback(async () => { + if (!near) { + return; + } + const wallet = await (await near.selector).wallet(); + wallet.signOut(); + near.accountId = null; + setSignedIn(false); + setSignedAccountId(null); + }, [near]); + + const refreshAllowance = useCallback(async () => { + alert("You're out of access key allowance. Need sign in again to refresh it"); + await logOut(); + // requestSignIn(); + }, [logOut, requestSignIn]); + + // refreshAllowanceObj.refreshAllowance = refreshAllowance; + + useEffect(() => { + if (!near) { + return; + } + setSignedIn(!!accountId); + setSignedAccountId(accountId); + setConnected(true); + }, [near, accountId]); + + // useEffect(() => { + // setAvailableStorage( + // account.storageBalance + // ? Big(account.storageBalance.available).div(utils.StorageCostPerByte) + // : Big(0) + // ); + // }, [account]); + + const passProps = { + refreshAllowance: () => refreshAllowance(), + setWidgetSrc, + signedAccountId, + signedIn, + connected, + availableStorage, + widgetSrc, + logOut, + requestSignIn, + widgets: [], + documentationHref: 'https://docs.near.org/docs/develop/front-end/near-api-js', + }; + + return ( + +
+ +
+
+ ); +} + +const NearWidget = () => { + const ethersProviderContext = useEthersProviderContext(); + return ( + + ) +} + +export default NearWidget; diff --git a/src/components/current/widgets/nearBos/data/web3.js b/src/components/current/widgets/nearBos/data/web3.js new file mode 100644 index 000000000..46393d479 --- /dev/null +++ b/src/components/current/widgets/nearBos/data/web3.js @@ -0,0 +1,282 @@ +import { singletonHook } from "react-singleton-hook"; +import { useEffect, useState } from "react"; +import { init, useConnectWallet } from "@web3-onboard/react"; +import injectedModule from "@web3-onboard/injected-wallets"; +//import walletConnectModule from "@web3-onboard/walletconnect"; +// import ledgerModule from "@web3-onboard/ledger"; +// import { ethers } from "ethers"; +import ls from "local-storage"; +import icon from "../images/near_social_icon.svg"; + +import { useProvider } from 'wagmi' + +const web3onboardKey = "web3-onboard:connectedWallets"; + +// const wcV1InitOptions = { +// qrcodeModalOptions: { +// mobileLinks: ["metamask", "argent", "trust"], +// }, +// connectFirstChainId: true, +// }; + +// const walletConnect = walletConnectModule(wcV1InitOptions); +// const ledger = ledgerModule(); +const injected = injectedModule(); + +// initialize Onboard +export const onboard = init({ + wallets: [injected], + chains: [ + { + id: 1, + token: "ETH", + label: "Ethereum Mainnet", + rpcUrl: "https://rpc.ankr.com/eth", + }, + { + id: 3, + token: "ETH", + label: "Ropsten - Ethereum Testnet", + rpcUrl: "https://rpc.ankr.com/eth_ropsten", + }, + { + id: 5, + token: "ETH", + label: "Goerli - Ethereum Testnet", + rpcUrl: "https://rpc.ankr.com/eth_goerli", + }, + { + id: 10, + token: "ETH", + label: "Optimism", + rpcUrl: "https://rpc.ankr.com/optimism", + }, + { + id: 420, + token: "ETH", + label: "Optimism Goerli Testnet", + rpcUrl: "https://optimism-goerli.publicnode.com", + }, + { + id: 56, + token: "BNB", + label: "Binance Smart Chain Mainnet", + rpcUrl: "https://bsc.publicnode.com", + }, + { + id: 97, + token: "tBNB", + label: "Binance Smart Chain Testnet", + rpcUrl: "https://bsc-testnet.publicnode.com", + }, + { + id: 1313161554, + token: "ETH", + label: "Aurora Mainnet", + rpcUrl: "https://mainnet.aurora.dev", + }, + { + id: 1313161555, + token: "ETH", + label: "Aurora Testnet", + rpcUrl: "https://testnet.aurora.dev", + }, + { + id: 137, + token: "MATIC", + label: "Polygon Mainnet", + rpcUrl: "https://rpc.ankr.com/polygon", + }, + { + id: 80001, + token: "MATIC", + label: "Polygon Testnet Mumbai", + rpcUrl: "https://rpc.ankr.com/polygon_mumbai", + }, + { + id: 280, + token: "ETH", + label: "zkSync Era Testnet", + rpcUrl: "https://testnet.era.zksync.dev", + }, + { + id: 324, + token: "ETH", + label: "zkSync Era Mainnet", + rpcUrl: "https://zksync2-mainnet.zksync.io", + }, + { + id: 1101, + token: "ETH", + label: "Polygon zkEVM", + rpcUrl: "https://zkevm-rpc.com", + }, + { + id: 1442, + token: "ETH", + label: "Polygon zkEVM Testnet", + rpcUrl: "https://rpc.public.zkevm-test.net", + }, + { + id: 42161, + token: "ETH", + label: "Arbitrum One Mainnet", + rpcUrl: "https://arb1.arbitrum.io/rpc", + }, + { + id: 42170, + token: "ETH", + label: "Arbitrum Nova", + rpcUrl: "https://nova.arbitrum.io/rpc", + }, + { + id: 421613, + token: "AGOR", + label: "Arbitrum Goerli", + rpcUrl: "https://goerli-rollup.arbitrum.io/rpc", + }, + { + id: 25, + token: "CRO", + label: "Cronos Mainnet Beta", + rpcUrl: "https://evm.cronos.org", + }, + { + id: 338, + token: "TCRO", + label: "Cronos Testnet", + rpcUrl: "https://evm-t3.cronos.org", + }, + { + id: 100, + token: "XDAI", + label: "Gnosis", + rpcUrl: "https://rpc.ankr.com/gnosis", + }, + { + id: 10200, + token: "XDAI", + label: "Gnosis Chiado Testnet", + rpcUrl: "https://rpc.chiadochain.net", + }, + { + id: 42220, + token: "CELO", + label: "Celo Mainnet", + rpcUrl: "https://rpc.ankr.com/celo", + }, + { + id: 44787, + token: "CELO", + label: "Celo Alfajores Testnet", + rpcUrl: "https://alfajores-forno.celo-testnet.org", + }, + { + id: 43114, + token: "AVAX", + label: "Avalanche C-Chain", + rpcUrl: "https://rpc.ankr.com/avalanche", + }, + { + id: 43113, + token: "AVAX", + label: "Avalanche Fuji Testnet", + rpcUrl: "https://rpc.ankr.com/avalanche_fuji", + }, + { + id: 250, + token: "FTM", + label: "Fantom Opera", + rpcUrl: "https://rpc.ankr.com/fantom", + }, + { + id: 4002, + token: "FTM", + label: "Fantom Testnet", + rpcUrl: "https://rpc.ankr.com/fantom_testnet", + }, + { + id: 1284, + token: "GLMR", + label: "Moonbeam", + rpcUrl: "https://rpc.ankr.com/moonbeam", + }, + { + id: 61, + token: "ETC", + label: "Ethereum Classic Mainnet", + rpcUrl: "https://etc.rivet.link", + }, + { + id: 84531, + token: "ETH", + label: "Base Goerli Testnet", + rpcUrl: "https://goerli.base.org", + }, + { + id: 8453, + token: "ETH", + label: "Base Mainnet", + rpcUrl: "https://mainnet.base.org", + }, + ], + appMetadata: { + name: "NEAR Social", + icon: './images/near_social_icon.svg', + description: "NEAR Social", + }, + theme: "dark", + containerElements: { + // connectModal: '#near-social-navigation-bar', + // accountCenter: "#near-social-web3-account", + }, +}); + +const defaultEthersProviderContext = { + useConnectWallet, + setChain: onboard.setChain, +}; + +export const useEthersProviderContext = singletonHook( + defaultEthersProviderContext, + () => { + const [{ wallet }] = useConnectWallet(); + const [ethersProvider, setEthersProvider] = useState( + defaultEthersProviderContext + ); + + useEffect(() => { + (async () => { + const walletsSub = onboard.state.select("wallets"); + const { unsubscribe } = walletsSub.subscribe((wallets) => { + const connectedWallets = wallets.map(({ label }) => label); + ls.set(web3onboardKey, connectedWallets); + }); + + const previouslyConnectedWallets = ls.get(web3onboardKey) || []; + + if (previouslyConnectedWallets) { + // You can also auto connect "silently" and disable all onboard modals to avoid them flashing on page load + await onboard.connectWallet({ + autoSelect: { + label: previouslyConnectedWallets[0], + disableModals: true, + }, + }); + } + })(); + }, []); + + // const provider = useProvider(); + + useEffect(() => { + setEthersProvider({ + provider: wallet?.provider, + useConnectWallet, + setChain: onboard.setChain, + }); + }, [wallet]); + + return ethersProvider; + } +); diff --git a/src/components/current/widgets/nearBos/data/widgets.js b/src/components/current/widgets/nearBos/data/widgets.js new file mode 100644 index 000000000..2e67177f7 --- /dev/null +++ b/src/components/current/widgets/nearBos/data/widgets.js @@ -0,0 +1,36 @@ +const TestnetDomains = { + "test.near.social": true, + "127.0.0.1": true, +}; + +export const NetworkId = + window.location.hostname in TestnetDomains ? "testnet" : "mainnet"; +const TestnetWidgets = { + image: "eugenethedream/widget/Image", + default: "eugenethedream/widget/Welcome", + viewSource: "eugenethedream/widget/WidgetSource", + widgetMetadataEditor: "eugenethedream/widget/WidgetMetadataEditor", + widgetMetadata: "eugenethedream/widget/WidgetMetadata", + profileImage: "eugenethedream/widget/ProfileImage", + profilePage: "eugenethedream/widget/Profile", + profileName: "eugenethedream/widget/ProfileName", + notificationButton: "eugenethedream/widget/NotificationButton", +}; + +const MainnetWidgets = { + image: "mob.near/widget/Image", + default: "mob.near/widget/Homepage", + viewSource: "mob.near/widget/WidgetSource", + widgetMetadataEditor: "mob.near/widget/WidgetMetadataEditor", + widgetMetadata: "mob.near/widget/WidgetMetadata", + profileImage: "mob.near/widget/ProfileImage", + notificationButton: "mob.near/widget/NotificationButton", + profilePage: "mob.near/widget/ProfilePage", + profileName: "patrick.near/widget/ProfileName", + editorComponentSearch: "mob.near/widget/Editor.ComponentSearch", + profileInlineBlock: "mob.near/widget/Profile.InlineBlock", + viewHistory: "bozon.near/widget/WidgetHistory", +}; + +export const Widgets = + NetworkId === "testnet" ? TestnetWidgets : MainnetWidgets; diff --git a/src/components/current/widgets/nearBos/images/near_social_icon.svg b/src/components/current/widgets/nearBos/images/near_social_icon.svg new file mode 100644 index 000000000..b1e7b43ce --- /dev/null +++ b/src/components/current/widgets/nearBos/images/near_social_icon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/contexts/ConnectionWrapper.tsx b/src/contexts/ConnectionWrapper.tsx index 3dbec41e3..44e68a13f 100644 --- a/src/contexts/ConnectionWrapper.tsx +++ b/src/contexts/ConnectionWrapper.tsx @@ -1,7 +1,5 @@ -import { ReactNode, useContext } from 'react'; +import { useContext } from 'react'; import Jazzicon, { jsNumberForAddress } from 'react-jazzicon'; -import { useQueryClient } from 'react-query'; -import { AppProps } from 'next/app'; import { AvatarComponent, RainbowKitProvider, @@ -12,7 +10,6 @@ import { import axios from 'axios'; import { Chain, WagmiConfig, configureChains, createClient, useEnsAvatar } from 'wagmi'; import { goerli, zkSyncTestnet } from 'wagmi/chains'; -import { jsonRpcProvider } from 'wagmi/providers/jsonRpc'; import { publicProvider } from 'wagmi/providers/public'; import useCachedState from '@/hooks/useCachedState'; import { getBackendApiUrl } from '@/utils/backend'; @@ -20,14 +17,12 @@ import { GetSiweMessageOptions, RainbowKitSiweNextAuthProvider } from '@/utils/r import SettingsContext from './SettingsContext'; const ConnectionWrapper = ({ children, useSiwe = true }: any) => { - const queryClient = useQueryClient(); /* Use a fork url cached in the browser localStorage, else use the .env value */ const [forkUrl] = useCachedState( 'forkUrl', `https://rpc.tenderly.co/fork/${process.env.NEXT_PUBLIC_TENDERLY_FORK_ID}` ); - console.log('🦄 ~ file: ConnectionWrapper.tsx:29 ~ ConnectionWrapper ~ forkUrl:', forkUrl); const { settings: { experimentalUi }, diff --git a/src/utils/ethersPolyfill.ts b/src/utils/ethersPolyfill.ts new file mode 100644 index 000000000..a63496b29 --- /dev/null +++ b/src/utils/ethersPolyfill.ts @@ -0,0 +1,26 @@ +// import { type PublicClient, getPublicClient } from '@wagmi/core' +// import { FallbackProvider, JsonRpcProvider } from 'ethers' +// import { type HttpTransport } from 'viem' + +// export function publicClientToProvider(publicClient: PublicClient) { +// const { chain, transport } = publicClient +// const network = { +// chainId: chain.id, +// name: chain.name, +// ensAddress: chain.contracts?.ensRegistry?.address, +// } +// if (transport.type === 'fallback') { +// const providers = (transport.transports as ReturnType[]).map( +// ({ value }) => new JsonRpcProvider(value?.url, network), +// ) +// if (providers.length === 1) return providers[0] +// return new FallbackProvider(providers) +// } +// return new JsonRpcProvider(transport.url, network) +// } + +// /** Action to convert a viem Public Client to an ethers.js Provider. */ +// export function getEthersProvider({ chainId }: { chainId?: number } = {}) { +// const publicClient = getPublicClient({ chainId }) +// return publicClientToProvider(publicClient) +// } \ No newline at end of file diff --git a/types/index.d.ts b/types/index.d.ts index 4b796f75b..e83bef92a 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,3 +1,5 @@ +declare module 'near-social-vm'; + type Widget = { name: string; params: any; diff --git a/yarn.lock b/yarn.lock index 13516cdea..9f7eee921 100644 --- a/yarn.lock +++ b/yarn.lock @@ -49,6 +49,16 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.22.10": + version: 7.22.13 + resolution: "@babel/code-frame@npm:7.22.13" + dependencies: + "@babel/highlight": ^7.22.13 + chalk: ^2.4.2 + checksum: 22e342c8077c8b77eeb11f554ecca2ba14153f707b85294fcf6070b6f6150aae88a7b7436dd88d8c9289970585f3fe5b9b941c5aa3aa26a6d5a8ef3f292da058 + languageName: node + linkType: hard + "@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.22.9": version: 7.22.9 resolution: "@babel/compat-data@npm:7.22.9" @@ -102,6 +112,18 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/generator@npm:7.22.10" + dependencies: + "@babel/types": ^7.22.10 + "@jridgewell/gen-mapping": ^0.3.2 + "@jridgewell/trace-mapping": ^0.3.17 + jsesc: ^2.5.1 + checksum: 59a79730abdff9070692834bd3af179e7a9413fa2ff7f83dff3eb888765aeaeb2bfc7b0238a49613ed56e1af05956eff303cc139f2407eda8df974813e486074 + languageName: node + linkType: hard + "@babel/helper-annotate-as-pure@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-annotate-as-pure@npm:7.22.5" @@ -217,7 +239,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.22.5": +"@babel/helper-module-imports@npm:^7.0.0, @babel/helper-module-imports@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-module-imports@npm:7.22.5" dependencies: @@ -353,6 +375,17 @@ __metadata: languageName: node linkType: hard +"@babel/highlight@npm:^7.22.13": + version: 7.22.13 + resolution: "@babel/highlight@npm:7.22.13" + dependencies: + "@babel/helper-validator-identifier": ^7.22.5 + chalk: ^2.4.2 + js-tokens: ^4.0.0 + checksum: 7266d2bff8aa8fc78eb65b6e92a8211e12897a731126a282d2f9bb50d8fcaa4c1b02af2284f990ac7e3ab8d892d448a2cab8f5ed0ea8a90bce2c025b11ebe802 + languageName: node + linkType: hard + "@babel/highlight@npm:^7.22.5": version: 7.22.5 resolution: "@babel/highlight@npm:7.22.5" @@ -373,6 +406,15 @@ __metadata: languageName: node linkType: hard +"@babel/parser@npm:^7.22.11": + version: 7.22.14 + resolution: "@babel/parser@npm:7.22.14" + bin: + parser: ./bin/babel-parser.js + checksum: a2293971f0889726a3d5a35fcceedc71d2fa4c8d97f438fc348fe0cf7e739affc6e2665e4c6ddd4900714772e19bfd5d6feb967ca1f623b894c0099ecb148b52 + languageName: node + linkType: hard + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.22.5" @@ -1588,6 +1630,15 @@ __metadata: languageName: node linkType: hard +"@babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.13.8, @babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.6.3, @babel/runtime@npm:^7.8.7": + version: 7.22.11 + resolution: "@babel/runtime@npm:7.22.11" + dependencies: + regenerator-runtime: ^0.14.0 + checksum: a5cd6683a8fcdb8065cb1677f221e22f6c67ec8f15ad1d273b180b93ab3bd86c66da2c48f500d4e72d8d2cfa85ff4872a3f350e5aa3855630036af5da765c001 + languageName: node + linkType: hard + "@babel/template@npm:^7.20.7, @babel/template@npm:^7.22.5, @babel/template@npm:^7.3.3": version: 7.22.5 resolution: "@babel/template@npm:7.22.5" @@ -1635,6 +1686,24 @@ __metadata: languageName: node linkType: hard +"@babel/traverse@npm:^7.4.5": + version: 7.22.11 + resolution: "@babel/traverse@npm:7.22.11" + dependencies: + "@babel/code-frame": ^7.22.10 + "@babel/generator": ^7.22.10 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-function-name": ^7.22.5 + "@babel/helper-hoist-variables": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.6 + "@babel/parser": ^7.22.11 + "@babel/types": ^7.22.11 + debug: ^4.1.0 + globals: ^11.1.0 + checksum: 4ad62d548ca8b95dbf45bae16cc167428f174f3c837d55a5878b1f17bdbc8b384d6df741dc7c461b62c04d881cf25644d3ab885909ba46e3ac43224e2b15b504 + languageName: node + linkType: hard + "@babel/types@npm:7.17.0": version: 7.17.0 resolution: "@babel/types@npm:7.17.0" @@ -1656,6 +1725,17 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.22.10, @babel/types@npm:^7.22.11": + version: 7.22.11 + resolution: "@babel/types@npm:7.22.11" + dependencies: + "@babel/helper-string-parser": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.5 + to-fast-properties: ^2.0.0 + checksum: 431a6446896adb62c876d0fe75263835735d3c974aae05356a87eb55f087c20a777028cf08eadcace7993e058bbafe3b21ce2119363222c6cef9eedd7a204810 + languageName: node + linkType: hard + "@base2/pretty-print-object@npm:1.0.1": version: 1.0.1 resolution: "@base2/pretty-print-object@npm:1.0.1" @@ -1670,6 +1750,13 @@ __metadata: languageName: node linkType: hard +"@braintree/sanitize-url@npm:6.0.0": + version: 6.0.0 + resolution: "@braintree/sanitize-url@npm:6.0.0" + checksum: 409ce7709dc1a0c67bc887d20af1becd4145d5c62cc5124b1c4c1f3ea2a8d69b0ee9f582d446469c6f5294b56442b99048cbbba6861dd5c834d4e019b95e1f40 + languageName: node + linkType: hard + "@center-inc/api-client@npm:^1.1.7": version: 1.1.13 resolution: "@center-inc/api-client@npm:1.1.13" @@ -1742,6 +1829,36 @@ __metadata: languageName: node linkType: hard +"@emotion/is-prop-valid@npm:^1.1.0": + version: 1.2.1 + resolution: "@emotion/is-prop-valid@npm:1.2.1" + dependencies: + "@emotion/memoize": ^0.8.1 + checksum: 8f42dc573a3fad79b021479becb639b8fe3b60bdd1081a775d32388bca418ee53074c7602a4c845c5f75fa6831eb1cbdc4d208cc0299f57014ed3a02abcad16a + languageName: node + linkType: hard + +"@emotion/memoize@npm:^0.8.1": + version: 0.8.1 + resolution: "@emotion/memoize@npm:0.8.1" + checksum: a19cc01a29fcc97514948eaab4dc34d8272e934466ed87c07f157887406bc318000c69ae6f813a9001c6a225364df04249842a50e692ef7a9873335fbcc141b0 + languageName: node + linkType: hard + +"@emotion/stylis@npm:^0.8.4": + version: 0.8.5 + resolution: "@emotion/stylis@npm:0.8.5" + checksum: 67ff5958449b2374b329fb96e83cb9025775ffe1e79153b499537c6c8b2eb64b77f32d7b5d004d646973662356ceb646afd9269001b97c54439fceea3203ce65 + languageName: node + linkType: hard + +"@emotion/unitless@npm:^0.7.4": + version: 0.7.5 + resolution: "@emotion/unitless@npm:0.7.5" + checksum: f976e5345b53fae9414a7b2e7a949aa6b52f8bdbcc84458b1ddc0729e77ba1d1dfdff9960e0da60183877873d3a631fa24d9695dd714ed94bcd3ba5196586a6b + languageName: node + linkType: hard + "@emotion/use-insertion-effect-with-fallbacks@npm:^1.0.0": version: 1.0.1 resolution: "@emotion/use-insertion-effect-with-fallbacks@npm:1.0.1" @@ -1758,6 +1875,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/android-arm64@npm:0.19.2" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/android-arm@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/android-arm@npm:0.18.17" @@ -1765,6 +1889,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/android-arm@npm:0.19.2" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@esbuild/android-x64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/android-x64@npm:0.18.17" @@ -1772,6 +1903,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-x64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/android-x64@npm:0.19.2" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "@esbuild/darwin-arm64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/darwin-arm64@npm:0.18.17" @@ -1779,6 +1917,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-arm64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/darwin-arm64@npm:0.19.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/darwin-x64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/darwin-x64@npm:0.18.17" @@ -1786,6 +1931,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-x64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/darwin-x64@npm:0.19.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@esbuild/freebsd-arm64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/freebsd-arm64@npm:0.18.17" @@ -1793,6 +1945,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-arm64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/freebsd-arm64@npm:0.19.2" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/freebsd-x64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/freebsd-x64@npm:0.18.17" @@ -1800,6 +1959,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-x64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/freebsd-x64@npm:0.19.2" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/linux-arm64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/linux-arm64@npm:0.18.17" @@ -1807,6 +1973,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/linux-arm64@npm:0.19.2" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/linux-arm@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/linux-arm@npm:0.18.17" @@ -1814,6 +1987,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/linux-arm@npm:0.19.2" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@esbuild/linux-ia32@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/linux-ia32@npm:0.18.17" @@ -1821,6 +2001,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ia32@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/linux-ia32@npm:0.19.2" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/linux-loong64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/linux-loong64@npm:0.18.17" @@ -1828,6 +2015,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/linux-loong64@npm:0.19.2" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@esbuild/linux-mips64el@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/linux-mips64el@npm:0.18.17" @@ -1835,6 +2029,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/linux-mips64el@npm:0.19.2" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "@esbuild/linux-ppc64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/linux-ppc64@npm:0.18.17" @@ -1842,6 +2043,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ppc64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/linux-ppc64@npm:0.19.2" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/linux-riscv64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/linux-riscv64@npm:0.18.17" @@ -1849,6 +2057,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-riscv64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/linux-riscv64@npm:0.19.2" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "@esbuild/linux-s390x@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/linux-s390x@npm:0.18.17" @@ -1856,6 +2071,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-s390x@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/linux-s390x@npm:0.19.2" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "@esbuild/linux-x64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/linux-x64@npm:0.18.17" @@ -1863,6 +2085,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-x64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/linux-x64@npm:0.19.2" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "@esbuild/netbsd-x64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/netbsd-x64@npm:0.18.17" @@ -1870,6 +2099,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/netbsd-x64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/netbsd-x64@npm:0.19.2" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/openbsd-x64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/openbsd-x64@npm:0.18.17" @@ -1877,6 +2113,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/openbsd-x64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/openbsd-x64@npm:0.19.2" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/sunos-x64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/sunos-x64@npm:0.18.17" @@ -1884,6 +2127,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/sunos-x64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/sunos-x64@npm:0.19.2" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "@esbuild/win32-arm64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/win32-arm64@npm:0.18.17" @@ -1891,6 +2141,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-arm64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/win32-arm64@npm:0.19.2" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/win32-ia32@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/win32-ia32@npm:0.18.17" @@ -1898,6 +2155,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-ia32@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/win32-ia32@npm:0.19.2" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/win32-x64@npm:0.18.17": version: 0.18.17 resolution: "@esbuild/win32-x64@npm:0.18.17" @@ -1905,6 +2169,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-x64@npm:0.19.2": + version: 0.19.2 + resolution: "@esbuild/win32-x64@npm:0.19.2" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint-community/eslint-utils@npm:^4.2.0": version: 4.4.0 resolution: "@eslint-community/eslint-utils@npm:4.4.0" @@ -1964,6 +2235,23 @@ __metadata: languageName: node linkType: hard +"@ethersproject/abi@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/abi@npm:5.5.0" + dependencies: + "@ethersproject/address": ^5.5.0 + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/constants": ^5.5.0 + "@ethersproject/hash": ^5.5.0 + "@ethersproject/keccak256": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/strings": ^5.5.0 + checksum: cb539220c64cb5a095cfd75a7e5a5c101759644af566dbf1b2a028a9609643d1eaa8fcff720adfb7f2b5527864be787be90d4df4f2c0c385a84b3215522bb61b + languageName: node + linkType: hard + "@ethersproject/abi@npm:5.7.0, @ethersproject/abi@npm:^5.0.12, @ethersproject/abi@npm:^5.5.0, @ethersproject/abi@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/abi@npm:5.7.0" @@ -1981,7 +2269,22 @@ __metadata: languageName: node linkType: hard -"@ethersproject/abstract-provider@npm:5.7.0, @ethersproject/abstract-provider@npm:^5.7.0": +"@ethersproject/abstract-provider@npm:5.5.1": + version: 5.5.1 + resolution: "@ethersproject/abstract-provider@npm:5.5.1" + dependencies: + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/networks": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/transactions": ^5.5.0 + "@ethersproject/web": ^5.5.0 + checksum: 73ee68b2320cd436b57a67051606b6d062ddebed6fd4c52b30c02134b81e43aca9bb1815c0956f3c8f519ddbaf9710f349021d1f054f11a88361e0c3f1a9b9f2 + languageName: node + linkType: hard + +"@ethersproject/abstract-provider@npm:5.7.0, @ethersproject/abstract-provider@npm:^5.5.0, @ethersproject/abstract-provider@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/abstract-provider@npm:5.7.0" dependencies: @@ -1996,7 +2299,20 @@ __metadata: languageName: node linkType: hard -"@ethersproject/abstract-signer@npm:5.7.0, @ethersproject/abstract-signer@npm:^5.7.0": +"@ethersproject/abstract-signer@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/abstract-signer@npm:5.5.0" + dependencies: + "@ethersproject/abstract-provider": ^5.5.0 + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + checksum: d0de55b8b49b43de9976cc2fd73deff33700cea088e50ae46aa71cc0962d5f770f782be584541230253ecc125e238e2123abf11f692d7b019a1e43e6526b2197 + languageName: node + linkType: hard + +"@ethersproject/abstract-signer@npm:5.7.0, @ethersproject/abstract-signer@npm:^5.5.0, @ethersproject/abstract-signer@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/abstract-signer@npm:5.7.0" dependencies: @@ -2009,7 +2325,20 @@ __metadata: languageName: node linkType: hard -"@ethersproject/address@npm:5.7.0, @ethersproject/address@npm:^5.0.0, @ethersproject/address@npm:^5.0.2, @ethersproject/address@npm:^5.7.0": +"@ethersproject/address@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/address@npm:5.5.0" + dependencies: + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/keccak256": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/rlp": ^5.5.0 + checksum: fa4d2b7ad67d1f1bffc017ccf99274fc455d0afae25ab718c822aa4472fbbf544d1a7bf87c1e75b1f97f9018564a02fd05332dd6daab48dd1efc00b6fe12d45e + languageName: node + linkType: hard + +"@ethersproject/address@npm:5.7.0, @ethersproject/address@npm:^5.0.0, @ethersproject/address@npm:^5.0.2, @ethersproject/address@npm:^5.5.0, @ethersproject/address@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/address@npm:5.7.0" dependencies: @@ -2022,7 +2351,16 @@ __metadata: languageName: node linkType: hard -"@ethersproject/base64@npm:5.7.0, @ethersproject/base64@npm:^5.7.0": +"@ethersproject/base64@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/base64@npm:5.5.0" + dependencies: + "@ethersproject/bytes": ^5.5.0 + checksum: 2d0904093b8e552e201c1b0f1f28ba1b0c950ee4969d626f795241349e4d50cdefd4accf66da50c31a82d625c9b52d839411fb2ed731ede3f8c8dbe8bfee61b9 + languageName: node + linkType: hard + +"@ethersproject/base64@npm:5.7.0, @ethersproject/base64@npm:^5.5.0, @ethersproject/base64@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/base64@npm:5.7.0" dependencies: @@ -2031,7 +2369,17 @@ __metadata: languageName: node linkType: hard -"@ethersproject/basex@npm:5.7.0, @ethersproject/basex@npm:^5.7.0": +"@ethersproject/basex@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/basex@npm:5.5.0" + dependencies: + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + checksum: b1497ae825a72cfb654010595b83a12d74a9ec360a6ad43e57bc02ac865237553abbf4d2dd06bd3447e7c225c4f73b77c8b3f048ce2d26655bc41ec39220f75f + languageName: node + linkType: hard + +"@ethersproject/basex@npm:5.7.0, @ethersproject/basex@npm:^5.5.0, @ethersproject/basex@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/basex@npm:5.7.0" dependencies: @@ -2052,7 +2400,18 @@ __metadata: languageName: node linkType: hard -"@ethersproject/bignumber@npm:5.7.0, @ethersproject/bignumber@npm:^5.7.0": +"@ethersproject/bignumber@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/bignumber@npm:5.5.0" + dependencies: + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + bn.js: ^4.11.9 + checksum: b18aa583130a9f66d13a998e13f06d6bbd039ae222208c92b7e3836831678b67d8deb07754c221f0102ad7418929f97a5e54fe37400215cbfc012dda2ca0fcff + languageName: node + linkType: hard + +"@ethersproject/bignumber@npm:5.7.0, @ethersproject/bignumber@npm:^5.5.0, @ethersproject/bignumber@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/bignumber@npm:5.7.0" dependencies: @@ -2063,7 +2422,16 @@ __metadata: languageName: node linkType: hard -"@ethersproject/bytes@npm:5.7.0, @ethersproject/bytes@npm:^5.0.9, @ethersproject/bytes@npm:^5.7.0": +"@ethersproject/bytes@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/bytes@npm:5.5.0" + dependencies: + "@ethersproject/logger": ^5.5.0 + checksum: ca55e208ccf4bf5d9a7a1fd9e39035c328a3e5b549657ef58530def787ed750d74d91eeb2ed7cd4bfdb8b1a2a319d6e48abb1d7b3b48a1f59a5ab33adbbc8176 + languageName: node + linkType: hard + +"@ethersproject/bytes@npm:5.7.0, @ethersproject/bytes@npm:^5.0.9, @ethersproject/bytes@npm:^5.5.0, @ethersproject/bytes@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/bytes@npm:5.7.0" dependencies: @@ -2072,7 +2440,16 @@ __metadata: languageName: node linkType: hard -"@ethersproject/constants@npm:5.7.0, @ethersproject/constants@npm:^5.7.0": +"@ethersproject/constants@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/constants@npm:5.5.0" + dependencies: + "@ethersproject/bignumber": ^5.5.0 + checksum: 20519ec5abcbff6d2a7f1260f58b33e1c472abdfb2ee3d5428d08091484fed572f8f873b1cb0410f9248f92512016bbf680324f9f2a537b5f65413a6a1359fd3 + languageName: node + linkType: hard + +"@ethersproject/constants@npm:5.7.0, @ethersproject/constants@npm:^5.5.0, @ethersproject/constants@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/constants@npm:5.7.0" dependencies: @@ -2081,6 +2458,24 @@ __metadata: languageName: node linkType: hard +"@ethersproject/contracts@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/contracts@npm:5.5.0" + dependencies: + "@ethersproject/abi": ^5.5.0 + "@ethersproject/abstract-provider": ^5.5.0 + "@ethersproject/abstract-signer": ^5.5.0 + "@ethersproject/address": ^5.5.0 + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/constants": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/transactions": ^5.5.0 + checksum: 53b00ebf657357e0d61ba8c61a47a391cec362ff334bb2eef134a4def16080bf681f592e2ee6594161a713c55b45d20aaf295bf205c6d97e1289df4f9ebb0d90 + languageName: node + linkType: hard + "@ethersproject/contracts@npm:5.7.0": version: 5.7.0 resolution: "@ethersproject/contracts@npm:5.7.0" @@ -2099,7 +2494,23 @@ __metadata: languageName: node linkType: hard -"@ethersproject/hash@npm:5.7.0, @ethersproject/hash@npm:^5.7.0": +"@ethersproject/hash@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/hash@npm:5.5.0" + dependencies: + "@ethersproject/abstract-signer": ^5.5.0 + "@ethersproject/address": ^5.5.0 + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/keccak256": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/strings": ^5.5.0 + checksum: 38e8801553a45eeabb4aa72f5a6eeb9dd7a9c5bb44b1691b6630ca2e991e0319871d7d17ffbcdfdca921f9e8240ee915de548bce1527738b6dc76231cbb52044 + languageName: node + linkType: hard + +"@ethersproject/hash@npm:5.7.0, @ethersproject/hash@npm:^5.5.0, @ethersproject/hash@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/hash@npm:5.7.0" dependencies: @@ -2116,7 +2527,27 @@ __metadata: languageName: node linkType: hard -"@ethersproject/hdnode@npm:5.7.0, @ethersproject/hdnode@npm:^5.7.0": +"@ethersproject/hdnode@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/hdnode@npm:5.5.0" + dependencies: + "@ethersproject/abstract-signer": ^5.5.0 + "@ethersproject/basex": ^5.5.0 + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/pbkdf2": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/sha2": ^5.5.0 + "@ethersproject/signing-key": ^5.5.0 + "@ethersproject/strings": ^5.5.0 + "@ethersproject/transactions": ^5.5.0 + "@ethersproject/wordlists": ^5.5.0 + checksum: 18c12807a837b6440a2bdbfe6010b7b341211ae103d011c299377dfab83ce8991bf4e85a7a214446b48178ff3c748bc167384836b3c639878666fb63f548fad6 + languageName: node + linkType: hard + +"@ethersproject/hdnode@npm:5.7.0, @ethersproject/hdnode@npm:^5.5.0, @ethersproject/hdnode@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/hdnode@npm:5.7.0" dependencies: @@ -2136,7 +2567,28 @@ __metadata: languageName: node linkType: hard -"@ethersproject/json-wallets@npm:5.7.0, @ethersproject/json-wallets@npm:^5.7.0": +"@ethersproject/json-wallets@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/json-wallets@npm:5.5.0" + dependencies: + "@ethersproject/abstract-signer": ^5.5.0 + "@ethersproject/address": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/hdnode": ^5.5.0 + "@ethersproject/keccak256": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/pbkdf2": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/random": ^5.5.0 + "@ethersproject/strings": ^5.5.0 + "@ethersproject/transactions": ^5.5.0 + aes-js: 3.0.0 + scrypt-js: 3.0.1 + checksum: 55166bcef805382348c8756feb383f4e10fb4fa7938a3ec17fb738d16f329fafedcbbe6daedf7dcc9dc3ebb5b7db326870dd63596381c9babec458c616563a4e + languageName: node + linkType: hard + +"@ethersproject/json-wallets@npm:5.7.0, @ethersproject/json-wallets@npm:^5.5.0, @ethersproject/json-wallets@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/json-wallets@npm:5.7.0" dependencies: @@ -2157,7 +2609,17 @@ __metadata: languageName: node linkType: hard -"@ethersproject/keccak256@npm:5.7.0, @ethersproject/keccak256@npm:^5.7.0": +"@ethersproject/keccak256@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/keccak256@npm:5.5.0" + dependencies: + "@ethersproject/bytes": ^5.5.0 + js-sha3: 0.8.0 + checksum: 587590c8448f3e1db52320d4fecc807d94a8ee83253110c076c7f8ce3b3127f7fd56c302f1ee80e6bc2764a4949a490ee5143344fabfad2a65020dc2f5896a85 + languageName: node + linkType: hard + +"@ethersproject/keccak256@npm:5.7.0, @ethersproject/keccak256@npm:^5.5.0, @ethersproject/keccak256@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/keccak256@npm:5.7.0" dependencies: @@ -2167,14 +2629,30 @@ __metadata: languageName: node linkType: hard -"@ethersproject/logger@npm:5.7.0, @ethersproject/logger@npm:^5.0.8, @ethersproject/logger@npm:^5.7.0": +"@ethersproject/logger@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/logger@npm:5.5.0" + checksum: 61d813ef8b9049e406f0b0b095f40a3809f8097dab4aaac980d91866a0e2718582d8e9d68b4280c7935546d3116cbc93a635d8f82e2a7963d6e2a1d43f29eb9a + languageName: node + linkType: hard + +"@ethersproject/logger@npm:5.7.0, @ethersproject/logger@npm:^5.0.8, @ethersproject/logger@npm:^5.5.0, @ethersproject/logger@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/logger@npm:5.7.0" checksum: 075ab2f605f1fd0813f2e39c3308f77b44a67732b36e712d9bc085f22a84aac4da4f71b39bee50fe78da3e1c812673fadc41180c9970fe5e486e91ea17befe0d languageName: node linkType: hard -"@ethersproject/networks@npm:5.7.1, @ethersproject/networks@npm:^5.7.0": +"@ethersproject/networks@npm:5.5.2": + version: 5.5.2 + resolution: "@ethersproject/networks@npm:5.5.2" + dependencies: + "@ethersproject/logger": ^5.5.0 + checksum: d6768591ac792daf328d68f3f161d8be6d71b71495698c8d1b9fe6155ae460c9ce97a5003c7799efe89d17ede117a86153313fda4a8a1bd97eda2be6aa646923 + languageName: node + linkType: hard + +"@ethersproject/networks@npm:5.7.1, @ethersproject/networks@npm:^5.5.0, @ethersproject/networks@npm:^5.7.0": version: 5.7.1 resolution: "@ethersproject/networks@npm:5.7.1" dependencies: @@ -2183,7 +2661,17 @@ __metadata: languageName: node linkType: hard -"@ethersproject/pbkdf2@npm:5.7.0, @ethersproject/pbkdf2@npm:^5.7.0": +"@ethersproject/pbkdf2@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/pbkdf2@npm:5.5.0" + dependencies: + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/sha2": ^5.5.0 + checksum: 75bb235dc05a879006da4fd82cc407d541bcca3d0ca23348ac24362dc5981d57ffc5d9c61e417f3d51a6a0887565e77338a583c6acc135532f8721c46035cc84 + languageName: node + linkType: hard + +"@ethersproject/pbkdf2@npm:5.7.0, @ethersproject/pbkdf2@npm:^5.5.0, @ethersproject/pbkdf2@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/pbkdf2@npm:5.7.0" dependencies: @@ -2193,7 +2681,16 @@ __metadata: languageName: node linkType: hard -"@ethersproject/properties@npm:5.7.0, @ethersproject/properties@npm:^5.7.0": +"@ethersproject/properties@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/properties@npm:5.5.0" + dependencies: + "@ethersproject/logger": ^5.5.0 + checksum: 1e71a13291e87c3be5fc0fa5e96a1e6043fd6bc3c3507f2cdd21f76ce73a7c05a973d6f63934943227c806a6b4bdeb1a719a6a12b79529ab002a0c0bf509363d + languageName: node + linkType: hard + +"@ethersproject/properties@npm:5.7.0, @ethersproject/properties@npm:^5.5.0, @ethersproject/properties@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/properties@npm:5.7.0" dependencies: @@ -2202,18 +2699,99 @@ __metadata: languageName: node linkType: hard -"@ethersproject/providers@npm:5.7.2": - version: 5.7.2 - resolution: "@ethersproject/providers@npm:5.7.2" - 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/providers@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/providers@npm:5.5.0" + dependencies: + "@ethersproject/abstract-provider": ^5.5.0 + "@ethersproject/abstract-signer": ^5.5.0 + "@ethersproject/address": ^5.5.0 + "@ethersproject/basex": ^5.5.0 + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/constants": ^5.5.0 + "@ethersproject/hash": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/networks": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/random": ^5.5.0 + "@ethersproject/rlp": ^5.5.0 + "@ethersproject/sha2": ^5.5.0 + "@ethersproject/strings": ^5.5.0 + "@ethersproject/transactions": ^5.5.0 + "@ethersproject/web": ^5.5.0 + bech32: 1.1.4 + ws: 7.4.6 + checksum: 8f29dfd9ef48613ffd4820ee1e77991492291172f8b87af9952380ef49231ef61b86df6df903c1bb2a7cfedc998fc337ca61c219e8aa74eeee18f6ff8cc7ad8b + languageName: node + linkType: hard + +"@ethersproject/providers@npm:5.5.2": + version: 5.5.2 + resolution: "@ethersproject/providers@npm:5.5.2" + dependencies: + "@ethersproject/abstract-provider": ^5.5.0 + "@ethersproject/abstract-signer": ^5.5.0 + "@ethersproject/address": ^5.5.0 + "@ethersproject/basex": ^5.5.0 + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/constants": ^5.5.0 + "@ethersproject/hash": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/networks": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/random": ^5.5.0 + "@ethersproject/rlp": ^5.5.0 + "@ethersproject/sha2": ^5.5.0 + "@ethersproject/strings": ^5.5.0 + "@ethersproject/transactions": ^5.5.0 + "@ethersproject/web": ^5.5.0 + bech32: 1.1.4 + ws: 7.4.6 + checksum: f03b78017ffa39880508cfb4f811ef3b5983d222303af06b4ab47b6296a3fa67dcd058534e5e167302e4e3af41c4aa44f8c113a974b84fbaa65c62959c098558 + languageName: node + linkType: hard + +"@ethersproject/providers@npm:5.5.3": + version: 5.5.3 + resolution: "@ethersproject/providers@npm:5.5.3" + dependencies: + "@ethersproject/abstract-provider": ^5.5.0 + "@ethersproject/abstract-signer": ^5.5.0 + "@ethersproject/address": ^5.5.0 + "@ethersproject/basex": ^5.5.0 + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/constants": ^5.5.0 + "@ethersproject/hash": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/networks": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/random": ^5.5.0 + "@ethersproject/rlp": ^5.5.0 + "@ethersproject/sha2": ^5.5.0 + "@ethersproject/strings": ^5.5.0 + "@ethersproject/transactions": ^5.5.0 + "@ethersproject/web": ^5.5.0 + bech32: 1.1.4 + ws: 7.4.6 + checksum: abe27d424361b9499926c45f167c62e81eea611bb7b40d22d427ac1bc6501fff530932c3e0d1effd110be3a8a8f48aed9c48c7d3d478db60f6ed245d724e2dcc + languageName: node + linkType: hard + +"@ethersproject/providers@npm:5.7.2": + version: 5.7.2 + resolution: "@ethersproject/providers@npm:5.7.2" + 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 @@ -2230,7 +2808,17 @@ __metadata: languageName: node linkType: hard -"@ethersproject/random@npm:5.7.0, @ethersproject/random@npm:^5.7.0": +"@ethersproject/random@npm:5.5.1": + version: 5.5.1 + resolution: "@ethersproject/random@npm:5.5.1" + dependencies: + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + checksum: 637077655408f2491fb9caca7fea3abcfb3fdfd3693c481e0778fb3d06383b6b35940a4341b9f7c1c0b659b68105612b3c6c93fc25f61ae770f2f8bcf0ac12a6 + languageName: node + linkType: hard + +"@ethersproject/random@npm:5.7.0, @ethersproject/random@npm:^5.5.0, @ethersproject/random@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/random@npm:5.7.0" dependencies: @@ -2240,7 +2828,17 @@ __metadata: languageName: node linkType: hard -"@ethersproject/rlp@npm:5.7.0, @ethersproject/rlp@npm:^5.7.0": +"@ethersproject/rlp@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/rlp@npm:5.5.0" + dependencies: + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + checksum: 6ffb619b1a3d3ca5cb8cb52ee586bb16061a083d77751b98b3b822a7af170344034bcc819f78d1cb4f4ea80bd9a504cb6d55cdb1356b5a14af24bacfb74f837d + languageName: node + linkType: hard + +"@ethersproject/rlp@npm:5.7.0, @ethersproject/rlp@npm:^5.5.0, @ethersproject/rlp@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/rlp@npm:5.7.0" dependencies: @@ -2250,7 +2848,18 @@ __metadata: languageName: node linkType: hard -"@ethersproject/sha2@npm:5.7.0, @ethersproject/sha2@npm:^5.7.0": +"@ethersproject/sha2@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/sha2@npm:5.5.0" + dependencies: + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + hash.js: 1.1.7 + checksum: 31d8bc4d0b8a8948e1562de7a2e3bb98709672e66541c0c9ae76e1b93918ad04b4fbe89f9d39bc739627a6bd00978ab256099d1ae30f44ccda7bbd7bea3c5f40 + languageName: node + linkType: hard + +"@ethersproject/sha2@npm:5.7.0, @ethersproject/sha2@npm:^5.5.0, @ethersproject/sha2@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/sha2@npm:5.7.0" dependencies: @@ -2261,7 +2870,21 @@ __metadata: languageName: node linkType: hard -"@ethersproject/signing-key@npm:5.7.0, @ethersproject/signing-key@npm:^5.7.0": +"@ethersproject/signing-key@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/signing-key@npm:5.5.0" + dependencies: + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + bn.js: ^4.11.9 + elliptic: 6.5.4 + hash.js: 1.1.7 + checksum: 28ba124eaff7fb69f256950957e9562781c060a7f998750cce003819bed25018cbc4cde052d93913bbfa419ce905b1c89a326dac90a96cf00a97924e163c116b + languageName: node + linkType: hard + +"@ethersproject/signing-key@npm:5.7.0, @ethersproject/signing-key@npm:^5.5.0, @ethersproject/signing-key@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/signing-key@npm:5.7.0" dependencies: @@ -2275,6 +2898,20 @@ __metadata: languageName: node linkType: hard +"@ethersproject/solidity@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/solidity@npm:5.5.0" + dependencies: + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/keccak256": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/sha2": ^5.5.0 + "@ethersproject/strings": ^5.5.0 + checksum: f19a4ebe235a43fe3749420822e4b5e9f3b7b7a95e6c102cd46b9a589118660db099d9a9ef1770b4d15c3710b97bbebc74852a838644a47a769bc997460dbed7 + languageName: node + linkType: hard + "@ethersproject/solidity@npm:5.7.0, @ethersproject/solidity@npm:^5.0.0, @ethersproject/solidity@npm:^5.0.9": version: 5.7.0 resolution: "@ethersproject/solidity@npm:5.7.0" @@ -2289,7 +2926,18 @@ __metadata: languageName: node linkType: hard -"@ethersproject/strings@npm:5.7.0, @ethersproject/strings@npm:^5.7.0": +"@ethersproject/strings@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/strings@npm:5.5.0" + dependencies: + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/constants": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + checksum: b17c0a3488b7a829317f6fb842af4f848f183083741846a3e05cd79fd8b76979e0211a060f03e9a528f79af7a4b077ac4421ed03194a73b738b2804969acd202 + languageName: node + linkType: hard + +"@ethersproject/strings@npm:5.7.0, @ethersproject/strings@npm:^5.5.0, @ethersproject/strings@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/strings@npm:5.7.0" dependencies: @@ -2300,7 +2948,24 @@ __metadata: languageName: node linkType: hard -"@ethersproject/transactions@npm:5.7.0, @ethersproject/transactions@npm:^5.7.0": +"@ethersproject/transactions@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/transactions@npm:5.5.0" + dependencies: + "@ethersproject/address": ^5.5.0 + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/constants": ^5.5.0 + "@ethersproject/keccak256": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/rlp": ^5.5.0 + "@ethersproject/signing-key": ^5.5.0 + checksum: 2de8ddb08927cbdec73de588e0ee1a9eb8f28a7f580deccc8bf51501c371ceaab252cc3339bdca620d94541c1fd214f58d279b50e2c27abe206a892fe917cf55 + languageName: node + linkType: hard + +"@ethersproject/transactions@npm:5.7.0, @ethersproject/transactions@npm:^5.5.0, @ethersproject/transactions@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/transactions@npm:5.7.0" dependencies: @@ -2317,6 +2982,17 @@ __metadata: languageName: node linkType: hard +"@ethersproject/units@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/units@npm:5.5.0" + dependencies: + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/constants": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + checksum: 7d5a841eb00ec693073dd3f020e1a3207cf917f37af30aaf1b5b3db03ecb2347f84733ea0d820a14cafd12922e8f7137bcf1b0d6309b7520a4a8db7c9e9de7a0 + languageName: node + linkType: hard + "@ethersproject/units@npm:5.7.0": version: 5.7.0 resolution: "@ethersproject/units@npm:5.7.0" @@ -2328,6 +3004,29 @@ __metadata: languageName: node linkType: hard +"@ethersproject/wallet@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/wallet@npm:5.5.0" + dependencies: + "@ethersproject/abstract-provider": ^5.5.0 + "@ethersproject/abstract-signer": ^5.5.0 + "@ethersproject/address": ^5.5.0 + "@ethersproject/bignumber": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/hash": ^5.5.0 + "@ethersproject/hdnode": ^5.5.0 + "@ethersproject/json-wallets": ^5.5.0 + "@ethersproject/keccak256": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/random": ^5.5.0 + "@ethersproject/signing-key": ^5.5.0 + "@ethersproject/transactions": ^5.5.0 + "@ethersproject/wordlists": ^5.5.0 + checksum: f7d38eb1cbd2eccaebf21a6104105bac133a80c37c9658d79a41f83d2b9166b09369ce0f5f2a5a1f9e317dfcb0d9d608e358bf53b85f34a7a3c8cf55b307f455 + languageName: node + linkType: hard + "@ethersproject/wallet@npm:5.7.0": version: 5.7.0 resolution: "@ethersproject/wallet@npm:5.7.0" @@ -2351,7 +3050,20 @@ __metadata: languageName: node linkType: hard -"@ethersproject/web@npm:5.7.1, @ethersproject/web@npm:^5.7.0": +"@ethersproject/web@npm:5.5.1": + version: 5.5.1 + resolution: "@ethersproject/web@npm:5.5.1" + dependencies: + "@ethersproject/base64": ^5.5.0 + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/strings": ^5.5.0 + checksum: 4718efd7e78f69ccd069309d7d46de562a988ab3e01089e047259b714bbf958d917e86c57c1a6ec99724c4dfd0338bb6b3dc990597a1326f7199039e450bc73c + languageName: node + linkType: hard + +"@ethersproject/web@npm:5.7.1, @ethersproject/web@npm:^5.5.0, @ethersproject/web@npm:^5.7.0": version: 5.7.1 resolution: "@ethersproject/web@npm:5.7.1" dependencies: @@ -2364,7 +3076,20 @@ __metadata: languageName: node linkType: hard -"@ethersproject/wordlists@npm:5.7.0, @ethersproject/wordlists@npm:^5.7.0": +"@ethersproject/wordlists@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/wordlists@npm:5.5.0" + dependencies: + "@ethersproject/bytes": ^5.5.0 + "@ethersproject/hash": ^5.5.0 + "@ethersproject/logger": ^5.5.0 + "@ethersproject/properties": ^5.5.0 + "@ethersproject/strings": ^5.5.0 + checksum: 3eb0b1027dcca11bfb3662822271732581975edfe3e22e16d2dead9aa998093a905c926aa0aaefeb6ea9188bd9ee6f6286edfd6ec246ff974c05bf43b4551141 + languageName: node + linkType: hard + +"@ethersproject/wordlists@npm:5.7.0, @ethersproject/wordlists@npm:^5.5.0, @ethersproject/wordlists@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/wordlists@npm:5.7.0" dependencies: @@ -2405,6 +3130,93 @@ __metadata: languageName: node linkType: hard +"@floating-ui/core@npm:^1.4.1": + version: 1.4.1 + resolution: "@floating-ui/core@npm:1.4.1" + dependencies: + "@floating-ui/utils": ^0.1.1 + checksum: be4ab864fe17eeba5e205bd554c264b9a4895a57c573661bbf638357fa3108677fed7ba3269ec15b4da90e29274c9b626d5a15414e8d1fe691e210d02a03695c + languageName: node + linkType: hard + +"@floating-ui/dom@npm:^1.5.1": + version: 1.5.1 + resolution: "@floating-ui/dom@npm:1.5.1" + dependencies: + "@floating-ui/core": ^1.4.1 + "@floating-ui/utils": ^0.1.1 + checksum: ddb509030978536ba7b321cf8c764ae9d0142a3b1fefb7e6bc050a5de7e825e12131fa5089009edabf7c125fb274886da211a5220fe17a71d875a7a96eb1386c + languageName: node + linkType: hard + +"@floating-ui/react-dom@npm:^2.0.0": + version: 2.0.2 + resolution: "@floating-ui/react-dom@npm:2.0.2" + dependencies: + "@floating-ui/dom": ^1.5.1 + peerDependencies: + react: ">=16.8.0" + react-dom: ">=16.8.0" + checksum: 4797e1f7a19c1e531ed0d578ccdcbe58970743e5a480ba30424857fc953063f36d481f8c5d69248a8f1d521b739e94bf5e1ffb35506400dea3d914f166ed2f7f + languageName: node + linkType: hard + +"@floating-ui/utils@npm:^0.1.1": + version: 0.1.1 + resolution: "@floating-ui/utils@npm:0.1.1" + checksum: 548acdda7902f45b0afbe34e2e7f4cbff0696b95bad8c039f80936519de24ef2ec20e79902825b7815294b37f51a7c52ee86288b0688869a57cc229a164d86b4 + languageName: node + linkType: hard + +"@formatjs/ecma402-abstract@npm:1.11.4": + version: 1.11.4 + resolution: "@formatjs/ecma402-abstract@npm:1.11.4" + dependencies: + "@formatjs/intl-localematcher": 0.2.25 + tslib: ^2.1.0 + checksum: 05dbe1c6457acfe9cdc0fc770940260e19fa588be6c655b1ff1697506348dac1eee9b249b64e6544531174d07a5a74a9e75f68430947cfdc074ebe8e3c86f86f + languageName: node + linkType: hard + +"@formatjs/fast-memoize@npm:1.2.1": + version: 1.2.1 + resolution: "@formatjs/fast-memoize@npm:1.2.1" + dependencies: + tslib: ^2.1.0 + checksum: 7df9e941142be16e5862afe7387926cec44ec136d2c2f9a7e1598cb6c8c23a65e420ed90251ec9b48df083f5473b10d6fbbee2e9fc7233d5bf1f27efffba59a7 + languageName: node + linkType: hard + +"@formatjs/icu-messageformat-parser@npm:2.1.0": + version: 2.1.0 + resolution: "@formatjs/icu-messageformat-parser@npm:2.1.0" + dependencies: + "@formatjs/ecma402-abstract": 1.11.4 + "@formatjs/icu-skeleton-parser": 1.3.6 + tslib: ^2.1.0 + checksum: 8dab4d102b334dd7ab25b85817b074f1b54845d02f9ef9fa5a1fa6a9723176ad28a59d845fdc0eeedb868b891e61a4c530384b123db29f5b14e1f3f8b207373f + languageName: node + linkType: hard + +"@formatjs/icu-skeleton-parser@npm:1.3.6": + version: 1.3.6 + resolution: "@formatjs/icu-skeleton-parser@npm:1.3.6" + dependencies: + "@formatjs/ecma402-abstract": 1.11.4 + tslib: ^2.1.0 + checksum: cce2d8bea54f0096c557dc03920bfe4785893e60962313fab9eeee41f0b411d38b9d45852882b19f261417d730362c8685bea6ba5ac1e2dee141f030cda624e9 + languageName: node + linkType: hard + +"@formatjs/intl-localematcher@npm:0.2.25": + version: 0.2.25 + resolution: "@formatjs/intl-localematcher@npm:0.2.25" + dependencies: + tslib: ^2.1.0 + checksum: ee00ddc23317dc47a58831aaca5112e101d8bb1f38adc0ecfe1a9d7e008d0bb1091519f07e1d7d805b0c1e28f2c3e75f697ae479e22423445814412c7669284c + languageName: node + linkType: hard + "@graphql-typed-document-node/core@npm:^3.2.0": version: 3.2.0 resolution: "@graphql-typed-document-node/core@npm:3.2.0" @@ -2886,6 +3698,13 @@ __metadata: languageName: node linkType: hard +"@ledgerhq/connect-kit-loader@npm:^1.1.0": + version: 1.1.2 + resolution: "@ledgerhq/connect-kit-loader@npm:1.1.2" + checksum: 614fdd9ac2363da60af667adcfe4721f863d8ea06ee45a08192a162c28e806dc07491bee4833d14def74de673eac1f1450eaf67e783c8c28da4e0cd095b4474a + languageName: node + linkType: hard + "@liquity/lib-base@npm:^3.0.0": version: 3.0.0 resolution: "@liquity/lib-base@npm:3.0.0" @@ -2940,6 +3759,13 @@ __metadata: languageName: node linkType: hard +"@metamask/detect-provider@npm:2.0.0": + version: 2.0.0 + resolution: "@metamask/detect-provider@npm:2.0.0" + checksum: 45d3128069310e6cdb9a572b31da88b3fddb0aa78f94deba71657efd7e40d0680912a4ee0291a7a0e9ab66681aba271e74de87c5464d979f115726c740db641b + languageName: node + linkType: hard + "@metamask/safe-event-emitter@npm:2.0.0, @metamask/safe-event-emitter@npm:^2.0.0": version: 2.0.0 resolution: "@metamask/safe-event-emitter@npm:2.0.0" @@ -3055,6 +3881,254 @@ __metadata: languageName: node linkType: hard +"@near-js/accounts@npm:0.1.4": + version: 0.1.4 + resolution: "@near-js/accounts@npm:0.1.4" + dependencies: + "@near-js/crypto": 0.0.5 + "@near-js/providers": 0.0.7 + "@near-js/signers": 0.0.5 + "@near-js/transactions": 0.2.1 + "@near-js/types": 0.0.4 + "@near-js/utils": 0.0.4 + ajv: ^8.11.2 + ajv-formats: ^2.1.1 + bn.js: 5.2.1 + borsh: ^0.7.0 + depd: ^2.0.0 + near-abi: 0.1.1 + checksum: b31fff8a84eff867f1e331cfef28bbb0d0760b8548dd1d042777ceb071ce49eea811069aabae26f2892c51f65564eaacf0045c2aa7caa20306ec46f94096b728 + languageName: node + linkType: hard + +"@near-js/crypto@npm:0.0.5": + version: 0.0.5 + resolution: "@near-js/crypto@npm:0.0.5" + dependencies: + "@near-js/types": 0.0.4 + bn.js: 5.2.1 + borsh: ^0.7.0 + tweetnacl: ^1.0.1 + checksum: 9043b80827c5a701cf803a7a68bb5788f1c5c0b8b2a04ac73abf935acb357c8fc3e8265f103f1cc8c5e64312a309b229ca1dfd582994e7be3441199d7ddeb921 + languageName: node + linkType: hard + +"@near-js/keystores-browser@npm:0.0.5": + version: 0.0.5 + resolution: "@near-js/keystores-browser@npm:0.0.5" + dependencies: + "@near-js/crypto": 0.0.5 + "@near-js/keystores": 0.0.5 + checksum: 66cb57bf99c0b676a340b7a0cceac25d0660bc250316f3d02530a30ad919f33d203cdbf78a287ff83490e48b35f3fb2f693ac8c22ddcb99ffd0b24abde7a3632 + languageName: node + linkType: hard + +"@near-js/keystores-node@npm:0.0.5": + version: 0.0.5 + resolution: "@near-js/keystores-node@npm:0.0.5" + dependencies: + "@near-js/crypto": 0.0.5 + "@near-js/keystores": 0.0.5 + checksum: 09a21aee523ec65680cbc842be06412b93fe14449c094343f3cb28211eba84165976f9cff6161ae138f18502f35b601e81d9502a1dc7d1ab20b0358bf330f168 + languageName: node + linkType: hard + +"@near-js/keystores@npm:0.0.5": + version: 0.0.5 + resolution: "@near-js/keystores@npm:0.0.5" + dependencies: + "@near-js/crypto": 0.0.5 + "@near-js/types": 0.0.4 + checksum: a1cc994d7b16c8c4bdba86570591bc9a86c3dcf396be7d055b84d0786959873377f5d7cef838563780b0afec480319a28f3711d35edff1ef2562fbf634a0c55a + languageName: node + linkType: hard + +"@near-js/providers@npm:0.0.7": + version: 0.0.7 + resolution: "@near-js/providers@npm:0.0.7" + dependencies: + "@near-js/transactions": 0.2.1 + "@near-js/types": 0.0.4 + "@near-js/utils": 0.0.4 + bn.js: 5.2.1 + borsh: ^0.7.0 + http-errors: ^1.7.2 + node-fetch: ^2.6.1 + dependenciesMeta: + node-fetch: + optional: true + checksum: 6302f1dde283a4ddb488eb037feb46866039fbb5353ab518186d2cba6e27aa4c803c7e425be9bda8ce360fd88a0480a29982e2c40eb6b554218ce24a0ab134db + languageName: node + linkType: hard + +"@near-js/signers@npm:0.0.5": + version: 0.0.5 + resolution: "@near-js/signers@npm:0.0.5" + dependencies: + "@near-js/crypto": 0.0.5 + "@near-js/keystores": 0.0.5 + js-sha256: ^0.9.0 + checksum: d18b3351823aba277a3a38a6b23019fb19a3265e0eb8d04154db350b501e2cd20642df67c4393927500baf87fd85a4f6f53fe38752786d3d06aa7b360e030b1c + languageName: node + linkType: hard + +"@near-js/transactions@npm:0.2.1": + version: 0.2.1 + resolution: "@near-js/transactions@npm:0.2.1" + dependencies: + "@near-js/crypto": 0.0.5 + "@near-js/signers": 0.0.5 + "@near-js/types": 0.0.4 + "@near-js/utils": 0.0.4 + bn.js: 5.2.1 + borsh: ^0.7.0 + js-sha256: ^0.9.0 + checksum: 9eb498443963e766fa1573e1bdd9dcb70c95f5418dc427c42a8fdf3b189fbdbb46d1b4b441458696b429e4cf4af0fcdd6869ee7ff21f878718e25f79526ab83b + languageName: node + linkType: hard + +"@near-js/types@npm:0.0.4": + version: 0.0.4 + resolution: "@near-js/types@npm:0.0.4" + dependencies: + bn.js: 5.2.1 + checksum: 2c84e0aad6352aac59a8455d52556ec6c6c61f12c3f10d20150d17c5cc2ca24bbba4ff22890447fb2d8289b09bf6c5084312927f3ff35637d17decd2fc5b3374 + languageName: node + linkType: hard + +"@near-js/utils@npm:0.0.4": + version: 0.0.4 + resolution: "@near-js/utils@npm:0.0.4" + dependencies: + "@near-js/types": 0.0.4 + bn.js: 5.2.1 + depd: ^2.0.0 + mustache: ^4.0.0 + checksum: 5037f6b1a27ccd5e9ceb558ba5243751ade90e8f58165a9400c6a807f0dedfc169dcdd3cbc33248acd0969fedd660056e33243bfa3625b5b71c630f95e8bc66f + languageName: node + linkType: hard + +"@near-js/wallet-account@npm:0.0.7": + version: 0.0.7 + resolution: "@near-js/wallet-account@npm:0.0.7" + dependencies: + "@near-js/accounts": 0.1.4 + "@near-js/crypto": 0.0.5 + "@near-js/keystores": 0.0.5 + "@near-js/signers": 0.0.5 + "@near-js/transactions": 0.2.1 + "@near-js/types": 0.0.4 + "@near-js/utils": 0.0.4 + bn.js: 5.2.1 + borsh: ^0.7.0 + checksum: 6dca6034a8ed796874a7fb78dbf715dbd88eb68129b06dfc960b87bf5dde64c305a6e4ed41d2b1da7cf620ada0b5c46d909037c514bf60eafda334078e25188f + languageName: node + linkType: hard + +"@near-wallet-selector/core@npm:8.5.1, @near-wallet-selector/core@npm:^8.5.1": + version: 8.5.1 + resolution: "@near-wallet-selector/core@npm:8.5.1" + dependencies: + borsh: 0.7.0 + events: 3.3.0 + js-sha256: 0.9.0 + rxjs: 7.8.1 + peerDependencies: + near-api-js: ^1.0.0 || ^2.0.0 + checksum: a3ef7ba29759d8008036621745ead9efae5d5d1debf71e04a4921f4a7479c49b9bc9cdddfbb68359965239c7a166a02ec5e4e54d15029ad9d4ddfd327347f3d5 + languageName: node + linkType: hard + +"@near-wallet-selector/modal-ui@npm:^8.5.1": + version: 8.5.1 + resolution: "@near-wallet-selector/modal-ui@npm:8.5.1" + dependencies: + "@near-wallet-selector/core": 8.5.1 + copy-to-clipboard: 3.3.3 + qrcode: 1.5.3 + react: 18.2.0 + react-dom: 18.2.0 + checksum: 009267d74b545d768156335318eaf69074d277a147c8cb6af2312c4643352aacb6bf7a5378c4be57cc9843c5fcd0c5cc07b27071cdd788c90cc748a9572ebaef + languageName: node + linkType: hard + +"@near-wallet-selector/my-near-wallet@npm:8.5.1": + version: 8.5.1 + resolution: "@near-wallet-selector/my-near-wallet@npm:8.5.1" + dependencies: + "@near-wallet-selector/core": 8.5.1 + "@near-wallet-selector/wallet-utils": 8.5.1 + peerDependencies: + near-api-js: ^1.0.0 || ^2.0.0 + checksum: 67433137b5a31f1d1dabba3870e1b95d88280e9408a09d7a024612ed0a6680e4f380e9383d8928190947eca2c2f1887983fb502726dab188b18ab7e6aff33d69 + languageName: node + linkType: hard + +"@near-wallet-selector/near-wallet@npm:^8.5.1": + version: 8.5.1 + resolution: "@near-wallet-selector/near-wallet@npm:8.5.1" + dependencies: + "@near-wallet-selector/core": 8.5.1 + "@near-wallet-selector/my-near-wallet": 8.5.1 + peerDependencies: + near-api-js: ^1.0.0 || ^2.0.0 + checksum: 07a9f4a862907124ccd1989e4bfeb80618119ef788f9fce37f950d1bb23fb6237d6576274de0ff3a0d971256c35b50d1817d45f385df09f77ab5439bf03e88f0 + languageName: node + linkType: hard + +"@near-wallet-selector/neth@npm:^8.5.1": + version: 8.5.1 + resolution: "@near-wallet-selector/neth@npm:8.5.1" + dependencies: + "@metamask/detect-provider": 2.0.0 + "@near-wallet-selector/core": 8.5.1 + bn.js: 5.2.1 + ethers: 5.7.2 + is-mobile: 4.0.0 + near-seed-phrase: 0.2.0 + peerDependencies: + near-api-js: ^1.0.0 || ^2.0.0 + checksum: b29cd10d148dc821c9f3b93bfa0bab497ee5769fcc86db124e28ddb312a15d0aba5e227c6c9e80924b5be92c3718df9469b6cb2ad03fab955e9d46fcc1beb612 + languageName: node + linkType: hard + +"@near-wallet-selector/nightly@npm:^8.5.1": + version: 8.5.1 + resolution: "@near-wallet-selector/nightly@npm:8.5.1" + dependencies: + "@near-wallet-selector/core": 8.5.1 + "@near-wallet-selector/wallet-utils": 8.5.1 + is-mobile: 4.0.0 + peerDependencies: + near-api-js: ^1.0.0 || ^2.0.0 + checksum: f468f5d5a4b3bebc9a453f6f4086efe4455a9bd6e1ef7c9c80edac6b4dda639dbbbd03941e185d3b9662878ca6ce019e55e3ba56dd3ebf3b3fae267f962b04c8 + languageName: node + linkType: hard + +"@near-wallet-selector/sender@npm:^8.5.1": + version: 8.5.1 + resolution: "@near-wallet-selector/sender@npm:8.5.1" + dependencies: + "@near-wallet-selector/core": 8.5.1 + is-mobile: 4.0.0 + peerDependencies: + near-api-js: ^1.0.0 || ^2.0.0 + checksum: 42a9a58e917825df3521c1ff313d2a54f366d160c316fb8211a3024b98cb334bc540600e84316060f7303877425a83a37389b6923332ad3270fe70ba36532ff2 + languageName: node + linkType: hard + +"@near-wallet-selector/wallet-utils@npm:8.5.1": + version: 8.5.1 + resolution: "@near-wallet-selector/wallet-utils@npm:8.5.1" + dependencies: + "@near-wallet-selector/core": 8.5.1 + bn.js: 5.2.1 + peerDependencies: + near-api-js: ^1.0.0 || ^2.0.0 + checksum: 2f6213ed1919808b800670cdcb3e1377e18ef6f124e44828328e6d55c961478b4909360da7798918b488d5c722b6f865d26c85c1bd56872184857bcdd6444f72 + languageName: node + linkType: hard + "@next/env@npm:13.1.2": version: 13.1.2 resolution: "@next/env@npm:13.1.2" @@ -3169,143 +4243,1377 @@ __metadata: languageName: node linkType: hard -"@noble/curves@npm:^1.0.0": - version: 1.1.0 - resolution: "@noble/curves@npm:1.1.0" - dependencies: - "@noble/hashes": 1.3.1 - checksum: 2658cdd3f84f71079b4e3516c47559d22cf4b55c23ac8ee9d2b1f8e5b72916d9689e59820e0f9d9cb4a46a8423af5b56dc6bb7782405c88be06a015180508db5 +"@noble/curves@npm:^1.0.0": + version: 1.1.0 + resolution: "@noble/curves@npm:1.1.0" + dependencies: + "@noble/hashes": 1.3.1 + checksum: 2658cdd3f84f71079b4e3516c47559d22cf4b55c23ac8ee9d2b1f8e5b72916d9689e59820e0f9d9cb4a46a8423af5b56dc6bb7782405c88be06a015180508db5 + languageName: node + linkType: hard + +"@noble/hashes@npm:1.3.1, @noble/hashes@npm:^1.1.2, @noble/hashes@npm:^1.3.0": + version: 1.3.1 + resolution: "@noble/hashes@npm:1.3.1" + checksum: 7fdefc0f7a0c1ec27acc6ff88841793e3f93ec4ce6b8a6a12bfc0dd70ae6b7c4c82fe305fdfeda1735d5ad4a9eebe761e6693b3d355689c559e91242f4bc95b1 + languageName: node + linkType: hard + +"@nodelib/fs.scandir@npm:2.1.5": + version: 2.1.5 + resolution: "@nodelib/fs.scandir@npm:2.1.5" + dependencies: + "@nodelib/fs.stat": 2.0.5 + run-parallel: ^1.1.9 + checksum: a970d595bd23c66c880e0ef1817791432dbb7acbb8d44b7e7d0e7a22f4521260d4a83f7f9fd61d44fda4610105577f8f58a60718105fb38352baed612fd79e59 + languageName: node + linkType: hard + +"@nodelib/fs.stat@npm:2.0.5, @nodelib/fs.stat@npm:^2.0.2": + version: 2.0.5 + resolution: "@nodelib/fs.stat@npm:2.0.5" + checksum: 012480b5ca9d97bff9261571dbbec7bbc6033f69cc92908bc1ecfad0792361a5a1994bc48674b9ef76419d056a03efadfce5a6cf6dbc0a36559571a7a483f6f0 + languageName: node + linkType: hard + +"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": + version: 1.2.8 + resolution: "@nodelib/fs.walk@npm:1.2.8" + dependencies: + "@nodelib/fs.scandir": 2.1.5 + fastq: ^1.6.0 + checksum: 190c643f156d8f8f277bf2a6078af1ffde1fd43f498f187c2db24d35b4b4b5785c02c7dc52e356497b9a1b65b13edc996de08de0b961c32844364da02986dc53 + languageName: node + linkType: hard + +"@npmcli/fs@npm:^3.1.0": + version: 3.1.0 + resolution: "@npmcli/fs@npm:3.1.0" + dependencies: + semver: ^7.3.5 + checksum: a50a6818de5fc557d0b0e6f50ec780a7a02ab8ad07e5ac8b16bf519e0ad60a144ac64f97d05c443c3367235d337182e1d012bbac0eb8dbae8dc7b40b193efd0e + languageName: node + linkType: hard + +"@openzeppelin/contracts@npm:3.4.1-solc-0.7-2": + version: 3.4.1-solc-0.7-2 + resolution: "@openzeppelin/contracts@npm:3.4.1-solc-0.7-2" + checksum: 3608a4065f65946117caa543ef72477ce637bd5cc4f4853303b5f5b6c26516f8b50898ea3a8486e2877689cae81453ce22c72c8624c77c363c63f019b4086ffa + languageName: node + linkType: hard + +"@openzeppelin/contracts@npm:3.4.2-solc-0.7": + version: 3.4.2-solc-0.7 + resolution: "@openzeppelin/contracts@npm:3.4.2-solc-0.7" + checksum: 1a6048f31ed560c34429a05e534102c51124ecaf113aca7ebeb7897cfaaf61007cdd7952374c282adaeb79b04ee86ee80b16eed28b62fc6d60e3ffcd7a696895 + languageName: node + linkType: hard + +"@openzeppelin/contracts@npm:4.7.0": + version: 4.7.0 + resolution: "@openzeppelin/contracts@npm:4.7.0" + checksum: ac917e668505ffbd300fcb00fd2f39b5f1153f77f82d482988336a881134b806b2d820f4293962691ef4d6f9f8ee5ecc71da82c6eb6ad2f02810511e90fa0d96 + languageName: node + linkType: hard + +"@panva/hkdf@npm:^1.0.2": + version: 1.1.1 + resolution: "@panva/hkdf@npm:1.1.1" + checksum: f0dd12903751d8792420353f809ed3c7de860cf506399759fff5f59f7acfef8a77e2b64012898cee7e5b047708fa0bd91dff5ef55a502bf8ea11aad9842160da + languageName: node + linkType: hard + +"@pkgjs/parseargs@npm:^0.11.0": + version: 0.11.0 + resolution: "@pkgjs/parseargs@npm:0.11.0" + checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f + languageName: node + linkType: hard + +"@pkgr/utils@npm:^2.3.1": + version: 2.4.2 + resolution: "@pkgr/utils@npm:2.4.2" + dependencies: + cross-spawn: ^7.0.3 + fast-glob: ^3.3.0 + is-glob: ^4.0.3 + open: ^9.1.0 + picocolors: ^1.0.0 + tslib: ^2.6.0 + checksum: 24e04c121269317d259614cd32beea3af38277151c4002df5883c4be920b8e3490bb897748e844f9d46bf68230f86dabd4e8f093773130e7e60529a769a132fc + languageName: node + linkType: hard + +"@pmmmwh/react-refresh-webpack-plugin@npm:^0.5.5": + version: 0.5.10 + resolution: "@pmmmwh/react-refresh-webpack-plugin@npm:0.5.10" + dependencies: + ansi-html-community: ^0.0.8 + common-path-prefix: ^3.0.0 + core-js-pure: ^3.23.3 + error-stack-parser: ^2.0.6 + find-up: ^5.0.0 + html-entities: ^2.1.0 + loader-utils: ^2.0.4 + schema-utils: ^3.0.0 + source-map: ^0.7.3 + peerDependencies: + "@types/webpack": 4.x || 5.x + react-refresh: ">=0.10.0 <1.0.0" + sockjs-client: ^1.4.0 + type-fest: ">=0.17.0 <4.0.0" + webpack: ">=4.43.0 <6.0.0" + webpack-dev-server: 3.x || 4.x + webpack-hot-middleware: 2.x + webpack-plugin-serve: 0.x || 1.x + peerDependenciesMeta: + "@types/webpack": + optional: true + sockjs-client: + optional: true + type-fest: + optional: true + webpack-dev-server: + optional: true + webpack-hot-middleware: + optional: true + webpack-plugin-serve: + optional: true + checksum: c45beded9c56fbbdc7213a2c36131ace5db360ed704d462cc39d6678f980173a91c9a3f691e6bd3a026f25486644cd0027e8a12a0a4eced8e8b886a0472e7d34 + languageName: node + linkType: hard + +"@popperjs/core@npm:^2.10.2, @popperjs/core@npm:^2.11.6": + version: 2.11.8 + resolution: "@popperjs/core@npm:2.11.8" + checksum: e5c69fdebf52a4012f6a1f14817ca8e9599cb1be73dd1387e1785e2ed5e5f0862ff817f420a87c7fc532add1f88a12e25aeb010ffcbdc98eace3d55ce2139cf0 + languageName: node + linkType: hard + +"@radix-ui/number@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/number@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + checksum: 621ea8b7d4195d1a65a9c0aee918e8335e7f198088eec91577512c89c2ba3a3bab4a767cfb872a2b9c3092a78ff41cad9a924845a939f6bb87fe9356241ea0ea + languageName: node + linkType: hard + +"@radix-ui/primitive@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/primitive@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + checksum: 2b93e161d3fdabe9a64919def7fa3ceaecf2848341e9211520c401181c9eaebb8451c630b066fad2256e5c639c95edc41de0ba59c40eff37e799918d019822d1 + languageName: node + linkType: hard + +"@radix-ui/react-accordion@npm:^1.1.1": + version: 1.1.2 + resolution: "@radix-ui/react-accordion@npm:1.1.2" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-collapsible": 1.0.3 + "@radix-ui/react-collection": 1.0.3 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: ac8587c705bb723328399eb8759ebc188aa500a6e1884d7b63cbd9e98e8607e7373c4517b2e4c093a08477129be57259e740b465b963f30df63a4e0dadaee09d + languageName: node + linkType: hard + +"@radix-ui/react-alert-dialog@npm:^1.0.3": + version: 1.0.4 + resolution: "@radix-ui/react-alert-dialog@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-dialog": 1.0.4 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-slot": 1.0.2 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 2c772ab25ae5cc7d6d8e42867542c3935042b5b9524dafc713317d044a976ba480988c44c3e0ed170f9a0eb6270d25c8f7369800768dd5ff3359b00456f49d5e + languageName: node + linkType: hard + +"@radix-ui/react-arrow@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-arrow@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-primitive": 1.0.3 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 8cca086f0dbb33360e3c0142adf72f99fc96352d7086d6c2356dbb2ea5944cfb720a87d526fc48087741c602cd8162ca02b0af5e6fdf5f56d20fddb44db8b4c3 + languageName: node + linkType: hard + +"@radix-ui/react-aspect-ratio@npm:^1.0.2": + version: 1.0.3 + resolution: "@radix-ui/react-aspect-ratio@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-primitive": 1.0.3 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 2c3302be0f14f4737b0100f2c1bd5a5b7fabb90cd4f9ff567a1151824d80710d9354ef10b1c521d608c478720babf4d243cdeada44205b45e2f2631f475eba98 + languageName: node + linkType: hard + +"@radix-ui/react-avatar@npm:^1.0.2": + version: 1.0.3 + resolution: "@radix-ui/react-avatar@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-callback-ref": 1.0.1 + "@radix-ui/react-use-layout-effect": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: defd6070ca89d64f46017943bc444ac73ca4711f710b8fcb7152f5fb84cb05f39e7944d372695720929fa666cf9bc65ce95725c5a29d81f9e51aba59aed42ca2 + languageName: node + linkType: hard + +"@radix-ui/react-checkbox@npm:^1.0.3": + version: 1.0.4 + resolution: "@radix-ui/react-checkbox@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-controllable-state": 1.0.1 + "@radix-ui/react-use-previous": 1.0.1 + "@radix-ui/react-use-size": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 6dac5bddd9e1c42b149555501440918d9eae70da13b6d8539c3bf46b6c07681119d865d2106a43f729884ae8e2043bedc34c4d00a09a527b3bf0feade088d188 + languageName: node + linkType: hard + +"@radix-ui/react-collapsible@npm:1.0.3, @radix-ui/react-collapsible@npm:^1.0.2": + version: 1.0.3 + resolution: "@radix-ui/react-collapsible@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-controllable-state": 1.0.1 + "@radix-ui/react-use-layout-effect": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 26976e4a72a3e0f4b2c62af2898b3e205c3652af46a3b41cda9a43567fe8381d9ef6afb0b29e3214c450b847f4f2099a533cffc5045844ecab290e9fa6114ca9 + languageName: node + linkType: hard + +"@radix-ui/react-collection@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-collection@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-slot": 1.0.2 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: acfbc9b0b2c553d343c22f02c9f098bc5cfa99e6e48df91c0d671855013f8b877ade9c657b7420a7aa523b5aceadea32a60dd72c23b1291f415684fb45d00cff + languageName: node + linkType: hard + +"@radix-ui/react-compose-refs@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-compose-refs@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 2b9a613b6db5bff8865588b6bf4065f73021b3d16c0a90b2d4c23deceeb63612f1f15de188227ebdc5f88222cab031be617a9dd025874c0487b303be3e5cc2a8 + languageName: node + linkType: hard + +"@radix-ui/react-context-menu@npm:^2.1.3": + version: 2.1.4 + resolution: "@radix-ui/react-context-menu@npm:2.1.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-menu": 2.0.5 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-callback-ref": 1.0.1 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: cbe8bfe9e8c7924e8f44a699a700510621f3f7e7e64a6469e8d188666df3a0e1e83884858c314b59845fc66a9cc75cc7c5cecc2b78ecb475cca2d1de6b90d5df + languageName: node + linkType: hard + +"@radix-ui/react-context@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-context@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 60e9b81d364f40c91a6213ec953f7c64fcd9d75721205a494a5815b3e5ae0719193429b62ee6c7002cd6aaf70f8c0e2f08bdbaba9ffcc233044d32b56d2127d1 + languageName: node + linkType: hard + +"@radix-ui/react-dialog@npm:1.0.4, @radix-ui/react-dialog@npm:^1.0.3": + version: 1.0.4 + resolution: "@radix-ui/react-dialog@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-dismissable-layer": 1.0.4 + "@radix-ui/react-focus-guards": 1.0.1 + "@radix-ui/react-focus-scope": 1.0.3 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-portal": 1.0.3 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-slot": 1.0.2 + "@radix-ui/react-use-controllable-state": 1.0.1 + aria-hidden: ^1.1.1 + react-remove-scroll: 2.5.5 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 01ad549a3685e221628950e6fbec306494170aa3b92cbe00732b1531c16e1cf681138cd4a79d658f4f97d4096676a40d08642090fdea1675d0b7dc78df66d962 + languageName: node + linkType: hard + +"@radix-ui/react-direction@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-direction@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 5336a8b0d4f1cde585d5c2b4448af7b3d948bb63a1aadb37c77771b0e5902dc6266e409cf35fd0edaca7f33e26424be19e64fb8f9d7f7be2d6f1714ea2764210 + languageName: node + linkType: hard + +"@radix-ui/react-dismissable-layer@npm:1.0.4": + version: 1.0.4 + resolution: "@radix-ui/react-dismissable-layer@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-callback-ref": 1.0.1 + "@radix-ui/react-use-escape-keydown": 1.0.3 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: ea86004ed56a10609dd84eef39dc1e57b400d687a35be41bb4aaa06dc7ad6dbd0a8da281e08c8c077fdbd523122e4d860cb7438a60c664f024f77c8b41299ec6 + languageName: node + linkType: hard + +"@radix-ui/react-dropdown-menu@npm:^2.0.4": + version: 2.0.5 + resolution: "@radix-ui/react-dropdown-menu@npm:2.0.5" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-menu": 2.0.5 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 42fd72f243a5246ba906c9f26e65149493e6bf7bd07fbc91ad31dbddb831e1b8b71a57808681b9efc641cb58918e8f8ae10ced83b283b7722ad88fb9a3b2b168 + languageName: node + linkType: hard + +"@radix-ui/react-focus-guards@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-focus-guards@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 1f8ca8f83b884b3612788d0742f3f054e327856d90a39841a47897dbed95e114ee512362ae314177de226d05310047cabbf66b686ae86ad1b65b6b295be24ef7 + languageName: node + linkType: hard + +"@radix-ui/react-focus-scope@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-focus-scope@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-callback-ref": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: e5b1a089071fbe77aca11124a4ad9623fc2bcaf4c019759b0cd044bf0878ecc924131ee09c6a22d38a3f094684ef68ed18fa65c8d891918412e0afc685a464e0 + languageName: node + linkType: hard + +"@radix-ui/react-hover-card@npm:^1.0.5": + version: 1.0.6 + resolution: "@radix-ui/react-hover-card@npm:1.0.6" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-dismissable-layer": 1.0.4 + "@radix-ui/react-popper": 1.1.2 + "@radix-ui/react-portal": 1.0.3 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: cf7c92beceb1f9ed9b39d7e92a5c85a0d725160e76ef50325dccfab7c25b906b3235742a1e85e0f18478172adc5ec326ef6e3f2cc786a697cb140c01768a8242 + languageName: node + linkType: hard + +"@radix-ui/react-id@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-id@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-use-layout-effect": 1.0.1 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 446a453d799cc790dd2a1583ff8328da88271bff64530b5a17c102fa7fb35eece3cf8985359d416f65e330cd81aa7b8fe984ea125fc4f4eaf4b3801d698e49fe + languageName: node + linkType: hard + +"@radix-ui/react-label@npm:^2.0.1": + version: 2.0.2 + resolution: "@radix-ui/react-label@npm:2.0.2" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-primitive": 1.0.3 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: fe3bd8902bc523fb5125fa96167a13b8a60d007413787eae9573e4b00b0edff0487c4c0620ea5dc37e6da13833ebc4f8d7e00b6c846f2a5686e7f173672b8dde + languageName: node + linkType: hard + +"@radix-ui/react-menu@npm:2.0.5": + version: 2.0.5 + resolution: "@radix-ui/react-menu@npm:2.0.5" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-collection": 1.0.3 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-dismissable-layer": 1.0.4 + "@radix-ui/react-focus-guards": 1.0.1 + "@radix-ui/react-focus-scope": 1.0.3 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-popper": 1.1.2 + "@radix-ui/react-portal": 1.0.3 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-roving-focus": 1.0.4 + "@radix-ui/react-slot": 1.0.2 + "@radix-ui/react-use-callback-ref": 1.0.1 + aria-hidden: ^1.1.1 + react-remove-scroll: 2.5.5 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 938623497ffa4dc5290e572dc80bd0b36af910adfe15632290b6e081543e9a7158db954ccced0c9ab0f68bac512dfb772c057a55ece0e1d1e20633cd21057afe + languageName: node + linkType: hard + +"@radix-ui/react-menubar@npm:^1.0.2": + version: 1.0.3 + resolution: "@radix-ui/react-menubar@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-collection": 1.0.3 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-menu": 2.0.5 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-roving-focus": 1.0.4 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 48873bd0ea7d2615137f7d95658eb5a78bd735050d8e460e5b670e756a3130f35ce73a3ca651c6916969ae2f54f6ffffdc7f75c2729a2b2f64e460a12b99387a + languageName: node + linkType: hard + +"@radix-ui/react-navigation-menu@npm:^1.1.2": + version: 1.1.3 + resolution: "@radix-ui/react-navigation-menu@npm:1.1.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-collection": 1.0.3 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-dismissable-layer": 1.0.4 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-callback-ref": 1.0.1 + "@radix-ui/react-use-controllable-state": 1.0.1 + "@radix-ui/react-use-layout-effect": 1.0.1 + "@radix-ui/react-use-previous": 1.0.1 + "@radix-ui/react-visually-hidden": 1.0.3 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 006b3df72fcbad1eb8db7ca157fed6c6517e036c4725c5b5083eadf7046429a5d23fbe4dde7acee5a2bfdcb71ba53ecbf859f1b5a2b33eac93e6e5410bc2d7e1 + languageName: node + linkType: hard + +"@radix-ui/react-popover@npm:^1.0.5": + version: 1.0.6 + resolution: "@radix-ui/react-popover@npm:1.0.6" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-dismissable-layer": 1.0.4 + "@radix-ui/react-focus-guards": 1.0.1 + "@radix-ui/react-focus-scope": 1.0.3 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-popper": 1.1.2 + "@radix-ui/react-portal": 1.0.3 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-slot": 1.0.2 + "@radix-ui/react-use-controllable-state": 1.0.1 + aria-hidden: ^1.1.1 + react-remove-scroll: 2.5.5 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: fbe4264d0f943d8be1a3ea2fce161f8031fdee72756aaf16251910e62de5030ae81a40e691f2cd65bf3a53d4ecc19c001b87be61d7aef5cc474da81d2d7e964d + languageName: node + linkType: hard + +"@radix-ui/react-popper@npm:1.1.2": + version: 1.1.2 + resolution: "@radix-ui/react-popper@npm:1.1.2" + dependencies: + "@babel/runtime": ^7.13.10 + "@floating-ui/react-dom": ^2.0.0 + "@radix-ui/react-arrow": 1.0.3 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-callback-ref": 1.0.1 + "@radix-ui/react-use-layout-effect": 1.0.1 + "@radix-ui/react-use-rect": 1.0.1 + "@radix-ui/react-use-size": 1.0.1 + "@radix-ui/rect": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 4929daa0d1cccada3cff50de0e00c0d186ffea97a5f28545c77fa85ff9bc5c105a54dddac400c2e2dcac631f0f7ea88e59f2e5ad0f80bb2cb7b62cc7cd30400f + languageName: node + linkType: hard + +"@radix-ui/react-portal@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-portal@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-primitive": 1.0.3 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: d352bcd6ad65eb43c9e0d72d0755c2aae85e03fb287770866262be3a2d5302b2885aee3cd99f2bbf62ecd14fcb1460703f1dcdc40351f77ad887b931c6f0012a + languageName: node + linkType: hard + +"@radix-ui/react-presence@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-presence@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-use-layout-effect": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: ed2ff9faf9e4257a4065034d3771459e5a91c2d840b2fcec94661761704dbcb65bcdd927d28177a2a129b3dab5664eb90a9b88309afe0257a9f8ba99338c0d95 + languageName: node + linkType: hard + +"@radix-ui/react-primitive@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-primitive@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-slot": 1.0.2 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 9402bc22923c8e5c479051974a721c301535c36521c0237b83e5fa213d013174e77f3ad7905e6d60ef07e14f88ec7f4ea69891dc7a2b39047f8d3640e8f8d713 + languageName: node + linkType: hard + +"@radix-ui/react-progress@npm:^1.0.2": + version: 1.0.3 + resolution: "@radix-ui/react-progress@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: a4398812315ae5b25f8637a6553daf85bd36e6e08d15f7486248538a994a99268752e2c21e4af15277c17e861c1825fdd7292938c515c112dc2cdce63ec1a892 + languageName: node + linkType: hard + +"@radix-ui/react-radio-group@npm:^1.1.2": + version: 1.1.3 + resolution: "@radix-ui/react-radio-group@npm:1.1.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-roving-focus": 1.0.4 + "@radix-ui/react-use-controllable-state": 1.0.1 + "@radix-ui/react-use-previous": 1.0.1 + "@radix-ui/react-use-size": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 88f7007610817ab30f471a7e1f6605e94cc507a31fb4bb218116d65cc48c9b3149fce500f386716a3ed5fb0089d65faf32d3e01971322cd4a14b51003ec82bc2 + languageName: node + linkType: hard + +"@radix-ui/react-roving-focus@npm:1.0.4": + version: 1.0.4 + resolution: "@radix-ui/react-roving-focus@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-collection": 1.0.3 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-callback-ref": 1.0.1 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 69b1c82c2d9db3ba71549a848f2704200dab1b2cd22d050c1e081a78b9a567dbfdc7fd0403ee010c19b79652de69924d8ca2076cd031d6552901e4213493ffc7 + languageName: node + linkType: hard + +"@radix-ui/react-scroll-area@npm:^1.0.3": + version: 1.0.4 + resolution: "@radix-ui/react-scroll-area@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/number": 1.0.1 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-callback-ref": 1.0.1 + "@radix-ui/react-use-layout-effect": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: f959006a731806f3046652b318b9a5dda03c8433832a33c3e29102ec0c9ce84c000060d4b5409a159c203276032cecd34ed88e7250ea70764ad8a67447415bf1 + languageName: node + linkType: hard + +"@radix-ui/react-select@npm:^1.2.1": + version: 1.2.2 + resolution: "@radix-ui/react-select@npm:1.2.2" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/number": 1.0.1 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-collection": 1.0.3 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-dismissable-layer": 1.0.4 + "@radix-ui/react-focus-guards": 1.0.1 + "@radix-ui/react-focus-scope": 1.0.3 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-popper": 1.1.2 + "@radix-ui/react-portal": 1.0.3 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-slot": 1.0.2 + "@radix-ui/react-use-callback-ref": 1.0.1 + "@radix-ui/react-use-controllable-state": 1.0.1 + "@radix-ui/react-use-layout-effect": 1.0.1 + "@radix-ui/react-use-previous": 1.0.1 + "@radix-ui/react-visually-hidden": 1.0.3 + aria-hidden: ^1.1.1 + react-remove-scroll: 2.5.5 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: af7b63cc9e2c6006ec08163392d244941e9e03534e7add1b7c5a86059d0eb8a0398d4f3e80d43ff22126874a02b985e44f1722d1de9218922f7aa653d09412e3 + languageName: node + linkType: hard + +"@radix-ui/react-separator@npm:1.0.3, @radix-ui/react-separator@npm:^1.0.2": + version: 1.0.3 + resolution: "@radix-ui/react-separator@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-primitive": 1.0.3 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 42f8c95e404de2ce9387040d78049808a48d423cd4c3bad8cca92c4b0bcbdcb3566b5b52a920d4e939a74b51188697f20a012221f0e630fc7f56de64096c15d2 + languageName: node + linkType: hard + +"@radix-ui/react-slider@npm:^1.1.1": + version: 1.1.2 + resolution: "@radix-ui/react-slider@npm:1.1.2" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/number": 1.0.1 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-collection": 1.0.3 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-controllable-state": 1.0.1 + "@radix-ui/react-use-layout-effect": 1.0.1 + "@radix-ui/react-use-previous": 1.0.1 + "@radix-ui/react-use-size": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 2b774f23d90549aa688ee2e500c5325a91ea92db7a5ef245bdf7b5c709078433e6853d4ad84b1367cf701d0f54906979db51baa21e5154b439dde03a365ed270 + languageName: node + linkType: hard + +"@radix-ui/react-slot@npm:1.0.2": + version: 1.0.2 + resolution: "@radix-ui/react-slot@npm:1.0.2" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-compose-refs": 1.0.1 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: edf5edf435ff594bea7e198bf16d46caf81b6fb559493acad4fa8c308218896136acb16f9b7238c788fd13e94a904f2fd0b6d834e530e4cae94522cdb8f77ce9 + languageName: node + linkType: hard + +"@radix-ui/react-switch@npm:^1.0.2": + version: 1.0.3 + resolution: "@radix-ui/react-switch@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-controllable-state": 1.0.1 + "@radix-ui/react-use-previous": 1.0.1 + "@radix-ui/react-use-size": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: de18a802f317804d94315b1035d03a9cabef53317c148027f0f382bc2653723532691b65090596140737bb055e3affff977f5d73fe6caf8c526c6158baa811cc + languageName: node + linkType: hard + +"@radix-ui/react-tabs@npm:^1.0.3": + version: 1.0.4 + resolution: "@radix-ui/react-tabs@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-roving-focus": 1.0.4 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 1daf0550da3ba527c1c2d8d7efd3a6618628f1f101a40f16c62eafb28df64a6bc7ee17ccb970b883907f99d601864c8f3c229c05e7bc7faf7f8c95b087141353 + languageName: node + linkType: hard + +"@radix-ui/react-toast@npm:^1.1.3": + version: 1.1.4 + resolution: "@radix-ui/react-toast@npm:1.1.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-collection": 1.0.3 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-dismissable-layer": 1.0.4 + "@radix-ui/react-portal": 1.0.3 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-callback-ref": 1.0.1 + "@radix-ui/react-use-controllable-state": 1.0.1 + "@radix-ui/react-use-layout-effect": 1.0.1 + "@radix-ui/react-visually-hidden": 1.0.3 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: b79a8c2440151670be3f5134c2cf818b44582a33cf71c65462cd22a9107684a1c67d9f96819aa92e20cc7495aec7119787997d5ac6695d1e8d07105a6756577e languageName: node linkType: hard -"@noble/hashes@npm:1.3.1, @noble/hashes@npm:^1.1.2, @noble/hashes@npm:^1.3.0": - version: 1.3.1 - resolution: "@noble/hashes@npm:1.3.1" - checksum: 7fdefc0f7a0c1ec27acc6ff88841793e3f93ec4ce6b8a6a12bfc0dd70ae6b7c4c82fe305fdfeda1735d5ad4a9eebe761e6693b3d355689c559e91242f4bc95b1 +"@radix-ui/react-toggle-group@npm:1.0.4, @radix-ui/react-toggle-group@npm:^1.0.3": + version: 1.0.4 + resolution: "@radix-ui/react-toggle-group@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-roving-focus": 1.0.4 + "@radix-ui/react-toggle": 1.0.3 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: b6c11fbbc3ca857ff68c0fa31f293c0d0111bcc8aa0cde2566214c090907530bfcb3b862f81585c2b02d8989b5c7971acff4d5c07c429870d80bd5602e30d376 languageName: node linkType: hard -"@nodelib/fs.scandir@npm:2.1.5": - version: 2.1.5 - resolution: "@nodelib/fs.scandir@npm:2.1.5" +"@radix-ui/react-toggle@npm:1.0.3, @radix-ui/react-toggle@npm:^1.0.2": + version: 1.0.3 + resolution: "@radix-ui/react-toggle@npm:1.0.3" dependencies: - "@nodelib/fs.stat": 2.0.5 - run-parallel: ^1.1.9 - checksum: a970d595bd23c66c880e0ef1817791432dbb7acbb8d44b7e7d0e7a22f4521260d4a83f7f9fd61d44fda4610105577f8f58a60718105fb38352baed612fd79e59 + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-use-controllable-state": 1.0.1 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: ed5407f48254f20cda542017774f259d0b2c0007ea4bd7287d10d751016dbf269cb13d1142591432c269c3ab768cde2f1ba0344743027d36bbec10af909f19de languageName: node linkType: hard -"@nodelib/fs.stat@npm:2.0.5, @nodelib/fs.stat@npm:^2.0.2": - version: 2.0.5 - resolution: "@nodelib/fs.stat@npm:2.0.5" - checksum: 012480b5ca9d97bff9261571dbbec7bbc6033f69cc92908bc1ecfad0792361a5a1994bc48674b9ef76419d056a03efadfce5a6cf6dbc0a36559571a7a483f6f0 +"@radix-ui/react-toolbar@npm:^1.0.3": + version: 1.0.4 + resolution: "@radix-ui/react-toolbar@npm:1.0.4" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-direction": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-roving-focus": 1.0.4 + "@radix-ui/react-separator": 1.0.3 + "@radix-ui/react-toggle-group": 1.0.4 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 7ebee1f8add6510108979433c5b38627e2de9d48ef2172ca15274b9edbbc106ff43bcd47ff733b03ed2215b92e7af364ff82c79e5a1728374847e2b1e315552c languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": - version: 1.2.8 - resolution: "@nodelib/fs.walk@npm:1.2.8" - dependencies: - "@nodelib/fs.scandir": 2.1.5 - fastq: ^1.6.0 - checksum: 190c643f156d8f8f277bf2a6078af1ffde1fd43f498f187c2db24d35b4b4b5785c02c7dc52e356497b9a1b65b13edc996de08de0b961c32844364da02986dc53 +"@radix-ui/react-tooltip@npm:^1.0.5": + version: 1.0.6 + resolution: "@radix-ui/react-tooltip@npm:1.0.6" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1 + "@radix-ui/react-context": 1.0.1 + "@radix-ui/react-dismissable-layer": 1.0.4 + "@radix-ui/react-id": 1.0.1 + "@radix-ui/react-popper": 1.1.2 + "@radix-ui/react-portal": 1.0.3 + "@radix-ui/react-presence": 1.0.1 + "@radix-ui/react-primitive": 1.0.3 + "@radix-ui/react-slot": 1.0.2 + "@radix-ui/react-use-controllable-state": 1.0.1 + "@radix-ui/react-visually-hidden": 1.0.3 + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 8220f103432e9ad9ff8a828ca890e14bf3323864a0bb145d1ef689cf446ab5ca0af18e5fed5da89db957065c504e79ec12fbe5e551d6e7b84b470fbd672c918d languageName: node linkType: hard -"@npmcli/fs@npm:^3.1.0": - version: 3.1.0 - resolution: "@npmcli/fs@npm:3.1.0" +"@radix-ui/react-use-callback-ref@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-use-callback-ref@npm:1.0.1" dependencies: - semver: ^7.3.5 - checksum: a50a6818de5fc557d0b0e6f50ec780a7a02ab8ad07e5ac8b16bf519e0ad60a144ac64f97d05c443c3367235d337182e1d012bbac0eb8dbae8dc7b40b193efd0e + "@babel/runtime": ^7.13.10 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: b9fd39911c3644bbda14a84e4fca080682bef84212b8d8931fcaa2d2814465de242c4cfd8d7afb3020646bead9c5e539d478cea0a7031bee8a8a3bb164f3bc4c languageName: node linkType: hard -"@openzeppelin/contracts@npm:3.4.1-solc-0.7-2": - version: 3.4.1-solc-0.7-2 - resolution: "@openzeppelin/contracts@npm:3.4.1-solc-0.7-2" - checksum: 3608a4065f65946117caa543ef72477ce637bd5cc4f4853303b5f5b6c26516f8b50898ea3a8486e2877689cae81453ce22c72c8624c77c363c63f019b4086ffa +"@radix-ui/react-use-controllable-state@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-use-controllable-state@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-use-callback-ref": 1.0.1 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: dee2be1937d293c3a492cb6d279fc11495a8f19dc595cdbfe24b434e917302f9ac91db24e8cc5af9a065f3f209c3423115b5442e65a5be9fd1e9091338972be9 languageName: node linkType: hard -"@openzeppelin/contracts@npm:3.4.2-solc-0.7": - version: 3.4.2-solc-0.7 - resolution: "@openzeppelin/contracts@npm:3.4.2-solc-0.7" - checksum: 1a6048f31ed560c34429a05e534102c51124ecaf113aca7ebeb7897cfaaf61007cdd7952374c282adaeb79b04ee86ee80b16eed28b62fc6d60e3ffcd7a696895 +"@radix-ui/react-use-escape-keydown@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-use-escape-keydown@npm:1.0.3" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/react-use-callback-ref": 1.0.1 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: c6ed0d9ce780f67f924980eb305af1f6cce2a8acbaf043a58abe0aa3cc551d9aa76ccee14531df89bbee302ead7ecc7fce330886f82d4672c5eda52f357ef9b8 languageName: node linkType: hard -"@openzeppelin/contracts@npm:4.7.0": - version: 4.7.0 - resolution: "@openzeppelin/contracts@npm:4.7.0" - checksum: ac917e668505ffbd300fcb00fd2f39b5f1153f77f82d482988336a881134b806b2d820f4293962691ef4d6f9f8ee5ecc71da82c6eb6ad2f02810511e90fa0d96 +"@radix-ui/react-use-layout-effect@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-use-layout-effect@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: bed9c7e8de243a5ec3b93bb6a5860950b0dba359b6680c84d57c7a655e123dec9b5891c5dfe81ab970652e7779fe2ad102a23177c7896dde95f7340817d47ae5 languageName: node linkType: hard -"@panva/hkdf@npm:^1.0.2": - version: 1.1.1 - resolution: "@panva/hkdf@npm:1.1.1" - checksum: f0dd12903751d8792420353f809ed3c7de860cf506399759fff5f59f7acfef8a77e2b64012898cee7e5b047708fa0bd91dff5ef55a502bf8ea11aad9842160da +"@radix-ui/react-use-previous@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-use-previous@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 66b4312e857c58b75f3bf62a2048ef090b79a159e9da06c19a468c93e62336969c33dbef60ff16969f00b20386cc25d138f6a353f1658b35baac0a6eff4761b9 languageName: node linkType: hard -"@pkgjs/parseargs@npm:^0.11.0": - version: 0.11.0 - resolution: "@pkgjs/parseargs@npm:0.11.0" - checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f +"@radix-ui/react-use-rect@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-use-rect@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + "@radix-ui/rect": 1.0.1 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 433f07e61e04eb222349825bb05f3591fca131313a1d03709565d6226d8660bd1d0423635553f95ee4fcc25c8f2050972d848808d753c388e2a9ae191ebf17f3 languageName: node linkType: hard -"@pkgr/utils@npm:^2.3.1": - version: 2.4.2 - resolution: "@pkgr/utils@npm:2.4.2" +"@radix-ui/react-use-size@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-use-size@npm:1.0.1" dependencies: - cross-spawn: ^7.0.3 - fast-glob: ^3.3.0 - is-glob: ^4.0.3 - open: ^9.1.0 - picocolors: ^1.0.0 - tslib: ^2.6.0 - checksum: 24e04c121269317d259614cd32beea3af38277151c4002df5883c4be920b8e3490bb897748e844f9d46bf68230f86dabd4e8f093773130e7e60529a769a132fc + "@babel/runtime": ^7.13.10 + "@radix-ui/react-use-layout-effect": 1.0.1 + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 6cc150ad1e9fa85019c225c5a5d50a0af6cdc4653dad0c21b4b40cd2121f36ee076db326c43e6bc91a69766ccff5a84e917d27970176b592577deea3c85a3e26 languageName: node linkType: hard -"@pmmmwh/react-refresh-webpack-plugin@npm:^0.5.5": - version: 0.5.10 - resolution: "@pmmmwh/react-refresh-webpack-plugin@npm:0.5.10" +"@radix-ui/react-visually-hidden@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-visually-hidden@npm:1.0.3" dependencies: - ansi-html-community: ^0.0.8 - common-path-prefix: ^3.0.0 - core-js-pure: ^3.23.3 - error-stack-parser: ^2.0.6 - find-up: ^5.0.0 - html-entities: ^2.1.0 - loader-utils: ^2.0.4 - schema-utils: ^3.0.0 - source-map: ^0.7.3 + "@babel/runtime": ^7.13.10 + "@radix-ui/react-primitive": 1.0.3 peerDependencies: - "@types/webpack": 4.x || 5.x - react-refresh: ">=0.10.0 <1.0.0" - sockjs-client: ^1.4.0 - type-fest: ">=0.17.0 <4.0.0" - webpack: ">=4.43.0 <6.0.0" - webpack-dev-server: 3.x || 4.x - webpack-hot-middleware: 2.x - webpack-plugin-serve: 0.x || 1.x + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 peerDependenciesMeta: - "@types/webpack": - optional: true - sockjs-client: - optional: true - type-fest: - optional: true - webpack-dev-server: - optional: true - webpack-hot-middleware: + "@types/react": optional: true - webpack-plugin-serve: + "@types/react-dom": optional: true - checksum: c45beded9c56fbbdc7213a2c36131ace5db360ed704d462cc39d6678f980173a91c9a3f691e6bd3a026f25486644cd0027e8a12a0a4eced8e8b886a0472e7d34 + checksum: 2e9d0c8253f97e7d6ffb2e52a5cfd40ba719f813b39c3e2e42c496d54408abd09ef66b5aec4af9b8ab0553215e32452a5d0934597a49c51dd90dc39181ed0d57 + languageName: node + linkType: hard + +"@radix-ui/rect@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/rect@npm:1.0.1" + dependencies: + "@babel/runtime": ^7.13.10 + checksum: aeec13b234a946052512d05239067d2d63422f9ec70bf2fe7acfd6b9196693fc33fbaf43c2667c167f777d90a095c6604eb487e0bce79e230b6df0f6cacd6a55 languageName: node linkType: hard @@ -3328,6 +5636,48 @@ __metadata: languageName: node linkType: hard +"@react-aria/ssr@npm:^3.5.0": + version: 3.7.1 + resolution: "@react-aria/ssr@npm:3.7.1" + dependencies: + "@swc/helpers": ^0.5.0 + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 2d388f9ced2e8822f1393f04418a8c783fa8b6577edca477fd517f2a43202038aba0117a92a1bc3fdc3a1360cf52bc0585290dc6861761b90130f37096f56791 + languageName: node + linkType: hard + +"@restart/hooks@npm:^0.4.0, @restart/hooks@npm:^0.4.7, @restart/hooks@npm:^0.4.9": + version: 0.4.11 + resolution: "@restart/hooks@npm:0.4.11" + dependencies: + dequal: ^2.0.3 + peerDependencies: + react: ">=16.8.0" + checksum: c82cbd9c96cc5423e8f83cb7bd1d92f8f5627e9b8fafa294cf715096606b0d50957ac576d6ab315b9763cd71ad3acbdaa0cfdc4bf307349eda46da8087ad78b6 + languageName: node + linkType: hard + +"@restart/ui@npm:^1.6.3": + version: 1.6.6 + resolution: "@restart/ui@npm:1.6.6" + dependencies: + "@babel/runtime": ^7.21.0 + "@popperjs/core": ^2.11.6 + "@react-aria/ssr": ^3.5.0 + "@restart/hooks": ^0.4.9 + "@types/warning": ^3.0.0 + dequal: ^2.0.3 + dom-helpers: ^5.2.0 + uncontrollable: ^8.0.1 + warning: ^4.0.3 + peerDependencies: + react: ">=16.14.0" + react-dom: ">=16.14.0" + checksum: c2d1b56a0a6c3afadd98f1adf3cf16897b86752464d1f17f81f3611c99b2aada0c6701944807bcc997f1095dd2c3f4dac8b83ef515bac560b40a8060663871cf + languageName: node + linkType: hard + "@rushstack/eslint-patch@npm:^1.1.3": version: 1.3.2 resolution: "@rushstack/eslint-patch@npm:1.3.2" @@ -4968,6 +7318,15 @@ __metadata: languageName: node linkType: hard +"@swc/helpers@npm:^0.5.0": + version: 0.5.1 + resolution: "@swc/helpers@npm:0.5.1" + dependencies: + tslib: ^2.4.0 + checksum: 71e0e27234590435e4c62b97ef5e796f88e786841a38c7116a5e27a3eafa7b9ead7cdec5249b32165902076de78446945311c973e59bddf77c1e24f33a8f272a + languageName: node + linkType: hard + "@tanstack/query-core@npm:4.32.0": version: 4.32.0 resolution: "@tanstack/query-core@npm:4.32.0" @@ -5319,7 +7678,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.11, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": version: 7.0.12 resolution: "@types/json-schema@npm:7.0.12" checksum: 00239e97234eeb5ceefb0c1875d98ade6e922bfec39dd365ec6bd360b5c2f825e612ac4f6e5f1d13601b8b30f378f15e6faa805a3a732f4a1bbe61915163d293 @@ -5349,6 +7708,13 @@ __metadata: languageName: node linkType: hard +"@types/mdurl@npm:^1.0.0": + version: 1.0.2 + resolution: "@types/mdurl@npm:1.0.2" + checksum: 79c7e523b377f53cf1f5a240fe23d0c6cae856667692bd21bf1d064eafe5ccc40ae39a2aa0a9a51e8c94d1307228c8f6b121e847124591a9a828c3baf65e86e2 + languageName: node + linkType: hard + "@types/mdx@npm:^2.0.0": version: 2.0.5 resolution: "@types/mdx@npm:2.0.5" @@ -5401,6 +7767,13 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:11.11.6": + version: 11.11.6 + resolution: "@types/node@npm:11.11.6" + checksum: 075f1c011cf568e49701419acbcb55c24906b3bb5a34d9412a3b88f228a7a78401a5ad4d3e1cd6855c99aaea5ef96e37fc86ca097e50f06da92cf822befc1fff + languageName: node + linkType: hard + "@types/node@npm:18.11.18": version: 18.11.18 resolution: "@types/node@npm:18.11.18" @@ -5480,6 +7853,15 @@ __metadata: languageName: node linkType: hard +"@types/react-transition-group@npm:^4.4.5": + version: 4.4.6 + resolution: "@types/react-transition-group@npm:4.4.6" + dependencies: + "@types/react": "*" + checksum: 0872143821d7ee20a1d81e965f8b1e837837f11cd2206973f1f98655751992d9390304d58bac192c9cd923eca95bff107d8c9e3364a180240d5c2a6fd70fd7c3 + languageName: node + linkType: hard + "@types/react@npm:*, @types/react@npm:>=16": version: 18.2.16 resolution: "@types/react@npm:18.2.16" @@ -5502,6 +7884,17 @@ __metadata: languageName: node linkType: hard +"@types/react@npm:>=16.9.11": + version: 18.2.21 + resolution: "@types/react@npm:18.2.21" + dependencies: + "@types/prop-types": "*" + "@types/scheduler": "*" + csstype: ^3.0.2 + checksum: ffed203bfe7aad772b8286f7953305c9181ac3a8f27d3f5400fbbc2a8e27ca8e5bbff818ee014f39ca0d19d2b3bb154e5bdbec7e232c6f80b59069375aa78349 + languageName: node + linkType: hard + "@types/scheduler@npm:*": version: 0.16.3 resolution: "@types/scheduler@npm:0.16.3" @@ -5567,6 +7960,13 @@ __metadata: languageName: node linkType: hard +"@types/warning@npm:^3.0.0": + version: 3.0.0 + resolution: "@types/warning@npm:3.0.0" + checksum: 120dcf90600d583c68a60872200061eab9318ae15ea898581f8e9a6dc71b7941095dd81d8324e36d2a6006e5e12b6fc1cf8eda00cc514ee12bb39a912cc4e040 + languageName: node + linkType: hard + "@types/ws@npm:^7.4.4": version: 7.4.7 resolution: "@types/ws@npm:7.4.7" @@ -6025,6 +8425,55 @@ __metadata: languageName: node linkType: hard +"@walletconnect/browser-utils@npm:^1.8.0": + version: 1.8.0 + resolution: "@walletconnect/browser-utils@npm:1.8.0" + dependencies: + "@walletconnect/safe-json": 1.0.0 + "@walletconnect/types": ^1.8.0 + "@walletconnect/window-getters": 1.0.0 + "@walletconnect/window-metadata": 1.0.0 + detect-browser: 5.2.0 + checksum: cf4b55c9e8d53b1ffa99322ebcdfce7ad8df8e3ee90f57252da0b3882d3bfb592414cad09900c20619216c6a42d1184ad03728e6514e95a34467a8821aa5aef8 + languageName: node + linkType: hard + +"@walletconnect/client@npm:^1.8.0": + version: 1.8.0 + resolution: "@walletconnect/client@npm:1.8.0" + dependencies: + "@walletconnect/core": ^1.8.0 + "@walletconnect/iso-crypto": ^1.8.0 + "@walletconnect/types": ^1.8.0 + "@walletconnect/utils": ^1.8.0 + checksum: 48aab7d11eeaaccf6612d335766eb6439f2ce3c446a87b7a974b6fb11076d3bc000f947c0822790fdaa6ba50df073c581750eb5dcda47359bf29c94b76919394 + languageName: node + linkType: hard + +"@walletconnect/core@npm:2.10.0": + version: 2.10.0 + resolution: "@walletconnect/core@npm:2.10.0" + dependencies: + "@walletconnect/heartbeat": 1.2.1 + "@walletconnect/jsonrpc-provider": 1.0.13 + "@walletconnect/jsonrpc-types": 1.0.3 + "@walletconnect/jsonrpc-utils": 1.0.8 + "@walletconnect/jsonrpc-ws-connection": 1.0.13 + "@walletconnect/keyvaluestorage": ^1.0.2 + "@walletconnect/logger": ^2.0.1 + "@walletconnect/relay-api": ^1.0.9 + "@walletconnect/relay-auth": ^1.0.4 + "@walletconnect/safe-json": ^1.0.2 + "@walletconnect/time": ^1.0.2 + "@walletconnect/types": 2.10.0 + "@walletconnect/utils": 2.10.0 + events: ^3.3.0 + lodash.isequal: 4.5.0 + uint8arrays: ^3.1.0 + checksum: 5ad207b07ef651d143a9305e8f3a96b8c50e186b7144387c8e54d826d24cf7fdc86ab333e44b2c2d8bf1c4aa48744586cb69b783ae64c86c3dc5355750f17bf2 + languageName: node + linkType: hard + "@walletconnect/core@npm:2.9.0": version: 2.9.0 resolution: "@walletconnect/core@npm:2.9.0" @@ -6049,7 +8498,42 @@ __metadata: languageName: node linkType: hard -"@walletconnect/crypto@npm:^1.0.3": +"@walletconnect/core@npm:2.9.1": + version: 2.9.1 + resolution: "@walletconnect/core@npm:2.9.1" + dependencies: + "@walletconnect/heartbeat": 1.2.1 + "@walletconnect/jsonrpc-provider": 1.0.13 + "@walletconnect/jsonrpc-types": 1.0.3 + "@walletconnect/jsonrpc-utils": 1.0.8 + "@walletconnect/jsonrpc-ws-connection": 1.0.13 + "@walletconnect/keyvaluestorage": ^1.0.2 + "@walletconnect/logger": ^2.0.1 + "@walletconnect/relay-api": ^1.0.9 + "@walletconnect/relay-auth": ^1.0.4 + "@walletconnect/safe-json": ^1.0.2 + "@walletconnect/time": ^1.0.2 + "@walletconnect/types": 2.9.1 + "@walletconnect/utils": 2.9.1 + events: ^3.3.0 + lodash.isequal: 4.5.0 + uint8arrays: ^3.1.0 + checksum: 978b6410d06de0fc8785e6394d0aa44dc7822c3f62e65d8cd3a38263e70b64912179f3f4e5e9d24a06b51d4b7dd61c5237f5bdaa89156addb89432c984cf3ed1 + languageName: node + linkType: hard + +"@walletconnect/core@npm:^1.8.0": + version: 1.8.0 + resolution: "@walletconnect/core@npm:1.8.0" + dependencies: + "@walletconnect/socket-transport": ^1.8.0 + "@walletconnect/types": ^1.8.0 + "@walletconnect/utils": ^1.8.0 + checksum: 2d703ac417c1f0df33f35893aef24fd4ce7e1d9b274f6937dcdf0880ff46bf266e773e498f374e5f17a1e249c55e7c7af815c63676c5cea5fda737f326a28c14 + languageName: node + linkType: hard + +"@walletconnect/crypto@npm:^1.0.2, @walletconnect/crypto@npm:^1.0.3": version: 1.0.3 resolution: "@walletconnect/crypto@npm:1.0.3" dependencies: @@ -6063,7 +8547,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/encoding@npm:^1.0.2": +"@walletconnect/encoding@npm:^1.0.1, @walletconnect/encoding@npm:^1.0.2": version: 1.0.2 resolution: "@walletconnect/encoding@npm:1.0.2" dependencies: @@ -6105,6 +8589,50 @@ __metadata: languageName: node linkType: hard +"@walletconnect/ethereum-provider@npm:2.9.1": + version: 2.9.1 + resolution: "@walletconnect/ethereum-provider@npm:2.9.1" + 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.9.1 + "@walletconnect/types": 2.9.1 + "@walletconnect/universal-provider": 2.9.1 + "@walletconnect/utils": 2.9.1 + events: ^3.3.0 + peerDependencies: + "@walletconnect/modal": ">=2" + peerDependenciesMeta: + "@walletconnect/modal": + optional: true + checksum: 18fa13b7cdc4ef3445ea87bd5465fea9eadc5d3b6c18acc43e537b8eb81f1d7ccc1c3005e626b609d89c873b793d9d21e2a66b46ebd176f15a1530f89712509c + languageName: node + linkType: hard + +"@walletconnect/ethereum-provider@npm:^2.10.0": + version: 2.10.0 + resolution: "@walletconnect/ethereum-provider@npm:2.10.0" + 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.10.0 + "@walletconnect/types": 2.10.0 + "@walletconnect/universal-provider": 2.10.0 + "@walletconnect/utils": 2.10.0 + events: ^3.3.0 + peerDependencies: + "@walletconnect/modal": ">=2" + peerDependenciesMeta: + "@walletconnect/modal": + optional: true + checksum: 3cfb919636d0b12b8944516837f3fefad8d1e07195aadb20d97fcdfe89dd1def3824c4bffdc56f377e9c93b8f7b14e093e722bbeddfef743eada545cc5ef8f00 + languageName: node + linkType: hard + "@walletconnect/events@npm:^1.0.1": version: 1.0.1 resolution: "@walletconnect/events@npm:1.0.1" @@ -6126,6 +8654,17 @@ __metadata: languageName: node linkType: hard +"@walletconnect/iso-crypto@npm:^1.8.0": + version: 1.8.0 + resolution: "@walletconnect/iso-crypto@npm:1.8.0" + dependencies: + "@walletconnect/crypto": ^1.0.2 + "@walletconnect/types": ^1.8.0 + "@walletconnect/utils": ^1.8.0 + checksum: ec1b361831c60b7d91d7be001d2b62266df64cd62710840ebf54193d008b46c70bde3d42d7e0df6107f020d4b0470435bfbb3defb9e918fdcb1b0f3eaf42e52f + languageName: node + linkType: hard + "@walletconnect/jsonrpc-http-connection@npm:^1.0.4, @walletconnect/jsonrpc-http-connection@npm:^1.0.7": version: 1.0.7 resolution: "@walletconnect/jsonrpc-http-connection@npm:1.0.7" @@ -6159,7 +8698,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/jsonrpc-utils@npm:1.0.8, @walletconnect/jsonrpc-utils@npm:^1.0.4, @walletconnect/jsonrpc-utils@npm:^1.0.6, @walletconnect/jsonrpc-utils@npm:^1.0.7, @walletconnect/jsonrpc-utils@npm:^1.0.8": +"@walletconnect/jsonrpc-utils@npm:1.0.8, @walletconnect/jsonrpc-utils@npm:^1.0.3, @walletconnect/jsonrpc-utils@npm:^1.0.4, @walletconnect/jsonrpc-utils@npm:^1.0.6, @walletconnect/jsonrpc-utils@npm:^1.0.7, @walletconnect/jsonrpc-utils@npm:^1.0.8": version: 1.0.8 resolution: "@walletconnect/jsonrpc-utils@npm:1.0.8" dependencies: @@ -6183,6 +8722,19 @@ __metadata: languageName: node linkType: hard +"@walletconnect/jsonrpc-ws-connection@npm:1.0.13": + version: 1.0.13 + resolution: "@walletconnect/jsonrpc-ws-connection@npm:1.0.13" + dependencies: + "@walletconnect/jsonrpc-utils": ^1.0.6 + "@walletconnect/safe-json": ^1.0.2 + events: ^3.3.0 + tslib: 1.14.1 + ws: ^7.5.1 + checksum: f2253b17564f7622e69b1252830f05efdf7f4d58b120adb3a3e950c2087845171c912307c39948d0b869aa8610688b83f54f54de4657091f7431aea95a59f8b9 + languageName: node + linkType: hard + "@walletconnect/keyvaluestorage@npm:^1.0.2": version: 1.0.2 resolution: "@walletconnect/keyvaluestorage@npm:1.0.2" @@ -6281,6 +8833,13 @@ __metadata: languageName: node linkType: hard +"@walletconnect/mobile-registry@npm:^1.4.0": + version: 1.4.0 + resolution: "@walletconnect/mobile-registry@npm:1.4.0" + checksum: 06f18842e68f88e71e87f36daea143684afc49551974cf359fb55cc731e9b4fc0bce762d87b79b268e529def889e82fc2fbc2bc12d6a28a04ed0d6a060188020 + languageName: node + linkType: hard + "@walletconnect/modal-core@npm:2.6.1": version: 2.6.1 resolution: "@walletconnect/modal-core@npm:2.6.1" @@ -6302,7 +8861,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/modal@npm:^2.5.9": +"@walletconnect/modal@npm:2.6.1, @walletconnect/modal@npm:^2.5.9": version: 2.6.1 resolution: "@walletconnect/modal@npm:2.6.1" dependencies: @@ -6312,6 +8871,20 @@ __metadata: languageName: node linkType: hard +"@walletconnect/qrcode-modal@npm:^1.8.0": + version: 1.8.0 + resolution: "@walletconnect/qrcode-modal@npm:1.8.0" + dependencies: + "@walletconnect/browser-utils": ^1.8.0 + "@walletconnect/mobile-registry": ^1.4.0 + "@walletconnect/types": ^1.8.0 + copy-to-clipboard: ^3.3.1 + preact: 10.4.1 + qrcode: 1.4.4 + checksum: 0abae2268579f55da87ed766fee32d428f951f18ab0a4addbfe8cbcbad1ce3a5642cc26ceb80654b158e537000ee5006b14eff43515619bc17af8c5da51adc55 + languageName: node + linkType: hard + "@walletconnect/randombytes@npm:^1.0.3": version: 1.0.3 resolution: "@walletconnect/randombytes@npm:1.0.3" @@ -6348,6 +8921,13 @@ __metadata: languageName: node linkType: hard +"@walletconnect/safe-json@npm:1.0.0": + version: 1.0.0 + resolution: "@walletconnect/safe-json@npm:1.0.0" + checksum: a8ee161cad37242983522d19ace57c2d2725b5b1cf5fd4d61e3e5f4190a2b369acc4cd0fa40774b50cf4aa322f477e31b7841a6b8f0d84a3af12da8c4344e9b7 + languageName: node + linkType: hard + "@walletconnect/safe-json@npm:^1.0.1, @walletconnect/safe-json@npm:^1.0.2": version: 1.0.2 resolution: "@walletconnect/safe-json@npm:1.0.2" @@ -6357,6 +8937,23 @@ __metadata: languageName: node linkType: hard +"@walletconnect/sign-client@npm:2.10.0": + version: 2.10.0 + resolution: "@walletconnect/sign-client@npm:2.10.0" + dependencies: + "@walletconnect/core": 2.10.0 + "@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.10.0 + "@walletconnect/utils": 2.10.0 + events: ^3.3.0 + checksum: 2d9f30ad8b656b7942add2cba9f7a6b04928ecb058440b9dc1701e74c605e961b518cfef6bee249e7477d1033c05a3e16977b10ed658030bf3be0d135b09afd8 + languageName: node + linkType: hard + "@walletconnect/sign-client@npm:2.9.0": version: 2.9.0 resolution: "@walletconnect/sign-client@npm:2.9.0" @@ -6374,6 +8971,34 @@ __metadata: languageName: node linkType: hard +"@walletconnect/sign-client@npm:2.9.1": + version: 2.9.1 + resolution: "@walletconnect/sign-client@npm:2.9.1" + dependencies: + "@walletconnect/core": 2.9.1 + "@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.9.1 + "@walletconnect/utils": 2.9.1 + events: ^3.3.0 + checksum: 8be84c853ed7c8ca8cdeba494616349d52ffaa525c96b7f4c7550aacc0a266a03ad9ce365cb527784d5aedfe9a1d99463cca585884492ba68db61be6d3fc2a86 + languageName: node + linkType: hard + +"@walletconnect/socket-transport@npm:^1.8.0": + version: 1.8.0 + resolution: "@walletconnect/socket-transport@npm:1.8.0" + dependencies: + "@walletconnect/types": ^1.8.0 + "@walletconnect/utils": ^1.8.0 + ws: 7.5.3 + checksum: 3c494399a3fd8165a8d631a66efd19779278dd6744b1e686a18394afad38a05450b9acb0117373e3376ac4721a2a298695fd550db79c1e456d4446e2b53f8a6d + languageName: node + linkType: hard + "@walletconnect/time@npm:^1.0.2": version: 1.0.2 resolution: "@walletconnect/time@npm:1.0.2" @@ -6383,6 +9008,20 @@ __metadata: languageName: node linkType: hard +"@walletconnect/types@npm:2.10.0": + version: 2.10.0 + resolution: "@walletconnect/types@npm:2.10.0" + dependencies: + "@walletconnect/events": ^1.0.1 + "@walletconnect/heartbeat": 1.2.1 + "@walletconnect/jsonrpc-types": 1.0.3 + "@walletconnect/keyvaluestorage": ^1.0.2 + "@walletconnect/logger": ^2.0.1 + events: ^3.3.0 + checksum: b32006f192578e28cb5c1dbd757a47ff077e25ac3ea9c9d8fd95b174e47f7f8a76386db5aef52623cf6d349c9816d5cff752095af8d35d79a44a2a26a019839d + languageName: node + linkType: hard + "@walletconnect/types@npm:2.9.0": version: 2.9.0 resolution: "@walletconnect/types@npm:2.9.0" @@ -6397,6 +9036,44 @@ __metadata: languageName: node linkType: hard +"@walletconnect/types@npm:2.9.1": + version: 2.9.1 + resolution: "@walletconnect/types@npm:2.9.1" + dependencies: + "@walletconnect/events": ^1.0.1 + "@walletconnect/heartbeat": 1.2.1 + "@walletconnect/jsonrpc-types": 1.0.3 + "@walletconnect/keyvaluestorage": ^1.0.2 + "@walletconnect/logger": ^2.0.1 + events: ^3.3.0 + checksum: 2e1650a1fc52054955e6e632639bb1e13274c1c1ce192b15ef9eacab0d0e9b569e14515aac9696b312370831eaad887e72e66951299494b4e32194edc12658aa + languageName: node + linkType: hard + +"@walletconnect/types@npm:^1.8.0": + version: 1.8.0 + resolution: "@walletconnect/types@npm:1.8.0" + checksum: 194d615888068030183489222641332987846aa5c6bcf0a62fa60ca7a282b9f94932c49fcd2b293a859e98624fe3e7a2d3c5fb66545fe30d3391e7ac91a99e34 + languageName: node + linkType: hard + +"@walletconnect/universal-provider@npm:2.10.0": + version: 2.10.0 + resolution: "@walletconnect/universal-provider@npm:2.10.0" + 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.10.0 + "@walletconnect/types": 2.10.0 + "@walletconnect/utils": 2.10.0 + events: ^3.3.0 + checksum: acb7a4e14e0c472577ae054a67e22cdb5ddc1cb6b6a404d2ca5ea733c459818ad1f013bfe04efa8cce45d693d29a4dc82b07dcb212d99371bc9012b28d087385 + languageName: node + linkType: hard + "@walletconnect/universal-provider@npm:2.9.0": version: 2.9.0 resolution: "@walletconnect/universal-provider@npm:2.9.0" @@ -6414,6 +9091,45 @@ __metadata: languageName: node linkType: hard +"@walletconnect/universal-provider@npm:2.9.1": + version: 2.9.1 + resolution: "@walletconnect/universal-provider@npm:2.9.1" + 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.9.1 + "@walletconnect/types": 2.9.1 + "@walletconnect/utils": 2.9.1 + events: ^3.3.0 + checksum: 03064f6e9a229fab800ba83a7d2db4fef4ae1523212f30988b29a6555511d982d8df97c8180a3bc7de66c63a35b6f95b631bdb44efca953e5a6b5fc50aaaf0ff + languageName: node + linkType: hard + +"@walletconnect/utils@npm:2.10.0": + version: 2.10.0 + resolution: "@walletconnect/utils@npm:2.10.0" + dependencies: + "@stablelib/chacha20poly1305": 1.0.1 + "@stablelib/hkdf": 1.0.1 + "@stablelib/random": ^1.0.2 + "@stablelib/sha256": 1.0.1 + "@stablelib/x25519": ^1.0.3 + "@walletconnect/relay-api": ^1.0.9 + "@walletconnect/safe-json": ^1.0.2 + "@walletconnect/time": ^1.0.2 + "@walletconnect/types": 2.10.0 + "@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: a1a99e062ce758d28cbbe286efd1fe47f98b5c936a429d2c42700135eb8672b747fdde08384ad5dbf3ec394a7fd7837bbe6d3be0f80445b949f336923517cfc2 + languageName: node + linkType: hard + "@walletconnect/utils@npm:2.9.0": version: 2.9.0 resolution: "@walletconnect/utils@npm:2.9.0" @@ -6436,7 +9152,51 @@ __metadata: languageName: node linkType: hard -"@walletconnect/window-getters@npm:^1.0.1": +"@walletconnect/utils@npm:2.9.1": + version: 2.9.1 + resolution: "@walletconnect/utils@npm:2.9.1" + dependencies: + "@stablelib/chacha20poly1305": 1.0.1 + "@stablelib/hkdf": 1.0.1 + "@stablelib/random": ^1.0.2 + "@stablelib/sha256": 1.0.1 + "@stablelib/x25519": ^1.0.3 + "@walletconnect/relay-api": ^1.0.9 + "@walletconnect/safe-json": ^1.0.2 + "@walletconnect/time": ^1.0.2 + "@walletconnect/types": 2.9.1 + "@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: bd245e551a83e1eeece78bb0011bd990f634c027871254db3a90fdf10f95636fa95933a648fc44dc490513766d920658c445e152e7069437763bb8d6cf1624f3 + languageName: node + linkType: hard + +"@walletconnect/utils@npm:^1.8.0": + version: 1.8.0 + resolution: "@walletconnect/utils@npm:1.8.0" + dependencies: + "@walletconnect/browser-utils": ^1.8.0 + "@walletconnect/encoding": ^1.0.1 + "@walletconnect/jsonrpc-utils": ^1.0.3 + "@walletconnect/types": ^1.8.0 + bn.js: 4.11.8 + js-sha3: 0.8.0 + query-string: 6.13.5 + checksum: 41b21fc6cb29c0714579dac8da988c14985fc0fcc0c5f02979e72509f42bf658e3ca8ea22ac4a50a9753d26b630d38a6b5fec84131a9eff0b78318b809b203dd + languageName: node + linkType: hard + +"@walletconnect/window-getters@npm:1.0.0": + version: 1.0.0 + resolution: "@walletconnect/window-getters@npm:1.0.0" + checksum: 192af7acb2051d304addb2e5a3f121fedd8c83ba6750018e3b0da5757bad525336bc5d9cb571f63b09828658764151da181337ec0e898811ad7f506910bd3b5f + languageName: node + linkType: hard + +"@walletconnect/window-getters@npm:^1.0.0, @walletconnect/window-getters@npm:^1.0.1": version: 1.0.1 resolution: "@walletconnect/window-getters@npm:1.0.1" dependencies: @@ -6445,6 +9205,15 @@ __metadata: languageName: node linkType: hard +"@walletconnect/window-metadata@npm:1.0.0": + version: 1.0.0 + resolution: "@walletconnect/window-metadata@npm:1.0.0" + dependencies: + "@walletconnect/window-getters": ^1.0.0 + checksum: eec506ff6d35ae6e88db1e38b6f514f6cbf1a45b979878e5e50819d229b616fc645a2b0816145b61acda2701042160a4e0685f080927b87461853a62a887a9e9 + languageName: node + linkType: hard + "@walletconnect/window-metadata@npm:^1.0.1": version: 1.0.1 resolution: "@walletconnect/window-metadata@npm:1.0.1" @@ -6455,6 +9224,93 @@ __metadata: languageName: node linkType: hard +"@web3-onboard/common@npm:^2.3.3": + version: 2.3.3 + resolution: "@web3-onboard/common@npm:2.3.3" + dependencies: + bignumber.js: ^9.1.0 + ethers: 5.5.4 + joi: 17.9.1 + checksum: 0b5c715bd203bb4bd448f34cf5b14ef68bb71f0f93b319be73f9b193838c0f9839b4e69433e69e7bc8b8e55164a21bcb4498c20230fbe6717bf904b5c23fd70d + languageName: node + linkType: hard + +"@web3-onboard/core@npm:^2.21.0": + version: 2.21.0 + resolution: "@web3-onboard/core@npm:2.21.0" + dependencies: + "@web3-onboard/common": ^2.3.3 + bignumber.js: ^9.0.0 + bnc-sdk: ^4.6.7 + bowser: ^2.11.0 + ethers: 5.5.3 + eventemitter3: ^4.0.7 + joi: 17.9.1 + lodash.merge: ^4.6.2 + lodash.partition: ^4.6.0 + nanoid: ^4.0.0 + rxjs: ^7.5.5 + svelte: ^3.49.0 + svelte-i18n: ^3.3.13 + checksum: fd21c3dfbd7cc3cd9f96462c07e582ffbf3d3219adda8151e0d070006743bbc0ea3ebf48ac38af7a201aebb467a2f3c96cf6517b70433b50ce33f416995f3fdb + languageName: node + linkType: hard + +"@web3-onboard/injected-wallets@npm:^2.10.5": + version: 2.10.5 + resolution: "@web3-onboard/injected-wallets@npm:2.10.5" + dependencies: + "@web3-onboard/common": ^2.3.3 + joi: 17.9.1 + lodash.uniqby: ^4.7.0 + checksum: 9123cd1ad5260bb24f9bd7df0ca6ef294c63b88957ceffeda157dc15d47ec74bc7cf30feb844a72f9e760063861a00885e984d20a1f2515c95269978ae41c242 + languageName: node + linkType: hard + +"@web3-onboard/ledger@npm:^2.5.2": + version: 2.5.2 + resolution: "@web3-onboard/ledger@npm:2.5.2" + dependencies: + "@ethersproject/providers": 5.5.0 + "@ledgerhq/connect-kit-loader": ^1.1.0 + "@walletconnect/client": ^1.8.0 + "@walletconnect/ethereum-provider": 2.9.1 + "@walletconnect/modal": 2.6.1 + "@web3-onboard/common": ^2.3.3 + rxjs: ^7.5.2 + checksum: e1b100d6a19749b612f0857b49be368b9d79b078612790cae1e15e7b1b2aa85618371cc43cdc9c62f24898d770c3aff30d13b7513d0a028644cb624937fb3eeb + languageName: node + linkType: hard + +"@web3-onboard/react@npm:^2.8.11": + version: 2.8.11 + resolution: "@web3-onboard/react@npm:2.8.11" + dependencies: + "@web3-onboard/common": ^2.3.3 + "@web3-onboard/core": ^2.21.0 + use-sync-external-store: 1.0.0 + peerDependencies: + react: ">=16.8" + checksum: fccf514bccc336eae6a1b63ff0d1ecd2e053642d453b0cf39af77316bd921d592665cb628ae17b628bd644738ae30ddb7e1d869a9b084948fcc9c29cdb7758b8 + languageName: node + linkType: hard + +"@web3-onboard/walletconnect@npm:^2.4.6": + version: 2.4.6 + resolution: "@web3-onboard/walletconnect@npm:2.4.6" + dependencies: + "@ethersproject/providers": 5.5.0 + "@walletconnect/client": ^1.8.0 + "@walletconnect/ethereum-provider": ^2.10.0 + "@walletconnect/modal": 2.6.1 + "@walletconnect/qrcode-modal": ^1.8.0 + "@web3-onboard/common": ^2.3.3 + joi: 17.9.1 + rxjs: ^7.5.2 + checksum: 90b80a6354af785705aeb27b98172b80bf20f57ff4b6fced0c90d1596e23923dbc6cf7b5ab80ec2417cae1dc48ead6241b1fd338f2af5c11a0d3fcb03dbe8f75 + languageName: node + linkType: hard + "@webassemblyjs/ast@npm:1.11.6, @webassemblyjs/ast@npm:^1.11.5": version: 1.11.6 resolution: "@webassemblyjs/ast@npm:1.11.6" @@ -6736,7 +9592,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.7.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": +"acorn@npm:^8.7.1, acorn@npm:^8.8.0, acorn@npm:^8.8.2, acorn@npm:^8.9.0": version: 8.10.0 resolution: "acorn@npm:8.10.0" bin: @@ -6866,7 +9722,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^8.0.0, ajv@npm:^8.9.0": +"ajv@npm:^8.0.0, ajv@npm:^8.11.2, ajv@npm:^8.9.0": version: 8.12.0 resolution: "ajv@npm:8.12.0" dependencies: @@ -6905,6 +9761,13 @@ __metadata: languageName: node linkType: hard +"ansi-regex@npm:^4.1.0": + version: 4.1.1 + resolution: "ansi-regex@npm:4.1.1" + checksum: b1a6ee44cb6ecdabaa770b2ed500542714d4395d71c7e5c25baa631f680fb2ad322eb9ba697548d498a6fd366949fc8b5bfcf48d49a32803611f648005b01888 + languageName: node + linkType: hard + "ansi-regex@npm:^5.0.1": version: 5.0.1 resolution: "ansi-regex@npm:5.0.1" @@ -6919,7 +9782,7 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^3.2.1": +"ansi-styles@npm:^3.2.0, ansi-styles@npm:^3.2.1": version: 3.2.1 resolution: "ansi-styles@npm:3.2.1" dependencies: @@ -7038,6 +9901,15 @@ __metadata: languageName: node linkType: hard +"aria-hidden@npm:^1.1.1": + version: 1.2.3 + resolution: "aria-hidden@npm:1.2.3" + dependencies: + tslib: ^2.0.0 + checksum: 7d7d211629eef315e94ed3b064c6823d13617e609d3f9afab1c2ed86399bb8e90405f9bdd358a85506802766f3ecb468af985c67c846045a34b973bcc0289db9 + languageName: node + linkType: hard + "aria-query@npm:5.1.3": version: 5.1.3 resolution: "aria-query@npm:5.1.3" @@ -7441,6 +10313,21 @@ __metadata: languageName: node linkType: hard +"babel-plugin-styled-components@npm:>= 1.12.0": + version: 2.1.4 + resolution: "babel-plugin-styled-components@npm:2.1.4" + dependencies: + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-module-imports": ^7.22.5 + "@babel/plugin-syntax-jsx": ^7.22.5 + lodash: ^4.17.21 + picomatch: ^2.3.1 + peerDependencies: + styled-components: ">= 2" + checksum: d791aed68d975dae4f73055f86cd47afa99cb402b8113acdaf5678c8b6fba2cbc15543f2debe8ed09becb198aae8be2adfe268ad41f4bca917288e073a622bf8 + languageName: node + linkType: hard + "babel-preset-current-node-syntax@npm:^1.0.0": version: 1.0.1 resolution: "babel-preset-current-node-syntax@npm:1.0.1" @@ -7542,6 +10429,13 @@ __metadata: languageName: node linkType: hard +"big.js@npm:^6.1.1": + version: 6.2.1 + resolution: "big.js@npm:6.2.1" + checksum: 0b234a2fd56c52bed2798ed2020bcab6fef5e9523b99a05406ad071d1aed6ee97ada9fb8de9576092da74c68825c276e19015743b8d1baea269b60a5c666b0cd + languageName: node + linkType: hard + "bigint-buffer@npm:^1.1.5": version: 1.1.5 resolution: "bigint-buffer@npm:1.1.5" @@ -7559,6 +10453,13 @@ __metadata: languageName: node linkType: hard +"bignumber.js@npm:^9.1.0": + version: 9.1.2 + resolution: "bignumber.js@npm:9.1.2" + checksum: 582c03af77ec9cb0ebd682a373ee6c66475db94a4325f92299621d544aa4bd45cb45fd60001610e94aef8ae98a0905fa538241d9638d4422d57abbeeac6fadaf + languageName: node + linkType: hard + "binary-extensions@npm:^2.0.0": version: 2.2.0 resolution: "binary-extensions@npm:2.2.0" @@ -7582,6 +10483,28 @@ __metadata: languageName: node linkType: hard +"bip39-light@npm:^1.0.7": + version: 1.0.7 + resolution: "bip39-light@npm:1.0.7" + dependencies: + create-hash: ^1.1.0 + pbkdf2: ^3.0.9 + checksum: 10ffceacc34e4d2c6449e2f45bba90a3e3455e63e51044da289f68e66cbc1727a9f489a76f199dd5ac50b6be50a7f075e546ed62ab236a50e215480a27567661 + languageName: node + linkType: hard + +"bip39@npm:3.0.2": + version: 3.0.2 + resolution: "bip39@npm:3.0.2" + dependencies: + "@types/node": 11.11.6 + create-hash: ^1.1.0 + pbkdf2: ^3.0.9 + randombytes: ^2.0.1 + checksum: 71798582b4d1cc7f20d11372413c4514f124d302e6b38e7f9126d4759fca3e9fbccb431429a6ab16130dd67193de3d781122fcd4bca0a653be654d4aa13490c5 + languageName: node + linkType: hard + "bl@npm:^4.0.3, bl@npm:^4.1.0": version: 4.1.0 resolution: "bl@npm:4.1.0" @@ -7593,6 +10516,20 @@ __metadata: languageName: node linkType: hard +"bn.js@npm:4.11.8": + version: 4.11.8 + resolution: "bn.js@npm:4.11.8" + checksum: 80d4709cd58a21f0be8201e9e5859fea5ef133318e9800c8454cd334625c6e1caea593ca21f9b9a085fb560fbc12fb2fb3514363f8604258db924237fd039139 + languageName: node + linkType: hard + +"bn.js@npm:5.2.1, bn.js@npm:^5.0.0, bn.js@npm:^5.1.1, bn.js@npm:^5.2.0, bn.js@npm:^5.2.1": + version: 5.2.1 + resolution: "bn.js@npm:5.2.1" + checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 + languageName: node + linkType: hard + "bn.js@npm:^4.0.0, bn.js@npm:^4.1.0, bn.js@npm:^4.11.9, bn.js@npm:^4.4.0": version: 4.12.0 resolution: "bn.js@npm:4.12.0" @@ -7600,10 +10537,15 @@ __metadata: languageName: node linkType: hard -"bn.js@npm:^5.0.0, bn.js@npm:^5.1.1, bn.js@npm:^5.2.0, bn.js@npm:^5.2.1": - version: 5.2.1 - resolution: "bn.js@npm:5.2.1" - checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 +"bnc-sdk@npm:^4.6.7": + version: 4.6.7 + resolution: "bnc-sdk@npm:4.6.7" + dependencies: + crypto-es: ^1.2.2 + nanoid: ^3.3.1 + rxjs: ^6.6.3 + sturdy-websocket: ^0.1.12 + checksum: d4606d59b1b79d26c2d7051a382ea7107b3f404dc7cf1397d59dd641685331c603204987dc4553f541f2d3548c89de97d195d93ac9b38311a663c17006635003 languageName: node linkType: hard @@ -7634,7 +10576,23 @@ __metadata: languageName: node linkType: hard -"borsh@npm:^0.7.0": +"bootstrap-icons@npm:^1.9.0": + version: 1.10.5 + resolution: "bootstrap-icons@npm:1.10.5" + checksum: 8a0cfbd237723793dfb04106fdeed7f86bb59249a01a1623b325bf84d61306c22bb46d3df0795f80f0e77d43cd7485273571c253ee7910eb67fae9489691daad + languageName: node + linkType: hard + +"bootstrap@npm:^5.2.1": + version: 5.3.1 + resolution: "bootstrap@npm:5.3.1" + peerDependencies: + "@popperjs/core": ^2.11.8 + checksum: f8176376aa6c6d8947d58a67f0c57fa0b6b7dcd087ff83454e0d727c07cf33e8107e56aa298045d652f84b53b24ac72457af73e41c5631c9ebdc1909039c5dac + languageName: node + linkType: hard + +"borsh@npm:0.7.0, borsh@npm:^0.7.0": version: 0.7.0 resolution: "borsh@npm:0.7.0" dependencies: @@ -7645,6 +10603,13 @@ __metadata: languageName: node linkType: hard +"bowser@npm:^2.11.0": + version: 2.11.0 + resolution: "bowser@npm:2.11.0" + checksum: 29c3f01f22e703fa6644fc3b684307442df4240b6e10f6cfe1b61c6ca5721073189ca97cdeedb376081148c8518e33b1d818a57f781d70b0b70e1f31fb48814f + languageName: node + linkType: hard + "bplist-parser@npm:^0.2.0": version: 0.2.0 resolution: "bplist-parser@npm:0.2.0" @@ -7826,6 +10791,23 @@ __metadata: languageName: node linkType: hard +"buffer-alloc-unsafe@npm:^1.1.0": + version: 1.1.0 + resolution: "buffer-alloc-unsafe@npm:1.1.0" + checksum: c5e18bf51f67754ec843c9af3d4c005051aac5008a3992938dda1344e5cfec77c4b02b4ca303644d1e9a6e281765155ce6356d85c6f5ccc5cd21afc868def396 + languageName: node + linkType: hard + +"buffer-alloc@npm:^1.2.0": + version: 1.2.0 + resolution: "buffer-alloc@npm:1.2.0" + dependencies: + buffer-alloc-unsafe: ^1.1.0 + buffer-fill: ^1.0.0 + checksum: 560cd27f3cbe73c614867da373407d4506309c62fe18de45a1ce191f3785ec6ca2488d802ff82065798542422980ca25f903db078c57822218182c37c3576df5 + languageName: node + linkType: hard + "buffer-crc32@npm:~0.2.3": version: 0.2.13 resolution: "buffer-crc32@npm:0.2.13" @@ -7833,7 +10815,14 @@ __metadata: languageName: node linkType: hard -"buffer-from@npm:^1.0.0": +"buffer-fill@npm:^1.0.0": + version: 1.0.0 + resolution: "buffer-fill@npm:1.0.0" + checksum: c29b4723ddeab01e74b5d3b982a0c6828f2ded49cef049ddca3dac661c874ecdbcecb5dd8380cf0f4adbeb8cff90a7de724126750a1f1e5ebd4eb6c59a1315b1 + languageName: node + linkType: hard + +"buffer-from@npm:^1.0.0, buffer-from@npm:^1.1.1": version: 1.1.2 resolution: "buffer-from@npm:1.1.2" checksum: 0448524a562b37d4d7ed9efd91685a5b77a50672c556ea254ac9a6d30e3403a517d8981f10e565db24e8339413b43c97ca2951f10e399c6125a0d8911f5679bb @@ -7857,7 +10846,7 @@ __metadata: languageName: node linkType: hard -"buffer@npm:^5.5.0": +"buffer@npm:^5.4.3, buffer@npm:^5.5.0": version: 5.7.1 resolution: "buffer@npm:5.7.1" dependencies: @@ -8043,6 +11032,13 @@ __metadata: languageName: node linkType: hard +"camelize@npm:^1.0.0": + version: 1.0.1 + resolution: "camelize@npm:1.0.1" + checksum: 91d8611d09af725e422a23993890d22b2b72b4cabf7239651856950c76b4bf53fe0d0da7c5e4db05180e898e4e647220e78c9fbc976113bd96d603d1fcbfcb99 + languageName: node + linkType: hard + "can-bind-to-host@npm:^1.1.1": version: 1.1.2 resolution: "can-bind-to-host@npm:1.1.2" @@ -8059,6 +11055,13 @@ __metadata: languageName: node linkType: hard +"capability@npm:^0.2.5": + version: 0.2.5 + resolution: "capability@npm:0.2.5" + checksum: 59ce65958dc0f2e76e7007fe8d5a0a85801b950bb957779c11948776f0e7a1290b9638bfd2da92b4b8bebd7584f92a8c38d4e6613659c9637783a6993026b08b + languageName: node + linkType: hard + "case-sensitive-paths-webpack-plugin@npm:^2.4.0": version: 2.4.0 resolution: "case-sensitive-paths-webpack-plugin@npm:2.4.0" @@ -8115,6 +11118,20 @@ __metadata: languageName: node linkType: hard +"character-entities-legacy@npm:^1.0.0": + version: 1.1.4 + resolution: "character-entities-legacy@npm:1.1.4" + checksum: fe03a82c154414da3a0c8ab3188e4237ec68006cbcd681cf23c7cfb9502a0e76cd30ab69a2e50857ca10d984d57de3b307680fff5328ccd427f400e559c3a811 + languageName: node + linkType: hard + +"character-entities@npm:^1.0.0": + version: 1.2.4 + resolution: "character-entities@npm:1.2.4" + checksum: e1545716571ead57beac008433c1ff69517cd8ca5b336889321c5b8ff4a99c29b65589a701e9c086cda8a5e346a67295e2684f6c7ea96819fe85cbf49bf8686d + languageName: node + linkType: hard + "character-entities@npm:^2.0.0": version: 2.0.2 resolution: "character-entities@npm:2.0.2" @@ -8122,6 +11139,13 @@ __metadata: languageName: node linkType: hard +"character-reference-invalid@npm:^1.0.0": + version: 1.1.4 + resolution: "character-reference-invalid@npm:1.1.4" + checksum: 20274574c70e05e2f81135f3b93285536bc8ff70f37f0809b0d17791a832838f1e49938382899ed4cb444e5bbd4314ca1415231344ba29f4222ce2ccf24fea0b + languageName: node + linkType: hard + "chatweb3-frontend@workspace:.": version: 0.0.0-use.local resolution: "chatweb3-frontend@workspace:." @@ -8131,6 +11155,12 @@ __metadata: "@heroicons/react": ^2.0.14 "@liquity/lib-base": ^3.0.0 "@liquity/lib-ethers": ^3.4.0 + "@near-wallet-selector/core": ^8.5.1 + "@near-wallet-selector/modal-ui": ^8.5.1 + "@near-wallet-selector/near-wallet": ^8.5.1 + "@near-wallet-selector/neth": ^8.5.1 + "@near-wallet-selector/nightly": ^8.5.1 + "@near-wallet-selector/sender": ^8.5.1 "@next/font": 13.1.2 "@rainbow-me/rainbowkit": ^0.12.0 "@storybook/addon-essentials": ^7.0.12 @@ -8150,6 +11180,10 @@ __metadata: "@uniswap/sdk-core": <=4.0.3 || >4.0.6 "@uniswap/smart-order-router": ^3.11.0 "@uniswap/v3-periphery": ^1.4.3 + "@web3-onboard/injected-wallets": ^2.10.5 + "@web3-onboard/ledger": ^2.5.2 + "@web3-onboard/react": ^2.8.11 + "@web3-onboard/walletconnect": ^2.4.6 autoprefixer: ^10.4.14 axios: ^1.3.4 copy-to-clipboard: ^3.3.3 @@ -8161,6 +11195,9 @@ __metadata: ethers: ^5.7.2 graphql-request: ^6.1.0 json-bigint: ^1.0.0 + local-storage: ^2.0.0 + near-api-js: ^2.1.4 + near-social-vm: ^2.3.1 next: 13.1.2 next-auth: ^4.22.1 postcss: ^8.4.23 @@ -8254,6 +11291,13 @@ __metadata: languageName: node linkType: hard +"classnames@npm:^2.2.0, classnames@npm:^2.3.2": + version: 2.3.2 + resolution: "classnames@npm:2.3.2" + checksum: 2c62199789618d95545c872787137262e741f9db13328e216b093eea91c85ef2bfb152c1f9e63027204e2559a006a92eb74147d46c800a9f96297ae1d9f96f4e + languageName: node + linkType: hard + "clean-css@npm:^5.2.2": version: 5.3.2 resolution: "clean-css@npm:5.3.2" @@ -8270,6 +11314,19 @@ __metadata: languageName: node linkType: hard +"cli-color@npm:^2.0.3": + version: 2.0.3 + resolution: "cli-color@npm:2.0.3" + dependencies: + d: ^1.0.1 + es5-ext: ^0.10.61 + es6-iterator: ^2.0.3 + memoizee: ^0.4.15 + timers-ext: ^0.1.7 + checksum: b1c5f3d0ec29cbe22be7a01d90bd0cfa080ffed6f1c321ea20ae3f10c6041f0e411e28ee2b98025945bee3548931deed1ae849b53c21b523ba74efef855cd73d + languageName: node + linkType: hard + "cli-cursor@npm:^3.1.0": version: 3.1.0 resolution: "cli-cursor@npm:3.1.0" @@ -8306,6 +11363,17 @@ __metadata: languageName: node linkType: hard +"cliui@npm:^5.0.0": + version: 5.0.0 + resolution: "cliui@npm:5.0.0" + dependencies: + string-width: ^3.1.0 + strip-ansi: ^5.2.0 + wrap-ansi: ^5.1.0 + checksum: 0bb8779efe299b8f3002a73619eaa8add4081eb8d1c17bc4fedc6240557fb4eacdc08fe87c39b002eacb6cfc117ce736b362dbfd8bf28d90da800e010ee97df4 + languageName: node + linkType: hard + "cliui@npm:^6.0.0": version: 6.0.0 resolution: "cliui@npm:6.0.0" @@ -8392,6 +11460,15 @@ __metadata: languageName: node linkType: hard +"collections@npm:^5.1.12": + version: 5.1.13 + resolution: "collections@npm:5.1.13" + dependencies: + weak-map: ~1.0.x + checksum: 7609509de3c06e4e9172feb845a5b0b1a1fa9f70d1c51b38640b0e4be1f4b7bbb912023e65fe3837246b45e0423c06d3fb29bd26dc205d7defbb0b4564f4e513 + languageName: node + linkType: hard + "color-convert@npm:^1.9.0": version: 1.9.3 resolution: "color-convert@npm:1.9.3" @@ -8449,6 +11526,13 @@ __metadata: languageName: node linkType: hard +"comma-separated-tokens@npm:^1.0.0": + version: 1.0.8 + resolution: "comma-separated-tokens@npm:1.0.8" + checksum: 0adcb07174fa4d08cf0f5c8e3aec40a36b5ff0c2c720e5e23f50fe02e6789d1d00a67036c80e0c1e1539f41d3e7f0101b074039dd833b4e4a59031b659d6ca0d + languageName: node + linkType: hard + "comma-separated-tokens@npm:^2.0.0": version: 2.0.3 resolution: "comma-separated-tokens@npm:2.0.3" @@ -8543,6 +11627,13 @@ __metadata: languageName: node linkType: hard +"compute-scroll-into-view@npm:^1.0.20": + version: 1.0.20 + resolution: "compute-scroll-into-view@npm:1.0.20" + checksum: f15fab29221953620735393ac1866541aab0d27d28078bedbba071a291ee9c8cc1a72bee302cf0bc06ed83c5e55afb74ebcbd634a63671ba33cf1fb1c51d3308 + languageName: node + linkType: hard + "concat-map@npm:0.0.1": version: 0.0.1 resolution: "concat-map@npm:0.0.1" @@ -8627,7 +11718,7 @@ __metadata: languageName: node linkType: hard -"copy-to-clipboard@npm:^3.3.3": +"copy-to-clipboard@npm:3.3.3, copy-to-clipboard@npm:^3.3.1, copy-to-clipboard@npm:^3.3.3": version: 3.3.3 resolution: "copy-to-clipboard@npm:3.3.3" dependencies: @@ -8707,7 +11798,7 @@ __metadata: languageName: node linkType: hard -"create-hmac@npm:^1.1.0, create-hmac@npm:^1.1.4, create-hmac@npm:^1.1.7": +"create-hmac@npm:1.1.7, create-hmac@npm:^1.1.0, create-hmac@npm:^1.1.4, create-hmac@npm:^1.1.7": version: 1.1.7 resolution: "create-hmac@npm:1.1.7" dependencies: @@ -8760,6 +11851,13 @@ __metadata: languageName: node linkType: hard +"crypto-es@npm:^1.2.2": + version: 1.2.7 + resolution: "crypto-es@npm:1.2.7" + checksum: e2c215f3524e40fa756ffabb0d7fd190306a70c9210b8333a446677ac596bc0ab04bc5315d6bb967aab157867edada7bdcf8a4f18e35a2a4b78285f13440037b + languageName: node + linkType: hard + "crypto-random-string@npm:^2.0.0": version: 2.0.0 resolution: "crypto-random-string@npm:2.0.0" @@ -8767,6 +11865,13 @@ __metadata: languageName: node linkType: hard +"css-color-keywords@npm:^1.0.0": + version: 1.0.0 + resolution: "css-color-keywords@npm:1.0.0" + checksum: 8f125e3ad477bd03c77b533044bd9e8a6f7c0da52d49bbc0bbe38327b3829d6ba04d368ca49dd9ff3b667d2fc8f1698d891c198bbf8feade1a5501bf5a296408 + languageName: node + linkType: hard + "css-loader@npm:^6.7.1, css-loader@npm:^6.7.3": version: 6.8.1 resolution: "css-loader@npm:6.8.1" @@ -8798,6 +11903,17 @@ __metadata: languageName: node linkType: hard +"css-to-react-native@npm:^3.0.0": + version: 3.2.0 + resolution: "css-to-react-native@npm:3.2.0" + dependencies: + camelize: ^1.0.0 + css-color-keywords: ^1.0.0 + postcss-value-parser: ^4.0.2 + checksum: 263be65e805aef02c3f20c064665c998a8c35293e1505dbe6e3054fb186b01a9897ac6cf121f9840e5a9dfe3fb3994f6fcd0af84a865f1df78ba5bf89e77adce + languageName: node + linkType: hard + "css-what@npm:^5.0.1": version: 5.1.0 resolution: "css-what@npm:5.1.0" @@ -8838,6 +11954,16 @@ __metadata: languageName: node linkType: hard +"d@npm:1, d@npm:^1.0.1": + version: 1.0.1 + resolution: "d@npm:1.0.1" + dependencies: + es5-ext: ^0.10.50 + type: ^1.0.1 + checksum: 49ca0639c7b822db670de93d4fbce44b4aa072cd848c76292c9978a8cd0fff1028763020ff4b0f147bd77bfe29b4c7f82e0f71ade76b2a06100543cdfd948d19 + languageName: node + linkType: hard + "damerau-levenshtein@npm:^1.0.8": version: 1.0.8 resolution: "damerau-levenshtein@npm:1.0.8" @@ -8921,7 +12047,7 @@ __metadata: languageName: node linkType: hard -"deep-equal@npm:^2.0.5": +"deep-equal@npm:^2.0.5, deep-equal@npm:^2.2.0": version: 2.2.2 resolution: "deep-equal@npm:2.2.2" dependencies: @@ -9083,6 +12209,13 @@ __metadata: languageName: node linkType: hard +"depd@npm:~1.1.2": + version: 1.1.2 + resolution: "depd@npm:1.1.2" + checksum: 6b406620d269619852885ce15965272b829df6f409724415e0002c8632ab6a8c0a08ec1f0bd2add05dc7bd7507606f7e2cc034fa24224ab829580040b835ecd9 + languageName: node + linkType: hard + "dequal@npm:^2.0.0, dequal@npm:^2.0.2, dequal@npm:^2.0.3": version: 2.0.3 resolution: "dequal@npm:2.0.3" @@ -9107,6 +12240,13 @@ __metadata: languageName: node linkType: hard +"detect-browser@npm:5.2.0": + version: 5.2.0 + resolution: "detect-browser@npm:5.2.0" + checksum: 63b5c38fecc657ff12de01a41e6c8c97b3d610dffa37aef1983ec5bfb4314687d588c0c44c5ee03bd45ef15b7fe465bce9349c373369e6a7405f318e0aae56f9 + languageName: node + linkType: hard + "detect-browser@npm:5.3.0, detect-browser@npm:^5.3.0": version: 5.3.0 resolution: "detect-browser@npm:5.3.0" @@ -9262,6 +12402,16 @@ __metadata: languageName: node linkType: hard +"dom-helpers@npm:^5.0.1, dom-helpers@npm:^5.2.0, dom-helpers@npm:^5.2.1": + version: 5.2.1 + resolution: "dom-helpers@npm:5.2.1" + dependencies: + "@babel/runtime": ^7.8.7 + csstype: ^3.0.2 + checksum: 863ba9e086f7093df3376b43e74ce4422571d404fc9828bf2c56140963d5edf0e56160f9b2f3bb61b282c07f8fc8134f023c98fd684bddcb12daf7b0f14d951c + languageName: node + linkType: hard + "dom-serializer@npm:0": version: 0.2.2 resolution: "dom-serializer@npm:0.2.2" @@ -9440,7 +12590,7 @@ __metadata: languageName: node linkType: hard -"elliptic@npm:6.5.4, elliptic@npm:^6.5.3": +"elliptic@npm:6.5.4, elliptic@npm:^6.5.3, elliptic@npm:^6.5.4": version: 6.5.4 resolution: "elliptic@npm:6.5.4" dependencies: @@ -9469,6 +12619,13 @@ __metadata: languageName: node linkType: hard +"emoji-regex@npm:^7.0.1": + version: 7.0.3 + resolution: "emoji-regex@npm:7.0.3" + checksum: 9159b2228b1511f2870ac5920f394c7e041715429a68459ebe531601555f11ea782a8e1718f969df2711d38c66268174407cbca57ce36485544f695c2dfdc96e + languageName: node + linkType: hard + "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -9589,6 +12746,17 @@ __metadata: languageName: node linkType: hard +"error-polyfill@npm:^0.1.3": + version: 0.1.3 + resolution: "error-polyfill@npm:0.1.3" + dependencies: + capability: ^0.2.5 + o3: ^1.0.3 + u3: ^0.1.1 + checksum: 1aee485841310e1f4d10cde0a5c8ac840311c94914bb1aed8fd71826be84dd5dba3d4ab937f39c0b970edb3d0a76cfb5d001ec979db6c68858b5f75c1f504c52 + languageName: node + linkType: hard + "error-stack-parser@npm:^2.0.6": version: 2.1.4 resolution: "error-stack-parser@npm:2.1.4" @@ -9700,6 +12868,17 @@ __metadata: languageName: node linkType: hard +"es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.46, es5-ext@npm:^0.10.50, es5-ext@npm:^0.10.53, es5-ext@npm:^0.10.61, es5-ext@npm:~0.10.14, es5-ext@npm:~0.10.2, es5-ext@npm:~0.10.46": + version: 0.10.62 + resolution: "es5-ext@npm:0.10.62" + dependencies: + es6-iterator: ^2.0.3 + es6-symbol: ^3.1.3 + next-tick: ^1.1.0 + checksum: 25f42f6068cfc6e393cf670bc5bba249132c5f5ec2dd0ed6e200e6274aca2fed8e9aec8a31c76031744c78ca283c57f0b41c7e737804c6328c7b8d3fbcba7983 + languageName: node + linkType: hard + "es6-error@npm:^4.0.1": version: 4.1.1 resolution: "es6-error@npm:4.1.1" @@ -9707,6 +12886,17 @@ __metadata: languageName: node linkType: hard +"es6-iterator@npm:^2.0.3": + version: 2.0.3 + resolution: "es6-iterator@npm:2.0.3" + dependencies: + d: 1 + es5-ext: ^0.10.35 + es6-symbol: ^3.1.1 + checksum: 6e48b1c2d962c21dee604b3d9f0bc3889f11ed5a8b33689155a2065d20e3107e2a69cc63a71bd125aeee3a589182f8bbcb5c8a05b6a8f38fa4205671b6d09697 + languageName: node + linkType: hard + "es6-object-assign@npm:^1.1.0": version: 1.1.0 resolution: "es6-object-assign@npm:1.1.0" @@ -9730,6 +12920,28 @@ __metadata: languageName: node linkType: hard +"es6-symbol@npm:^3.1.1, es6-symbol@npm:^3.1.3": + version: 3.1.3 + resolution: "es6-symbol@npm:3.1.3" + dependencies: + d: ^1.0.1 + ext: ^1.1.2 + checksum: cd49722c2a70f011eb02143ef1c8c70658d2660dead6641e160b94619f408b9cf66425515787ffe338affdf0285ad54f4eae30ea5bd510e33f8659ec53bcaa70 + languageName: node + linkType: hard + +"es6-weak-map@npm:^2.0.3": + version: 2.0.3 + resolution: "es6-weak-map@npm:2.0.3" + dependencies: + d: 1 + es5-ext: ^0.10.46 + es6-iterator: ^2.0.3 + es6-symbol: ^3.1.1 + checksum: 19ca15f46d50948ce78c2da5f21fb5b1ef45addd4fe17b5df952ff1f2a3d6ce4781249bc73b90995257264be2a98b2ec749bb2aba0c14b5776a1154178f9c927 + languageName: node + linkType: hard + "esbuild-plugin-alias@npm:^0.2.1": version: 0.2.1 resolution: "esbuild-plugin-alias@npm:0.2.1" @@ -9825,6 +13037,83 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.19.2": + version: 0.19.2 + resolution: "esbuild@npm:0.19.2" + dependencies: + "@esbuild/android-arm": 0.19.2 + "@esbuild/android-arm64": 0.19.2 + "@esbuild/android-x64": 0.19.2 + "@esbuild/darwin-arm64": 0.19.2 + "@esbuild/darwin-x64": 0.19.2 + "@esbuild/freebsd-arm64": 0.19.2 + "@esbuild/freebsd-x64": 0.19.2 + "@esbuild/linux-arm": 0.19.2 + "@esbuild/linux-arm64": 0.19.2 + "@esbuild/linux-ia32": 0.19.2 + "@esbuild/linux-loong64": 0.19.2 + "@esbuild/linux-mips64el": 0.19.2 + "@esbuild/linux-ppc64": 0.19.2 + "@esbuild/linux-riscv64": 0.19.2 + "@esbuild/linux-s390x": 0.19.2 + "@esbuild/linux-x64": 0.19.2 + "@esbuild/netbsd-x64": 0.19.2 + "@esbuild/openbsd-x64": 0.19.2 + "@esbuild/sunos-x64": 0.19.2 + "@esbuild/win32-arm64": 0.19.2 + "@esbuild/win32-ia32": 0.19.2 + "@esbuild/win32-x64": 0.19.2 + dependenciesMeta: + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: f9ad8ad4f0cbcc675c059f2676c4458d75307af20f9168859de8642accd7f2b7d6bbe8286a23633790dcba07d1d66a8f63c204ea933a0d51300c1b69d4f25d8f + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -10254,6 +13543,13 @@ __metadata: languageName: node linkType: hard +"estree-walker@npm:^2": + version: 2.0.2 + resolution: "estree-walker@npm:2.0.2" + checksum: 6151e6f9828abe2259e57f5fd3761335bb0d2ebd76dc1a01048ccee22fabcfef3c0859300f6d83ff0d1927849368775ec5a6d265dde2f6de5a1be1721cd94efc + languageName: node + linkType: hard + "esutils@npm:^2.0.2": version: 2.0.3 resolution: "esutils@npm:2.0.3" @@ -10321,7 +13617,83 @@ __metadata: languageName: node linkType: hard -"ethers@npm:^5.3.1, ethers@npm:^5.7.2": +"ethers@npm:5.5.3": + version: 5.5.3 + resolution: "ethers@npm:5.5.3" + dependencies: + "@ethersproject/abi": 5.5.0 + "@ethersproject/abstract-provider": 5.5.1 + "@ethersproject/abstract-signer": 5.5.0 + "@ethersproject/address": 5.5.0 + "@ethersproject/base64": 5.5.0 + "@ethersproject/basex": 5.5.0 + "@ethersproject/bignumber": 5.5.0 + "@ethersproject/bytes": 5.5.0 + "@ethersproject/constants": 5.5.0 + "@ethersproject/contracts": 5.5.0 + "@ethersproject/hash": 5.5.0 + "@ethersproject/hdnode": 5.5.0 + "@ethersproject/json-wallets": 5.5.0 + "@ethersproject/keccak256": 5.5.0 + "@ethersproject/logger": 5.5.0 + "@ethersproject/networks": 5.5.2 + "@ethersproject/pbkdf2": 5.5.0 + "@ethersproject/properties": 5.5.0 + "@ethersproject/providers": 5.5.2 + "@ethersproject/random": 5.5.1 + "@ethersproject/rlp": 5.5.0 + "@ethersproject/sha2": 5.5.0 + "@ethersproject/signing-key": 5.5.0 + "@ethersproject/solidity": 5.5.0 + "@ethersproject/strings": 5.5.0 + "@ethersproject/transactions": 5.5.0 + "@ethersproject/units": 5.5.0 + "@ethersproject/wallet": 5.5.0 + "@ethersproject/web": 5.5.1 + "@ethersproject/wordlists": 5.5.0 + checksum: 0ac0a9e3d37468894d5f283bb06a60c78a8c82fc43e834004b97046b93df35d2aed83c07e7dc8c4a664fa6b25989a47d303e58ee25e7ad6490b11cc50e74d54a + languageName: node + linkType: hard + +"ethers@npm:5.5.4": + version: 5.5.4 + resolution: "ethers@npm:5.5.4" + dependencies: + "@ethersproject/abi": 5.5.0 + "@ethersproject/abstract-provider": 5.5.1 + "@ethersproject/abstract-signer": 5.5.0 + "@ethersproject/address": 5.5.0 + "@ethersproject/base64": 5.5.0 + "@ethersproject/basex": 5.5.0 + "@ethersproject/bignumber": 5.5.0 + "@ethersproject/bytes": 5.5.0 + "@ethersproject/constants": 5.5.0 + "@ethersproject/contracts": 5.5.0 + "@ethersproject/hash": 5.5.0 + "@ethersproject/hdnode": 5.5.0 + "@ethersproject/json-wallets": 5.5.0 + "@ethersproject/keccak256": 5.5.0 + "@ethersproject/logger": 5.5.0 + "@ethersproject/networks": 5.5.2 + "@ethersproject/pbkdf2": 5.5.0 + "@ethersproject/properties": 5.5.0 + "@ethersproject/providers": 5.5.3 + "@ethersproject/random": 5.5.1 + "@ethersproject/rlp": 5.5.0 + "@ethersproject/sha2": 5.5.0 + "@ethersproject/signing-key": 5.5.0 + "@ethersproject/solidity": 5.5.0 + "@ethersproject/strings": 5.5.0 + "@ethersproject/transactions": 5.5.0 + "@ethersproject/units": 5.5.0 + "@ethersproject/wallet": 5.5.0 + "@ethersproject/web": 5.5.1 + "@ethersproject/wordlists": 5.5.0 + checksum: 5981da616471a35baf0a5919e851cd0e755eaa7d8d7ed5e54da03a50cafc38fe160f6c5e92ab953ab583778c53d8b4132ade9a157bcbb2fc05ace647db802ec3 + languageName: node + linkType: hard + +"ethers@npm:5.7.2, ethers@npm:^5.3.1, ethers@npm:^5.7.2": version: 5.7.2 resolution: "ethers@npm:5.7.2" dependencies: @@ -10359,6 +13731,16 @@ __metadata: languageName: node linkType: hard +"event-emitter@npm:^0.3.5": + version: 0.3.5 + resolution: "event-emitter@npm:0.3.5" + dependencies: + d: 1 + es5-ext: ~0.10.14 + checksum: 27c1399557d9cd7e0aa0b366c37c38a4c17293e3a10258e8b692a847dd5ba9fb90429c3a5a1eeff96f31f6fa03ccbd31d8ad15e00540b22b22f01557be706030 + languageName: node + linkType: hard + "event-target-shim@npm:^5.0.0": version: 5.0.1 resolution: "event-target-shim@npm:5.0.1" @@ -10373,7 +13755,7 @@ __metadata: languageName: node linkType: hard -"events@npm:^3.2.0, events@npm:^3.3.0": +"events@npm:3.3.0, events@npm:^3.2.0, events@npm:^3.3.0": version: 3.3.0 resolution: "events@npm:3.3.0" checksum: f6f487ad2198aa41d878fa31452f1a3c00958f46e9019286ff4787c84aac329332ab45c9cdc8c445928fc6d7ded294b9e005a7fce9426488518017831b272780 @@ -10507,6 +13889,15 @@ __metadata: languageName: node linkType: hard +"ext@npm:^1.1.2": + version: 1.7.0 + resolution: "ext@npm:1.7.0" + dependencies: + type: ^2.7.2 + checksum: ef481f9ef45434d8c867cfd09d0393b60945b7c8a1798bedc4514cb35aac342ccb8d8ecb66a513e6a2b4ec1e294a338e3124c49b29736f8e7c735721af352c31 + languageName: node + linkType: hard + "extend@npm:^3.0.0": version: 3.0.2 resolution: "extend@npm:3.0.2" @@ -10613,6 +14004,15 @@ __metadata: languageName: node linkType: hard +"fault@npm:^1.0.0": + version: 1.0.4 + resolution: "fault@npm:1.0.4" + dependencies: + format: ^0.2.0 + checksum: 5ac610d8b09424e0f2fa8cf913064372f2ee7140a203a79957f73ed557c0e79b1a3d096064d7f40bde8132a69204c1fe25ec23634c05c6da2da2039cff26c4e7 + languageName: node + linkType: hard + "fb-watchman@npm:^2.0.0": version: 2.0.2 resolution: "fb-watchman@npm:2.0.2" @@ -10922,6 +14322,13 @@ __metadata: languageName: node linkType: hard +"format@npm:^0.2.0": + version: 0.2.2 + resolution: "format@npm:0.2.2" + checksum: 646a60e1336250d802509cf24fb801e43bd4a70a07510c816fa133aa42cdbc9c21e66e9cc0801bb183c5b031c9d68be62e7fbb6877756e52357850f92aa28799 + languageName: node + linkType: hard + "forwarded@npm:0.2.0": version: 0.2.0 resolution: "forwarded@npm:0.2.0" @@ -11338,6 +14745,13 @@ __metadata: languageName: node linkType: hard +"globalyzer@npm:0.1.0": + version: 0.1.0 + resolution: "globalyzer@npm:0.1.0" + checksum: 419a0f95ba542534fac0842964d31b3dc2936a479b2b1a8a62bad7e8b61054faa9b0a06ad9f2e12593396b9b2621cac93358d9b3071d33723fb1778608d358a1 + languageName: node + linkType: hard + "globby@npm:^11.0.1, globby@npm:^11.0.2, globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" @@ -11365,6 +14779,13 @@ __metadata: languageName: node linkType: hard +"globrex@npm:^0.1.2": + version: 0.1.2 + resolution: "globrex@npm:0.1.2" + checksum: adca162494a176ce9ecf4dd232f7b802956bb1966b37f60c15e49d2e7d961b66c60826366dc2649093cad5a0d69970cfa8875bd1695b5a1a2f33dcd2aa88da3c + languageName: node + linkType: hard + "gopd@npm:^1.0.1": version: 1.0.1 resolution: "gopd@npm:1.0.1" @@ -11572,6 +14993,13 @@ __metadata: languageName: node linkType: hard +"hast-util-parse-selector@npm:^2.0.0": + version: 2.2.5 + resolution: "hast-util-parse-selector@npm:2.2.5" + checksum: 22ee4afbd11754562144cb3c4f3ec52524dafba4d90ee52512902d17cf11066d83b38f7bdf6ca571bbc2541f07ba30db0d234657b6ecb8ca4631587466459605 + languageName: node + linkType: hard + "hast-util-whitespace@npm:^2.0.0": version: 2.0.1 resolution: "hast-util-whitespace@npm:2.0.1" @@ -11579,6 +15007,19 @@ __metadata: languageName: node linkType: hard +"hastscript@npm:^6.0.0": + version: 6.0.0 + resolution: "hastscript@npm:6.0.0" + dependencies: + "@types/hast": ^2.0.0 + comma-separated-tokens: ^1.0.0 + hast-util-parse-selector: ^2.0.0 + property-information: ^5.0.0 + space-separated-tokens: ^1.0.0 + checksum: 5e50b85af0d2cb7c17979cb1ddca75d6b96b53019dd999b39e7833192c9004201c3cee6445065620ea05d0087d9ae147a4844e582d64868be5bc6b0232dfe52d + languageName: node + linkType: hard + "he@npm:^1.2.0": version: 1.2.0 resolution: "he@npm:1.2.0" @@ -11602,6 +15043,13 @@ __metadata: languageName: node linkType: hard +"highlight.js@npm:^10.4.1, highlight.js@npm:~10.7.0": + version: 10.7.3 + resolution: "highlight.js@npm:10.7.3" + checksum: defeafcd546b535d710d8efb8e650af9e3b369ef53e28c3dc7893eacfe263200bba4c5fcf43524ae66d5c0c296b1af0870523ceae3e3104d24b7abf6374a4fea + languageName: node + linkType: hard + "hmac-drbg@npm:^1.0.1": version: 1.0.1 resolution: "hmac-drbg@npm:1.0.1" @@ -11613,6 +15061,15 @@ __metadata: languageName: node linkType: hard +"hoist-non-react-statics@npm:^3.0.0": + version: 3.3.2 + resolution: "hoist-non-react-statics@npm:3.3.2" + dependencies: + react-is: ^16.7.0 + checksum: b1538270429b13901ee586aa44f4cc3ecd8831c061d06cb8322e50ea17b3f5ce4d0e2e66394761e6c8e152cd8c34fb3b4b690116c6ce2bd45b18c746516cb9e8 + languageName: node + linkType: hard + "homedir-polyfill@npm:^1.0.0": version: 1.0.3 resolution: "homedir-polyfill@npm:1.0.3" @@ -11728,6 +15185,19 @@ __metadata: languageName: node linkType: hard +"http-errors@npm:^1.7.2": + version: 1.8.1 + resolution: "http-errors@npm:1.8.1" + dependencies: + depd: ~1.1.2 + inherits: 2.0.4 + setprototypeof: 1.2.0 + statuses: ">= 1.5.0 < 2" + toidentifier: 1.0.1 + checksum: d3c7e7e776fd51c0a812baff570bdf06fe49a5dc448b700ab6171b1250e4cf7db8b8f4c0b133e4bfe2451022a5790c1ca6c2cae4094dedd6ac8304a1267f91d2 + languageName: node + linkType: hard + "http-proxy-agent@npm:^5.0.0": version: 5.0.0 resolution: "http-proxy-agent@npm:5.0.0" @@ -11816,6 +15286,13 @@ __metadata: languageName: node linkType: hard +"idb@npm:^7.1.1": + version: 7.1.1 + resolution: "idb@npm:7.1.1" + checksum: 1973c28d53c784b177bdef9f527ec89ec239ec7cf5fcbd987dae75a16c03f5b7dfcc8c6d3285716fd0309dd57739805390bd9f98ce23b1b7d8849a3b52de8d56 + languageName: node + linkType: hard + "ieee754@npm:^1.1.13, ieee754@npm:^1.2.1": version: 1.2.1 resolution: "ieee754@npm:1.2.1" @@ -11823,6 +15300,27 @@ __metadata: languageName: node linkType: hard +"iframe-resizer-react@npm:^1.1.0": + version: 1.1.0 + resolution: "iframe-resizer-react@npm:1.1.0" + dependencies: + iframe-resizer: ^4.3.0 + warning: ^4.0.3 + peerDependencies: + prop-types: ">=15.7.2" + react: ">=16.8.0" + react-dom: ">=16.8.0" + checksum: 64ddf99d0246da71c5ef34fd6a9b35d14e9346bda0ff0e9f0f011041822eb99f477b8b8167a82126efdfc3a84eb428262518f9ade7601f0f208b69d4cdadb9f7 + languageName: node + linkType: hard + +"iframe-resizer@npm:^4.3.0": + version: 4.3.6 + resolution: "iframe-resizer@npm:4.3.6" + checksum: 9ef4178bc1e15335d28adb65686b5b4d784d416558fe02a255b6c77876f2da7c08ef878569eb2bb50be84b33db52927e24134faea7d43b9b3081bb61d2adeef8 + languageName: node + linkType: hard + "ignore@npm:^5.2.0, ignore@npm:^5.2.4": version: 5.2.4 resolution: "ignore@npm:5.2.4" @@ -11919,7 +15417,19 @@ __metadata: languageName: node linkType: hard -"invariant@npm:^2.2.4": +"intl-messageformat@npm:^9.13.0": + version: 9.13.0 + resolution: "intl-messageformat@npm:9.13.0" + dependencies: + "@formatjs/ecma402-abstract": 1.11.4 + "@formatjs/fast-memoize": 1.2.1 + "@formatjs/icu-messageformat-parser": 2.1.0 + tslib: ^2.1.0 + checksum: effb840ae6e213adceab9951dbb2d18d1a354c82e35dbd213011daf23bcc79e2a18b6ef79157ae3b69c1e6d898fe66b54dd184ac180ee0646e26a70276e60038 + languageName: node + linkType: hard + +"invariant@npm:^2.2.1, invariant@npm:^2.2.4": version: 2.2.4 resolution: "invariant@npm:2.2.4" dependencies: @@ -11949,6 +15459,23 @@ __metadata: languageName: node linkType: hard +"is-alphabetical@npm:^1.0.0": + version: 1.0.4 + resolution: "is-alphabetical@npm:1.0.4" + checksum: 6508cce44fd348f06705d377b260974f4ce68c74000e7da4045f0d919e568226dc3ce9685c5a2af272195384df6930f748ce9213fc9f399b5d31b362c66312cb + languageName: node + linkType: hard + +"is-alphanumerical@npm:^1.0.0": + version: 1.0.4 + resolution: "is-alphanumerical@npm:1.0.4" + dependencies: + is-alphabetical: ^1.0.0 + is-decimal: ^1.0.0 + checksum: e2e491acc16fcf5b363f7c726f666a9538dba0a043665740feb45bba1652457a73441e7c5179c6768a638ed396db3437e9905f403644ec7c468fb41f4813d03f + languageName: node + linkType: hard + "is-arguments@npm:^1.0.4, is-arguments@npm:^1.1.1": version: 1.1.1 resolution: "is-arguments@npm:1.1.1" @@ -12037,6 +15564,13 @@ __metadata: languageName: node linkType: hard +"is-decimal@npm:^1.0.0": + version: 1.0.4 + resolution: "is-decimal@npm:1.0.4" + checksum: ed483a387517856dc395c68403a10201fddcc1b63dc56513fbe2fe86ab38766120090ecdbfed89223d84ca8b1cd28b0641b93cb6597b6e8f4c097a7c24e3fb96 + languageName: node + linkType: hard + "is-deflate@npm:^1.0.0": version: 1.0.0 resolution: "is-deflate@npm:1.0.0" @@ -12069,6 +15603,13 @@ __metadata: languageName: node linkType: hard +"is-fullwidth-code-point@npm:^2.0.0": + version: 2.0.0 + resolution: "is-fullwidth-code-point@npm:2.0.0" + checksum: eef9c6e15f68085fec19ff6a978a6f1b8f48018fd1265035552078ee945573594933b09bbd6f562553e2a241561439f1ef5339276eba68d272001343084cfab8 + languageName: node + linkType: hard + "is-fullwidth-code-point@npm:^3.0.0": version: 3.0.0 resolution: "is-fullwidth-code-point@npm:3.0.0" @@ -12108,6 +15649,13 @@ __metadata: languageName: node linkType: hard +"is-hexadecimal@npm:^1.0.0": + version: 1.0.4 + resolution: "is-hexadecimal@npm:1.0.4" + checksum: a452e047587b6069332d83130f54d30da4faf2f2ebaa2ce6d073c27b5703d030d58ed9e0b729c8e4e5b52c6f1dab26781bb77b7bc6c7805f14f320e328ff8cd5 + languageName: node + linkType: hard + "is-inside-container@npm:^1.0.0": version: 1.0.0 resolution: "is-inside-container@npm:1.0.0" @@ -12140,6 +15688,13 @@ __metadata: languageName: node linkType: hard +"is-mobile@npm:4.0.0": + version: 4.0.0 + resolution: "is-mobile@npm:4.0.0" + checksum: 1c4f32ab030ac6c203d63b547ef23933eacfebe81fd9d800c86739d5a73afad7983aea4c5e832c3d9c0a63d1e68cd318637490e6406bdda1cbadc8f701d5d557 + languageName: node + linkType: hard + "is-nan@npm:^1.2.1": version: 1.3.2 resolution: "is-nan@npm:1.3.2" @@ -12210,6 +15765,13 @@ __metadata: languageName: node linkType: hard +"is-promise@npm:^2.2.2": + version: 2.2.2 + resolution: "is-promise@npm:2.2.2" + checksum: 18bf7d1c59953e0ad82a1ed963fb3dc0d135c8f299a14f89a17af312fc918373136e56028e8831700e1933519630cc2fd4179a777030330fde20d34e96f40c78 + languageName: node + linkType: hard + "is-regex@npm:^1.1.4": version: 1.1.4 resolution: "is-regex@npm:1.1.4" @@ -12340,7 +15902,7 @@ __metadata: languageName: node linkType: hard -"isarray@npm:^2.0.5": +"isarray@npm:^2.0.1, isarray@npm:^2.0.5": version: 2.0.5 resolution: "isarray@npm:2.0.5" checksum: bd5bbe4104438c4196ba58a54650116007fa0262eccef13a4c55b2e09a5b36b59f1e75b9fcc49883dd9d4953892e6fc007eef9e9155648ceea036e184b0f930a @@ -13161,6 +16723,19 @@ __metadata: languageName: node linkType: hard +"joi@npm:17.9.1": + version: 17.9.1 + resolution: "joi@npm:17.9.1" + dependencies: + "@hapi/hoek": ^9.0.0 + "@hapi/topo": ^5.0.0 + "@sideway/address": ^4.1.3 + "@sideway/formula": ^3.0.1 + "@sideway/pinpoint": ^2.0.0 + checksum: 055df3841e00d7ed065ef1cc3330cf69097ab2ffec3083d8b1d6edfd2e25504bf2983f5249d6f0459bcad99fe21bb0c9f6f1cc03569713af27cd5eb00ee7bb7d + languageName: node + linkType: hard + "joi@npm:^17.3.0": version: 17.9.2 resolution: "joi@npm:17.9.2" @@ -13188,6 +16763,13 @@ __metadata: languageName: node linkType: hard +"js-sha256@npm:0.9.0, js-sha256@npm:^0.9.0": + version: 0.9.0 + resolution: "js-sha256@npm:0.9.0" + checksum: ffad54b3373f81581e245866abfda50a62c483803a28176dd5c28fd2d313e0bdf830e77dac7ff8afd193c53031618920f3d98daf21cbbe80082753ab639c0365 + languageName: node + linkType: hard + "js-sha3@npm:0.8.0": version: 0.8.0 resolution: "js-sha3@npm:0.8.0" @@ -13565,6 +17147,13 @@ __metadata: languageName: node linkType: hard +"local-storage@npm:^2.0.0": + version: 2.0.0 + resolution: "local-storage@npm:2.0.0" + checksum: 921f381cafc4c0cac263a87e9e11093adf0bfb13b3520107bb5065bbccf5e7d22eea81148a40bc10d9f44aba8a5afe0157183205714d0221e02e36cb8afaa70b + languageName: node + linkType: hard + "locate-path@npm:^3.0.0": version: 3.0.0 resolution: "locate-path@npm:3.0.0" @@ -13609,6 +17198,13 @@ __metadata: languageName: node linkType: hard +"lodash.defaults@npm:^4.2.0": + version: 4.2.0 + resolution: "lodash.defaults@npm:4.2.0" + checksum: 84923258235592c8886e29de5491946ff8c2ae5c82a7ac5cddd2e3cb697e6fbdfbbb6efcca015795c86eec2bb953a5a2ee4016e3735a3f02720428a40efbb8f1 + languageName: node + linkType: hard + "lodash.flattendeep@npm:^4.4.0": version: 4.4.0 resolution: "lodash.flattendeep@npm:4.4.0" @@ -13630,6 +17226,20 @@ __metadata: languageName: node linkType: hard +"lodash.partition@npm:^4.6.0": + version: 4.6.0 + resolution: "lodash.partition@npm:4.6.0" + checksum: 57c01e3b790c4c4352bffd8be281bd98ed09f6076985d764163478b5a27db3183454cc8c9c25231210d3c69ae2bea37b78911a794bc82c296865eba8b6bd314f + languageName: node + linkType: hard + +"lodash.uniqby@npm:^4.7.0": + version: 4.7.0 + resolution: "lodash.uniqby@npm:4.7.0" + checksum: 659264545a95726d1493123345aad8cbf56e17810fa9a0b029852c6d42bc80517696af09d99b23bef1845d10d95e01b8b4a1da578f22aeba7a30d3e0022a4938 + languageName: node + linkType: hard + "lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21": version: 4.17.21 resolution: "lodash@npm:4.17.21" @@ -13674,6 +17284,16 @@ __metadata: languageName: node linkType: hard +"lowlight@npm:^1.17.0": + version: 1.20.0 + resolution: "lowlight@npm:1.20.0" + dependencies: + fault: ^1.0.0 + highlight.js: ~10.7.0 + checksum: 14a1815d6bae202ddee313fc60f06d46e5235c02fa483a77950b401d85b4c1e12290145ccd17a716b07f9328bd5864aa2d402b6a819ff3be7c833d9748ff8ba7 + languageName: node + linkType: hard + "lru-cache@npm:^5.1.1": version: 5.1.1 resolution: "lru-cache@npm:5.1.1" @@ -13706,6 +17326,15 @@ __metadata: languageName: node linkType: hard +"lru-queue@npm:^0.1.0": + version: 0.1.0 + resolution: "lru-queue@npm:0.1.0" + dependencies: + es5-ext: ~0.10.2 + checksum: 7f2c53c5e7f2de20efb6ebb3086b7aea88d6cf9ae91ac5618ece974122960c4e8ed04988e81d92c3e63d60b12c556b14d56ef7a9c5a4627b23859b813e39b1a2 + languageName: node + linkType: hard + "lz-string@npm:^1.5.0": version: 1.5.0 resolution: "lz-string@npm:1.5.0" @@ -13951,6 +17580,23 @@ __metadata: languageName: node linkType: hard +"mdast-util-to-hast@npm:^11.0.0": + version: 11.3.0 + resolution: "mdast-util-to-hast@npm:11.3.0" + dependencies: + "@types/hast": ^2.0.0 + "@types/mdast": ^3.0.0 + "@types/mdurl": ^1.0.0 + mdast-util-definitions: ^5.0.0 + mdurl: ^1.0.0 + unist-builder: ^3.0.0 + unist-util-generated: ^2.0.0 + unist-util-position: ^4.0.0 + unist-util-visit: ^4.0.0 + checksum: a968d034613aa5cfb44b9c03d8e61a08bb563bfde3a233fb3d83a28857357e2beef56b6767bab2867d3c3796dc5dd796af4d03fb83e3133aeb7f4187b5cc9327 + languageName: node + linkType: hard + "mdast-util-to-hast@npm:^12.1.0": version: 12.3.0 resolution: "mdast-util-to-hast@npm:12.3.0" @@ -13999,6 +17645,13 @@ __metadata: languageName: node linkType: hard +"mdurl@npm:^1.0.0": + version: 1.0.1 + resolution: "mdurl@npm:1.0.1" + checksum: 71731ecba943926bfbf9f9b51e28b5945f9411c4eda80894221b47cc105afa43ba2da820732b436f0798fd3edbbffcd1fc1415843c41a87fea08a41cc1e3d02b + languageName: node + linkType: hard + "media-query-parser@npm:^2.0.2": version: 2.0.2 resolution: "media-query-parser@npm:2.0.2" @@ -14024,6 +17677,22 @@ __metadata: languageName: node linkType: hard +"memoizee@npm:^0.4.15": + version: 0.4.15 + resolution: "memoizee@npm:0.4.15" + dependencies: + d: ^1.0.1 + es5-ext: ^0.10.53 + es6-weak-map: ^2.0.3 + event-emitter: ^0.3.5 + is-promise: ^2.2.2 + lru-queue: ^0.1.0 + next-tick: ^1.1.0 + timers-ext: ^0.1.7 + checksum: 4065d94416dbadac56edf5947bf342beca0e9f051f33ad60d7c4baf3f6ca0f3c6fdb770c5caed5a89c0ceaf9121428582f396445d591785281383d60aa883418 + languageName: node + linkType: hard + "memoizerific@npm:^1.11.3": version: 1.11.3 resolution: "memoizerific@npm:1.11.3" @@ -14712,6 +18381,15 @@ __metadata: languageName: node linkType: hard +"mustache@npm:^4.0.0": + version: 4.2.0 + resolution: "mustache@npm:4.2.0" + bin: + mustache: bin/mustache + checksum: 928fcb63e3aa44a562bfe9b59ba202cccbe40a46da50be6f0dd831b495be1dd7e38ca4657f0ecab2c1a89dc7bccba0885eab7ee7c1b215830da765758c7e0506 + languageName: node + linkType: hard + "mv@npm:~2": version: 2.1.1 resolution: "mv@npm:2.1.1" @@ -14752,7 +18430,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.4, nanoid@npm:^3.3.6": +"nanoid@npm:^3.3.1, nanoid@npm:^3.3.4, nanoid@npm:^3.3.6": version: 3.3.6 resolution: "nanoid@npm:3.3.6" bin: @@ -14761,6 +18439,15 @@ __metadata: languageName: node linkType: hard +"nanoid@npm:^4.0.0, nanoid@npm:^4.0.1": + version: 4.0.2 + resolution: "nanoid@npm:4.0.2" + bin: + nanoid: bin/nanoid.js + checksum: 747c399cea4664dd0be1d0ec498ffd1ef8f1f5221676fc8b577e3f46f66d9afcddb9595d63d19a2e78d0bc6cc33984f65e66bf1682c850b9e26288883d96b53f + languageName: node + linkType: hard + "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -14777,6 +18464,136 @@ __metadata: languageName: node linkType: hard +"near-abi@npm:0.1.1": + version: 0.1.1 + resolution: "near-abi@npm:0.1.1" + dependencies: + "@types/json-schema": ^7.0.11 + checksum: 25b01b50b9a820250ad3ccf88164af242e1bbb895f1d14836b66d518fb3c016a66929959c1e3dda8ec2e2a8def23fc15843b8343a3b245da93727d86f8282425 + languageName: node + linkType: hard + +"near-api-js@npm:^2.1.4": + version: 2.1.4 + resolution: "near-api-js@npm:2.1.4" + dependencies: + "@near-js/accounts": 0.1.4 + "@near-js/crypto": 0.0.5 + "@near-js/keystores": 0.0.5 + "@near-js/keystores-browser": 0.0.5 + "@near-js/keystores-node": 0.0.5 + "@near-js/providers": 0.0.7 + "@near-js/signers": 0.0.5 + "@near-js/transactions": 0.2.1 + "@near-js/types": 0.0.4 + "@near-js/utils": 0.0.4 + "@near-js/wallet-account": 0.0.7 + ajv: ^8.11.2 + ajv-formats: ^2.1.1 + bn.js: 5.2.1 + borsh: ^0.7.0 + depd: ^2.0.0 + error-polyfill: ^0.1.3 + http-errors: ^1.7.2 + near-abi: 0.1.1 + node-fetch: ^2.6.1 + tweetnacl: ^1.0.1 + checksum: 6717fef0c061b288dbec528768d6f0548319029008c10371bcd6fa0b8a659e92bec636cace3504e93e0282b0e4755e8b90b89c3a2c8b590414264a862ab38f22 + languageName: node + linkType: hard + +"near-hd-key@npm:^1.2.1": + version: 1.2.1 + resolution: "near-hd-key@npm:1.2.1" + dependencies: + bip39: 3.0.2 + create-hmac: 1.1.7 + tweetnacl: 1.0.3 + checksum: 7dc652952257407dfee5207df51173a37b09cde0d99966070e0de27aa7f8113f899e56338cfdae98e939a7541bfc25d79d1587df6154ee69d122b5ad919d0ff6 + languageName: node + linkType: hard + +"near-seed-phrase@npm:0.2.0": + version: 0.2.0 + resolution: "near-seed-phrase@npm:0.2.0" + dependencies: + bip39-light: ^1.0.7 + bs58: ^4.0.1 + near-hd-key: ^1.2.1 + tweetnacl: ^1.0.2 + checksum: 66c5a946bae107746256c590429123d9b02daf22ab1f32d12cab79414bf34d6d2de7b17896d14459fd515b42c56cd510adafedf9f69075534c6105812b4438f8 + languageName: node + linkType: hard + +"near-social-vm@npm:^2.3.1": + version: 2.3.1 + resolution: "near-social-vm@npm:2.3.1" + dependencies: + "@braintree/sanitize-url": 6.0.0 + "@radix-ui/react-accordion": ^1.1.1 + "@radix-ui/react-alert-dialog": ^1.0.3 + "@radix-ui/react-aspect-ratio": ^1.0.2 + "@radix-ui/react-avatar": ^1.0.2 + "@radix-ui/react-checkbox": ^1.0.3 + "@radix-ui/react-collapsible": ^1.0.2 + "@radix-ui/react-context-menu": ^2.1.3 + "@radix-ui/react-dialog": ^1.0.3 + "@radix-ui/react-dropdown-menu": ^2.0.4 + "@radix-ui/react-hover-card": ^1.0.5 + "@radix-ui/react-label": ^2.0.1 + "@radix-ui/react-menubar": ^1.0.2 + "@radix-ui/react-navigation-menu": ^1.1.2 + "@radix-ui/react-popover": ^1.0.5 + "@radix-ui/react-progress": ^1.0.2 + "@radix-ui/react-radio-group": ^1.1.2 + "@radix-ui/react-scroll-area": ^1.0.3 + "@radix-ui/react-select": ^1.2.1 + "@radix-ui/react-separator": ^1.0.2 + "@radix-ui/react-slider": ^1.1.1 + "@radix-ui/react-switch": ^1.0.2 + "@radix-ui/react-tabs": ^1.0.3 + "@radix-ui/react-toast": ^1.1.3 + "@radix-ui/react-toggle": ^1.0.2 + "@radix-ui/react-toggle-group": ^1.0.3 + "@radix-ui/react-toolbar": ^1.0.3 + "@radix-ui/react-tooltip": ^1.0.5 + acorn: ^8.8.0 + acorn-jsx: ^5.3.2 + big.js: ^6.1.1 + bn.js: ^5.1.1 + bootstrap: ^5.2.1 + bootstrap-icons: ^1.9.0 + collections: ^5.1.12 + deep-equal: ^2.2.0 + elliptic: ^6.5.4 + ethers: ^5.7.2 + idb: ^7.1.1 + iframe-resizer-react: ^1.1.0 + local-storage: ^2.0.0 + lodash: ^4.17.21 + mdast-util-find-and-replace: ^2.0.0 + nanoid: ^4.0.1 + prettier: ^2.7.1 + react-bootstrap: ^2.5.0 + react-bootstrap-typeahead: ^6.0.0 + react-error-boundary: ^3.1.4 + react-files: ^3.0.0-alpha.3 + react-infinite-scroller: ^1.2.6 + react-markdown: ^7.1.0 + react-singleton-hook: ^3.1.1 + react-syntax-highlighter: ^15.5.0 + react-uuid: ^1.0.2 + remark-gfm: ^3.0.1 + styled-components: ^5.3.6 + tweetnacl: ^1.0.3 + peerDependencies: + near-api-js: 2.1.3 + react: ^18.2.0 + react-dom: ^18.2.0 + checksum: 5825d0fa45b68063ad54b66037a04759effddca4ca87ee3102100fdc8f22dec78dce6f514c9cfe315d3824350ae425a2471dd496afe2507668eabbb3ab08525a + languageName: node + linkType: hard + "negotiator@npm:0.6.3, negotiator@npm:^0.6.3": version: 0.6.3 resolution: "negotiator@npm:0.6.3" @@ -14816,6 +18633,13 @@ __metadata: languageName: node linkType: hard +"next-tick@npm:1, next-tick@npm:^1.1.0": + version: 1.1.0 + resolution: "next-tick@npm:1.1.0" + checksum: 83b5cf36027a53ee6d8b7f9c0782f2ba87f4858d977342bfc3c20c21629290a2111f8374d13a81221179603ffc4364f38374b5655d17b6a8f8a8c77bdea4fe8b + languageName: node + linkType: hard + "next@npm:13.1.2": version: 13.1.2 resolution: "next@npm:13.1.2" @@ -14949,6 +18773,20 @@ __metadata: languageName: node linkType: hard +"node-fetch@npm:^2.6.1": + version: 2.7.0 + resolution: "node-fetch@npm:2.7.0" + dependencies: + whatwg-url: ^5.0.0 + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + checksum: d76d2f5edb451a3f05b15115ec89fc6be39de37c6089f1b6368df03b91e1633fd379a7e01b7ab05089a25034b2023d959b47e59759cb38d88341b2459e89d6e5 + languageName: node + linkType: hard + "node-gyp-build@npm:^4.2.0, node-gyp-build@npm:^4.3.0": version: 4.6.0 resolution: "node-gyp-build@npm:4.6.0" @@ -15152,6 +18990,15 @@ __metadata: languageName: node linkType: hard +"o3@npm:^1.0.3": + version: 1.0.3 + resolution: "o3@npm:1.0.3" + dependencies: + capability: ^0.2.5 + checksum: 3b4d0686c94ac21b3c8bd66fb2c93a4daef7b8f52a20b04595754f8dc4102550de9a7b1cdffa3db2191d47a4ae70ca568f21d9f3ba29bb15c3f004dbf636c33c + languageName: node + linkType: hard + "oauth@npm:^0.9.15": version: 0.9.15 resolution: "oauth@npm:0.9.15" @@ -15570,6 +19417,20 @@ __metadata: languageName: node linkType: hard +"parse-entities@npm:^2.0.0": + version: 2.0.0 + resolution: "parse-entities@npm:2.0.0" + dependencies: + character-entities: ^1.0.0 + character-entities-legacy: ^1.0.0 + character-reference-invalid: ^1.0.0 + is-alphanumerical: ^1.0.0 + is-decimal: ^1.0.0 + is-hexadecimal: ^1.0.0 + checksum: 7addfd3e7d747521afac33c8121a5f23043c6973809756920d37e806639b4898385d386fcf4b3c8e2ecf1bc28aac5ae97df0b112d5042034efbe80f44081ebce + languageName: node + linkType: hard + "parse-json@npm:^5.0.0, parse-json@npm:^5.2.0": version: 5.2.0 resolution: "parse-json@npm:5.2.0" @@ -15693,7 +19554,7 @@ __metadata: languageName: node linkType: hard -"pbkdf2@npm:^3.0.3": +"pbkdf2@npm:^3.0.3, pbkdf2@npm:^3.0.9": version: 3.1.2 resolution: "pbkdf2@npm:3.1.2" dependencies: @@ -15867,6 +19728,13 @@ __metadata: languageName: node linkType: hard +"pngjs@npm:^3.3.0": + version: 3.4.0 + resolution: "pngjs@npm:3.4.0" + checksum: 8bd40bd698abd16b72c97b85cb858c80894fbedc76277ce72a784aa441e14795d45d9856e97333ca469b34b67528860ffc8a7317ca6beea349b645366df00bcd + languageName: node + linkType: hard + "pngjs@npm:^5.0.0": version: 5.0.0 resolution: "pngjs@npm:5.0.0" @@ -16013,7 +19881,7 @@ __metadata: languageName: node linkType: hard -"postcss-value-parser@npm:^4.0.0, postcss-value-parser@npm:^4.1.0, postcss-value-parser@npm:^4.2.0": +"postcss-value-parser@npm:^4.0.0, postcss-value-parser@npm:^4.0.2, postcss-value-parser@npm:^4.1.0, postcss-value-parser@npm:^4.2.0": version: 4.2.0 resolution: "postcss-value-parser@npm:4.2.0" checksum: 819ffab0c9d51cf0acbabf8996dffbfafbafa57afc0e4c98db88b67f2094cb44488758f06e5da95d7036f19556a4a732525e84289a425f4f6fd8e412a9d7442f @@ -16053,6 +19921,13 @@ __metadata: languageName: node linkType: hard +"preact@npm:10.4.1": + version: 10.4.1 + resolution: "preact@npm:10.4.1" + checksum: e8c5eae6dca469226177394cf49994d6beab5b9b10d31e000d8b16d9b00bfa52cdd10b41331759d68646e7b8f601430d78eb025f9026263adc90150699800ed3 + languageName: node + linkType: hard + "preact@npm:^10.12.0, preact@npm:^10.5.9, preact@npm:^10.6.3": version: 10.16.0 resolution: "preact@npm:10.16.0" @@ -16119,7 +19994,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.8.0, prettier@npm:^2.8.3": +"prettier@npm:^2.7.1, prettier@npm:^2.8.0, prettier@npm:^2.8.3": version: 2.8.8 resolution: "prettier@npm:2.8.8" bin: @@ -16186,6 +20061,20 @@ __metadata: languageName: node linkType: hard +"prismjs@npm:^1.27.0": + version: 1.29.0 + resolution: "prismjs@npm:1.29.0" + checksum: 007a8869d4456ff8049dc59404e32d5666a07d99c3b0e30a18bd3b7676dfa07d1daae9d0f407f20983865fd8da56de91d09cb08e6aa61f5bc420a27c0beeaf93 + languageName: node + linkType: hard + +"prismjs@npm:~1.27.0": + version: 1.27.0 + resolution: "prismjs@npm:1.27.0" + checksum: 85c7f4a3e999073502cc9e1882af01e3709706369ec254b60bff1149eda701f40d02512acab956012dc7e61cfd61743a3a34c1bd0737e8dbacd79141e5698bbc + languageName: node + linkType: hard + "process-nextick-args@npm:~2.0.0": version: 2.0.1 resolution: "process-nextick-args@npm:2.0.1" @@ -16243,7 +20132,19 @@ __metadata: languageName: node linkType: hard -"prop-types@npm:^15.0.0, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": +"prop-types-extra@npm:^1.1.0": + version: 1.1.1 + resolution: "prop-types-extra@npm:1.1.1" + dependencies: + react-is: ^16.3.2 + warning: ^4.0.0 + peerDependencies: + react: ">=0.14.0" + checksum: ebf1c048687bb538457f91a3610abb36ca0f50587a6afae80443a9e65b9db96882d18c3511175a8967fad4ca5dcd804913bbc241d7b5160c74cf69aacdd054f0 + languageName: node + linkType: hard + +"prop-types@npm:^15.0.0, prop-types@npm:^15.5.8, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" dependencies: @@ -16254,6 +20155,15 @@ __metadata: languageName: node linkType: hard +"property-information@npm:^5.0.0": + version: 5.6.0 + resolution: "property-information@npm:5.6.0" + dependencies: + xtend: ^4.0.0 + checksum: fcf87c6542e59a8bbe31ca0b3255a4a63ac1059b01b04469680288998bcfa97f341ca989566adbb63975f4d85339030b82320c324a511532d390910d1c583893 + languageName: node + linkType: hard + "property-information@npm:^6.0.0": version: 6.2.0 resolution: "property-information@npm:6.2.0" @@ -16362,6 +20272,23 @@ __metadata: languageName: node linkType: hard +"qrcode@npm:1.4.4": + version: 1.4.4 + resolution: "qrcode@npm:1.4.4" + dependencies: + buffer: ^5.4.3 + buffer-alloc: ^1.2.0 + buffer-from: ^1.1.1 + dijkstrajs: ^1.0.1 + isarray: ^2.0.1 + pngjs: ^3.3.0 + yargs: ^13.2.4 + bin: + qrcode: ./bin/qrcode + checksum: 8c1a7ee3092c0ed60f0413594af879ac6dffb897d4921144a8e7ae3dce40c04ba6457ab21664ca43934ba3fe19cced85abaf0b87b07916239d7254d4bb4fcf13 + languageName: node + linkType: hard + "qrcode@npm:1.5.0": version: 1.5.0 resolution: "qrcode@npm:1.5.0" @@ -16408,6 +20335,17 @@ __metadata: languageName: node linkType: hard +"query-string@npm:6.13.5": + version: 6.13.5 + resolution: "query-string@npm:6.13.5" + dependencies: + decode-uri-component: ^0.2.0 + split-on-first: ^1.0.0 + strict-uri-encode: ^2.0.0 + checksum: 1019dea0ab277bdf606bcc022ec223a9ab9947608d2696114ef9198f72ae553be039705d6c52e16af43d9b79bac67385f63fb7fe9241cd2f7b703dd23c7ab8d3 + languageName: node + linkType: hard + "query-string@npm:7.1.3": version: 7.1.3 resolution: "query-string@npm:7.1.3" @@ -16507,6 +20445,56 @@ __metadata: languageName: node linkType: hard +"react-bootstrap-typeahead@npm:^6.0.0": + version: 6.2.3 + resolution: "react-bootstrap-typeahead@npm:6.2.3" + dependencies: + "@babel/runtime": ^7.14.6 + "@popperjs/core": ^2.10.2 + "@restart/hooks": ^0.4.0 + classnames: ^2.2.0 + fast-deep-equal: ^3.1.1 + invariant: ^2.2.1 + lodash.debounce: ^4.0.8 + prop-types: ^15.5.8 + react-overlays: ^5.2.0 + react-popper: ^2.2.5 + scroll-into-view-if-needed: ^2.2.20 + warning: ^4.0.1 + peerDependencies: + react: ">=16.8.0" + react-dom: ">=16.8.0" + checksum: 21dfe10d292d146eac5fd13dc4e15515b2e676e56243c495fda8ed733c6ee7dc09d1e71ec81a68fdbe8b8c737add53749ab6687cbb98dccece6144c404ad3230 + languageName: node + linkType: hard + +"react-bootstrap@npm:^2.5.0": + version: 2.8.0 + resolution: "react-bootstrap@npm:2.8.0" + dependencies: + "@babel/runtime": ^7.21.0 + "@restart/hooks": ^0.4.9 + "@restart/ui": ^1.6.3 + "@types/react-transition-group": ^4.4.5 + classnames: ^2.3.2 + dom-helpers: ^5.2.1 + invariant: ^2.2.4 + prop-types: ^15.8.1 + prop-types-extra: ^1.1.0 + react-transition-group: ^4.4.5 + uncontrollable: ^7.2.1 + warning: ^4.0.3 + peerDependencies: + "@types/react": ">=16.14.8" + react: ">=16.14.0" + react-dom: ">=16.14.0" + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 589f64354ae03872a111fe3d37ad9b5dc2c69480edfd4b4f912a7d59cc15311df3f0374def08d5d6b63024b1674483daa862004e53bc5fac426d891993484ddc + languageName: node + linkType: hard + "react-colorful@npm:^5.1.2": version: 5.6.1 resolution: "react-colorful@npm:5.6.1" @@ -16572,6 +20560,17 @@ __metadata: languageName: node linkType: hard +"react-error-boundary@npm:^3.1.4": + version: 3.1.4 + resolution: "react-error-boundary@npm:3.1.4" + dependencies: + "@babel/runtime": ^7.12.5 + peerDependencies: + react: ">=16.13.1" + checksum: f36270a5d775a25c8920f854c0d91649ceea417b15b5bc51e270a959b0476647bb79abb4da3be7dd9a4597b029214e8fe43ea914a7f16fa7543c91f784977f1b + languageName: node + linkType: hard + "react-error-boundary@npm:^4.0.10": version: 4.0.10 resolution: "react-error-boundary@npm:4.0.10" @@ -16583,6 +20582,23 @@ __metadata: languageName: node linkType: hard +"react-fast-compare@npm:^3.0.1": + version: 3.2.2 + resolution: "react-fast-compare@npm:3.2.2" + checksum: 2071415b4f76a3e6b55c84611c4d24dcb12ffc85811a2840b5a3f1ff2d1a99be1020d9437ee7c6e024c9f4cbb84ceb35e48cf84f28fcb00265ad2dfdd3947704 + languageName: node + linkType: hard + +"react-files@npm:^3.0.0-alpha.3": + version: 3.0.0 + resolution: "react-files@npm:3.0.0" + peerDependencies: + react: ">=16.8" + react-dom: ">=16.8" + checksum: de4c83e81cf32344042c12e4372b1e68de3ba378ed581010f486907fdf95e4d53b77c87cfc66fb8d061d5ef685574476b380610d6916cf89150a89ad18a5c1ef + languageName: node + linkType: hard + "react-hotkeys-hook@npm:^4.4.0": version: 4.4.1 resolution: "react-hotkeys-hook@npm:4.4.1" @@ -16593,6 +20609,17 @@ __metadata: languageName: node linkType: hard +"react-infinite-scroller@npm:^1.2.6": + version: 1.2.6 + resolution: "react-infinite-scroller@npm:1.2.6" + dependencies: + prop-types: ^15.5.8 + peerDependencies: + react: ^0.14.9 || ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 + checksum: 5f5aae76c484b4039bada87070d5f8c54d2786697ae600be19a68f4e85158ff550122f15dccc5997d8b01fa487da47b9ffbc3e9d9a29f2cf71c77275f72551fd + languageName: node + linkType: hard + "react-inspector@npm:^6.0.0": version: 6.0.2 resolution: "react-inspector@npm:6.0.2" @@ -16609,14 +20636,14 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^16.13.1": +"react-is@npm:^16.13.1, react-is@npm:^16.3.2, react-is@npm:^16.7.0": version: 16.13.1 resolution: "react-is@npm:16.13.1" checksum: f7a19ac3496de32ca9ae12aa030f00f14a3d45374f1ceca0af707c831b2a6098ef0d6bdae51bd437b0a306d7f01d4677fcc8de7c0d331eb47ad0f46130e53c5f languageName: node linkType: hard -"react-is@npm:^17.0.1": +"react-is@npm:^17.0.0, react-is@npm:^17.0.1": version: 17.0.2 resolution: "react-is@npm:17.0.2" checksum: 9d6d111d8990dc98bc5402c1266a808b0459b5d54830bbea24c12d908b536df7883f268a7868cfaedde3dd9d4e0d574db456f84d2e6df9c4526f99bb4b5344d8 @@ -16642,6 +20669,13 @@ __metadata: languageName: node linkType: hard +"react-lifecycles-compat@npm:^3.0.4": + version: 3.0.4 + resolution: "react-lifecycles-compat@npm:3.0.4" + checksum: a904b0fc0a8eeb15a148c9feb7bc17cec7ef96e71188280061fc340043fd6d8ee3ff233381f0e8f95c1cf926210b2c4a31f38182c8f35ac55057e453d6df204f + languageName: node + linkType: hard + "react-loading-skeleton@npm:^3.2.0": version: 3.3.1 resolution: "react-loading-skeleton@npm:3.3.1" @@ -16651,6 +20685,31 @@ __metadata: languageName: node linkType: hard +"react-markdown@npm:^7.1.0": + version: 7.1.2 + resolution: "react-markdown@npm:7.1.2" + dependencies: + "@types/hast": ^2.0.0 + "@types/unist": ^2.0.0 + comma-separated-tokens: ^2.0.0 + hast-util-whitespace: ^2.0.0 + prop-types: ^15.0.0 + property-information: ^6.0.0 + react-is: ^17.0.0 + remark-parse: ^10.0.0 + remark-rehype: ^9.0.0 + space-separated-tokens: ^2.0.0 + style-to-object: ^0.3.0 + unified: ^10.0.0 + unist-util-visit: ^4.0.0 + vfile: ^5.0.0 + peerDependencies: + "@types/react": ">=16" + react: ">=16" + checksum: 6f6cd6cfee64e936edb31e3aca49dd284fc5f55c018cb4430f9b3f2f1b3df343a6507c8f33714f1bb2f620a5a05650166bc1add951fd6f8623731b689afedcfd + languageName: node + linkType: hard + "react-markdown@npm:^8.0.7": version: 8.0.7 resolution: "react-markdown@npm:8.0.7" @@ -16677,6 +20736,39 @@ __metadata: languageName: node linkType: hard +"react-overlays@npm:^5.2.0": + version: 5.2.1 + resolution: "react-overlays@npm:5.2.1" + dependencies: + "@babel/runtime": ^7.13.8 + "@popperjs/core": ^2.11.6 + "@restart/hooks": ^0.4.7 + "@types/warning": ^3.0.0 + dom-helpers: ^5.2.0 + prop-types: ^15.7.2 + uncontrollable: ^7.2.1 + warning: ^4.0.3 + peerDependencies: + react: ">=16.3.0" + react-dom: ">=16.3.0" + checksum: ac43b3876829081c6912f083b53016384fe1357c2c819cf80ffa961dcc650b0d504da0c87d1e6139775976d514321061f39f6b69ab128d619c6917b70cb179d6 + languageName: node + linkType: hard + +"react-popper@npm:^2.2.5": + version: 2.3.0 + resolution: "react-popper@npm:2.3.0" + dependencies: + react-fast-compare: ^3.0.1 + warning: ^4.0.2 + peerDependencies: + "@popperjs/core": ^2.0.0 + react: ^16.8.0 || ^17 || ^18 + react-dom: ^16.8.0 || ^17 || ^18 + checksum: 837111c98738011c69b3069a464ea5bdcbf487105b6148e8faf90cb7337e134edb1b98b8824322941c378756cca30a15c18c25f558e53b85ed5762fa0dc8e6b2 + languageName: node + linkType: hard + "react-query@npm:^3.39.3": version: 3.39.3 resolution: "react-query@npm:3.39.3" @@ -16737,6 +20829,39 @@ __metadata: languageName: node linkType: hard +"react-remove-scroll@npm:2.5.5": + version: 2.5.5 + resolution: "react-remove-scroll@npm:2.5.5" + dependencies: + react-remove-scroll-bar: ^2.3.3 + react-style-singleton: ^2.2.1 + tslib: ^2.1.0 + use-callback-ref: ^1.3.0 + use-sidecar: ^1.1.2 + peerDependencies: + "@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 2c7fe9cbd766f5e54beb4bec2e2efb2de3583037b23fef8fa511ab426ed7f1ae992382db5acd8ab5bfb030a4b93a06a2ebca41377d6eeaf0e6791bb0a59616a4 + languageName: node + linkType: hard + +"react-singleton-hook@npm:^3.1.1": + version: 3.4.0 + resolution: "react-singleton-hook@npm:3.4.0" + peerDependencies: + react: 15 - 18 + peerDependenciesMeta: + react-dom: + optional: true + react-native: + optional: true + checksum: a5d45ce3db5271041568182b3b9ecaad8a58589f365b43d7ce1e008e18340e64187331f237750131b445196b0647d99ebbc6164f66d85bb981badf08c3511c8c + languageName: node + linkType: hard + "react-style-singleton@npm:^2.2.1": version: 2.2.1 resolution: "react-style-singleton@npm:2.2.1" @@ -16754,6 +20879,21 @@ __metadata: languageName: node linkType: hard +"react-syntax-highlighter@npm:^15.5.0": + version: 15.5.0 + resolution: "react-syntax-highlighter@npm:15.5.0" + dependencies: + "@babel/runtime": ^7.3.1 + highlight.js: ^10.4.1 + lowlight: ^1.17.0 + prismjs: ^1.27.0 + refractor: ^3.6.0 + peerDependencies: + react: ">= 0.14.0" + checksum: c082b48f30f8ba8d0c55ed1d761910630860077c7ff5793c4c912adcb5760df06436ed0ad62be0de28113aac9ad2af55eccd995f8eee98df53382e4ced2072fb + languageName: node + linkType: hard + "react-textarea-autosize@npm:^8.4.1": version: 8.5.2 resolution: "react-textarea-autosize@npm:8.5.2" @@ -16779,6 +20919,21 @@ __metadata: languageName: node linkType: hard +"react-transition-group@npm:^4.4.5": + version: 4.4.5 + resolution: "react-transition-group@npm:4.4.5" + dependencies: + "@babel/runtime": ^7.5.5 + dom-helpers: ^5.0.1 + loose-envify: ^1.4.0 + prop-types: ^15.6.2 + peerDependencies: + react: ">=16.6.0" + react-dom: ">=16.6.0" + checksum: 75602840106aa9c6545149d6d7ae1502fb7b7abadcce70a6954c4b64a438ff1cd16fc77a0a1e5197cdd72da398f39eb929ea06f9005c45b132ed34e056ebdeb1 + languageName: node + linkType: hard + "react-use-websocket@npm:^4.3.1": version: 4.3.1 resolution: "react-use-websocket@npm:4.3.1" @@ -16789,6 +20944,13 @@ __metadata: languageName: node linkType: hard +"react-uuid@npm:^1.0.2": + version: 1.0.3 + resolution: "react-uuid@npm:1.0.3" + checksum: 364d23d07908927d0db80a8236752d7e6ee148eeccffa3e8f961410a2a2d4dd1315def0015d594775b56f9c1fbe4f2838ec08e2ae5149f992aad3ec2a3c29a62 + languageName: node + linkType: hard + "react@npm:18.2.0": version: 18.2.0 resolution: "react@npm:18.2.0" @@ -16910,6 +21072,17 @@ __metadata: languageName: node linkType: hard +"refractor@npm:^3.6.0": + version: 3.6.0 + resolution: "refractor@npm:3.6.0" + dependencies: + hastscript: ^6.0.0 + parse-entities: ^2.0.0 + prismjs: ~1.27.0 + checksum: 39b01c4168c77c5c8486f9bf8907bbb05f257f15026057ba5728535815a2d90eed620468a4bfbb2b8ceefbb3ce3931a1be8b17152dbdbc8b0eef92450ff750a2 + languageName: node + linkType: hard + "regenerate-unicode-properties@npm:^10.1.0": version: 10.1.0 resolution: "regenerate-unicode-properties@npm:10.1.0" @@ -16933,6 +21106,13 @@ __metadata: languageName: node linkType: hard +"regenerator-runtime@npm:^0.14.0": + version: 0.14.0 + resolution: "regenerator-runtime@npm:0.14.0" + checksum: 1c977ad82a82a4412e4f639d65d22be376d3ebdd30da2c003eeafdaaacd03fc00c2320f18120007ee700900979284fc78a9f00da7fb593f6e6eeebc673fba9a3 + languageName: node + linkType: hard + "regenerator-transform@npm:^0.15.1": version: 0.15.1 resolution: "regenerator-transform@npm:0.15.1" @@ -17056,6 +21236,18 @@ __metadata: languageName: node linkType: hard +"remark-rehype@npm:^9.0.0": + version: 9.1.0 + resolution: "remark-rehype@npm:9.1.0" + dependencies: + "@types/hast": ^2.0.0 + "@types/mdast": ^3.0.0 + mdast-util-to-hast: ^11.0.0 + unified: ^10.0.0 + checksum: 01d8177ce1a9138ead8779ec73cfef8d06669c4ebe7c4e94e804a1ddba12dca874131330f22e3979a4e0a4132239142dc93e7cfbd5d18b9250b4cc770557aff1 + languageName: node + linkType: hard + "remark-slug@npm:^6.0.0": version: 6.1.0 resolution: "remark-slug@npm:6.1.0" @@ -17349,6 +21541,15 @@ __metadata: languageName: node linkType: hard +"rxjs@npm:7.8.1, rxjs@npm:^7.5.2, rxjs@npm:^7.5.5": + version: 7.8.1 + resolution: "rxjs@npm:7.8.1" + dependencies: + tslib: ^2.1.0 + checksum: de4b53db1063e618ec2eca0f7965d9137cabe98cf6be9272efe6c86b47c17b987383df8574861bcced18ebd590764125a901d5506082be84a8b8e364bf05f119 + languageName: node + linkType: hard + "rxjs@npm:^6.6.3": version: 6.6.7 resolution: "rxjs@npm:6.6.7" @@ -17358,7 +21559,7 @@ __metadata: languageName: node linkType: hard -"sade@npm:^1.7.3": +"sade@npm:^1.7.3, sade@npm:^1.8.1": version: 1.8.1 resolution: "sade@npm:1.8.1" dependencies: @@ -17520,6 +21721,15 @@ __metadata: languageName: node linkType: hard +"scroll-into-view-if-needed@npm:^2.2.20": + version: 2.2.31 + resolution: "scroll-into-view-if-needed@npm:2.2.31" + dependencies: + compute-scroll-into-view: ^1.0.20 + checksum: 93b28f3723a462245b40d4120c40c542c8449473e2b157a5f8e18f04d95d66cd35249d96c625e8a440a56891f7d8905b1d026c690bdda07fcfb4f1a48d643ad1 + languageName: node + linkType: hard + "scrypt-js@npm:3.0.1": version: 3.0.1 resolution: "scrypt-js@npm:3.0.1" @@ -17662,6 +21872,13 @@ __metadata: languageName: node linkType: hard +"shallowequal@npm:^1.1.0": + version: 1.1.0 + resolution: "shallowequal@npm:1.1.0" + checksum: f4c1de0837f106d2dbbfd5d0720a5d059d1c66b42b580965c8f06bb1db684be8783538b684092648c981294bf817869f743a066538771dbecb293df78f765e00 + languageName: node + linkType: hard + "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -17975,6 +22192,13 @@ __metadata: languageName: node linkType: hard +"statuses@npm:>= 1.5.0 < 2": + version: 1.5.0 + resolution: "statuses@npm:1.5.0" + checksum: c469b9519de16a4bb19600205cffb39ee471a5f17b82589757ca7bd40a8d92ebb6ed9f98b5a540c5d302ccbc78f15dc03cc0280dd6e00df1335568a5d5758a5c + languageName: node + linkType: hard + "stop-iteration-iterator@npm:^1.0.0": version: 1.0.0 resolution: "stop-iteration-iterator@npm:1.0.0" @@ -18099,6 +22323,17 @@ __metadata: languageName: node linkType: hard +"string-width@npm:^3.0.0, string-width@npm:^3.1.0": + version: 3.1.0 + resolution: "string-width@npm:3.1.0" + dependencies: + emoji-regex: ^7.0.1 + is-fullwidth-code-point: ^2.0.0 + strip-ansi: ^5.1.0 + checksum: 57f7ca73d201682816d573dc68bd4bb8e1dff8dc9fcf10470fdfc3474135c97175fec12ea6a159e67339b41e86963112355b64529489af6e7e70f94a7caf08b2 + languageName: node + linkType: hard + "string-width@npm:^5.0.1, string-width@npm:^5.1.2": version: 5.1.2 resolution: "string-width@npm:5.1.2" @@ -18186,6 +22421,15 @@ __metadata: languageName: node linkType: hard +"strip-ansi@npm:^5.0.0, strip-ansi@npm:^5.1.0, strip-ansi@npm:^5.2.0": + version: 5.2.0 + resolution: "strip-ansi@npm:5.2.0" + dependencies: + ansi-regex: ^4.1.0 + checksum: bdb5f76ade97062bd88e7723aa019adbfacdcba42223b19ccb528ffb9fb0b89a5be442c663c4a3fb25268eaa3f6ea19c7c3fbae830bd1562d55adccae1fcec46 + languageName: node + linkType: hard + "strip-ansi@npm:^7.0.1": version: 7.1.0 resolution: "strip-ansi@npm:7.1.0" @@ -18239,6 +22483,15 @@ __metadata: languageName: node linkType: hard +"sturdy-websocket@npm:^0.1.12": + version: 0.1.12 + resolution: "sturdy-websocket@npm:0.1.12" + dependencies: + lodash.defaults: ^4.2.0 + checksum: 25e90a03ed8a1c0636d056053cff18bb19a8e807daab4e1bb89c6826b2360e5257e740ce5e04594a4de1d2f1baf4d1788f48d8a67f5d4be54fb4d7653f18b798 + languageName: node + linkType: hard + "style-loader@npm:^3.3.1, style-loader@npm:^3.3.2": version: 3.3.3 resolution: "style-loader@npm:3.3.3" @@ -18248,6 +22501,15 @@ __metadata: languageName: node linkType: hard +"style-to-object@npm:^0.3.0": + version: 0.3.0 + resolution: "style-to-object@npm:0.3.0" + dependencies: + inline-style-parser: 0.1.1 + checksum: 4d7084015207f2a606dfc10c29cb5ba569f2fe8005551df7396110dd694d6ff650f2debafa95bd5d147dfb4ca50f57868e2a7f91bf5d11ef734fe7ccbd7abf59 + languageName: node + linkType: hard + "style-to-object@npm:^0.4.0": version: 0.4.1 resolution: "style-to-object@npm:0.4.1" @@ -18257,6 +22519,28 @@ __metadata: languageName: node linkType: hard +"styled-components@npm:^5.3.6": + version: 5.3.11 + resolution: "styled-components@npm:5.3.11" + dependencies: + "@babel/helper-module-imports": ^7.0.0 + "@babel/traverse": ^7.4.5 + "@emotion/is-prop-valid": ^1.1.0 + "@emotion/stylis": ^0.8.4 + "@emotion/unitless": ^0.7.4 + babel-plugin-styled-components: ">= 1.12.0" + css-to-react-native: ^3.0.0 + hoist-non-react-statics: ^3.0.0 + shallowequal: ^1.1.0 + supports-color: ^5.5.0 + peerDependencies: + react: ">= 16.8.0" + react-dom: ">= 16.8.0" + react-is: ">= 16.8.0" + checksum: 10edd4dae3b0231ec02d86bdd09c88e894eedfa7e9d4f8e562b09fb69c67a27d586cbcf35c785002d59b3bf11e6c0940b0efce40d13ae9ed148b26b1dc8f3284 + languageName: node + linkType: hard + "styled-jsx@npm:5.1.1": version: 5.1.1 resolution: "styled-jsx@npm:5.1.1" @@ -18305,7 +22589,7 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^5.3.0": +"supports-color@npm:^5.3.0, supports-color@npm:^5.5.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" dependencies: @@ -18349,6 +22633,32 @@ __metadata: languageName: node linkType: hard +"svelte-i18n@npm:^3.3.13": + version: 3.7.4 + resolution: "svelte-i18n@npm:3.7.4" + dependencies: + cli-color: ^2.0.3 + deepmerge: ^4.2.2 + esbuild: ^0.19.2 + estree-walker: ^2 + intl-messageformat: ^9.13.0 + sade: ^1.8.1 + tiny-glob: ^0.2.9 + peerDependencies: + svelte: ^3 || ^4 + bin: + svelte-i18n: dist/cli.js + checksum: 3af9ed68bdc9bbbb0a3a472235ad6d7702aa57ff5e963dbefbd0ae5509352ea16cc11c492ca057b02d32033c4719d13dc145e5096c45764b09e26ee20ce05f7e + languageName: node + linkType: hard + +"svelte@npm:^3.49.0": + version: 3.59.2 + resolution: "svelte@npm:3.59.2" + checksum: 3e9d770292ab5a0061ff2d3a6f77b323014399de7458371ab507465f9860d04d0c8c7a50239d15c78b920cd42065953e3c4a36abb69a2285c52c825017621444 + languageName: node + linkType: hard + "swc-loader@npm:^0.2.3": version: 0.2.3 resolution: "swc-loader@npm:0.2.3" @@ -18647,6 +22957,26 @@ __metadata: languageName: node linkType: hard +"timers-ext@npm:^0.1.7": + version: 0.1.7 + resolution: "timers-ext@npm:0.1.7" + dependencies: + es5-ext: ~0.10.46 + next-tick: 1 + checksum: ef3f27a0702a88d885bcbb0317c3e3ecd094ce644da52e7f7d362394a125d9e3578292a8f8966071a980d8abbc3395725333b1856f3ae93835b46589f700d938 + languageName: node + linkType: hard + +"tiny-glob@npm:^0.2.9": + version: 0.2.9 + resolution: "tiny-glob@npm:0.2.9" + dependencies: + globalyzer: 0.1.0 + globrex: ^0.1.2 + checksum: aea5801eb6663ddf77ebb74900b8f8bd9dfcfc9b6a1cc8018cb7421590c00bf446109ff45e4b64a98e6c95ddb1255a337a5d488fb6311930e2a95334151ec9c6 + languageName: node + linkType: hard + "tiny-invariant@npm:^1.1.0, tiny-invariant@npm:^1.3.1": version: 1.3.1 resolution: "tiny-invariant@npm:1.3.1" @@ -18839,6 +23169,13 @@ __metadata: languageName: node linkType: hard +"tweetnacl@npm:1.0.3, tweetnacl@npm:^1.0.1, tweetnacl@npm:^1.0.2, tweetnacl@npm:^1.0.3": + version: 1.0.3 + resolution: "tweetnacl@npm:1.0.3" + checksum: e4a57cac188f0c53f24c7a33279e223618a2bfb5fea426231991652a13247bea06b081fd745d71291fcae0f4428d29beba1b984b1f1ce6f66b06a6d1ab90645c + languageName: node + linkType: hard + "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -18914,6 +23251,20 @@ __metadata: languageName: node linkType: hard +"type@npm:^1.0.1": + version: 1.2.0 + resolution: "type@npm:1.2.0" + checksum: dae8c64f82c648b985caf321e9dd6e8b7f4f2e2d4f846fc6fd2c8e9dc7769382d8a52369ddbaccd59aeeceb0df7f52fb339c465be5f2e543e81e810e413451ee + languageName: node + linkType: hard + +"type@npm:^2.7.2": + version: 2.7.2 + resolution: "type@npm:2.7.2" + checksum: 0f42379a8adb67fe529add238a3e3d16699d95b42d01adfe7b9a7c5da297f5c1ba93de39265ba30ffeb37dfd0afb3fb66ae09f58d6515da442219c086219f6f4 + languageName: node + linkType: hard + "typed-array-buffer@npm:^1.0.0": version: 1.0.0 resolution: "typed-array-buffer@npm:1.0.0" @@ -18997,6 +23348,13 @@ __metadata: languageName: node linkType: hard +"u3@npm:^0.1.1": + version: 0.1.1 + resolution: "u3@npm:0.1.1" + checksum: d55f396c607b0a2340d6165526b5143a29b369e7e0397b04f79633db77cd668f2da713feb7adb4f93a588e82a388ff995d9a2b16123d0cb02fe394fd2f26b529 + languageName: node + linkType: hard + "uglify-js@npm:^3.1.4": version: 3.17.4 resolution: "uglify-js@npm:3.17.4" @@ -19027,6 +23385,29 @@ __metadata: languageName: node linkType: hard +"uncontrollable@npm:^7.2.1": + version: 7.2.1 + resolution: "uncontrollable@npm:7.2.1" + dependencies: + "@babel/runtime": ^7.6.3 + "@types/react": ">=16.9.11" + invariant: ^2.2.4 + react-lifecycles-compat: ^3.0.4 + peerDependencies: + react: ">=15.0.0" + checksum: 3345c0c1916193ddb9cc6f2b78711dc9f22b919d780485e15b95690722e9d1797fc702c4ebb30c0acaae6a772b865d0a9ddc83fa1da44958f089aee78f2f5eab + languageName: node + linkType: hard + +"uncontrollable@npm:^8.0.1": + version: 8.0.4 + resolution: "uncontrollable@npm:8.0.4" + peerDependencies: + react: ">=16.14.0" + checksum: b685af148e29372ac336c95a7562094c5375d14807b3bc85861708363cb64b29a487f55f9d6eafda8003f21f1ca61c9cce8c83bcea5d94a0ba32bca519ac3be7 + languageName: node + linkType: hard + "unicode-canonical-property-names-ecmascript@npm:^2.0.0": version: 2.0.0 resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.0" @@ -19100,6 +23481,15 @@ __metadata: languageName: node linkType: hard +"unist-builder@npm:^3.0.0": + version: 3.0.1 + resolution: "unist-builder@npm:3.0.1" + dependencies: + "@types/unist": ^2.0.0 + checksum: d8c42fe69aa55a3e9aed3c581007ec5371349bf9885bfa8b0b787634f8d12fa5081f066b205ded379b6d0aeaa884039bae9ebb65a3e71784005fb110aef30d0f + languageName: node + linkType: hard + "unist-util-generated@npm:^2.0.0": version: 2.0.1 resolution: "unist-util-generated@npm:2.0.1" @@ -19337,6 +23727,15 @@ __metadata: languageName: node linkType: hard +"use-sync-external-store@npm:1.0.0": + version: 1.0.0 + resolution: "use-sync-external-store@npm:1.0.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0-rc + checksum: f3df10af62625169d6a8cd8d4f38942dc6817aa27398fa7f474421fd574b0c4c83679b9d15f983f482c396ee1183416eb146814c81f44241e1480acd701ef018 + languageName: node + linkType: hard + "use-sync-external-store@npm:1.2.0, use-sync-external-store@npm:^1.2.0": version: 1.2.0 resolution: "use-sync-external-store@npm:1.2.0" @@ -19559,6 +23958,15 @@ __metadata: languageName: node linkType: hard +"warning@npm:^4.0.0, warning@npm:^4.0.1, warning@npm:^4.0.2, warning@npm:^4.0.3": + version: 4.0.3 + resolution: "warning@npm:4.0.3" + dependencies: + loose-envify: ^1.0.0 + checksum: 4f2cb6a9575e4faf71ddad9ad1ae7a00d0a75d24521c193fa464f30e6b04027bd97aa5d9546b0e13d3a150ab402eda216d59c1d0f2d6ca60124d96cd40dfa35c + languageName: node + linkType: hard + "watchpack@npm:^2.2.0, watchpack@npm:^2.4.0": version: 2.4.0 resolution: "watchpack@npm:2.4.0" @@ -19578,6 +23986,13 @@ __metadata: languageName: node linkType: hard +"weak-map@npm:~1.0.x": + version: 1.0.8 + resolution: "weak-map@npm:1.0.8" + checksum: ce030b3c6b1a461bda6eac88b3b3be57245ce26330c6ddb98d821d85c0636117ca94693ef8292407066fd367740ec6a1ef6cd9027111453d7ced43f4f78b327a + languageName: node + linkType: hard + "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1" @@ -19769,6 +24184,17 @@ __metadata: languageName: node linkType: hard +"wrap-ansi@npm:^5.1.0": + version: 5.1.0 + resolution: "wrap-ansi@npm:5.1.0" + dependencies: + ansi-styles: ^3.2.0 + string-width: ^3.0.0 + strip-ansi: ^5.0.0 + checksum: 9b48c862220e541eb0daa22661b38b947973fc57054e91be5b0f2dcc77741a6875ccab4ebe970a394b4682c8dfc17e888266a105fb8b0a9b23c19245e781ceae + languageName: node + linkType: hard + "wrap-ansi@npm:^6.2.0": version: 6.2.0 resolution: "wrap-ansi@npm:6.2.0" @@ -19846,6 +24272,21 @@ __metadata: languageName: node linkType: hard +"ws@npm:7.5.3": + version: 7.5.3 + resolution: "ws@npm:7.5.3" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 423dc0d859fa74020f5555140905b862470a60ea1567bb9ad55a087263d7718b9c94f69678be1cee9868925c570f1e6fc79d09f90c39057bc63fa2edbb2c547b + languageName: node + linkType: hard + "ws@npm:^6.1.0": version: 6.2.2 resolution: "ws@npm:6.2.2" @@ -19892,7 +24333,7 @@ __metadata: languageName: node linkType: hard -"xtend@npm:^4.0.1, xtend@npm:^4.0.2, xtend@npm:~4.0.1": +"xtend@npm:^4.0.0, xtend@npm:^4.0.1, xtend@npm:^4.0.2, xtend@npm:~4.0.1": version: 4.0.2 resolution: "xtend@npm:4.0.2" checksum: ac5dfa738b21f6e7f0dd6e65e1b3155036d68104e67e5d5d1bde74892e327d7e5636a076f625599dc394330a731861e87343ff184b0047fef1360a7ec0a5a36a @@ -19941,6 +24382,16 @@ __metadata: languageName: node linkType: hard +"yargs-parser@npm:^13.1.2": + version: 13.1.2 + resolution: "yargs-parser@npm:13.1.2" + dependencies: + camelcase: ^5.0.0 + decamelize: ^1.2.0 + checksum: c8bb6f44d39a4acd94462e96d4e85469df865de6f4326e0ab1ac23ae4a835e5dd2ddfe588317ebf80c3a7e37e741bd5cb0dc8d92bcc5812baefb7df7c885e86b + languageName: node + linkType: hard + "yargs-parser@npm:^18.1.2": version: 18.1.3 resolution: "yargs-parser@npm:18.1.3" @@ -19965,6 +24416,24 @@ __metadata: languageName: node linkType: hard +"yargs@npm:^13.2.4": + version: 13.3.2 + resolution: "yargs@npm:13.3.2" + dependencies: + cliui: ^5.0.0 + find-up: ^3.0.0 + get-caller-file: ^2.0.1 + require-directory: ^2.1.1 + require-main-filename: ^2.0.0 + set-blocking: ^2.0.0 + string-width: ^3.0.0 + which-module: ^2.0.0 + y18n: ^4.0.0 + yargs-parser: ^13.1.2 + checksum: 75c13e837eb2bb25717957ba58d277e864efc0cca7f945c98bdf6477e6ec2f9be6afa9ed8a876b251a21423500c148d7b91e88dee7adea6029bdec97af1ef3e8 + languageName: node + linkType: hard + "yargs@npm:^15.0.2, yargs@npm:^15.3.1": version: 15.4.1 resolution: "yargs@npm:15.4.1" From d0532d304c2f844acd1b2e4dbfcf69fb5e9868d3 Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Tue, 5 Sep 2023 11:12:23 +0100 Subject: [PATCH 02/89] move bos src to props --- src/components/current/ChatBox.tsx | 2 +- .../current/widgets/nearBos/NearWidget.tsx | 25 ++++++++++++------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/components/current/ChatBox.tsx b/src/components/current/ChatBox.tsx index 7e0dda72e..9c603414a 100644 --- a/src/components/current/ChatBox.tsx +++ b/src/components/current/ChatBox.tsx @@ -17,7 +17,7 @@ const ChatBox = () => { return (
- + {/* chat sharing modal*/} diff --git a/src/components/current/widgets/nearBos/NearWidget.tsx b/src/components/current/widgets/nearBos/NearWidget.tsx index ff94b9c06..8ff43ab32 100644 --- a/src/components/current/widgets/nearBos/NearWidget.tsx +++ b/src/components/current/widgets/nearBos/NearWidget.tsx @@ -22,19 +22,26 @@ import { useEthersProviderContext } from './data/web3'; // import { NavigationWrapper } from "./components/navigation/NavigationWrapper"; import { NetworkId, Widgets } from './data/widgets'; -function NearWidgetUnwrapped(props: any) { +interface NearWidgetProps { + nearUser: string; + nearWidgetName: string; + nearWidgetProps?: Map; +} + +function NearWidgetUnwrapped(props: NearWidgetProps) { // const { widgetSrc } = useParams(); const [widgetProps, setWidgetProps] = useState({}); - const src = 'aave-v3.near/widget/AAVE'; // widgetSrc || props.widgets.default; + + const src = `${props.nearUser}/widget/${props.nearWidgetName}` // 'aave-v3.near/widget/AAVE'; // widgetSrc || props.widgets.default; // useEffect(() => { - // setWidgetProps( - // [...query.entries()].reduce((props, [key, value]) => { - // props[key] = value; - // return props; + // if (props.nearWidgetProps) setWidgetProps( + // [...props.nearWidgetProps.entries()].reduce((props_, [key, value]) => { + // props_[key] = value; + // return props_; // }, {}) // ); - // }, [query]); + // }, [props.nearWidgetProps]); const [connected, setConnected] = useState(false); const [signedIn, setSignedIn] = useState(false); @@ -164,10 +171,10 @@ function NearWidgetUnwrapped(props: any) { ); } -const NearWidget = () => { +const NearWidget = (props: NearWidgetProps) => { const ethersProviderContext = useEthersProviderContext(); return ( - + ) } From a005ebc73bba6e690b18d21a7d020252019a84d0 Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Wed, 6 Sep 2023 14:42:55 +0100 Subject: [PATCH 03/89] wip --- src/components/current/ChatBox.tsx | 1 - src/components/current/MessageTranslator.tsx | 4 ++++ src/components/current/widgets/nearBos/NearWidget.tsx | 4 ++-- src/components/current/widgets/nearBos/data/web3.js | 6 +++++- src/components/devTools/DebugPanel.tsx | 4 ++++ src/contexts/ChatContext.tsx | 2 +- 6 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/components/current/ChatBox.tsx b/src/components/current/ChatBox.tsx index 9c603414a..175cad938 100644 --- a/src/components/current/ChatBox.tsx +++ b/src/components/current/ChatBox.tsx @@ -17,7 +17,6 @@ const ChatBox = () => { return (
- {/* chat sharing modal*/} diff --git a/src/components/current/MessageTranslator.tsx b/src/components/current/MessageTranslator.tsx index b158db103..16b956f48 100644 --- a/src/components/current/MessageTranslator.tsx +++ b/src/components/current/MessageTranslator.tsx @@ -37,6 +37,7 @@ import YieldProtocolLendClose from './widgets/yield-protocol/actions/lend-close/ import YieldProtocolLend from './widgets/yield-protocol/actions/lend/YieldProtocolLend'; import ZKSyncDeposit from './widgets/zksync/ZKSyncDeposit'; import ZKSyncWithdraw from './widgets/zksync/ZKSyncWithdraw'; +import NearWidget from './widgets/nearBos/NearWidget'; /** * This function parses the args passed to a widget, @@ -311,6 +312,9 @@ export const Widget = (props: WidgetProps) => { ); widgets.set('wrap-eth', ); + + widgets.set('near-bos', ); + /* If available, return the widget in the widgets map */ if (widgets.has(fnName)) { return widgets.get(fnName)!; diff --git a/src/components/current/widgets/nearBos/NearWidget.tsx b/src/components/current/widgets/nearBos/NearWidget.tsx index 8ff43ab32..bfd3cf2de 100644 --- a/src/components/current/widgets/nearBos/NearWidget.tsx +++ b/src/components/current/widgets/nearBos/NearWidget.tsx @@ -24,7 +24,7 @@ import { NetworkId, Widgets } from './data/widgets'; interface NearWidgetProps { nearUser: string; - nearWidgetName: string; + nearWidget: string; nearWidgetProps?: Map; } @@ -32,7 +32,7 @@ function NearWidgetUnwrapped(props: NearWidgetProps) { // const { widgetSrc } = useParams(); const [widgetProps, setWidgetProps] = useState({}); - const src = `${props.nearUser}/widget/${props.nearWidgetName}` // 'aave-v3.near/widget/AAVE'; // widgetSrc || props.widgets.default; + const src = `${props.nearUser}/widget/${props.nearWidget}` // 'aave-v3.near/widget/AAVE'; // widgetSrc || props.widgets.default; // useEffect(() => { // if (props.nearWidgetProps) setWidgetProps( diff --git a/src/components/current/widgets/nearBos/data/web3.js b/src/components/current/widgets/nearBos/data/web3.js index 46393d479..da204618b 100644 --- a/src/components/current/widgets/nearBos/data/web3.js +++ b/src/components/current/widgets/nearBos/data/web3.js @@ -240,9 +240,13 @@ const defaultEthersProviderContext = { export const useEthersProviderContext = singletonHook( defaultEthersProviderContext, () => { + const [{ wallet }] = useConnectWallet(); + + const provider = useProvider(); + const [ethersProvider, setEthersProvider] = useState( - defaultEthersProviderContext + provider ); useEffect(() => { diff --git a/src/components/devTools/DebugPanel.tsx b/src/components/devTools/DebugPanel.tsx index bdb93711d..5387c9ad9 100644 --- a/src/components/devTools/DebugPanel.tsx +++ b/src/components/devTools/DebugPanel.tsx @@ -138,4 +138,8 @@ const spoofPrompts: [string, string][] = [ 'Show list container', `<|list-container({\"items\":[{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"1\",\"collectionName\":\"DragonLordNFT\",\"name\":\"HotGenesisPurebred\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/0cb0398d1f0e062078f9d1d63bafb51b07a8b688a0ac43a04d4a1680efc5a141/da1be520eec736215de587d117e48998cb3c72480eca5b45bd5aeb847c87602d.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"2\",\"collectionName\":\"DragonLordNFT\",\"name\":\"2\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/92bafa9c0b575141ee0e09bfa7d145364601b2bf9998301d39ee3955685f3e68/dca4fbefee3fe9af6fd8b1769055798a7559fe3039558e3495c21d18b065a9f5.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"3\",\"collectionName\":\"DragonLordNFT\",\"name\":\"HotGenesisPurebred\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/1824eb79633090062682ef095074137c643db7b1dfde66bff1aaa9244ea1ed1d/40cc8a3786b2200986909fb12f9ce67e7dd970e9369882c2406f49e9ece79ec2.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"4\",\"collectionName\":\"DragonLordNFT\",\"name\":\"4\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/07357923a1424621bf80f5df64b7cc331777b74c440ae9c9fc0b6cc56cd4f0d5/be175d46e8fb4d0dc4b11ef8ae4d423a6066d864368908bc3b78a64ea545ece7.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"5\",\"collectionName\":\"DragonLordNFT\",\"name\":\"HotGenesisPurebred\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/920fdb7aa84bd7211f232e24bb3ad1f0aa32c03a5a3b6b8707338b5b55ab65ff/c1b2729a48d21073054a4eba588f7d3558f58264739669f635c5632b24497b7a.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"6\",\"collectionName\":\"DragonLordNFT\",\"name\":\"6\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/e0be463a70deb9cb806f14251d23df6fef2f309ba22ae14831d3b34af9a51461/c79eed5bd45efb94a7199a61dffb78097b7af45049e9aa070e86a2696262c789.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"7\",\"collectionName\":\"DragonLordNFT\",\"name\":\"7\",\"previewImageUrl\":null}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"8\",\"collectionName\":\"DragonLordNFT\",\"name\":\"HotGenesisPurebred\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/255284eb895e6c45c3d8ac803e926d1194078a1b4b15ce566cb849762ab7301a/a6cae872257450a46ba132a30775d31fb07245620512849f90d386cda33bfd87.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"9\",\"collectionName\":\"DragonLordNFT\",\"name\":\"9\",\"previewImageUrl\":null}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"10\",\"collectionName\":\"DragonLordNFT\",\"name\":\"10\",\"previewImageUrl\":null}}]})|>`, ], + [ + 'BOS widget', + `<|near-bos('aave-v3.near','AAVE', {})|>`, + ] ]; diff --git a/src/contexts/ChatContext.tsx b/src/contexts/ChatContext.tsx index b4d893da3..cf10610a5 100644 --- a/src/contexts/ChatContext.tsx +++ b/src/contexts/ChatContext.tsx @@ -269,7 +269,7 @@ export const ChatContextProvider = ({ children }: { children: ReactNode }) => { setMessages([ ...messages, { - messageId: '', + messageId: 'spoof', actor: interactor, payload: msg, feedback: 'n/a', From 8ffb7400864c8725def30ef3b51644887f2ed14f Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Thu, 7 Sep 2023 11:00:30 +0100 Subject: [PATCH 04/89] wip: fix provider --- src/components/current/widgets/nearBos/data/web3.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/current/widgets/nearBos/data/web3.js b/src/components/current/widgets/nearBos/data/web3.js index da204618b..994f5a93a 100644 --- a/src/components/current/widgets/nearBos/data/web3.js +++ b/src/components/current/widgets/nearBos/data/web3.js @@ -242,11 +242,8 @@ export const useEthersProviderContext = singletonHook( () => { const [{ wallet }] = useConnectWallet(); - - const provider = useProvider(); - const [ethersProvider, setEthersProvider] = useState( - provider + defaultEthersProviderContext ); useEffect(() => { @@ -271,8 +268,6 @@ export const useEthersProviderContext = singletonHook( })(); }, []); - // const provider = useProvider(); - useEffect(() => { setEthersProvider({ provider: wallet?.provider, From 93a14a0414c26c84269c148e4f5c684cb79be2cd Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Mon, 11 Sep 2023 14:37:20 +0100 Subject: [PATCH 05/89] add in extra test --- src/components/devTools/DebugPanel.tsx | 10 ++++++++-- src/components/devTools/MintButton.tsx | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/devTools/DebugPanel.tsx b/src/components/devTools/DebugPanel.tsx index 5387c9ad9..88cb404de 100644 --- a/src/components/devTools/DebugPanel.tsx +++ b/src/components/devTools/DebugPanel.tsx @@ -139,7 +139,13 @@ const spoofPrompts: [string, string][] = [ `<|list-container({\"items\":[{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"1\",\"collectionName\":\"DragonLordNFT\",\"name\":\"HotGenesisPurebred\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/0cb0398d1f0e062078f9d1d63bafb51b07a8b688a0ac43a04d4a1680efc5a141/da1be520eec736215de587d117e48998cb3c72480eca5b45bd5aeb847c87602d.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"2\",\"collectionName\":\"DragonLordNFT\",\"name\":\"2\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/92bafa9c0b575141ee0e09bfa7d145364601b2bf9998301d39ee3955685f3e68/dca4fbefee3fe9af6fd8b1769055798a7559fe3039558e3495c21d18b065a9f5.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"3\",\"collectionName\":\"DragonLordNFT\",\"name\":\"HotGenesisPurebred\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/1824eb79633090062682ef095074137c643db7b1dfde66bff1aaa9244ea1ed1d/40cc8a3786b2200986909fb12f9ce67e7dd970e9369882c2406f49e9ece79ec2.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"4\",\"collectionName\":\"DragonLordNFT\",\"name\":\"4\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/07357923a1424621bf80f5df64b7cc331777b74c440ae9c9fc0b6cc56cd4f0d5/be175d46e8fb4d0dc4b11ef8ae4d423a6066d864368908bc3b78a64ea545ece7.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"5\",\"collectionName\":\"DragonLordNFT\",\"name\":\"HotGenesisPurebred\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/920fdb7aa84bd7211f232e24bb3ad1f0aa32c03a5a3b6b8707338b5b55ab65ff/c1b2729a48d21073054a4eba588f7d3558f58264739669f635c5632b24497b7a.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"6\",\"collectionName\":\"DragonLordNFT\",\"name\":\"6\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/e0be463a70deb9cb806f14251d23df6fef2f309ba22ae14831d3b34af9a51461/c79eed5bd45efb94a7199a61dffb78097b7af45049e9aa070e86a2696262c789.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"7\",\"collectionName\":\"DragonLordNFT\",\"name\":\"7\",\"previewImageUrl\":null}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"8\",\"collectionName\":\"DragonLordNFT\",\"name\":\"HotGenesisPurebred\",\"previewImageUrl\":\"https://cdn.center.app/v2/137/255284eb895e6c45c3d8ac803e926d1194078a1b4b15ce566cb849762ab7301a/a6cae872257450a46ba132a30775d31fb07245620512849f90d386cda33bfd87.png\"}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"9\",\"collectionName\":\"DragonLordNFT\",\"name\":\"9\",\"previewImageUrl\":null}},{\"name\":\"display-nft-asset-container\",\"params\":{\"network\":\"polygon-mainnet\",\"address\":\"0xbdb2127B89225875cD7a579911a0d4D6F70F89AE\",\"tokenId\":\"10\",\"collectionName\":\"DragonLordNFT\",\"name\":\"10\",\"previewImageUrl\":null}}]})|>`, ], [ - 'BOS widget', + 'BOS Aaave', `<|near-bos('aave-v3.near','AAVE', {})|>`, - ] + ], + + [ + 'BOS Meta', + `<|near-bos('meta-pool-official.near','MetaPoolStakeEth', {})|>`, + ], + ]; diff --git a/src/components/devTools/MintButton.tsx b/src/components/devTools/MintButton.tsx index 9c3013c97..3ecee4d6d 100644 --- a/src/components/devTools/MintButton.tsx +++ b/src/components/devTools/MintButton.tsx @@ -11,7 +11,7 @@ export const MintButton = () => { const [isVisible, setVisible] = useState(false); const { chain } = useNetwork(); const { refetch } = useBalance(); - const provider = useProvider() as JsonRpcProvider; + const provider = useProvider(); useEffect(() => { if (!address || chain?.id != 1) setVisible(false); @@ -24,6 +24,7 @@ export const MintButton = () => { ethers.utils.parseEther('10').toHexString(), // hex encoded wei amount ]; setLoading(true); + //@ts-ignore await provider.send('tenderly_addBalance', params); await refetch(); setLoading(false); From ad01de54bfafc52aa210bfcaf8869af020e4ef9c Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Wed, 13 Sep 2023 10:52:24 +0100 Subject: [PATCH 06/89] more test bow-widgets --- .../current/widgets/nearBos/NearWidget.tsx | 6 ++++-- src/components/devTools/DebugPanel.tsx | 20 +++++++++++++++++++ src/styles/globals.css | 11 ++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/src/components/current/widgets/nearBos/NearWidget.tsx b/src/components/current/widgets/nearBos/NearWidget.tsx index bfd3cf2de..488da2384 100644 --- a/src/components/current/widgets/nearBos/NearWidget.tsx +++ b/src/components/current/widgets/nearBos/NearWidget.tsx @@ -164,8 +164,10 @@ function NearWidgetUnwrapped(props: NearWidgetProps) { return ( -
- +
+
+ +
); diff --git a/src/components/devTools/DebugPanel.tsx b/src/components/devTools/DebugPanel.tsx index 88cb404de..bae874cfa 100644 --- a/src/components/devTools/DebugPanel.tsx +++ b/src/components/devTools/DebugPanel.tsx @@ -148,4 +148,24 @@ const spoofPrompts: [string, string][] = [ `<|near-bos('meta-pool-official.near','MetaPoolStakeEth', {})|>`, ], + [ + 'BOS ZKSwap', + `<|near-bos('ref-admin.near','ZKEVMSwap.zkevm-swap', {})|>`, + ], + + [ + 'BOS ZK bridge', + `<|near-bos('ref-bigboss.near','ZKEVMSwap.zkevm-bridge', {})|>`, + ], + + [ + 'BOS sushi swap', + `<|near-bos('alotaco.near','SushiSwap', {})|>`, + ], + + [ + 'BOS transfer near', + `<|near-bos('ndcplug.near','Transfer', {})|>`, + ], + ]; diff --git a/src/styles/globals.css b/src/styles/globals.css index e230b9bae..4c04ff8c8 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -8,6 +8,17 @@ --light-color-on: hsl(176, 41%, 19%); /* --light-color-off: hsl(176, 11%, 59%); */ background-color: #031016; + + /* - BOS colors - */ + --slate-dark-1: #151718; + --slate-dark-5: #2B2F31; + --slate-dark-6: #313538; + --slate-dark-8: #4C5155; + --slate-dark-9: #697177; + --slate-dark-11: #9BA1A6; + --slate-dark-12: #ECEDEE; + --blue-light-9: #0091FF; + } .body { font-variant-numeric: slashed-zero; From 2d5c6e6d35d54f67e7419c981239b664c98ff6ff Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Thu, 14 Sep 2023 08:56:58 +0100 Subject: [PATCH 07/89] wip: less abstarction --- .../current/widgets/nearBos/NearWidget.tsx | 53 ++++++++----------- 1 file changed, 22 insertions(+), 31 deletions(-) diff --git a/src/components/current/widgets/nearBos/NearWidget.tsx b/src/components/current/widgets/nearBos/NearWidget.tsx index 488da2384..1f71ca6ec 100644 --- a/src/components/current/widgets/nearBos/NearWidget.tsx +++ b/src/components/current/widgets/nearBos/NearWidget.tsx @@ -1,21 +1,19 @@ -import React, { useCallback, useEffect, useState } from 'react'; +import React, { useCallback, useEffect, useRef, useState } from 'react'; import Link from 'next/link'; -import { sanitizeUrl } from '@braintree/sanitize-url'; +// import { sanitizeUrl } from '@braintree/sanitize-url'; // import { useParams } from "react-router-dom"; // import { useQuery } from "../hooks/useQuery"; // import { useHashRouterLegacy } from "../hooks/useHashRouterLegacy"; import { setupWalletSelector } from '@near-wallet-selector/core'; -import { setupSender } from "@near-wallet-selector/sender"; -// import { setupHereWallet } from "@near-wallet-selector/here-wallet"; -// import { setupMeteorWallet } from "@near-wallet-selector/meteor-wallet"; -import { setupNeth } from "@near-wallet-selector/neth"; -import { setupNightly } from "@near-wallet-selector/nightly"; - import { setupModal } from '@near-wallet-selector/modal-ui'; import { setupNearWallet } from '@near-wallet-selector/near-wallet'; +// import { setupHereWallet } from "@near-wallet-selector/here-wallet"; +// import { setupMeteorWallet } from "@near-wallet-selector/meteor-wallet"; +import { setupNeth } from '@near-wallet-selector/neth'; +import { setupNightly } from '@near-wallet-selector/nightly'; +import { setupSender } from '@near-wallet-selector/sender'; import { Widget as BosWidget } from 'near-social-vm'; import { EthersProviderContext, useAccount, useInitNear, useNear, utils } from 'near-social-vm'; - import { ResponseWrap } from '@/components/cactiComponents/helpers/layout'; import { useEthersProviderContext } from './data/web3'; // import Big from "big.js"; @@ -28,11 +26,9 @@ interface NearWidgetProps { nearWidgetProps?: Map; } -function NearWidgetUnwrapped(props: NearWidgetProps) { - // const { widgetSrc } = useParams(); +function NearWidget(props: NearWidgetProps) { const [widgetProps, setWidgetProps] = useState({}); - - const src = `${props.nearUser}/widget/${props.nearWidget}` // 'aave-v3.near/widget/AAVE'; // widgetSrc || props.widgets.default; + const src = `${props.nearUser}/widget/${props.nearWidget}`; // 'aave-v3.near/widget/AAVE'; // widgetSrc || props.widgets.default; // useEffect(() => { // if (props.nearWidgetProps) setWidgetProps( @@ -69,7 +65,7 @@ function NearWidgetUnwrapped(props: NearWidgetProps) { // setupHereWallet(), // setupMeteorWallet(), setupNeth({ - gas: "300000000000000", + gas: '300000000000000', bundle: false, }), setupNightly(), @@ -81,9 +77,9 @@ function NearWidgetUnwrapped(props: NearWidgetProps) { props.to = props.href; delete props.href; } - if (props.to) { - props.to = sanitizeUrl(props.to); - } + // if (props.to) { + // props.to = sanitizeUrl(props.to); + // } return ; }, }, @@ -162,22 +158,17 @@ function NearWidgetUnwrapped(props: NearWidgetProps) { documentationHref: 'https://docs.near.org/docs/develop/front-end/near-api-js', }; - return ( - -
-
- -
-
-
- ); -} + const ethersProviderContext = useEthersProviderContext(); -const NearWidget = (props: NearWidgetProps) => { - const ethersProviderContext = useEthersProviderContext(); return ( - - ) + + +
+ +
+
+
+ ); } export default NearWidget; From 7339196dfaaeacdb31ae4dbb88e275ed217bc1f8 Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Thu, 14 Sep 2023 16:39:57 +0100 Subject: [PATCH 08/89] WIP --- .../cactiComponents/hooks/useAllowance.tsx | 2 +- .../current/widgets/nearBos/NearWidget.tsx | 53 +++- .../current/widgets/nearBos/data/web3.js | 281 ----------------- .../current/widgets/nearBos/data/web3.tsx | 287 ++++++++++++++++++ 4 files changed, 338 insertions(+), 285 deletions(-) delete mode 100644 src/components/current/widgets/nearBos/data/web3.js create mode 100644 src/components/current/widgets/nearBos/data/web3.tsx diff --git a/src/components/cactiComponents/hooks/useAllowance.tsx b/src/components/cactiComponents/hooks/useAllowance.tsx index 5609050a9..73cbc79a9 100644 --- a/src/components/cactiComponents/hooks/useAllowance.tsx +++ b/src/components/cactiComponents/hooks/useAllowance.tsx @@ -1,5 +1,5 @@ import { useQuery } from 'react-query'; -import { Address, erc20ABI, useAccount, useContract } from 'wagmi'; +import { Address, erc20ABI, useAccount } from 'wagmi'; import { readContract } from 'wagmi/actions'; import useChainId from '@/hooks/useChainId'; diff --git a/src/components/current/widgets/nearBos/NearWidget.tsx b/src/components/current/widgets/nearBos/NearWidget.tsx index 1f71ca6ec..80a9499b2 100644 --- a/src/components/current/widgets/nearBos/NearWidget.tsx +++ b/src/components/current/widgets/nearBos/NearWidget.tsx @@ -14,11 +14,15 @@ import { setupNightly } from '@near-wallet-selector/nightly'; import { setupSender } from '@near-wallet-selector/sender'; import { Widget as BosWidget } from 'near-social-vm'; import { EthersProviderContext, useAccount, useInitNear, useNear, utils } from 'near-social-vm'; +import { EIP1193Provider, EIP1193ProviderRpcError } from 'viem'; import { ResponseWrap } from '@/components/cactiComponents/helpers/layout'; import { useEthersProviderContext } from './data/web3'; // import Big from "big.js"; // import { NavigationWrapper } from "./components/navigation/NavigationWrapper"; import { NetworkId, Widgets } from './data/widgets'; +// import { getProvider, disconnect, watchProvider } from '@wagmi/core' + +import {useWalletClient} from 'wagmi'; interface NearWidgetProps { nearUser: string; @@ -124,7 +128,6 @@ function NearWidget(props: NearWidgetProps) { await logOut(); // requestSignIn(); }, [logOut, requestSignIn]); - // refreshAllowanceObj.refreshAllowance = refreshAllowance; useEffect(() => { @@ -158,12 +161,56 @@ function NearWidget(props: NearWidgetProps) { documentationHref: 'https://docs.near.org/docs/develop/front-end/near-api-js', }; - const ethersProviderContext = useEthersProviderContext(); + // const ethersProviderContext = useEthersProviderContext(); + + // const [ethersProvider, setEthersProvider] = useState({ + // useConnectWallet: () => [{}], // [{ wallet, connecting }, connect, disconnect] + // setChain: () => null, + // provider: getProvider(), + // }); + + // interface WalletModule { + // label: string; + // getIcon: () => Promise; + // getInterface: (helpers: any) => Promise; + // } + // type WalletInterface = { + // provider: EIP1193Provider; + // instance?: unknown; + // }; + // const walletModuleShim = (provider: EIP1193Provider): WalletModule => { + // const label = 'lable'; + // return { + // label, + // getIcon: () => Promise.resolve(''), + // getInterface: () => Promise.resolve({ provider }), + // }; + // }; + + const { data: walletClient, isError, isLoading } = useWalletClient() + + const useConnectWallet = () => [ + { wallet: + { + label: 'default', + getIcon: () => Promise.resolve(''), + getInterface: walletClient, + }, + connecting: false }, + ()=> console.log('connect'), + ()=> console.log('disconnect'), + ]; // Retun: [{ wallet, connecting }, connect, disconnect] + + const ethersProviderContext = { + provider: walletClient, + useConnectWallet, + setChain: () => null, + }; return ( -
+
diff --git a/src/components/current/widgets/nearBos/data/web3.js b/src/components/current/widgets/nearBos/data/web3.js deleted file mode 100644 index 994f5a93a..000000000 --- a/src/components/current/widgets/nearBos/data/web3.js +++ /dev/null @@ -1,281 +0,0 @@ -import { singletonHook } from "react-singleton-hook"; -import { useEffect, useState } from "react"; -import { init, useConnectWallet } from "@web3-onboard/react"; -import injectedModule from "@web3-onboard/injected-wallets"; -//import walletConnectModule from "@web3-onboard/walletconnect"; -// import ledgerModule from "@web3-onboard/ledger"; -// import { ethers } from "ethers"; -import ls from "local-storage"; -import icon from "../images/near_social_icon.svg"; - -import { useProvider } from 'wagmi' - -const web3onboardKey = "web3-onboard:connectedWallets"; - -// const wcV1InitOptions = { -// qrcodeModalOptions: { -// mobileLinks: ["metamask", "argent", "trust"], -// }, -// connectFirstChainId: true, -// }; - -// const walletConnect = walletConnectModule(wcV1InitOptions); -// const ledger = ledgerModule(); -const injected = injectedModule(); - -// initialize Onboard -export const onboard = init({ - wallets: [injected], - chains: [ - { - id: 1, - token: "ETH", - label: "Ethereum Mainnet", - rpcUrl: "https://rpc.ankr.com/eth", - }, - { - id: 3, - token: "ETH", - label: "Ropsten - Ethereum Testnet", - rpcUrl: "https://rpc.ankr.com/eth_ropsten", - }, - { - id: 5, - token: "ETH", - label: "Goerli - Ethereum Testnet", - rpcUrl: "https://rpc.ankr.com/eth_goerli", - }, - { - id: 10, - token: "ETH", - label: "Optimism", - rpcUrl: "https://rpc.ankr.com/optimism", - }, - { - id: 420, - token: "ETH", - label: "Optimism Goerli Testnet", - rpcUrl: "https://optimism-goerli.publicnode.com", - }, - { - id: 56, - token: "BNB", - label: "Binance Smart Chain Mainnet", - rpcUrl: "https://bsc.publicnode.com", - }, - { - id: 97, - token: "tBNB", - label: "Binance Smart Chain Testnet", - rpcUrl: "https://bsc-testnet.publicnode.com", - }, - { - id: 1313161554, - token: "ETH", - label: "Aurora Mainnet", - rpcUrl: "https://mainnet.aurora.dev", - }, - { - id: 1313161555, - token: "ETH", - label: "Aurora Testnet", - rpcUrl: "https://testnet.aurora.dev", - }, - { - id: 137, - token: "MATIC", - label: "Polygon Mainnet", - rpcUrl: "https://rpc.ankr.com/polygon", - }, - { - id: 80001, - token: "MATIC", - label: "Polygon Testnet Mumbai", - rpcUrl: "https://rpc.ankr.com/polygon_mumbai", - }, - { - id: 280, - token: "ETH", - label: "zkSync Era Testnet", - rpcUrl: "https://testnet.era.zksync.dev", - }, - { - id: 324, - token: "ETH", - label: "zkSync Era Mainnet", - rpcUrl: "https://zksync2-mainnet.zksync.io", - }, - { - id: 1101, - token: "ETH", - label: "Polygon zkEVM", - rpcUrl: "https://zkevm-rpc.com", - }, - { - id: 1442, - token: "ETH", - label: "Polygon zkEVM Testnet", - rpcUrl: "https://rpc.public.zkevm-test.net", - }, - { - id: 42161, - token: "ETH", - label: "Arbitrum One Mainnet", - rpcUrl: "https://arb1.arbitrum.io/rpc", - }, - { - id: 42170, - token: "ETH", - label: "Arbitrum Nova", - rpcUrl: "https://nova.arbitrum.io/rpc", - }, - { - id: 421613, - token: "AGOR", - label: "Arbitrum Goerli", - rpcUrl: "https://goerli-rollup.arbitrum.io/rpc", - }, - { - id: 25, - token: "CRO", - label: "Cronos Mainnet Beta", - rpcUrl: "https://evm.cronos.org", - }, - { - id: 338, - token: "TCRO", - label: "Cronos Testnet", - rpcUrl: "https://evm-t3.cronos.org", - }, - { - id: 100, - token: "XDAI", - label: "Gnosis", - rpcUrl: "https://rpc.ankr.com/gnosis", - }, - { - id: 10200, - token: "XDAI", - label: "Gnosis Chiado Testnet", - rpcUrl: "https://rpc.chiadochain.net", - }, - { - id: 42220, - token: "CELO", - label: "Celo Mainnet", - rpcUrl: "https://rpc.ankr.com/celo", - }, - { - id: 44787, - token: "CELO", - label: "Celo Alfajores Testnet", - rpcUrl: "https://alfajores-forno.celo-testnet.org", - }, - { - id: 43114, - token: "AVAX", - label: "Avalanche C-Chain", - rpcUrl: "https://rpc.ankr.com/avalanche", - }, - { - id: 43113, - token: "AVAX", - label: "Avalanche Fuji Testnet", - rpcUrl: "https://rpc.ankr.com/avalanche_fuji", - }, - { - id: 250, - token: "FTM", - label: "Fantom Opera", - rpcUrl: "https://rpc.ankr.com/fantom", - }, - { - id: 4002, - token: "FTM", - label: "Fantom Testnet", - rpcUrl: "https://rpc.ankr.com/fantom_testnet", - }, - { - id: 1284, - token: "GLMR", - label: "Moonbeam", - rpcUrl: "https://rpc.ankr.com/moonbeam", - }, - { - id: 61, - token: "ETC", - label: "Ethereum Classic Mainnet", - rpcUrl: "https://etc.rivet.link", - }, - { - id: 84531, - token: "ETH", - label: "Base Goerli Testnet", - rpcUrl: "https://goerli.base.org", - }, - { - id: 8453, - token: "ETH", - label: "Base Mainnet", - rpcUrl: "https://mainnet.base.org", - }, - ], - appMetadata: { - name: "NEAR Social", - icon: './images/near_social_icon.svg', - description: "NEAR Social", - }, - theme: "dark", - containerElements: { - // connectModal: '#near-social-navigation-bar', - // accountCenter: "#near-social-web3-account", - }, -}); - -const defaultEthersProviderContext = { - useConnectWallet, - setChain: onboard.setChain, -}; - -export const useEthersProviderContext = singletonHook( - defaultEthersProviderContext, - () => { - - const [{ wallet }] = useConnectWallet(); - const [ethersProvider, setEthersProvider] = useState( - defaultEthersProviderContext - ); - - useEffect(() => { - (async () => { - const walletsSub = onboard.state.select("wallets"); - const { unsubscribe } = walletsSub.subscribe((wallets) => { - const connectedWallets = wallets.map(({ label }) => label); - ls.set(web3onboardKey, connectedWallets); - }); - - const previouslyConnectedWallets = ls.get(web3onboardKey) || []; - - if (previouslyConnectedWallets) { - // You can also auto connect "silently" and disable all onboard modals to avoid them flashing on page load - await onboard.connectWallet({ - autoSelect: { - label: previouslyConnectedWallets[0], - disableModals: true, - }, - }); - } - })(); - }, []); - - useEffect(() => { - setEthersProvider({ - provider: wallet?.provider, - useConnectWallet, - setChain: onboard.setChain, - }); - }, [wallet]); - - return ethersProvider; - } -); diff --git a/src/components/current/widgets/nearBos/data/web3.tsx b/src/components/current/widgets/nearBos/data/web3.tsx new file mode 100644 index 000000000..cb935f8d7 --- /dev/null +++ b/src/components/current/widgets/nearBos/data/web3.tsx @@ -0,0 +1,287 @@ +import { singletonHook } from "react-singleton-hook"; +import { useEffect, useState } from "react"; + +import ls from "local-storage"; +// import icon from "../images/near_social_icon.svg"; + +import { EIP1193Provider, EIP1193ProviderRpcError } from "viem"; + +// const web3onboardKey = "web3-onboard:connectedWallets"; + +// const wcV1InitOptions = { +// qrcodeModalOptions: { +// mobileLinks: ["metamask", "argent", "trust"], +// }, +// connectFirstChainId: true, +// }; + +// const walletConnect = walletConnectModule(wcV1InitOptions); +// const ledger = ledgerModule(); +// const injected = injectedModule(); + +// // initialize Onboard +// export const onboard = init({ +// wallets: [injected], +// chains: [ +// { +// id: 1, +// token: "ETH", +// label: "Ethereum Mainnet", +// rpcUrl: "https://rpc.ankr.com/eth", +// }, +// { +// id: 3, +// token: "ETH", +// label: "Ropsten - Ethereum Testnet", +// rpcUrl: "https://rpc.ankr.com/eth_ropsten", +// }, +// { +// id: 5, +// token: "ETH", +// label: "Goerli - Ethereum Testnet", +// rpcUrl: "https://rpc.ankr.com/eth_goerli", +// }, +// { +// id: 10, +// token: "ETH", +// label: "Optimism", +// rpcUrl: "https://rpc.ankr.com/optimism", +// }, +// { +// id: 420, +// token: "ETH", +// label: "Optimism Goerli Testnet", +// rpcUrl: "https://optimism-goerli.publicnode.com", +// }, +// { +// id: 56, +// token: "BNB", +// label: "Binance Smart Chain Mainnet", +// rpcUrl: "https://bsc.publicnode.com", +// }, +// { +// id: 97, +// token: "tBNB", +// label: "Binance Smart Chain Testnet", +// rpcUrl: "https://bsc-testnet.publicnode.com", +// }, +// { +// id: 1313161554, +// token: "ETH", +// label: "Aurora Mainnet", +// rpcUrl: "https://mainnet.aurora.dev", +// }, +// { +// id: 1313161555, +// token: "ETH", +// label: "Aurora Testnet", +// rpcUrl: "https://testnet.aurora.dev", +// }, +// { +// id: 137, +// token: "MATIC", +// label: "Polygon Mainnet", +// rpcUrl: "https://rpc.ankr.com/polygon", +// }, +// { +// id: 80001, +// token: "MATIC", +// label: "Polygon Testnet Mumbai", +// rpcUrl: "https://rpc.ankr.com/polygon_mumbai", +// }, +// { +// id: 280, +// token: "ETH", +// label: "zkSync Era Testnet", +// rpcUrl: "https://testnet.era.zksync.dev", +// }, +// { +// id: 324, +// token: "ETH", +// label: "zkSync Era Mainnet", +// rpcUrl: "https://zksync2-mainnet.zksync.io", +// }, +// { +// id: 1101, +// token: "ETH", +// label: "Polygon zkEVM", +// rpcUrl: "https://zkevm-rpc.com", +// }, +// { +// id: 1442, +// token: "ETH", +// label: "Polygon zkEVM Testnet", +// rpcUrl: "https://rpc.public.zkevm-test.net", +// }, +// { +// id: 42161, +// token: "ETH", +// label: "Arbitrum One Mainnet", +// rpcUrl: "https://arb1.arbitrum.io/rpc", +// }, +// { +// id: 42170, +// token: "ETH", +// label: "Arbitrum Nova", +// rpcUrl: "https://nova.arbitrum.io/rpc", +// }, +// { +// id: 421613, +// token: "AGOR", +// label: "Arbitrum Goerli", +// rpcUrl: "https://goerli-rollup.arbitrum.io/rpc", +// }, +// { +// id: 25, +// token: "CRO", +// label: "Cronos Mainnet Beta", +// rpcUrl: "https://evm.cronos.org", +// }, +// { +// id: 338, +// token: "TCRO", +// label: "Cronos Testnet", +// rpcUrl: "https://evm-t3.cronos.org", +// }, +// { +// id: 100, +// token: "XDAI", +// label: "Gnosis", +// rpcUrl: "https://rpc.ankr.com/gnosis", +// }, +// { +// id: 10200, +// token: "XDAI", +// label: "Gnosis Chiado Testnet", +// rpcUrl: "https://rpc.chiadochain.net", +// }, +// { +// id: 42220, +// token: "CELO", +// label: "Celo Mainnet", +// rpcUrl: "https://rpc.ankr.com/celo", +// }, +// { +// id: 44787, +// token: "CELO", +// label: "Celo Alfajores Testnet", +// rpcUrl: "https://alfajores-forno.celo-testnet.org", +// }, +// { +// id: 43114, +// token: "AVAX", +// label: "Avalanche C-Chain", +// rpcUrl: "https://rpc.ankr.com/avalanche", +// }, +// { +// id: 43113, +// token: "AVAX", +// label: "Avalanche Fuji Testnet", +// rpcUrl: "https://rpc.ankr.com/avalanche_fuji", +// }, +// { +// id: 250, +// token: "FTM", +// label: "Fantom Opera", +// rpcUrl: "https://rpc.ankr.com/fantom", +// }, +// { +// id: 4002, +// token: "FTM", +// label: "Fantom Testnet", +// rpcUrl: "https://rpc.ankr.com/fantom_testnet", +// }, +// { +// id: 1284, +// token: "GLMR", +// label: "Moonbeam", +// rpcUrl: "https://rpc.ankr.com/moonbeam", +// }, +// { +// id: 61, +// token: "ETC", +// label: "Ethereum Classic Mainnet", +// rpcUrl: "https://etc.rivet.link", +// }, +// { +// id: 84531, +// token: "ETH", +// label: "Base Goerli Testnet", +// rpcUrl: "https://goerli.base.org", +// }, +// { +// id: 8453, +// token: "ETH", +// label: "Base Mainnet", +// rpcUrl: "https://mainnet.base.org", +// }, +// ], +// appMetadata: { +// name: "NEAR Social", +// icon: './images/near_social_icon.svg', +// description: "NEAR Social", +// }, +// theme: "dark", +// containerElements: { +// // connectModal: '#near-social-navigation-bar', +// // accountCenter: "#near-social-web3-account", +// }, +// }); + +const defaultEthersProviderContext = { + provider: undefined , + useConnectWallet: () => [{}], // [{ wallet, connecting }, connect, disconnect] + setChain: ()=> null, +}; + +interface WalletModule { + label: string; + getIcon: () => Promise; + getInterface: (helpers: any) => Promise; +} +type WalletInterface = { + provider: EIP1193Provider; + instance?: unknown; +}; +const walletModuleShim = (provider: EIP1193Provider): WalletModule => { + const label = 'default'; + return { + label, + getIcon: () => Promise.resolve(''), + getInterface: () => Promise.resolve({ provider }), + }; +}; + +export const useEthersProviderContext = singletonHook( + defaultEthersProviderContext, + () => { + // const [{ wallet }] = useConnectWallet(); + const [ethersProvider, setEthersProvider] = useState( + defaultEthersProviderContext + ); + + const provider:any = getProvider(); + + const useConnectWallet = () => [ + { wallet: + { + label: 'default', + getIcon: () => Promise.resolve(''), + getInterface: () => Promise.resolve({ provider }), + }, + connecting: false }, + ()=>console.log('connect'), + disconnect, + ]; // [{ wallet, connecting }, connect, disconnect] + + useEffect(() => { + setEthersProvider({ + provider, + useConnectWallet, + setChain: () => null, + }); + }, [provider]); + + return ethersProvider; + } +); From 86ab18d4ac79045dc2ea90ca740e47f8f70207bc Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Thu, 14 Sep 2023 16:42:45 +0100 Subject: [PATCH 09/89] upgrade packages --- package.json | 4 +- yarn.lock | 367 +++++++++++++++++++++++++++------------------------ 2 files changed, 193 insertions(+), 178 deletions(-) diff --git a/package.json b/package.json index db14afaca..c3c9b6f92 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@liquity/lib-base": "^3.0.0", "@liquity/lib-ethers": "^3.4.0", "@next/font": "13.1.2", - "@rainbow-me/rainbowkit": "^0.12.0", + "@rainbow-me/rainbowkit": "^1.0.11", "@types/node": "18.11.18", "@types/react": "18.0.27", "@types/react-dom": "18.0.10", @@ -60,7 +60,7 @@ "swr": "^2.0.4", "typescript": "^5.2.2", "viem": "^1.9.3", - "wagmi": "^0.12.0", + "wagmi": "^1.4.1", "zksync-web3": "^0.14.3" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index e349a3b98..108896a8b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1689,8 +1689,8 @@ __metadata: linkType: hard "@coinbase/wallet-sdk@npm:^3.6.6": - version: 3.7.1 - resolution: "@coinbase/wallet-sdk@npm:3.7.1" + version: 3.7.2 + resolution: "@coinbase/wallet-sdk@npm:3.7.2" dependencies: "@metamask/safe-event-emitter": 2.0.0 "@solana/web3.js": ^1.70.1 @@ -1709,7 +1709,7 @@ __metadata: sha.js: ^2.4.11 stream-browserify: ^3.0.0 util: ^0.12.4 - checksum: e88c656d08c06d42dcd03006c62162705a7c7dc27171ee721910f76c15c995f0482a314057a582af6e9548e6f49e4a1aff22f33685a33535c9b2550a615efbaf + checksum: d42a7b7e443942f657f636eede671979024308c6713af68f774309c04c0e1974cdbfe83514adebf4c0bcdb84adce6a026e5a92b5cff35e08eb1fb0772b1ec7e5 languageName: node linkType: hard @@ -3070,7 +3070,7 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/connect-kit-loader@npm:^1.0.1": +"@ledgerhq/connect-kit-loader@npm:^1.1.0": version: 1.1.2 resolution: "@ledgerhq/connect-kit-loader@npm:1.1.2" checksum: 614fdd9ac2363da60af667adcfe4721f863d8ea06ee45a08192a162c28e806dc07491bee4833d14def74de673eac1f1450eaf67e783c8c28da4e0cd095b4474a @@ -4193,9 +4193,9 @@ __metadata: languageName: node linkType: hard -"@rainbow-me/rainbowkit@npm:^0.12.0": - version: 0.12.18 - resolution: "@rainbow-me/rainbowkit@npm:0.12.18" +"@rainbow-me/rainbowkit@npm:^1.0.11": + version: 1.0.11 + resolution: "@rainbow-me/rainbowkit@npm:1.0.11" dependencies: "@vanilla-extract/css": 1.9.1 "@vanilla-extract/dynamic": 2.0.2 @@ -4204,11 +4204,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.19 <1.0.0" - checksum: 067f5c93ce48b6e5d6971b2819170ddcf90b2dabf092600a14e50557f84272efeb67a0b89fc79c1a3cad631b6ba68ae9a7f3bc0c7ec4c2c7c25e1dedb09d7913 + viem: ~0.3.19 || ^1.0.0 + wagmi: ~1.0.1 || ~1.1.0 || ~1.2.0 || ~1.3.0 || ~1.4.0 + checksum: a8d0be75d88ed97694b165ac76408ff8e2721aed6d1fbda101111e2accb674e7c63f2e2dcdae958cf3dda1f269a6d5740a7d0835fcd420dc39703e34c4375f49 languageName: node linkType: hard @@ -4219,33 +4219,33 @@ __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" +"@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: 439cea5e486e85619c78c876bdbb81544d54c47af24e9633b7e0bd49cb0b25d260f02de573e734cd5bf767c8188bc60729880e30c86785c7e7dd22f0dbd5d0dd + viem: ^1.0.0 + checksum: 07295c44afa4d85fbc9419b4baac56b4fb493816d4438d6956842261e0689fdcea639ab86b39ee693c456fddace17b6c556c77a637892634a57de96f6b00b0c3 languageName: node linkType: hard -"@safe-global/safe-apps-sdk@npm:^7.9.0": - version: 7.11.0 - resolution: "@safe-global/safe-apps-sdk@npm:7.11.0" +"@safe-global/safe-apps-sdk@npm:^8.0.0": + version: 8.1.0 + resolution: "@safe-global/safe-apps-sdk@npm:8.1.0" dependencies: "@safe-global/safe-gateway-typescript-sdk": ^3.5.3 - ethers: ^5.7.2 - checksum: 8ada9c238fa485a12f0ecac14aa0c0497635f118c03537980e4ab32da7e8bfd7f01e25cfa1aaac28842e9e27d0d12598aaca943e342d94db305d2b6b9a65df9e + viem: ^1.0.0 + checksum: e9d31ed6d9cd2cd9ed71ef5a0e1f6ecfca9f0c62acb9b86a0ddb1b65a609090f2297c4304591ac0518b266a1bcc88d1dad31b0d05e50c7732accccb65adab754 languageName: node linkType: hard @@ -4367,8 +4367,8 @@ __metadata: linkType: hard "@solana/web3.js@npm:^1.70.1": - version: 1.78.4 - resolution: "@solana/web3.js@npm:1.78.4" + version: 1.78.5 + resolution: "@solana/web3.js@npm:1.78.5" dependencies: "@babel/runtime": ^7.22.6 "@noble/curves": ^1.0.0 @@ -4385,7 +4385,7 @@ __metadata: node-fetch: ^2.6.12 rpc-websockets: ^7.5.1 superstruct: ^0.14.2 - checksum: e1c44c6cbec87cdfd4d6d23b4241b746e14ed3a9ca73d596693758d91ac825cecf579345da3b0b7bb5e54b6794791bc0eac02cadf11f1ec79e859b6536f26f11 + checksum: 66fe4ddcc073d0c539e23a2aae3ba23c081a11f5ebc8216dd18e0c6770f20e419c635a50529faa59baeec9722cd521a3502abc7cdf3b3d5f31b32066e0415c24 languageName: node linkType: hard @@ -5913,47 +5913,47 @@ __metadata: languageName: node linkType: hard -"@tanstack/query-core@npm:4.35.0": - version: 4.35.0 - resolution: "@tanstack/query-core@npm:4.35.0" - checksum: 7a6f24164bce5d7367e2bb58f94380d9608bf4df2726e4e8b0e4f42e84d40cc7883baab2127c0c7e8eaa5c4d444a80c1e5f6e7930d21768a863c82baf22a75d4 +"@tanstack/query-core@npm:4.35.3": + version: 4.35.3 + resolution: "@tanstack/query-core@npm:4.35.3" + checksum: 0184cd19a26c4f96d05bbebd7966866741d46e5be19ac99d8cd6e5bbeb6550f257e7b52b674fb2673190696e113dd601422d196bf4870b58b4d2e2edf4307e92 languageName: node linkType: hard -"@tanstack/query-persist-client-core@npm:4.35.0": - version: 4.35.0 - resolution: "@tanstack/query-persist-client-core@npm:4.35.0" +"@tanstack/query-persist-client-core@npm:4.35.3": + version: 4.35.3 + resolution: "@tanstack/query-persist-client-core@npm:4.35.3" dependencies: - "@tanstack/query-core": 4.35.0 - checksum: fcc1c61500f0737a5dd98ff51bc7d46cf366952e4279e5059807b266168c14c82d8161249c9c3db99392e8517138f243b33983534e220e58a589e5387fd35675 + "@tanstack/query-core": 4.35.3 + checksum: c48f33936216e0ddbeb7fb0ed4242bb24a4086f4d719547a0f12461293a039b6fc9586056f5d3d8894c2043a014a614f155af8705f539edea633f7403ff7f5b6 languageName: node linkType: hard "@tanstack/query-sync-storage-persister@npm:^4.27.1": - version: 4.35.0 - resolution: "@tanstack/query-sync-storage-persister@npm:4.35.0" + version: 4.35.3 + resolution: "@tanstack/query-sync-storage-persister@npm:4.35.3" dependencies: - "@tanstack/query-persist-client-core": 4.35.0 - checksum: bfb6e19aae9aa9310ecada297a9c8293042ab0052f8ad1d3c5cb711ca885afd4674517942aa7ef94c7564fae777bc51903b0fe2fcc1092b5685b2cc1824b2d1b + "@tanstack/query-persist-client-core": 4.35.3 + checksum: 17865d295d6f7092642adf8282174c059ae459226f84ccf90c4de9d0f7e1116e1db8da7e0ad2e9ebd9acba90057b673703bf4cc22bbf3813bc4bdccdfb3b6973 languageName: node linkType: hard "@tanstack/react-query-persist-client@npm:^4.28.0": - version: 4.35.0 - resolution: "@tanstack/react-query-persist-client@npm:4.35.0" + version: 4.35.3 + resolution: "@tanstack/react-query-persist-client@npm:4.35.3" dependencies: - "@tanstack/query-persist-client-core": 4.35.0 + "@tanstack/query-persist-client-core": 4.35.3 peerDependencies: - "@tanstack/react-query": ^4.35.0 - checksum: 5dc3121e1e31aa0c21cbb33808856d75f87a08b0ba735e55bcc662a6a0590c813ed15e440ee862da22e1399bf10f20509b869fca334dc7f0a0e08bc5438e1b12 + "@tanstack/react-query": ^4.35.3 + checksum: 1f8d5630c34b177341443e34dcc2ce916e9888af9b975a8d3de899fa14a8125abde7009299f5529ab5d1d5de5341ece2b6c68acfe6546e5f83efa39988e8d36e languageName: node linkType: hard "@tanstack/react-query@npm:^4.28.0": - version: 4.35.0 - resolution: "@tanstack/react-query@npm:4.35.0" + version: 4.35.3 + resolution: "@tanstack/react-query@npm:4.35.3" dependencies: - "@tanstack/query-core": 4.35.0 + "@tanstack/query-core": 4.35.3 use-sync-external-store: ^1.2.0 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -5964,7 +5964,7 @@ __metadata: optional: true react-native: optional: true - checksum: d3a140a010f0266eca9dae83c4995f2b541ceb8cafafd7247c5c17ec4e09416d2f2a88450f23ebab45c132125e4e4222e77a69354c0dd5d459170c7a24f1b172 + checksum: 4d7e4e6a8466095848d2924fdbcd2d22a36b53e2d0f79a7dec121c8d7af36ff857b1bae5a7b802f3a399922c9c9f38f2a06372b1fc7b1d5de960e78fa1d3d722 languageName: node linkType: hard @@ -7007,84 +7007,69 @@ __metadata: languageName: node linkType: hard -"@wagmi/chains@npm:0.2.22": - version: 0.2.22 - resolution: "@wagmi/chains@npm:0.2.22" - peerDependencies: - typescript: ">=4.9.4" - peerDependenciesMeta: - typescript: - optional: true - checksum: a8fdbce18f2ed8cce6c765828b78ef59756e3d4dc858af07f42827e78d8ab5b4ab3da2c79cd7cd3f534a6b27edd5bb5f764e6250394b4ae6aa0a055b7bdc518a - languageName: node - linkType: hard - -"@wagmi/connectors@npm:0.3.24": - version: 0.3.24 - resolution: "@wagmi/connectors@npm:0.3.24" +"@wagmi/connectors@npm:3.1.1": + version: 3.1.1 + resolution: "@wagmi/connectors@npm:3.1.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.9.0 + "@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.10.0 "@walletconnect/legacy-provider": ^2.0.0 - "@walletconnect/modal": ^2.5.9 - abitype: ^0.3.0 + "@walletconnect/modal": 2.6.1 + "@walletconnect/utils": 2.10.0 + abitype: 0.8.7 eventemitter3: ^4.0.7 peerDependencies: - "@wagmi/core": ">=0.9.x" - ethers: ">=5.5.1 <6" - typescript: ">=4.9.4" + typescript: ">=5.0.4" + viem: ">=0.3.35" peerDependenciesMeta: - "@wagmi/core": - optional: true typescript: optional: true - checksum: ba55e9ed5534b5565b439d8bc98b0a483f5756abdfd19b9d5f068906f8d2132807b64cb3c8e504cfa68098a4d55b908b4a89055049846a0b4791356d1906faba + checksum: bd88703e7967d0293d08774a73b6f5e09c35a7097c1c19598eabd3010fde33d74238c77eeb739a4409e82cde565a3bb42d94ef3c441a1e822d5e164483c81275 languageName: node linkType: hard -"@wagmi/core@npm:0.10.17": - version: 0.10.17 - resolution: "@wagmi/core@npm:0.10.17" +"@wagmi/core@npm:1.4.1": + version: 1.4.1 + resolution: "@wagmi/core@npm:1.4.1" dependencies: - "@wagmi/chains": 0.2.22 - "@wagmi/connectors": 0.3.24 - abitype: ^0.3.0 + "@wagmi/connectors": 3.1.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: 50a0d5041b7b1ce123105e3833b2a3a57f2c2a71f28c73500038fa6d13d2891835e953e81f5d751c30dec345bcd680b88620dbc420b480a7fcd4099323e5211c + checksum: 9c3d5cf6022890d4eebd20e014ab7a2d3e3e7c7b22b8e0bfae2241ad6e4731a35303dfacae702872c3f5efc31cf523a029ca49bfa96db6be5350fa4ea464746f languageName: node linkType: hard -"@walletconnect/core@npm:2.9.0": - version: 2.9.0 - resolution: "@walletconnect/core@npm:2.9.0" +"@walletconnect/core@npm:2.10.0": + version: 2.10.0 + resolution: "@walletconnect/core@npm:2.10.0" dependencies: "@walletconnect/heartbeat": 1.2.1 "@walletconnect/jsonrpc-provider": 1.0.13 "@walletconnect/jsonrpc-types": 1.0.3 "@walletconnect/jsonrpc-utils": 1.0.8 - "@walletconnect/jsonrpc-ws-connection": 1.0.12 + "@walletconnect/jsonrpc-ws-connection": 1.0.13 "@walletconnect/keyvaluestorage": ^1.0.2 "@walletconnect/logger": ^2.0.1 "@walletconnect/relay-api": ^1.0.9 "@walletconnect/relay-auth": ^1.0.4 "@walletconnect/safe-json": ^1.0.2 "@walletconnect/time": ^1.0.2 - "@walletconnect/types": 2.9.0 - "@walletconnect/utils": 2.9.0 + "@walletconnect/types": 2.10.0 + "@walletconnect/utils": 2.10.0 events: ^3.3.0 lodash.isequal: 4.5.0 uint8arrays: ^3.1.0 - checksum: c2cba1746e9679bd03e55ecfbf8c0339d3122ee31e87e8a690778263ff5c8c371ab5301445da2139711e6522d33946e9fbf640e5238241b2b2e7a394b23c2a00 + checksum: 5ad207b07ef651d143a9305e8f3a96b8c50e186b7144387c8e54d826d24cf7fdc86ab333e44b2c2d8bf1c4aa48744586cb69b783ae64c86c3dc5355750f17bf2 languageName: node linkType: hard @@ -7122,25 +7107,25 @@ __metadata: languageName: node linkType: hard -"@walletconnect/ethereum-provider@npm:2.9.0": - version: 2.9.0 - resolution: "@walletconnect/ethereum-provider@npm:2.9.0" +"@walletconnect/ethereum-provider@npm:2.10.0": + version: 2.10.0 + resolution: "@walletconnect/ethereum-provider@npm:2.10.0" 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.9.0 - "@walletconnect/types": 2.9.0 - "@walletconnect/universal-provider": 2.9.0 - "@walletconnect/utils": 2.9.0 + "@walletconnect/sign-client": 2.10.0 + "@walletconnect/types": 2.10.0 + "@walletconnect/universal-provider": 2.10.0 + "@walletconnect/utils": 2.10.0 events: ^3.3.0 peerDependencies: "@walletconnect/modal": ">=2" peerDependenciesMeta: "@walletconnect/modal": optional: true - checksum: 9d2fe058b0bf278c4468240de64552f355683542c6e3b3881c4e82a006c53ce3981e36719f82836eeac8eb9137143368fa94e50b32c0fa270f04159eb3dc69b5 + checksum: 3cfb919636d0b12b8944516837f3fefad8d1e07195aadb20d97fcdfe89dd1def3824c4bffdc56f377e9c93b8f7b14e093e722bbeddfef743eada545cc5ef8f00 languageName: node linkType: hard @@ -7209,16 +7194,16 @@ __metadata: languageName: node linkType: hard -"@walletconnect/jsonrpc-ws-connection@npm:1.0.12": - version: 1.0.12 - resolution: "@walletconnect/jsonrpc-ws-connection@npm:1.0.12" +"@walletconnect/jsonrpc-ws-connection@npm:1.0.13": + version: 1.0.13 + resolution: "@walletconnect/jsonrpc-ws-connection@npm:1.0.13" dependencies: "@walletconnect/jsonrpc-utils": ^1.0.6 "@walletconnect/safe-json": ^1.0.2 events: ^3.3.0 tslib: 1.14.1 ws: ^7.5.1 - checksum: 937811d8d9d56064b2c1676e2d3f00cb4c0aaba2e359391ff93d83836b5e9fd2215fe6e9d435504df99924575f4c796f1e382a40c492f9b6b0da846aef674e05 + checksum: f2253b17564f7622e69b1252830f05efdf7f4d58b120adb3a3e950c2087845171c912307c39948d0b869aa8610688b83f54f54de4657091f7431aea95a59f8b9 languageName: node linkType: hard @@ -7320,34 +7305,34 @@ __metadata: languageName: node linkType: hard -"@walletconnect/modal-core@npm:2.6.2": - version: 2.6.2 - resolution: "@walletconnect/modal-core@npm:2.6.2" +"@walletconnect/modal-core@npm:2.6.1": + version: 2.6.1 + resolution: "@walletconnect/modal-core@npm:2.6.1" dependencies: - valtio: 1.11.2 - checksum: 94daceba50c323b06ecbeac2968d9f0972f327359c6118887c6526cd64006249b12f64322d71bc6c4a2b928436ecc89cf3d3af706511fcdc264c1f4b34a2dd5d + valtio: 1.11.0 + checksum: 3c1dcb865cc0737bb0e77b7103bde7167e64a8790c628427814b825dafa133c7cb3baf5184314de35a2dbd743a3b0978ef4abc86c3bb63d051f8368e3bdba67a languageName: node linkType: hard -"@walletconnect/modal-ui@npm:2.6.2": - version: 2.6.2 - resolution: "@walletconnect/modal-ui@npm:2.6.2" +"@walletconnect/modal-ui@npm:2.6.1": + version: 2.6.1 + resolution: "@walletconnect/modal-ui@npm:2.6.1" dependencies: - "@walletconnect/modal-core": 2.6.2 - lit: 2.8.0 + "@walletconnect/modal-core": 2.6.1 + lit: 2.7.6 motion: 10.16.2 qrcode: 1.5.3 - checksum: cd1ec0205eb491e529670599d3dd26f6782d7c5a99d5594bf6949a8c760c1c5f4eb6ed72b8662450774fe4e2dd47678f2c05145c8f2494bd7153446ddf4bd7ed + checksum: 34408c784659564ef57fe59227f5f0a307ec34dc9e73c6c7b72e4c03054024ffbbf1d4ed73425a2606c978aaa3518629eba61adf3fc31263d80a4c13cf1c77d2 languageName: node linkType: hard -"@walletconnect/modal@npm:^2.5.9": - version: 2.6.2 - resolution: "@walletconnect/modal@npm:2.6.2" +"@walletconnect/modal@npm:2.6.1": + version: 2.6.1 + resolution: "@walletconnect/modal@npm:2.6.1" dependencies: - "@walletconnect/modal-core": 2.6.2 - "@walletconnect/modal-ui": 2.6.2 - checksum: 68b354d49960b96d22de0e47a3801df27c01a3e96ec5fbde3ca6df1344ca2b20668b0c4d58fe1803f5670ac7b7b4c6f5b7b405e354f5f9eaff5cca147c13de9c + "@walletconnect/modal-core": 2.6.1 + "@walletconnect/modal-ui": 2.6.1 + checksum: f48107abe4594b3a6849a4eae1a3fb9fb37ded25ef390c084e9098ceed58ace1bcb723abfa15027b462d75226a907bbbfc1d48e1414f882b5d7f83903da617bb languageName: node linkType: hard @@ -7396,20 +7381,20 @@ __metadata: languageName: node linkType: hard -"@walletconnect/sign-client@npm:2.9.0": - version: 2.9.0 - resolution: "@walletconnect/sign-client@npm:2.9.0" +"@walletconnect/sign-client@npm:2.10.0": + version: 2.10.0 + resolution: "@walletconnect/sign-client@npm:2.10.0" dependencies: - "@walletconnect/core": 2.9.0 + "@walletconnect/core": 2.10.0 "@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.9.0 - "@walletconnect/utils": 2.9.0 + "@walletconnect/types": 2.10.0 + "@walletconnect/utils": 2.10.0 events: ^3.3.0 - checksum: fe35b9b15c62efc9702fd34e883f95dcdbda954ff27b628d2d3d3eb7cb904b0fd6ec9c33b64c314305ba7a4b669d37769e7b9e9a723a0a2cb6b57d6a45aa6171 + checksum: 2d9f30ad8b656b7942add2cba9f7a6b04928ecb058440b9dc1701e74c605e961b518cfef6bee249e7477d1033c05a3e16977b10ed658030bf3be0d135b09afd8 languageName: node linkType: hard @@ -7422,9 +7407,9 @@ __metadata: languageName: node linkType: hard -"@walletconnect/types@npm:2.9.0": - version: 2.9.0 - resolution: "@walletconnect/types@npm:2.9.0" +"@walletconnect/types@npm:2.10.0": + version: 2.10.0 + resolution: "@walletconnect/types@npm:2.10.0" dependencies: "@walletconnect/events": ^1.0.1 "@walletconnect/heartbeat": 1.2.1 @@ -7432,30 +7417,30 @@ __metadata: "@walletconnect/keyvaluestorage": ^1.0.2 "@walletconnect/logger": ^2.0.1 events: ^3.3.0 - checksum: 147bec3c89cd7194e6df7e3a59560c46bf5b0b8ef58e81f387b3bfeecaa3aecb04b4ac2dbffe11fe671ffdf2f1222178b2fac256ced39e9b3b56c21411362872 + checksum: b32006f192578e28cb5c1dbd757a47ff077e25ac3ea9c9d8fd95b174e47f7f8a76386db5aef52623cf6d349c9816d5cff752095af8d35d79a44a2a26a019839d languageName: node linkType: hard -"@walletconnect/universal-provider@npm:2.9.0": - version: 2.9.0 - resolution: "@walletconnect/universal-provider@npm:2.9.0" +"@walletconnect/universal-provider@npm:2.10.0": + version: 2.10.0 + resolution: "@walletconnect/universal-provider@npm:2.10.0" 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.9.0 - "@walletconnect/types": 2.9.0 - "@walletconnect/utils": 2.9.0 + "@walletconnect/sign-client": 2.10.0 + "@walletconnect/types": 2.10.0 + "@walletconnect/utils": 2.10.0 events: ^3.3.0 - checksum: 924a4de3d17ff04d33c0acbab4ca9ef5893c286d866a91e4c4734ef260473f1163b2ad6555911b891a4793545b7f042f221dce6278e3c95e4f0e224ab17d9857 + checksum: acb7a4e14e0c472577ae054a67e22cdb5ddc1cb6b6a404d2ca5ea733c459818ad1f013bfe04efa8cce45d693d29a4dc82b07dcb212d99371bc9012b28d087385 languageName: node linkType: hard -"@walletconnect/utils@npm:2.9.0": - version: 2.9.0 - resolution: "@walletconnect/utils@npm:2.9.0" +"@walletconnect/utils@npm:2.10.0": + version: 2.10.0 + resolution: "@walletconnect/utils@npm:2.10.0" dependencies: "@stablelib/chacha20poly1305": 1.0.1 "@stablelib/hkdf": 1.0.1 @@ -7465,13 +7450,13 @@ __metadata: "@walletconnect/relay-api": ^1.0.9 "@walletconnect/safe-json": ^1.0.2 "@walletconnect/time": ^1.0.2 - "@walletconnect/types": 2.9.0 + "@walletconnect/types": 2.10.0 "@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: 83592e6b793d16ddcaa7d904cc1a420b1a7240c9a5263a8ff7d7304f7f1194a2f98e1a69f68b10628e1178541c135d722d3844509678a88f6660c03a076eb755 + checksum: a1a99e062ce758d28cbbe286efd1fe47f98b5c936a429d2c42700135eb8672b747fdde08384ad5dbf3ec394a7fd7837bbe6d3be0f80445b949f336923517cfc2 languageName: node linkType: hard @@ -7709,31 +7694,31 @@ __metadata: languageName: node linkType: hard -"abitype@npm:0.9.8": - version: 0.9.8 - resolution: "abitype@npm:0.9.8" +"abitype@npm:0.8.7": + version: 0.8.7 + resolution: "abitype@npm:0.8.7" peerDependencies: typescript: ">=5.0.4" zod: ^3 >=3.19.1 peerDependenciesMeta: - typescript: - optional: true zod: optional: true - checksum: d7d887f29d6821e3f7a400de9620511b80ead3f85c5c87308aaec97965d3493e6687ed816e88722b4f512249bd66dee9e69231b49af0e1db8f69400a62c87cf6 + checksum: 4351466808969bcc73e5c535c3d96bb687ee2be0bccd48eba024c47e6cc248f0c8bd368f9e42dab35d39923e63b1349ade470f72812de27127968caf1a1426c9 languageName: node linkType: hard -"abitype@npm:^0.3.0": - version: 0.3.0 - resolution: "abitype@npm:0.3.0" +"abitype@npm:0.9.8": + version: 0.9.8 + resolution: "abitype@npm:0.9.8" peerDependencies: - typescript: ">=4.9.4" - zod: ">=3.19.1" + typescript: ">=5.0.4" + zod: ^3 >=3.19.1 peerDependenciesMeta: + typescript: + optional: true zod: optional: true - checksum: d7f604d917d0ffddc0a7865c24db78585d257202500a70b99c63da659fe299148778fcb78b31e9dbc2d213d69475880702cb05be22eaa0a49e22c73672dd97e1 + checksum: d7d887f29d6821e3f7a400de9620511b80ead3f85c5c87308aaec97965d3493e6687ed816e88722b4f512249bd66dee9e69231b49af0e1db8f69400a62c87cf6 languageName: node linkType: hard @@ -9429,7 +9414,7 @@ __metadata: "@liquity/lib-base": ^3.0.0 "@liquity/lib-ethers": ^3.4.0 "@next/font": 13.1.2 - "@rainbow-me/rainbowkit": ^0.12.0 + "@rainbow-me/rainbowkit": ^1.0.11 "@storybook/addon-essentials": ^7.0.12 "@storybook/addon-interactions": ^7.0.12 "@storybook/addon-links": ^7.0.12 @@ -9483,7 +9468,7 @@ __metadata: tailwindcss: ^3.2.4 typescript: ^5.2.2 viem: ^1.9.3 - wagmi: ^0.12.0 + wagmi: ^1.4.1 zksync-web3: ^0.14.3 languageName: unknown linkType: soft @@ -15661,7 +15646,7 @@ __metadata: languageName: node linkType: hard -"lit-html@npm:^2.8.0": +"lit-html@npm:^2.7.0, lit-html@npm:^2.8.0": version: 2.8.0 resolution: "lit-html@npm:2.8.0" dependencies: @@ -15670,7 +15655,18 @@ __metadata: languageName: node linkType: hard -"lit@npm:2.8.0, lit@npm:^2.1.3": +"lit@npm:2.7.6": + version: 2.7.6 + resolution: "lit@npm:2.7.6" + dependencies: + "@lit/reactive-element": ^1.6.0 + lit-element: ^3.3.0 + lit-html: ^2.7.0 + checksum: 984a7fb9c0fa387f20177a07de22ea1c9cdc01a7dc7cb1c400d1df5b43a8956908460482a3259ea173555c6f0f13457d2ddc5c84d4c365007afd86e7ca58b384 + languageName: node + linkType: hard + +"lit@npm:^2.1.3": version: 2.8.0 resolution: "lit@npm:2.8.0" dependencies: @@ -22383,21 +22379,18 @@ __metadata: languageName: node linkType: hard -"valtio@npm:1.11.2": - version: 1.11.2 - resolution: "valtio@npm:1.11.2" +"valtio@npm:1.11.0": + version: 1.11.0 + resolution: "valtio@npm:1.11.0" dependencies: proxy-compare: 2.5.1 use-sync-external-store: 1.2.0 peerDependencies: - "@types/react": ">=16.8" react: ">=16.8" peerDependenciesMeta: - "@types/react": - optional: true react: optional: true - checksum: cce2d9212aac9fc4bdeba2d381188cc831cfe8d2d03039024cfcd58ba1801f2a5b14d01c2bb21a2c9f12046d2ede64f1dd887175185f39bee553677a35592c30 + checksum: 77e42f5841054ba3e41b456fbb96b679eaeb6d9dbb46b7ce9aee6acf1352de73969858dea837a706c969ca908155d6cb97966e33be10b69b097744dd99b5174a languageName: node linkType: hard @@ -22448,6 +22441,28 @@ __metadata: languageName: node linkType: hard +"viem@npm:^1.0.0": + version: 1.10.13 + resolution: "viem@npm:1.10.13" + dependencies: + "@adraffy/ens-normalize": 1.9.4 + "@noble/curves": 1.2.0 + "@noble/hashes": 1.3.2 + "@scure/bip32": 1.3.2 + "@scure/bip39": 1.2.1 + "@types/ws": ^8.5.5 + abitype: 0.9.8 + isomorphic-ws: 5.0.0 + ws: 8.13.0 + peerDependencies: + typescript: ">=5.0.4" + peerDependenciesMeta: + typescript: + optional: true + checksum: cf5fddc3adafdf3f425011a0b5a94948fde892dee6b9223d9dee96f69671753908bab298da3599902f64a88762f5607453ad28d5302730ee351398c577f135a0 + languageName: node + linkType: hard + "viem@npm:^1.9.3": version: 1.10.9 resolution: "viem@npm:1.10.9" @@ -22477,24 +22492,24 @@ __metadata: languageName: node linkType: hard -"wagmi@npm:^0.12.0": - version: 0.12.19 - resolution: "wagmi@npm:0.12.19" +"wagmi@npm:^1.4.1": + version: 1.4.1 + resolution: "wagmi@npm:1.4.1" 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.17 - abitype: ^0.3.0 + "@wagmi/core": 1.4.1 + 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: b7d7c3b407160eb90e1fd5fc42bfeff067fde7ac5bb9d2516af2243ac53c2defc3af115499c9f0bbfe64967a11fecc545f8e1d792eac3fbabd8872d5bea01b3a + checksum: 3f8cba8776657f44e1c4c0a1985522c4f25e1f83ad837d448d4a768830df2585a44904cd859a5e1a9331a5f8dfa6980b27638431cf93b15cac8cca221827d1a2 languageName: node linkType: hard From 27bf57d7806ea37a71546fed1847e00536647e11 Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Thu, 14 Sep 2023 16:58:09 +0100 Subject: [PATCH 10/89] first pass --- package.json | 1 - .../current/widgets/uniswap/useUniswapQuote.tsx | 1 + src/components/devTools/MintButton.tsx | 4 ++-- src/contexts/ConnectionWrapper.tsx | 15 ++++++--------- src/hooks/useForkTools.ts | 10 +++++----- yarn.lock | 1 - 6 files changed, 14 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index c3c9b6f92..186be720d 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,6 @@ "date-fns": "^2.30.0", "eslint": "8.32.0", "eslint-config-next": "13.1.2", - "ethers": "^5.7.2", "graphql-request": "^6.1.0", "json-bigint": "^1.0.0", "next": "13.1.2", diff --git a/src/components/current/widgets/uniswap/useUniswapQuote.tsx b/src/components/current/widgets/uniswap/useUniswapQuote.tsx index be5c21979..ee2f3524f 100644 --- a/src/components/current/widgets/uniswap/useUniswapQuote.tsx +++ b/src/components/current/widgets/uniswap/useUniswapQuote.tsx @@ -22,6 +22,7 @@ interface UseUniswapQuoteRes { const useUniswapQuote = ({ baseTokenSymbol, quoteTokenSymbol, amount }: UseUniswapQuoteProps) => { const chainId = useChainId(); const provider = useProvider(); + const { isETH: baseTokenIsEth } = useToken(baseTokenSymbol); const { isETH: quoteTokenIsEth } = useToken(quoteTokenSymbol); const { data: baseTokenToUse } = useToken(baseTokenIsEth ? 'WETH' : baseTokenSymbol); diff --git a/src/components/devTools/MintButton.tsx b/src/components/devTools/MintButton.tsx index 75c72dfc4..02d793537 100644 --- a/src/components/devTools/MintButton.tsx +++ b/src/components/devTools/MintButton.tsx @@ -1,7 +1,7 @@ import { useEffect, useState } from 'react'; import { JsonRpcProvider } from '@ethersproject/providers'; import { ethers } from 'ethers'; -import { useAccount, useNetwork, useProvider } from 'wagmi'; +import { useAccount, useNetwork, usePublicClient } from 'wagmi'; import useBalance from '../cactiComponents/hooks/useBalance'; import { Button } from '../shared/Button'; @@ -11,7 +11,7 @@ export const MintButton = () => { const [isVisible, setVisible] = useState(false); const { chain } = useNetwork(); const { refetch } = useBalance(); - const provider = useProvider(); + const provider = usePublicClient(); useEffect(() => { if (!address || chain?.id != 1) setVisible(false); diff --git a/src/contexts/ConnectionWrapper.tsx b/src/contexts/ConnectionWrapper.tsx index 3dbec41e3..9d4cad491 100644 --- a/src/contexts/ConnectionWrapper.tsx +++ b/src/contexts/ConnectionWrapper.tsx @@ -10,9 +10,8 @@ import { lightTheme, } from '@rainbow-me/rainbowkit'; import axios from 'axios'; -import { Chain, WagmiConfig, configureChains, createClient, useEnsAvatar } from 'wagmi'; +import { Chain, WagmiConfig, configureChains, createConfig, useEnsAvatar } from 'wagmi'; import { goerli, zkSyncTestnet } from 'wagmi/chains'; -import { jsonRpcProvider } from 'wagmi/providers/jsonRpc'; import { publicProvider } from 'wagmi/providers/public'; import useCachedState from '@/hooks/useCachedState'; import { getBackendApiUrl } from '@/utils/backend'; @@ -20,14 +19,12 @@ import { GetSiweMessageOptions, RainbowKitSiweNextAuthProvider } from '@/utils/r import SettingsContext from './SettingsContext'; const ConnectionWrapper = ({ children, useSiwe = true }: any) => { - const queryClient = useQueryClient(); /* Use a fork url cached in the browser localStorage, else use the .env value */ const [forkUrl] = useCachedState( 'forkUrl', `https://rpc.tenderly.co/fork/${process.env.NEXT_PUBLIC_TENDERLY_FORK_ID}` ); - console.log('🦄 ~ file: ConnectionWrapper.tsx:29 ~ ConnectionWrapper ~ forkUrl:', forkUrl); const { settings: { experimentalUi }, @@ -48,7 +45,7 @@ const ConnectionWrapper = ({ children, useSiwe = true }: any) => { }, } as Chain; - const { chains, provider } = configureChains( + const { chains, publicClient, webSocketPublicClient } = configureChains( [mainnetFork, goerli, zkSyncTestnet], [publicProvider()] ); @@ -59,10 +56,10 @@ const ConnectionWrapper = ({ children, useSiwe = true }: any) => { chains, }); - const wagmiClient = createClient({ + const wagmiConfig = createConfig({ autoConnect: true, connectors, - provider, + publicClient, }); const getSiweMessageOptions: GetSiweMessageOptions = () => ({ @@ -102,7 +99,7 @@ const ConnectionWrapper = ({ children, useSiwe = true }: any) => { address: string | `0x${string}` | undefined; size: number; }) => { - const { data: ensImage } = useEnsAvatar({ address: address as `0x${string}` }); + const { data: ensImage } = useEnsAvatar(); return ensImage ? ( avatar ) : ( @@ -111,7 +108,7 @@ const ConnectionWrapper = ({ children, useSiwe = true }: any) => { }; return ( - + {useSiwe && ( Promise; fillEther: () => Promise; @@ -28,7 +28,7 @@ const useForkTools = (id?: string): ForkTools => { /* parameters from wagmi */ const { address: account } = useAccount(); const { refetch } = useBalance(); - const provider = useProvider(); + const provider = usePublicClient(); const forkProvider = useMemo( () => (forkUrl ? new ethers.providers.JsonRpcProvider(forkUrl) : undefined), [forkUrl] @@ -53,8 +53,8 @@ const useForkTools = (id?: string): ForkTools => { const getForkTimestamp = useCallback(async () => { if (!isForkedEnv || !provider) return; try { - const { timestamp } = await provider.getBlock('latest'); - console.log('Updated Forked Blockchain time: ', new Date(timestamp * 1000)); + const { timestamp } = await provider.getBlock(); + console.log('Updated Forked Blockchain time: ', timestamp); return timestamp; } catch (e) { console.log('Error getting latest timestamp', e); diff --git a/yarn.lock b/yarn.lock index 108896a8b..0d33a4a6b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9440,7 +9440,6 @@ __metadata: eslint: 8.32.0 eslint-config-next: 13.1.2 eslint-plugin-storybook: ^0.6.12 - ethers: ^5.7.2 graphql-request: ^6.1.0 json-bigint: ^1.0.0 next: 13.1.2 From ff3770a3bc86ba41aecf702cc91b0d0e50674124 Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Thu, 14 Sep 2023 17:23:56 +0100 Subject: [PATCH 11/89] updates --- src/components/cactiComponents/ActionResponse.tsx | 11 +++++------ .../cactiComponents/hooks/useAllowance.tsx | 2 +- src/components/cactiComponents/hooks/useApproval.tsx | 9 ++++----- src/components/cactiComponents/hooks/useBalance.ts | 12 ++++++------ .../cactiComponents/hooks/useEnsAvatar.tsx | 2 +- src/components/cactiComponents/hooks/useSubmitTx.tsx | 9 +++++---- .../current/containers/MultiStepContainer.tsx | 2 +- .../current/widgets/4626vault/DepositIntoVault.tsx | 5 ++--- .../current/widgets/4626vault/WithdrawFromVault.tsx | 5 ++--- src/components/current/widgets/dsr/DepositDSR.tsx | 5 ++--- src/components/current/widgets/dsr/RedeemDSR.tsx | 5 ++--- src/components/current/widgets/hop/HopBridge.tsx | 5 +++-- src/components/current/widgets/nft/BuyNft.tsx | 9 +++++---- src/components/current/widgets/transfer/Transfer.tsx | 4 ++-- .../current/widgets/tx-replay/TransactionReplay.tsx | 5 ++--- src/hooks/useInput.ts | 7 +++---- 16 files changed, 46 insertions(+), 51 deletions(-) diff --git a/src/components/cactiComponents/ActionResponse.tsx b/src/components/cactiComponents/ActionResponse.tsx index 074139737..909ded209 100644 --- a/src/components/cactiComponents/ActionResponse.tsx +++ b/src/components/cactiComponents/ActionResponse.tsx @@ -1,10 +1,8 @@ import { useEffect, useMemo, useState } from 'react'; import Skeleton from 'react-loading-skeleton'; -import { TransactionReceipt } from '@ethersproject/abstract-provider'; import { AddressZero } from '@ethersproject/constants'; import { CheckCircleIcon, ExclamationTriangleIcon } from '@heroicons/react/24/outline'; import { ConnectButton } from '@rainbow-me/rainbowkit'; -import { BigNumber, UnsignedTransaction } from 'ethers'; import { formatUnits } from 'ethers/lib/utils.js'; import tw from 'tailwind-styled-components'; import { useAccount } from 'wagmi'; @@ -14,6 +12,7 @@ import { ActionStepper } from './ActionStepper'; import useApproval, { ApprovalBasicParams } from './hooks/useApproval'; import useBalance from './hooks/useBalance'; import useSubmitTx, { TxBasicParams } from './hooks/useSubmitTx'; +import { TransactionReceipt } from 'viem'; export enum ActionResponseState { LOADING = 'LOADING', // background async checks @@ -52,7 +51,7 @@ type Action = { export type ActionResponseProps = { txParams: TxBasicParams | undefined; approvalParams: ApprovalBasicParams | undefined; - sendParams?: UnsignedTransaction | undefined; + sendParams?: any | undefined; // unsigned transaction type without ethers? label?: string; // label to show on button description?: string; // tx description (for wallet ) disabled?: boolean; @@ -84,13 +83,13 @@ export const ActionResponse = ({ approvalParams || { tokenAddress: AddressZero, spender: AddressZero, - approvalAmount: BigNumber.from(0), + approvalAmount: BigInt(0), skipApproval: true, // NOTE: approval is skipped if no approval params are passed in }, [approvalParams] ); const { data: token } = useToken(undefined, _approvalParams.tokenAddress); - const amountFmt = formatUnits(_approvalParams.approvalAmount, token?.decimals); + const amountFmt = formatUnits(_approvalParams.approvalAmount.toString(), token?.decimals); /** Check for the approval. If no approvalParams, hasAllowance === true and approveTx == undefined */ const { @@ -144,7 +143,7 @@ export const ActionResponse = ({ // check approval token balance if (balance && _approvalParams?.approvalAmount) - setHasEnoughBalance(balance.gte(_approvalParams.approvalAmount)); + setHasEnoughBalance(balance >= _approvalParams?.approvalAmount); }, [_approvalParams, balance, ethBal, sendParams?.value, skipBalanceCheck]); /** diff --git a/src/components/cactiComponents/hooks/useAllowance.tsx b/src/components/cactiComponents/hooks/useAllowance.tsx index 5609050a9..73cbc79a9 100644 --- a/src/components/cactiComponents/hooks/useAllowance.tsx +++ b/src/components/cactiComponents/hooks/useAllowance.tsx @@ -1,5 +1,5 @@ import { useQuery } from 'react-query'; -import { Address, erc20ABI, useAccount, useContract } from 'wagmi'; +import { Address, erc20ABI, useAccount } from 'wagmi'; import { readContract } from 'wagmi/actions'; import useChainId from '@/hooks/useChainId'; diff --git a/src/components/cactiComponents/hooks/useApproval.tsx b/src/components/cactiComponents/hooks/useApproval.tsx index 127bb46a5..fe6e0ebd4 100644 --- a/src/components/cactiComponents/hooks/useApproval.tsx +++ b/src/components/cactiComponents/hooks/useApproval.tsx @@ -1,7 +1,6 @@ import { useMemo } from 'react'; import { useQuery } from 'react-query'; import { AddressZero } from '@ethersproject/constants'; -import { BigNumber } from 'ethers'; import { erc20ABI, useContractWrite, useWaitForTransaction } from 'wagmi'; import { prepareWriteContract } from 'wagmi/actions'; import useChainId from '@/hooks/useChainId'; @@ -10,7 +9,7 @@ import { cleanValue } from '@/utils'; import useAllowance from './useAllowance'; export type ApprovalBasicParams = { - approvalAmount: BigNumber; + approvalAmount: bigint; tokenAddress: `0x${string}`; spender: `0x${string}`; skipApproval?: boolean; @@ -28,7 +27,7 @@ const useApproval = (params: ApprovalBasicParams) => { // cleanup the bignumber and convert back to a bignumber to avoid underlow errors; const amountToUse = useMemo( - () => BigNumber.from(cleanValue(approvalAmount.toString(), token?.decimals)), + () => BigInt(cleanValue(approvalAmount.toString(), token?.decimals)!), [approvalAmount, token?.decimals] ); @@ -64,7 +63,7 @@ const useApproval = (params: ApprovalBasicParams) => { refetchOnWindowFocus: false, }); - const { write: approveTx, data, isLoading: isWaitingOnUser } = useContractWrite(config); + const { write: approveTx, data, isLoading: isWaitingOnUser } = useContractWrite(config!); const { isError, @@ -78,7 +77,7 @@ const useApproval = (params: ApprovalBasicParams) => { const hasAllowance = useMemo(() => { if (!!params.skipApproval) return true; if (!allowanceAmount) return false; - return allowanceAmount.gte(amountToUse); + return allowanceAmount >= amountToUse; }, [allowanceAmount, amountToUse, params.skipApproval]); return { diff --git a/src/components/cactiComponents/hooks/useBalance.ts b/src/components/cactiComponents/hooks/useBalance.ts index d9390beed..82808a1c7 100644 --- a/src/components/cactiComponents/hooks/useBalance.ts +++ b/src/components/cactiComponents/hooks/useBalance.ts @@ -12,7 +12,7 @@ import useChainId from '@/hooks/useChainId'; */ const useBalance = ( tokenAddress?: `0x${string}`, - compareAmount?: BigNumber, + compareAmount?: bigint, erc1155TokenId?: string ) => { const chainId = useChainId(); @@ -42,7 +42,7 @@ const useBalance = ( chainId, abi: erc1155ABI, functionName: 'balanceOf', - args: [account, BigNumber.from(erc1155TokenId)], + args: [account, BigInt(erc1155TokenId) ], }); return erc1155Bal; } @@ -64,10 +64,10 @@ const useBalance = ( useEffect(() => { if (compareAmount && data) { setComparisons({ - isZero: data.isZero(), - isGTEcompared: data.gte(compareAmount), - isEQcompared: data.eq(compareAmount), - isLTcompared: data.lt(compareAmount), + isZero: data === BigInt(0), + isGTEcompared: data >= compareAmount, + isEQcompared: data === compareAmount, + isLTcompared: data < compareAmount, }); } }, [compareAmount, data, erc1155TokenId]); diff --git a/src/components/cactiComponents/hooks/useEnsAvatar.tsx b/src/components/cactiComponents/hooks/useEnsAvatar.tsx index 1f4e13a27..c51d0de0a 100644 --- a/src/components/cactiComponents/hooks/useEnsAvatar.tsx +++ b/src/components/cactiComponents/hooks/useEnsAvatar.tsx @@ -12,7 +12,7 @@ const useEnsAvatar = () => { queryFn: async () => address && (await fetchEnsAvatar({ - address, + name: address, // TODO check this! ? chainId, })), refetchOnWindowFocus: false, diff --git a/src/components/cactiComponents/hooks/useSubmitTx.tsx b/src/components/cactiComponents/hooks/useSubmitTx.tsx index 2f44f5377..3fa132f89 100644 --- a/src/components/cactiComponents/hooks/useSubmitTx.tsx +++ b/src/components/cactiComponents/hooks/useSubmitTx.tsx @@ -1,6 +1,5 @@ -import { useEffect, useState } from 'react'; +import { useEffect } from 'react'; import { toast } from 'react-toastify'; -import { TransactionReceipt } from '@ethersproject/abstract-provider'; import { useAddRecentTransaction } from '@rainbow-me/rainbowkit'; import { CallOverrides, Overrides, PayableOverrides, UnsignedTransaction } from 'ethers'; import { @@ -10,6 +9,7 @@ import { useWaitForTransaction, } from 'wagmi'; import useBalance from './useBalance'; +import { Transaction, TransactionReceipt } from 'viem/dist/types/types/transaction'; export type TxBasicParams = { address?: `0x${string}`; @@ -37,7 +37,7 @@ export const SEND_ETH_FNNAME = '8bb05f0e-05ed-11ee-be56-0242ac120002'; */ const useSubmitTx = ( params?: TxBasicParams, - sendParams?: UnsignedTransaction, + sendParams?: Transaction, onSuccess?: (receipt?: TransactionReceipt) => void, onError?: (receipt?: TransactionReceipt) => void, description?: string @@ -57,7 +57,8 @@ const useSubmitTx = ( /* prepare a send transaction if the fnName matches the SEND_TRANSACTION unique id */ const { config: sendConfig, isError: isPrepareError } = usePrepareSendTransaction({ - request: { ...(writeConfig.request ?? sendParams), gasLimit: sendParams?.gasLimit || 500000 }, + ...(writeConfig.request ?? sendParams), + // gasLimit: sendParams?.gasLimit || 500000 TODO add in gas limti? enabled: true, onError: (e) => console.log('prepare send error', e), }); diff --git a/src/components/current/containers/MultiStepContainer.tsx b/src/components/current/containers/MultiStepContainer.tsx index 32a0f53c4..5254d33bb 100644 --- a/src/components/current/containers/MultiStepContainer.tsx +++ b/src/components/current/containers/MultiStepContainer.tsx @@ -1,10 +1,10 @@ import { useEffect } from 'react'; -import { TransactionReceipt } from '@ethersproject/abstract-provider'; import { UnsignedTransaction } from 'ethers'; import { useChatContext } from '@/contexts/ChatContext'; import { ActionResponse, HeaderResponse } from '../../cactiComponents'; import { WidgetError } from '../widgets/helpers'; import { ConnectFirst } from '../widgets/helpers/ConnectFirst'; +import { TransactionReceipt } from 'viem'; interface MultiStepContainerProps { status: 'success' | 'error'; diff --git a/src/components/current/widgets/4626vault/DepositIntoVault.tsx b/src/components/current/widgets/4626vault/DepositIntoVault.tsx index a0092d055..98b636583 100644 --- a/src/components/current/widgets/4626vault/DepositIntoVault.tsx +++ b/src/components/current/widgets/4626vault/DepositIntoVault.tsx @@ -1,6 +1,4 @@ import { useMemo } from 'react'; -import { BigNumber } from 'ethers'; -import { parseUnits } from 'ethers/lib/utils.js'; import { Address, useAccount } from 'wagmi'; import ERC4626Abi from '@/abi/erc4626ABI.json'; import { ActionResponse, HeaderResponse, TextResponse } from '@/components/cactiComponents'; @@ -10,6 +8,7 @@ import useChainId from '@/hooks/useChainId'; import useToken from '@/hooks/useToken'; import { cleanValue } from '@/utils'; import { ConnectFirst } from '../helpers/ConnectFirst'; +import { parseUnits } from 'viem'; interface DepositVaultProps { amount: string; @@ -52,7 +51,7 @@ export const DepositVault = ({ depositToken, amount, vault }: DepositVaultProps) //TODO: Get the vault address const inputCleaned = cleanValue(amount.toString(), tokenIn?.decimals); - const amountIn = parseUnits(inputCleaned!, tokenIn?.decimals); + const amountIn = parseUnits(inputCleaned!, tokenIn?.decimals!); const params: DepositVaultParams = { assets: amountIn.toString(), diff --git a/src/components/current/widgets/4626vault/WithdrawFromVault.tsx b/src/components/current/widgets/4626vault/WithdrawFromVault.tsx index 6cdd29deb..b60c57a53 100644 --- a/src/components/current/widgets/4626vault/WithdrawFromVault.tsx +++ b/src/components/current/widgets/4626vault/WithdrawFromVault.tsx @@ -1,6 +1,4 @@ import { useMemo } from 'react'; -import { BigNumber } from 'ethers'; -import { parseUnits } from 'ethers/lib/utils.js'; import { Address, useAccount } from 'wagmi'; import ERC4626Abi from '@/abi/erc4626ABI.json'; import { ActionResponse, HeaderResponse, TextResponse } from '@/components/cactiComponents'; @@ -10,6 +8,7 @@ import useChainId from '@/hooks/useChainId'; import useToken from '@/hooks/useToken'; import { cleanValue } from '@/utils'; import { ConnectFirst } from '../helpers/ConnectFirst'; +import { parseUnits } from 'viem'; interface WithdrawVaultProps { amount: string; @@ -52,7 +51,7 @@ export const WithdrawVault = ({ withdrawToken, amount, vault }: WithdrawVaultPro //TODO: Get the vault address const inputCleaned = cleanValue(amount.toString(), tokenIn?.decimals); - const amountIn = parseUnits(inputCleaned!, tokenIn?.decimals); + const amountIn = parseUnits(inputCleaned!, tokenIn?.decimals!); const params: WithdrawVaultParams = { assets: amountIn.toString(), diff --git a/src/components/current/widgets/dsr/DepositDSR.tsx b/src/components/current/widgets/dsr/DepositDSR.tsx index bd40c1057..4edf8e394 100644 --- a/src/components/current/widgets/dsr/DepositDSR.tsx +++ b/src/components/current/widgets/dsr/DepositDSR.tsx @@ -1,6 +1,4 @@ import { useMemo } from 'react'; -import { BigNumber } from 'ethers'; -import { parseUnits } from 'ethers/lib/utils.js'; import { useAccount } from 'wagmi'; import ERC4626Abi from '@/abi/erc4626ABI.json'; import { ActionResponse, HeaderResponse, TextResponse } from '@/components/cactiComponents'; @@ -10,6 +8,7 @@ import useChainId from '@/hooks/useChainId'; import useToken from '@/hooks/useToken'; import { cleanValue } from '@/utils'; import { ConnectFirst } from '../helpers/ConnectFirst'; +import { parseUnits } from 'viem'; interface DepositDSRProps { depositAmount: string; @@ -32,7 +31,7 @@ export const DepositDSR = ({ depositAmount }: DepositDSRProps) => { const { data: tokenOut } = useToken(tokenOutSymbol); const inputCleaned = cleanValue(depositAmount.toString(), tokenIn?.decimals); - const amountIn = parseUnits(inputCleaned!, tokenIn?.decimals); + const amountIn = parseUnits(inputCleaned!, tokenIn?.decimals!); const params: DepositDSRParams = { assets: amountIn.toString(), diff --git a/src/components/current/widgets/dsr/RedeemDSR.tsx b/src/components/current/widgets/dsr/RedeemDSR.tsx index 44b8dd491..7a35850c8 100644 --- a/src/components/current/widgets/dsr/RedeemDSR.tsx +++ b/src/components/current/widgets/dsr/RedeemDSR.tsx @@ -1,6 +1,4 @@ import { useMemo } from 'react'; -import { BigNumber } from 'ethers'; -import { parseUnits } from 'ethers/lib/utils.js'; import { useAccount } from 'wagmi'; import ERC4626Abi from '@/abi/erc4626ABI.json'; import { ActionResponse, HeaderResponse, TextResponse } from '@/components/cactiComponents'; @@ -10,6 +8,7 @@ import useChainId from '@/hooks/useChainId'; import useToken from '@/hooks/useToken'; import { cleanValue } from '@/utils'; import { ConnectFirst } from '../helpers/ConnectFirst'; +import { parseUnits } from 'viem'; interface RedeemDSRProps { shares: string; @@ -35,7 +34,7 @@ export const RedeemDSR = ({ shares }: RedeemDSRProps) => { const { data: tokenOut } = useToken(tokenOutSymbol); const inputCleaned = cleanValue(shares.toString(), tokenIn?.decimals); - const amountIn = parseUnits(inputCleaned!, tokenIn?.decimals); + const amountIn = parseUnits(inputCleaned!, tokenIn?.decimals!); const params: RedeemDSRParams = { assets: amountIn.toString(), diff --git a/src/components/current/widgets/hop/HopBridge.tsx b/src/components/current/widgets/hop/HopBridge.tsx index d55871fd2..8e1630db0 100644 --- a/src/components/current/widgets/hop/HopBridge.tsx +++ b/src/components/current/widgets/hop/HopBridge.tsx @@ -1,12 +1,13 @@ import React, { useEffect, useState } from 'react'; import { Hop } from '@hop-protocol/sdk'; -import { Interface, UnsignedTransaction } from 'ethers/lib/utils'; import { erc20ABI } from 'wagmi'; import { ActionResponse, HeaderResponse, SingleLineResponse } from '@/components/cactiComponents'; import { ApprovalBasicParams } from '@/components/cactiComponents/hooks/useApproval'; import useInput from '@/hooks/useInput'; import useSigner from '@/hooks/useSigner'; import useToken from '@/hooks/useToken'; +import { Transaction } from 'viem'; +import { Interface } from 'ethers/lib/utils'; interface HopBridgeProps { inputString: string; @@ -22,7 +23,7 @@ const HopBridge = ({ inputString, tokenSymbol, toChain, fromChain }: HopBridgePr const { data: tokenIn } = useToken(tokenSymbol); const input = useInput(inputString, tokenIn?.symbol!); const [approvalParams, setApprovalParams] = useState(); - const [sendParams, setSendParams] = useState(); + const [sendParams, setSendParams] = useState(); const [error, setError] = useState(); useEffect(() => { diff --git a/src/components/current/widgets/nft/BuyNft.tsx b/src/components/current/widgets/nft/BuyNft.tsx index 027438a3c..0500b0d95 100644 --- a/src/components/current/widgets/nft/BuyNft.tsx +++ b/src/components/current/widgets/nft/BuyNft.tsx @@ -44,10 +44,11 @@ export const BuyNft = ({ // Simulate tx to re-verify if the NFT is for sale const { isError } = usePrepareContractWrite({ ...tx, - overrides: { - ...tx.overrides, - gasLimit: undefined, - }, + // overrides: { + // ...tx.overrides, + // gasLimit: undefined, + // }, + // ...tx.overrides }); const notForSale = !isForSale || isError; diff --git a/src/components/current/widgets/transfer/Transfer.tsx b/src/components/current/widgets/transfer/Transfer.tsx index b804b27a5..d81b892d6 100644 --- a/src/components/current/widgets/transfer/Transfer.tsx +++ b/src/components/current/widgets/transfer/Transfer.tsx @@ -1,10 +1,10 @@ import { AddressZero } from '@ethersproject/constants'; -import { parseUnits } from 'ethers/lib/utils.js'; import { erc20ABI, useAccount, useEnsAddress } from 'wagmi'; import { ActionResponse, HeaderResponse } from '@/components/cactiComponents'; import { SEND_ETH_FNNAME } from '@/components/cactiComponents/hooks/useSubmitTx'; import useToken from '@/hooks/useToken'; import { ConnectFirst } from '../helpers/ConnectFirst'; +import { parseUnits } from 'viem'; interface TransferWidgetProps { tokenSymbol: string; @@ -14,7 +14,7 @@ interface TransferWidgetProps { const Transfer = ({ tokenSymbol, amtString, receiver }: TransferWidgetProps) => { const { isETH, data: token } = useToken(tokenSymbol); - const amount = parseUnits(amtString, token?.decimals); + const amount = parseUnits(amtString, token?.decimals!); // Resolve ENS name const { data: receiverAddress } = useEnsAddress({ diff --git a/src/components/current/widgets/tx-replay/TransactionReplay.tsx b/src/components/current/widgets/tx-replay/TransactionReplay.tsx index 25ce2120e..75d44a23e 100644 --- a/src/components/current/widgets/tx-replay/TransactionReplay.tsx +++ b/src/components/current/widgets/tx-replay/TransactionReplay.tsx @@ -1,6 +1,5 @@ import React, { useCallback, useEffect, useState } from 'react'; -import { BigNumber, UnsignedTransaction, ethers } from 'ethers'; -import { decodeFunctionData } from 'viem'; +import { Transaction, decodeFunctionData } from 'viem'; import { Address, useTransaction } from 'wagmi'; import { ActionResponse, HeaderResponse, SingleLineResponse } from '@/components/cactiComponents'; import SkeletonWrap from '@/components/shared/SkeletonWrap'; @@ -14,7 +13,7 @@ interface TransactionReplayProps { const TransactionReplay = ({ txHash }: TransactionReplayProps) => { const { data, isLoading } = useTransaction({ hash: txHash }); const { data: abi } = useAbi(data?.to as Address | undefined); - const [sendParams, setSendParams] = useState(); + const [sendParams, setSendParams] = useState(); const [isError, setIsError] = useState(false); const explorerUrl = `https://etherscan.io/tx/${txHash}`; diff --git a/src/hooks/useInput.ts b/src/hooks/useInput.ts index 9c7200192..4e1d4a43b 100644 --- a/src/hooks/useInput.ts +++ b/src/hooks/useInput.ts @@ -1,11 +1,10 @@ import { useMemo } from 'react'; -import { BigNumber } from 'ethers'; -import { formatUnits, parseUnits } from 'ethers/lib/utils.js'; import { cleanValue } from '@/utils'; import useToken from './useToken'; +import { formatUnits, parseUnits } from 'viem'; type Input = { - value: BigNumber | undefined; + value: bigint | undefined; formatted: string | undefined; decimals: number; }; @@ -21,7 +20,7 @@ type Input = { const useInput = ( input: string, tokenSymbol: string, - mutate?: (inputBN: BigNumber) => BigNumber + mutate?: (inputBN: bigint) => bigint ) => { const { data: token } = useToken(tokenSymbol); From 5925d7218483c8808de51ea8f55e117fab8800bf Mon Sep 17 00:00:00 2001 From: marcomariscal Date: Thu, 14 Sep 2023 09:41:57 -0700 Subject: [PATCH 12/89] package: update viem --- package.json | 2 +- yarn.lock | 26 ++------------------------ 2 files changed, 3 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index 186be720d..f9ef332bc 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "siwe": "^2.1.4", "swr": "^2.0.4", "typescript": "^5.2.2", - "viem": "^1.9.3", + "viem": "^1.10.13", "wagmi": "^1.4.1", "zksync-web3": "^0.14.3" }, diff --git a/yarn.lock b/yarn.lock index 0d33a4a6b..5b51a9ac2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9466,7 +9466,7 @@ __metadata: tailwind-styled-components: ^2.2.0 tailwindcss: ^3.2.4 typescript: ^5.2.2 - viem: ^1.9.3 + viem: ^1.10.13 wagmi: ^1.4.1 zksync-web3: ^0.14.3 languageName: unknown @@ -22440,7 +22440,7 @@ __metadata: languageName: node linkType: hard -"viem@npm:^1.0.0": +"viem@npm:^1.0.0, viem@npm:^1.10.13": version: 1.10.13 resolution: "viem@npm:1.10.13" dependencies: @@ -22462,28 +22462,6 @@ __metadata: languageName: node linkType: hard -"viem@npm:^1.9.3": - version: 1.10.9 - resolution: "viem@npm:1.10.9" - dependencies: - "@adraffy/ens-normalize": 1.9.4 - "@noble/curves": 1.2.0 - "@noble/hashes": 1.3.2 - "@scure/bip32": 1.3.2 - "@scure/bip39": 1.2.1 - "@types/ws": ^8.5.5 - abitype: 0.9.8 - isomorphic-ws: 5.0.0 - ws: 8.13.0 - peerDependencies: - typescript: ">=5.0.4" - peerDependenciesMeta: - typescript: - optional: true - checksum: 7bf53044abff4ff703d518227921d9a56907be744a30750873231a442dcfdee485d9928f337e22ad698a4d0cf25a57194aee9e636a09233169721bf2a6f2eea0 - languageName: node - linkType: hard - "vm-browserify@npm:^1.1.2": version: 1.1.2 resolution: "vm-browserify@npm:1.1.2" From 630a836814848b9261f19fba47c325a80851ff8d Mon Sep 17 00:00:00 2001 From: marcomariscal Date: Thu, 14 Sep 2023 10:03:51 -0700 Subject: [PATCH 13/89] fix: update to solely use viem --- .../widgets/tx-replay/TransactionReplay.tsx | 41 +++++++++---------- src/hooks/useAbi.tsx | 2 +- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/src/components/current/widgets/tx-replay/TransactionReplay.tsx b/src/components/current/widgets/tx-replay/TransactionReplay.tsx index 75d44a23e..4dd67a160 100644 --- a/src/components/current/widgets/tx-replay/TransactionReplay.tsx +++ b/src/components/current/widgets/tx-replay/TransactionReplay.tsx @@ -1,6 +1,6 @@ import React, { useCallback, useEffect, useState } from 'react'; -import { Transaction, decodeFunctionData } from 'viem'; -import { Address, useTransaction } from 'wagmi'; +import { TransactionRequestBase, decodeFunctionData, encodeFunctionData, getAddress } from 'viem'; +import { Address, useAccount, useTransaction } from 'wagmi'; import { ActionResponse, HeaderResponse, SingleLineResponse } from '@/components/cactiComponents'; import SkeletonWrap from '@/components/shared/SkeletonWrap'; import useAbi from '@/hooks/useAbi'; @@ -11,16 +11,17 @@ interface TransactionReplayProps { } const TransactionReplay = ({ txHash }: TransactionReplayProps) => { + const { address: account } = useAccount(); const { data, isLoading } = useTransaction({ hash: txHash }); - const { data: abi } = useAbi(data?.to as Address | undefined); - const [sendParams, setSendParams] = useState(); + const { data: abi } = useAbi(data?.to); + const [sendParams, setSendParams] = useState(); const [isError, setIsError] = useState(false); const explorerUrl = `https://etherscan.io/tx/${txHash}`; // State to hold editable fields, stored as strings for simplicity const [decoded, setDecoded] = useState<{ - to?: string; + to: Address; value: string; functionName?: string; args?: { @@ -32,7 +33,7 @@ const TransactionReplay = ({ txHash }: TransactionReplayProps) => { // handle decoding the transaction data const handleDecode = useCallback(() => { - if (!data) return console.log('no data'); + if (!data?.input || !data.to) return console.log('no data'); if (!abi) { console.log('no abi, is possibly an eth/native currency transfer'); return setDecoded({ @@ -47,7 +48,7 @@ const TransactionReplay = ({ txHash }: TransactionReplayProps) => { let functionName: string; try { - const decoded = decodeFunctionData({ abi, data: data.data as Address }); + const decoded = decodeFunctionData({ abi, data: data.input }); args = decoded.args as string[]; functionName = decoded.functionName; } catch (e) { @@ -109,7 +110,7 @@ const TransactionReplay = ({ txHash }: TransactionReplayProps) => { } // handle changing the to param if (name === 'to') { - setDecoded((d) => d && { ...d, to: value }); + setDecoded((d) => d && { ...d, to: getAddress(value) }); return; } @@ -125,16 +126,16 @@ const TransactionReplay = ({ txHash }: TransactionReplayProps) => { }); }; - const getSendParams = useCallback((): UnsignedTransaction | undefined => { + const getSendParams = useCallback((): TransactionRequestBase | undefined => { if (!decoded) { console.error('Decoded data is missing'); return; } // Initialize a transaction object - let transaction: Partial = { + let transaction: Partial = { to: decoded.to, - value: BigNumber.from(decoded.value), + value: BigInt(decoded.value), }; // If it's a simple transfer @@ -154,15 +155,13 @@ const TransactionReplay = ({ txHash }: TransactionReplayProps) => { return arg.value; }) || []; - // Create the function signature - const functionTypes = decoded.args.map((arg) => arg.type).join(','); - const functionSignature = `${decoded.functionName}(${functionTypes})`; - - // Create the encoded data field for contract interaction - const iface = new ethers.utils.Interface(abi); try { // Encode the function data - const data = iface.encodeFunctionData(functionSignature, convertedArgs); + const data = encodeFunctionData({ + abi, + functionName: decoded.functionName, + args: convertedArgs, + }); transaction.data = data; // Now, you can populate the transaction object and pass it to ActionResponse } catch (e) { @@ -170,8 +169,8 @@ const TransactionReplay = ({ txHash }: TransactionReplayProps) => { } } - setSendParams(transaction); - }, [abi, decoded]); + setSendParams({ from: account!, ...transaction }); + }, [abi, account, decoded]); useEffect(() => { getSendParams(); @@ -204,7 +203,7 @@ const TransactionReplay = ({ txHash }: TransactionReplayProps) => { />
))} - {BigNumber.from(decoded.value)?.gt(ethers.constants.Zero) && decoded.to && ( + {BigInt(decoded.value) > BigInt(0) && decoded.to && ( <>