@defisaver/tokens 1.4.13 → 1.4.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/README.md +23 -23
- package/esm/assets.js +4 -0
- package/esm/ilks.js +11 -0
- package/package.json +1 -1
- package/src/assets.ts +12 -0
- package/src/ilks.ts +11 -0
- package/umd/index.js +20 -0
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
#### Defined in
|
|
53
53
|
|
|
54
|
-
[types.ts:62](https://github.com/
|
|
54
|
+
[types.ts:62](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/types.ts#L62)
|
|
55
55
|
|
|
56
56
|
___
|
|
57
57
|
|
|
@@ -65,7 +65,7 @@ ___
|
|
|
65
65
|
|
|
66
66
|
#### Defined in
|
|
67
67
|
|
|
68
|
-
[types.ts:6](https://github.com/
|
|
68
|
+
[types.ts:6](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/types.ts#L6)
|
|
69
69
|
|
|
70
70
|
___
|
|
71
71
|
|
|
@@ -94,7 +94,7 @@ Chain-specific asset info type
|
|
|
94
94
|
|
|
95
95
|
#### Defined in
|
|
96
96
|
|
|
97
|
-
[types.ts:30](https://github.com/
|
|
97
|
+
[types.ts:30](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/types.ts#L30)
|
|
98
98
|
|
|
99
99
|
___
|
|
100
100
|
|
|
@@ -122,7 +122,7 @@ Chain-agnostic asset info type
|
|
|
122
122
|
|
|
123
123
|
#### Defined in
|
|
124
124
|
|
|
125
|
-
[types.ts:13](https://github.com/
|
|
125
|
+
[types.ts:13](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/types.ts#L13)
|
|
126
126
|
|
|
127
127
|
___
|
|
128
128
|
|
|
@@ -132,7 +132,7 @@ ___
|
|
|
132
132
|
|
|
133
133
|
#### Defined in
|
|
134
134
|
|
|
135
|
-
[types.ts:69](https://github.com/
|
|
135
|
+
[types.ts:69](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/types.ts#L69)
|
|
136
136
|
|
|
137
137
|
___
|
|
138
138
|
|
|
@@ -160,7 +160,7 @@ Maker ilk info type
|
|
|
160
160
|
|
|
161
161
|
#### Defined in
|
|
162
162
|
|
|
163
|
-
[types.ts:48](https://github.com/
|
|
163
|
+
[types.ts:48](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/types.ts#L48)
|
|
164
164
|
|
|
165
165
|
## Variables
|
|
166
166
|
|
|
@@ -170,7 +170,7 @@ Maker ilk info type
|
|
|
170
170
|
|
|
171
171
|
#### Defined in
|
|
172
172
|
|
|
173
|
-
[index.ts:27](https://github.com/
|
|
173
|
+
[index.ts:27](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L27)
|
|
174
174
|
|
|
175
175
|
___
|
|
176
176
|
|
|
@@ -180,7 +180,7 @@ ___
|
|
|
180
180
|
|
|
181
181
|
#### Defined in
|
|
182
182
|
|
|
183
|
-
[aaveV2Markets.ts:3](https://github.com/
|
|
183
|
+
[aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/aaveV2Markets.ts#L3)
|
|
184
184
|
|
|
185
185
|
___
|
|
186
186
|
|
|
@@ -190,7 +190,7 @@ ___
|
|
|
190
190
|
|
|
191
191
|
#### Defined in
|
|
192
192
|
|
|
193
|
-
[assets.ts:
|
|
193
|
+
[assets.ts:231](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/assets.ts#L231)
|
|
194
194
|
|
|
195
195
|
___
|
|
196
196
|
|
|
@@ -200,7 +200,7 @@ ___
|
|
|
200
200
|
|
|
201
201
|
#### Defined in
|
|
202
202
|
|
|
203
|
-
[ilks.ts:5](https://github.com/
|
|
203
|
+
[ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/ilks.ts#L5)
|
|
204
204
|
|
|
205
205
|
___
|
|
206
206
|
|
|
@@ -210,7 +210,7 @@ ___
|
|
|
210
210
|
|
|
211
211
|
#### Defined in
|
|
212
212
|
|
|
213
|
-
[reflexerCollTypes.ts:3](https://github.com/
|
|
213
|
+
[reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/reflexerCollTypes.ts#L3)
|
|
214
214
|
|
|
215
215
|
___
|
|
216
216
|
|
|
@@ -228,7 +228,7 @@ ___
|
|
|
228
228
|
|
|
229
229
|
#### Defined in
|
|
230
230
|
|
|
231
|
-
[index.ts:25](https://github.com/
|
|
231
|
+
[index.ts:25](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L25)
|
|
232
232
|
|
|
233
233
|
## Functions
|
|
234
234
|
|
|
@@ -249,7 +249,7 @@ ___
|
|
|
249
249
|
|
|
250
250
|
#### Defined in
|
|
251
251
|
|
|
252
|
-
[index.ts:147](https://github.com/
|
|
252
|
+
[index.ts:147](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L147)
|
|
253
253
|
|
|
254
254
|
___
|
|
255
255
|
|
|
@@ -270,7 +270,7 @@ ___
|
|
|
270
270
|
|
|
271
271
|
#### Defined in
|
|
272
272
|
|
|
273
|
-
[index.ts:168](https://github.com/
|
|
273
|
+
[index.ts:168](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L168)
|
|
274
274
|
|
|
275
275
|
___
|
|
276
276
|
|
|
@@ -290,7 +290,7 @@ ___
|
|
|
290
290
|
|
|
291
291
|
#### Defined in
|
|
292
292
|
|
|
293
|
-
[index.ts:140](https://github.com/
|
|
293
|
+
[index.ts:140](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L140)
|
|
294
294
|
|
|
295
295
|
___
|
|
296
296
|
|
|
@@ -313,7 +313,7 @@ Warning: will not throw if asset not found. Instead, will return a placeholder o
|
|
|
313
313
|
|
|
314
314
|
#### Defined in
|
|
315
315
|
|
|
316
|
-
[index.ts:59](https://github.com/
|
|
316
|
+
[index.ts:59](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L59)
|
|
317
317
|
|
|
318
318
|
___
|
|
319
319
|
|
|
@@ -333,7 +333,7 @@ ___
|
|
|
333
333
|
|
|
334
334
|
#### Defined in
|
|
335
335
|
|
|
336
|
-
[index.ts:94](https://github.com/
|
|
336
|
+
[index.ts:94](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L94)
|
|
337
337
|
|
|
338
338
|
___
|
|
339
339
|
|
|
@@ -356,7 +356,7 @@ Warning: will not throw if ilk not found. Instead, will return a placeholder obj
|
|
|
356
356
|
|
|
357
357
|
#### Defined in
|
|
358
358
|
|
|
359
|
-
[index.ts:72](https://github.com/
|
|
359
|
+
[index.ts:72](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L72)
|
|
360
360
|
|
|
361
361
|
___
|
|
362
362
|
|
|
@@ -376,7 +376,7 @@ ___
|
|
|
376
376
|
|
|
377
377
|
#### Defined in
|
|
378
378
|
|
|
379
|
-
[index.ts:99](https://github.com/
|
|
379
|
+
[index.ts:99](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L99)
|
|
380
380
|
|
|
381
381
|
___
|
|
382
382
|
|
|
@@ -397,7 +397,7 @@ ___
|
|
|
397
397
|
|
|
398
398
|
#### Defined in
|
|
399
399
|
|
|
400
|
-
[index.ts:21](https://github.com/
|
|
400
|
+
[index.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L21)
|
|
401
401
|
|
|
402
402
|
___
|
|
403
403
|
|
|
@@ -420,7 +420,7 @@ Token symbol
|
|
|
420
420
|
|
|
421
421
|
#### Defined in
|
|
422
422
|
|
|
423
|
-
[index.ts:120](https://github.com/
|
|
423
|
+
[index.ts:120](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L120)
|
|
424
424
|
|
|
425
425
|
___
|
|
426
426
|
|
|
@@ -442,7 +442,7 @@ Token symbol
|
|
|
442
442
|
|
|
443
443
|
#### Defined in
|
|
444
444
|
|
|
445
|
-
[index.ts:132](https://github.com/
|
|
445
|
+
[index.ts:132](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L132)
|
|
446
446
|
|
|
447
447
|
___
|
|
448
448
|
|
|
@@ -464,4 +464,4 @@ Token symbol
|
|
|
464
464
|
|
|
465
465
|
#### Defined in
|
|
466
466
|
|
|
467
|
-
[index.ts:138](https://github.com/
|
|
467
|
+
[index.ts:138](https://github.com/DecenterApps/defisaver-tokens/blob/d30fbe9/src/index.ts#L138)
|
package/esm/assets.js
CHANGED
|
@@ -207,6 +207,7 @@ const cUSDPAddress = "0x041171993284df560249B57358F931D9eB7b925D";
|
|
|
207
207
|
const GuniDaiUsdc1Address = "0xAbDDAfB225e10B90D798bB8A886238Fb835e2053";
|
|
208
208
|
const GuniDaiUsdc2Address = "0x50379f632ca68D36E50cfBC8F78fe16bd1499d1e";
|
|
209
209
|
const USTAddress = "0xa693B19d2931d498c5B318dF961919BB4aee87a5";
|
|
210
|
+
const cFeiAddress = "0x7713DD9Ca933848F6819F38B8352D9A15EA73F67";
|
|
210
211
|
export const assetProto = {
|
|
211
212
|
symbol: '?',
|
|
212
213
|
name: 'Unknown',
|
|
@@ -883,4 +884,7 @@ export const assets = [
|
|
|
883
884
|
1: USTAddress,
|
|
884
885
|
10: '0xBA28feb4b6A6b81e3F26F08b83a19E715C4294fd',
|
|
885
886
|
} }),
|
|
887
|
+
Object.assign(Object.assign({}, assetProto), { symbol: 'cFEI', name: 'Fei Protocol', addresses: {
|
|
888
|
+
1: cFeiAddress,
|
|
889
|
+
}, exchange: false, compoundCollateral: true, decimals: 8 }),
|
|
886
890
|
];
|
package/esm/ilks.js
CHANGED
|
@@ -428,5 +428,16 @@ export const ilks = [
|
|
|
428
428
|
"pip": "0x0A7DA4e31582a2fB4FD4067943e88f127F70ab39",
|
|
429
429
|
"isLP": true,
|
|
430
430
|
"isCrop": true
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"asset": "wstETH",
|
|
434
|
+
"assetAddress": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
|
|
435
|
+
"ilkLabel": "WSTETH-B",
|
|
436
|
+
"ilkBytes": "0x5753544554482d42000000000000000000000000000000000000000000000000",
|
|
437
|
+
"join": "0x248cCBf4864221fC0E840F29BB042ad5bFC89B5c",
|
|
438
|
+
"clip": "0x3ea60191b7d5990a3544B6Ef79983fD67e85494A",
|
|
439
|
+
"pip": "0xFe7a2aC0B945f12089aEEB6eCebf4F384D9f043F",
|
|
440
|
+
"isLP": false,
|
|
441
|
+
"isCrop": false
|
|
431
442
|
}
|
|
432
443
|
];
|
package/package.json
CHANGED
package/src/assets.ts
CHANGED
|
@@ -209,6 +209,7 @@ const cUSDPAddress = "0x041171993284df560249B57358F931D9eB7b925D";
|
|
|
209
209
|
const GuniDaiUsdc1Address = "0xAbDDAfB225e10B90D798bB8A886238Fb835e2053";
|
|
210
210
|
const GuniDaiUsdc2Address = "0x50379f632ca68D36E50cfBC8F78fe16bd1499d1e";
|
|
211
211
|
const USTAddress = "0xa693B19d2931d498c5B318dF961919BB4aee87a5"
|
|
212
|
+
const cFeiAddress = "0x7713DD9Ca933848F6819F38B8352D9A15EA73F67";
|
|
212
213
|
|
|
213
214
|
export const assetProto: AssetDataBase = {
|
|
214
215
|
symbol: '?',
|
|
@@ -2403,4 +2404,15 @@ export const assets: AssetDataBase[] = [
|
|
|
2403
2404
|
10: '0xBA28feb4b6A6b81e3F26F08b83a19E715C4294fd',
|
|
2404
2405
|
},
|
|
2405
2406
|
},
|
|
2407
|
+
{
|
|
2408
|
+
...assetProto,
|
|
2409
|
+
symbol: 'cFEI',
|
|
2410
|
+
name: 'Fei Protocol',
|
|
2411
|
+
addresses: {
|
|
2412
|
+
1: cFeiAddress,
|
|
2413
|
+
},
|
|
2414
|
+
exchange: false,
|
|
2415
|
+
compoundCollateral: true,
|
|
2416
|
+
decimals: 8,
|
|
2417
|
+
},
|
|
2406
2418
|
];
|
package/src/ilks.ts
CHANGED
|
@@ -431,5 +431,16 @@ export const ilks:IlkData[] = [
|
|
|
431
431
|
"pip": "0x0A7DA4e31582a2fB4FD4067943e88f127F70ab39",
|
|
432
432
|
"isLP": true,
|
|
433
433
|
"isCrop": true
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"asset": "wstETH",
|
|
437
|
+
"assetAddress": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
|
|
438
|
+
"ilkLabel": "WSTETH-B",
|
|
439
|
+
"ilkBytes": "0x5753544554482d42000000000000000000000000000000000000000000000000",
|
|
440
|
+
"join": "0x248cCBf4864221fC0E840F29BB042ad5bFC89B5c",
|
|
441
|
+
"clip": "0x3ea60191b7d5990a3544B6Ef79983fD67e85494A",
|
|
442
|
+
"pip": "0xFe7a2aC0B945f12089aEEB6eCebf4F384D9f043F",
|
|
443
|
+
"isLP": false,
|
|
444
|
+
"isCrop": false
|
|
434
445
|
}
|
|
435
446
|
];
|
package/umd/index.js
CHANGED
|
@@ -465,6 +465,7 @@ var cUSDPAddress = "0x041171993284df560249B57358F931D9eB7b925D";
|
|
|
465
465
|
var GuniDaiUsdc1Address = "0xAbDDAfB225e10B90D798bB8A886238Fb835e2053";
|
|
466
466
|
var GuniDaiUsdc2Address = "0x50379f632ca68D36E50cfBC8F78fe16bd1499d1e";
|
|
467
467
|
var USTAddress = "0xa693B19d2931d498c5B318dF961919BB4aee87a5";
|
|
468
|
+
var cFeiAddress = "0x7713DD9Ca933848F6819F38B8352D9A15EA73F67";
|
|
468
469
|
var assetProto = {
|
|
469
470
|
symbol: '?',
|
|
470
471
|
name: 'Unknown',
|
|
@@ -2239,6 +2240,15 @@ var assets = [_objectSpread(_objectSpread({}, assetProto), {}, {
|
|
|
2239
2240
|
1: USTAddress,
|
|
2240
2241
|
10: '0xBA28feb4b6A6b81e3F26F08b83a19E715C4294fd'
|
|
2241
2242
|
}
|
|
2243
|
+
}), _objectSpread(_objectSpread({}, assetProto), {}, {
|
|
2244
|
+
symbol: 'cFEI',
|
|
2245
|
+
name: 'Fei Protocol',
|
|
2246
|
+
addresses: {
|
|
2247
|
+
1: cFeiAddress
|
|
2248
|
+
},
|
|
2249
|
+
exchange: false,
|
|
2250
|
+
compoundCollateral: true,
|
|
2251
|
+
decimals: 8
|
|
2242
2252
|
})];
|
|
2243
2253
|
|
|
2244
2254
|
/***/ }),
|
|
@@ -2640,6 +2650,16 @@ var ilks = [{
|
|
|
2640
2650
|
"pip": "0x0A7DA4e31582a2fB4FD4067943e88f127F70ab39",
|
|
2641
2651
|
"isLP": true,
|
|
2642
2652
|
"isCrop": true
|
|
2653
|
+
}, {
|
|
2654
|
+
"asset": "wstETH",
|
|
2655
|
+
"assetAddress": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
|
|
2656
|
+
"ilkLabel": "WSTETH-B",
|
|
2657
|
+
"ilkBytes": "0x5753544554482d42000000000000000000000000000000000000000000000000",
|
|
2658
|
+
"join": "0x248cCBf4864221fC0E840F29BB042ad5bFC89B5c",
|
|
2659
|
+
"clip": "0x3ea60191b7d5990a3544B6Ef79983fD67e85494A",
|
|
2660
|
+
"pip": "0xFe7a2aC0B945f12089aEEB6eCebf4F384D9f043F",
|
|
2661
|
+
"isLP": false,
|
|
2662
|
+
"isCrop": false
|
|
2643
2663
|
}];
|
|
2644
2664
|
|
|
2645
2665
|
/***/ }),
|