Commit 8c269a6d authored by Sara Reynolds's avatar Sara Reynolds Committed by GitHub

feat: add optimism and arbitrum to gas estimate support (#3434)

* add optimism and arbitrum to gas estimate support

* update sor version

* move to dependencies
parent 36f111fa
......@@ -39,7 +39,12 @@ export const ALL_SUPPORTED_CHAIN_IDS: SupportedChainId[] = Object.values(Support
(id) => typeof id === 'number'
) as SupportedChainId[]
export const SUPPORTED_GAS_ESTIMATE_CHAIN_IDS = [SupportedChainId.MAINNET, SupportedChainId.POLYGON]
export const SUPPORTED_GAS_ESTIMATE_CHAIN_IDS = [
SupportedChainId.MAINNET,
SupportedChainId.POLYGON,
SupportedChainId.OPTIMISM,
SupportedChainId.ARBITRUM_ONE,
]
/**
* All the chain IDs that are running the Ethereum protocol.
......
......@@ -4912,10 +4912,10 @@
tiny-invariant "^1.1.0"
toformat "^2.0.0"
"@uniswap/smart-order-router@^2.5.10":
version "2.5.10"
resolved "https://registry.yarnpkg.com/@uniswap/smart-order-router/-/smart-order-router-2.5.10.tgz#b7d1147797c68a24c8d42f07e5a36d740bf4f63f"
integrity sha512-0wXgVBjhb+v6ONINEuL//SVOk0qLeS54Br/yzjtu6nV7wA70jkqE+EZ84QqW8dpdG0AUUQ3qNDKoTSH3VSv9aw==
"@uniswap/smart-order-router@^2.5.20":
version "2.5.20"
resolved "https://registry.yarnpkg.com/@uniswap/smart-order-router/-/smart-order-router-2.5.20.tgz#e772df1ac3e3f607c1b2aa1fd47c1c0db84d5433"
integrity sha512-ecAnSIlMow1aEG9WgK+Z4vfbzrtN5K7aDnvXIHlxWjowsg+3EiKzuPzoOVUJsYWJ2s2DPPAnfV794rYtQ2OYeA==
dependencies:
"@bitauth/libauth" "^1.17.1"
"@ethersproject/bignumber" "^5.1.1"
......@@ -4930,7 +4930,7 @@
"@types/stats-lite" "^2.2.0"
"@uniswap/default-token-list" "^2.0.0"
"@uniswap/router-sdk" "^1.0.5"
"@uniswap/swap-router-contracts" "1.1.0"
"@uniswap/swap-router-contracts" "1.2.0"
"@uniswap/token-lists" "^1.0.0-beta.25"
"@uniswap/v2-core" "^1.0.1"
"@uniswap/v2-periphery" "^1.1.0-beta.0"
......@@ -4966,6 +4966,18 @@
"@uniswap/v3-periphery" "1.3.0"
hardhat-watcher "^2.1.1"
"@uniswap/swap-router-contracts@1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@uniswap/swap-router-contracts/-/swap-router-contracts-1.2.0.tgz#9fd3be07c40c697cf71804ab450ca7d6c028401d"
integrity sha512-wau6xVIrXY/7EQc3uB+A1HlRfxnewS4MAYOgcJBHGHG4OVy+X0WAl8mILC52Xx+y6vx6uQHOwH+sT3SaWi5EGw==
dependencies:
"@openzeppelin/contracts" "3.4.1-solc-0.7-2"
"@uniswap/v2-core" "1.0.1"
"@uniswap/v3-core" "1.0.0"
"@uniswap/v3-periphery" "1.3.0"
dotenv "^14.2.0"
hardhat-watcher "^2.1.1"
"@uniswap/token-lists@^1.0.0-beta.25", "@uniswap/token-lists@^1.0.0-beta.27":
version "1.0.0-beta.27"
resolved "https://registry.yarnpkg.com/@uniswap/token-lists/-/token-lists-1.0.0-beta.27.tgz#8b02a979b0b0024cc96f60e694a3f6db6b2ccab2"
......@@ -9147,6 +9159,11 @@ dotenv@^10.0.0:
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81"
integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==
dotenv@^14.2.0:
version "14.3.2"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-14.3.2.tgz#7c30b3a5f777c79a3429cb2db358eef6751e8369"
integrity sha512-vwEppIphpFdvaMCaHfCEv9IgwcxMljMw2TnAQBB4VWPvzXQLTb82jwmdOKzlEVUL3gNFT4l4TPKO+Bn+sqcrVQ==
dotenv@^8.2.0:
version "8.6.0"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.6.0.tgz#061af664d19f7f4d8fc6e4ff9b584ce237adcb8b"
......
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