@defisaver/tokens 1.4.31 → 1.4.33
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 +27 -23
- package/esm/assets.js +68 -66
- package/esm/types.d.ts +7 -0
- package/package.json +1 -1
- package/src/assets.ts +68 -0
- package/src/types.ts +8 -0
- package/umd/index.js +213 -0
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
#### Defined in
|
|
53
53
|
|
|
54
|
-
[types.ts:
|
|
54
|
+
[types.ts:70](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/types.ts#L70)
|
|
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/DecenterApps/defisaver-tokens/blob/
|
|
68
|
+
[types.ts:6](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/types.ts#L6)
|
|
69
69
|
|
|
70
70
|
___
|
|
71
71
|
|
|
@@ -85,16 +85,18 @@ Chain-specific asset info type
|
|
|
85
85
|
| `compoundCollateral` | `boolean` |
|
|
86
86
|
| `decimals` | `number` |
|
|
87
87
|
| `exchange` | `boolean` |
|
|
88
|
+
| `feedAvailability` | `BoolMapping` |
|
|
88
89
|
| `icon` | `Function` |
|
|
89
90
|
| `isStable` | `boolean` |
|
|
90
91
|
| `name` | `string` |
|
|
92
|
+
| `nativeChainId` | `number` |
|
|
91
93
|
| `symbol` | `string` |
|
|
92
94
|
| `underlyingAsset` | `string` |
|
|
93
95
|
| `yearnCollateral` | `boolean` |
|
|
94
96
|
|
|
95
97
|
#### Defined in
|
|
96
98
|
|
|
97
|
-
[types.ts:
|
|
99
|
+
[types.ts:36](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/types.ts#L36)
|
|
98
100
|
|
|
99
101
|
___
|
|
100
102
|
|
|
@@ -113,16 +115,18 @@ Chain-agnostic asset info type
|
|
|
113
115
|
| `compoundCollateral` | `boolean` |
|
|
114
116
|
| `decimals` | `number` |
|
|
115
117
|
| `exchange` | `boolean` |
|
|
118
|
+
| `feedAvailability` | `BoolMapping` |
|
|
116
119
|
| `icon` | `Function` |
|
|
117
120
|
| `isStable` | `boolean` |
|
|
118
121
|
| `name` | `string` |
|
|
122
|
+
| `nativeChainId` | `number` |
|
|
119
123
|
| `symbol` | `string` |
|
|
120
124
|
| `underlyingAsset` | `string` |
|
|
121
125
|
| `yearnCollateral` | `boolean` |
|
|
122
126
|
|
|
123
127
|
#### Defined in
|
|
124
128
|
|
|
125
|
-
[types.ts:
|
|
129
|
+
[types.ts:17](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/types.ts#L17)
|
|
126
130
|
|
|
127
131
|
___
|
|
128
132
|
|
|
@@ -132,7 +136,7 @@ ___
|
|
|
132
136
|
|
|
133
137
|
#### Defined in
|
|
134
138
|
|
|
135
|
-
[types.ts:
|
|
139
|
+
[types.ts:77](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/types.ts#L77)
|
|
136
140
|
|
|
137
141
|
___
|
|
138
142
|
|
|
@@ -160,7 +164,7 @@ Maker ilk info type
|
|
|
160
164
|
|
|
161
165
|
#### Defined in
|
|
162
166
|
|
|
163
|
-
[types.ts:
|
|
167
|
+
[types.ts:56](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/types.ts#L56)
|
|
164
168
|
|
|
165
169
|
## Variables
|
|
166
170
|
|
|
@@ -170,7 +174,7 @@ Maker ilk info type
|
|
|
170
174
|
|
|
171
175
|
#### Defined in
|
|
172
176
|
|
|
173
|
-
[index.ts:27](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
177
|
+
[index.ts:27](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L27)
|
|
174
178
|
|
|
175
179
|
___
|
|
176
180
|
|
|
@@ -180,7 +184,7 @@ ___
|
|
|
180
184
|
|
|
181
185
|
#### Defined in
|
|
182
186
|
|
|
183
|
-
[aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
187
|
+
[aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/aaveV2Markets.ts#L3)
|
|
184
188
|
|
|
185
189
|
___
|
|
186
190
|
|
|
@@ -190,7 +194,7 @@ ___
|
|
|
190
194
|
|
|
191
195
|
#### Defined in
|
|
192
196
|
|
|
193
|
-
[assets.ts:
|
|
197
|
+
[assets.ts:236](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/assets.ts#L236)
|
|
194
198
|
|
|
195
199
|
___
|
|
196
200
|
|
|
@@ -200,7 +204,7 @@ ___
|
|
|
200
204
|
|
|
201
205
|
#### Defined in
|
|
202
206
|
|
|
203
|
-
[ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
207
|
+
[ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/ilks.ts#L5)
|
|
204
208
|
|
|
205
209
|
___
|
|
206
210
|
|
|
@@ -210,7 +214,7 @@ ___
|
|
|
210
214
|
|
|
211
215
|
#### Defined in
|
|
212
216
|
|
|
213
|
-
[reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
217
|
+
[reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/reflexerCollTypes.ts#L3)
|
|
214
218
|
|
|
215
219
|
___
|
|
216
220
|
|
|
@@ -228,7 +232,7 @@ ___
|
|
|
228
232
|
|
|
229
233
|
#### Defined in
|
|
230
234
|
|
|
231
|
-
[index.ts:25](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
235
|
+
[index.ts:25](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L25)
|
|
232
236
|
|
|
233
237
|
## Functions
|
|
234
238
|
|
|
@@ -249,7 +253,7 @@ ___
|
|
|
249
253
|
|
|
250
254
|
#### Defined in
|
|
251
255
|
|
|
252
|
-
[index.ts:149](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
256
|
+
[index.ts:149](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L149)
|
|
253
257
|
|
|
254
258
|
___
|
|
255
259
|
|
|
@@ -270,7 +274,7 @@ ___
|
|
|
270
274
|
|
|
271
275
|
#### Defined in
|
|
272
276
|
|
|
273
|
-
[index.ts:170](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
277
|
+
[index.ts:170](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L170)
|
|
274
278
|
|
|
275
279
|
___
|
|
276
280
|
|
|
@@ -290,7 +294,7 @@ ___
|
|
|
290
294
|
|
|
291
295
|
#### Defined in
|
|
292
296
|
|
|
293
|
-
[index.ts:142](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
297
|
+
[index.ts:142](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L142)
|
|
294
298
|
|
|
295
299
|
___
|
|
296
300
|
|
|
@@ -314,7 +318,7 @@ Warning: will not throw if asset not found. Instead, will return a placeholder o
|
|
|
314
318
|
|
|
315
319
|
#### Defined in
|
|
316
320
|
|
|
317
|
-
[index.ts:60](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
321
|
+
[index.ts:60](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L60)
|
|
318
322
|
|
|
319
323
|
___
|
|
320
324
|
|
|
@@ -335,7 +339,7 @@ ___
|
|
|
335
339
|
|
|
336
340
|
#### Defined in
|
|
337
341
|
|
|
338
|
-
[index.ts:95](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
342
|
+
[index.ts:95](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L95)
|
|
339
343
|
|
|
340
344
|
___
|
|
341
345
|
|
|
@@ -358,7 +362,7 @@ Warning: will not throw if ilk not found. Instead, will return a placeholder obj
|
|
|
358
362
|
|
|
359
363
|
#### Defined in
|
|
360
364
|
|
|
361
|
-
[index.ts:73](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
365
|
+
[index.ts:73](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L73)
|
|
362
366
|
|
|
363
367
|
___
|
|
364
368
|
|
|
@@ -378,7 +382,7 @@ ___
|
|
|
378
382
|
|
|
379
383
|
#### Defined in
|
|
380
384
|
|
|
381
|
-
[index.ts:100](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
385
|
+
[index.ts:100](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L100)
|
|
382
386
|
|
|
383
387
|
___
|
|
384
388
|
|
|
@@ -399,7 +403,7 @@ ___
|
|
|
399
403
|
|
|
400
404
|
#### Defined in
|
|
401
405
|
|
|
402
|
-
[index.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
406
|
+
[index.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L21)
|
|
403
407
|
|
|
404
408
|
___
|
|
405
409
|
|
|
@@ -422,7 +426,7 @@ Token symbol
|
|
|
422
426
|
|
|
423
427
|
#### Defined in
|
|
424
428
|
|
|
425
|
-
[index.ts:122](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
429
|
+
[index.ts:122](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L122)
|
|
426
430
|
|
|
427
431
|
___
|
|
428
432
|
|
|
@@ -444,7 +448,7 @@ Token symbol
|
|
|
444
448
|
|
|
445
449
|
#### Defined in
|
|
446
450
|
|
|
447
|
-
[index.ts:134](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
451
|
+
[index.ts:134](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L134)
|
|
448
452
|
|
|
449
453
|
___
|
|
450
454
|
|
|
@@ -466,4 +470,4 @@ Token symbol
|
|
|
466
470
|
|
|
467
471
|
#### Defined in
|
|
468
472
|
|
|
469
|
-
[index.ts:140](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
473
|
+
[index.ts:140](https://github.com/DecenterApps/defisaver-tokens/blob/22cb230/src/index.ts#L140)
|