Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Multicall lib integration for widgets #2946

Merged
merged 113 commits into from
Dec 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
902cd34
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 16, 2021
f62d301
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 17, 2021
0c213be
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 17, 2021
87d547a
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 17, 2021
244ed38
fix: center focused outline card (#2625)
micaelr95 Oct 18, 2021
1e7dff0
fix: add usdc to arbitrum/optimism common bases (#2641)
Oct 19, 2021
e15a8dd
remove WETH from optimism bases (#2640)
Oct 19, 2021
c63482b
use l2 logos in base pairs (#2634)
Oct 19, 2021
5e8d725
fix: split calls into more chunks if they fail due to out of gas erro…
moodysalem Oct 19, 2021
9cacd57
fix: restrict @davatar usage to avoid 3p fetches (#2649)
zzmp Oct 20, 2021
1846883
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 21, 2021
f26a330
fix(L2): ensure chainIds match before fetching pool data (#2652)
JFrankfurt Oct 22, 2021
76c9bf8
fix: use optional operator for chainId (#2666)
zzmp Oct 22, 2021
f768428
chore: update token list (#2670)
ianlapham Oct 22, 2021
5e09a0c
fix: update token list (#2671)
ianlapham Oct 22, 2021
aef5d05
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 23, 2021
36cfe62
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 23, 2021
abe6bf5
feat: extend privacy and terms (#2623)
Oct 25, 2021
1d5be31
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 25, 2021
af83399
log full signed tx (#2681)
Oct 25, 2021
8eb8644
refactor monitoring (#2682)
Oct 25, 2021
3bf36ea
chore: set final privacy learn more link' (#2684)
Oct 25, 2021
245f8d7
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 25, 2021
79d582c
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 25, 2021
17439d6
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 25, 2021
b4e756e
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 26, 2021
06f5fdc
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 26, 2021
bbc64f1
fix: back arrow bug in wallet modal and fill tx for wallet (#2687)
Oct 26, 2021
68e6bc1
block import of unsupported tokens (#2673)
JFrankfurt Oct 26, 2021
9a0294f
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 26, 2021
609542c
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 27, 2021
2d2508f
chore(deps-dev): bump @uniswap/token-lists (#2699)
dependabot[bot] Oct 27, 2021
c020120
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 27, 2021
cf9c6e4
try out 'dimension1' (#2704)
JFrankfurt Oct 27, 2021
20f462f
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 27, 2021
02dbed7
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 1, 2021
5026ebd
fix: walletconnect modal re-open after user rejection (#2693)
M0kY Nov 1, 2021
6a90bf3
chore: update unsupported token list (#2689)
willhennessy Nov 1, 2021
d189744
fix: memoize the list stuff so the tokens are consistently clickable …
moodysalem Nov 1, 2021
5dac6a0
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 1, 2021
b3844e3
feat: update cmc list link (#2710)
ianlapham Nov 2, 2021
714953b
add token to unsupported list (#2732)
ianlapham Nov 2, 2021
9561cf5
don't overwrite localstorage lists when fetch throws (#2723)
JFrankfurt Nov 2, 2021
dfd442c
try cd1 for custom dimension (#2734)
JFrankfurt Nov 3, 2021
377331c
fix: Update walletlink-connector to 6.2.8 (#2655)
brendanww Nov 3, 2021
188b321
fix: Parse latest proposal description correctly
NoahZinsmeister Nov 3, 2021
60bd0eb
add proposal start time (#2738)
NoahZinsmeister Nov 3, 2021
02296c6
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 3, 2021
cf4c26a
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 3, 2021
ab93d51
fix: #2741 Increase liquidity form off center (#2746)
bkrochta Nov 5, 2021
48cc681
fix: bump to latest token list including ENS token
moodysalem Nov 9, 2021
dc55a21
fix: remove deprecated optimism status url (#2771)
willhennessy Nov 10, 2021
74c61c0
feat: Menu update. Add help center & feature requests. Remove analyti…
willhennessy Nov 11, 2021
659a564
no unused imports eslint rule (#2773)
JFrankfurt Nov 11, 2021
cb41df4
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 11, 2021
0ea029d
add protocols param to quote endpoint (#2774)
Nov 11, 2021
1903a16
fix: lint error (#2775)
Nov 11, 2021
ccad45d
fix(optimism): Optimism regenesis support (#2703)
moodysalem Nov 11, 2021
ec4cd57
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 11, 2021
5ba3d2f
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 12, 2021
8a99bad
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 12, 2021
408c907
feat: add support for 0.01% tier (#2769)
Nov 12, 2021
b79fe4b
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 12, 2021
d0be3bf
fix(L2): update block warning updater to check most recent block time…
JFrankfurt Nov 12, 2021
68f8576
fix: copy in network alert
moodysalem Nov 12, 2021
55c9718
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 12, 2021
d1627a6
fix(L2): remove redux from chain connectivity (#2781)
JFrankfurt Nov 12, 2021
5a20dc8
change not created font size to 10 (#2785)
willhennessy Nov 12, 2021
34a5885
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 14, 2021
b2697f0
fix: format date using Date.toLocaleString (#2459)
zzmp Nov 17, 2021
51a4504
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 18, 2021
7938273
fix: broken link to docs (#2816)
sukhrajghuman Nov 18, 2021
7b83e39
chore: fix typo in useAllCurrencyCombinations.ts (#2778)
eltociear Nov 18, 2021
0f35f6e
chore: update typechain scripts for Windows (#2707)
Matthews3301 Nov 18, 2021
222a6d5
perf: lazy load vote related routes (#2468)
chenxsan Nov 18, 2021
82c0268
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 18, 2021
9b0fa8a
fix: Enable 3085 requests for coinbase wallet (#2753)
brendanww Nov 18, 2021
b10729d
feat: set the auto slippage tolerance by the dollar value of gas (#2815)
moodysalem Nov 18, 2021
093dc66
Fixing #2818 (#2820)
eraykisabacak Nov 18, 2021
41a4500
Fix code style issues with ESLint
lint-action Nov 18, 2021
3f64415
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 18, 2021
8a72b37
fix: fix #2818
Nov 19, 2021
e54ffcc
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 19, 2021
cb0ea3f
log an event on max click (#2827)
Nov 22, 2021
7c9d9bd
Add trailing slash to L2 info links (#2696)
willhennessy Nov 22, 2021
204e44a
fix(L2): block L2 tokens explicitly linked to L1 tokens that are bloc…
JFrankfurt Nov 22, 2021
7781f51
Fix code style issues with ESLint
lint-action Nov 22, 2021
262d984
check for support on all connectors, and disable when the connector (…
JFrankfurt Nov 22, 2021
d5c4ee0
feat: display an ENS avatar (#2806)
zzmp Nov 22, 2021
5a3c91f
Update locales.ts (#2825)
kkpsiren Nov 23, 2021
5a4c789
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 25, 2021
b1009b0
chore: fix the build blocking linter error
moodysalem Nov 28, 2021
f7ecdc4
chore: run linters with auto_fix = false for forks (#2852)
moodysalem Nov 28, 2021
6b57ffe
fix: do not show urls if issue is not occurring on app.uniswap.org (#…
moodysalem Nov 29, 2021
709f029
fix: remove orphaned node (#2863)
zzmp Nov 29, 2021
efdfdc9
refactor: use ref for jazzicon (#2874)
zzmp Nov 29, 2021
f43fd89
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Nov 30, 2021
876c153
chore(deps): bump ws from 5.2.2 to 5.2.3 (#2759)
dependabot[bot] Nov 30, 2021
82a0799
chore(deps): bump url-parse from 1.5.1 to 1.5.3 (#2504)
dependabot[bot] Nov 30, 2021
0e25c05
add more tests for tryParseTick (#2110)
Nov 30, 2021
745be97
fix(lint): clean up the eslint config (#2886)
moodysalem Nov 30, 2021
478ee7b
fix: Add routes for stakewise tokens (#2832)
tsudmi Nov 30, 2021
890471f
fix: fix layout of proposal list items on the vote page on mobile (#2…
moodysalem Dec 1, 2021
82843ff
fix: typo in arweave URI recognition (#2901)
carlosdp Dec 1, 2021
097b836
deleted files
Dec 2, 2021
bf7a40b
Merge branch 'main' of https://github.com/Uniswap/interface
Dec 2, 2021
7d343dc
Revert "Merge branch 'main' of https://github.com/Uniswap/interface" …
Dec 2, 2021
e81e8a8
fix: inadvertent merges/reverts (#2915)
zzmp Dec 2, 2021
596ea03
refactor: Replace multicall implementation with library (#2768)
jmrossy Dec 3, 2021
d8ed58c
merge main into multicall-widgets
JFrankfurt Dec 3, 2021
8d989be
package.json tweaks
JFrankfurt Dec 3, 2021
422c5b8
add multicall lib and some basic provider things
JFrankfurt Dec 8, 2021
4a527a7
Merge branch 'widgets' into multicall-widgets
JFrankfurt Dec 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"@graphql-codegen/typescript": "1.22.3",
"@graphql-codegen/typescript-operations": "^1.18.2",
"@graphql-codegen/typescript-rtk-query": "^1.1.1",
"@lingui/cli": "^3.9.0",
"@lingui/macro": "^3.9.0",
"@lingui/react": "^3.9.0",
"@metamask/jazzicon": "^2.0.0",
"@popperjs/core": "^2.4.4",
"@reach/dialog": "^0.10.3",
Expand Down Expand Up @@ -161,10 +158,12 @@
},
"license": "GPL-3.0-or-later",
"dependencies": {
"@lingui/cli": "^3.9.0",
"@lingui/core": "^3.9.0",
"@lingui/macro": "^3.9.0",
"@lingui/react": "^3.9.0",
"@popperjs/core": "^2.4.4",
"@uniswap/redux-multicall": "^1.0.0",
"immer": "^9.0.6",
"jotai": "^1.3.7",
"lodash": "^4.17.21",
Expand All @@ -181,10 +180,11 @@
"styled-components": "^5.3.0",
"wcag-contrast": "^3.0.0",
"wicg-inert": "^3.1.1",
"widgets-web3-react/core": "npm:@web3-react/core@8.0.10-alpha.0",
"widgets-web3-react/metamask": "npm:@web3-react/metamask@8.0.10-alpha.0",
"widgets-web3-react/network": "npm:@web3-react/network@8.0.10-alpha.0",
"widgets-web3-react/types": "npm:@web3-react/types@8.0.10-alpha.0",
"widgets-web3-react/core": "npm:@web3-react/core@8.0.12-alpha.0",
"widgets-web3-react/eip1193": "npm:@web3-react/eip1193@8.0.12-alpha.0",
"widgets-web3-react/metamask": "npm:@web3-react/metamask@8.0.12-alpha.0",
"widgets-web3-react/network": "npm:@web3-react/network@8.0.12-alpha.0",
"widgets-web3-react/types": "npm:@web3-react/types@8.0.12-alpha.0",
"zustand": "^3.6.5"
}
}
16 changes: 10 additions & 6 deletions src/lib/components/Widget.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { Provider as EthProvider } from '@ethersproject/abstract-provider'
import { DEFAULT_LOCALE, SupportedLocale } from 'constants/locales'
import { Provider as AtomProvider, useAtom } from 'jotai'
import EIP1193Connector from 'lib/connectors/EIP1193'
import { Provider as I18nProvider } from 'lib/i18n'
import { providerAtom } from 'lib/state'
import { connectorAtom } from 'lib/state'
import styled, { Provider as ThemeProvider, Theme } from 'lib/theme'
import { ReactNode, useEffect, useState } from 'react'
import { Provider as EthProvider } from 'widgets-web3-react/types'

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

Expand All @@ -30,13 +31,16 @@ export interface WidgetProps {
theme?: Partial<Theme>
locale?: SupportedLocale
provider?: EthProvider
jsonRpcEndpoint?: string
}

export default function Widget({ children, theme, locale = DEFAULT_LOCALE, provider }: WidgetProps) {
const [, setProvider] = useAtom(providerAtom)
export default function Widget({ children, theme, locale = DEFAULT_LOCALE, provider, jsonRpcEndpoint }: WidgetProps) {
const [, setConnector] = useAtom(connectorAtom)
useEffect(() => {
setProvider(provider)
}, [setProvider, provider])
const connector = new EIP1193Connector({ provider, jsonRpcEndpoint })
setConnector(connector)
}, [setConnector, provider, jsonRpcEndpoint])

const [dialog, setDialog] = useState<HTMLDivElement | null>(null)
return (
<AtomProvider>
Expand Down
32 changes: 32 additions & 0 deletions src/lib/connectors/EIP1193.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { Eip1193Bridge } from '@ethersproject/experimental'
import { JsonRpcProvider } from '@ethersproject/providers'
import { ZERO_ADDRESS } from 'constants/misc'
import { VoidSigner } from 'ethers'
import { initializeConnector, Web3ReactHooks } from 'widgets-web3-react/core'
import { EIP1193 } from 'widgets-web3-react/eip1193'
import { Provider } from 'widgets-web3-react/types'

interface EIP1193ConnectorConstructorArgs {
provider?: Provider
jsonRpcEndpoint?: string
}

export default class EIP1193Connector {
connector: EIP1193
hooks: Web3ReactHooks
constructor({ provider, jsonRpcEndpoint }: EIP1193ConnectorConstructorArgs) {
if (provider) {
const [connector, hooks] = initializeConnector<EIP1193>((actions) => new EIP1193(actions, provider))
this.connector = connector
this.hooks = hooks
} else if (jsonRpcEndpoint) {
const ethersProvider = new JsonRpcProvider(jsonRpcEndpoint)
const provider = new Eip1193Bridge(new VoidSigner(ZERO_ADDRESS, ethersProvider), ethersProvider)
const [connector, hooks] = initializeConnector<EIP1193>((actions) => new EIP1193(actions, provider))
this.connector = connector
this.hooks = hooks
} else {
throw new Error('A provider or rpc url must be provided.')
}
}
}
2 changes: 1 addition & 1 deletion src/lib/cosmos.decorator.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Provider } from '@ethersproject/abstract-provider'
import { DEFAULT_LOCALE, SUPPORTED_LOCALES } from 'constants/locales'
import { atom } from 'jotai'
import { useAtomValue } from 'jotai/utils'
import styled, { getDefaultTheme } from 'lib/theme'
import { ReactNode } from 'react'
import { useSelect, useValue } from 'react-cosmos/fixture'
import { createGlobalStyle } from 'styled-components'
import { Provider } from 'widgets-web3-react/types'

import Widget from './components/Widget'
import Connectors from './cosmos/components/Connectors'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/cosmos/components/Connectors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BigNumber } from '@ethersproject/bignumber'
import { formatEther } from '@ethersproject/units'
import { SupportedChainId } from 'constants/chains'
import { useAtom } from 'jotai'
import { providerAtom } from 'lib/state'
import { providerAtom } from 'lib/cosmos.decorator'
import styled from 'lib/theme'
import { useEffect, useState } from 'react'
import { Web3ReactHooks } from 'widgets-web3-react/core'
Expand Down
8 changes: 8 additions & 0 deletions src/lib/hooks/multicall.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { multicall } from 'lib/state'

export const {
useMultipleContractSingleData,
useSingleContractMultipleData,
useSingleContractWithCallData,
useSingleCallResult,
} = multicall.hooks
11 changes: 9 additions & 2 deletions src/lib/state/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
import { Provider as EthProvider } from '@ethersproject/abstract-provider'
import { createMulticall } from '@uniswap/redux-multicall'
import { atom } from 'jotai'
import { atomWithStore } from 'jotai/redux'
import EIP1193Connector from 'lib/connectors/EIP1193'
import { createStore } from 'redux'

export const providerAtom = atom<EthProvider | undefined>(undefined)
export const connectorAtom = atom<EIP1193Connector | undefined>(undefined)

export const multicall = createMulticall()
const multicallStore = createStore(multicall.reducer)
export const multicallStoreAtom = atomWithStore(multicallStore)
57 changes: 32 additions & 25 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5241,23 +5241,23 @@
"@web3-react/types" "^6.0.7"
tiny-invariant "^1.0.6"

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

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

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

"@web3-react/walletconnect-connector@^7.0.2-alpha.0":
version "7.0.2-alpha.0"
Expand Down Expand Up @@ -21188,30 +21188,37 @@ widest-line@^2.0.0:
dependencies:
string-width "^2.1.1"

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

"widgets-web3-react/metamask@npm:@web3-react/metamask@8.0.10-alpha.0":
version "8.0.10-alpha.0"
resolved "https://registry.yarnpkg.com/@web3-react/metamask/-/metamask-8.0.10-alpha.0.tgz#2ffc6c6e7d866c90d7ae230f9fc680ab50dcbffd"
integrity sha512-z4kFt1kzPUxB0n6Y33bKHrRXDsqkL0YZGWthUWg3YC9pNl4iC1nQwsk1GUTM1SYseFM5CIgI5xBq+7po4BIndg==
"widgets-web3-react/eip1193@npm:@web3-react/eip1193@8.0.12-alpha.0":
version "8.0.12-alpha.0"
resolved "https://registry.yarnpkg.com/@web3-react/eip1193/-/eip1193-8.0.12-alpha.0.tgz#33ac0073669d919e7a25eeefa9458fb0c06f20ce"
integrity sha512-HbY6cWjziR6VQvRb6Hxzw4iaGxJ9eMB07GwI+PzuM5T+5TDD0uHb+Rg9iieAofYTQcVDQ6RDF8MD35GUWLHIjA==
dependencies:
"@web3-react/types" "^8.0.12-alpha.0"

"widgets-web3-react/metamask@npm:@web3-react/metamask@8.0.12-alpha.0":
version "8.0.12-alpha.0"
resolved "https://registry.yarnpkg.com/@web3-react/metamask/-/metamask-8.0.12-alpha.0.tgz#466b6b44fa6644018fb62a9f32f217e606e05ed9"
integrity sha512-72YvMzAojig1ZKASxK6FydrzSo5QdqKI6TSxXjR1tuX/4RMF7bESIzjR5o+le+berRJvnUgObHm2PXZYsuqp7g==
dependencies:
"@metamask/detect-provider" "^1.2.0"
"@web3-react/types" "^8.0.10-alpha.0"
"@web3-react/types" "^8.0.12-alpha.0"

"widgets-web3-react/network@npm:@web3-react/network@8.0.10-alpha.0":
version "8.0.10-alpha.0"
resolved "https://registry.yarnpkg.com/@web3-react/network/-/network-8.0.10-alpha.0.tgz#d59b0b1884e02851e6132592f6f07d674fbc5068"
integrity sha512-LZWIMufuCkepcnJlhQQMQItrjtLNNsQpVmJqWczWqRhOkDvWqSEnszNWxLxLJhKWf+Ll3aCwiQpIAkuvXxs6mA==
"widgets-web3-react/network@npm:@web3-react/network@8.0.12-alpha.0":
version "8.0.12-alpha.0"
resolved "https://registry.yarnpkg.com/@web3-react/network/-/network-8.0.12-alpha.0.tgz#4136f551ebee2a51e0a1d29de1442923a93de045"
integrity sha512-rZW3yhe40DQNE+HaFXIKDepltXmIrj+LCouEreaxyfTPWcN90fJJ1MoE8YFu8icLlIQnoNlHDR8I5NsvSyu7tQ==
dependencies:
"@ethersproject/experimental" "^5.4.0"
"@ethersproject/providers" "^5.4.5"
"@web3-react/types" "^8.0.10-alpha.0"
"@web3-react/types" "^8.0.12-alpha.0"

word-wrap@^1.2.3, word-wrap@~1.2.3:
version "1.2.3"
Expand Down