@gearbox-protocol/sdk 1.27.11 → 2.0.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.
@@ -1,523 +1,764 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.priceFeedsByNetwork = exports.GAS_PRICE_FEED = void 0;
3
+ exports.priceFeedsByToken = exports.GAS_PRICE_FEED = void 0;
4
4
  const constants_1 = require("../core/constants");
5
- const oracles_1 = require("./oracles");
5
+ const pricefeedType_1 = require("./pricefeedType");
6
6
  exports.GAS_PRICE_FEED = "0x169e633a2d1e6c10dd91238ba11c4a708dfef37c";
7
- exports.priceFeedsByNetwork = {
7
+ exports.priceFeedsByToken = {
8
8
  "1INCH": {
9
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
10
- address: {
11
- Mainnet: "0xc929ad75B72593967DE83E7F7Cda0493458261D9",
12
- Arbitrum: "0x4bC735Ef24bf286983024CAd5D03f0738865Aaef",
9
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
10
+ feeds: {
11
+ Mainnet: {
12
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
13
+ address: "0xc929ad75B72593967DE83E7F7Cda0493458261D9",
14
+ },
15
+ Arbitrum: {
16
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
17
+ address: "0x4bC735Ef24bf286983024CAd5D03f0738865Aaef",
18
+ },
13
19
  },
14
20
  },
15
21
  AAVE: {
16
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
17
- address: {
18
- Mainnet: "0x547a514d5e3769680Ce22B2361c10Ea13619e8a9",
19
- Arbitrum: "0xaD1d5344AaDE45F43E596773Bcc4c423EAbdD034",
22
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
23
+ feeds: {
24
+ Mainnet: {
25
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
26
+ address: "0x547a514d5e3769680Ce22B2361c10Ea13619e8a9",
27
+ },
28
+ Arbitrum: {
29
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
30
+ address: "0xaD1d5344AaDE45F43E596773Bcc4c423EAbdD034",
31
+ },
20
32
  },
21
33
  },
22
34
  COMP: {
23
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
24
- address: {
25
- Mainnet: "0xdbd020CAeF83eFd542f4De03e3cF0C28A4428bd5",
26
- Arbitrum: "0xe7C53FFd03Eb6ceF7d208bC4C13446c76d1E5884",
35
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
36
+ feeds: {
37
+ Mainnet: {
38
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
39
+ address: "0xdbd020CAeF83eFd542f4De03e3cF0C28A4428bd5",
40
+ },
41
+ Arbitrum: {
42
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
43
+ address: "0xe7C53FFd03Eb6ceF7d208bC4C13446c76d1E5884",
44
+ },
27
45
  },
28
46
  },
29
47
  CRV: {
30
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
31
- address: {
32
- Mainnet: "0xCd627aA160A6fA45Eb793D19Ef54f5062F20f33f",
33
- Arbitrum: "0xaebDA2c976cfd1eE1977Eac079B4382acb849325",
48
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
49
+ feeds: {
50
+ Mainnet: {
51
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
52
+ address: "0xCd627aA160A6fA45Eb793D19Ef54f5062F20f33f",
53
+ },
54
+ Arbitrum: {
55
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
56
+ address: "0xaebDA2c976cfd1eE1977Eac079B4382acb849325",
57
+ },
34
58
  },
35
59
  },
36
60
  DAI: {
37
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
38
- address: {
39
- Mainnet: "0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9",
40
- Arbitrum: "0xc5C8E77B397E531B8EC06BFb0048328B30E9eCfB",
61
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
62
+ feeds: {
63
+ Mainnet: {
64
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
65
+ address: "0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9",
66
+ },
67
+ Arbitrum: {
68
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
69
+ address: "0xc5C8E77B397E531B8EC06BFb0048328B30E9eCfB",
70
+ },
41
71
  },
42
72
  },
43
73
  DPI: {
44
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
45
- address: {
46
- Mainnet: "0xD2A593BF7594aCE1faD597adb697b5645d5edDB2",
47
- Arbitrum: constants_1.NOT_DEPLOYED,
74
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
75
+ feeds: {
76
+ Mainnet: {
77
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
78
+ address: "0xD2A593BF7594aCE1faD597adb697b5645d5edDB2",
79
+ },
80
+ Arbitrum: {
81
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
82
+ address: constants_1.NOT_DEPLOYED,
83
+ },
48
84
  },
49
85
  },
50
86
  FEI: {
51
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
52
- address: {
53
- Mainnet: "0x31e0a88fecB6eC0a411DBe0e9E76391498296EE9",
54
- Arbitrum: constants_1.NOT_DEPLOYED,
87
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
88
+ feeds: {
89
+ Mainnet: {
90
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
91
+ address: "0x31e0a88fecB6eC0a411DBe0e9E76391498296EE9",
92
+ },
93
+ Arbitrum: {
94
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
95
+ address: constants_1.NOT_DEPLOYED,
96
+ },
55
97
  },
56
98
  },
57
99
  GUSD: {
58
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
59
- address: {
60
- Mainnet: "0xa89f5d2365ce98B3cD68012b6f503ab1416245Fc",
61
- Arbitrum: constants_1.NOT_DEPLOYED,
100
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
101
+ feeds: {
102
+ Mainnet: {
103
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
104
+ address: "0xa89f5d2365ce98B3cD68012b6f503ab1416245Fc",
105
+ },
106
+ Arbitrum: {
107
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
108
+ address: constants_1.NOT_DEPLOYED,
109
+ },
62
110
  },
63
111
  },
64
112
  LINK: {
65
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
66
- address: {
67
- Mainnet: "0x2c1d072e956AFFC0D435Cb7AC38EF18d24d9127c",
68
- Arbitrum: "0x86E53CF1B870786351Da77A57575e79CB55812CB",
113
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
114
+ feeds: {
115
+ Mainnet: {
116
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
117
+ address: "0x2c1d072e956AFFC0D435Cb7AC38EF18d24d9127c",
118
+ },
119
+ Arbitrum: {
120
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
121
+ address: "0x86E53CF1B870786351Da77A57575e79CB55812CB",
122
+ },
69
123
  },
70
124
  },
71
125
  SNX: {
72
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
73
- address: {
74
- Mainnet: "0xDC3EA94CD0AC27d9A86C180091e7f78C683d3699",
75
- Arbitrum: "0x054296f0D036b95531B4E14aFB578B80CFb41252",
126
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
127
+ feeds: {
128
+ Mainnet: {
129
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
130
+ address: "0xDC3EA94CD0AC27d9A86C180091e7f78C683d3699",
131
+ },
132
+ Arbitrum: {
133
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
134
+ address: "0x054296f0D036b95531B4E14aFB578B80CFb41252",
135
+ },
76
136
  },
77
137
  },
78
138
  UNI: {
79
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
80
- address: {
81
- Mainnet: "0x553303d460EE0afB37EdFf9bE42922D8FF63220e",
82
- Arbitrum: "0x9C917083fDb403ab5ADbEC26Ee294f6EcAda2720",
139
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
140
+ feeds: {
141
+ Mainnet: {
142
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
143
+ address: "0x553303d460EE0afB37EdFf9bE42922D8FF63220e",
144
+ },
145
+ Arbitrum: {
146
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
147
+ address: "0x9C917083fDb403ab5ADbEC26Ee294f6EcAda2720",
148
+ },
83
149
  },
84
150
  },
85
151
  USDC: {
86
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
87
- address: {
88
- Mainnet: "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6",
89
- Arbitrum: "0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3",
152
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
153
+ feeds: {
154
+ Mainnet: {
155
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
156
+ address: "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6",
157
+ },
158
+ Arbitrum: {
159
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
160
+ address: "0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3",
161
+ },
90
162
  },
91
163
  },
92
164
  USDT: {
93
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
94
- address: {
95
- Mainnet: "0x3E7d1eAB13ad0104d2750B8863b489D65364e32D",
96
- Arbitrum: "0x3f3f5dF88dC9F13eac63DF89EC16ef6e7E25DdE7",
165
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
166
+ feeds: {
167
+ Mainnet: {
168
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
169
+ address: "0x3E7d1eAB13ad0104d2750B8863b489D65364e32D",
170
+ },
171
+ Arbitrum: {
172
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
173
+ address: "0x3f3f5dF88dC9F13eac63DF89EC16ef6e7E25DdE7",
174
+ },
97
175
  },
98
176
  },
99
177
  WBTC: {
100
- type: oracles_1.OracleType.COMPOSITE_ORACLE,
101
- targetToBasePriceFeed: {
102
- Mainnet: "0xfdFD9C85aD200c506Cf9e21F1FD8dd01932FBB23",
103
- Arbitrum: "0x0017abAc5b6f291F9164e35B1234CA1D697f9CF4",
104
- },
105
- baseToUsdPriceFeed: {
106
- Mainnet: "0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c",
107
- Arbitrum: "0x6ce185860a4963106506C203335A2910413708e9",
178
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
179
+ feeds: {
180
+ Mainnet: {
181
+ type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
182
+ targetToBasePriceFeed: "0xfdFD9C85aD200c506Cf9e21F1FD8dd01932FBB23",
183
+ baseToUsdPriceFeed: "0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c",
184
+ },
185
+ Arbitrum: {
186
+ type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
187
+ targetToBasePriceFeed: "0x0017abAc5b6f291F9164e35B1234CA1D697f9CF4",
188
+ baseToUsdPriceFeed: "0x6ce185860a4963106506C203335A2910413708e9",
189
+ },
108
190
  },
109
191
  },
110
192
  WETH: {
111
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
112
- address: {
113
- Mainnet: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114
- Arbitrum: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
193
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
194
+ feeds: {
195
+ Mainnet: {
196
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
197
+ address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
198
+ },
199
+ Arbitrum: {
200
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
201
+ address: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
202
+ },
115
203
  },
116
204
  },
117
205
  YFI: {
118
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
119
- address: {
120
- Mainnet: "0xA027702dbb89fbd58938e4324ac03B58d812b0E1",
121
- Arbitrum: "0x745Ab5b69E01E2BE1104Ca84937Bb71f96f5fB21",
206
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
207
+ feeds: {
208
+ Mainnet: {
209
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
210
+ address: "0xA027702dbb89fbd58938e4324ac03B58d812b0E1",
211
+ },
212
+ Arbitrum: {
213
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
214
+ address: "0x745Ab5b69E01E2BE1104Ca84937Bb71f96f5fB21",
215
+ },
122
216
  },
123
217
  },
124
218
  /// UPDATE
125
219
  STETH: {
126
- type: oracles_1.OracleType.COMPOSITE_ORACLE,
127
- targetToBasePriceFeed: {
128
- Mainnet: "0x86392dC19c0b719886221c78AB11eb8Cf5c52812",
129
- Arbitrum: "0xded2c52b75B24732e9107377B7Ba93eC1fFa4BAf",
130
- },
131
- baseToUsdPriceFeed: {
132
- Mainnet: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
133
- Arbitrum: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
220
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
221
+ feeds: {
222
+ Mainnet: {
223
+ type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
224
+ targetToBasePriceFeed: "0x86392dC19c0b719886221c78AB11eb8Cf5c52812",
225
+ baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
226
+ },
227
+ Arbitrum: {
228
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
229
+ address: constants_1.NOT_DEPLOYED,
230
+ },
134
231
  },
135
232
  },
136
233
  wstETH: {
137
- type: oracles_1.OracleType.WSTETH_ORACLE,
138
- token: "STETH",
234
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
235
+ feeds: {
236
+ Mainnet: {
237
+ type: pricefeedType_1.PriceFeedType.WSTETH_ORACLE,
238
+ token: "STETH",
239
+ },
240
+ Arbitrum: {
241
+ type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
242
+ targetToBasePriceFeed: constants_1.NOT_DEPLOYED,
243
+ baseToUsdPriceFeed: constants_1.NOT_DEPLOYED,
244
+ },
245
+ },
139
246
  },
140
247
  CVX: {
141
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
142
- address: {
143
- Mainnet: "0xd962fC30A72A84cE50161031391756Bf2876Af5D",
144
- Arbitrum: "0x851175a919f36c8e30197c09a9A49dA932c2CC00",
248
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
249
+ feeds: {
250
+ Mainnet: {
251
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
252
+ address: "0xd962fC30A72A84cE50161031391756Bf2876Af5D",
253
+ },
254
+ Arbitrum: {
255
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
256
+ address: "0x851175a919f36c8e30197c09a9A49dA932c2CC00",
257
+ },
145
258
  },
146
259
  },
147
260
  FRAX: {
148
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
149
- address: {
150
- Mainnet: "0xB9E1E3A9feFf48998E45Fa90847ed4D467E8BcfD",
151
- Arbitrum: "0x0809E3d38d1B4214958faf06D8b1B1a2b73f2ab8",
261
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
262
+ feeds: {
263
+ Mainnet: {
264
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
265
+ address: "0xB9E1E3A9feFf48998E45Fa90847ed4D467E8BcfD",
266
+ },
267
+ Arbitrum: {
268
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
269
+ address: "0x0809E3d38d1B4214958faf06D8b1B1a2b73f2ab8",
270
+ },
152
271
  },
153
272
  },
154
273
  LUSD: {
155
- type: oracles_1.OracleType.BOUNDED_ORACLE,
156
- targetPriceFeed: {
157
- Mainnet: "0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0",
158
- Arbitrum: "0x0411D28c94d85A36bC72Cb0f875dfA8371D8fFfF",
274
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
275
+ feeds: {
276
+ Mainnet: {
277
+ type: pricefeedType_1.PriceFeedType.BOUNDED_ORACLE,
278
+ targetPriceFeed: "0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0",
279
+ upperBound: (BigInt(1e8) * 11n) / 10n,
280
+ },
281
+ Arbitrum: {
282
+ type: pricefeedType_1.PriceFeedType.BOUNDED_ORACLE,
283
+ targetPriceFeed: "0x0411D28c94d85A36bC72Cb0f875dfA8371D8fFfF",
284
+ upperBound: (BigInt(1e8) * 11n) / 10n,
285
+ },
159
286
  },
160
- upperBound: (BigInt(1e8) * 11n) / 10n,
161
287
  },
162
288
  sUSD: {
163
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
164
- address: {
165
- Mainnet: "0xad35Bd71b9aFE6e4bDc266B345c198eaDEf9Ad94",
166
- Arbitrum: constants_1.NOT_DEPLOYED,
289
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
290
+ feeds: {
291
+ Mainnet: {
292
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
293
+ address: "0xad35Bd71b9aFE6e4bDc266B345c198eaDEf9Ad94",
294
+ },
295
+ Arbitrum: {
296
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
297
+ address: constants_1.NOT_DEPLOYED,
298
+ },
167
299
  },
168
300
  },
169
301
  FXS: {
170
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
171
- address: {
172
- Mainnet: "0x6Ebc52C8C1089be9eB3945C4350B68B8E4C2233f",
173
- Arbitrum: "0x36a121448D74Fa81450c992A1a44B9b7377CD3a5",
302
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
303
+ feeds: {
304
+ Mainnet: {
305
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
306
+ address: "0x6Ebc52C8C1089be9eB3945C4350B68B8E4C2233f",
307
+ },
308
+ Arbitrum: {
309
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
310
+ address: "0x36a121448D74Fa81450c992A1a44B9b7377CD3a5",
311
+ },
174
312
  },
175
313
  },
176
314
  LDO: {
177
- type: oracles_1.OracleType.COMPOSITE_ORACLE,
178
- targetToBasePriceFeed: {
179
- Mainnet: "0x4e844125952D32AcdF339BE976c98E22F6F318dB",
180
- Arbitrum: constants_1.NOT_DEPLOYED,
181
- },
182
- baseToUsdPriceFeed: {
183
- Mainnet: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
184
- Arbitrum: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
315
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
316
+ feeds: {
317
+ Mainnet: {
318
+ type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
319
+ targetToBasePriceFeed: "0x4e844125952D32AcdF339BE976c98E22F6F318dB",
320
+ baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
321
+ },
322
+ Arbitrum: {
323
+ type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
324
+ },
185
325
  },
186
326
  // ADD ETH-> DAI Oracle!
187
327
  },
188
328
  LQTY: {
189
- type: oracles_1.OracleType.ZERO_ORACLE,
329
+ type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
190
330
  },
191
331
  OHM: {
192
- type: oracles_1.OracleType.COMPOSITE_ORACLE,
193
- targetToBasePriceFeed: {
194
- Mainnet: "0x9a72298ae3886221820B1c878d12D872087D3a23",
195
- Arbitrum: constants_1.NOT_DEPLOYED,
196
- },
197
- baseToUsdPriceFeed: {
198
- Mainnet: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
199
- Arbitrum: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
332
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
333
+ feeds: {
334
+ Mainnet: {
335
+ type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
336
+ targetToBasePriceFeed: "0x9a72298ae3886221820B1c878d12D872087D3a23",
337
+ baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
338
+ },
339
+ Arbitrum: {
340
+ type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
341
+ },
200
342
  },
201
343
  },
202
344
  MIM: {
203
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
204
- address: {
205
- Mainnet: "0x7A364e8770418566e3eb2001A96116E6138Eb32F",
206
- Arbitrum: constants_1.NOT_DEPLOYED,
345
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
346
+ feeds: {
347
+ Mainnet: {
348
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
349
+ address: "0x7A364e8770418566e3eb2001A96116E6138Eb32F",
350
+ },
351
+ Arbitrum: {
352
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
353
+ address: constants_1.NOT_DEPLOYED,
354
+ },
207
355
  },
208
356
  },
209
357
  SPELL: {
210
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
211
- address: {
212
- Mainnet: "0x8c110B94C5f1d347fAcF5E1E938AB2db60E3c9a8",
213
- Arbitrum: "0x383b3624478124697BEF675F07cA37570b73992f",
358
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
359
+ feeds: {
360
+ Mainnet: {
361
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
362
+ address: "0x8c110B94C5f1d347fAcF5E1E938AB2db60E3c9a8",
363
+ },
364
+ Arbitrum: {
365
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
366
+ address: "0x383b3624478124697BEF675F07cA37570b73992f",
367
+ },
214
368
  },
215
369
  },
216
370
  GMX: {
217
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
218
- address: {
219
- Mainnet: constants_1.NOT_DEPLOYED,
220
- Arbitrum: "0xDB98056FecFff59D032aB628337A4887110df3dB",
371
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
372
+ feeds: {
373
+ Mainnet: {
374
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
375
+ address: constants_1.NOT_DEPLOYED,
376
+ },
377
+ Arbitrum: {
378
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
379
+ address: "0xDB98056FecFff59D032aB628337A4887110df3dB",
380
+ },
221
381
  },
222
382
  },
223
383
  ARB: {
224
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
225
- address: {
226
- Mainnet: constants_1.NOT_DEPLOYED,
227
- Arbitrum: "0xb2A824043730FE05F3DA2efaFa1CBbe83fa548D6",
384
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
385
+ feeds: {
386
+ Mainnet: {
387
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
388
+ address: constants_1.NOT_DEPLOYED,
389
+ },
390
+ Arbitrum: {
391
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
392
+ address: "0xb2A824043730FE05F3DA2efaFa1CBbe83fa548D6",
393
+ },
228
394
  },
229
395
  },
230
396
  SHIB: {
231
- type: oracles_1.OracleType.REDSTONE_ORACLE,
397
+ type: pricefeedType_1.PriceFeedType.REDSTONE_ORACLE,
232
398
  dataId: "redstone-main-demo",
233
399
  signers: ["0x0C39486f770B26F5527BBBf942726537986Cd7eb"],
234
400
  signersThreshold: 1,
235
401
  },
236
402
  RDNT: {
237
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
238
- address: {
239
- Mainnet: constants_1.NOT_DEPLOYED,
240
- Arbitrum: "0x20d0Fcab0ECFD078B036b6CAf1FaC69A6453b352",
403
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
404
+ feeds: {
405
+ Mainnet: {
406
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
407
+ address: constants_1.NOT_DEPLOYED,
408
+ },
409
+ Arbitrum: {
410
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
411
+ address: "0x20d0Fcab0ECFD078B036b6CAf1FaC69A6453b352",
412
+ },
241
413
  },
242
414
  },
243
415
  BAL: {
244
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
245
- address: {
246
- Mainnet: "0xdF2917806E30300537aEB49A7663062F4d1F2b5F",
247
- Arbitrum: "0xBE5eA816870D11239c543F84b71439511D70B94f",
416
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
417
+ feeds: {
418
+ Mainnet: {
419
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
420
+ address: "0xdF2917806E30300537aEB49A7663062F4d1F2b5F",
421
+ },
422
+ Arbitrum: {
423
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
424
+ address: "0xBE5eA816870D11239c543F84b71439511D70B94f",
425
+ },
248
426
  },
249
427
  },
250
428
  yvDAI: {
251
- type: oracles_1.OracleType.YEARN_ORACLE,
429
+ type: pricefeedType_1.PriceFeedType.YEARN_ORACLE,
252
430
  token: "DAI",
253
431
  },
254
432
  yvUSDC: {
255
- type: oracles_1.OracleType.YEARN_ORACLE,
433
+ type: pricefeedType_1.PriceFeedType.YEARN_ORACLE,
256
434
  token: "USDC",
257
435
  },
258
436
  yvWETH: {
259
- type: oracles_1.OracleType.YEARN_ORACLE,
437
+ type: pricefeedType_1.PriceFeedType.YEARN_ORACLE,
260
438
  token: "WETH",
261
439
  },
262
440
  yvWBTC: {
263
- type: oracles_1.OracleType.YEARN_ORACLE,
441
+ type: pricefeedType_1.PriceFeedType.YEARN_ORACLE,
264
442
  token: "WBTC",
265
443
  },
266
444
  // CURVE LP TOKENS
267
445
  "3Crv": {
268
- type: oracles_1.OracleType.CURVE_3LP_ORACLE,
446
+ type: pricefeedType_1.PriceFeedType.CURVE_3LP_ORACLE,
269
447
  assets: ["DAI", "USDC", "USDT"],
270
448
  },
271
449
  crvFRAX: {
272
- type: oracles_1.OracleType.CURVE_2LP_ORACLE,
450
+ type: pricefeedType_1.PriceFeedType.CURVE_2LP_ORACLE,
273
451
  assets: ["FRAX", "USDC"],
274
452
  },
275
453
  steCRV: {
276
- type: oracles_1.OracleType.CURVE_2LP_ORACLE,
454
+ type: pricefeedType_1.PriceFeedType.CURVE_2LP_ORACLE,
277
455
  assets: ["STETH", "WETH"],
278
456
  },
279
457
  FRAX3CRV: {
280
- type: oracles_1.OracleType.CURVE_4LP_ORACLE,
458
+ type: pricefeedType_1.PriceFeedType.CURVE_4LP_ORACLE,
281
459
  assets: ["FRAX", "DAI", "USDC", "USDT"],
282
460
  },
283
461
  LUSD3CRV: {
284
- type: oracles_1.OracleType.CURVE_4LP_ORACLE,
462
+ type: pricefeedType_1.PriceFeedType.CURVE_4LP_ORACLE,
285
463
  assets: ["LUSD", "DAI", "USDC", "USDT"],
286
464
  },
287
465
  crvPlain3andSUSD: {
288
- type: oracles_1.OracleType.CURVE_4LP_ORACLE,
466
+ type: pricefeedType_1.PriceFeedType.CURVE_4LP_ORACLE,
289
467
  assets: ["DAI", "USDC", "USDT", "sUSD"],
290
468
  },
291
469
  gusd3CRV: {
292
- type: oracles_1.OracleType.CURVE_4LP_ORACLE,
470
+ type: pricefeedType_1.PriceFeedType.CURVE_4LP_ORACLE,
293
471
  assets: ["GUSD", "DAI", "USDC", "USDT"],
294
472
  },
295
473
  MIM_3LP3CRV: {
296
- type: oracles_1.OracleType.CURVE_4LP_ORACLE,
474
+ type: pricefeedType_1.PriceFeedType.CURVE_4LP_ORACLE,
297
475
  assets: ["MIM", "DAI", "USDC", "USDT"],
298
476
  },
299
477
  OHMFRAXBP: {
300
- type: oracles_1.OracleType.CURVE_CRYPTO_ORACLE,
478
+ type: pricefeedType_1.PriceFeedType.CURVE_CRYPTO_ORACLE,
301
479
  assets: ["OHM", "crvFRAX"],
302
480
  },
303
481
  crvCRVETH: {
304
- type: oracles_1.OracleType.CURVE_CRYPTO_ORACLE,
482
+ type: pricefeedType_1.PriceFeedType.CURVE_CRYPTO_ORACLE,
305
483
  assets: ["WETH", "CRV"],
306
484
  },
307
485
  crvCVXETH: {
308
- type: oracles_1.OracleType.CURVE_CRYPTO_ORACLE,
486
+ type: pricefeedType_1.PriceFeedType.CURVE_CRYPTO_ORACLE,
309
487
  assets: ["WETH", "CVX"],
310
488
  },
311
489
  crvUSDTWBTCWETH: {
312
- type: oracles_1.OracleType.CURVE_CRYPTO_ORACLE,
490
+ type: pricefeedType_1.PriceFeedType.CURVE_CRYPTO_ORACLE,
313
491
  assets: ["USDT", "WBTC", "WETH"],
314
492
  },
315
493
  LDOETH: {
316
- type: oracles_1.OracleType.CURVE_CRYPTO_ORACLE,
494
+ type: pricefeedType_1.PriceFeedType.CURVE_CRYPTO_ORACLE,
317
495
  assets: ["LDO", "WETH"],
318
496
  },
319
497
  // YEARN- CURVE TOKENS
320
498
  yvCurve_stETH: {
321
- type: oracles_1.OracleType.YEARN_ORACLE,
499
+ type: pricefeedType_1.PriceFeedType.YEARN_ORACLE,
322
500
  token: "steCRV",
323
501
  },
324
502
  yvCurve_FRAX: {
325
- type: oracles_1.OracleType.YEARN_ORACLE,
503
+ type: pricefeedType_1.PriceFeedType.YEARN_ORACLE,
326
504
  token: "FRAX3CRV",
327
505
  },
328
506
  // CVX tokens
329
507
  cvx3Crv: {
330
- type: oracles_1.OracleType.THE_SAME_AS,
508
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
331
509
  token: "3Crv",
332
510
  },
333
511
  cvxcrvFRAX: {
334
- type: oracles_1.OracleType.THE_SAME_AS,
512
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
335
513
  token: "crvFRAX",
336
514
  },
337
515
  cvxsteCRV: {
338
- type: oracles_1.OracleType.THE_SAME_AS,
516
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
339
517
  token: "steCRV",
340
518
  },
341
519
  cvxFRAX3CRV: {
342
- type: oracles_1.OracleType.THE_SAME_AS,
520
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
343
521
  token: "FRAX3CRV",
344
522
  },
345
523
  cvxLUSD3CRV: {
346
- type: oracles_1.OracleType.THE_SAME_AS,
524
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
347
525
  token: "LUSD3CRV",
348
526
  },
349
527
  cvxcrvPlain3andSUSD: {
350
- type: oracles_1.OracleType.THE_SAME_AS,
528
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
351
529
  token: "crvPlain3andSUSD",
352
530
  },
353
531
  cvxgusd3CRV: {
354
- type: oracles_1.OracleType.THE_SAME_AS,
532
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
355
533
  token: "gusd3CRV",
356
534
  },
357
535
  cvxOHMFRAXBP: {
358
- type: oracles_1.OracleType.THE_SAME_AS,
536
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
359
537
  token: "OHMFRAXBP",
360
538
  },
361
539
  cvxMIM_3LP3CRV: {
362
- type: oracles_1.OracleType.THE_SAME_AS,
540
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
363
541
  token: "MIM_3LP3CRV",
364
542
  },
365
543
  cvxcrvCRVETH: {
366
- type: oracles_1.OracleType.THE_SAME_AS,
544
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
367
545
  token: "crvCRVETH",
368
546
  },
369
547
  cvxcrvCVXETH: {
370
- type: oracles_1.OracleType.THE_SAME_AS,
548
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
371
549
  token: "crvCVXETH",
372
550
  },
373
551
  cvxcrvUSDTWBTCWETH: {
374
- type: oracles_1.OracleType.THE_SAME_AS,
552
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
375
553
  token: "crvUSDTWBTCWETH",
376
554
  },
377
555
  cvxLDOETH: {
378
- type: oracles_1.OracleType.THE_SAME_AS,
556
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
379
557
  token: "LDOETH",
380
558
  },
381
559
  // CVX tokens
382
560
  stkcvx3Crv: {
383
- type: oracles_1.OracleType.THE_SAME_AS,
561
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
384
562
  token: "3Crv",
385
563
  },
386
564
  stkcvxcrvFRAX: {
387
- type: oracles_1.OracleType.THE_SAME_AS,
565
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
388
566
  token: "crvFRAX",
389
567
  },
390
568
  stkcvxsteCRV: {
391
- type: oracles_1.OracleType.THE_SAME_AS,
569
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
392
570
  token: "steCRV",
393
571
  },
394
572
  stkcvxFRAX3CRV: {
395
- type: oracles_1.OracleType.THE_SAME_AS,
573
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
396
574
  token: "FRAX3CRV",
397
575
  },
398
576
  stkcvxLUSD3CRV: {
399
- type: oracles_1.OracleType.THE_SAME_AS,
577
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
400
578
  token: "LUSD3CRV",
401
579
  },
402
580
  stkcvxcrvPlain3andSUSD: {
403
- type: oracles_1.OracleType.THE_SAME_AS,
581
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
404
582
  token: "crvPlain3andSUSD",
405
583
  },
406
584
  stkcvxgusd3CRV: {
407
- type: oracles_1.OracleType.THE_SAME_AS,
585
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
408
586
  token: "gusd3CRV",
409
587
  },
410
588
  stkcvxOHMFRAXBP: {
411
- type: oracles_1.OracleType.THE_SAME_AS,
589
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
412
590
  token: "OHMFRAXBP",
413
591
  },
414
592
  stkcvxMIM_3LP3CRV: {
415
- type: oracles_1.OracleType.THE_SAME_AS,
593
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
416
594
  token: "MIM_3LP3CRV",
417
595
  },
418
596
  stkcvxcrvCRVETH: {
419
- type: oracles_1.OracleType.THE_SAME_AS,
597
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
420
598
  token: "crvCRVETH",
421
599
  },
422
600
  stkcvxcrvCVXETH: {
423
- type: oracles_1.OracleType.THE_SAME_AS,
601
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
424
602
  token: "crvCVXETH",
425
603
  },
426
604
  stkcvxcrvUSDTWBTCWETH: {
427
- type: oracles_1.OracleType.THE_SAME_AS,
605
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
428
606
  token: "crvUSDTWBTCWETH",
429
607
  },
430
608
  stkcvxLDOETH: {
431
- type: oracles_1.OracleType.THE_SAME_AS,
609
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
432
610
  token: "LDOETH",
433
611
  },
434
612
  "50OHM_50DAI": {
435
- type: oracles_1.OracleType.BALANCER_WEIGHTED_LP_ORACLE,
613
+ type: pricefeedType_1.PriceFeedType.BALANCER_WEIGHTED_LP_ORACLE,
436
614
  assets: ["OHM", "DAI"],
437
615
  },
438
616
  "50OHM_50WETH": {
439
- type: oracles_1.OracleType.BALANCER_WEIGHTED_LP_ORACLE,
617
+ type: pricefeedType_1.PriceFeedType.BALANCER_WEIGHTED_LP_ORACLE,
440
618
  assets: ["OHM", "WETH"],
441
619
  },
442
620
  OHM_wstETH: {
443
- type: oracles_1.OracleType.BALANCER_WEIGHTED_LP_ORACLE,
621
+ type: pricefeedType_1.PriceFeedType.BALANCER_WEIGHTED_LP_ORACLE,
444
622
  assets: ["OHM", "wstETH"],
445
623
  },
446
624
  // GEARBOX
447
625
  dDAI: {
448
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
449
- address: { Mainnet: "", Arbitrum: "" },
626
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
627
+ feeds: {
628
+ Mainnet: {
629
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
630
+ address: constants_1.NOT_DEPLOYED,
631
+ },
632
+ Arbitrum: {
633
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
634
+ address: constants_1.NOT_DEPLOYED,
635
+ },
636
+ },
450
637
  },
451
638
  dUSDC: {
452
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
453
- address: { Mainnet: "", Arbitrum: "" },
639
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
640
+ feeds: {
641
+ Mainnet: {
642
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
643
+ address: constants_1.NOT_DEPLOYED,
644
+ },
645
+ Arbitrum: {
646
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
647
+ address: constants_1.NOT_DEPLOYED,
648
+ },
649
+ },
454
650
  },
455
651
  dWBTC: {
456
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
457
- address: { Mainnet: "", Arbitrum: "" },
652
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
653
+ feeds: {
654
+ Mainnet: {
655
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
656
+ address: constants_1.NOT_DEPLOYED,
657
+ },
658
+ Arbitrum: {
659
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
660
+ address: constants_1.NOT_DEPLOYED,
661
+ },
662
+ },
458
663
  },
459
664
  dWETH: {
460
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
461
- address: { Mainnet: "", Arbitrum: "" },
665
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
666
+ feeds: {
667
+ Mainnet: {
668
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
669
+ address: constants_1.NOT_DEPLOYED,
670
+ },
671
+ Arbitrum: {
672
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
673
+ address: constants_1.NOT_DEPLOYED,
674
+ },
675
+ },
462
676
  },
463
677
  dwstETH: {
464
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
465
- address: { Mainnet: "", Arbitrum: "" },
678
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
679
+ feeds: {
680
+ Mainnet: {
681
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
682
+ address: constants_1.NOT_DEPLOYED,
683
+ },
684
+ Arbitrum: {
685
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
686
+ address: constants_1.NOT_DEPLOYED,
687
+ },
688
+ },
466
689
  },
467
690
  dFRAX: {
468
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
469
- address: { Mainnet: "", Arbitrum: "" },
691
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
692
+ feeds: {
693
+ Mainnet: {
694
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
695
+ address: constants_1.NOT_DEPLOYED,
696
+ },
697
+ Arbitrum: {
698
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
699
+ address: constants_1.NOT_DEPLOYED,
700
+ },
701
+ },
470
702
  },
471
703
  GEAR: {
472
- type: oracles_1.OracleType.CHAINLINK_ORACLE,
473
- address: { Mainnet: "", Arbitrum: "" },
704
+ type: pricefeedType_1.PriceFeedType.NETWORK_DEPENDENT,
705
+ feeds: {
706
+ Mainnet: {
707
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
708
+ address: constants_1.NOT_DEPLOYED,
709
+ },
710
+ Arbitrum: {
711
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
712
+ address: constants_1.NOT_DEPLOYED,
713
+ },
714
+ },
474
715
  },
475
716
  aDAI: {
476
- type: oracles_1.OracleType.THE_SAME_AS,
717
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
477
718
  token: "DAI",
478
719
  },
479
720
  aUSDC: {
480
- type: oracles_1.OracleType.THE_SAME_AS,
721
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
481
722
  token: "USDC",
482
723
  },
483
724
  aUSDT: {
484
- type: oracles_1.OracleType.THE_SAME_AS,
725
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
485
726
  token: "USDT",
486
727
  },
487
728
  aWETH: {
488
- type: oracles_1.OracleType.THE_SAME_AS,
729
+ type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
489
730
  token: "WETH",
490
731
  },
491
732
  waDAI: {
492
- type: oracles_1.OracleType.WRAPPED_AAVE_V2_ORACLE,
733
+ type: pricefeedType_1.PriceFeedType.WRAPPED_AAVE_V2_ORACLE,
493
734
  underlying: "aDAI",
494
735
  },
495
736
  waUSDC: {
496
- type: oracles_1.OracleType.WRAPPED_AAVE_V2_ORACLE,
737
+ type: pricefeedType_1.PriceFeedType.WRAPPED_AAVE_V2_ORACLE,
497
738
  underlying: "aUSDC",
498
739
  },
499
740
  waUSDT: {
500
- type: oracles_1.OracleType.WRAPPED_AAVE_V2_ORACLE,
741
+ type: pricefeedType_1.PriceFeedType.WRAPPED_AAVE_V2_ORACLE,
501
742
  underlying: "aUSDT",
502
743
  },
503
744
  waWETH: {
504
- type: oracles_1.OracleType.WRAPPED_AAVE_V2_ORACLE,
745
+ type: pricefeedType_1.PriceFeedType.WRAPPED_AAVE_V2_ORACLE,
505
746
  underlying: "aWETH",
506
747
  },
507
748
  cDAI: {
508
- type: oracles_1.OracleType.COMPOUND_V2_ORACLE,
749
+ type: pricefeedType_1.PriceFeedType.COMPOUND_V2_ORACLE,
509
750
  underlying: "DAI",
510
751
  },
511
752
  cUSDC: {
512
- type: oracles_1.OracleType.COMPOUND_V2_ORACLE,
753
+ type: pricefeedType_1.PriceFeedType.COMPOUND_V2_ORACLE,
513
754
  underlying: "USDC",
514
755
  },
515
756
  cUSDT: {
516
- type: oracles_1.OracleType.COMPOUND_V2_ORACLE,
757
+ type: pricefeedType_1.PriceFeedType.COMPOUND_V2_ORACLE,
517
758
  underlying: "USDT",
518
759
  },
519
760
  cWETH: {
520
- type: oracles_1.OracleType.COMPOUND_V2_ORACLE,
761
+ type: pricefeedType_1.PriceFeedType.COMPOUND_V2_ORACLE,
521
762
  underlying: "WETH",
522
763
  },
523
764
  };