Skip to content

Commit 416eefe

Browse files
JFrankfurtcrowdin-botmicaelr95Justin Dominguemoodysalem
authored
feat: Multicall lib integration for widgets (#2946)
* chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: center focused outline card (#2625) * fix: add usdc to arbitrum/optimism common bases (#2641) * remove WETH from optimism bases (#2640) * use l2 logos in base pairs (#2634) * fix: split calls into more chunks if they fail due to out of gas errors (#2630) * fix: split calls into more chunks if they fail due to out of gas errors * set to 100m gas * back to 25m so we batch fewer calls * do not pass through gas limit, some simplification of the code * unused import * fix: restrict @davatar usage to avoid 3p fetches (#2649) * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): ensure chainIds match before fetching pool data (#2652) * ensure chainIds match before fetching pool data * debounce both input currencies, and only look for pairs on currencies that share a chainId * pr feedback * fix: use optional operator for chainId (#2666) * chore: update token list (#2670) * update token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: update token list (#2671) * update token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * feat: extend privacy and terms (#2623) * initial iteration * add logging * added hook * polish * remove unused import * add hash * addressed pr feedback * remove autorouter icon * use firebase store * style * adjust recat ga * log remove liquidity * update copy * addressed pr feedback * addressed pr feedback * prevent privacy content from dismissing modal * make top-level key origin * use hostname * restore trm * chore(i18n): synchronize translations from crowdin [skip ci] * log full signed tx (#2681) * refactor monitoring (#2682) * chore: set final privacy learn more link' (#2684) * add learn more button * add final link * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: back arrow bug in wallet modal and fill tx for wallet (#2687) * add tx to wallet connect * remove id from env * restore env * block import of unsupported tokens (#2673) generalize custom import token block ui * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(deps-dev): bump @uniswap/token-lists (#2699) * chore(i18n): synchronize translations from crowdin [skip ci] * try out 'dimension1' (#2704) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: walletconnect modal re-open after user rejection (#2693) Co-authored-by: M0kY <moky@example.com> * chore: update unsupported token list (#2689) * chore: update unsupported token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: memoize the list stuff so the tokens are consistently clickable (#2724) * chore(i18n): synchronize translations from crowdin [skip ci] * feat: update cmc list link (#2710) * update cmc lists * update CMC url * add token to unsupported list (#2732) * don't overwrite localstorage lists when fetch throws (#2723) * try cd1 for custom dimension (#2734) * fix: Update walletlink-connector to 6.2.8 (#2655) * Update walletlink-connector to 6.2.5 which has a walletlink update to support addEthereumChain+switchEthereumChain requests * Update walletlink-connector to 6.2.7 * Update walletlink-connector to 6.2.8 * fix: Parse latest proposal description correctly * add proposal start time (#2738) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: #2741 Increase liquidity form off center (#2746) * fix: bump to latest token list including ENS token * fix: remove deprecated optimism status url (#2771) * feat: Menu update. Add help center & feature requests. Remove analytics & github. (#2709) * Add help center, remove analytics from menu * Add canny feature requests link, remove github link * add coffee icon * no unused imports eslint rule (#2773) * chore(i18n): synchronize translations from crowdin [skip ci] * add protocols param to quote endpoint (#2774) * add protocols param to quote endpoint * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: lint error (#2775) * fix(optimism): Optimism regenesis support (#2703) * feat(optimism): optimistic kovan local regenesis changes * use the regenesis version of the sdk * remove the override no longer necessary * diff rpc url * back to kovan url * lint error * Optimism mainnet regenesis test (#2695) * remove the optimism mainnet specific code and point to the mainnet regenesis rpc url * point at the old mainnet multicall address * bump the sdk version * copy the list * multicall address regenesis change * revert the gas limit special casing for optimism * bump the sdk version * remove a couple other temporary edits * unused test case * specific version of v3-sdk * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * feat: add support for 0.01% tier (#2769) * chore: add support for 0.01% tier * only show 1bps on mainnet * rename VERY_LOW to LOWEST * upgrade to v3-sdk 3.7.0 * add snapshot testing for lowest tier * fix integration test * fix integration test * use ALL_SUPPORTED_CHAIN_IDS over string all * consider 0.01% tier in pool (#2770) * merge main and only consider lowest tier for mainnet * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): update block warning updater to check most recent block timestamp (#2777) * update block warning updater to check most recent block timestamp * stop doing dumb state manipulation * fix: copy in network alert * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): remove redux from chain connectivity (#2781) * remove redux from chain connectivity * useMachineTimeMs instead of Date.now to force updates, useCurrentBlockTimestamp * use useInterval * change not created font size to 10 (#2785) * chore(i18n): synchronize translations from crowdin [skip ci] * fix: format date using Date.toLocaleString (#2459) * fix: format date using Date.toLocaleString Fixes #2458 * fix: date typings * chore(i18n): synchronize translations from crowdin [skip ci] * fix: broken link to docs (#2816) * chore: fix typo in useAllCurrencyCombinations.ts (#2778) occurence -> occurrence * chore: update typechain scripts for Windows (#2707) There are two errors when deploying on Windows system: 1. Using single quotes in path argument doesn't seem to be accepted in typechain command 2. `?(v3-core|v3-periphery)` operator doesn't work Here are fixes/workarounds. * perf: lazy load vote related routes (#2468) * perf: lazy load vote related routes * wrap Switch in Suspense * remove exact to match nested routes * fix nested routes * split Landing * fix * chore(i18n): synchronize translations from crowdin [skip ci] * fix: Enable 3085 requests for coinbase wallet (#2753) enable 3085 requests for coinbase wallet * feat: set the auto slippage tolerance by the dollar value of gas (#2815) * feat: set the auto slippage tolerance by the dollar value of gas * comments * min/max at 0.5% to 25% * oops on constant * address review feedback * Fixing #2818 (#2820) * Fix code style issues with ESLint * chore(i18n): synchronize translations from crowdin [skip ci] * fix: fix #2818 * chore(i18n): synchronize translations from crowdin [skip ci] * log an event on max click (#2827) * Add trailing slash to L2 info links (#2696) Some links were broken. For example on /pools/ page click the 'Top Pools' CTA. It would mistakenly direct you to info.uniswap.org/optimismpools instead of optimism/pools * fix(L2): block L2 tokens explicitly linked to L1 tokens that are blocked (#2721) * block L2 tokens explicitly linked to L1 tokens that are blocked * Fix code style issues with ESLint * check for support on all connectors, and disable when the connector (or lack thereof) no longer supports 3085 (#2824) * feat: display an ENS avatar (#2806) * feat: ens avatar resolution * chore: uninstall @davatar/react * fix: add avatar alt * feat: support data uris * feat: support arweave uris * feat: support erc721 avatars * feat: support erc1155 avatars * fix: jazzicon integration * fix: clean usage of status icon * fix: fix jazzicon svg offset * refactor: share status icon component * fix: pass memoized args to multicall * Update locales.ts (#2825) update Finnish from person (Suomalainen) to language (suomi) * chore(i18n): synchronize translations from crowdin [skip ci] * chore: fix the build blocking linter error * chore: run linters with auto_fix = false for forks (#2852) * fix: do not show urls if issue is not occurring on app.uniswap.org (#2855) * fix: do not show urls if issue is not occurring on app.uniswap.org fixes #2572 * address comment * fix: remove orphaned node (#2863) * fix: remove orphaned node * fix: react cleanup * refactor: use ref for jazzicon (#2874) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(deps): bump ws from 5.2.2 to 5.2.3 (#2759) Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@5.2.2...5.2.3) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump url-parse from 1.5.1 to 1.5.3 (#2504) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](unshiftio/url-parse@1.5.1...1.5.3) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add more tests for tryParseTick (#2110) * fix(lint): clean up the eslint config (#2886) * fix(lint): clean up the eslint config * Fix code style issues with ESLint * fix the linter errors that arose from using the proper config * clean up the rebass text renames * fix if statement, use the config * use the same name prefix for both steps * `TextPreset` -> `ThemedText` Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: Add routes for stakewise tokens (#2832) * Add additional routes for stakewise tokens * Reference StakeWise addresses with sdk tokens * Sort token imports * fix: fix layout of proposal list items on the vote page on mobile (#2898) * fix: fixing layout from using grid to flexbox * fix: setting WrapSmall to nowrap due to layout issue on mobile * fix: using width auto instead of disabling flex wrap Co-authored-by: Julian Anderson <juliancanderson@gmail.com> * fix: typo in arweave URI recognition (#2901) * deleted files * Revert "Merge branch 'main' of https://github.com/Uniswap/interface" (#2912) This reverts commit bf7a40b, reversing changes made to 097b836. * fix: inadvertent merges/reverts (#2915) * Revert "Revert "Merge branch 'main' of https://github.com/Uniswap/interface" (#2912)" This reverts commit 7d343dc. * Revert "deleted files" This reverts commit 097b836. * refactor: Replace multicall implementation with library (#2768) - Replace the local implementation of multicall with the new redux-multicall lib - Create wrappers for redux-multicall hooks to inject block number and chainId * package.json tweaks * add multicall lib and some basic provider things Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: Micael Rodrigues <micaelr95@outlook.pt> Co-authored-by: Justin Domingue <judo@uniswap.org> Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com> Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> Co-authored-by: Ian Lapham <ian@uniswap.org> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M0kY <46133205+M0kY@users.noreply.github.com> Co-authored-by: M0kY <moky@example.com> Co-authored-by: Will Hennessy <hennessywill@gmail.com> Co-authored-by: Brendan Weinstein <65564422+brendanww@users.noreply.github.com> Co-authored-by: Noah Zinsmeister <noahwz@gmail.com> Co-authored-by: Ben Krochta <35636764+bkrochta@users.noreply.github.com> Co-authored-by: Moody Salem <moody.salem@gmail.com> Co-authored-by: Raj <sukhrajghuman@live.com> Co-authored-by: Ikko Ashimine <eltociear@gmail.com> Co-authored-by: Matthew Salamon <35425388+Matthews3301@users.noreply.github.com> Co-authored-by: Sam Chen <chenxsan@gmail.com> Co-authored-by: Ali Eray Kısabacak <eraykisabacak@hotmail.com> Co-authored-by: Kimmo S <kkpsiren@gmail.com> Co-authored-by: Dmitri Tsumak <tsumak.dmitri@gmail.com> Co-authored-by: Julian Anderson <juliancanderson@gmail.com> Co-authored-by: Carlos Diaz-Padron <carlosdiazpadron@gmail.com> Co-authored-by: J M Rossy <jm.rossy@gmail.com>
1 parent 3447304 commit 416eefe

File tree

8 files changed

+100
-42
lines changed

8 files changed

+100
-42
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
"@graphql-codegen/typescript": "1.22.3",
1818
"@graphql-codegen/typescript-operations": "^1.18.2",
1919
"@graphql-codegen/typescript-rtk-query": "^1.1.1",
20-
"@lingui/cli": "^3.9.0",
21-
"@lingui/macro": "^3.9.0",
22-
"@lingui/react": "^3.9.0",
2320
"@metamask/jazzicon": "^2.0.0",
2421
"@popperjs/core": "^2.4.4",
2522
"@reach/dialog": "^0.10.3",
@@ -161,10 +158,12 @@
161158
},
162159
"license": "GPL-3.0-or-later",
163160
"dependencies": {
161+
"@lingui/cli": "^3.9.0",
164162
"@lingui/core": "^3.9.0",
165163
"@lingui/macro": "^3.9.0",
166164
"@lingui/react": "^3.9.0",
167165
"@popperjs/core": "^2.4.4",
166+
"@uniswap/redux-multicall": "^1.0.0",
168167
"immer": "^9.0.6",
169168
"jotai": "^1.3.7",
170169
"lodash": "^4.17.21",
@@ -181,10 +180,11 @@
181180
"styled-components": "^5.3.0",
182181
"wcag-contrast": "^3.0.0",
183182
"wicg-inert": "^3.1.1",
184-
"widgets-web3-react/core": "npm:@web3-react/core@8.0.10-alpha.0",
185-
"widgets-web3-react/metamask": "npm:@web3-react/metamask@8.0.10-alpha.0",
186-
"widgets-web3-react/network": "npm:@web3-react/network@8.0.10-alpha.0",
187-
"widgets-web3-react/types": "npm:@web3-react/types@8.0.10-alpha.0",
183+
"widgets-web3-react/core": "npm:@web3-react/core@8.0.12-alpha.0",
184+
"widgets-web3-react/eip1193": "npm:@web3-react/eip1193@8.0.12-alpha.0",
185+
"widgets-web3-react/metamask": "npm:@web3-react/metamask@8.0.12-alpha.0",
186+
"widgets-web3-react/network": "npm:@web3-react/network@8.0.12-alpha.0",
187+
"widgets-web3-react/types": "npm:@web3-react/types@8.0.12-alpha.0",
188188
"zustand": "^3.6.5"
189189
}
190190
}

