@defisaver/tokens 1.4.53 → 1.4.55

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:70](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/types.ts#L70)
54
+ [types.ts:70](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/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/791f9a6/src/types.ts#L6)
68
+ [types.ts:6](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/types.ts#L6)
69
69
 
70
70
  ___
71
71
 
@@ -96,7 +96,7 @@ Chain-specific asset info type
96
96
 
97
97
  #### Defined in
98
98
 
99
- [types.ts:36](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/types.ts#L36)
99
+ [types.ts:36](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/types.ts#L36)
100
100
 
101
101
  ___
102
102
 
@@ -126,7 +126,7 @@ Chain-agnostic asset info type
126
126
 
127
127
  #### Defined in
128
128
 
129
- [types.ts:17](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/types.ts#L17)
129
+ [types.ts:17](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/types.ts#L17)
130
130
 
131
131
  ___
132
132
 
@@ -136,7 +136,7 @@ ___
136
136
 
137
137
  #### Defined in
138
138
 
139
- [types.ts:77](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/types.ts#L77)
139
+ [types.ts:77](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/types.ts#L77)
140
140
 
141
141
  ___
142
142
 
@@ -164,7 +164,7 @@ Maker ilk info type
164
164
 
165
165
  #### Defined in
166
166
 
167
- [types.ts:56](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/types.ts#L56)
167
+ [types.ts:56](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/types.ts#L56)
168
168
 
169
169
  ## Variables
170
170
 
@@ -174,7 +174,7 @@ Maker ilk info type
174
174
 
175
175
  #### Defined in
176
176
 
177
- [index.ts:27](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L27)
177
+ [index.ts:27](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L27)
178
178
 
179
179
  ___
180
180
 
@@ -184,7 +184,7 @@ ___
184
184
 
185
185
  #### Defined in
186
186
 
187
- [aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/aaveV2Markets.ts#L3)
187
+ [aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/aaveV2Markets.ts#L3)
188
188
 
189
189
  ___
190
190
 
@@ -194,7 +194,7 @@ ___
194
194
 
195
195
  #### Defined in
196
196
 
197
- [assets.ts:242](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/assets.ts#L242)
197
+ [assets.ts:242](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/assets.ts#L242)
198
198
 
199
199
  ___
200
200
 
@@ -204,7 +204,7 @@ ___
204
204
 
205
205
  #### Defined in
206
206
 
207
- [ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/ilks.ts#L5)
207
+ [ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/ilks.ts#L5)
208
208
 
209
209
  ___
210
210
 
@@ -214,7 +214,7 @@ ___
214
214
 
215
215
  #### Defined in
216
216
 
217
- [reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/reflexerCollTypes.ts#L3)
217
+ [reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/reflexerCollTypes.ts#L3)
218
218
 
219
219
  ___
220
220
 
@@ -232,7 +232,7 @@ ___
232
232
 
233
233
  #### Defined in
234
234
 
235
- [index.ts:25](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L25)
235
+ [index.ts:25](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L25)
236
236
 
237
237
  ## Functions
238
238
 
@@ -253,7 +253,7 @@ ___
253
253
 
254
254
  #### Defined in
255
255
 
256
- [index.ts:149](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L149)
256
+ [index.ts:149](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L149)
257
257
 
258
258
  ___
259
259
 
@@ -274,7 +274,7 @@ ___
274
274
 
275
275
  #### Defined in
276
276
 
277
- [index.ts:170](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L170)
277
+ [index.ts:170](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L170)
278
278
 
279
279
  ___
280
280
 
@@ -294,7 +294,7 @@ ___
294
294
 
295
295
  #### Defined in
296
296
 
297
- [index.ts:142](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L142)
297
+ [index.ts:142](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L142)
298
298
 
299
299
  ___
300
300
 
@@ -318,7 +318,7 @@ Warning: will not throw if asset not found. Instead, will return a placeholder o
318
318
 
319
319
  #### Defined in
320
320
 
321
- [index.ts:60](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L60)
321
+ [index.ts:60](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L60)
322
322
 
323
323
  ___
324
324
 
@@ -339,7 +339,7 @@ ___
339
339
 
340
340
  #### Defined in
341
341
 
342
- [index.ts:95](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L95)
342
+ [index.ts:95](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L95)
343
343
 
344
344
  ___
345
345
 
@@ -362,7 +362,7 @@ Warning: will not throw if ilk not found. Instead, will return a placeholder obj
362
362
 
363
363
  #### Defined in
364
364
 
365
- [index.ts:73](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L73)
365
+ [index.ts:73](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L73)
366
366
 
367
367
  ___
368
368
 
@@ -382,7 +382,7 @@ ___
382
382
 
383
383
  #### Defined in
384
384
 
385
- [index.ts:100](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L100)
385
+ [index.ts:100](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L100)
386
386
 
387
387
  ___
388
388
 
@@ -403,7 +403,7 @@ ___
403
403
 
404
404
  #### Defined in
405
405
 
406
- [index.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L21)
406
+ [index.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L21)
407
407
 
408
408
  ___
409
409
 
@@ -426,7 +426,7 @@ Token symbol
426
426
 
427
427
  #### Defined in
428
428
 
429
- [index.ts:122](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L122)
429
+ [index.ts:122](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L122)
430
430
 
431
431
  ___
432
432
 
@@ -448,7 +448,7 @@ Token symbol
448
448
 
449
449
  #### Defined in
450
450
 
451
- [index.ts:134](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L134)
451
+ [index.ts:134](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L134)
452
452
 
453
453
  ___
454
454
 
@@ -470,4 +470,4 @@ Token symbol
470
470
 
471
471
  #### Defined in
472
472
 
473
- [index.ts:140](https://github.com/DecenterApps/defisaver-tokens/blob/791f9a6/src/index.ts#L140)
473
+ [index.ts:140](https://github.com/DecenterApps/defisaver-tokens/blob/772884a/src/index.ts#L140)
package/esm/assets.js CHANGED
@@ -293,10 +293,11 @@ export const assets = [
293
293
  } }),
294
294
  Object.assign(Object.assign({}, assetProto), { symbol: 'USDC', feedAvailability: { 1: true, 10: true, 42161: true }, name: 'USD Coin', decimals: 6, exchange: true, compoundCollateral: false, yearnCollateral: true, addresses: {
295
295
  1: USDCAddress,
296
- 10: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
296
+ 10: '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85',
297
297
  42161: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
298
298
  }, isStable: true }),
299
299
  Object.assign(Object.assign({}, assetProto), { symbol: 'USDC.e', feedAvailability: { 42161: true }, name: 'USD Coin (Legacy Bridged)', decimals: 6, nativeChainId: 42161, exchange: true, addresses: {
300
+ 10: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
300
301
  42161: '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8',
301
302
  }, isStable: true }),
302
303
  Object.assign(Object.assign({}, assetProto), { symbol: 'cUSDC', underlyingAsset: 'USDC', name: 'USD Coin', decimals: 8, exchange: false, compoundCollateral: true, addresses: {
@@ -792,7 +793,7 @@ export const assets = [
792
793
  Object.assign(Object.assign({}, assetProto), { symbol: 'AMP', name: 'Amp Token', decimals: 18, exchange: true, addresses: {
793
794
  1: AmpAddress,
794
795
  } }),
795
- Object.assign(Object.assign({}, assetProto), { symbol: 'FRAX', feedAvailability: { 1: true }, name: 'Frax', decimals: 18, exchange: true, addresses: {
796
+ Object.assign(Object.assign({}, assetProto), { symbol: 'FRAX', feedAvailability: { 1: true, 42161: true }, name: 'Frax', decimals: 18, exchange: true, addresses: {
796
797
  1: FraxAddress,
797
798
  42161: '0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F',
798
799
  } }),
@@ -910,7 +911,7 @@ export const assets = [
910
911
  Object.assign(Object.assign({}, assetProto), { symbol: 'cFEI', underlyingAsset: 'FEI', name: 'Fei Protocol', addresses: {
911
912
  1: cFeiAddress,
912
913
  }, exchange: false, compoundCollateral: true, decimals: 8 }),
913
- Object.assign(Object.assign({}, assetProto), { symbol: 'rETH', feedAvailability: { 1: true, 42161: true }, name: 'Rocket Pool ETH', addresses: {
914
+ Object.assign(Object.assign({}, assetProto), { symbol: 'rETH', feedAvailability: { 1: true, 10: true, 42161: true }, name: 'Rocket Pool ETH', addresses: {
914
915
  1: '0xae78736cd615f374d3085123a210448e74fc6393',
915
916
  10: '0x9bcef72be871e61ed4fbbc7630889bee758eb81d',
916
917
  42161: '0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8',
@@ -962,13 +963,13 @@ export const assets = [
962
963
  Object.assign(Object.assign({}, assetProto), { symbol: 'sfrxETH', name: 'Staked Frax Ether', addresses: {
963
964
  1: sfrxETH,
964
965
  }, decimals: 18 }),
965
- Object.assign(Object.assign({}, assetProto), { symbol: 'crvUSD', name: 'Curve.Fi USD Stablecoin', addresses: {
966
+ Object.assign(Object.assign({}, assetProto), { symbol: 'crvUSD', feedAvailability: { 1: true }, name: 'Curve.Fi USD Stablecoin', addresses: {
966
967
  1: crvUSD,
967
968
  }, decimals: 18 }),
968
- Object.assign(Object.assign({}, assetProto), { symbol: 'sDAI', name: 'Savings DAI', addresses: {
969
+ Object.assign(Object.assign({}, assetProto), { symbol: 'sDAI', name: 'Savings DAI', nativeChainId: 1, addresses: {
969
970
  1: sDAIAddress,
970
971
  }, decimals: 18 }),
971
- Object.assign(Object.assign({}, assetProto), { symbol: 'GHO', name: 'GHO', addresses: {
972
+ Object.assign(Object.assign({}, assetProto), { symbol: 'GHO', feedAvailability: { 1: true }, name: 'GHO', addresses: {
972
973
  1: '0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f',
973
974
  }, decimals: 18, isStable: true }),
974
975
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/tokens",
3
- "version": "1.4.53",
3
+ "version": "1.4.55",
4
4
  "description": "Centralized asset data & utility functions",
5
5
  "main": "umd/index.js",
6
6
  "module": "esm/index.js",
package/src/assets.ts CHANGED
@@ -447,7 +447,7 @@ export const assets: AssetDataBase[] = [
447
447
  yearnCollateral: true,
448
448
  addresses: {
449
449
  1: USDCAddress,
450
- 10: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
450
+ 10: '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85',
451
451
  42161: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
452
452
  },
453
453
  isStable: true,
@@ -461,6 +461,7 @@ export const assets: AssetDataBase[] = [
461
461
  nativeChainId: 42161,
462
462
  exchange: true,
463
463
  addresses: {
464
+ 10: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
464
465
  42161: '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8',
465
466
  },
466
467
  isStable: true,
@@ -2148,7 +2149,7 @@ export const assets: AssetDataBase[] = [
2148
2149
  {
2149
2150
  ...assetProto,
2150
2151
  symbol: 'FRAX',
2151
- feedAvailability: { 1: true },
2152
+ feedAvailability: { 1: true, 42161: true },
2152
2153
  name: 'Frax',
2153
2154
  decimals: 18,
2154
2155
  exchange: true,
@@ -2539,7 +2540,7 @@ export const assets: AssetDataBase[] = [
2539
2540
  {
2540
2541
  ...assetProto,
2541
2542
  symbol: 'rETH',
2542
- feedAvailability: { 1: true, 42161: true },
2543
+ feedAvailability: { 1: true, 10: true, 42161: true },
2543
2544
  name: 'Rocket Pool ETH',
2544
2545
  addresses: {
2545
2546
  1: '0xae78736cd615f374d3085123a210448e74fc6393',
@@ -2712,6 +2713,7 @@ export const assets: AssetDataBase[] = [
2712
2713
  },
2713
2714
  {...assetProto,
2714
2715
  symbol: 'crvUSD',
2716
+ feedAvailability: { 1: true },
2715
2717
  name: 'Curve.Fi USD Stablecoin',
2716
2718
  addresses: {
2717
2719
  1: crvUSD,
@@ -2722,6 +2724,7 @@ export const assets: AssetDataBase[] = [
2722
2724
  ...assetProto,
2723
2725
  symbol: 'sDAI',
2724
2726
  name: 'Savings DAI',
2727
+ nativeChainId: 1,
2725
2728
  addresses: {
2726
2729
  1: sDAIAddress,
2727
2730
  },
@@ -2730,6 +2733,7 @@ export const assets: AssetDataBase[] = [
2730
2733
  {
2731
2734
  ...assetProto,
2732
2735
  symbol: 'GHO',
2736
+ feedAvailability: { 1: true },
2733
2737
  name: 'GHO',
2734
2738
  addresses: {
2735
2739
  1: '0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f',
package/umd/index.js CHANGED
@@ -698,7 +698,7 @@ var assets = [_objectSpread(_objectSpread({}, assetProto), {}, {
698
698
  yearnCollateral: true,
699
699
  addresses: {
700
700
  1: USDCAddress,
701
- 10: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
701
+ 10: '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85',
702
702
  42161: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831'
703
703
  },
704
704
  isStable: true
@@ -712,6 +712,7 @@ var assets = [_objectSpread(_objectSpread({}, assetProto), {}, {
712
712
  nativeChainId: 42161,
713
713
  exchange: true,
714
714
  addresses: {
715
+ 10: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
715
716
  42161: '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8'
716
717
  },
717
718
  isStable: true
@@ -2204,7 +2205,8 @@ var assets = [_objectSpread(_objectSpread({}, assetProto), {}, {
2204
2205
  }), _objectSpread(_objectSpread({}, assetProto), {}, {
2205
2206
  symbol: 'FRAX',
2206
2207
  feedAvailability: {
2207
- 1: true
2208
+ 1: true,
2209
+ 42161: true
2208
2210
  },
2209
2211
  name: 'Frax',
2210
2212
  decimals: 18,
@@ -2560,6 +2562,7 @@ var assets = [_objectSpread(_objectSpread({}, assetProto), {}, {
2560
2562
  symbol: 'rETH',
2561
2563
  feedAvailability: {
2562
2564
  1: true,
2565
+ 10: true,
2563
2566
  42161: true
2564
2567
  },
2565
2568
  name: 'Rocket Pool ETH',
@@ -2717,6 +2720,9 @@ var assets = [_objectSpread(_objectSpread({}, assetProto), {}, {
2717
2720
  decimals: 18
2718
2721
  }), _objectSpread(_objectSpread({}, assetProto), {}, {
2719
2722
  symbol: 'crvUSD',
2723
+ feedAvailability: {
2724
+ 1: true
2725
+ },
2720
2726
  name: 'Curve.Fi USD Stablecoin',
2721
2727
  addresses: {
2722
2728
  1: crvUSD
@@ -2725,12 +2731,16 @@ var assets = [_objectSpread(_objectSpread({}, assetProto), {}, {
2725
2731
  }), _objectSpread(_objectSpread({}, assetProto), {}, {
2726
2732
  symbol: 'sDAI',
2727
2733
  name: 'Savings DAI',
2734
+ nativeChainId: 1,
2728
2735
  addresses: {
2729
2736
  1: sDAIAddress
2730
2737
  },
2731
2738
  decimals: 18
2732
2739
  }), _objectSpread(_objectSpread({}, assetProto), {}, {
2733
2740
  symbol: 'GHO',
2741
+ feedAvailability: {
2742
+ 1: true
2743
+ },
2734
2744
  name: 'GHO',
2735
2745
  addresses: {
2736
2746
  1: '0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f'