From f7447c04acba92e577b1a5f09e9e388cb50d12b1 Mon Sep 17 00:00:00 2001 From: liquid-8 Date: Thu, 21 Oct 2021 19:24:56 +0300 Subject: [PATCH 1/2] Update constants.py; added Optimism and Arbitrum support --- uniswap/constants.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uniswap/constants.py b/uniswap/constants.py index 436634b..aabb4c5 100644 --- a/uniswap/constants.py +++ b/uniswap/constants.py @@ -6,11 +6,13 @@ 1: "mainnet", 3: "ropsten", 4: "rinkeby", + 10: "optimism", 42: "kovan", 56: "binance", 97: "binance_testnet", 137: "polygon", 100: "xdai", + 42161: "arbitrum", } _factory_contract_addresses_v1 = { From b00d8417ff12ba7c45d7b9cccfcbbb4f22bbaa55 Mon Sep 17 00:00:00 2001 From: liquid-8 Date: Sun, 24 Oct 2021 15:01:13 +0300 Subject: [PATCH 2/2] Update constants.py; added Optimism and Arbitrum support --- uniswap/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/uniswap/constants.py b/uniswap/constants.py index aabb4c5..f887601 100644 --- a/uniswap/constants.py +++ b/uniswap/constants.py @@ -13,6 +13,7 @@ 137: "polygon", 100: "xdai", 42161: "arbitrum", + 421611: "arbitrum_testnet", } _factory_contract_addresses_v1 = {