@upshiftfinance/sdk 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,7 +11,13 @@ exports.SWAP_ROUTER_DEX_AGGREGATOR = exports.SWAP_ROUTER_WRAPPED_NATIVE = export
|
|
|
11
11
|
*/
|
|
12
12
|
exports.SWAP_ROUTER_ADDRESSES = {
|
|
13
13
|
1: '0xC11c6d8fD8FfFB2045d57b149125C44414d8160B',
|
|
14
|
+
14: '0xe4c219e5966e97A2bF92464F1BAdB9EbAb3164bb',
|
|
15
|
+
143: '0xF47ce4B8df30bc3B3b6cc21Fe1552A2198A4A4F7',
|
|
14
16
|
999: '0x1766f1F4C80756c0985ae93E3cf5cA5024bdAE6F',
|
|
17
|
+
4114: '0x5B02d6B43fED3EE010741712553F2423A256E9cf',
|
|
18
|
+
8453: '0x261c97E80C105F85BBbe1416E6eC67C76B9910E2',
|
|
19
|
+
25363: '0xAC771209FF2b71EECfF6E85a9AD01db8Ff2618B0',
|
|
20
|
+
43114: '0x3ECc92b2244210BF09485a398f680255E80CC393',
|
|
15
21
|
};
|
|
16
22
|
/**
|
|
17
23
|
* Human-readable display name of the `SwapRouter` periphery contract on each
|
|
@@ -28,7 +34,13 @@ exports.SWAP_ROUTER_ADDRESSES = {
|
|
|
28
34
|
*/
|
|
29
35
|
exports.SWAP_ROUTER_NAMES = {
|
|
30
36
|
1: 'Upshift Swap Router',
|
|
37
|
+
14: 'Upshift Swap Router',
|
|
38
|
+
143: 'Upshift Swap Router',
|
|
31
39
|
999: 'Upshift Swap Router',
|
|
40
|
+
4114: 'Upshift Swap Router',
|
|
41
|
+
8453: 'Upshift Swap Router',
|
|
42
|
+
25363: 'Upshift Swap Router',
|
|
43
|
+
43114: 'Upshift Swap Router',
|
|
32
44
|
};
|
|
33
45
|
/**
|
|
34
46
|
* Vaults whose UI **may offer the any-token SwapRouter deposit surface**
|
|
@@ -92,7 +104,13 @@ exports.VAULTS_USING_SWAP_ROUTER = exports.SWAP_ROUTER_ELIGIBLE_VAULTS;
|
|
|
92
104
|
*/
|
|
93
105
|
exports.SWAP_ROUTER_DEPLOY_BLOCKS = {
|
|
94
106
|
1: 26248966,
|
|
107
|
+
14: 73318820,
|
|
108
|
+
143: 117851166,
|
|
95
109
|
999: 49232457,
|
|
110
|
+
4114: 14623509,
|
|
111
|
+
8453: 53279941,
|
|
112
|
+
25363: 19579805,
|
|
113
|
+
43114: 98940280,
|
|
96
114
|
};
|
|
97
115
|
/**
|
|
98
116
|
* 32-byte origin codes registered on the `SwapRouter` via `addOrigin`.
|
|
@@ -157,7 +175,13 @@ exports.SWAP_ROUTER_MAX_SWAPS = 9;
|
|
|
157
175
|
*/
|
|
158
176
|
exports.SWAP_ROUTER_WRAPPED_NATIVE = {
|
|
159
177
|
1: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
178
|
+
14: '0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d',
|
|
179
|
+
143: '0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A',
|
|
160
180
|
999: '0x5555555555555555555555555555555555555555',
|
|
181
|
+
4114: '0x3100000000000000000000000000000000000006',
|
|
182
|
+
8453: '0x4200000000000000000000000000000000000006',
|
|
183
|
+
25363: '0x927C469E58Daab257Ea60B2D8c37bEDD2a203A54',
|
|
184
|
+
43114: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7',
|
|
161
185
|
};
|
|
162
186
|
/**
|
|
163
187
|
* The DEX aggregator whitelisted on each chain's `SwapRouter` via
|