@defisaver/tokens 1.3.71 → 1.3.72

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
@@ -54,7 +54,7 @@ Name | Type |
54
54
  `underlyingAsset` | *string* |
55
55
  `yearnCollateral` | *boolean* |
56
56
 
57
- Defined in: [types.ts:4](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/types.ts#L4)
57
+ Defined in: [types.ts:4](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/types.ts#L4)
58
58
 
59
59
  ___
60
60
 
@@ -62,13 +62,13 @@ ___
62
62
 
63
63
  Ƭ **ExtendedIlkData**: [*IlkData*](README.md#ilkdata) \| { `assetData`: [*AssetData*](README.md#assetdata) }
64
64
 
65
- Defined in: [types.ts:40](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/types.ts#L40)
65
+ Defined in: [types.ts:41](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/types.ts#L41)
66
66
 
67
67
  ___
68
68
 
69
69
  ### IlkData
70
70
 
71
- Ƭ **IlkData**: { `asset`: *string* ; `clip?`: *string* ; `clipCalc?`: *string* ; `flip?`: *string* ; `ilkBytes`: *string* ; `ilkLabel`: *string* ; `isLP`: *boolean* ; `join`: *string* ; `pip`: *string* }
71
+ Ƭ **IlkData**: { `asset`: *string* ; `assetAddress?`: *string* ; `clip?`: *string* ; `clipCalc?`: *string* ; `flip?`: *string* ; `ilkBytes`: *string* ; `ilkLabel`: *string* ; `isLP`: *boolean* ; `join`: *string* ; `pip`: *string* }
72
72
 
73
73
  Maker ilk info type
74
74
 
@@ -77,6 +77,7 @@ Maker ilk info type
77
77
  Name | Type |
78
78
  ------ | ------ |
79
79
  `asset` | *string* |
80
+ `assetAddress?` | *string* |
80
81
  `clip?` | *string* |
81
82
  `clipCalc?` | *string* |
82
83
  `flip?` | *string* |
@@ -86,7 +87,7 @@ Name | Type |
86
87
  `join` | *string* |
87
88
  `pip` | *string* |
88
89
 
89
- Defined in: [types.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/types.ts#L21)
90
+ Defined in: [types.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/types.ts#L21)
90
91
 
91
92
  ## Variables
92
93
 
@@ -94,7 +95,7 @@ Defined in: [types.ts:21](https://github.com/DecenterApps/defisaver-tokens/blob/
94
95
 
95
96
  • `Const` **MAXUINT**: *string*= '115792089237316195423570985008687907853269984665640564039457584007913129639935'
96
97
 
97
- Defined in: [index.ts:19](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L19)
98
+ Defined in: [index.ts:19](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L19)
98
99
 
99
100
  ___
100
101
 
@@ -102,7 +103,7 @@ ___
102
103
 
103
104
  • `Const` **aaveV2Markets**: AaveMarketData[]
104
105
 
105
- Defined in: [aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/aaveV2Markets.ts#L3)
106
+ Defined in: [aaveV2Markets.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/aaveV2Markets.ts#L3)
106
107
 
107
108
  ___
108
109
 
@@ -110,7 +111,7 @@ ___
110
111
 
111
112
  • `Const` **assets**: [*AssetData*](README.md#assetdata)[]
112
113
 
113
- Defined in: [assets.ts:381](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/assets.ts#L381)
114
+ Defined in: [assets.ts:381](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/assets.ts#L381)
114
115
 
115
116
  ___
116
117
 
@@ -118,7 +119,7 @@ ___
118
119
 
119
120
  • `Const` **ilks**: [*IlkData*](README.md#ilkdata)[]
120
121
 
121
- Defined in: [ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/ilks.ts#L5)
122
+ Defined in: [ilks.ts:5](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/ilks.ts#L5)
122
123
 
123
124
  ___
124
125
 
@@ -126,7 +127,7 @@ ___
126
127
 
127
128
  • `Const` **reflexerCollTypes**: [*IlkData*](README.md#ilkdata)[]
128
129
 
129
- Defined in: [reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/reflexerCollTypes.ts#L3)
130
+ Defined in: [reflexerCollTypes.ts:3](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/reflexerCollTypes.ts#L3)
130
131
 
131
132
  ___
132
133
 
@@ -136,13 +137,13 @@ ___
136
137
 
137
138
  #### Type declaration:
138
139
 
139
- Name | Type | Value |
140
- ------ | ------ | ------ |
141
- `bytesToString` | *function* | (`hex`: *string*) => *string* |
142
- `compare` | *function* | (`a`: *string*, `b`: *string*) => *boolean* |
143
- `stringToBytes` | *function* | (`str`: *string*) => *string* |
140
+ Name | Type |
141
+ ------ | ------ |
142
+ `bytesToString` | (`hex`: *string*) => *string* |
143
+ `compare` | (`a`: *string*, `b`: *string*) => *boolean* |
144
+ `stringToBytes` | (`str`: *string*) => *string* |
144
145
 
145
- Defined in: [index.ts:17](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L17)
146
+ Defined in: [index.ts:17](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L17)
146
147
 
147
148
  ## Functions
148
149
 
@@ -159,7 +160,7 @@ Name | Type | Default value | Description |
159
160
 
160
161
  **Returns:** *string*
161
162
 
162
- Defined in: [index.ts:128](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L128)
163
+ Defined in: [index.ts:128](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L128)
163
164
 
164
165
  ___
165
166
 
@@ -176,7 +177,7 @@ Name | Type | Description |
176
177
 
177
178
  **Returns:** *string*
178
179
 
179
- Defined in: [index.ts:149](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L149)
180
+ Defined in: [index.ts:149](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L149)
180
181
 
181
182
  ___
182
183
 
@@ -192,7 +193,7 @@ Name | Type | Default value |
192
193
 
193
194
  **Returns:** *void* \| AaveMarketData
194
195
 
195
- Defined in: [index.ts:121](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L121)
196
+ Defined in: [index.ts:121](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L121)
196
197
 
197
198
  ___
198
199
 
@@ -211,7 +212,7 @@ Name | Type | Default value |
211
212
 
212
213
  **Returns:** [*AssetData*](README.md#assetdata)
213
214
 
214
- Defined in: [index.ts:41](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L41)
215
+ Defined in: [index.ts:41](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L41)
215
216
 
216
217
  ___
217
218
 
@@ -227,7 +228,7 @@ Name | Type | Default value |
227
228
 
228
229
  **Returns:** [*AssetData*](README.md#assetdata)
229
230
 
230
- Defined in: [index.ts:71](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L71)
231
+ Defined in: [index.ts:71](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L71)
231
232
 
232
233
  ___
233
234
 
@@ -246,7 +247,7 @@ Name | Type | Default value | Description |
246
247
 
247
248
  **Returns:** [*ExtendedIlkData*](README.md#extendedilkdata)
248
249
 
249
- Defined in: [index.ts:50](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L50)
250
+ Defined in: [index.ts:50](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L50)
250
251
 
251
252
  ___
252
253
 
@@ -262,7 +263,7 @@ Name | Type | Default value |
262
263
 
263
264
  **Returns:** *string*
264
265
 
265
- Defined in: [index.ts:73](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L73)
266
+ Defined in: [index.ts:73](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L73)
266
267
 
267
268
  ___
268
269
 
@@ -281,7 +282,7 @@ Name | Type | Default value | Description |
281
282
 
282
283
  Token symbol
283
284
 
284
- Defined in: [index.ts:101](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L101)
285
+ Defined in: [index.ts:101](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L101)
285
286
 
286
287
  ___
287
288
 
@@ -299,7 +300,7 @@ Name | Type | Description |
299
300
 
300
301
  Token symbol
301
302
 
302
- Defined in: [index.ts:113](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L113)
303
+ Defined in: [index.ts:113](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L113)
303
304
 
304
305
  ___
305
306
 
@@ -317,4 +318,4 @@ Name | Type | Description |
317
318
 
318
319
  Token symbol
319
320
 
320
- Defined in: [index.ts:119](https://github.com/DecenterApps/defisaver-tokens/blob/e2ec133/src/index.ts#L119)
321
+ Defined in: [index.ts:119](https://github.com/DecenterApps/defisaver-tokens/blob/326449a/src/index.ts#L119)
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export default function ImusdIcon(props) {
3
- return (React.createElement("svg", { width: "193", height: "193", viewBox: "0 0 193 193", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
3
+ return (React.createElement("svg", Object.assign({ width: "193", height: "193", viewBox: "0 0 193 193", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
4
4
  React.createElement("circle", { cx: "96.5", cy: "96.5", r: "96.5", fill: "url(#paint0_linear_17997_56747)" }),
5
5
  React.createElement("path", { d: "M113 93.4043C113 95.427 112.428 97.2899 111.284 98.9932C110.176 100.661 108.534 102.009 106.356 103.039C104.216 104.068 101.632 104.635 98.6055 104.742V109H95.1176V104.635C91.0577 104.28 87.7359 103.092 85.1522 101.069C82.6055 99.0464 81.2584 96.2963 81.1107 92.8188H92.6817C92.8293 94.6285 93.6413 95.8173 95.1176 96.3851V89.5719C92.0173 88.7558 89.5813 88.0106 87.8097 87.3364C86.0381 86.6267 84.451 85.4911 83.0484 83.9298C81.6828 82.3684 81 80.2393 81 77.5425C81 75.3069 81.609 73.373 82.827 71.7407C84.0819 70.0729 85.7797 68.7954 87.9204 67.9083C90.0611 66.9857 92.4602 66.4534 95.1176 66.3114V62H98.6055V66.3114C102.702 66.5953 105.95 67.7308 108.349 69.718C110.785 71.7052 112.133 74.4375 112.391 77.9151H100.709C100.562 76.2827 99.8604 75.2005 98.6055 74.6682V81.4281L99.9896 81.8539C102.647 82.5636 104.843 83.3088 106.578 84.0895C108.349 84.8347 109.863 85.9702 111.118 87.496C112.373 88.9864 113 90.9558 113 93.4043ZM92.5709 77.0634C92.5709 78.3409 93.4198 79.3877 95.1176 80.2039V74.3488C93.4198 74.6327 92.5709 75.5376 92.5709 77.0634ZM98.6055 96.6512C99.4914 96.4738 100.193 96.1367 100.709 95.6399C101.226 95.1076 101.484 94.4511 101.484 93.6704C101.484 92.4285 100.525 91.4171 98.6055 90.6365V96.6512Z", fill: "white" }),
6
6
  React.createElement("circle", { cx: "97", cy: "97", r: "51", stroke: "white", strokeWidth: "8" }),
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export default function MusdIcon(props) {
3
- return (React.createElement("svg", { width: "193", height: "193", viewBox: "0 0 193 193", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
3
+ return (React.createElement("svg", Object.assign({ width: "193", height: "193", viewBox: "0 0 193 193", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
4
4
  React.createElement("circle", { cx: "96.5", cy: "96.5", r: "96.5", fill: "url(#paint0_linear_17997_56712)" }),
5
5
  React.createElement("path", { d: "M118 90.0951C118 92.8063 117.249 95.3035 115.747 97.5866C114.294 99.8222 112.138 101.63 109.28 103.009C106.471 104.388 103.08 105.149 99.1073 105.292V111H94.5294V105.149C89.2007 104.674 84.8408 103.08 81.4498 100.369C78.1073 97.658 76.3391 93.9717 76.1453 89.3103H91.3322C91.526 91.7361 92.5917 93.3296 94.5294 94.0906V84.9581C90.4602 83.8641 87.263 82.8652 84.9377 81.9615C82.6125 81.0102 80.5294 79.4881 78.6886 77.3952C76.8962 75.3024 76 72.4485 76 68.8335C76 65.8369 76.7993 63.2446 78.3979 61.0566C80.045 58.8211 82.2734 57.1087 85.083 55.9196C87.8927 54.6829 91.0415 53.9694 94.5294 53.7792V48H99.1073V53.7792C104.484 54.1597 108.747 55.6818 111.896 58.3454C115.093 61.0091 116.862 64.6716 117.201 69.333H101.869C101.675 67.145 100.754 65.6942 99.1073 64.9807V74.0419L100.924 74.6127C104.412 75.564 107.294 76.5629 109.571 77.6093C111.896 78.6082 113.882 80.1302 115.529 82.1755C117.176 84.1733 118 86.8131 118 90.0951ZM91.1869 68.1914C91.1869 69.9037 92.301 71.3069 94.5294 72.4009V64.5527C92.301 64.9332 91.1869 66.1461 91.1869 68.1914ZM99.1073 94.4473C100.27 94.2095 101.19 93.7576 101.869 93.0917C102.547 92.3783 102.886 91.4983 102.886 90.4519C102.886 88.7871 101.626 87.4315 99.1073 86.3851V94.4473Z", fill: "white" }),
6
6
  React.createElement("rect", { x: "52", y: "126", width: "89", height: "13", fill: "white" }),
package/esm/assets.js CHANGED
@@ -203,6 +203,7 @@ const AlethAddress = "0x0100546f2cd4c9d97f798ffc9755e47865ff7ee6";
203
203
  const EnsAddress = "0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72";
204
204
  const MusdAddress = "0xe2f2a5c287993345a840db3b0845fbc70f5935a5";
205
205
  const ImusdAddress = "0xe2f2a5c287993345a840db3b0845fbc70f5935a5";
206
+ const cUSDPAddress = "0x041171993284df560249B57358F931D9eB7b925D";
206
207
  import BlankIcon from './TokenIcons/BlankIcon.js';
207
208
  import ZrxIcon from './TokenIcons/ZrxIcon.js';
208
209
  import UsdcIcon from './TokenIcons/UsdcIcon.js';
@@ -432,6 +433,7 @@ export const assets = [
432
433
  Object.assign(Object.assign({}, assetProto), { symbol: 'YFI', name: 'Yearn Finance', decimals: 18, exchange: true, yearnCollateral: true, address: YFIAddress, icon: YfiIcon }),
433
434
  Object.assign(Object.assign({}, assetProto), { symbol: 'aYFI', decimals: 18, address: aYFIAddress, aaveCollateral: true, underlyingAsset: 'YFI', icon: YfiIcon }),
434
435
  Object.assign(Object.assign({}, assetProto), { symbol: 'USDP', name: 'Pax Dollar', decimals: 18, exchange: true, address: USDPAddress, isStable: true, icon: UsdpIcon }),
436
+ Object.assign(Object.assign({}, assetProto), { symbol: 'cUSDP', underlyingAsset: 'USDP', name: 'Pax Dollar', decimals: 8, exchange: false, compoundCollateral: true, address: cUSDPAddress, icon: UsdpIcon }),
435
437
  Object.assign(Object.assign({}, assetProto), { symbol: 'DPI', name: 'DefiPulse Index', decimals: 18, exchange: true, address: DPIAddress, icon: DpiIcon }),
436
438
  Object.assign(Object.assign({}, assetProto), { symbol: 'UNI', name: 'Uniswap', decimals: 18, exchange: true, yearnCollateral: true, address: UNIAddress, icon: UniIcon }),
437
439
  Object.assign(Object.assign({}, assetProto), { symbol: 'cUNI', decimals: 8, compoundCollateral: true, address: cUNIAddress, underlyingAsset: 'UNI', icon: UniIcon }),
package/esm/ilks.js CHANGED
@@ -2,6 +2,7 @@
2
2
  export const ilks = [
3
3
  {
4
4
  "asset": "ETH",
5
+ "assetAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
5
6
  "ilkLabel": "ETH-A",
6
7
  "ilkBytes": "0x4554482d41000000000000000000000000000000000000000000000000000000",
7
8
  "join": "0x2F0b23f53734252Bda2277357e97e1517d6B042A",
@@ -11,6 +12,7 @@ export const ilks = [
11
12
  },
12
13
  {
13
14
  "asset": "ETH",
15
+ "assetAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
14
16
  "ilkLabel": "ETH-B",
15
17
  "ilkBytes": "0x4554482d42000000000000000000000000000000000000000000000000000000",
16
18
  "join": "0x08638eF1A205bE6762A8b935F5da9b700Cf7322c",
@@ -20,6 +22,7 @@ export const ilks = [
20
22
  },
21
23
  {
22
24
  "asset": "ETH",
25
+ "assetAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
23
26
  "ilkLabel": "ETH-C",
24
27
  "ilkBytes": "0x4554482d43000000000000000000000000000000000000000000000000000000",
25
28
  "join": "0xF04a5cC80B1E94C69B48f5ee68a08CD2F09A7c3E",
@@ -29,6 +32,7 @@ export const ilks = [
29
32
  },
30
33
  {
31
34
  "asset": "BAT",
35
+ "assetAddress": "0x0D8775F648430679A709E98d2b0Cb6250d2887EF",
32
36
  "ilkLabel": "BAT-A",
33
37
  "ilkBytes": "0x4241542d41000000000000000000000000000000000000000000000000000000",
34
38
  "join": "0x3D0B1912B66114d4096F48A8CEe3A56C231772cA",
@@ -38,6 +42,7 @@ export const ilks = [
38
42
  },
39
43
  {
40
44
  "asset": "USDC",
45
+ "assetAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
41
46
  "ilkLabel": "USDC-A",
42
47
  "ilkBytes": "0x555344432d410000000000000000000000000000000000000000000000000000",
43
48
  "join": "0xA191e578a6736167326d05c119CE0c90849E84B7",
@@ -47,6 +52,7 @@ export const ilks = [
47
52
  },
48
53
  {
49
54
  "asset": "USDC",
55
+ "assetAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
50
56
  "ilkLabel": "USDC-B",
51
57
  "ilkBytes": "0x555344432d420000000000000000000000000000000000000000000000000000",
52
58
  "join": "0x2600004fd1585f7270756DDc88aD9cfA10dD0428",
@@ -56,6 +62,7 @@ export const ilks = [
56
62
  },
57
63
  {
58
64
  "asset": "WBTC",
65
+ "assetAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
59
66
  "ilkLabel": "WBTC-A",
60
67
  "ilkBytes": "0x574254432d410000000000000000000000000000000000000000000000000000",
61
68
  "join": "0xBF72Da2Bd84c5170618Fbe5914B0ECA9638d5eb5",
@@ -65,6 +72,7 @@ export const ilks = [
65
72
  },
66
73
  {
67
74
  "asset": "TUSD",
75
+ "assetAddress": "0x0000000000085d4780B73119b644AE5ecd22b376",
68
76
  "ilkLabel": "TUSD-A",
69
77
  "ilkBytes": "0x545553442d410000000000000000000000000000000000000000000000000000",
70
78
  "join": "0x4454aF7C8bb9463203b66C816220D41ED7837f44",
@@ -74,6 +82,7 @@ export const ilks = [
74
82
  },
75
83
  {
76
84
  "asset": "ZRX",
85
+ "assetAddress": "0xE41d2489571d322189246DaFA5ebDe1F4699F498",
77
86
  "ilkLabel": "ZRX-A",
78
87
  "ilkBytes": "0x5a52582d41000000000000000000000000000000000000000000000000000000",
79
88
  "join": "0xc7e8Cd72BDEe38865b4F5615956eF47ce1a7e5D0",
@@ -83,6 +92,7 @@ export const ilks = [
83
92
  },
84
93
  {
85
94
  "asset": "KNCL",
95
+ "assetAddress": "0xdd974D5C2e2928deA5F71b9825b8b646686BD200",
86
96
  "ilkLabel": "KNC-A",
87
97
  "ilkBytes": "0x4b4e432d41000000000000000000000000000000000000000000000000000000",
88
98
  "join": "0x475F1a89C1ED844A08E8f6C50A00228b5E59E4A9",
@@ -92,6 +102,7 @@ export const ilks = [
92
102
  },
93
103
  {
94
104
  "asset": "MANA",
105
+ "assetAddress": "0x0F5D2fB29fb7d3CFeE444a200298f468908cC942",
95
106
  "ilkLabel": "MANA-A",
96
107
  "ilkBytes": "0x4d414e412d410000000000000000000000000000000000000000000000000000",
97
108
  "join": "0xA6EA3b9C04b8a38Ff5e224E7c3D6937ca44C0ef9",
@@ -101,6 +112,7 @@ export const ilks = [
101
112
  },
102
113
  {
103
114
  "asset": "USDT",
115
+ "assetAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
104
116
  "ilkLabel": "USDT-A",
105
117
  "ilkBytes": "0x555344542d410000000000000000000000000000000000000000000000000000",
106
118
  "join": "0x0Ac6A1D74E84C2dF9063bDDc31699FF2a2BB22A2",
@@ -110,6 +122,7 @@ export const ilks = [
110
122
  },
111
123
  {
112
124
  "asset": "USDP",
125
+ "assetAddress": "0x8E870D67F660D95d5be530380D0eC0bd388289E1",
113
126
  "ilkLabel": "PAXUSD-A",
114
127
  "ilkBytes": "0x5041585553442d41000000000000000000000000000000000000000000000000",
115
128
  "join": "0x7e62B7E279DFC78DEB656E34D6a435cC08a44666",
@@ -119,6 +132,7 @@ export const ilks = [
119
132
  },
120
133
  {
121
134
  "asset": "COMP",
135
+ "assetAddress": "0xc00e94Cb662C3520282E6f5717214004A7f26888",
122
136
  "ilkLabel": "COMP-A",
123
137
  "ilkBytes": "0x434f4d502d410000000000000000000000000000000000000000000000000000",
124
138
  "join": "0xBEa7cDfB4b49EC154Ae1c0D731E4DC773A3265aA",
@@ -128,6 +142,7 @@ export const ilks = [
128
142
  },
129
143
  {
130
144
  "asset": "LRC",
145
+ "assetAddress": "0xBBbbCA6A901c926F240b89EacB641d8Aec7AEafD",
131
146
  "ilkLabel": "LRC-A",
132
147
  "ilkBytes": "0x4c52432d41000000000000000000000000000000000000000000000000000000",
133
148
  "join": "0x6C186404A7A238D3d6027C0299D1822c1cf5d8f1",
@@ -137,6 +152,7 @@ export const ilks = [
137
152
  },
138
153
  {
139
154
  "asset": "LINK",
155
+ "assetAddress": "0x514910771AF9Ca656af840dff83E8264EcF986CA",
140
156
  "ilkLabel": "LINK-A",
141
157
  "ilkBytes": "0x4c494e4b2d410000000000000000000000000000000000000000000000000000",
142
158
  "join": "0xdFccAf8fDbD2F4805C174f856a317765B49E4a50",
@@ -146,6 +162,7 @@ export const ilks = [
146
162
  },
147
163
  {
148
164
  "asset": "BAL",
165
+ "assetAddress": "0xba100000625a3754423978a60c9317c58a424e3D",
149
166
  "ilkLabel": "BAL-A",
150
167
  "ilkBytes": "0x42414c2d41000000000000000000000000000000000000000000000000000000",
151
168
  "join": "0x4a03Aa7fb3973d8f0221B466EefB53D0aC195f55",
@@ -155,6 +172,7 @@ export const ilks = [
155
172
  },
156
173
  {
157
174
  "asset": "YFI",
175
+ "assetAddress": "0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e",
158
176
  "ilkLabel": "YFI-A",
159
177
  "ilkBytes": "0x5946492d41000000000000000000000000000000000000000000000000000000",
160
178
  "join": "0x3ff33d9162aD47660083D7DC4bC02Fb231c81677",
@@ -164,6 +182,7 @@ export const ilks = [
164
182
  },
165
183
  {
166
184
  "asset": "GUSD",
185
+ "assetAddress": "0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd",
167
186
  "ilkLabel": "GUSD-A",
168
187
  "ilkBytes": "0x475553442d410000000000000000000000000000000000000000000000000000",
169
188
  "join": "0xe29A14bcDeA40d83675aa43B72dF07f649738C8b",
@@ -173,6 +192,7 @@ export const ilks = [
173
192
  },
174
193
  {
175
194
  "asset": "UNI",
195
+ "assetAddress": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",
176
196
  "ilkLabel": "UNI-A",
177
197
  "ilkBytes": "0x554e492d41000000000000000000000000000000000000000000000000000000",
178
198
  "join": "0x3BC3A58b4FC1CbE7e98bB4aB7c99535e8bA9b8F1",
@@ -182,6 +202,7 @@ export const ilks = [
182
202
  },
183
203
  {
184
204
  "asset": "RENBTC",
205
+ "assetAddress": "0xEB4C2781e4ebA804CE9a9803C67d0893436bB27D",
185
206
  "ilkLabel": "RENBTC-A",
186
207
  "ilkBytes": "0x52454e4254432d41000000000000000000000000000000000000000000000000",
187
208
  "join": "0xFD5608515A47C37afbA68960c1916b79af9491D0",
@@ -191,6 +212,7 @@ export const ilks = [
191
212
  },
192
213
  {
193
214
  "asset": "AAVE",
215
+ "assetAddress": "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9",
194
216
  "ilkLabel": "AAVE-A",
195
217
  "ilkBytes": "0x414156452d410000000000000000000000000000000000000000000000000000",
196
218
  "join": "0x24e459F61cEAa7b1cE70Dbaea938940A7c5aD46e",
@@ -200,6 +222,7 @@ export const ilks = [
200
222
  },
201
223
  {
202
224
  "asset": "UNIV2DAIETH",
225
+ "assetAddress": "0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11",
203
226
  "ilkLabel": "UNIV2DAIETH-A",
204
227
  "ilkBytes": "0x554e4956324441494554482d4100000000000000000000000000000000000000",
205
228
  "join": "0x2502F65D77cA13f183850b5f9272270454094A08",
@@ -209,6 +232,7 @@ export const ilks = [
209
232
  },
210
233
  {
211
234
  "asset": "UNIV2WBTCETH",
235
+ "assetAddress": "0xBb2b8038a1640196FbE3e38816F3e67Cba72D940",
212
236
  "ilkLabel": "UNIV2WBTCETH-A",
213
237
  "ilkBytes": "0x554e495632574254434554482d41000000000000000000000000000000000000",
214
238
  "join": "0xDc26C9b7a8fe4F5dF648E314eC3E6Dc3694e6Dd2",
@@ -218,6 +242,7 @@ export const ilks = [
218
242
  },
219
243
  {
220
244
  "asset": "UNIV2USDCETH",
245
+ "assetAddress": "0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc",
221
246
  "ilkLabel": "UNIV2USDCETH-A",
222
247
  "ilkBytes": "0x554e495632555344434554482d41000000000000000000000000000000000000",
223
248
  "join": "0x03Ae53B33FeeAc1222C3f372f32D37Ba95f0F099",
@@ -227,6 +252,7 @@ export const ilks = [
227
252
  },
228
253
  {
229
254
  "asset": "UNIV2DAIUSDC",
255
+ "assetAddress": "0xAE461cA67B15dc8dc81CE7615e0320dA1A9aB8D5",
230
256
  "ilkLabel": "UNIV2DAIUSDC-A",
231
257
  "ilkBytes": "0x554e495632444149555344432d41000000000000000000000000000000000000",
232
258
  "join": "0xA81598667AC561986b70ae11bBE2dd5348ed4327",
@@ -236,6 +262,7 @@ export const ilks = [
236
262
  },
237
263
  {
238
264
  "asset": "UNIV2ETHUSDT",
265
+ "assetAddress": "0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852",
239
266
  "ilkLabel": "UNIV2ETHUSDT-A",
240
267
  "ilkBytes": "0x554e495632455448555344542d41000000000000000000000000000000000000",
241
268
  "join": "0x4aAD139a88D2dd5e7410b408593208523a3a891d",
@@ -245,6 +272,7 @@ export const ilks = [
245
272
  },
246
273
  {
247
274
  "asset": "UNIV2LINKETH",
275
+ "assetAddress": "0xa2107FA5B38d9bbd2C461D6EDf11B11A50F6b974",
248
276
  "ilkLabel": "UNIV2LINKETH-A",
249
277
  "ilkBytes": "0x554e4956324c494e4b4554482d41000000000000000000000000000000000000",
250
278
  "join": "0xDae88bDe1FB38cF39B6A02b595930A3449e593A6",
@@ -254,6 +282,7 @@ export const ilks = [
254
282
  },
255
283
  {
256
284
  "asset": "UNIV2UNIETH",
285
+ "assetAddress": "0xd3d2E2692501A5c9Ca623199D38826e513033a17",
257
286
  "ilkLabel": "UNIV2UNIETH-A",
258
287
  "ilkBytes": "0x554e495632554e494554482d4100000000000000000000000000000000000000",
259
288
  "join": "0xf11a98339FE1CdE648e8D1463310CE3ccC3d7cC1",
@@ -263,6 +292,7 @@ export const ilks = [
263
292
  },
264
293
  {
265
294
  "asset": "UNIV2WBTCDAI",
295
+ "assetAddress": "0x231B7589426Ffe1b75405526fC32aC09D44364c4",
266
296
  "ilkLabel": "UNIV2WBTCDAI-A",
267
297
  "ilkBytes": "0x554e495632574254434441492d41000000000000000000000000000000000000",
268
298
  "join": "0xD40798267795Cbf3aeEA8E9F8DCbdBA9b5281fcC",
@@ -272,6 +302,7 @@ export const ilks = [
272
302
  },
273
303
  {
274
304
  "asset": "UNIV2AAVEETH",
305
+ "assetAddress": "0xDFC14d2Af169B0D36C4EFF567Ada9b2E0CAE044f",
275
306
  "ilkLabel": "UNIV2AAVEETH-A",
276
307
  "ilkBytes": "0x554e495632414156454554482d41000000000000000000000000000000000000",
277
308
  "join": "0x42AFd448Df7d96291551f1eFE1A590101afB1DfF",
@@ -281,6 +312,7 @@ export const ilks = [
281
312
  },
282
313
  {
283
314
  "asset": "UNIV2DAIUSDT",
315
+ "assetAddress": "0xB20bd5D04BE54f870D5C0d3cA85d82b34B836405",
284
316
  "ilkLabel": "UNIV2DAIUSDT-A",
285
317
  "ilkBytes": "0x554e495632444149555344542d41000000000000000000000000000000000000",
286
318
  "join": "0xAf034D882169328CAf43b823a4083dABC7EEE0F4",
@@ -290,6 +322,7 @@ export const ilks = [
290
322
  },
291
323
  {
292
324
  "asset": "MATIC",
325
+ "assetAddress": "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0",
293
326
  "ilkLabel": "MATIC-A",
294
327
  "ilkBytes": "0x4d415449432d4100000000000000000000000000000000000000000000000000",
295
328
  "join": "0x885f16e177d45fC9e7C87e1DA9fd47A9cfcE8E13",
@@ -297,8 +330,19 @@ export const ilks = [
297
330
  "pip": "0x8874964279302e6d4e523Fb1789981C39a1034Ba",
298
331
  "isLP": false
299
332
  },
333
+ {
334
+ "asset": "GUNIV3DAIUSDC1",
335
+ "assetAddress": "0xAbDDAfB225e10B90D798bB8A886238Fb835e2053",
336
+ "ilkLabel": "GUNIV3DAIUSDC1-A",
337
+ "ilkBytes": "0x47554e49563344414955534443312d4100000000000000000000000000000000",
338
+ "join": "0xbFD445A97e7459b0eBb34cfbd3245750Dba4d7a4",
339
+ "clip": "0x5048c5Cd3102026472f8914557A1FD35c8Dc6c9e",
340
+ "pip": "0x7F6d78CC0040c87943a0e0c140De3F77a273bd58",
341
+ "isLP": true
342
+ },
300
343
  {
301
344
  "asset": "wstETH",
345
+ "assetAddress": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
302
346
  "ilkLabel": "WSTETH-A",
303
347
  "ilkBytes": "0x5753544554482d41000000000000000000000000000000000000000000000000",
304
348
  "join": "0x10CD5fbe1b404B7E19Ef964B63939907bdaf42E2",
@@ -308,6 +352,7 @@ export const ilks = [
308
352
  },
309
353
  {
310
354
  "asset": "WBTC",
355
+ "assetAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
311
356
  "ilkLabel": "WBTC-B",
312
357
  "ilkBytes": "0x574254432d420000000000000000000000000000000000000000000000000000",
313
358
  "join": "0xfA8c996e158B80D77FbD0082BB437556A65B96E0",
@@ -317,11 +362,22 @@ export const ilks = [
317
362
  },
318
363
  {
319
364
  "asset": "WBTC",
365
+ "assetAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
320
366
  "ilkLabel": "WBTC-C",
321
367
  "ilkBytes": "0x574254432d430000000000000000000000000000000000000000000000000000",
322
368
  "join": "0x7f62f9592b823331E012D3c5DdF2A7714CfB9de2",
323
369
  "clip": "0x39F29773Dcb94A32529d0612C6706C49622161D1",
324
370
  "pip": "0xf185d0682d50819263941e5f4EacC763CC5C6C42",
325
371
  "isLP": false
372
+ },
373
+ {
374
+ "asset": "GUNIV3DAIUSDC2",
375
+ "assetAddress": "0x50379f632ca68D36E50cfBC8F78fe16bd1499d1e",
376
+ "ilkLabel": "GUNIV3DAIUSDC2-A",
377
+ "ilkBytes": "0x47554e49563344414955534443322d4100000000000000000000000000000000",
378
+ "join": "0xA7e4dDde3cBcEf122851A7C8F7A55f23c0Daf335",
379
+ "clip": "0xB55da3d3100C4eBF9De755b6DdC24BF209f6cc06",
380
+ "pip": "0xcCBa43231aC6eceBd1278B90c3a44711a00F4e93",
381
+ "isLP": true
326
382
  }
327
383
  ];
package/esm/types.d.ts CHANGED
@@ -27,6 +27,7 @@ declare type IlkData = {
27
27
  clipCalc?: (string);
28
28
  ilkBytes: (string);
29
29
  isLP: (boolean);
30
+ assetAddress?: (string);
30
31
  };
31
32
  declare type AaveMarketData = {
32
33
  name: (string);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/tokens",
3
- "version": "1.3.71",
3
+ "version": "1.3.72",
4
4
  "description": "Centralized asset data & utility functions\n",
5
5
  "main": "umd/index.js",
6
6
  "module": "esm/index.js",
@@ -1,9 +1,8 @@
1
1
  import React from 'react';
2
- import { v4 as uuid } from 'uuid';
3
2
 
4
3
  export default function ImusdIcon(props) {
5
4
  return (
6
- <svg width="193" height="193" viewBox="0 0 193 193" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <svg width="193" height="193" viewBox="0 0 193 193" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
7
6
  <circle cx="96.5" cy="96.5" r="96.5" fill="url(#paint0_linear_17997_56747)"/>
8
7
  <path d="M113 93.4043C113 95.427 112.428 97.2899 111.284 98.9932C110.176 100.661 108.534 102.009 106.356 103.039C104.216 104.068 101.632 104.635 98.6055 104.742V109H95.1176V104.635C91.0577 104.28 87.7359 103.092 85.1522 101.069C82.6055 99.0464 81.2584 96.2963 81.1107 92.8188H92.6817C92.8293 94.6285 93.6413 95.8173 95.1176 96.3851V89.5719C92.0173 88.7558 89.5813 88.0106 87.8097 87.3364C86.0381 86.6267 84.451 85.4911 83.0484 83.9298C81.6828 82.3684 81 80.2393 81 77.5425C81 75.3069 81.609 73.373 82.827 71.7407C84.0819 70.0729 85.7797 68.7954 87.9204 67.9083C90.0611 66.9857 92.4602 66.4534 95.1176 66.3114V62H98.6055V66.3114C102.702 66.5953 105.95 67.7308 108.349 69.718C110.785 71.7052 112.133 74.4375 112.391 77.9151H100.709C100.562 76.2827 99.8604 75.2005 98.6055 74.6682V81.4281L99.9896 81.8539C102.647 82.5636 104.843 83.3088 106.578 84.0895C108.349 84.8347 109.863 85.9702 111.118 87.496C112.373 88.9864 113 90.9558 113 93.4043ZM92.5709 77.0634C92.5709 78.3409 93.4198 79.3877 95.1176 80.2039V74.3488C93.4198 74.6327 92.5709 75.5376 92.5709 77.0634ZM98.6055 96.6512C99.4914 96.4738 100.193 96.1367 100.709 95.6399C101.226 95.1076 101.484 94.4511 101.484 93.6704C101.484 92.4285 100.525 91.4171 98.6055 90.6365V96.6512Z" fill="white"/>
9
8
  <circle cx="97" cy="97" r="51" stroke="white" strokeWidth="8"/>
@@ -2,7 +2,7 @@ import React from 'react';
2
2
 
3
3
  export default function MusdIcon(props) {
4
4
  return (
5
- <svg width="193" height="193" viewBox="0 0 193 193" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <svg width="193" height="193" viewBox="0 0 193 193" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
6
6
  <circle cx="96.5" cy="96.5" r="96.5" fill="url(#paint0_linear_17997_56712)"/>
7
7
  <path d="M118 90.0951C118 92.8063 117.249 95.3035 115.747 97.5866C114.294 99.8222 112.138 101.63 109.28 103.009C106.471 104.388 103.08 105.149 99.1073 105.292V111H94.5294V105.149C89.2007 104.674 84.8408 103.08 81.4498 100.369C78.1073 97.658 76.3391 93.9717 76.1453 89.3103H91.3322C91.526 91.7361 92.5917 93.3296 94.5294 94.0906V84.9581C90.4602 83.8641 87.263 82.8652 84.9377 81.9615C82.6125 81.0102 80.5294 79.4881 78.6886 77.3952C76.8962 75.3024 76 72.4485 76 68.8335C76 65.8369 76.7993 63.2446 78.3979 61.0566C80.045 58.8211 82.2734 57.1087 85.083 55.9196C87.8927 54.6829 91.0415 53.9694 94.5294 53.7792V48H99.1073V53.7792C104.484 54.1597 108.747 55.6818 111.896 58.3454C115.093 61.0091 116.862 64.6716 117.201 69.333H101.869C101.675 67.145 100.754 65.6942 99.1073 64.9807V74.0419L100.924 74.6127C104.412 75.564 107.294 76.5629 109.571 77.6093C111.896 78.6082 113.882 80.1302 115.529 82.1755C117.176 84.1733 118 86.8131 118 90.0951ZM91.1869 68.1914C91.1869 69.9037 92.301 71.3069 94.5294 72.4009V64.5527C92.301 64.9332 91.1869 66.1461 91.1869 68.1914ZM99.1073 94.4473C100.27 94.2095 101.19 93.7576 101.869 93.0917C102.547 92.3783 102.886 91.4983 102.886 90.4519C102.886 88.7871 101.626 87.4315 99.1073 86.3851V94.4473Z" fill="white"/>
8
8
  <rect x="52" y="126" width="89" height="13" fill="white"/>
package/src/assets.ts CHANGED
@@ -205,7 +205,7 @@ const AlethAddress = "0x0100546f2cd4c9d97f798ffc9755e47865ff7ee6";
205
205
  const EnsAddress = "0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72";
206
206
  const MusdAddress = "0xe2f2a5c287993345a840db3b0845fbc70f5935a5";
207
207
  const ImusdAddress = "0xe2f2a5c287993345a840db3b0845fbc70f5935a5";
208
-
208
+ const cUSDPAddress = "0x041171993284df560249B57358F931D9eB7b925D";
209
209
 
210
210
  import BlankIcon from './TokenIcons/BlankIcon.js';
211
211
  import ZrxIcon from './TokenIcons/ZrxIcon.js';
@@ -974,6 +974,17 @@ export const assets: AssetData[] = [
974
974
  isStable: true,
975
975
  icon: UsdpIcon,
976
976
  },
977
+ {
978
+ ...assetProto,
979
+ symbol: 'cUSDP',
980
+ underlyingAsset: 'USDP',
981
+ name: 'Pax Dollar',
982
+ decimals: 8,
983
+ exchange: false,
984
+ compoundCollateral: true,
985
+ address: cUSDPAddress,
986
+ icon: UsdpIcon,
987
+ },
977
988
  {
978
989
  ...assetProto,
979
990
  symbol: 'DPI',