Commit 513c9072 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

build: upgrade ethers@5.7.2, smart-order-router@3.6.0, widgets@2.43.2 (#5958)

* build: upgrade ethers@5.7.2

* fix: use namehash directly

* fix: TS7030

* build: upgrade widgets version and smart-order-router (#6053)

* upgrade widgets

* build: dedup router packages

---------
Co-authored-by: default avatarZach Pomerantz <zzmp@uniswap.org>

* chore: remove deprecated chains (#6054)

* start

* more

* more

* more

* use SupportedChainId from sdk

* add support for arbitrum goerli

* add arbitrum_goerli to jsonrpc list

* local sdk-core

* Revert "add arbitrum_goerli to jsonrpc list"

This reverts commit 51b29764f55685fc2f29a0366725ed7ba4b3bde6.

* add local chain ids

* Revert "add support for arbitrum goerli"

This reverts commit 46cdd15543170d76f816eacb932d325a6cca98a6.

* rm arb goerli in supported chain ids

* autofix

* fix import

* fix import

* fix import

* move back down for sdk-core

* use the supportedchainid

* add-types

* comment

---------
Co-authored-by: default avatarJordan Frankfurt <jordanwfrankfurt@gmail.com>

* combine

---------
Co-authored-by: default avatarVignesh Mohankumar <vignesh@vigneshmohankumar.com>
Co-authored-by: default avatarVignesh Mohankumar <me@vig.xyz>
Co-authored-by: default avatarJordan Frankfurt <jordanwfrankfurt@gmail.com>
parent ef388e17
...@@ -32,7 +32,6 @@ const SHOULD_SHOW_ALERT = { ...@@ -32,7 +32,6 @@ const SHOULD_SHOW_ALERT = {
[SupportedChainId.OPTIMISM]: true, [SupportedChainId.OPTIMISM]: true,
[SupportedChainId.OPTIMISM_GOERLI]: true, [SupportedChainId.OPTIMISM_GOERLI]: true,
[SupportedChainId.ARBITRUM_ONE]: true, [SupportedChainId.ARBITRUM_ONE]: true,
[SupportedChainId.ARBITRUM_RINKEBY]: true,
[SupportedChainId.POLYGON]: true, [SupportedChainId.POLYGON]: true,
[SupportedChainId.POLYGON_MUMBAI]: true, [SupportedChainId.POLYGON_MUMBAI]: true,
[SupportedChainId.CELO]: true, [SupportedChainId.CELO]: true,
...@@ -59,8 +58,6 @@ const BG_COLORS_BY_DARK_MODE_AND_CHAIN_ID: { ...@@ -59,8 +58,6 @@ const BG_COLORS_BY_DARK_MODE_AND_CHAIN_ID: {
'radial-gradient(948% 292% at 42% 0%, rgba(255, 58, 212, 0.04) 0%, rgba(255, 255, 255, 0.04) 100%),radial-gradient(98% 96% at 2% 0%, rgba(255, 39, 39, 0.04) 0%, rgba(235, 0, 255, 0.01 96%)', 'radial-gradient(948% 292% at 42% 0%, rgba(255, 58, 212, 0.04) 0%, rgba(255, 255, 255, 0.04) 100%),radial-gradient(98% 96% at 2% 0%, rgba(255, 39, 39, 0.04) 0%, rgba(235, 0, 255, 0.01 96%)',
[SupportedChainId.ARBITRUM_ONE]: [SupportedChainId.ARBITRUM_ONE]:
'radial-gradient(285% 8200% at 30% 50%, rgba(40, 160, 240, 0.01) 0%, rgba(219, 255, 0, 0) 100%),radial-gradient(75% 75% at 0% 0%, rgba(150, 190, 220, 0.05) 0%, rgba(33, 114, 229, 0.05) 100%), hsla(0, 0%, 100%, 0.05)', 'radial-gradient(285% 8200% at 30% 50%, rgba(40, 160, 240, 0.01) 0%, rgba(219, 255, 0, 0) 100%),radial-gradient(75% 75% at 0% 0%, rgba(150, 190, 220, 0.05) 0%, rgba(33, 114, 229, 0.05) 100%), hsla(0, 0%, 100%, 0.05)',
[SupportedChainId.ARBITRUM_RINKEBY]:
'radial-gradient(285% 8200% at 30% 50%, rgba(40, 160, 240, 0.05) 0%, rgba(219, 255, 0, 0) 100%),radial-gradient(75% 75% at 0% 0%, rgba(150, 190, 220, 0.05) 0%, rgba(33, 114, 229, 0.1) 100%), hsla(0, 0%, 100%, 0.05)',
}, },
light: { light: {
[SupportedChainId.POLYGON]: [SupportedChainId.POLYGON]:
...@@ -77,8 +74,6 @@ const BG_COLORS_BY_DARK_MODE_AND_CHAIN_ID: { ...@@ -77,8 +74,6 @@ const BG_COLORS_BY_DARK_MODE_AND_CHAIN_ID: {
'radial-gradient(92% 105% at 50% 7%, rgba(255, 58, 212, 0.04) 0%, rgba(255, 255, 255, 0.03) 100%),radial-gradient(100% 97% at 0% 12%, rgba(235, 0, 255, 0.1) 0%, rgba(243, 19, 19, 0.1) 100%), hsla(0, 0%, 100%, 0.1)', 'radial-gradient(92% 105% at 50% 7%, rgba(255, 58, 212, 0.04) 0%, rgba(255, 255, 255, 0.03) 100%),radial-gradient(100% 97% at 0% 12%, rgba(235, 0, 255, 0.1) 0%, rgba(243, 19, 19, 0.1) 100%), hsla(0, 0%, 100%, 0.1)',
[SupportedChainId.ARBITRUM_ONE]: [SupportedChainId.ARBITRUM_ONE]:
'radial-gradient(285% 8200% at 30% 50%, rgba(40, 160, 240, 0.1) 0%, rgba(219, 255, 0, 0) 100%),radial-gradient(circle at top left, hsla(206, 50%, 75%, 0.01), hsla(215, 79%, 51%, 0.12)), hsla(0, 0%, 100%, 0.1)', 'radial-gradient(285% 8200% at 30% 50%, rgba(40, 160, 240, 0.1) 0%, rgba(219, 255, 0, 0) 100%),radial-gradient(circle at top left, hsla(206, 50%, 75%, 0.01), hsla(215, 79%, 51%, 0.12)), hsla(0, 0%, 100%, 0.1)',
[SupportedChainId.ARBITRUM_RINKEBY]:
'radial-gradient(285% 8200% at 30% 50%, rgba(40, 160, 240, 0.1) 0%, rgba(219, 255, 0, 0) 100%),radial-gradient(circle at top left, hsla(206, 50%, 75%, 0.01), hsla(215, 79%, 51%, 0.12)), hsla(0, 0%, 100%, 0.1)',
}, },
} }
...@@ -137,7 +132,6 @@ const TEXT_COLORS: { [chainId in NetworkAlertChains]: string } = { ...@@ -137,7 +132,6 @@ const TEXT_COLORS: { [chainId in NetworkAlertChains]: string } = {
[SupportedChainId.OPTIMISM]: '#ff3856', [SupportedChainId.OPTIMISM]: '#ff3856',
[SupportedChainId.OPTIMISM_GOERLI]: '#ff3856', [SupportedChainId.OPTIMISM_GOERLI]: '#ff3856',
[SupportedChainId.ARBITRUM_ONE]: '#0490ed', [SupportedChainId.ARBITRUM_ONE]: '#0490ed',
[SupportedChainId.ARBITRUM_RINKEBY]: '#0490ed',
} }
function shouldShowAlert(chainId: number | undefined): chainId is NetworkAlertChains { function shouldShowAlert(chainId: number | undefined): chainId is NetworkAlertChains {
......
import { Trans } from '@lingui/macro' import { Trans } from '@lingui/macro'
import { SupportedChainId } from '@uniswap/sdk-core'
import { getChainInfo } from 'constants/chainInfo' import { getChainInfo } from 'constants/chainInfo'
import { SupportedChainId } from 'constants/chains'
import { darken } from 'polished' import { darken } from 'polished'
import { useState } from 'react' import { useState } from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
......
import { Trans } from '@lingui/macro' import { Trans } from '@lingui/macro'
import { formatCurrencyAmount, NumberType } from '@uniswap/conedison/format' import { formatCurrencyAmount, NumberType } from '@uniswap/conedison/format'
import { Currency, SupportedChainId } from '@uniswap/sdk-core' import { Currency } from '@uniswap/sdk-core'
import { useWeb3React } from '@web3-react/core' import { useWeb3React } from '@web3-react/core'
import CurrencyLogo from 'components/Logo/CurrencyLogo' import CurrencyLogo from 'components/Logo/CurrencyLogo'
import { getChainInfo } from 'constants/chainInfo' import { getChainInfo } from 'constants/chainInfo'
import { SupportedChainId } from 'constants/chains'
import { isSupportedChain } from 'constants/chains' import { isSupportedChain } from 'constants/chains'
import { useStablecoinValue } from 'hooks/useStablecoinPrice' import { useStablecoinValue } from 'hooks/useStablecoinPrice'
import useCurrencyBalance from 'lib/hooks/useCurrencyBalance' import useCurrencyBalance from 'lib/hooks/useCurrencyBalance'
......
import { FACTORY_ADDRESS as V2_FACTORY_ADDRESS } from '@uniswap/v2-sdk' import { FACTORY_ADDRESS as V2_FACTORY_ADDRESS } from '@uniswap/v2-sdk'
import { FACTORY_ADDRESS as V3_FACTORY_ADDRESS } from '@uniswap/v3-sdk' import { FACTORY_ADDRESS as V3_FACTORY_ADDRESS } from '@uniswap/v3-sdk'
import { SupportedChainId } from 'constants/chains'
import { constructSameAddressMap } from '../utils/constructSameAddressMap' import { constructSameAddressMap } from '../utils/constructSameAddressMap'
import { SupportedChainId } from './chains'
type AddressMap = { [chainId: number]: string } type AddressMap = { [chainId: number]: string }
...@@ -28,7 +28,6 @@ export const V3_CORE_FACTORY_ADDRESSES: AddressMap = { ...@@ -28,7 +28,6 @@ export const V3_CORE_FACTORY_ADDRESSES: AddressMap = {
SupportedChainId.OPTIMISM, SupportedChainId.OPTIMISM,
SupportedChainId.OPTIMISM_GOERLI, SupportedChainId.OPTIMISM_GOERLI,
SupportedChainId.ARBITRUM_ONE, SupportedChainId.ARBITRUM_ONE,
SupportedChainId.ARBITRUM_RINKEBY,
SupportedChainId.POLYGON_MUMBAI, SupportedChainId.POLYGON_MUMBAI,
SupportedChainId.POLYGON, SupportedChainId.POLYGON,
]), ]),
...@@ -39,7 +38,6 @@ export const V3_CORE_FACTORY_ADDRESSES: AddressMap = { ...@@ -39,7 +38,6 @@ export const V3_CORE_FACTORY_ADDRESSES: AddressMap = {
export const V3_MIGRATOR_ADDRESSES: AddressMap = { export const V3_MIGRATOR_ADDRESSES: AddressMap = {
...constructSameAddressMap('0xA5644E29708357803b5A882D272c41cC0dF92B34', [ ...constructSameAddressMap('0xA5644E29708357803b5A882D272c41cC0dF92B34', [
SupportedChainId.ARBITRUM_ONE, SupportedChainId.ARBITRUM_ONE,
SupportedChainId.ARBITRUM_RINKEBY,
SupportedChainId.POLYGON_MUMBAI, SupportedChainId.POLYGON_MUMBAI,
SupportedChainId.POLYGON, SupportedChainId.POLYGON,
]), ]),
...@@ -55,7 +53,6 @@ export const MULTICALL_ADDRESS: AddressMap = { ...@@ -55,7 +53,6 @@ export const MULTICALL_ADDRESS: AddressMap = {
SupportedChainId.POLYGON, SupportedChainId.POLYGON,
]), ]),
[SupportedChainId.ARBITRUM_ONE]: '0xadF885960B47eA2CD9B55E6DAc6B42b7Cb2806dB', [SupportedChainId.ARBITRUM_ONE]: '0xadF885960B47eA2CD9B55E6DAc6B42b7Cb2806dB',
[SupportedChainId.ARBITRUM_RINKEBY]: '0xa501c031958F579dB7676fF1CE78AD305794d579',
[SupportedChainId.CELO]: CELO_MULTICALL_ADDRESS, [SupportedChainId.CELO]: CELO_MULTICALL_ADDRESS,
[SupportedChainId.CELO_ALFAJORES]: CELO_MULTICALL_ADDRESS, [SupportedChainId.CELO_ALFAJORES]: CELO_MULTICALL_ADDRESS,
} }
...@@ -65,7 +62,6 @@ export const SWAP_ROUTER_ADDRESSES: AddressMap = { ...@@ -65,7 +62,6 @@ export const SWAP_ROUTER_ADDRESSES: AddressMap = {
SupportedChainId.OPTIMISM, SupportedChainId.OPTIMISM,
SupportedChainId.OPTIMISM_GOERLI, SupportedChainId.OPTIMISM_GOERLI,
SupportedChainId.ARBITRUM_ONE, SupportedChainId.ARBITRUM_ONE,
SupportedChainId.ARBITRUM_RINKEBY,
SupportedChainId.POLYGON, SupportedChainId.POLYGON,
SupportedChainId.POLYGON_MUMBAI, SupportedChainId.POLYGON_MUMBAI,
]), ]),
...@@ -107,7 +103,6 @@ export const QUOTER_ADDRESSES: AddressMap = { ...@@ -107,7 +103,6 @@ export const QUOTER_ADDRESSES: AddressMap = {
SupportedChainId.OPTIMISM, SupportedChainId.OPTIMISM,
SupportedChainId.OPTIMISM_GOERLI, SupportedChainId.OPTIMISM_GOERLI,
SupportedChainId.ARBITRUM_ONE, SupportedChainId.ARBITRUM_ONE,
SupportedChainId.ARBITRUM_RINKEBY,
SupportedChainId.POLYGON_MUMBAI, SupportedChainId.POLYGON_MUMBAI,
SupportedChainId.POLYGON, SupportedChainId.POLYGON,
]), ]),
...@@ -120,7 +115,6 @@ export const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES: AddressMap = { ...@@ -120,7 +115,6 @@ export const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES: AddressMap = {
SupportedChainId.OPTIMISM, SupportedChainId.OPTIMISM,
SupportedChainId.OPTIMISM_GOERLI, SupportedChainId.OPTIMISM_GOERLI,
SupportedChainId.ARBITRUM_ONE, SupportedChainId.ARBITRUM_ONE,
SupportedChainId.ARBITRUM_RINKEBY,
SupportedChainId.POLYGON_MUMBAI, SupportedChainId.POLYGON_MUMBAI,
SupportedChainId.POLYGON, SupportedChainId.POLYGON,
]), ]),
...@@ -130,9 +124,7 @@ export const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES: AddressMap = { ...@@ -130,9 +124,7 @@ export const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES: AddressMap = {
export const ENS_REGISTRAR_ADDRESSES: AddressMap = { export const ENS_REGISTRAR_ADDRESSES: AddressMap = {
[SupportedChainId.MAINNET]: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', [SupportedChainId.MAINNET]: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
[SupportedChainId.ROPSTEN]: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
[SupportedChainId.GOERLI]: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', [SupportedChainId.GOERLI]: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
[SupportedChainId.RINKEBY]: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
} }
export const SOCKS_CONTROLLER_ADDRESSES: AddressMap = { export const SOCKS_CONTROLLER_ADDRESSES: AddressMap = {
...@@ -141,7 +133,6 @@ export const SOCKS_CONTROLLER_ADDRESSES: AddressMap = { ...@@ -141,7 +133,6 @@ export const SOCKS_CONTROLLER_ADDRESSES: AddressMap = {
export const TICK_LENS_ADDRESSES: AddressMap = { export const TICK_LENS_ADDRESSES: AddressMap = {
[SupportedChainId.ARBITRUM_ONE]: '0xbfd8137f7d1516D3ea5cA83523914859ec47F573', [SupportedChainId.ARBITRUM_ONE]: '0xbfd8137f7d1516D3ea5cA83523914859ec47F573',
[SupportedChainId.ARBITRUM_RINKEBY]: '0xbfd8137f7d1516D3ea5cA83523914859ec47F573',
[SupportedChainId.CELO]: CELO_TICK_LENS_ADDRESSES, [SupportedChainId.CELO]: CELO_TICK_LENS_ADDRESSES,
[SupportedChainId.CELO_ALFAJORES]: CELO_TICK_LENS_ADDRESSES, [SupportedChainId.CELO_ALFAJORES]: CELO_TICK_LENS_ADDRESSES,
} }
...@@ -5,10 +5,11 @@ import { default as arbitrumCircleLogoUrl, default as arbitrumLogoUrl } from 'as ...@@ -5,10 +5,11 @@ import { default as arbitrumCircleLogoUrl, default as arbitrumLogoUrl } from 'as
import celoLogo from 'assets/svg/celo_logo.svg' import celoLogo from 'assets/svg/celo_logo.svg'
import optimismLogoUrl from 'assets/svg/optimistic_ethereum.svg' import optimismLogoUrl from 'assets/svg/optimistic_ethereum.svg'
import polygonMaticLogo from 'assets/svg/polygon-matic-logo.svg' import polygonMaticLogo from 'assets/svg/polygon-matic-logo.svg'
import { SupportedChainId } from 'constants/chains'
import ms from 'ms.macro' import ms from 'ms.macro'
import { darkTheme } from 'theme/colors' import { darkTheme } from 'theme/colors'
import { SupportedChainId, SupportedL1ChainId, SupportedL2ChainId } from './chains' import { SupportedL1ChainId, SupportedL2ChainId } from './chains'
import { ARBITRUM_LIST, CELO_LIST, OPTIMISM_LIST } from './lists' import { ARBITRUM_LIST, CELO_LIST, OPTIMISM_LIST } from './lists'
export const AVERAGE_L1_BLOCK_TIME = ms`12s` export const AVERAGE_L1_BLOCK_TIME = ms`12s`
...@@ -64,36 +65,6 @@ const CHAIN_INFO: ChainInfoMap = { ...@@ -64,36 +65,6 @@ const CHAIN_INFO: ChainInfoMap = {
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
color: darkTheme.chain_1, color: darkTheme.chain_1,
}, },
[SupportedChainId.RINKEBY]: {
networkType: NetworkType.L1,
docs: 'https://docs.uniswap.org/',
explorer: 'https://rinkeby.etherscan.io/',
infoLink: 'https://info.uniswap.org/#/',
label: 'Rinkeby',
logoUrl: ethereumLogoUrl,
nativeCurrency: { name: 'Rinkeby Ether', symbol: 'rETH', decimals: 18 },
color: darkTheme.chain_4,
},
[SupportedChainId.ROPSTEN]: {
networkType: NetworkType.L1,
docs: 'https://docs.uniswap.org/',
explorer: 'https://ropsten.etherscan.io/',
infoLink: 'https://info.uniswap.org/#/',
label: 'Ropsten',
logoUrl: ethereumLogoUrl,
nativeCurrency: { name: 'Ropsten Ether', symbol: 'ropETH', decimals: 18 },
color: darkTheme.chain_3,
},
[SupportedChainId.KOVAN]: {
networkType: NetworkType.L1,
docs: 'https://docs.uniswap.org/',
explorer: 'https://kovan.etherscan.io/',
infoLink: 'https://info.uniswap.org/#/',
label: 'Kovan',
logoUrl: ethereumLogoUrl,
nativeCurrency: { name: 'Kovan Ether', symbol: 'kovETH', decimals: 18 },
color: darkTheme.chain_420,
},
[SupportedChainId.GOERLI]: { [SupportedChainId.GOERLI]: {
networkType: NetworkType.L1, networkType: NetworkType.L1,
docs: 'https://docs.uniswap.org/', docs: 'https://docs.uniswap.org/',
...@@ -153,20 +124,6 @@ const CHAIN_INFO: ChainInfoMap = { ...@@ -153,20 +124,6 @@ const CHAIN_INFO: ChainInfoMap = {
color: darkTheme.chain_42, color: darkTheme.chain_42,
backgroundColor: darkTheme.chain_42161_background, backgroundColor: darkTheme.chain_42161_background,
}, },
[SupportedChainId.ARBITRUM_RINKEBY]: {
networkType: NetworkType.L2,
blockWaitMsBeforeWarning: ms`10m`,
bridge: 'https://bridge.arbitrum.io/',
docs: 'https://offchainlabs.com/',
explorer: 'https://rinkeby-explorer.arbitrum.io/',
infoLink: 'https://info.uniswap.org/#/arbitrum/',
label: 'Arbitrum Rinkeby',
logoUrl: arbitrumLogoUrl,
defaultListUrl: ARBITRUM_LIST,
helpCenterUrl: 'https://help.uniswap.org/en/collections/3137787-uniswap-on-arbitrum',
nativeCurrency: { name: 'Rinkeby Arbitrum Ether', symbol: 'rinkArbETH', decimals: 18 },
color: darkTheme.chain_421611,
},
[SupportedChainId.POLYGON]: { [SupportedChainId.POLYGON]: {
networkType: NetworkType.L1, networkType: NetworkType.L1,
blockWaitMsBeforeWarning: ms`10m`, blockWaitMsBeforeWarning: ms`10m`,
......
/** /**
* List of all the networks supported by the Uniswap Interface * List of all the networks supported by the Uniswap Interface
* TODO(INFRA-90): Eventually this may be derived from sdk-core.
*/ */
export enum SupportedChainId { export enum SupportedChainId {
MAINNET = 1, MAINNET = 1,
ROPSTEN = 3,
RINKEBY = 4,
GOERLI = 5, GOERLI = 5,
KOVAN = 42,
ARBITRUM_ONE = 42161, ARBITRUM_ONE = 42161,
ARBITRUM_RINKEBY = 421611,
OPTIMISM = 10, OPTIMISM = 10,
OPTIMISM_GOERLI = 420, OPTIMISM_GOERLI = 420,
...@@ -23,16 +20,12 @@ export enum SupportedChainId { ...@@ -23,16 +20,12 @@ export enum SupportedChainId {
export const CHAIN_IDS_TO_NAMES = { export const CHAIN_IDS_TO_NAMES = {
[SupportedChainId.MAINNET]: 'mainnet', [SupportedChainId.MAINNET]: 'mainnet',
[SupportedChainId.ROPSTEN]: 'ropsten',
[SupportedChainId.RINKEBY]: 'rinkeby',
[SupportedChainId.GOERLI]: 'goerli', [SupportedChainId.GOERLI]: 'goerli',
[SupportedChainId.KOVAN]: 'kovan',
[SupportedChainId.POLYGON]: 'polygon', [SupportedChainId.POLYGON]: 'polygon',
[SupportedChainId.POLYGON_MUMBAI]: 'polygon_mumbai', [SupportedChainId.POLYGON_MUMBAI]: 'polygon_mumbai',
[SupportedChainId.CELO]: 'celo', [SupportedChainId.CELO]: 'celo',
[SupportedChainId.CELO_ALFAJORES]: 'celo_alfajores', [SupportedChainId.CELO_ALFAJORES]: 'celo_alfajores',
[SupportedChainId.ARBITRUM_ONE]: 'arbitrum', [SupportedChainId.ARBITRUM_ONE]: 'arbitrum',
[SupportedChainId.ARBITRUM_RINKEBY]: 'arbitrum_rinkeby',
[SupportedChainId.OPTIMISM]: 'optimism', [SupportedChainId.OPTIMISM]: 'optimism',
[SupportedChainId.OPTIMISM_GOERLI]: 'optimism_goerli', [SupportedChainId.OPTIMISM_GOERLI]: 'optimism_goerli',
} }
...@@ -66,12 +59,8 @@ export const UNSUPPORTED_V2POOL_CHAIN_IDS = [ ...@@ -66,12 +59,8 @@ export const UNSUPPORTED_V2POOL_CHAIN_IDS = [
] ]
export const TESTNET_CHAIN_IDS = [ export const TESTNET_CHAIN_IDS = [
SupportedChainId.ROPSTEN,
SupportedChainId.RINKEBY,
SupportedChainId.GOERLI, SupportedChainId.GOERLI,
SupportedChainId.KOVAN,
SupportedChainId.POLYGON_MUMBAI, SupportedChainId.POLYGON_MUMBAI,
SupportedChainId.ARBITRUM_RINKEBY,
SupportedChainId.OPTIMISM_GOERLI, SupportedChainId.OPTIMISM_GOERLI,
] as const ] as const
...@@ -82,10 +71,7 @@ export type SupportedTestnetChainId = typeof TESTNET_CHAIN_IDS[number] ...@@ -82,10 +71,7 @@ export type SupportedTestnetChainId = typeof TESTNET_CHAIN_IDS[number]
*/ */
export const L1_CHAIN_IDS = [ export const L1_CHAIN_IDS = [
SupportedChainId.MAINNET, SupportedChainId.MAINNET,
SupportedChainId.ROPSTEN,
SupportedChainId.RINKEBY,
SupportedChainId.GOERLI, SupportedChainId.GOERLI,
SupportedChainId.KOVAN,
SupportedChainId.POLYGON, SupportedChainId.POLYGON,
SupportedChainId.POLYGON_MUMBAI, SupportedChainId.POLYGON_MUMBAI,
SupportedChainId.CELO, SupportedChainId.CELO,
...@@ -100,7 +86,6 @@ export type SupportedL1ChainId = typeof L1_CHAIN_IDS[number] ...@@ -100,7 +86,6 @@ export type SupportedL1ChainId = typeof L1_CHAIN_IDS[number]
*/ */
export const L2_CHAIN_IDS = [ export const L2_CHAIN_IDS = [
SupportedChainId.ARBITRUM_ONE, SupportedChainId.ARBITRUM_ONE,
SupportedChainId.ARBITRUM_RINKEBY,
SupportedChainId.OPTIMISM, SupportedChainId.OPTIMISM,
SupportedChainId.OPTIMISM_GOERLI, SupportedChainId.OPTIMISM_GOERLI,
] as const ] as const
......
import { SupportedChainId } from 'constants/chains'
import { import {
GOVERNANCE_ALPHA_V0_ADDRESSES, GOVERNANCE_ALPHA_V0_ADDRESSES,
GOVERNANCE_ALPHA_V1_ADDRESSES, GOVERNANCE_ALPHA_V1_ADDRESSES,
...@@ -5,7 +7,6 @@ import { ...@@ -5,7 +7,6 @@ import {
TIMELOCK_ADDRESS, TIMELOCK_ADDRESS,
UNI_ADDRESS, UNI_ADDRESS,
} from './addresses' } from './addresses'
import { SupportedChainId } from './chains'
export const COMMON_CONTRACT_NAMES: Record<number, { [address: string]: string }> = { export const COMMON_CONTRACT_NAMES: Record<number, { [address: string]: string }> = {
[SupportedChainId.MAINNET]: { [SupportedChainId.MAINNET]: {
......
import { SupportedChainId } from './chains' import { SupportedChainId } from 'constants/chains'
const INFURA_KEY = process.env.REACT_APP_INFURA_KEY const INFURA_KEY = process.env.REACT_APP_INFURA_KEY
if (typeof INFURA_KEY === 'undefined') { if (typeof INFURA_KEY === 'undefined') {
...@@ -24,26 +24,12 @@ export const FALLBACK_URLS: { [key in SupportedChainId]: string[] } = { ...@@ -24,26 +24,12 @@ export const FALLBACK_URLS: { [key in SupportedChainId]: string[] } = {
'https://rpc.ankr.com/eth', 'https://rpc.ankr.com/eth',
'https://eth-mainnet.public.blastapi.io', 'https://eth-mainnet.public.blastapi.io',
], ],
[SupportedChainId.ROPSTEN]: [
// "Fallback" URLs
'https://rpc.ankr.com/eth_ropsten',
],
[SupportedChainId.RINKEBY]: [
// "Fallback" URLs
'https://rinkeby-light.eth.linkpool.io/',
],
[SupportedChainId.GOERLI]: [ [SupportedChainId.GOERLI]: [
// "Safe" URLs // "Safe" URLs
'https://rpc.goerli.mudit.blog/', 'https://rpc.goerli.mudit.blog/',
// "Fallback" URLs // "Fallback" URLs
'https://rpc.ankr.com/eth_goerli', 'https://rpc.ankr.com/eth_goerli',
], ],
[SupportedChainId.KOVAN]: [
// "Safe" URLs
'https://kovan.poa.network',
// "Fallback" URLs
'https://eth-kovan.public.blastapi.io',
],
[SupportedChainId.POLYGON]: [ [SupportedChainId.POLYGON]: [
// "Safe" URLs // "Safe" URLs
'https://polygon-rpc.com/', 'https://polygon-rpc.com/',
...@@ -65,10 +51,6 @@ export const FALLBACK_URLS: { [key in SupportedChainId]: string[] } = { ...@@ -65,10 +51,6 @@ export const FALLBACK_URLS: { [key in SupportedChainId]: string[] } = {
// "Fallback" URLs // "Fallback" URLs
'https://arbitrum.public-rpc.com', 'https://arbitrum.public-rpc.com',
], ],
[SupportedChainId.ARBITRUM_RINKEBY]: [
// "Safe" URLs
'https://rinkeby.arbitrum.io/rpc',
],
[SupportedChainId.OPTIMISM]: [ [SupportedChainId.OPTIMISM]: [
// "Safe" URLs // "Safe" URLs
'https://mainnet.optimism.io/', 'https://mainnet.optimism.io/',
...@@ -98,16 +80,7 @@ export const RPC_URLS: { [key in SupportedChainId]: string[] } = { ...@@ -98,16 +80,7 @@ export const RPC_URLS: { [key in SupportedChainId]: string[] } = {
`https://mainnet.infura.io/v3/${INFURA_KEY}`, `https://mainnet.infura.io/v3/${INFURA_KEY}`,
...FALLBACK_URLS[SupportedChainId.MAINNET], ...FALLBACK_URLS[SupportedChainId.MAINNET],
], ],
[SupportedChainId.RINKEBY]: [
`https://rinkeby.infura.io/v3/${INFURA_KEY}`,
...FALLBACK_URLS[SupportedChainId.RINKEBY],
],
[SupportedChainId.ROPSTEN]: [
`https://ropsten.infura.io/v3/${INFURA_KEY}`,
...FALLBACK_URLS[SupportedChainId.ROPSTEN],
],
[SupportedChainId.GOERLI]: [`https://goerli.infura.io/v3/${INFURA_KEY}`, ...FALLBACK_URLS[SupportedChainId.GOERLI]], [SupportedChainId.GOERLI]: [`https://goerli.infura.io/v3/${INFURA_KEY}`, ...FALLBACK_URLS[SupportedChainId.GOERLI]],
[SupportedChainId.KOVAN]: [`https://kovan.infura.io/v3/${INFURA_KEY}`, ...FALLBACK_URLS[SupportedChainId.KOVAN]],
[SupportedChainId.OPTIMISM]: [ [SupportedChainId.OPTIMISM]: [
`https://optimism-mainnet.infura.io/v3/${INFURA_KEY}`, `https://optimism-mainnet.infura.io/v3/${INFURA_KEY}`,
...FALLBACK_URLS[SupportedChainId.OPTIMISM], ...FALLBACK_URLS[SupportedChainId.OPTIMISM],
...@@ -120,10 +93,6 @@ export const RPC_URLS: { [key in SupportedChainId]: string[] } = { ...@@ -120,10 +93,6 @@ export const RPC_URLS: { [key in SupportedChainId]: string[] } = {
`https://arbitrum-mainnet.infura.io/v3/${INFURA_KEY}`, `https://arbitrum-mainnet.infura.io/v3/${INFURA_KEY}`,
...FALLBACK_URLS[SupportedChainId.ARBITRUM_ONE], ...FALLBACK_URLS[SupportedChainId.ARBITRUM_ONE],
], ],
[SupportedChainId.ARBITRUM_RINKEBY]: [
`https://arbitrum-rinkeby.infura.io/v3/${INFURA_KEY}`,
...FALLBACK_URLS[SupportedChainId.ARBITRUM_RINKEBY],
],
[SupportedChainId.POLYGON]: [ [SupportedChainId.POLYGON]: [
`https://polygon-mainnet.infura.io/v3/${INFURA_KEY}`, `https://polygon-mainnet.infura.io/v3/${INFURA_KEY}`,
...FALLBACK_URLS[SupportedChainId.POLYGON], ...FALLBACK_URLS[SupportedChainId.POLYGON],
......
...@@ -3,9 +3,10 @@ import { deepCopy } from '@ethersproject/properties' ...@@ -3,9 +3,10 @@ import { deepCopy } from '@ethersproject/properties'
// eslint-disable-next-line @typescript-eslint/no-restricted-imports // eslint-disable-next-line @typescript-eslint/no-restricted-imports
import { StaticJsonRpcProvider } from '@ethersproject/providers' import { StaticJsonRpcProvider } from '@ethersproject/providers'
import { isPlain } from '@reduxjs/toolkit' import { isPlain } from '@reduxjs/toolkit'
import { SupportedChainId } from 'constants/chains'
import { AVERAGE_L1_BLOCK_TIME } from './chainInfo' import { AVERAGE_L1_BLOCK_TIME } from './chainInfo'
import { CHAIN_IDS_TO_NAMES, SupportedChainId } from './chains' import { CHAIN_IDS_TO_NAMES } from './chains'
import { RPC_URLS } from './networks' import { RPC_URLS } from './networks'
class AppJsonRpcProvider extends StaticJsonRpcProvider { class AppJsonRpcProvider extends StaticJsonRpcProvider {
...@@ -58,14 +59,10 @@ class AppJsonRpcProvider extends StaticJsonRpcProvider { ...@@ -58,14 +59,10 @@ class AppJsonRpcProvider extends StaticJsonRpcProvider {
*/ */
export const RPC_PROVIDERS: { [key in SupportedChainId]: StaticJsonRpcProvider } = { export const RPC_PROVIDERS: { [key in SupportedChainId]: StaticJsonRpcProvider } = {
[SupportedChainId.MAINNET]: new AppJsonRpcProvider(SupportedChainId.MAINNET), [SupportedChainId.MAINNET]: new AppJsonRpcProvider(SupportedChainId.MAINNET),
[SupportedChainId.RINKEBY]: new AppJsonRpcProvider(SupportedChainId.RINKEBY),
[SupportedChainId.ROPSTEN]: new AppJsonRpcProvider(SupportedChainId.ROPSTEN),
[SupportedChainId.GOERLI]: new AppJsonRpcProvider(SupportedChainId.GOERLI), [SupportedChainId.GOERLI]: new AppJsonRpcProvider(SupportedChainId.GOERLI),
[SupportedChainId.KOVAN]: new AppJsonRpcProvider(SupportedChainId.KOVAN),
[SupportedChainId.OPTIMISM]: new AppJsonRpcProvider(SupportedChainId.OPTIMISM), [SupportedChainId.OPTIMISM]: new AppJsonRpcProvider(SupportedChainId.OPTIMISM),
[SupportedChainId.OPTIMISM_GOERLI]: new AppJsonRpcProvider(SupportedChainId.OPTIMISM_GOERLI), [SupportedChainId.OPTIMISM_GOERLI]: new AppJsonRpcProvider(SupportedChainId.OPTIMISM_GOERLI),
[SupportedChainId.ARBITRUM_ONE]: new AppJsonRpcProvider(SupportedChainId.ARBITRUM_ONE), [SupportedChainId.ARBITRUM_ONE]: new AppJsonRpcProvider(SupportedChainId.ARBITRUM_ONE),
[SupportedChainId.ARBITRUM_RINKEBY]: new AppJsonRpcProvider(SupportedChainId.ARBITRUM_RINKEBY),
[SupportedChainId.POLYGON]: new AppJsonRpcProvider(SupportedChainId.POLYGON), [SupportedChainId.POLYGON]: new AppJsonRpcProvider(SupportedChainId.POLYGON),
[SupportedChainId.POLYGON_MUMBAI]: new AppJsonRpcProvider(SupportedChainId.POLYGON_MUMBAI), [SupportedChainId.POLYGON_MUMBAI]: new AppJsonRpcProvider(SupportedChainId.POLYGON_MUMBAI),
[SupportedChainId.CELO]: new AppJsonRpcProvider(SupportedChainId.CELO), [SupportedChainId.CELO]: new AppJsonRpcProvider(SupportedChainId.CELO),
......
// a list of tokens by chain // a list of tokens by chain
import { Currency, Token } from '@uniswap/sdk-core' import { Currency, Token } from '@uniswap/sdk-core'
import { SupportedChainId } from 'constants/chains'
import { SupportedChainId } from './chains'
import { import {
AMPL, AMPL,
CEUR_CELO, CEUR_CELO,
...@@ -122,22 +122,10 @@ export const COMMON_BASES: ChainCurrencyList = { ...@@ -122,22 +122,10 @@ export const COMMON_BASES: ChainCurrencyList = {
WBTC, WBTC,
WRAPPED_NATIVE_CURRENCY[SupportedChainId.MAINNET] as Token, WRAPPED_NATIVE_CURRENCY[SupportedChainId.MAINNET] as Token,
], ],
[SupportedChainId.ROPSTEN]: [
nativeOnChain(SupportedChainId.ROPSTEN),
WRAPPED_NATIVE_CURRENCY[SupportedChainId.ROPSTEN] as Token,
],
[SupportedChainId.RINKEBY]: [
nativeOnChain(SupportedChainId.RINKEBY),
WRAPPED_NATIVE_CURRENCY[SupportedChainId.RINKEBY] as Token,
],
[SupportedChainId.GOERLI]: [ [SupportedChainId.GOERLI]: [
nativeOnChain(SupportedChainId.GOERLI), nativeOnChain(SupportedChainId.GOERLI),
WRAPPED_NATIVE_CURRENCY[SupportedChainId.GOERLI] as Token, WRAPPED_NATIVE_CURRENCY[SupportedChainId.GOERLI] as Token,
], ],
[SupportedChainId.KOVAN]: [
nativeOnChain(SupportedChainId.KOVAN),
WRAPPED_NATIVE_CURRENCY[SupportedChainId.KOVAN] as Token,
],
[SupportedChainId.ARBITRUM_ONE]: [ [SupportedChainId.ARBITRUM_ONE]: [
nativeOnChain(SupportedChainId.ARBITRUM_ONE), nativeOnChain(SupportedChainId.ARBITRUM_ONE),
DAI_ARBITRUM_ONE, DAI_ARBITRUM_ONE,
...@@ -146,10 +134,6 @@ export const COMMON_BASES: ChainCurrencyList = { ...@@ -146,10 +134,6 @@ export const COMMON_BASES: ChainCurrencyList = {
WBTC_ARBITRUM_ONE, WBTC_ARBITRUM_ONE,
WRAPPED_NATIVE_CURRENCY[SupportedChainId.ARBITRUM_ONE] as Token, WRAPPED_NATIVE_CURRENCY[SupportedChainId.ARBITRUM_ONE] as Token,
], ],
[SupportedChainId.ARBITRUM_RINKEBY]: [
nativeOnChain(SupportedChainId.ARBITRUM_RINKEBY),
WRAPPED_NATIVE_CURRENCY[SupportedChainId.ARBITRUM_RINKEBY] as Token,
],
[SupportedChainId.OPTIMISM]: [ [SupportedChainId.OPTIMISM]: [
nativeOnChain(SupportedChainId.OPTIMISM), nativeOnChain(SupportedChainId.OPTIMISM),
DAI_OPTIMISM, DAI_OPTIMISM,
......
import { Currency, Ether, NativeCurrency, Token, WETH9 } from '@uniswap/sdk-core' import { Currency, Ether, NativeCurrency, Token, WETH9 } from '@uniswap/sdk-core'
import { SupportedChainId } from 'constants/chains'
import invariant from 'tiny-invariant' import invariant from 'tiny-invariant'
import { UNI_ADDRESS } from './addresses' import { UNI_ADDRESS } from './addresses'
import { SupportedChainId } from './chains'
export const NATIVE_CHAIN_ID = 'NATIVE' export const NATIVE_CHAIN_ID = 'NATIVE'
...@@ -18,20 +18,6 @@ export const USDC_MAINNET = new Token( ...@@ -18,20 +18,6 @@ export const USDC_MAINNET = new Token(
'USDC', 'USDC',
'USD//C' 'USD//C'
) )
const USDC_ROPSTEN = new Token(
SupportedChainId.ROPSTEN,
'0x07865c6e87b9f70255377e024ace6630c1eaa37f',
6,
'USDC',
'USD//C'
)
const USDC_RINKEBY = new Token(
SupportedChainId.RINKEBY,
'0x4DBCdF9B62e891a7cec5A2568C3F4FAF9E8Abe2b',
6,
'tUSDC',
'test USD//C'
)
const USDC_GOERLI = new Token( const USDC_GOERLI = new Token(
SupportedChainId.GOERLI, SupportedChainId.GOERLI,
'0x07865c6e87b9f70255377e024ace6630c1eaa37f', '0x07865c6e87b9f70255377e024ace6630c1eaa37f',
...@@ -39,7 +25,6 @@ const USDC_GOERLI = new Token( ...@@ -39,7 +25,6 @@ const USDC_GOERLI = new Token(
'USDC', 'USDC',
'USD//C' 'USD//C'
) )
const USDC_KOVAN = new Token(SupportedChainId.KOVAN, '0x31eeb2d0f9b6fd8642914ab10f4dd473677d80df', 6, 'USDC', 'USD//C')
export const USDC_OPTIMISM = new Token( export const USDC_OPTIMISM = new Token(
SupportedChainId.OPTIMISM, SupportedChainId.OPTIMISM,
'0x7F5c764cBc14f9669B88837ca1490cCa17c31607', '0x7F5c764cBc14f9669B88837ca1490cCa17c31607',
...@@ -61,13 +46,6 @@ export const USDC_ARBITRUM = new Token( ...@@ -61,13 +46,6 @@ export const USDC_ARBITRUM = new Token(
'USDC', 'USDC',
'USD//C' 'USD//C'
) )
const USDC_ARBITRUM_RINKEBY = new Token(
SupportedChainId.ARBITRUM_RINKEBY,
'0x09b98f8b2395d076514037ff7d39a091a536206c',
6,
'USDC',
'USD//C'
)
export const USDC_POLYGON = new Token( export const USDC_POLYGON = new Token(
SupportedChainId.POLYGON, SupportedChainId.POLYGON,
'0x2791bca1f2de4661ed88a30c99a7a9449aa84174', '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
...@@ -311,10 +289,7 @@ export const CEUR_CELO_ALFAJORES = new Token( ...@@ -311,10 +289,7 @@ export const CEUR_CELO_ALFAJORES = new Token(
export const UNI: { [chainId: number]: Token } = { export const UNI: { [chainId: number]: Token } = {
[SupportedChainId.MAINNET]: new Token(SupportedChainId.MAINNET, UNI_ADDRESS[1], 18, 'UNI', 'Uniswap'), [SupportedChainId.MAINNET]: new Token(SupportedChainId.MAINNET, UNI_ADDRESS[1], 18, 'UNI', 'Uniswap'),
[SupportedChainId.RINKEBY]: new Token(SupportedChainId.RINKEBY, UNI_ADDRESS[4], 18, 'UNI', 'Uniswap'),
[SupportedChainId.ROPSTEN]: new Token(SupportedChainId.ROPSTEN, UNI_ADDRESS[3], 18, 'UNI', 'Uniswap'),
[SupportedChainId.GOERLI]: new Token(SupportedChainId.GOERLI, UNI_ADDRESS[5], 18, 'UNI', 'Uniswap'), [SupportedChainId.GOERLI]: new Token(SupportedChainId.GOERLI, UNI_ADDRESS[5], 18, 'UNI', 'Uniswap'),
[SupportedChainId.KOVAN]: new Token(SupportedChainId.KOVAN, UNI_ADDRESS[42], 18, 'UNI', 'Uniswap'),
} }
export const WRAPPED_NATIVE_CURRENCY: { [chainId: number]: Token | undefined } = { export const WRAPPED_NATIVE_CURRENCY: { [chainId: number]: Token | undefined } = {
...@@ -340,13 +315,6 @@ export const WRAPPED_NATIVE_CURRENCY: { [chainId: number]: Token | undefined } = ...@@ -340,13 +315,6 @@ export const WRAPPED_NATIVE_CURRENCY: { [chainId: number]: Token | undefined } =
'WETH', 'WETH',
'Wrapped Ether' 'Wrapped Ether'
), ),
[SupportedChainId.ARBITRUM_RINKEBY]: new Token(
SupportedChainId.ARBITRUM_RINKEBY,
'0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681',
18,
'WETH',
'Wrapped Ether'
),
[SupportedChainId.POLYGON]: new Token( [SupportedChainId.POLYGON]: new Token(
SupportedChainId.POLYGON, SupportedChainId.POLYGON,
'0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270',
...@@ -447,15 +415,11 @@ export const TOKEN_SHORTHANDS: { [shorthand: string]: { [chainId in SupportedCha ...@@ -447,15 +415,11 @@ export const TOKEN_SHORTHANDS: { [shorthand: string]: { [chainId in SupportedCha
[SupportedChainId.MAINNET]: USDC_MAINNET.address, [SupportedChainId.MAINNET]: USDC_MAINNET.address,
[SupportedChainId.ARBITRUM_ONE]: USDC_ARBITRUM.address, [SupportedChainId.ARBITRUM_ONE]: USDC_ARBITRUM.address,
[SupportedChainId.OPTIMISM]: USDC_OPTIMISM.address, [SupportedChainId.OPTIMISM]: USDC_OPTIMISM.address,
[SupportedChainId.ARBITRUM_RINKEBY]: USDC_ARBITRUM_RINKEBY.address,
[SupportedChainId.OPTIMISM_GOERLI]: USDC_OPTIMISM_GOERLI.address, [SupportedChainId.OPTIMISM_GOERLI]: USDC_OPTIMISM_GOERLI.address,
[SupportedChainId.POLYGON]: USDC_POLYGON.address, [SupportedChainId.POLYGON]: USDC_POLYGON.address,
[SupportedChainId.POLYGON_MUMBAI]: USDC_POLYGON_MUMBAI.address, [SupportedChainId.POLYGON_MUMBAI]: USDC_POLYGON_MUMBAI.address,
[SupportedChainId.CELO]: PORTAL_USDC_CELO.address, [SupportedChainId.CELO]: PORTAL_USDC_CELO.address,
[SupportedChainId.CELO_ALFAJORES]: PORTAL_USDC_CELO.address, [SupportedChainId.CELO_ALFAJORES]: PORTAL_USDC_CELO.address,
[SupportedChainId.GOERLI]: USDC_GOERLI.address, [SupportedChainId.GOERLI]: USDC_GOERLI.address,
[SupportedChainId.RINKEBY]: USDC_RINKEBY.address,
[SupportedChainId.KOVAN]: USDC_KOVAN.address,
[SupportedChainId.ROPSTEN]: USDC_ROPSTEN.address,
}, },
} }
...@@ -62,7 +62,6 @@ export const CHAIN_ID_TO_BACKEND_NAME: { [key: number]: Chain } = { ...@@ -62,7 +62,6 @@ export const CHAIN_ID_TO_BACKEND_NAME: { [key: number]: Chain } = {
[SupportedChainId.CELO]: Chain.Celo, [SupportedChainId.CELO]: Chain.Celo,
[SupportedChainId.CELO_ALFAJORES]: Chain.Celo, [SupportedChainId.CELO_ALFAJORES]: Chain.Celo,
[SupportedChainId.ARBITRUM_ONE]: Chain.Arbitrum, [SupportedChainId.ARBITRUM_ONE]: Chain.Arbitrum,
[SupportedChainId.ARBITRUM_RINKEBY]: Chain.Arbitrum,
[SupportedChainId.OPTIMISM]: Chain.Optimism, [SupportedChainId.OPTIMISM]: Chain.Optimism,
[SupportedChainId.OPTIMISM_GOERLI]: Chain.Optimism, [SupportedChainId.OPTIMISM_GOERLI]: Chain.Optimism,
} }
......
...@@ -5,7 +5,6 @@ import store, { AppState } from '../../state/index' ...@@ -5,7 +5,6 @@ import store, { AppState } from '../../state/index'
const CHAIN_SUBGRAPH_URL: Record<number, string> = { const CHAIN_SUBGRAPH_URL: Record<number, string> = {
[SupportedChainId.MAINNET]: 'https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3', [SupportedChainId.MAINNET]: 'https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3',
[SupportedChainId.RINKEBY]: 'https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3',
[SupportedChainId.ARBITRUM_ONE]: 'https://api.thegraph.com/subgraphs/name/ianlapham/arbitrum-minimal', [SupportedChainId.ARBITRUM_ONE]: 'https://api.thegraph.com/subgraphs/name/ianlapham/arbitrum-minimal',
......
...@@ -13,7 +13,6 @@ import { useQuoter } from './useContract' ...@@ -13,7 +13,6 @@ import { useQuoter } from './useContract'
const QUOTE_GAS_OVERRIDES: { [chainId: number]: number } = { const QUOTE_GAS_OVERRIDES: { [chainId: number]: number } = {
[SupportedChainId.ARBITRUM_ONE]: 25_000_000, [SupportedChainId.ARBITRUM_ONE]: 25_000_000,
[SupportedChainId.ARBITRUM_RINKEBY]: 25_000_000,
[SupportedChainId.CELO]: 50_000_000, [SupportedChainId.CELO]: 50_000_000,
[SupportedChainId.CELO_ALFAJORES]: 50_000_000, [SupportedChainId.CELO_ALFAJORES]: 50_000_000,
[SupportedChainId.POLYGON]: 40_000_000, [SupportedChainId.POLYGON]: 40_000_000,
......
import { namehash } from '@ethersproject/hash'
import { useSingleCallResult } from 'lib/hooks/multicall' import { useSingleCallResult } from 'lib/hooks/multicall'
import { useMemo } from 'react' import { useMemo } from 'react'
import { safeNamehash } from 'utils/safeNamehash'
import isZero from '../utils/isZero' import isZero from '../utils/isZero'
import { useENSRegistrarContract, useENSResolverContract } from './useContract' import { useENSRegistrarContract, useENSResolverContract } from './useContract'
...@@ -11,10 +11,7 @@ import useDebounce from './useDebounce' ...@@ -11,10 +11,7 @@ import useDebounce from './useDebounce'
*/ */
export default function useENSAddress(ensName?: string | null): { loading: boolean; address: string | null } { export default function useENSAddress(ensName?: string | null): { loading: boolean; address: string | null } {
const debouncedName = useDebounce(ensName, 200) const debouncedName = useDebounce(ensName, 200)
const ensNodeArgument = useMemo( const ensNodeArgument = useMemo(() => [debouncedName ? namehash(debouncedName) : undefined], [debouncedName])
() => [debouncedName === null ? undefined : safeNamehash(debouncedName)],
[debouncedName]
)
const registrarContract = useENSRegistrarContract(false) const registrarContract = useENSRegistrarContract(false)
const resolverAddress = useSingleCallResult(registrarContract, 'resolver', ensNodeArgument) const resolverAddress = useSingleCallResult(registrarContract, 'resolver', ensNodeArgument)
const resolverAddressResult = resolverAddress.result?.[0] const resolverAddressResult = resolverAddress.result?.[0]
......
...@@ -5,7 +5,6 @@ import { useWeb3React } from '@web3-react/core' ...@@ -5,7 +5,6 @@ import { useWeb3React } from '@web3-react/core'
import { useSingleCallResult } from 'lib/hooks/multicall' import { useSingleCallResult } from 'lib/hooks/multicall'
import uriToHttp from 'lib/utils/uriToHttp' import uriToHttp from 'lib/utils/uriToHttp'
import { useEffect, useMemo, useState } from 'react' import { useEffect, useMemo, useState } from 'react'
import { safeNamehash } from 'utils/safeNamehash'
import { isAddress } from '../utils' import { isAddress } from '../utils'
import isZero from '../utils/isZero' import isZero from '../utils/isZero'
...@@ -29,7 +28,7 @@ export default function useENSAvatar( ...@@ -29,7 +28,7 @@ export default function useENSAvatar(
const addressAvatar = useAvatarFromNode(node) const addressAvatar = useAvatarFromNode(node)
const ENSName = useENSName(address).ENSName const ENSName = useENSName(address).ENSName
const nameAvatar = useAvatarFromNode(ENSName === null ? undefined : safeNamehash(ENSName)) const nameAvatar = useAvatarFromNode(ENSName === null ? undefined : namehash(ENSName))
let avatar = addressAvatar.avatar || nameAvatar.avatar let avatar = addressAvatar.avatar || nameAvatar.avatar
const nftAvatar = useAvatarFromNFT(avatar, enforceOwnership) const nftAvatar = useAvatarFromNFT(avatar, enforceOwnership)
......
import { namehash } from '@ethersproject/hash'
import { useSingleCallResult } from 'lib/hooks/multicall' import { useSingleCallResult } from 'lib/hooks/multicall'
import { useMemo } from 'react' import { useMemo } from 'react'
import { safeNamehash } from 'utils/safeNamehash'
import isZero from '../utils/isZero' import isZero from '../utils/isZero'
import { useENSRegistrarContract, useENSResolverContract } from './useContract' import { useENSRegistrarContract, useENSResolverContract } from './useContract'
...@@ -9,7 +9,7 @@ import { useENSRegistrarContract, useENSResolverContract } from './useContract' ...@@ -9,7 +9,7 @@ import { useENSRegistrarContract, useENSResolverContract } from './useContract'
* Does a lookup for an ENS name to find its contenthash. * Does a lookup for an ENS name to find its contenthash.
*/ */
export default function useENSContentHash(ensName?: string | null): { loading: boolean; contenthash: string | null } { export default function useENSContentHash(ensName?: string | null): { loading: boolean; contenthash: string | null } {
const ensNodeArgument = useMemo(() => [ensName === null ? undefined : safeNamehash(ensName)], [ensName]) const ensNodeArgument = useMemo(() => [ensName ? namehash(ensName) : undefined], [ensName])
const registrarContract = useENSRegistrarContract(false) const registrarContract = useENSRegistrarContract(false)
const resolverAddressResult = useSingleCallResult(registrarContract, 'resolver', ensNodeArgument) const resolverAddressResult = useSingleCallResult(registrarContract, 'resolver', ensNodeArgument)
const resolverAddress = resolverAddressResult.result?.[0] const resolverAddress = resolverAddressResult.result?.[0]
......
...@@ -3,6 +3,7 @@ import { splitSignature } from '@ethersproject/bytes' ...@@ -3,6 +3,7 @@ import { splitSignature } from '@ethersproject/bytes'
import { Trade } from '@uniswap/router-sdk' import { Trade } from '@uniswap/router-sdk'
import { Currency, CurrencyAmount, Percent, TradeType } from '@uniswap/sdk-core' import { Currency, CurrencyAmount, Percent, TradeType } from '@uniswap/sdk-core'
import { useWeb3React } from '@web3-react/core' import { useWeb3React } from '@web3-react/core'
import { SupportedChainId } from 'constants/chains'
import JSBI from 'jsbi' import JSBI from 'jsbi'
import { useSingleCallResult } from 'lib/hooks/multicall' import { useSingleCallResult } from 'lib/hooks/multicall'
import { useMemo, useState } from 'react' import { useMemo, useState } from 'react'
...@@ -33,24 +34,13 @@ const PERMITTABLE_TOKENS: { ...@@ -33,24 +34,13 @@ const PERMITTABLE_TOKENS: {
[checksummedTokenAddress: string]: PermitInfo [checksummedTokenAddress: string]: PermitInfo
} }
} = { } = {
1: { [SupportedChainId.MAINNET]: {
[USDC_MAINNET.address]: { type: PermitType.AMOUNT, name: 'USD Coin', version: '2' }, [USDC_MAINNET.address]: { type: PermitType.AMOUNT, name: 'USD Coin', version: '2' },
[DAI.address]: { type: PermitType.ALLOWED, name: 'Dai Stablecoin', version: '1' }, [DAI.address]: { type: PermitType.ALLOWED, name: 'Dai Stablecoin', version: '1' },
[UNI[1].address]: { type: PermitType.AMOUNT, name: 'Uniswap' }, [UNI[SupportedChainId.MAINNET].address]: { type: PermitType.AMOUNT, name: 'Uniswap' },
}, },
4: { [SupportedChainId.GOERLI]: {
'0xc7AD46e0b8a400Bb3C915120d284AafbA8fc4735': { type: PermitType.ALLOWED, name: 'Dai Stablecoin', version: '1' }, [UNI[SupportedChainId.GOERLI].address]: { type: PermitType.AMOUNT, name: 'Uniswap' },
[UNI[4].address]: { type: PermitType.AMOUNT, name: 'Uniswap' },
},
3: {
[UNI[3].address]: { type: PermitType.AMOUNT, name: 'Uniswap' },
'0x07865c6E87B9F70255377e024ace6630C1Eaa37F': { type: PermitType.AMOUNT, name: 'USD Coin', version: '2' },
},
5: {
[UNI[5].address]: { type: PermitType.AMOUNT, name: 'Uniswap' },
},
42: {
[UNI[42].address]: { type: PermitType.AMOUNT, name: 'Uniswap' },
}, },
} }
......
...@@ -15,7 +15,7 @@ import { useTickLens } from './useContract' ...@@ -15,7 +15,7 @@ import { useTickLens } from './useContract'
import { PoolState, usePool } from './usePools' import { PoolState, usePool } from './usePools'
const PRICE_FIXED_DIGITS = 8 const PRICE_FIXED_DIGITS = 8
const CHAIN_IDS_MISSING_SUBGRAPH_DATA = [SupportedChainId.ARBITRUM_ONE, SupportedChainId.ARBITRUM_RINKEBY] const CHAIN_IDS_MISSING_SUBGRAPH_DATA = [SupportedChainId.ARBITRUM_ONE]
// Tick with fields parsed to JSBIs, and active liquidity computed. // Tick with fields parsed to JSBIs, and active liquidity computed.
export interface TickProcessed { export interface TickProcessed {
......
import { Currency, CurrencyAmount, Price, Token, TradeType } from '@uniswap/sdk-core' import { Currency, CurrencyAmount, Price, Token, TradeType } from '@uniswap/sdk-core'
import { useWeb3React } from '@web3-react/core' import { useWeb3React } from '@web3-react/core'
import { SupportedChainId } from 'constants/chains'
import tryParseCurrencyAmount from 'lib/utils/tryParseCurrencyAmount' import tryParseCurrencyAmount from 'lib/utils/tryParseCurrencyAmount'
import { useMemo, useRef } from 'react' import { useMemo, useRef } from 'react'
import { RouterPreference } from 'state/routing/slice' import { RouterPreference } from 'state/routing/slice'
import { useRoutingAPITrade } from 'state/routing/useRoutingAPITrade' import { useRoutingAPITrade } from 'state/routing/useRoutingAPITrade'
import { SupportedChainId } from '../constants/chains'
import { CUSD_CELO, DAI_OPTIMISM, USDC_ARBITRUM, USDC_MAINNET, USDC_POLYGON } from '../constants/tokens' import { CUSD_CELO, DAI_OPTIMISM, USDC_ARBITRUM, USDC_MAINNET, USDC_POLYGON } from '../constants/tokens'
// Stablecoin amounts used when calculating spot price for a given currency. // Stablecoin amounts used when calculating spot price for a given currency.
......
...@@ -32,7 +32,6 @@ export function shouldCheck(lastBlockNumber: number, tx: Transaction): boolean { ...@@ -32,7 +32,6 @@ export function shouldCheck(lastBlockNumber: number, tx: Transaction): boolean {
const RETRY_OPTIONS_BY_CHAIN_ID: { [chainId: number]: RetryOptions } = { const RETRY_OPTIONS_BY_CHAIN_ID: { [chainId: number]: RetryOptions } = {
[SupportedChainId.ARBITRUM_ONE]: { n: 10, minWait: 250, maxWait: 1000 }, [SupportedChainId.ARBITRUM_ONE]: { n: 10, minWait: 250, maxWait: 1000 },
[SupportedChainId.ARBITRUM_RINKEBY]: { n: 10, minWait: 250, maxWait: 1000 },
[SupportedChainId.OPTIMISM_GOERLI]: { n: 10, minWait: 250, maxWait: 1000 }, [SupportedChainId.OPTIMISM_GOERLI]: { n: 10, minWait: 250, maxWait: 1000 },
[SupportedChainId.OPTIMISM]: { n: 10, minWait: 250, maxWait: 1000 }, [SupportedChainId.OPTIMISM]: { n: 10, minWait: 250, maxWait: 1000 },
} }
......
...@@ -16,6 +16,7 @@ import { ...@@ -16,6 +16,7 @@ import {
GOVERNANCE_ALPHA_V1_ADDRESSES, GOVERNANCE_ALPHA_V1_ADDRESSES,
GOVERNANCE_BRAVO_ADDRESSES, GOVERNANCE_BRAVO_ADDRESSES,
} from 'constants/addresses' } from 'constants/addresses'
import { SupportedChainId } from 'constants/chains'
import { LATEST_GOVERNOR_INDEX } from 'constants/governance' import { LATEST_GOVERNOR_INDEX } from 'constants/governance'
import { POLYGON_PROPOSAL_TITLE } from 'constants/proposals/polygon_proposal_title' import { POLYGON_PROPOSAL_TITLE } from 'constants/proposals/polygon_proposal_title'
import { UNISWAP_GRANTS_PROPOSAL_DESCRIPTION } from 'constants/proposals/uniswap_grants_proposal_description' import { UNISWAP_GRANTS_PROPOSAL_DESCRIPTION } from 'constants/proposals/uniswap_grants_proposal_description'
...@@ -24,7 +25,6 @@ import { useSingleCallResult, useSingleContractMultipleData } from 'lib/hooks/mu ...@@ -24,7 +25,6 @@ import { useSingleCallResult, useSingleContractMultipleData } from 'lib/hooks/mu
import { useCallback, useMemo } from 'react' import { useCallback, useMemo } from 'react'
import { calculateGasMargin } from 'utils/calculateGasMargin' import { calculateGasMargin } from 'utils/calculateGasMargin'
import { SupportedChainId } from '../../constants/chains'
import { import {
BRAVO_START_BLOCK, BRAVO_START_BLOCK,
MOONBEAN_START_BLOCK, MOONBEAN_START_BLOCK,
......
import { useWeb3React } from '@web3-react/core' import { useWeb3React } from '@web3-react/core'
import { SupportedChainId } from 'constants/chains'
import { useIsNftPage } from 'hooks/useIsNftPage' import { useIsNftPage } from 'hooks/useIsNftPage'
import { useEffect } from 'react' import { useEffect } from 'react'
import { useDarkModeManager } from 'state/user/hooks' import { useDarkModeManager } from 'state/user/hooks'
import { SupportedChainId } from '../../constants/chains'
import { darkTheme, lightTheme } from '../colors' import { darkTheme, lightTheme } from '../colors'
const initialStyles = { const initialStyles = {
...@@ -47,8 +47,7 @@ export default function RadialGradientByChainUpdater(): null { ...@@ -47,8 +47,7 @@ export default function RadialGradientByChainUpdater(): null {
} }
switch (chainId) { switch (chainId) {
case SupportedChainId.ARBITRUM_ONE: case SupportedChainId.ARBITRUM_ONE: {
case SupportedChainId.ARBITRUM_RINKEBY: {
setBackground(backgroundResetStyles) setBackground(backgroundResetStyles)
const arbitrumLightGradient = const arbitrumLightGradient =
'radial-gradient(100% 100% at 50% 0%, rgba(205, 232, 251, 0.7) 0%, rgba(252, 243, 249, 0.6536) 49.48%, rgba(255, 255, 255, 0) 100%), #FFFFFF' 'radial-gradient(100% 100% at 50% 0%, rgba(205, 232, 251, 0.7) 0%, rgba(252, 243, 249, 0.6536) 49.48%, rgba(255, 255, 255, 0) 100%), #FFFFFF'
......
...@@ -11,26 +11,18 @@ describe('#anonymizeLink', () => { ...@@ -11,26 +11,18 @@ describe('#anonymizeLink', () => {
expect(anonymizeLink('https://goerli.etherscan.io/address/0xabcd')).toEqual( expect(anonymizeLink('https://goerli.etherscan.io/address/0xabcd')).toEqual(
'https://goerli.etherscan.io/address/***' 'https://goerli.etherscan.io/address/***'
) )
expect(anonymizeLink('https://ropsten.etherscan.io/address/0xabcd')).toEqual(
'https://ropsten.etherscan.io/address/***'
)
}) })
it('anonymizes hashes in the middle of the url', () => { it('anonymizes hashes in the middle of the url', () => {
expect(anonymizeLink('https://ropsten.etherscan.io/address/0xabcd/test')).toEqual( expect(anonymizeLink('https://goerli.etherscan.io/address/0xabcd/test')).toEqual(
'https://ropsten.etherscan.io/address/***/test' 'https://goerli.etherscan.io/address/***/test'
) )
}) })
it('does not anonymize 0x', () => { it('does not anonymize 0x', () => {
expect(anonymizeLink('https://ropsten.etherscan.io/address/0x/test')).toEqual( expect(anonymizeLink('https://goerli.etherscan.io/address/0x/test')).toEqual(
'https://ropsten.etherscan.io/address/0x/test' 'https://goerli.etherscan.io/address/0x/test'
) )
}) })
it('works for arbitrum urls', () => { it('works for arbitrum urls', () => {
expect(anonymizeLink('https://arbiscan.io/0x/0xabc')).toEqual('https://arbiscan.io/0x/***') expect(anonymizeLink('https://arbiscan.io/0x/0xabc')).toEqual('https://arbiscan.io/0x/***')
}) })
it('works for arbitrum rinkeby urls', () => {
expect(anonymizeLink('https://rinkeby-explorer.arbitrum.io/0x/0xabc')).toEqual(
'https://rinkeby-explorer.arbitrum.io/0x/***'
)
})
}) })
const EXPLORER_HOSTNAMES: { [hostname: string]: true } = { const EXPLORER_HOSTNAMES: { [hostname: string]: true } = {
'etherscan.io': true, 'etherscan.io': true,
'ropsten.etherscan.io': true,
'rinkeby.etherscan.io': true,
'kovan.etherscan.io': true,
'goerli.etherscan.io': true, 'goerli.etherscan.io': true,
'optimistic.etherscan.io': true, 'optimistic.etherscan.io': true,
'goerli-optimism.etherscan.io': true, 'goerli-optimism.etherscan.io': true,
'rinkeby-explorer.arbitrum.io': true,
'arbiscan.io': true, 'arbiscan.io': true,
} }
......
import { SupportedChainId } from '../constants/chains' import { SupportedChainId } from 'constants/chains'
const DEFAULT_NETWORKS = [ const DEFAULT_NETWORKS = [SupportedChainId.MAINNET, SupportedChainId.GOERLI]
SupportedChainId.MAINNET,
SupportedChainId.ROPSTEN,
SupportedChainId.RINKEBY,
SupportedChainId.GOERLI,
SupportedChainId.KOVAN,
]
export function constructSameAddressMap<T extends string>( export function constructSameAddressMap<T extends string>(
address: T, address: T,
......
import { SupportedChainId } from '../constants/chains' import { SupportedChainId } from 'constants/chains'
const BLOCK_EXPLORER_PREFIXES: { [chainId: number]: string } = { const BLOCK_EXPLORER_PREFIXES: { [chainId: number]: string } = {
[SupportedChainId.MAINNET]: 'https://etherscan.io', [SupportedChainId.MAINNET]: 'https://etherscan.io',
[SupportedChainId.ROPSTEN]: 'https://ropsten.etherscan.io',
[SupportedChainId.RINKEBY]: 'https://rinkeby.etherscan.io',
[SupportedChainId.GOERLI]: 'https://goerli.etherscan.io', [SupportedChainId.GOERLI]: 'https://goerli.etherscan.io',
[SupportedChainId.KOVAN]: 'https://kovan.etherscan.io',
[SupportedChainId.OPTIMISM]: 'https://optimistic.etherscan.io', [SupportedChainId.OPTIMISM]: 'https://optimistic.etherscan.io',
[SupportedChainId.OPTIMISM_GOERLI]: 'https://goerli-optimism.etherscan.io', [SupportedChainId.OPTIMISM_GOERLI]: 'https://goerli-optimism.etherscan.io',
[SupportedChainId.POLYGON]: 'https://polygonscan.com', [SupportedChainId.POLYGON]: 'https://polygonscan.com',
...@@ -42,20 +39,6 @@ export function getExplorerLink(chainId: number, data: string, type: ExplorerDat ...@@ -42,20 +39,6 @@ export function getExplorerLink(chainId: number, data: string, type: ExplorerDat
} }
} }
if (chainId === SupportedChainId.ARBITRUM_RINKEBY) {
switch (type) {
case ExplorerDataType.TRANSACTION:
return `https://rinkeby-explorer.arbitrum.io/tx/${data}`
case ExplorerDataType.ADDRESS:
case ExplorerDataType.TOKEN:
return `https://rinkeby-explorer.arbitrum.io/address/${data}`
case ExplorerDataType.BLOCK:
return `https://rinkeby-explorer.arbitrum.io/block/${data}`
default:
return `https://rinkeby-explorer.arbitrum.io/`
}
}
const prefix = BLOCK_EXPLORER_PREFIXES[chainId] ?? 'https://etherscan.io' const prefix = BLOCK_EXPLORER_PREFIXES[chainId] ?? 'https://etherscan.io'
switch (type) { switch (type) {
......
import { namehash } from '@ethersproject/hash'
import { safeNamehash } from './safeNamehash'
describe('#safeNamehash', () => {
const emoji = '🤔'
it('#namehash fails', () => {
expect(() => namehash(emoji)).toThrow('STRINGPREP_CONTAINS_UNASSIGNED')
})
// suppress console.debug for the next test
beforeEach(() => {
// eslint-disable-next-line @typescript-eslint/no-empty-function
jest.spyOn(console, 'debug').mockImplementation(() => {})
})
it('works', () => {
expect(safeNamehash(emoji)).toEqual(undefined)
})
})
import { namehash } from '@ethersproject/hash'
export function safeNamehash(name?: string): string | undefined {
if (name === undefined) return undefined
try {
return namehash(name)
} catch (error) {
console.debug(error)
return undefined
}
}
import { SupportedChainId } from '../constants/chains' import { SupportedChainId } from 'constants/chains'
/** /**
* Returns the input chain ID if chain is supported. If not, return undefined * Returns the input chain ID if chain is supported. If not, return undefined
......
import { Connector } from '@web3-react/types' import { Connector } from '@web3-react/types'
import { networkConnection, walletConnectConnection } from 'connection' import { networkConnection, walletConnectConnection } from 'connection'
import { getChainInfo } from 'constants/chainInfo' import { getChainInfo } from 'constants/chainInfo'
import { isSupportedChain, SupportedChainId } from 'constants/chains' import { SupportedChainId } from 'constants/chains'
import { isSupportedChain } from 'constants/chains'
import { FALLBACK_URLS, RPC_URLS } from 'constants/networks' import { FALLBACK_URLS, RPC_URLS } from 'constants/networks'
function getRpcUrl(chainId: SupportedChainId): string { function getRpcUrl(chainId: SupportedChainId): string {
switch (chainId) { switch (chainId) {
case SupportedChainId.MAINNET: case SupportedChainId.MAINNET:
case SupportedChainId.RINKEBY:
case SupportedChainId.ROPSTEN:
case SupportedChainId.KOVAN:
case SupportedChainId.GOERLI: case SupportedChainId.GOERLI:
return RPC_URLS[chainId][0] return RPC_URLS[chainId][0]
// Attempting to add a chain using an infura URL will not work, as the URL will be unreachable from the MetaMask background page. // Attempting to add a chain using an infura URL will not work, as the URL will be unreachable from the MetaMask background page.
......
...@@ -1433,109 +1433,109 @@ ...@@ -1433,109 +1433,109 @@
minimatch "^3.0.4" minimatch "^3.0.4"
strip-json-comments "^3.1.1" strip-json-comments "^3.1.1"
"@ethersproject/abi@5.6.4", "@ethersproject/abi@^5.0.12", "@ethersproject/abi@^5.5.0", "@ethersproject/abi@^5.6.3": "@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.0.12", "@ethersproject/abi@^5.5.0", "@ethersproject/abi@^5.7.0":
version "5.6.4" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.6.4.tgz#f6e01b6ed391a505932698ecc0d9e7a99ee60362" resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449"
integrity sha512-TTeZUlCeIHG6527/2goZA6gW5F8Emoc7MrZDC7hhP84aRGvW3TEdTnZR08Ls88YXM1m2SuK42Osw/jSi3uO8gg== integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==
dependencies: dependencies:
"@ethersproject/address" "^5.6.1" "@ethersproject/address" "^5.7.0"
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/constants" "^5.6.1" "@ethersproject/constants" "^5.7.0"
"@ethersproject/hash" "^5.6.1" "@ethersproject/hash" "^5.7.0"
"@ethersproject/keccak256" "^5.6.1" "@ethersproject/keccak256" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.6.1" "@ethersproject/strings" "^5.7.0"
"@ethersproject/abstract-provider@5.6.1", "@ethersproject/abstract-provider@^5.6.1": "@ethersproject/abstract-provider@5.7.0", "@ethersproject/abstract-provider@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.6.1.tgz#02ddce150785caf0c77fe036a0ebfcee61878c59" resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz#b0a8550f88b6bf9d51f90e4795d48294630cb9ef"
integrity sha512-BxlIgogYJtp1FS8Muvj8YfdClk3unZH0vRMVX791Z9INBNT/kuACZ9GzaY1Y4yFq+YSy6/w4gzj3HCRKrK9hsQ== integrity sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==
dependencies: dependencies:
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/networks" "^5.6.3" "@ethersproject/networks" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/properties" "^5.7.0"
"@ethersproject/transactions" "^5.6.2" "@ethersproject/transactions" "^5.7.0"
"@ethersproject/web" "^5.6.1" "@ethersproject/web" "^5.7.0"
"@ethersproject/abstract-signer@5.6.2", "@ethersproject/abstract-signer@^5.5.0", "@ethersproject/abstract-signer@^5.6.2": "@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.5.0", "@ethersproject/abstract-signer@^5.7.0":
version "5.6.2" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.6.2.tgz#491f07fc2cbd5da258f46ec539664713950b0b33" resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz#13f4f32117868452191a4649723cb086d2b596b2"
integrity sha512-n1r6lttFBG0t2vNiI3HoWaS/KdOt8xyDjzlP2cuevlWLG6EX0OwcKLyG/Kp/cuwNxdy/ous+R/DEMdTUwWQIjQ== integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==
dependencies: dependencies:
"@ethersproject/abstract-provider" "^5.6.1" "@ethersproject/abstract-provider" "^5.7.0"
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/properties" "^5.7.0"
"@ethersproject/address@5.6.1", "@ethersproject/address@^5", "@ethersproject/address@^5.0.0", "@ethersproject/address@^5.0.2", "@ethersproject/address@^5.6.1": "@ethersproject/address@5.7.0", "@ethersproject/address@^5", "@ethersproject/address@^5.0.0", "@ethersproject/address@^5.0.2", "@ethersproject/address@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.6.1.tgz#ab57818d9aefee919c5721d28cd31fd95eff413d" resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37"
integrity sha512-uOgF0kS5MJv9ZvCz7x6T2EXJSzotiybApn4XlOgoTX0xdtyVIJ7pF+6cGPxiEq/dpBiTfMiw7Yc81JcwhSYA0Q== integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==
dependencies: dependencies:
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/keccak256" "^5.6.1" "@ethersproject/keccak256" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/rlp" "^5.6.1" "@ethersproject/rlp" "^5.7.0"
"@ethersproject/base64@5.6.1", "@ethersproject/base64@^5.6.1": "@ethersproject/base64@5.7.0", "@ethersproject/base64@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.6.1.tgz#2c40d8a0310c9d1606c2c37ae3092634b41d87cb" resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.7.0.tgz#ac4ee92aa36c1628173e221d0d01f53692059e1c"
integrity sha512-qB76rjop6a0RIYYMiB4Eh/8n+Hxu2NIZm8S/Q7kNo5pmZfXhHGHmS4MinUainiBC54SCyRnwzL+KZjj8zbsSsw== integrity sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==
dependencies: dependencies:
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/basex@5.6.1", "@ethersproject/basex@^5.6.1": "@ethersproject/basex@5.7.0", "@ethersproject/basex@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.6.1.tgz#badbb2f1d4a6f52ce41c9064f01eab19cc4c5305" resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.7.0.tgz#97034dc7e8938a8ca943ab20f8a5e492ece4020b"
integrity sha512-a52MkVz4vuBXR06nvflPMotld1FJWSj2QT0985v7P/emPZO00PucFAkbcmq2vpVU7Ts7umKiSI6SppiLykVWsA== integrity sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==
dependencies: dependencies:
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/properties" "^5.7.0"
"@ethersproject/bignumber@5.6.2", "@ethersproject/bignumber@^5.6.2": "@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@^5.7.0":
version "5.6.2" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.6.2.tgz#72a0717d6163fab44c47bcc82e0c550ac0315d66" resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2"
integrity sha512-v7+EEUbhGqT3XJ9LMPsKvXYHFc8eHxTowFCG/HgJErmq4XHJ2WR7aeyICg3uTOAQ7Icn0GFHAohXEhxQHq4Ubw== integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==
dependencies: dependencies:
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
bn.js "^5.2.1" bn.js "^5.2.1"
"@ethersproject/bytes@5.6.1", "@ethersproject/bytes@^5.6.1": "@ethersproject/bytes@5.7.0", "@ethersproject/bytes@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.6.1.tgz#24f916e411f82a8a60412344bf4a813b917eefe7" resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d"
integrity sha512-NwQt7cKn5+ZE4uDn+X5RAXLp46E1chXoaMmrxAyA0rblpxz8t58lVkrHXoRIn0lz1joQElQ8410GqhTqMOwc6g== integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==
dependencies: dependencies:
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/constants@5.6.1", "@ethersproject/constants@^5.6.1": "@ethersproject/constants@5.7.0", "@ethersproject/constants@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.6.1.tgz#e2e974cac160dd101cf79fdf879d7d18e8cb1370" resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.7.0.tgz#df80a9705a7e08984161f09014ea012d1c75295e"
integrity sha512-QSq9WVnZbxXYFftrjSjZDUshp6/eKp6qrtdBtUCm0QxCV5z1fG/w3kdlcsjMCQuQHUnAclKoK7XpXMezhRDOLg== integrity sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==
dependencies: dependencies:
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/contracts@5.6.2": "@ethersproject/contracts@5.7.0":
version "5.6.2" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.6.2.tgz#20b52e69ebc1b74274ff8e3d4e508de971c287bc" resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.7.0.tgz#c305e775abd07e48aa590e1a877ed5c316f8bd1e"
integrity sha512-hguUA57BIKi6WY0kHvZp6PwPlWF87MCeB4B7Z7AbUpTxfFXFdn/3b0GmjZPagIHS+3yhcBJDnuEfU4Xz+Ks/8g== integrity sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==
dependencies: dependencies:
"@ethersproject/abi" "^5.6.3" "@ethersproject/abi" "^5.7.0"
"@ethersproject/abstract-provider" "^5.6.1" "@ethersproject/abstract-provider" "^5.7.0"
"@ethersproject/abstract-signer" "^5.6.2" "@ethersproject/abstract-signer" "^5.7.0"
"@ethersproject/address" "^5.6.1" "@ethersproject/address" "^5.7.0"
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/constants" "^5.6.1" "@ethersproject/constants" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/properties" "^5.7.0"
"@ethersproject/transactions" "^5.6.2" "@ethersproject/transactions" "^5.7.0"
"@ethersproject/experimental@^5.4.0": "@ethersproject/experimental@^5.4.0":
version "5.6.0" version "5.6.0"
...@@ -1546,242 +1546,243 @@ ...@@ -1546,242 +1546,243 @@
ethers "^5.6.0" ethers "^5.6.0"
scrypt-js "3.0.1" scrypt-js "3.0.1"
"@ethersproject/hash@5.6.1", "@ethersproject/hash@^5.6.1": "@ethersproject/hash@5.7.0", "@ethersproject/hash@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.6.1.tgz#224572ea4de257f05b4abf8ae58b03a67e99b0f4" resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.7.0.tgz#eb7aca84a588508369562e16e514b539ba5240a7"
integrity sha512-L1xAHurbaxG8VVul4ankNX5HgQ8PNCTrnVXEiFnE9xoRnaUcgfD12tZINtDinSllxPLCtGwguQxJ5E6keE84pA== integrity sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==
dependencies: dependencies:
"@ethersproject/abstract-signer" "^5.6.2" "@ethersproject/abstract-signer" "^5.7.0"
"@ethersproject/address" "^5.6.1" "@ethersproject/address" "^5.7.0"
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/base64" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/keccak256" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/keccak256" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/strings" "^5.6.1" "@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.7.0"
"@ethersproject/hdnode@5.6.2", "@ethersproject/hdnode@^5.6.2":
version "5.6.2" "@ethersproject/hdnode@5.7.0", "@ethersproject/hdnode@^5.7.0":
resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.6.2.tgz#26f3c83a3e8f1b7985c15d1db50dc2903418b2d2" version "5.7.0"
integrity sha512-tERxW8Ccf9CxW2db3WsN01Qao3wFeRsfYY9TCuhmG0xNpl2IO8wgXU3HtWIZ49gUWPggRy4Yg5axU0ACaEKf1Q== resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.7.0.tgz#e627ddc6b466bc77aebf1a6b9e47405ca5aef9cf"
dependencies: integrity sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==
"@ethersproject/abstract-signer" "^5.6.2" dependencies:
"@ethersproject/basex" "^5.6.1" "@ethersproject/abstract-signer" "^5.7.0"
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/basex" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/pbkdf2" "^5.6.1" "@ethersproject/logger" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/pbkdf2" "^5.7.0"
"@ethersproject/sha2" "^5.6.1" "@ethersproject/properties" "^5.7.0"
"@ethersproject/signing-key" "^5.6.2" "@ethersproject/sha2" "^5.7.0"
"@ethersproject/strings" "^5.6.1" "@ethersproject/signing-key" "^5.7.0"
"@ethersproject/transactions" "^5.6.2" "@ethersproject/strings" "^5.7.0"
"@ethersproject/wordlists" "^5.6.1" "@ethersproject/transactions" "^5.7.0"
"@ethersproject/wordlists" "^5.7.0"
"@ethersproject/json-wallets@5.6.1", "@ethersproject/json-wallets@^5.6.1":
version "5.6.1" "@ethersproject/json-wallets@5.7.0", "@ethersproject/json-wallets@^5.7.0":
resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.6.1.tgz#3f06ba555c9c0d7da46756a12ac53483fe18dd91" version "5.7.0"
integrity sha512-KfyJ6Zwz3kGeX25nLihPwZYlDqamO6pfGKNnVMWWfEVVp42lTfCZVXXy5Ie8IZTN0HKwAngpIPi7gk4IJzgmqQ== resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz#5e3355287b548c32b368d91014919ebebddd5360"
dependencies: integrity sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==
"@ethersproject/abstract-signer" "^5.6.2" dependencies:
"@ethersproject/address" "^5.6.1" "@ethersproject/abstract-signer" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/address" "^5.7.0"
"@ethersproject/hdnode" "^5.6.2" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/keccak256" "^5.6.1" "@ethersproject/hdnode" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/keccak256" "^5.7.0"
"@ethersproject/pbkdf2" "^5.6.1" "@ethersproject/logger" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/pbkdf2" "^5.7.0"
"@ethersproject/random" "^5.6.1" "@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.6.1" "@ethersproject/random" "^5.7.0"
"@ethersproject/transactions" "^5.6.2" "@ethersproject/strings" "^5.7.0"
"@ethersproject/transactions" "^5.7.0"
aes-js "3.0.0" aes-js "3.0.0"
scrypt-js "3.0.1" scrypt-js "3.0.1"
"@ethersproject/keccak256@5.6.1", "@ethersproject/keccak256@^5.6.1": "@ethersproject/keccak256@5.7.0", "@ethersproject/keccak256@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.6.1.tgz#b867167c9b50ba1b1a92bccdd4f2d6bd168a91cc" resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a"
integrity sha512-bB7DQHCTRDooZZdL3lk9wpL0+XuG3XLGHLh3cePnybsO3V0rdCAOQGpn/0R3aODmnTOOkCATJiD2hnL+5bwthA== integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==
dependencies: dependencies:
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
js-sha3 "0.8.0" js-sha3 "0.8.0"
"@ethersproject/logger@5.6.0", "@ethersproject/logger@^5.6.0": "@ethersproject/logger@5.7.0", "@ethersproject/logger@^5.7.0":
version "5.6.0" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.6.0.tgz#d7db1bfcc22fd2e4ab574cba0bb6ad779a9a3e7a" resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892"
integrity sha512-BiBWllUROH9w+P21RzoxJKzqoqpkyM1pRnEKG69bulE9TSQD8SAIvTQqIMZmmCO8pUNkgLP1wndX1gKghSpBmg== integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==
"@ethersproject/networks@5.6.4", "@ethersproject/networks@^5.6.3":
version "5.6.4"
resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.6.4.tgz#51296d8fec59e9627554f5a8a9c7791248c8dc07"
integrity sha512-KShHeHPahHI2UlWdtDMn2lJETcbtaJge4k7XSjDR9h79QTd6yQJmv6Cp2ZA4JdqWnhszAOLSuJEd9C0PRw7hSQ==
dependencies:
"@ethersproject/logger" "^5.6.0"
"@ethersproject/pbkdf2@5.6.1", "@ethersproject/pbkdf2@^5.6.1":
version "5.6.1"
resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.6.1.tgz#f462fe320b22c0d6b1d72a9920a3963b09eb82d1"
integrity sha512-k4gRQ+D93zDRPNUfmduNKq065uadC2YjMP/CqwwX5qG6R05f47boq6pLZtV/RnC4NZAYOPH1Cyo54q0c9sshRQ==
dependencies:
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/sha2" "^5.6.1"
"@ethersproject/properties@5.6.0", "@ethersproject/properties@^5.5.0", "@ethersproject/properties@^5.6.0": "@ethersproject/networks@5.7.1", "@ethersproject/networks@^5.7.0":
version "5.6.0" version "5.7.1"
resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.6.0.tgz#38904651713bc6bdd5bdd1b0a4287ecda920fa04" resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.7.1.tgz#118e1a981d757d45ccea6bb58d9fd3d9db14ead6"
integrity sha512-szoOkHskajKePTJSZ46uHUWWkbv7TzP2ypdEK6jGMqJaEt2sb0jCgfBo0gH0m2HBpRixMuJ6TBRaQCF7a9DoCg== integrity sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==
dependencies: dependencies:
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/providers@5.6.8", "@ethersproject/providers@^5", "@ethersproject/providers@^5.5.1": "@ethersproject/pbkdf2@5.7.0", "@ethersproject/pbkdf2@^5.7.0":
version "5.6.8" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.6.8.tgz#22e6c57be215ba5545d3a46cf759d265bb4e879d" resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz#d2267d0a1f6e123f3771007338c47cccd83d3102"
integrity sha512-Wf+CseT/iOJjrGtAOf3ck9zS7AgPmr2fZ3N97r4+YXN3mBePTG2/bJ8DApl9mVwYL+RpYbNxMEkEp4mPGdwG/w== integrity sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==
dependencies: dependencies:
"@ethersproject/abstract-provider" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/abstract-signer" "^5.6.2" "@ethersproject/sha2" "^5.7.0"
"@ethersproject/address" "^5.6.1"
"@ethersproject/base64" "^5.6.1" "@ethersproject/properties@5.7.0", "@ethersproject/properties@^5.5.0", "@ethersproject/properties@^5.7.0":
"@ethersproject/basex" "^5.6.1" version "5.7.0"
"@ethersproject/bignumber" "^5.6.2" resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.7.0.tgz#a6e12cb0439b878aaf470f1902a176033067ed30"
"@ethersproject/bytes" "^5.6.1" integrity sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==
"@ethersproject/constants" "^5.6.1" dependencies:
"@ethersproject/hash" "^5.6.1" "@ethersproject/logger" "^5.7.0"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/networks" "^5.6.3" "@ethersproject/providers@5.7.2", "@ethersproject/providers@^5", "@ethersproject/providers@^5.5.1":
"@ethersproject/properties" "^5.6.0" version "5.7.2"
"@ethersproject/random" "^5.6.1" resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb"
"@ethersproject/rlp" "^5.6.1" integrity sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==
"@ethersproject/sha2" "^5.6.1" dependencies:
"@ethersproject/strings" "^5.6.1" "@ethersproject/abstract-provider" "^5.7.0"
"@ethersproject/transactions" "^5.6.2" "@ethersproject/abstract-signer" "^5.7.0"
"@ethersproject/web" "^5.6.1" "@ethersproject/address" "^5.7.0"
"@ethersproject/base64" "^5.7.0"
"@ethersproject/basex" "^5.7.0"
"@ethersproject/bignumber" "^5.7.0"
"@ethersproject/bytes" "^5.7.0"
"@ethersproject/constants" "^5.7.0"
"@ethersproject/hash" "^5.7.0"
"@ethersproject/logger" "^5.7.0"
"@ethersproject/networks" "^5.7.0"
"@ethersproject/properties" "^5.7.0"
"@ethersproject/random" "^5.7.0"
"@ethersproject/rlp" "^5.7.0"
"@ethersproject/sha2" "^5.7.0"
"@ethersproject/strings" "^5.7.0"
"@ethersproject/transactions" "^5.7.0"
"@ethersproject/web" "^5.7.0"
bech32 "1.1.4" bech32 "1.1.4"
ws "7.4.6" ws "7.4.6"
"@ethersproject/random@5.6.1", "@ethersproject/random@^5.6.1": "@ethersproject/random@5.7.0", "@ethersproject/random@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.6.1.tgz#66915943981bcd3e11bbd43733f5c3ba5a790255" resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.7.0.tgz#af19dcbc2484aae078bb03656ec05df66253280c"
integrity sha512-/wtPNHwbmng+5yi3fkipA8YBT59DdkGRoC2vWk09Dci/q5DlgnMkhIycjHlavrvrjJBkFjO/ueLyT+aUDfc4lA== integrity sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==
dependencies: dependencies:
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/rlp@5.6.1", "@ethersproject/rlp@^5.6.1": "@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.6.1.tgz#df8311e6f9f24dcb03d59a2bac457a28a4fe2bd8" resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304"
integrity sha512-uYjmcZx+DKlFUk7a5/W9aQVaoEC7+1MOBgNtvNg13+RnuUwT4F0zTovC0tmay5SmRslb29V1B7Y5KCri46WhuQ== integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==
dependencies: dependencies:
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/sha2@5.6.1", "@ethersproject/sha2@^5.6.1": "@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.6.1.tgz#211f14d3f5da5301c8972a8827770b6fd3e51656" resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.7.0.tgz#9a5f7a7824ef784f7f7680984e593a800480c9fb"
integrity sha512-5K2GyqcW7G4Yo3uenHegbXRPDgARpWUiXc6RiF7b6i/HXUoWlb7uCARh7BAHg7/qT/Q5ydofNwiZcim9qpjB6g== integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==
dependencies: dependencies:
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
hash.js "1.1.7" hash.js "1.1.7"
"@ethersproject/signing-key@5.6.2", "@ethersproject/signing-key@^5.6.2": "@ethersproject/signing-key@5.7.0", "@ethersproject/signing-key@^5.7.0":
version "5.6.2" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.6.2.tgz#8a51b111e4d62e5a62aee1da1e088d12de0614a3" resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.7.0.tgz#06b2df39411b00bc57c7c09b01d1e41cf1b16ab3"
integrity sha512-jVbu0RuP7EFpw82vHcL+GP35+KaNruVAZM90GxgQnGqB6crhBqW/ozBfFvdeImtmb4qPko0uxXjn8l9jpn0cwQ== integrity sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==
dependencies: dependencies:
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/properties" "^5.7.0"
bn.js "^5.2.1" bn.js "^5.2.1"
elliptic "6.5.4" elliptic "6.5.4"
hash.js "1.1.7" hash.js "1.1.7"
"@ethersproject/solidity@5.6.1", "@ethersproject/solidity@^5.0.0", "@ethersproject/solidity@^5.0.9": "@ethersproject/solidity@5.7.0", "@ethersproject/solidity@^5.0.0", "@ethersproject/solidity@^5.0.9":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.6.1.tgz#5845e71182c66d32e6ec5eefd041fca091a473e2" resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.7.0.tgz#5e9c911d8a2acce2a5ebb48a5e2e0af20b631cb8"
integrity sha512-KWqVLkUUoLBfL1iwdzUVlkNqAUIFMpbbeH0rgCfKmJp0vFtY4AsaN91gHKo9ZZLkC4UOm3cI3BmMV4N53BOq4g== integrity sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==
dependencies: dependencies:
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/keccak256" "^5.6.1" "@ethersproject/keccak256" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/sha2" "^5.6.1" "@ethersproject/sha2" "^5.7.0"
"@ethersproject/strings" "^5.6.1" "@ethersproject/strings" "^5.7.0"
"@ethersproject/strings@5.6.1", "@ethersproject/strings@^5.6.1": "@ethersproject/strings@5.7.0", "@ethersproject/strings@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.6.1.tgz#dbc1b7f901db822b5cafd4ebf01ca93c373f8952" resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.7.0.tgz#54c9d2a7c57ae8f1205c88a9d3a56471e14d5ed2"
integrity sha512-2X1Lgk6Jyfg26MUnsHiT456U9ijxKUybz8IM1Vih+NJxYtXhmvKBcHOmvGqpFSVJ0nQ4ZCoIViR8XlRw1v/+Cw== integrity sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==
dependencies: dependencies:
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/constants" "^5.6.1" "@ethersproject/constants" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/transactions@5.6.2", "@ethersproject/transactions@^5.6.2": "@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.7.0":
version "5.6.2" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.6.2.tgz#793a774c01ced9fe7073985bb95a4b4e57a6370b" resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b"
integrity sha512-BuV63IRPHmJvthNkkt9G70Ullx6AcM+SDc+a8Aw/8Yew6YwT51TcBKEp1P4oOQ/bP25I18JJr7rcFRgFtU9B2Q== integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==
dependencies: dependencies:
"@ethersproject/address" "^5.6.1" "@ethersproject/address" "^5.7.0"
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/constants" "^5.6.1" "@ethersproject/constants" "^5.7.0"
"@ethersproject/keccak256" "^5.6.1" "@ethersproject/keccak256" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/properties" "^5.7.0"
"@ethersproject/rlp" "^5.6.1" "@ethersproject/rlp" "^5.7.0"
"@ethersproject/signing-key" "^5.6.2" "@ethersproject/signing-key" "^5.7.0"
"@ethersproject/units@5.6.1": "@ethersproject/units@5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.6.1.tgz#ecc590d16d37c8f9ef4e89e2005bda7ddc6a4e6f" resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.7.0.tgz#637b563d7e14f42deeee39245275d477aae1d8b1"
integrity sha512-rEfSEvMQ7obcx3KWD5EWWx77gqv54K6BKiZzKxkQJqtpriVsICrktIQmKl8ReNToPeIYPnFHpXvKpi068YFZXw== integrity sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==
dependencies: dependencies:
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/constants" "^5.6.1" "@ethersproject/constants" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/wallet@5.6.2": "@ethersproject/wallet@5.7.0":
version "5.6.2" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.6.2.tgz#cd61429d1e934681e413f4bc847a5f2f87e3a03c" resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.7.0.tgz#4e5d0790d96fe21d61d38fb40324e6c7ef350b2d"
integrity sha512-lrgh0FDQPuOnHcF80Q3gHYsSUODp6aJLAdDmDV0xKCN/T7D99ta1jGVhulg3PY8wiXEngD0DfM0I2XKXlrqJfg== integrity sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==
dependencies: dependencies:
"@ethersproject/abstract-provider" "^5.6.1" "@ethersproject/abstract-provider" "^5.7.0"
"@ethersproject/abstract-signer" "^5.6.2" "@ethersproject/abstract-signer" "^5.7.0"
"@ethersproject/address" "^5.6.1" "@ethersproject/address" "^5.7.0"
"@ethersproject/bignumber" "^5.6.2" "@ethersproject/bignumber" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/hash" "^5.6.1" "@ethersproject/hash" "^5.7.0"
"@ethersproject/hdnode" "^5.6.2" "@ethersproject/hdnode" "^5.7.0"
"@ethersproject/json-wallets" "^5.6.1" "@ethersproject/json-wallets" "^5.7.0"
"@ethersproject/keccak256" "^5.6.1" "@ethersproject/keccak256" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/properties" "^5.7.0"
"@ethersproject/random" "^5.6.1" "@ethersproject/random" "^5.7.0"
"@ethersproject/signing-key" "^5.6.2" "@ethersproject/signing-key" "^5.7.0"
"@ethersproject/transactions" "^5.6.2" "@ethersproject/transactions" "^5.7.0"
"@ethersproject/wordlists" "^5.6.1" "@ethersproject/wordlists" "^5.7.0"
"@ethersproject/web@5.6.1", "@ethersproject/web@^5.6.0", "@ethersproject/web@^5.6.1": "@ethersproject/web@5.7.1", "@ethersproject/web@^5.6.0", "@ethersproject/web@^5.7.0":
version "5.6.1" version "5.7.1"
resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.6.1.tgz#6e2bd3ebadd033e6fe57d072db2b69ad2c9bdf5d" resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae"
integrity sha512-/vSyzaQlNXkO1WV+RneYKqCJwualcUdx/Z3gseVovZP0wIlOFcCE1hkRhKBH8ImKbGQbMl9EAAyJFrJu7V0aqA== integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==
dependencies: dependencies:
"@ethersproject/base64" "^5.6.1" "@ethersproject/base64" "^5.7.0"
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.6.1" "@ethersproject/strings" "^5.7.0"
"@ethersproject/wordlists@5.6.1", "@ethersproject/wordlists@^5.6.1": "@ethersproject/wordlists@5.7.0", "@ethersproject/wordlists@^5.7.0":
version "5.6.1" version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.6.1.tgz#1e78e2740a8a21e9e99947e47979d72e130aeda1" resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.7.0.tgz#8fb2c07185d68c3e09eb3bfd6e779ba2774627f5"
integrity sha512-wiPRgBpNbNwCQFoCr8bcWO8o5I810cqO6mkdtKfLKFlLxeCWcnzDi4Alu8iyNzlhYuS9npCwivMbRWF19dyblw== integrity sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==
dependencies: dependencies:
"@ethersproject/bytes" "^5.6.1" "@ethersproject/bytes" "^5.7.0"
"@ethersproject/hash" "^5.6.1" "@ethersproject/hash" "^5.7.0"
"@ethersproject/logger" "^5.6.0" "@ethersproject/logger" "^5.7.0"
"@ethersproject/properties" "^5.6.0" "@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.6.1" "@ethersproject/strings" "^5.7.0"
"@firebase/analytics-compat@0.1.3": "@firebase/analytics-compat@0.1.3":
version "0.1.3" version "0.1.3"
...@@ -5083,10 +5084,10 @@ ...@@ -5083,10 +5084,10 @@
"@uniswap/v2-sdk" "^3.0.1" "@uniswap/v2-sdk" "^3.0.1"
"@uniswap/v3-sdk" "^3.8.3" "@uniswap/v3-sdk" "^3.8.3"
"@uniswap/sdk-core@^3.0.0-alpha.3", "@uniswap/sdk-core@^3.0.1", "@uniswap/sdk-core@^3.1.0": "@uniswap/sdk-core@^3.0.0-alpha.3", "@uniswap/sdk-core@^3.0.1", "@uniswap/sdk-core@^3.1.0", "@uniswap/sdk-core@^3.2.0":
version "3.1.0" version "3.2.0"
resolved "https://registry.yarnpkg.com/@uniswap/sdk-core/-/sdk-core-3.1.0.tgz#595b6396763fd2553531423c8eec83bfb4840a27" resolved "https://registry.yarnpkg.com/@uniswap/sdk-core/-/sdk-core-3.2.0.tgz#cabee6b21469d2e8d41c367503cfd961dddc8305"
integrity sha512-YRrp6vYAbYmi3uDXQGkvj2eT8BMpNnUdCFb8GifDG0Ei+ohIpC4RNAB+5/ru3zR2Byhx8VahGrSKuvdd6BVMyA== integrity sha512-KXCIDNRhKF9DeDBY2j7SiAlD56ZqD/T6his2m9y8ZCMdObLBVt/oCt4kaQGrWUjJuf2Flr5dryHMmMQBXqA9pA==
dependencies: dependencies:
"@ethersproject/address" "^5.0.2" "@ethersproject/address" "^5.0.2"
big.js "^5.2.2" big.js "^5.2.2"
...@@ -5095,15 +5096,18 @@ ...@@ -5095,15 +5096,18 @@
tiny-invariant "^1.1.0" tiny-invariant "^1.1.0"
toformat "^2.0.0" toformat "^2.0.0"
"@uniswap/smart-order-router@^2.10.0": "@uniswap/smart-order-router@^3.6.0":
version "2.10.0" version "3.6.0"
resolved "https://registry.yarnpkg.com/@uniswap/smart-order-router/-/smart-order-router-2.10.0.tgz#f9f13bd9a940fc2ee123a6dbe6c64a6fab19a365" resolved "https://registry.yarnpkg.com/@uniswap/smart-order-router/-/smart-order-router-3.6.0.tgz#45141dd97083725d185b841e0a465ab4107cc1be"
integrity sha512-7dfFlPbg36goZOWlRowTDDrRc1vWwKLhAuhftf6sN+ECJ4CeqRgDDZgxw/ZJhfDSl1RC6IYN71CfEcmhnbRDlw== integrity sha512-NUkvQiuK8xXpzJf8DFKxpURaUEyvYYWf1tfau7tKI/sV7pFHm7/FGdL6mWo5xq5VWHXy87rkXxfDJCi1M6fa4Q==
dependencies: dependencies:
"@uniswap/default-token-list" "^2.0.0" "@uniswap/default-token-list" "^2.0.0"
"@uniswap/permit2-sdk" "^1.2.0"
"@uniswap/router-sdk" "^1.3.0" "@uniswap/router-sdk" "^1.3.0"
"@uniswap/swap-router-contracts" "^1.3.0" "@uniswap/swap-router-contracts" "^1.3.0"
"@uniswap/token-lists" "^1.0.0-beta.25" "@uniswap/token-lists" "^1.0.0-beta.25"
"@uniswap/universal-router" "^1.0.1"
"@uniswap/universal-router-sdk" "^1.3.8"
"@uniswap/v2-sdk" "^3.0.1" "@uniswap/v2-sdk" "^3.0.1"
"@uniswap/v3-sdk" "^3.7.0" "@uniswap/v3-sdk" "^3.7.0"
async-retry "^1.3.1" async-retry "^1.3.1"
...@@ -5111,7 +5115,7 @@ ...@@ -5111,7 +5115,7 @@
axios "^0.21.1" axios "^0.21.1"
bunyan "^1.8.15" bunyan "^1.8.15"
bunyan-blackhole "^1.1.1" bunyan-blackhole "^1.1.1"
ethers "^5.6.1" ethers "^5.7.2"
graphql "^15.5.0" graphql "^15.5.0"
graphql-request "^3.4.0" graphql-request "^3.4.0"
lodash "^4.17.21" lodash "^4.17.21"
...@@ -5147,10 +5151,10 @@ ...@@ -5147,10 +5151,10 @@
resolved "https://registry.yarnpkg.com/@uniswap/token-lists/-/token-lists-1.0.0-beta.30.tgz#2103ca23b8007c59ec71718d34cdc97861c409e5" resolved "https://registry.yarnpkg.com/@uniswap/token-lists/-/token-lists-1.0.0-beta.30.tgz#2103ca23b8007c59ec71718d34cdc97861c409e5"
integrity sha512-HwY2VvkQ8lNR6ks5NqQfAtg+4IZqz3KV1T8d2DlI8emIn9uMmaoFbIOg0nzjqAVKKnZSbMTRRtUoAh6mmjRvog== integrity sha512-HwY2VvkQ8lNR6ks5NqQfAtg+4IZqz3KV1T8d2DlI8emIn9uMmaoFbIOg0nzjqAVKKnZSbMTRRtUoAh6mmjRvog==
"@uniswap/universal-router-sdk@^1.3.6": "@uniswap/universal-router-sdk@^1.3.6", "@uniswap/universal-router-sdk@^1.3.8":
version "1.3.6" version "1.3.8"
resolved "https://registry.yarnpkg.com/@uniswap/universal-router-sdk/-/universal-router-sdk-1.3.6.tgz#01347070f69ca6b395723c614fc2a12a9a9a6db1" resolved "https://registry.yarnpkg.com/@uniswap/universal-router-sdk/-/universal-router-sdk-1.3.8.tgz#1e6bf1081aa6c7f5d800d5b8a20773016c98bbb6"
integrity sha512-wdJLQgpj/Rl1+9LZ14N7ikJbQmVWnUoTPjyupc+lNyiX1a8jEVFwFiVGgSP/ERs5hdgWyApw5F67HljYEIWCDA== integrity sha512-WwmcIL20DSExTNep31OxyVCMsi/JqRsZsCqZEqwYTP+Ip1qQ9P8mcR3wtGAfBmYlWFS1lcIhI6SDvXayIk6DDw==
dependencies: dependencies:
"@uniswap/permit2-sdk" "^1.2.0" "@uniswap/permit2-sdk" "^1.2.0"
"@uniswap/router-sdk" "^1.4.0" "@uniswap/router-sdk" "^1.4.0"
...@@ -5161,7 +5165,7 @@ ...@@ -5161,7 +5165,7 @@
bignumber.js "^9.0.2" bignumber.js "^9.0.2"
ethers "^5.3.1" ethers "^5.3.1"
"@uniswap/universal-router@1.2.1": "@uniswap/universal-router@1.2.1", "@uniswap/universal-router@^1.0.1":
version "1.2.1" version "1.2.1"
resolved "https://registry.yarnpkg.com/@uniswap/universal-router/-/universal-router-1.2.1.tgz#5fe4aa21d6bc89314d99f26407f28154f8e16f42" resolved "https://registry.yarnpkg.com/@uniswap/universal-router/-/universal-router-1.2.1.tgz#5fe4aa21d6bc89314d99f26407f28154f8e16f42"
integrity sha512-F3S1wKylncuvIG2qwC1ciXXc1z1QmKsalo4p6H2A90LSRylEEhNp7ITxs7qCcnfRh+ZNkGJ0yQ0zmuVJSBezOQ== integrity sha512-F3S1wKylncuvIG2qwC1ciXXc1z1QmKsalo4p6H2A90LSRylEEhNp7ITxs7qCcnfRh+ZNkGJ0yQ0zmuVJSBezOQ==
...@@ -5251,10 +5255,10 @@ ...@@ -5251,10 +5255,10 @@
"@uniswap/v3-core" "1.0.0" "@uniswap/v3-core" "1.0.0"
"@uniswap/v3-periphery" "^1.0.1" "@uniswap/v3-periphery" "^1.0.1"
"@uniswap/widgets@^2.40.0": "@uniswap/widgets@^2.43.2":
version "2.40.0" version "2.43.2"
resolved "https://registry.yarnpkg.com/@uniswap/widgets/-/widgets-2.40.0.tgz#98539f31cc21a8e70ced86da65db642f3380db14" resolved "https://registry.yarnpkg.com/@uniswap/widgets/-/widgets-2.43.2.tgz#a3fa428f35c606a355563749c527b5fb3659a1dd"
integrity sha512-55I6r8a3XfWAEFfU6eAj4BUbaYRBPyrbfzaedAy0+9SAntnxxT7wyh3DMC9MoMLEwd4PPLemWyLfVQTVIoYn0g== integrity sha512-LPfFukRh1VhemDBYu1dI4qxFa73fZfB0JgR1TRXPtrw/fVsK30bmV0kXIYm8O1coOZyB+2oiuofv+Q+Xc7gBtQ==
dependencies: dependencies:
"@babel/runtime" ">=7.17.0" "@babel/runtime" ">=7.17.0"
"@fontsource/ibm-plex-mono" "^4.5.1" "@fontsource/ibm-plex-mono" "^4.5.1"
...@@ -5265,10 +5269,10 @@ ...@@ -5265,10 +5269,10 @@
"@uniswap/permit2-sdk" "^1.2.0" "@uniswap/permit2-sdk" "^1.2.0"
"@uniswap/redux-multicall" "^1.1.8" "@uniswap/redux-multicall" "^1.1.8"
"@uniswap/router-sdk" "^1.3.0" "@uniswap/router-sdk" "^1.3.0"
"@uniswap/sdk-core" "^3.0.1" "@uniswap/sdk-core" "^3.2.0"
"@uniswap/smart-order-router" "^2.10.0" "@uniswap/smart-order-router" "^3.6.0"
"@uniswap/token-lists" "^1.0.0-beta.30" "@uniswap/token-lists" "^1.0.0-beta.30"
"@uniswap/universal-router-sdk" "^1.3.6" "@uniswap/universal-router-sdk" "^1.3.8"
"@uniswap/v2-sdk" "^3.0.1" "@uniswap/v2-sdk" "^3.0.1"
"@uniswap/v3-sdk" "^3.8.2" "@uniswap/v3-sdk" "^3.8.2"
"@web3-react/core" "8.0.35-beta.0" "@web3-react/core" "8.0.35-beta.0"
...@@ -5282,7 +5286,7 @@ ...@@ -5282,7 +5286,7 @@
ajv "^8.11.0" ajv "^8.11.0"
ajv-formats "^2.1.1" ajv-formats "^2.1.1"
cids "^1.0.0" cids "^1.0.0"
ethers "^5.6.1" ethers "^5.7.2"
immer "^9.0.6" immer "^9.0.6"
jotai "^1.3.7" jotai "^1.3.7"
jsbi "^3.1.4" jsbi "^3.1.4"
...@@ -10255,41 +10259,41 @@ ethereumjs-util@^7.1.0: ...@@ -10255,41 +10259,41 @@ ethereumjs-util@^7.1.0:
ethereum-cryptography "^0.1.3" ethereum-cryptography "^0.1.3"
rlp "^2.2.4" rlp "^2.2.4"
ethers@^5.1.4, ethers@^5.3.1, ethers@^5.5.2, ethers@^5.6.0, ethers@^5.6.1, ethers@^5.6.7, ethers@^5.6.8: ethers@^5.3.1, ethers@^5.5.2, ethers@^5.6.0, ethers@^5.6.7, ethers@^5.6.8, ethers@^5.7.2:
version "5.6.9" version "5.7.2"
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.6.9.tgz#4e12f8dfcb67b88ae7a78a9519b384c23c576a4d" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e"
integrity sha512-lMGC2zv9HC5EC+8r429WaWu3uWJUCgUCt8xxKCFqkrFuBDZXDYIdzDUECxzjf2BMF8IVBByY1EBoGSL3RTm8RA== integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==
dependencies: dependencies:
"@ethersproject/abi" "5.6.4" "@ethersproject/abi" "5.7.0"
"@ethersproject/abstract-provider" "5.6.1" "@ethersproject/abstract-provider" "5.7.0"
"@ethersproject/abstract-signer" "5.6.2" "@ethersproject/abstract-signer" "5.7.0"
"@ethersproject/address" "5.6.1" "@ethersproject/address" "5.7.0"
"@ethersproject/base64" "5.6.1" "@ethersproject/base64" "5.7.0"
"@ethersproject/basex" "5.6.1" "@ethersproject/basex" "5.7.0"
"@ethersproject/bignumber" "5.6.2" "@ethersproject/bignumber" "5.7.0"
"@ethersproject/bytes" "5.6.1" "@ethersproject/bytes" "5.7.0"
"@ethersproject/constants" "5.6.1" "@ethersproject/constants" "5.7.0"
"@ethersproject/contracts" "5.6.2" "@ethersproject/contracts" "5.7.0"
"@ethersproject/hash" "5.6.1" "@ethersproject/hash" "5.7.0"
"@ethersproject/hdnode" "5.6.2" "@ethersproject/hdnode" "5.7.0"
"@ethersproject/json-wallets" "5.6.1" "@ethersproject/json-wallets" "5.7.0"
"@ethersproject/keccak256" "5.6.1" "@ethersproject/keccak256" "5.7.0"
"@ethersproject/logger" "5.6.0" "@ethersproject/logger" "5.7.0"
"@ethersproject/networks" "5.6.4" "@ethersproject/networks" "5.7.1"
"@ethersproject/pbkdf2" "5.6.1" "@ethersproject/pbkdf2" "5.7.0"
"@ethersproject/properties" "5.6.0" "@ethersproject/properties" "5.7.0"
"@ethersproject/providers" "5.6.8" "@ethersproject/providers" "5.7.2"
"@ethersproject/random" "5.6.1" "@ethersproject/random" "5.7.0"
"@ethersproject/rlp" "5.6.1" "@ethersproject/rlp" "5.7.0"
"@ethersproject/sha2" "5.6.1" "@ethersproject/sha2" "5.7.0"
"@ethersproject/signing-key" "5.6.2" "@ethersproject/signing-key" "5.7.0"
"@ethersproject/solidity" "5.6.1" "@ethersproject/solidity" "5.7.0"
"@ethersproject/strings" "5.6.1" "@ethersproject/strings" "5.7.0"
"@ethersproject/transactions" "5.6.2" "@ethersproject/transactions" "5.7.0"
"@ethersproject/units" "5.6.1" "@ethersproject/units" "5.7.0"
"@ethersproject/wallet" "5.6.2" "@ethersproject/wallet" "5.7.0"
"@ethersproject/web" "5.6.1" "@ethersproject/web" "5.7.1"
"@ethersproject/wordlists" "5.6.1" "@ethersproject/wordlists" "5.7.0"
ethjs-unit@0.1.6: ethjs-unit@0.1.6:
version "0.1.6" version "0.1.6"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment