@defisaver/tokens 1.4.0 → 1.4.1
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 +21 -20
- package/esm/assets.js +636 -207
- package/esm/index.js +1 -0
- package/esm/types.d.ts +9 -1
- package/package.json +2 -2
- package/src/TokenIcons/GuniDaiUsdc1Icon.js +66 -0
- package/src/TokenIcons/GuniDaiUsdc2Icon.js +69 -0
- package/src/assets.ts +648 -207
- package/src/index.ts +4 -3
- package/src/types.ts +11 -0
- package/umd/index.js +645 -207
package/README.md
CHANGED
|
@@ -45,6 +45,7 @@ Asset info type
|
|
|
45
45
|
| :------ | :------ |
|
|
46
46
|
| `aaveCollateral` | `boolean` |
|
|
47
47
|
| `address` | `string` |
|
|
48
|
+
| `addresses` | `AddressMapping` |
|
|
48
49
|
| `compoundCollateral` | `boolean` |
|
|
49
50
|
| `decimals` | `number` |
|
|
50
51
|
| `exchange` | `boolean` |
|
|
@@ -57,7 +58,7 @@ Asset info type
|
|
|
57
58
|
|
|
58
59
|
#### Defined in
|
|
59
60
|
|
|
60
|
-
[types.ts:
|
|
61
|
+
[types.ts:13](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/types.ts#L13)
|
|
61
62
|
|
|
62
63
|
___
|
|
63
64
|
|
|
@@ -67,7 +68,7 @@ ___
|
|
|
67
68
|
|
|
68
69
|
#### Defined in
|
|
69
70
|
|
|
70
|
-
[types.ts:
|
|
71
|
+
[types.ts:51](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/types.ts#L51)
|
|
71
72
|
|
|
72
73
|
___
|
|
73
74
|
|
|
@@ -94,7 +95,7 @@ Maker ilk info type
|
|
|
94
95
|
|
|
95
96
|
#### Defined in
|
|
96
97
|
|
|
97
|
-
[types.ts:
|
|
98
|
+
[types.ts:31](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/types.ts#L31)
|
|
98
99
|
|
|
99
100
|
## Variables
|
|
100
101
|
|
|
@@ -104,7 +105,7 @@ Maker ilk info type
|
|
|
104
105
|
|
|
105
106
|
#### Defined in
|
|
106
107
|
|
|
107
|
-
[index.ts:27](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
108
|
+
[index.ts:27](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L27)
|
|
108
109
|
|
|
109
110
|
___
|
|
110
111
|
|
|
@@ -114,7 +115,7 @@ ___
|
|
|
114
115
|
|
|
115
116
|
#### Defined in
|
|
116
117
|
|
|
117
|
-
[aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
118
|
+
[aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/aaveV2Markets.ts#L3)
|
|
118
119
|
|
|
119
120
|
___
|
|
120
121
|
|
|
@@ -124,7 +125,7 @@ ___
|
|
|
124
125
|
|
|
125
126
|
#### Defined in
|
|
126
127
|
|
|
127
|
-
[assets.ts:
|
|
128
|
+
[assets.ts:230](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/assets.ts#L230)
|
|
128
129
|
|
|
129
130
|
___
|
|
130
131
|
|
|
@@ -134,7 +135,7 @@ ___
|
|
|
134
135
|
|
|
135
136
|
#### Defined in
|
|
136
137
|
|
|
137
|
-
[ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
138
|
+
[ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/ilks.ts#L5)
|
|
138
139
|
|
|
139
140
|
___
|
|
140
141
|
|
|
@@ -144,7 +145,7 @@ ___
|
|
|
144
145
|
|
|
145
146
|
#### Defined in
|
|
146
147
|
|
|
147
|
-
[reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
148
|
+
[reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/reflexerCollTypes.ts#L3)
|
|
148
149
|
|
|
149
150
|
___
|
|
150
151
|
|
|
@@ -162,7 +163,7 @@ ___
|
|
|
162
163
|
|
|
163
164
|
#### Defined in
|
|
164
165
|
|
|
165
|
-
[index.ts:25](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
166
|
+
[index.ts:25](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L25)
|
|
166
167
|
|
|
167
168
|
## Functions
|
|
168
169
|
|
|
@@ -183,7 +184,7 @@ ___
|
|
|
183
184
|
|
|
184
185
|
#### Defined in
|
|
185
186
|
|
|
186
|
-
[index.ts:
|
|
187
|
+
[index.ts:142](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L142)
|
|
187
188
|
|
|
188
189
|
___
|
|
189
190
|
|
|
@@ -204,7 +205,7 @@ ___
|
|
|
204
205
|
|
|
205
206
|
#### Defined in
|
|
206
207
|
|
|
207
|
-
[index.ts:
|
|
208
|
+
[index.ts:163](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L163)
|
|
208
209
|
|
|
209
210
|
___
|
|
210
211
|
|
|
@@ -224,7 +225,7 @@ ___
|
|
|
224
225
|
|
|
225
226
|
#### Defined in
|
|
226
227
|
|
|
227
|
-
[index.ts:
|
|
228
|
+
[index.ts:135](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L135)
|
|
228
229
|
|
|
229
230
|
___
|
|
230
231
|
|
|
@@ -247,7 +248,7 @@ Warning: will not throw if asset not found. Instead, will return a placeholder o
|
|
|
247
248
|
|
|
248
249
|
#### Defined in
|
|
249
250
|
|
|
250
|
-
[index.ts:49](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
251
|
+
[index.ts:49](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L49)
|
|
251
252
|
|
|
252
253
|
___
|
|
253
254
|
|
|
@@ -267,7 +268,7 @@ ___
|
|
|
267
268
|
|
|
268
269
|
#### Defined in
|
|
269
270
|
|
|
270
|
-
[index.ts:
|
|
271
|
+
[index.ts:85](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L85)
|
|
271
272
|
|
|
272
273
|
___
|
|
273
274
|
|
|
@@ -290,7 +291,7 @@ Warning: will not throw if ilk not found. Instead, will return a placeholder obj
|
|
|
290
291
|
|
|
291
292
|
#### Defined in
|
|
292
293
|
|
|
293
|
-
[index.ts:
|
|
294
|
+
[index.ts:64](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L64)
|
|
294
295
|
|
|
295
296
|
___
|
|
296
297
|
|
|
@@ -310,7 +311,7 @@ ___
|
|
|
310
311
|
|
|
311
312
|
#### Defined in
|
|
312
313
|
|
|
313
|
-
[index.ts:
|
|
314
|
+
[index.ts:87](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L87)
|
|
314
315
|
|
|
315
316
|
___
|
|
316
317
|
|
|
@@ -331,7 +332,7 @@ ___
|
|
|
331
332
|
|
|
332
333
|
#### Defined in
|
|
333
334
|
|
|
334
|
-
[index.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/
|
|
335
|
+
[index.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L21)
|
|
335
336
|
|
|
336
337
|
___
|
|
337
338
|
|
|
@@ -354,7 +355,7 @@ Token symbol
|
|
|
354
355
|
|
|
355
356
|
#### Defined in
|
|
356
357
|
|
|
357
|
-
[index.ts:
|
|
358
|
+
[index.ts:115](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L115)
|
|
358
359
|
|
|
359
360
|
___
|
|
360
361
|
|
|
@@ -376,7 +377,7 @@ Token symbol
|
|
|
376
377
|
|
|
377
378
|
#### Defined in
|
|
378
379
|
|
|
379
|
-
[index.ts:
|
|
380
|
+
[index.ts:127](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L127)
|
|
380
381
|
|
|
381
382
|
___
|
|
382
383
|
|
|
@@ -398,4 +399,4 @@ Token symbol
|
|
|
398
399
|
|
|
399
400
|
#### Defined in
|
|
400
401
|
|
|
401
|
-
[index.ts:
|
|
402
|
+
[index.ts:133](https://github.com/DecenterApps/defisaver-tokens/blob/5d144eb/src/index.ts#L133)
|