@gearbox-protocol/sdk 0.0.13 → 0.0.16
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 -3
- package/lib/core/token.js +3 -3
- package/package.json +1 -1
- package/src/core/priceFeeds.ts +9 -3
- package/src/core/token.ts +3 -3
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: {
|
package/lib/core/token.js
CHANGED
|
@@ -245,11 +245,11 @@ exports.tokenDataByNetwork = {
|
|
|
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,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: {
|
package/src/core/token.ts
CHANGED
|
@@ -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
|