src/lib/components/Widget.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
import { Provider as EthProvider } from '@ethersproject/abstract-provider'
21
import { DEFAULT_LOCALE, SupportedLocale } from 'constants/locales'
32
import { Provider as AtomProvider, useAtom } from 'jotai'
3+
import EIP1193Connector from 'lib/connectors/EIP1193'
44
import { Provider as I18nProvider } from 'lib/i18n'
5-
import { providerAtom } from 'lib/state'
5+
import { connectorAtom } from 'lib/state'
66
import styled, { Provider as ThemeProvider, Theme } from 'lib/theme'
77
import { ReactNode, useEffect, useState } from 'react'
8+
import { Provider as EthProvider } from 'widgets-web3-react/types'
89

910
import { Provider as DialogProvider } from './Dialog'
1011

@@ -30,13 +31,16 @@ export interface WidgetProps {
3031
theme?: Partial<Theme>
3132
locale?: SupportedLocale
3233
provider?: EthProvider
34+
jsonRpcEndpoint?: string
3335
}
3436

35-
export default function Widget({ children, theme, locale = DEFAULT_LOCALE, provider }: WidgetProps) {
36-
const [, setProvider] = useAtom(providerAtom)
37+
export default function Widget({ children, theme, locale = DEFAULT_LOCALE, provider, jsonRpcEndpoint }: WidgetProps) {
38+
const [, setConnector] = useAtom(connectorAtom)
3739
useEffect(() => {
38-
setProvider(provider)
39-
}, [setProvider, provider])
40+
const connector = new EIP1193Connector({ provider, jsonRpcEndpoint })
41+
setConnector(connector)
42+
}, [setConnector, provider, jsonRpcEndpoint])
43+
4044
const [dialog, setDialog] = useState<HTMLDivElement | null>(null)
4145
return (
4246
<AtomProvider>

src/lib/connectors/EIP1193.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import { Eip1193Bridge } from '@ethersproject/experimental'
2+
import { JsonRpcProvider } from '@ethersproject/providers'
3+
import { ZERO_ADDRESS } from 'constants/misc'
4+
import { VoidSigner } from 'ethers'
5+
import { initializeConnector, Web3ReactHooks } from 'widgets-web3-react/core'
6+
import { EIP1193 } from 'widgets-web3-react/eip1193'
7+
import { Provider } from 'widgets-web3-react/types'
8+
9+
interface EIP1193ConnectorConstructorArgs {
10+
provider?: Provider
11+
jsonRpcEndpoint?: string
12+
}
13+
14+
export default class EIP1193Connector {
15+
connector: EIP1193
16+
hooks: Web3ReactHooks
17+
constructor({ provider, jsonRpcEndpoint }: EIP1193ConnectorConstructorArgs) {
18+
if (provider) {
19+
const [connector, hooks] = initializeConnector<EIP1193>((actions) => new EIP1193(actions, provider))
20+
this.connector = connector
21+
this.hooks = hooks
22+
} else if (jsonRpcEndpoint) {
23+
const ethersProvider = new JsonRpcProvider(jsonRpcEndpoint)
24+
const provider = new Eip1193Bridge(new VoidSigner(ZERO_ADDRESS, ethersProvider), ethersProvider)
25+
const [connector, hooks] = initializeConnector<EIP1193>((actions) => new EIP1193(actions, provider))
26+
this.connector = connector
27+
this.hooks = hooks
28+
} else {
29+
throw new Error('A provider or rpc url must be provided.')
30+
}
31+
}
32+
}

src/lib/cosmos.decorator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { Provider } from '@ethersproject/abstract-provider'
21
import { DEFAULT_LOCALE, SUPPORTED_LOCALES } from 'constants/locales'
32
import { atom } from 'jotai'
43
import { useAtomValue } from 'jotai/utils'
54
import styled, { getDefaultTheme } from 'lib/theme'
65
import { ReactNode } from 'react'
76
import { useSelect, useValue } from 'react-cosmos/fixture'
87
import { createGlobalStyle } from 'styled-components'
8+
import { Provider } from 'widgets-web3-react/types'
99

1010
import Widget from './components/Widget'
1111
import Connectors from './cosmos/components/Connectors'

src/lib/cosmos/components/Connectors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { BigNumber } from '@ethersproject/bignumber'
22
import { formatEther } from '@ethersproject/units'
33
import { SupportedChainId } from 'constants/chains'
44
import { useAtom } from 'jotai'
5-
import { providerAtom } from 'lib/state'
5+
import { providerAtom } from 'lib/cosmos.decorator'
66
import styled from 'lib/theme'
77
import { useEffect, useState } from 'react'
88
import { Web3ReactHooks } from 'widgets-web3-react/core'

src/lib/hooks/multicall.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { multicall } from 'lib/state'
2+
3+
export const {
4+
useMultipleContractSingleData,
5+
useSingleContractMultipleData,
6+
useSingleContractWithCallData,
7+
useSingleCallResult,
8+
} = multicall.hooks

src/lib/state/index.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
import { Provider as EthProvider } from '@ethersproject/abstract-provider'
1+
import { createMulticall } from '@uniswap/redux-multicall'
22
import { atom } from 'jotai'
3+
import { atomWithStore } from 'jotai/redux'
4+
import EIP1193Connector from 'lib/connectors/EIP1193'
5+
import { createStore } from 'redux'
36

4-
export const providerAtom = atom<EthProvider | undefined>(undefined)
7+
export const connectorAtom = atom<EIP1193Connector | undefined>(undefined)
8+
9+
export const multicall = createMulticall()
10+
const multicallStore = createStore(multicall.reducer)
11+
export const multicallStoreAtom = atomWithStore(multicallStore)

yarn.lock

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5241,23 +5241,23 @@
52415241
"@web3-react/types" "^6.0.7"
52425242
tiny-invariant "^1.0.6"
52435243

5244-
"@web3-react/store@^8.0.10-alpha.0":
5245-
version "8.0.10-alpha.0"
5246-
resolved "https://registry.yarnpkg.com/@web3-react/store/-/store-8.0.10-alpha.0.tgz#2f0e2df275c635419d8bd48d62140cb1fb138dda"
5247-
integrity sha512-TlBlNZnZK52K8VlVAGLM2eWvocr57fr5vH2wKbmrO5toRh9I8KryLK7oKXrPVBRwGiyLCgR0eQ5Cuk4qz2Hqfw==
5244+
"@web3-react/store@^8.0.12-alpha.0":
5245+
version "8.0.12-alpha.0"
5246+
resolved "https://registry.yarnpkg.com/@web3-react/store/-/store-8.0.12-alpha.0.tgz#ef52932ca9f8e5d26dbdc504f34edac9a7f92b98"
5247+
integrity sha512-0okr9MXEXjfaUJBSDmdzgRzvb1d7aiKJO6jYHRSkfTHLNpx5mK+5OMXEWQB7sifU4x+JxElMyeMZ3lLZ4NimLQ==
52485248
dependencies:
52495249
"@ethersproject/address" "^5.4.0"
5250-
"@web3-react/types" "^8.0.10-alpha.0"
5250+
"@web3-react/types" "^8.0.12-alpha.0"
52515251

52525252
"@web3-react/types@^6.0.7":
52535253
version "6.0.7"
52545254
resolved "https://registry.yarnpkg.com/@web3-react/types/-/types-6.0.7.tgz#34a6204224467eedc6123abaf55fbb6baeb2809f"
52555255
integrity sha512-ofGmfDhxmNT1/P/MgVa8IKSkCStFiyvXe+U5tyZurKdrtTDFU+wJ/LxClPDtFerWpczNFPUSrKcuhfPX1sI6+A==
52565256

5257-
"@web3-react/types@^8.0.10-alpha.0", "widgets-web3-react/types@npm:@web3-react/types@8.0.10-alpha.0":
5258-
version "8.0.10-alpha.0"
5259-
resolved "https://registry.yarnpkg.com/@web3-react/types/-/types-8.0.10-alpha.0.tgz#15d05fe8d85a3681b6b2fba43d6d4c57a9d540cb"
5260-
integrity sha512-IluDls61C5O89vGgkAkAlDk67zgRMeSc5LkTCX9WQpjpRvQVqRSNpCtg3jLEzahoAFrcIj6n88oTLqXdvpmY/A==
5257+
"@web3-react/types@^8.0.12-alpha.0", "widgets-web3-react/types@npm:@web3-react/types@8.0.12-alpha.0":
5258+
version "8.0.12-alpha.0"
5259+
resolved "https://registry.yarnpkg.com/@web3-react/types/-/types-8.0.12-alpha.0.tgz#ae0ee6bd9548c82f516d7895917cf6dccb0f2e87"
5260+
integrity sha512-Gd5HjoTBjMSpi7Xj/lpHD42rxu779Z0K3Dq0P24MT/PjjpakA/Euwh2g53UT4wRywqPJa7MH5cD20aul5NwpTQ==
52615261

52625262
"@web3-react/walletconnect-connector@^7.0.2-alpha.0":
52635263
version "7.0.2-alpha.0"
@@ -21188,30 +21188,37 @@ widest-line@^2.0.0:
2118821188
dependencies:
2118921189
string-width "^2.1.1"
2119021190

21191-
"widgets-web3-react/core@npm:@web3-react/core@8.0.10-alpha.0":
21192-
version "8.0.10-alpha.0"
21193-
resolved "https://registry.yarnpkg.com/@web3-react/core/-/core-8.0.10-alpha.0.tgz#03396440c8a8c05f74e4e8b0a437f9892f0872a0"
21194-
integrity sha512-Rvoo/u8sDLT8o5ubcSOwoqD68Kuxpb95XYeq8IzQVj5FX/1FMu84WpZr3pxkRbV4ix4OX3CPjcRd3r8/BOqNAg==
21191+
"widgets-web3-react/core@npm:@web3-react/core@8.0.12-alpha.0":
21192+
version "8.0.12-alpha.0"
21193+
resolved "https://registry.yarnpkg.com/@web3-react/core/-/core-8.0.12-alpha.0.tgz#f4c72740c8d240597b889cec24e066d09c6fbbac"
21194+
integrity sha512-kjgTL4R3Xn5HGDGZLYZtVvIznFM+hoymLYyJ+9sCNENPPKlyER3ErN9YA0Bp0i6+IQBlDwS08dIGVJ1Y1rYUGw==
2119521195
dependencies:
21196-
"@web3-react/store" "^8.0.10-alpha.0"
21197-
"@web3-react/types" "^8.0.10-alpha.0"
21196+
"@web3-react/store" "^8.0.12-alpha.0"
21197+
"@web3-react/types" "^8.0.12-alpha.0"
2119821198

21199-
"widgets-web3-react/metamask@npm:@web3-react/metamask@8.0.10-alpha.0":
21200-
version "8.0.10-alpha.0"
21201-
resolved "https://registry.yarnpkg.com/@web3-react/metamask/-/metamask-8.0.10-alpha.0.tgz#2ffc6c6e7d866c90d7ae230f9fc680ab50dcbffd"
21202-
integrity sha512-z4kFt1kzPUxB0n6Y33bKHrRXDsqkL0YZGWthUWg3YC9pNl4iC1nQwsk1GUTM1SYseFM5CIgI5xBq+7po4BIndg==
21199+
"widgets-web3-react/eip1193@npm:@web3-react/eip1193@8.0.12-alpha.0":
21200+
version "8.0.12-alpha.0"
21201+
resolved "https://registry.yarnpkg.com/@web3-react/eip1193/-/eip1193-8.0.12-alpha.0.tgz#33ac0073669d919e7a25eeefa9458fb0c06f20ce"
21202+
integrity sha512-HbY6cWjziR6VQvRb6Hxzw4iaGxJ9eMB07GwI+PzuM5T+5TDD0uHb+Rg9iieAofYTQcVDQ6RDF8MD35GUWLHIjA==
21203+
dependencies:
21204+
"@web3-react/types" "^8.0.12-alpha.0"
21205+
21206+
"widgets-web3-react/metamask@npm:@web3-react/metamask@8.0.12-alpha.0":
21207+
version "8.0.12-alpha.0"
21208+
resolved "https://registry.yarnpkg.com/@web3-react/metamask/-/metamask-8.0.12-alpha.0.tgz#466b6b44fa6644018fb62a9f32f217e606e05ed9"
21209+
integrity sha512-72YvMzAojig1ZKASxK6FydrzSo5QdqKI6TSxXjR1tuX/4RMF7bESIzjR5o+le+berRJvnUgObHm2PXZYsuqp7g==
2120321210
dependencies:
2120421211
"@metamask/detect-provider" "^1.2.0"
21205-
"@web3-react/types" "^8.0.10-alpha.0"
21212+
"@web3-react/types" "^8.0.12-alpha.0"
2120621213

21207-
"widgets-web3-react/network@npm:@web3-react/network@8.0.10-alpha.0":
21208-
version "8.0.10-alpha.0"
21209-
resolved "https://registry.yarnpkg.com/@web3-react/network/-/network-8.0.10-alpha.0.tgz#d59b0b1884e02851e6132592f6f07d674fbc5068"
21210-
integrity sha512-LZWIMufuCkepcnJlhQQMQItrjtLNNsQpVmJqWczWqRhOkDvWqSEnszNWxLxLJhKWf+Ll3aCwiQpIAkuvXxs6mA==
21214+
"widgets-web3-react/network@npm:@web3-react/network@8.0.12-alpha.0":
21215+
version "8.0.12-alpha.0"
21216+
resolved "https://registry.yarnpkg.com/@web3-react/network/-/network-8.0.12-alpha.0.tgz#4136f551ebee2a51e0a1d29de1442923a93de045"
21217+
integrity sha512-rZW3yhe40DQNE+HaFXIKDepltXmIrj+LCouEreaxyfTPWcN90fJJ1MoE8YFu8icLlIQnoNlHDR8I5NsvSyu7tQ==
2121121218
dependencies:
2121221219
"@ethersproject/experimental" "^5.4.0"
2121321220
"@ethersproject/providers" "^5.4.5"
21214-
"@web3-react/types" "^8.0.10-alpha.0"
21221+
"@web3-react/types" "^8.0.12-alpha.0"
2121521222

2121621223
word-wrap@^1.2.3, word-wrap@~1.2.3:
2121721224
version "1.2.3"

0 commit comments

Comments
 (0)