@gearbox-protocol/sdk 0.0.12 → 0.0.15
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 +6 -1
- package/lib/core/token.js +4 -4
- package/package.json +1 -1
- package/src/core/priceFeeds.ts +7 -1
- package/src/core/token.ts +4 -4
package/lib/core/priceFeeds.js
CHANGED
|
@@ -186,6 +186,10 @@ 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: {
|
|
@@ -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: {
|
package/lib/core/token.js
CHANGED
|
@@ -238,18 +238,18 @@ exports.tokenDataByNetwork = {
|
|
|
238
238
|
sUSD: "0x32aeb9B672a81C43391c90a95a4D6c9A9D4459B6",
|
|
239
239
|
GUSD: "0x3cee6494bf400F8C24871dBD331B9436a9CfaBbb",
|
|
240
240
|
LUNA: "0x9dc1D71fAeE18bF77C6166aBC8b218D3336919F1",
|
|
241
|
-
LQTY: "",
|
|
241
|
+
LQTY: "0xC948BB323d753B37eA8195DeAFE904138Df11fbC",
|
|
242
242
|
// YEARN TOKENS
|
|
243
243
|
yvDAI: "0xe5267045739E4d6FcA15BB4a79190012F146893b",
|
|
244
244
|
yvUSDC: "0x980E4d8A22105c2a2fA2252B7685F32fc7564512",
|
|
245
245
|
yvWETH: "",
|
|
246
246
|
yvWBTC: "",
|
|
247
247
|
// CURVE LP TOKENS
|
|
248
|
-
"3Crv": "",
|
|
249
|
-
steCRV: "",
|
|
248
|
+
"3Crv": "0x769C784D1e958672bDef04cf12Fd5399b3db0f27",
|
|
249
|
+
steCRV: "0xF695d3aa358D5087A0C157DBb9449d4f0d8E534a",
|
|
250
250
|
FRAX3CRV: "",
|
|
251
251
|
LUSD3CRV: "",
|
|
252
|
-
crvPlain3andSUSD: "",
|
|
252
|
+
crvPlain3andSUSD: "0x032f1cE00865F3499C0052ceBA5F2348842416DB",
|
|
253
253
|
gusd3CRV: "",
|
|
254
254
|
// CONVEX LP TOKENS
|
|
255
255
|
cvx3Crv: "",
|
package/package.json
CHANGED
package/src/core/priceFeeds.ts
CHANGED
|
@@ -203,6 +203,10 @@ 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
|
|
|
@@ -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: {
|
package/src/core/token.ts
CHANGED
|
@@ -295,7 +295,7 @@ export const tokenDataByNetwork: Record<
|
|
|
295
295
|
sUSD: "0x32aeb9B672a81C43391c90a95a4D6c9A9D4459B6",
|
|
296
296
|
GUSD: "0x3cee6494bf400F8C24871dBD331B9436a9CfaBbb",
|
|
297
297
|
LUNA: "0x9dc1D71fAeE18bF77C6166aBC8b218D3336919F1",
|
|
298
|
-
LQTY: "",
|
|
298
|
+
LQTY: "0xC948BB323d753B37eA8195DeAFE904138Df11fbC",
|
|
299
299
|
|
|
300
300
|
// YEARN TOKENS
|
|
301
301
|
yvDAI: "0xe5267045739E4d6FcA15BB4a79190012F146893b",
|
|
@@ -304,11 +304,11 @@ export const tokenDataByNetwork: Record<
|
|
|
304
304
|
yvWBTC: "",
|
|
305
305
|
|
|
306
306
|
// CURVE LP TOKENS
|
|
307
|
-
"3Crv": "",
|
|
308
|
-
steCRV: "",
|
|
307
|
+
"3Crv": "0x769C784D1e958672bDef04cf12Fd5399b3db0f27",
|
|
308
|
+
steCRV: "0xF695d3aa358D5087A0C157DBb9449d4f0d8E534a",
|
|
309
309
|
FRAX3CRV: "",
|
|
310
310
|
LUSD3CRV: "",
|
|
311
|
-
crvPlain3andSUSD: "",
|
|
311
|
+
crvPlain3andSUSD: "0x032f1cE00865F3499C0052ceBA5F2348842416DB",
|
|
312
312
|
gusd3CRV: "",
|
|
313
313
|
|
|
314
314
|
// CONVEX LP TOKENS
|