@defisaver/tokens 1.6.6 → 1.6.8

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/.env ADDED
@@ -0,0 +1,4 @@
1
+ RPC=https://eth-mainnet.alchemyapi.io/v2/Pwh-hdbsP7Bf0CP_UMw4_Pw-NfHhSpIA
2
+ MAINNET_RPC=https://eth-mainnet.alchemyapi.io/v2/Pwh-hdbsP7Bf0CP_UMw4_Pw-NfHhSpIA
3
+ OPTIMISM_RPC=https://opt-mainnet.g.alchemy.com/v2/Pwh-hdbsP7Bf0CP_UMw4_Pw-NfHhSpIA
4
+ ARBITRUM_RPC=https://arb-mainnet.g.alchemy.com/v2/Pwh-hdbsP7Bf0CP_UMw4_Pw-NfHhSpIA
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/b71b750/src/types.ts#L70)
54
+ [types.ts:70](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/types.ts#L6)
68
+ [types.ts:6](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/types.ts#L36)
99
+ [types.ts:36](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/types.ts#L17)
129
+ [types.ts:17](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/types.ts#L77)
139
+ [types.ts:77](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/types.ts#L56)
167
+ [types.ts:56](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L27)
177
+ [index.ts:27](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/aaveV2Markets.ts#L3)
187
+ [aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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:256](https://github.com/DecenterApps/defisaver-tokens/blob/b71b750/src/assets.ts#L256)
197
+ [assets.ts:256](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/src/assets.ts#L256)
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/b71b750/src/ilks.ts#L5)
207
+ [ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/reflexerCollTypes.ts#L3)
217
+ [reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L25)
235
+ [index.ts:25](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L149)
256
+ [index.ts:149](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L170)
277
+ [index.ts:170](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L142)
297
+ [index.ts:142](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L60)
321
+ [index.ts:60](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L95)
342
+ [index.ts:95](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L73)
365
+ [index.ts:73](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L100)
385
+ [index.ts:100](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L21)
406
+ [index.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L122)
429
+ [index.ts:122](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L134)
451
+ [index.ts:134](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/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/b71b750/src/index.ts#L140)
473
+ [index.ts:140](https://github.com/DecenterApps/defisaver-tokens/blob/d3c703c/src/index.ts#L140)
package/cjs/assets.js CHANGED
@@ -252,6 +252,7 @@ exports.assetProto = {
252
252
  yearnCollateral: false,
253
253
  isStable: false,
254
254
  isPendle: false,
255
+ expiryTimestamp: 0,
255
256
  };
256
257
  exports.assets = [
257
258
  Object.assign(Object.assign({}, exports.assetProto), { symbol: 'ETH', feedAvailability: { 1: true, 10: true, 8453: true, 42161: true }, name: 'Ether', decimals: 18, exchange: true, compoundCollateral: false, addresses: {
@@ -1157,10 +1158,10 @@ exports.assets = [
1157
1158
  Object.assign(Object.assign({}, exports.assetProto), { symbol: 'RLUSD', name: 'Ripple USD', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, addresses: {
1158
1159
  1: '0x8292Bb45bf1Ee4d140127049757C2E0fF06317eD',
1159
1160
  } }),
1160
- Object.assign(Object.assign({}, exports.assetProto), { symbol: 'PT eUSDe May', name: 'PT Ethereal eUSDe May', underlyingAsset: 'eUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, addresses: {
1161
+ Object.assign(Object.assign({}, exports.assetProto), { symbol: 'PT eUSDe May', name: 'PT Ethereal eUSDe May', underlyingAsset: 'eUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, expiryTimestamp: 1748476800, addresses: {
1161
1162
  1: '0x50D2C7992b802Eef16c04FeADAB310f31866a545',
1162
1163
  } }),
1163
- Object.assign(Object.assign({}, exports.assetProto), { symbol: 'PT sUSDe July', name: 'PT Ethena sUSDe July', underlyingAsset: 'sUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, addresses: {
1164
+ Object.assign(Object.assign({}, exports.assetProto), { symbol: 'PT sUSDe July', name: 'PT Ethena sUSDe July', underlyingAsset: 'sUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, expiryTimestamp: 1753920000, addresses: {
1164
1165
  1: '0x3b3fB9C57858EF816833dC91565EFcd85D96f634',
1165
1166
  } }),
1166
1167
  Object.assign(Object.assign({}, exports.assetProto), { symbol: 'USDtb', name: 'USDtb', feedAvailability: { 1: true, 8453: true, 42161: true }, decimals: 18, nativeChainId: 1, isStable: true, exchange: true, addresses: {
@@ -1168,4 +1169,13 @@ exports.assets = [
1168
1169
  8453: '0xc708B6887DB46005dA033501f8aeBee72d191a5d',
1169
1170
  42161: '0xc708B6887DB46005dA033501f8aeBee72d191a5d',
1170
1171
  } }),
1172
+ Object.assign(Object.assign({}, exports.assetProto), { symbol: 'eUSDe', name: 'Ethereal eUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, exchange: true, addresses: {
1173
+ 1: '0x90D2af7d622ca3141efA4d8f1F24d86E5974Cc8F',
1174
+ } }),
1175
+ Object.assign(Object.assign({}, exports.assetProto), { symbol: 'PT USDe July', name: 'PT Ethena USDe July', underlyingAsset: 'USDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, expiryTimestamp: 1753920000, addresses: {
1176
+ 1: '0x917459337CaAC939D41d7493B3999f571D20D667',
1177
+ } }),
1178
+ Object.assign(Object.assign({}, exports.assetProto), { symbol: 'PT eUSDe Aug', name: 'PT Ethereal eUSDe August', underlyingAsset: 'eUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, expiryTimestamp: 1755129600, addresses: {
1179
+ 1: '0x14Bdc3A3AE09f5518b923b69489CBcAfB238e617',
1180
+ } }),
1171
1181
  ];
package/cjs/types.d.ts CHANGED
@@ -26,6 +26,7 @@ type AssetDataBase = {
26
26
  isStable: boolean;
27
27
  isPendle: boolean;
28
28
  nativeChainId: number;
29
+ expiryTimestamp: number;
29
30
  };
30
31
  /**
31
32
  * Chain-specific asset info type
@@ -46,6 +47,7 @@ type AssetData = {
46
47
  isStable: boolean;
47
48
  isPendle: boolean;
48
49
  nativeChainId: number;
50
+ expiryTimestamp: number;
49
51
  };
50
52
  /**
51
53
  * Maker ilk info type
package/esm/assets.js CHANGED
@@ -249,6 +249,7 @@ export const assetProto = {
249
249
  yearnCollateral: false,
250
250
  isStable: false,
251
251
  isPendle: false,
252
+ expiryTimestamp: 0,
252
253
  };
253
254
  export const assets = [
254
255
  Object.assign(Object.assign({}, assetProto), { symbol: 'ETH', feedAvailability: { 1: true, 10: true, 8453: true, 42161: true }, name: 'Ether', decimals: 18, exchange: true, compoundCollateral: false, addresses: {
@@ -1154,10 +1155,10 @@ export const assets = [
1154
1155
  Object.assign(Object.assign({}, assetProto), { symbol: 'RLUSD', name: 'Ripple USD', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, addresses: {
1155
1156
  1: '0x8292Bb45bf1Ee4d140127049757C2E0fF06317eD',
1156
1157
  } }),
1157
- Object.assign(Object.assign({}, assetProto), { symbol: 'PT eUSDe May', name: 'PT Ethereal eUSDe May', underlyingAsset: 'eUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, addresses: {
1158
+ Object.assign(Object.assign({}, assetProto), { symbol: 'PT eUSDe May', name: 'PT Ethereal eUSDe May', underlyingAsset: 'eUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, expiryTimestamp: 1748476800, addresses: {
1158
1159
  1: '0x50D2C7992b802Eef16c04FeADAB310f31866a545',
1159
1160
  } }),
1160
- Object.assign(Object.assign({}, assetProto), { symbol: 'PT sUSDe July', name: 'PT Ethena sUSDe July', underlyingAsset: 'sUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, addresses: {
1161
+ Object.assign(Object.assign({}, assetProto), { symbol: 'PT sUSDe July', name: 'PT Ethena sUSDe July', underlyingAsset: 'sUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, expiryTimestamp: 1753920000, addresses: {
1161
1162
  1: '0x3b3fB9C57858EF816833dC91565EFcd85D96f634',
1162
1163
  } }),
1163
1164
  Object.assign(Object.assign({}, assetProto), { symbol: 'USDtb', name: 'USDtb', feedAvailability: { 1: true, 8453: true, 42161: true }, decimals: 18, nativeChainId: 1, isStable: true, exchange: true, addresses: {
@@ -1165,4 +1166,13 @@ export const assets = [
1165
1166
  8453: '0xc708B6887DB46005dA033501f8aeBee72d191a5d',
1166
1167
  42161: '0xc708B6887DB46005dA033501f8aeBee72d191a5d',
1167
1168
  } }),
1169
+ Object.assign(Object.assign({}, assetProto), { symbol: 'eUSDe', name: 'Ethereal eUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, exchange: true, addresses: {
1170
+ 1: '0x90D2af7d622ca3141efA4d8f1F24d86E5974Cc8F',
1171
+ } }),
1172
+ Object.assign(Object.assign({}, assetProto), { symbol: 'PT USDe July', name: 'PT Ethena USDe July', underlyingAsset: 'USDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, expiryTimestamp: 1753920000, addresses: {
1173
+ 1: '0x917459337CaAC939D41d7493B3999f571D20D667',
1174
+ } }),
1175
+ Object.assign(Object.assign({}, assetProto), { symbol: 'PT eUSDe Aug', name: 'PT Ethereal eUSDe August', underlyingAsset: 'eUSDe', feedAvailability: { 1: true }, decimals: 18, nativeChainId: 1, isStable: true, isPendle: true, exchange: true, expiryTimestamp: 1755129600, addresses: {
1176
+ 1: '0x14Bdc3A3AE09f5518b923b69489CBcAfB238e617',
1177
+ } }),
1168
1178
  ];
package/esm/types.d.ts CHANGED
@@ -26,6 +26,7 @@ type AssetDataBase = {
26
26
  isStable: boolean;
27
27
  isPendle: boolean;
28
28
  nativeChainId: number;
29
+ expiryTimestamp: number;
29
30
  };
30
31
  /**
31
32
  * Chain-specific asset info type
@@ -46,6 +47,7 @@ type AssetData = {
46
47
  isStable: boolean;
47
48
  isPendle: boolean;
48
49
  nativeChainId: number;
50
+ expiryTimestamp: number;
49
51
  };
50
52
  /**
51
53
  * Maker ilk info type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/tokens",
3
- "version": "1.6.6",
3
+ "version": "1.6.8",
4
4
  "type": "module",
5
5
  "description": "Centralized asset data & utility functions",
6
6
  "main": "cjs/index.js",
package/src/assets.ts CHANGED
@@ -253,6 +253,7 @@ export const assetProto: AssetDataBase = {
253
253
  yearnCollateral: false,
254
254
  isStable: false,
255
255
  isPendle: false,
256
+ expiryTimestamp: 0,
256
257
  };
257
258
 
258
259
  export const assets: AssetDataBase[] = [
@@ -3266,6 +3267,7 @@ export const assets: AssetDataBase[] = [
3266
3267
  isStable: true,
3267
3268
  isPendle: true,
3268
3269
  exchange: true,
3270
+ expiryTimestamp: 1748476800,
3269
3271
  addresses: {
3270
3272
  1: '0x50D2C7992b802Eef16c04FeADAB310f31866a545',
3271
3273
  }
@@ -3281,6 +3283,7 @@ export const assets: AssetDataBase[] = [
3281
3283
  isStable: true,
3282
3284
  isPendle: true,
3283
3285
  exchange: true,
3286
+ expiryTimestamp: 1753920000,
3284
3287
  addresses: {
3285
3288
  1: '0x3b3fB9C57858EF816833dC91565EFcd85D96f634',
3286
3289
  }
@@ -3300,4 +3303,49 @@ export const assets: AssetDataBase[] = [
3300
3303
  42161: '0xc708B6887DB46005dA033501f8aeBee72d191a5d',
3301
3304
  }
3302
3305
  },
3306
+ {
3307
+ ...assetProto,
3308
+ symbol: 'eUSDe',
3309
+ name: 'Ethereal eUSDe',
3310
+ feedAvailability: { 1: true },
3311
+ decimals: 18,
3312
+ nativeChainId: 1,
3313
+ isStable: true,
3314
+ exchange: true,
3315
+ addresses: {
3316
+ 1: '0x90D2af7d622ca3141efA4d8f1F24d86E5974Cc8F',
3317
+ }
3318
+ },
3319
+ {
3320
+ ...assetProto,
3321
+ symbol: 'PT USDe July',
3322
+ name: 'PT Ethena USDe July',
3323
+ underlyingAsset: 'USDe',
3324
+ feedAvailability: { 1: true },
3325
+ decimals: 18,
3326
+ nativeChainId: 1,
3327
+ isStable: true,
3328
+ isPendle: true,
3329
+ exchange: true,
3330
+ expiryTimestamp: 1753920000,
3331
+ addresses: {
3332
+ 1: '0x917459337CaAC939D41d7493B3999f571D20D667',
3333
+ }
3334
+ },
3335
+ {
3336
+ ...assetProto,
3337
+ symbol: 'PT eUSDe Aug',
3338
+ name: 'PT Ethereal eUSDe August',
3339
+ underlyingAsset: 'eUSDe',
3340
+ feedAvailability: { 1: true },
3341
+ decimals: 18,
3342
+ nativeChainId: 1,
3343
+ isStable: true,
3344
+ isPendle: true,
3345
+ exchange: true,
3346
+ expiryTimestamp: 1755129600,
3347
+ addresses: {
3348
+ 1: '0x14Bdc3A3AE09f5518b923b69489CBcAfB238e617',
3349
+ }
3350
+ },
3303
3351
  ];
package/src/types.ts CHANGED
@@ -29,6 +29,7 @@ type AssetDataBase = {
29
29
  isStable: boolean;
30
30
  isPendle: boolean;
31
31
  nativeChainId: number;
32
+ expiryTimestamp: number;
32
33
  };
33
34
 
34
35
  /**
@@ -50,6 +51,7 @@ type AssetData = {
50
51
  isStable: boolean;
51
52
  isPendle: boolean;
52
53
  nativeChainId: number;
54
+ expiryTimestamp: number;
53
55
  };
54
56
 
55
57
  /**