@gearbox-protocol/sdk 0.0.14 → 0.0.17
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.
- package/lib/core/priceFeeds.js +8 -7
- package/package.json +1 -1
- package/src/core/priceFeeds.ts +9 -7
package/lib/core/priceFeeds.js
CHANGED
|
@@ -186,12 +186,16 @@ exports.priceFeedsByNetwork = {
|
|
|
186
186
|
priceFeedETH: {
|
|
187
187
|
type: oracles_1.OracleType.CHAINLINK_ORACLE,
|
|
188
188
|
address: "0xcfe54b5cd566ab89272946f602d76ea879cab4a8"
|
|
189
|
+
},
|
|
190
|
+
priceFeedUSD: {
|
|
191
|
+
type: oracles_1.OracleType.CHAINLINK_ORACLE,
|
|
192
|
+
address: "0xCfE54B5cD566aB89272946F602D76Ea879CAb4a8"
|
|
189
193
|
}
|
|
190
194
|
},
|
|
191
195
|
FTM: {
|
|
192
|
-
|
|
196
|
+
priceFeedETH: {
|
|
193
197
|
type: oracles_1.OracleType.CHAINLINK_ORACLE,
|
|
194
|
-
address: "
|
|
198
|
+
address: "0x2de7e4a9488488e0058b95854cc2f7955b35dc9b"
|
|
195
199
|
}
|
|
196
200
|
},
|
|
197
201
|
CVX: {
|
|
@@ -228,7 +232,8 @@ exports.priceFeedsByNetwork = {
|
|
|
228
232
|
priceFeedETH: {
|
|
229
233
|
type: oracles_1.OracleType.CHAINLINK_ORACLE,
|
|
230
234
|
address: "0x4e844125952d32acdf339be976c98e22f6f318db"
|
|
231
|
-
}
|
|
235
|
+
},
|
|
236
|
+
// ADD ETH-> DAI Oracle!
|
|
232
237
|
},
|
|
233
238
|
LQTY: {
|
|
234
239
|
priceFeedUSD: {
|
|
@@ -246,10 +251,6 @@ exports.priceFeedsByNetwork = {
|
|
|
246
251
|
type: oracles_1.OracleType.CHAINLINK_ORACLE,
|
|
247
252
|
address: "0x91e9331556ed76c9393055719986409e11b56f73"
|
|
248
253
|
},
|
|
249
|
-
priceFeedUSD: {
|
|
250
|
-
type: oracles_1.OracleType.CHAINLINK_ORACLE,
|
|
251
|
-
address: "0xd660db62ac9dfafdb401f24268eb285120eb11ed"
|
|
252
|
-
}
|
|
253
254
|
},
|
|
254
255
|
yvDAI: {
|
|
255
256
|
priceFeedETH: {
|
package/package.json
CHANGED
package/src/core/priceFeeds.ts
CHANGED
|
@@ -203,13 +203,17 @@ export const priceFeedsByNetwork: Record<SupportedTokens, TokenPriceFeedData> =
|
|
|
203
203
|
priceFeedETH: {
|
|
204
204
|
type: OracleType.CHAINLINK_ORACLE,
|
|
205
205
|
address: "0xcfe54b5cd566ab89272946f602d76ea879cab4a8"
|
|
206
|
+
},
|
|
207
|
+
priceFeedUSD: {
|
|
208
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
209
|
+
address: "0xCfE54B5cD566aB89272946F602D76Ea879CAb4a8"
|
|
206
210
|
}
|
|
207
211
|
},
|
|
208
212
|
|
|
209
213
|
FTM: {
|
|
210
|
-
|
|
214
|
+
priceFeedETH: {
|
|
211
215
|
type: OracleType.CHAINLINK_ORACLE,
|
|
212
|
-
address: "
|
|
216
|
+
address: "0x2de7e4a9488488e0058b95854cc2f7955b35dc9b"
|
|
213
217
|
}
|
|
214
218
|
},
|
|
215
219
|
|
|
@@ -249,7 +253,9 @@ export const priceFeedsByNetwork: Record<SupportedTokens, TokenPriceFeedData> =
|
|
|
249
253
|
priceFeedETH: {
|
|
250
254
|
type: OracleType.CHAINLINK_ORACLE,
|
|
251
255
|
address: "0x4e844125952d32acdf339be976c98e22f6f318db"
|
|
252
|
-
}
|
|
256
|
+
},
|
|
257
|
+
|
|
258
|
+
// ADD ETH-> DAI Oracle!
|
|
253
259
|
},
|
|
254
260
|
LQTY: {
|
|
255
261
|
priceFeedUSD: {
|
|
@@ -267,10 +273,6 @@ export const priceFeedsByNetwork: Record<SupportedTokens, TokenPriceFeedData> =
|
|
|
267
273
|
type: OracleType.CHAINLINK_ORACLE,
|
|
268
274
|
address: "0x91e9331556ed76c9393055719986409e11b56f73"
|
|
269
275
|
},
|
|
270
|
-
priceFeedUSD: {
|
|
271
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
272
|
-
address: "0xd660db62ac9dfafdb401f24268eb285120eb11ed"
|
|
273
|
-
}
|
|
274
276
|
},
|
|
275
277
|
|
|
276
278
|
yvDAI: {
|