@@ -7,6 +7,48 @@ import { SupportedChainId } from './chains'
77type AddressMap = { [ chainId : number ] : string }
88
99export const UNI_ADDRESS : AddressMap = constructSameAddressMap ( '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984' )
10+
11+ export const V2_FACTORY_ADDRESSES : AddressMap = constructSameAddressMap ( V2_FACTORY_ADDRESS )
12+ export const V2_ROUTER_ADDRESS : AddressMap = constructSameAddressMap ( '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' )
13+
14+ /* V3 Contract Addresses */
15+ export const V3_CORE_FACTORY_ADDRESSES : AddressMap = {
16+ ...constructSameAddressMap ( V3_FACTORY_ADDRESS , [
17+ SupportedChainId . OPTIMISM ,
18+ SupportedChainId . OPTIMISTIC_KOVAN ,
19+ SupportedChainId . ARBITRUM_ONE ,
20+ SupportedChainId . ARBITRUM_RINKEBY ,
21+ SupportedChainId . POLYGON_MUMBAI ,
22+ SupportedChainId . POLYGON ,
23+ ] ) ,
24+ [ SupportedChainId . CELO ] : '' ,
25+ [ SupportedChainId . CELO_ALFAJORES ] : '0xFABdaD603E6bdc8Bc7222B2DB7BcDB84e5a0A385' ,
26+ }
27+
28+ export const V3_ROUTER_ADDRESS : AddressMap = {
29+ ...constructSameAddressMap ( '0xE592427A0AEce92De3Edee1F18E0157C05861564' , [
30+ SupportedChainId . OPTIMISM ,
31+ SupportedChainId . OPTIMISTIC_KOVAN ,
32+ SupportedChainId . ARBITRUM_ONE ,
33+ SupportedChainId . ARBITRUM_RINKEBY ,
34+ SupportedChainId . POLYGON ,
35+ SupportedChainId . POLYGON_MUMBAI ,
36+ ] ) ,
37+ [ SupportedChainId . CELO ] : '' ,
38+ [ SupportedChainId . CELO_ALFAJORES ] : '0x9Cf09C0507c99b41Ca875ad5451f25Ca18110A6A' ,
39+ }
40+
41+ export const V3_MIGRATOR_ADDRESSES : AddressMap = {
42+ ...constructSameAddressMap ( '0xA5644E29708357803b5A882D272c41cC0dF92B34' , [
43+ SupportedChainId . ARBITRUM_ONE ,
44+ SupportedChainId . ARBITRUM_RINKEBY ,
45+ SupportedChainId . POLYGON_MUMBAI ,
46+ SupportedChainId . POLYGON ,
47+ ] ) ,
48+ [ SupportedChainId . CELO ] : '' ,
49+ [ SupportedChainId . CELO_ALFAJORES ] : '0x437740563dc8De3B64AE7A3df922581f6B4033DF' ,
50+ }
51+
1052export const MULTICALL_ADDRESS : AddressMap = {
1153 ...constructSameAddressMap ( '0x1F98415757620B543A52E61c46B32eB19261F984' , [
1254 SupportedChainId . OPTIMISTIC_KOVAN ,
@@ -16,26 +58,22 @@ export const MULTICALL_ADDRESS: AddressMap = {
1658 ] ) ,
1759 [ SupportedChainId . ARBITRUM_ONE ] : '0xadF885960B47eA2CD9B55E6DAc6B42b7Cb2806dB' ,
1860 [ SupportedChainId . ARBITRUM_RINKEBY ] : '0xa501c031958F579dB7676fF1CE78AD305794d579' ,
61+ [ SupportedChainId . CELO ] : '' ,
62+ [ SupportedChainId . CELO_ALFAJORES ] : '0xE21c99d7dc0810fB44B9583120D46b052C0ef43A' ,
1963}
20- export const V2_FACTORY_ADDRESSES : AddressMap = constructSameAddressMap ( V2_FACTORY_ADDRESS )
2164
22- export const V2_ROUTER_ADDRESS : AddressMap = constructSameAddressMap ( '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' )
23- export const V3_ROUTER_ADDRESS : AddressMap = constructSameAddressMap ( '0xE592427A0AEce92De3Edee1F18E0157C05861564' , [
24- SupportedChainId . OPTIMISM ,
25- SupportedChainId . OPTIMISTIC_KOVAN ,
26- SupportedChainId . ARBITRUM_ONE ,
27- SupportedChainId . ARBITRUM_RINKEBY ,
28- SupportedChainId . POLYGON ,
29- SupportedChainId . POLYGON_MUMBAI ,
30- ] )
31- export const SWAP_ROUTER_ADDRESSES : AddressMap = constructSameAddressMap ( '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' , [
32- SupportedChainId . OPTIMISM ,
33- SupportedChainId . OPTIMISTIC_KOVAN ,
34- SupportedChainId . ARBITRUM_ONE ,
35- SupportedChainId . ARBITRUM_RINKEBY ,
36- SupportedChainId . POLYGON ,
37- SupportedChainId . POLYGON_MUMBAI ,
38- ] )
65+ export const SWAP_ROUTER_ADDRESSES : AddressMap = {
66+ ...constructSameAddressMap ( '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' , [
67+ SupportedChainId . OPTIMISM ,
68+ SupportedChainId . OPTIMISTIC_KOVAN ,
69+ SupportedChainId . ARBITRUM_ONE ,
70+ SupportedChainId . ARBITRUM_RINKEBY ,
71+ SupportedChainId . POLYGON ,
72+ SupportedChainId . POLYGON_MUMBAI ,
73+ ] ) ,
74+ [ SupportedChainId . CELO ] : '' ,
75+ [ SupportedChainId . CELO_ALFAJORES ] : '0x9Cf09C0507c99b41Ca875ad5451f25Ca18110A6A' ,
76+ }
3977
4078/**
4179 * The oldest V0 governance address
@@ -61,54 +99,51 @@ export const TIMELOCK_ADDRESS: AddressMap = constructSameAddressMap('0x1a9C8182C
6199export const MERKLE_DISTRIBUTOR_ADDRESS : AddressMap = {
62100 [ SupportedChainId . MAINNET ] : '0x090D4613473dEE047c3f2706764f49E0821D256e' ,
63101}
102+
64103export const ARGENT_WALLET_DETECTOR_ADDRESS : AddressMap = {
65104 [ SupportedChainId . MAINNET ] : '0xeca4B0bDBf7c55E9b7925919d03CbF8Dc82537E8' ,
66105}
67- export const V3_CORE_FACTORY_ADDRESSES : AddressMap = constructSameAddressMap ( V3_FACTORY_ADDRESS , [
68- SupportedChainId . OPTIMISM ,
69- SupportedChainId . OPTIMISTIC_KOVAN ,
70- SupportedChainId . ARBITRUM_ONE ,
71- SupportedChainId . ARBITRUM_RINKEBY ,
72- SupportedChainId . POLYGON_MUMBAI ,
73- SupportedChainId . POLYGON ,
74- ] )
75- export const QUOTER_ADDRESSES : AddressMap = constructSameAddressMap ( '0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6' , [
76- SupportedChainId . OPTIMISM ,
77- SupportedChainId . OPTIMISTIC_KOVAN ,
78- SupportedChainId . ARBITRUM_ONE ,
79- SupportedChainId . ARBITRUM_RINKEBY ,
80- SupportedChainId . POLYGON_MUMBAI ,
81- SupportedChainId . POLYGON ,
82- ] )
83- export const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES : AddressMap = constructSameAddressMap (
84- '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' ,
85- [
106+
107+ export const QUOTER_ADDRESSES : AddressMap = {
108+ ...constructSameAddressMap ( '0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6' , [
86109 SupportedChainId . OPTIMISM ,
87110 SupportedChainId . OPTIMISTIC_KOVAN ,
88111 SupportedChainId . ARBITRUM_ONE ,
89112 SupportedChainId . ARBITRUM_RINKEBY ,
90113 SupportedChainId . POLYGON_MUMBAI ,
91114 SupportedChainId . POLYGON ,
92- ]
93- )
115+ ] ) ,
116+ [ SupportedChainId . CELO ] : '' ,
117+ [ SupportedChainId . CELO_ALFAJORES ] : '0x8e7F2915f151b6996fF1E4a4B91cC8940BE1e4E1' ,
118+ }
119+
120+ export const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES : AddressMap = {
121+ ...constructSameAddressMap ( '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' , [
122+ SupportedChainId . OPTIMISM ,
123+ SupportedChainId . OPTIMISTIC_KOVAN ,
124+ SupportedChainId . ARBITRUM_ONE ,
125+ SupportedChainId . ARBITRUM_RINKEBY ,
126+ SupportedChainId . POLYGON_MUMBAI ,
127+ SupportedChainId . POLYGON ,
128+ ] ) ,
129+ [ SupportedChainId . CELO ] : '' ,
130+ [ SupportedChainId . CELO_ALFAJORES ] : '0x6535D8Fb26B25D881598B79ec6c6EF2b59e98c47' ,
131+ }
132+
94133export const ENS_REGISTRAR_ADDRESSES : AddressMap = {
95134 [ SupportedChainId . MAINNET ] : '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e' ,
96135 [ SupportedChainId . ROPSTEN ] : '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e' ,
97136 [ SupportedChainId . GOERLI ] : '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e' ,
98137 [ SupportedChainId . RINKEBY ] : '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e' ,
99138}
139+
100140export const SOCKS_CONTROLLER_ADDRESSES : AddressMap = {
101141 [ SupportedChainId . MAINNET ] : '0x65770b5283117639760beA3F867b69b3697a91dd' ,
102142}
103143
104- export const V3_MIGRATOR_ADDRESSES : AddressMap = constructSameAddressMap ( '0xA5644E29708357803b5A882D272c41cC0dF92B34' , [
105- SupportedChainId . ARBITRUM_ONE ,
106- SupportedChainId . ARBITRUM_RINKEBY ,
107- SupportedChainId . POLYGON_MUMBAI ,
108- SupportedChainId . POLYGON ,
109- ] )
110-
111144export const TICK_LENS_ADDRESSES : AddressMap = {
112145 [ SupportedChainId . ARBITRUM_ONE ] : '0xbfd8137f7d1516D3ea5cA83523914859ec47F573' ,
113146 [ SupportedChainId . ARBITRUM_RINKEBY ] : '0xbfd8137f7d1516D3ea5cA83523914859ec47F573' ,
147+ [ SupportedChainId . CELO ] : '' ,
148+ [ SupportedChainId . CELO_ALFAJORES ] : '0x22f63eB193D53c3277d3C36238c714AC3690cAF3' ,
114149}
0 commit comments