@defisaver/tokens 1.4.2 → 1.4.5

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 CHANGED
@@ -51,7 +51,7 @@
51
51
 
52
52
  #### Defined in
53
53
 
54
- [types.ts:61](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/types.ts#L61)
54
+ [types.ts:62](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/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/DecenterApps/defisaver-tokens/blob/1e694c5/src/types.ts#L6)
68
+ [types.ts:6](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/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/DecenterApps/defisaver-tokens/blob/1e694c5/src/types.ts#L30)
97
+ [types.ts:30](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/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/DecenterApps/defisaver-tokens/blob/1e694c5/src/types.ts#L13)
125
+ [types.ts:13](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/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:68](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/types.ts#L68)
135
+ [types.ts:69](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/types.ts#L69)
136
136
 
137
137
  ___
138
138
 
@@ -153,13 +153,14 @@ Maker ilk info type
153
153
  | `flip?` | `string` |
154
154
  | `ilkBytes` | `string` |
155
155
  | `ilkLabel` | `string` |
156
+ | `isCrop` | `boolean` |
156
157
  | `isLP` | `boolean` |
157
158
  | `join` | `string` |
158
159
  | `pip` | `string` |
159
160
 
160
161
  #### Defined in
161
162
 
162
- [types.ts:48](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/types.ts#L48)
163
+ [types.ts:48](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/types.ts#L48)
163
164
 
164
165
  ## Variables
165
166
 
@@ -169,7 +170,7 @@ Maker ilk info type
169
170
 
170
171
  #### Defined in
171
172
 
172
- [index.ts:27](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L27)
173
+ [index.ts:27](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L27)
173
174
 
174
175
  ___
175
176
 
@@ -179,7 +180,7 @@ ___
179
180
 
180
181
  #### Defined in
181
182
 
182
- [aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/aaveV2Markets.ts#L3)
183
+ [aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/aaveV2Markets.ts#L3)
183
184
 
184
185
  ___
185
186
 
@@ -189,7 +190,7 @@ ___
189
190
 
190
191
  #### Defined in
191
192
 
192
- [assets.ts:229](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/assets.ts#L229)
193
+ [assets.ts:229](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/assets.ts#L229)
193
194
 
194
195
  ___
195
196
 
@@ -199,7 +200,7 @@ ___
199
200
 
200
201
  #### Defined in
201
202
 
202
- [ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/ilks.ts#L5)
203
+ [ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/ilks.ts#L5)
203
204
 
204
205
  ___
205
206
 
@@ -209,7 +210,7 @@ ___
209
210
 
210
211
  #### Defined in
211
212
 
212
- [reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/reflexerCollTypes.ts#L3)
213
+ [reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/reflexerCollTypes.ts#L3)
213
214
 
214
215
  ___
215
216
 
@@ -227,7 +228,7 @@ ___
227
228
 
228
229
  #### Defined in
229
230
 
230
- [index.ts:25](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L25)
231
+ [index.ts:25](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L25)
231
232
 
232
233
  ## Functions
233
234
 
@@ -248,7 +249,7 @@ ___
248
249
 
249
250
  #### Defined in
250
251
 
251
- [index.ts:144](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L144)
252
+ [index.ts:145](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L145)
252
253
 
253
254
  ___
254
255
 
@@ -269,7 +270,7 @@ ___
269
270
 
270
271
  #### Defined in
271
272
 
272
- [index.ts:165](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L165)
273
+ [index.ts:166](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L166)
273
274
 
274
275
  ___
275
276
 
@@ -289,7 +290,7 @@ ___
289
290
 
290
291
  #### Defined in
291
292
 
292
- [index.ts:137](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L137)
293
+ [index.ts:138](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L138)
293
294
 
294
295
  ___
295
296
 
@@ -312,7 +313,7 @@ Warning: will not throw if asset not found. Instead, will return a placeholder o
312
313
 
313
314
  #### Defined in
314
315
 
315
- [index.ts:58](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L58)
316
+ [index.ts:58](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L58)
316
317
 
317
318
  ___
318
319
 
@@ -332,7 +333,7 @@ ___
332
333
 
333
334
  #### Defined in
334
335
 
335
- [index.ts:92](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L92)
336
+ [index.ts:93](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L93)
336
337
 
337
338
  ___
338
339
 
@@ -355,7 +356,7 @@ Warning: will not throw if ilk not found. Instead, will return a placeholder obj
355
356
 
356
357
  #### Defined in
357
358
 
358
- [index.ts:71](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L71)
359
+ [index.ts:71](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L71)
359
360
 
360
361
  ___
361
362
 
@@ -375,7 +376,7 @@ ___
375
376
 
376
377
  #### Defined in
377
378
 
378
- [index.ts:97](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L97)
379
+ [index.ts:98](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L98)
379
380
 
380
381
  ___
381
382
 
@@ -396,7 +397,7 @@ ___
396
397
 
397
398
  #### Defined in
398
399
 
399
- [index.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L21)
400
+ [index.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L21)
400
401
 
401
402
  ___
402
403
 
@@ -419,7 +420,7 @@ Token symbol
419
420
 
420
421
  #### Defined in
421
422
 
422
- [index.ts:117](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L117)
423
+ [index.ts:118](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L118)
423
424
 
424
425
  ___
425
426
 
@@ -441,7 +442,7 @@ Token symbol
441
442
 
442
443
  #### Defined in
443
444
 
444
- [index.ts:129](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L129)
445
+ [index.ts:130](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L130)
445
446
 
446
447
  ___
447
448
 
@@ -463,4 +464,4 @@ Token symbol
463
464
 
464
465
  #### Defined in
465
466
 
466
- [index.ts:135](https://github.com/DecenterApps/defisaver-tokens/blob/1e694c5/src/index.ts#L135)
467
+ [index.ts:136](https://github.com/DecenterApps/defisaver-tokens/blob/3562141/src/index.ts#L136)
package/esm/ilks.js CHANGED
@@ -8,7 +8,8 @@ export const ilks = [
8
8
  "join": "0x2F0b23f53734252Bda2277357e97e1517d6B042A",
9
9
  "clip": "0xc67963a226eddd77B91aD8c421630A1b0AdFF270",
10
10
  "pip": "0x81FE72B5A8d1A857d176C3E7d5Bd2679A9B85763",
11
- "isLP": false
11
+ "isLP": false,
12
+ "isCrop": false
12
13
  },
13
14
  {
14
15
  "asset": "ETH",
@@ -18,7 +19,8 @@ export const ilks = [
18
19
  "join": "0x08638eF1A205bE6762A8b935F5da9b700Cf7322c",
19
20
  "clip": "0x71eb894330e8a4b96b8d6056962e7F116F50e06F",
20
21
  "pip": "0x81FE72B5A8d1A857d176C3E7d5Bd2679A9B85763",
21
- "isLP": false
22
+ "isLP": false,
23
+ "isCrop": false
22
24
  },
23
25
  {
24
26
  "asset": "ETH",
@@ -28,7 +30,8 @@ export const ilks = [
28
30
  "join": "0xF04a5cC80B1E94C69B48f5ee68a08CD2F09A7c3E",
29
31
  "clip": "0xc2b12567523e3f3CBd9931492b91fe65b240bc47",
30
32
  "pip": "0x81FE72B5A8d1A857d176C3E7d5Bd2679A9B85763",
31
- "isLP": false
33
+ "isLP": false,
34
+ "isCrop": false
32
35
  },
33
36
  {
34
37
  "asset": "BAT",
@@ -38,7 +41,8 @@ export const ilks = [
38
41
  "join": "0x3D0B1912B66114d4096F48A8CEe3A56C231772cA",
39
42
  "clip": "0x3D22e6f643e2F4c563fD9db22b229Cbb0Cd570fb",
40
43
  "pip": "0xB4eb54AF9Cc7882DF0121d26c5b97E802915ABe6",
41
- "isLP": false
44
+ "isLP": false,
45
+ "isCrop": false
42
46
  },
43
47
  {
44
48
  "asset": "USDC",
@@ -48,7 +52,8 @@ export const ilks = [
48
52
  "join": "0xA191e578a6736167326d05c119CE0c90849E84B7",
49
53
  "clip": "0x046b1A5718da6A226D912cFd306BA19980772908",
50
54
  "pip": "0x77b68899b99b686F415d074278a9a16b336085A0",
51
- "isLP": false
55
+ "isLP": false,
56
+ "isCrop": false
52
57
  },
53
58
  {
54
59
  "asset": "USDC",
@@ -58,7 +63,8 @@ export const ilks = [
58
63
  "join": "0x2600004fd1585f7270756DDc88aD9cfA10dD0428",
59
64
  "clip": "0x5590F23358Fe17361d7E4E4f91219145D8cCfCb3",
60
65
  "pip": "0x77b68899b99b686F415d074278a9a16b336085A0",
61
- "isLP": false
66
+ "isLP": false,
67
+ "isCrop": false
62
68
  },
63
69
  {
64
70
  "asset": "WBTC",
@@ -68,7 +74,8 @@ export const ilks = [
68
74
  "join": "0xBF72Da2Bd84c5170618Fbe5914B0ECA9638d5eb5",
69
75
  "clip": "0x0227b54AdbFAEec5f1eD1dFa11f54dcff9076e2C",
70
76
  "pip": "0xf185d0682d50819263941e5f4EacC763CC5C6C42",
71
- "isLP": false
77
+ "isLP": false,
78
+ "isCrop": false
72
79
  },
73
80
  {
74
81
  "asset": "TUSD",
@@ -78,7 +85,8 @@ export const ilks = [
78
85
  "join": "0x4454aF7C8bb9463203b66C816220D41ED7837f44",
79
86
  "clip": "0x0F6f88f8A4b918584E3539182793a0C276097f44",
80
87
  "pip": "0xeE13831ca96d191B688A670D47173694ba98f1e5",
81
- "isLP": false
88
+ "isLP": false,
89
+ "isCrop": false
82
90
  },
83
91
  {
84
92
  "asset": "ZRX",
@@ -88,7 +96,8 @@ export const ilks = [
88
96
  "join": "0xc7e8Cd72BDEe38865b4F5615956eF47ce1a7e5D0",
89
97
  "clip": "0xdc90d461E148552387f3aB3EBEE0Bdc58Aa16375",
90
98
  "pip": "0x7382c066801E7Acb2299aC8562847B9883f5CD3c",
91
- "isLP": false
99
+ "isLP": false,
100
+ "isCrop": false
92
101
  },
93
102
  {
94
103
  "asset": "KNCL",
@@ -98,7 +107,8 @@ export const ilks = [
98
107
  "join": "0x475F1a89C1ED844A08E8f6C50A00228b5E59E4A9",
99
108
  "clip": "0x006Aa3eB5E666D8E006aa647D4afAB212555Ddea",
100
109
  "pip": "0xf36B79BD4C0904A5F350F1e4f776B81208c13069",
101
- "isLP": false
110
+ "isLP": false,
111
+ "isCrop": false
102
112
  },
103
113
  {
104
114
  "asset": "MANA",
@@ -108,7 +118,8 @@ export const ilks = [
108
118
  "join": "0xA6EA3b9C04b8a38Ff5e224E7c3D6937ca44C0ef9",
109
119
  "clip": "0xF5C8176E1eB0915359E46DEd16E52C071Bb435c0",
110
120
  "pip": "0x8067259EA630601f319FccE477977E55C6078C13",
111
- "isLP": false
121
+ "isLP": false,
122
+ "isCrop": false
112
123
  },
113
124
  {
114
125
  "asset": "USDT",
@@ -118,7 +129,8 @@ export const ilks = [
118
129
  "join": "0x0Ac6A1D74E84C2dF9063bDDc31699FF2a2BB22A2",
119
130
  "clip": "0xFC9D6Dd08BEE324A5A8B557d2854B9c36c2AeC5d",
120
131
  "pip": "0x7a5918670B0C390aD25f7beE908c1ACc2d314A3C",
121
- "isLP": false
132
+ "isLP": false,
133
+ "isCrop": false
122
134
  },
123
135
  {
124
136
  "asset": "USDP",
@@ -128,7 +140,8 @@ export const ilks = [
128
140
  "join": "0x7e62B7E279DFC78DEB656E34D6a435cC08a44666",
129
141
  "clip": "0xBCb396Cd139D1116BD89562B49b9D1d6c25378B0",
130
142
  "pip": "0x043B963E1B2214eC90046167Ea29C2c8bDD7c0eC",
131
- "isLP": false
143
+ "isLP": false,
144
+ "isCrop": false
132
145
  },
133
146
  {
134
147
  "asset": "COMP",
@@ -138,7 +151,8 @@ export const ilks = [
138
151
  "join": "0xBEa7cDfB4b49EC154Ae1c0D731E4DC773A3265aA",
139
152
  "clip": "0x2Bb690931407DCA7ecE84753EA931ffd304f0F38",
140
153
  "pip": "0xBED0879953E633135a48a157718Aa791AC0108E4",
141
- "isLP": false
154
+ "isLP": false,
155
+ "isCrop": false
142
156
  },
143
157
  {
144
158
  "asset": "LRC",
@@ -148,7 +162,8 @@ export const ilks = [
148
162
  "join": "0x6C186404A7A238D3d6027C0299D1822c1cf5d8f1",
149
163
  "clip": "0x81C5CDf4817DBf75C7F08B8A1cdaB05c9B3f70F7",
150
164
  "pip": "0x9eb923339c24c40Bef2f4AF4961742AA7C23EF3a",
151
- "isLP": false
165
+ "isLP": false,
166
+ "isCrop": false
152
167
  },
153
168
  {
154
169
  "asset": "LINK",
@@ -158,7 +173,8 @@ export const ilks = [
158
173
  "join": "0xdFccAf8fDbD2F4805C174f856a317765B49E4a50",
159
174
  "clip": "0x832Dd5f17B30078a5E46Fdb8130A68cBc4a74dC0",
160
175
  "pip": "0x9B0C694C6939b5EA9584e9b61C7815E8d97D9cC7",
161
- "isLP": false
176
+ "isLP": false,
177
+ "isCrop": false
162
178
  },
163
179
  {
164
180
  "asset": "BAL",
@@ -168,7 +184,8 @@ export const ilks = [
168
184
  "join": "0x4a03Aa7fb3973d8f0221B466EefB53D0aC195f55",
169
185
  "clip": "0x6AAc067bb903E633A422dE7BE9355E62B3CE0378",
170
186
  "pip": "0x3ff860c0F28D69F392543A16A397D0dAe85D16dE",
171
- "isLP": false
187
+ "isLP": false,
188
+ "isCrop": false
172
189
  },
173
190
  {
174
191
  "asset": "YFI",
@@ -178,7 +195,8 @@ export const ilks = [
178
195
  "join": "0x3ff33d9162aD47660083D7DC4bC02Fb231c81677",
179
196
  "clip": "0x9daCc11dcD0aa13386D295eAeeBBd38130897E6f",
180
197
  "pip": "0x5F122465bCf86F45922036970Be6DD7F58820214",
181
- "isLP": false
198
+ "isLP": false,
199
+ "isCrop": false
182
200
  },
183
201
  {
184
202
  "asset": "GUSD",
@@ -188,7 +206,8 @@ export const ilks = [
188
206
  "join": "0xe29A14bcDeA40d83675aa43B72dF07f649738C8b",
189
207
  "clip": "0xa47D68b9dB0A0361284fA04BA40623fcBd1a263E",
190
208
  "pip": "0xf45Ae69CcA1b9B043dAE2C83A5B65Bc605BEc5F5",
191
- "isLP": false
209
+ "isLP": false,
210
+ "isCrop": false
192
211
  },
193
212
  {
194
213
  "asset": "UNI",
@@ -198,7 +217,8 @@ export const ilks = [
198
217
  "join": "0x3BC3A58b4FC1CbE7e98bB4aB7c99535e8bA9b8F1",
199
218
  "clip": "0x3713F83Ee6D138Ce191294C131148176015bC29a",
200
219
  "pip": "0xf363c7e351C96b910b92b45d34190650df4aE8e7",
201
- "isLP": false
220
+ "isLP": false,
221
+ "isCrop": false
202
222
  },
203
223
  {
204
224
  "asset": "RENBTC",
@@ -208,7 +228,8 @@ export const ilks = [
208
228
  "join": "0xFD5608515A47C37afbA68960c1916b79af9491D0",
209
229
  "clip": "0x834719BEa8da68c46484E001143bDDe29370a6A3",
210
230
  "pip": "0xf185d0682d50819263941e5f4EacC763CC5C6C42",
211
- "isLP": false
231
+ "isLP": false,
232
+ "isCrop": false
212
233
  },
213
234
  {
214
235
  "asset": "AAVE",
@@ -218,7 +239,8 @@ export const ilks = [
218
239
  "join": "0x24e459F61cEAa7b1cE70Dbaea938940A7c5aD46e",
219
240
  "clip": "0x8723b74F598DE2ea49747de5896f9034CC09349e",
220
241
  "pip": "0x8Df8f06DC2dE0434db40dcBb32a82A104218754c",
221
- "isLP": false
242
+ "isLP": false,
243
+ "isCrop": false
222
244
  },
223
245
  {
224
246
  "asset": "UNIV2DAIETH",
@@ -228,7 +250,8 @@ export const ilks = [
228
250
  "join": "0x2502F65D77cA13f183850b5f9272270454094A08",
229
251
  "clip": "0x9F6981bA5c77211A34B76c6385c0f6FA10414035",
230
252
  "pip": "0xFc8137E1a45BAF0030563EC4F0F851bd36a85b7D",
231
- "isLP": true
253
+ "isLP": true,
254
+ "isCrop": false
232
255
  },
233
256
  {
234
257
  "asset": "UNIV2WBTCETH",
@@ -238,7 +261,8 @@ export const ilks = [
238
261
  "join": "0xDc26C9b7a8fe4F5dF648E314eC3E6Dc3694e6Dd2",
239
262
  "clip": "0xb15afaB996904170f87a64Fe42db0b64a6F75d24",
240
263
  "pip": "0x8400D2EDb8B97f780356Ef602b1BdBc082c2aD07",
241
- "isLP": true
264
+ "isLP": true,
265
+ "isCrop": false
242
266
  },
243
267
  {
244
268
  "asset": "UNIV2USDCETH",
@@ -248,7 +272,8 @@ export const ilks = [
248
272
  "join": "0x03Ae53B33FeeAc1222C3f372f32D37Ba95f0F099",
249
273
  "clip": "0x93AE03815BAF1F19d7F18D9116E4b637cc32A131",
250
274
  "pip": "0xf751f24DD9cfAd885984D1bA68860F558D21E52A",
251
- "isLP": true
275
+ "isLP": true,
276
+ "isCrop": false
252
277
  },
253
278
  {
254
279
  "asset": "UNIV2DAIUSDC",
@@ -258,7 +283,8 @@ export const ilks = [
258
283
  "join": "0xA81598667AC561986b70ae11bBE2dd5348ed4327",
259
284
  "clip": "0x9B3310708af333f6F379FA42a5d09CBAA10ab309",
260
285
  "pip": "0x25D03C2C928ADE19ff9f4FFECc07d991d0df054B",
261
- "isLP": true
286
+ "isLP": true,
287
+ "isCrop": false
262
288
  },
263
289
  {
264
290
  "asset": "UNIV2ETHUSDT",
@@ -268,7 +294,8 @@ export const ilks = [
268
294
  "join": "0x4aAD139a88D2dd5e7410b408593208523a3a891d",
269
295
  "clip": "0x2aC4C9b49051275AcB4C43Ec973082388D015D48",
270
296
  "pip": "0x5f6dD5B421B8d92c59dC6D907C9271b1DBFE3016",
271
- "isLP": true
297
+ "isLP": true,
298
+ "isCrop": false
272
299
  },
273
300
  {
274
301
  "asset": "UNIV2LINKETH",
@@ -278,7 +305,8 @@ export const ilks = [
278
305
  "join": "0xDae88bDe1FB38cF39B6A02b595930A3449e593A6",
279
306
  "clip": "0x6aa0520354d1b84e1C6ABFE64a708939529b619e",
280
307
  "pip": "0xd7d31e62AE5bfC3bfaa24Eda33e8c32D31a1746F",
281
- "isLP": true
308
+ "isLP": true,
309
+ "isCrop": false
282
310
  },
283
311
  {
284
312
  "asset": "UNIV2UNIETH",
@@ -288,7 +316,8 @@ export const ilks = [
288
316
  "join": "0xf11a98339FE1CdE648e8D1463310CE3ccC3d7cC1",
289
317
  "clip": "0xb0ece6F5542A4577E2f1Be491A937Ccbbec8479e",
290
318
  "pip": "0x8462A88f50122782Cc96108F476deDB12248f931",
291
- "isLP": true
319
+ "isLP": true,
320
+ "isCrop": false
292
321
  },
293
322
  {
294
323
  "asset": "UNIV2WBTCDAI",
@@ -298,7 +327,8 @@ export const ilks = [
298
327
  "join": "0xD40798267795Cbf3aeEA8E9F8DCbdBA9b5281fcC",
299
328
  "clip": "0x4fC53a57262B87ABDa61d6d0DB2bE7E9BE68F6b8",
300
329
  "pip": "0x5bB72127a196392cf4aC00Cf57aB278394d24e55",
301
- "isLP": true
330
+ "isLP": true,
331
+ "isCrop": false
302
332
  },
303
333
  {
304
334
  "asset": "UNIV2AAVEETH",
@@ -308,7 +338,8 @@ export const ilks = [
308
338
  "join": "0x42AFd448Df7d96291551f1eFE1A590101afB1DfF",
309
339
  "clip": "0x854b252BA15eaFA4d1609D3B98e00cc10084Ec55",
310
340
  "pip": "0x32d8416e8538Ac36272c44b0cd962cD7E0198489",
311
- "isLP": true
341
+ "isLP": true,
342
+ "isCrop": false
312
343
  },
313
344
  {
314
345
  "asset": "UNIV2DAIUSDT",
@@ -318,7 +349,8 @@ export const ilks = [
318
349
  "join": "0xAf034D882169328CAf43b823a4083dABC7EEE0F4",
319
350
  "clip": "0xe4B82Be84391b9e7c56a1fC821f47569B364dd4a",
320
351
  "pip": "0x9A1CD705dc7ac64B50777BcEcA3529E58B1292F1",
321
- "isLP": true
352
+ "isLP": true,
353
+ "isCrop": false
322
354
  },
323
355
  {
324
356
  "asset": "MATIC",
@@ -328,7 +360,8 @@ export const ilks = [
328
360
  "join": "0x885f16e177d45fC9e7C87e1DA9fd47A9cfcE8E13",
329
361
  "clip": "0x29342F530ed6120BDB219D602DaFD584676293d1",
330
362
  "pip": "0x8874964279302e6d4e523Fb1789981C39a1034Ba",
331
- "isLP": false
363
+ "isLP": false,
364
+ "isCrop": false
332
365
  },
333
366
  {
334
367
  "asset": "GUNIV3DAIUSDC1",
@@ -338,7 +371,8 @@ export const ilks = [
338
371
  "join": "0xbFD445A97e7459b0eBb34cfbd3245750Dba4d7a4",
339
372
  "clip": "0x5048c5Cd3102026472f8914557A1FD35c8Dc6c9e",
340
373
  "pip": "0x7F6d78CC0040c87943a0e0c140De3F77a273bd58",
341
- "isLP": true
374
+ "isLP": true,
375
+ "isCrop": false
342
376
  },
343
377
  {
344
378
  "asset": "wstETH",
@@ -348,7 +382,8 @@ export const ilks = [
348
382
  "join": "0x10CD5fbe1b404B7E19Ef964B63939907bdaf42E2",
349
383
  "clip": "0x49A33A28C4C7D9576ab28898F4C9ac7e52EA457A",
350
384
  "pip": "0xFe7a2aC0B945f12089aEEB6eCebf4F384D9f043F",
351
- "isLP": false
385
+ "isLP": false,
386
+ "isCrop": false
352
387
  },
353
388
  {
354
389
  "asset": "WBTC",
@@ -358,7 +393,8 @@ export const ilks = [
358
393
  "join": "0xfA8c996e158B80D77FbD0082BB437556A65B96E0",
359
394
  "clip": "0xe30663C6f83A06eDeE6273d72274AE24f1084a22",
360
395
  "pip": "0xf185d0682d50819263941e5f4EacC763CC5C6C42",
361
- "isLP": false
396
+ "isLP": false,
397
+ "isCrop": false
362
398
  },
363
399
  {
364
400
  "asset": "WBTC",
@@ -368,7 +404,8 @@ export const ilks = [
368
404
  "join": "0x7f62f9592b823331E012D3c5DdF2A7714CfB9de2",
369
405
  "clip": "0x39F29773Dcb94A32529d0612C6706C49622161D1",
370
406
  "pip": "0xf185d0682d50819263941e5f4EacC763CC5C6C42",
371
- "isLP": false
407
+ "isLP": false,
408
+ "isCrop": false
372
409
  },
373
410
  {
374
411
  "asset": "GUNIV3DAIUSDC2",
@@ -378,6 +415,18 @@ export const ilks = [
378
415
  "join": "0xA7e4dDde3cBcEf122851A7C8F7A55f23c0Daf335",
379
416
  "clip": "0xB55da3d3100C4eBF9De755b6DdC24BF209f6cc06",
380
417
  "pip": "0xcCBa43231aC6eceBd1278B90c3a44711a00F4e93",
381
- "isLP": true
418
+ "isLP": true,
419
+ "isCrop": false
420
+ },
421
+ {
422
+ "asset": "crvSTETH",
423
+ "assetAddress": "0x06325440D014e39736583c165C2963BA99fAf14E",
424
+ "ilkLabel": "CRVV1ETHSTETH-A",
425
+ "ilkBytes": "0x435256563145544853544554482d410000000000000000000000000000000000",
426
+ "join": "0x82D8bfDB61404C796385f251654F6d7e92092b5D",
427
+ "clip": "0x1926862F899410BfC19FeFb8A3C69C7Aed22463a",
428
+ "pip": "0x0A7DA4e31582a2fB4FD4067943e88f127F70ab39",
429
+ "isLP": true,
430
+ "isCrop": true
382
431
  }
383
432
  ];
package/esm/index.js CHANGED
@@ -66,6 +66,7 @@ export const getIlkInfo = (ilk = '') => {
66
66
  pip: '',
67
67
  join: '',
68
68
  isLP: false,
69
+ isCrop: false,
69
70
  };
70
71
  }
71
72
  const assetData = getAssetInfo(ilkData.asset);
@@ -135,7 +136,7 @@ export const assetAmountInEth = (amount, asset = 'ETH') => {
135
136
  decimals = 18;
136
137
  else
137
138
  decimals = getAssetInfo(asset).decimals;
138
- return new Dec(amount && amount.toString() || 0).div(Math.pow(10, decimals)).toString();
139
+ return new Dec(amount && amount.toString() || 0).div(Math.pow(10, decimals)).toDP(decimals).toString();
139
140
  };
140
141
  /**
141
142
  * @param amount {Number|String|Object} Amount in eth
@@ -5,6 +5,7 @@ export const reflexerCollTypes = [
5
5
  "ilkBytes": "0x4554482d41000000000000000000000000000000000000000000000000000000",
6
6
  "join": '0x2D3cD7b81c93f188F3CB8aD87c8Acc73d6226e3A',
7
7
  "pip": '0xE6F5377DE93A361cd5531bdFbDf0f4b522E16B2B',
8
- "isLP": false
8
+ "isLP": false,
9
+ "isCrop": false
9
10
  },
10
11
  ];
package/esm/types.d.ts CHANGED
@@ -51,6 +51,7 @@ declare type IlkData = {
51
51
  clipCalc?: (string);
52
52
  ilkBytes: (string);
53
53
  isLP: (boolean);
54
+ isCrop: (boolean);
54
55
  assetAddress?: (string);
55
56
  };
56
57
  declare type AaveMarketData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/tokens",
3
- "version": "1.4.2",
3
+ "version": "1.4.5",
4
4
  "description": "Centralized asset data & utility functions",
5
5
  "main": "umd/index.js",
6
6
  "module": "esm/index.js",