@nexusmutual/sdk 0.0.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/.github/workflows/merge-master.yml +124 -0
- package/.github/workflows/pull_request.yml +62 -0
- package/README.md +32 -0
- package/dist/contracts/abis/Assessment.json +700 -0
- package/dist/contracts/abis/Cover.json +1258 -0
- package/dist/contracts/abis/CoverMigrator.json +189 -0
- package/dist/contracts/abis/CoverNFT.json +498 -0
- package/dist/contracts/abis/CoverNFTDescriptor.json +200 -0
- package/dist/contracts/abis/CoverViewer.json +124 -0
- package/dist/contracts/abis/EACAggregatorProxy.json +58 -0
- package/dist/contracts/abis/ERC20.json +364 -0
- package/dist/contracts/abis/Governance.json +975 -0
- package/dist/contracts/abis/IndividualClaims.json +528 -0
- package/dist/contracts/abis/LegacyClaimProofs.json +64 -0
- package/dist/contracts/abis/LegacyClaimsData.json +1912 -0
- package/dist/contracts/abis/LegacyClaimsReward.json +179 -0
- package/dist/contracts/abis/LegacyGateway.json +542 -0
- package/dist/contracts/abis/LegacyPooledStaking.json +1320 -0
- package/dist/contracts/abis/LegacyQuotationData.json +1121 -0
- package/dist/contracts/abis/MCR.json +326 -0
- package/dist/contracts/abis/MemberRoles.json +681 -0
- package/dist/contracts/abis/NXMToken.json +498 -0
- package/dist/contracts/abis/NXMaster.json +501 -0
- package/dist/contracts/abis/Pool.json +928 -0
- package/dist/contracts/abis/PriceFeedOracle.json +122 -0
- package/dist/contracts/abis/ProductsV1.json +21 -0
- package/dist/contracts/abis/ProposalCategory.json +550 -0
- package/dist/contracts/abis/StakingNFT.json +569 -0
- package/dist/contracts/abis/StakingNFTDescriptor.json +222 -0
- package/dist/contracts/abis/StakingPool.json +1433 -0
- package/dist/contracts/abis/StakingPoolFactory.json +108 -0
- package/dist/contracts/abis/StakingProducts.json +885 -0
- package/dist/contracts/abis/StakingViewer.json +777 -0
- package/dist/contracts/abis/SwapOperator.json +754 -0
- package/dist/contracts/abis/TokenController.json +1024 -0
- package/dist/contracts/abis/YieldTokenIncidents.json +438 -0
- package/dist/contracts/abis/index.js +69 -0
- package/dist/contracts/addresses.json +35 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +13 -0
- package/dist/products/product-logos.json +103 -0
- package/dist/products/product-types.json +58 -0
- package/dist/products/products.json +1414 -0
- package/package.json +50 -0
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "constructor",
|
|
4
|
+
"payable": false,
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"type": "address",
|
|
8
|
+
"name": "nxmAddress"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "address",
|
|
12
|
+
"name": "coverNFTAddress"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "event",
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"name": "IncidentPayoutRedeemed",
|
|
20
|
+
"inputs": [
|
|
21
|
+
{
|
|
22
|
+
"type": "address",
|
|
23
|
+
"name": "user",
|
|
24
|
+
"indexed": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "uint256",
|
|
28
|
+
"name": "amount",
|
|
29
|
+
"indexed": false
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "uint256",
|
|
33
|
+
"name": "incidentId",
|
|
34
|
+
"indexed": false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "uint256",
|
|
38
|
+
"name": "coverId",
|
|
39
|
+
"indexed": false
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "event",
|
|
45
|
+
"anonymous": false,
|
|
46
|
+
"name": "IncidentSubmitted",
|
|
47
|
+
"inputs": [
|
|
48
|
+
{
|
|
49
|
+
"type": "address",
|
|
50
|
+
"name": "user",
|
|
51
|
+
"indexed": false
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "uint256",
|
|
55
|
+
"name": "incidentId",
|
|
56
|
+
"indexed": false
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "uint256",
|
|
60
|
+
"name": "productId",
|
|
61
|
+
"indexed": false
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "uint256",
|
|
65
|
+
"name": "expectedPayoutInNXM",
|
|
66
|
+
"indexed": false
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "event",
|
|
72
|
+
"anonymous": false,
|
|
73
|
+
"name": "MetadataSubmitted",
|
|
74
|
+
"inputs": [
|
|
75
|
+
{
|
|
76
|
+
"type": "uint256",
|
|
77
|
+
"name": "incidentId",
|
|
78
|
+
"indexed": true
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "string",
|
|
82
|
+
"name": "ipfsMetadata",
|
|
83
|
+
"indexed": false
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "function",
|
|
89
|
+
"name": "ETH",
|
|
90
|
+
"constant": true,
|
|
91
|
+
"stateMutability": "view",
|
|
92
|
+
"payable": false,
|
|
93
|
+
|
|
94
|
+
"inputs": [],
|
|
95
|
+
"outputs": [
|
|
96
|
+
{
|
|
97
|
+
"type": "address"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "function",
|
|
103
|
+
"name": "ETH_ASSET_ID",
|
|
104
|
+
"constant": true,
|
|
105
|
+
"stateMutability": "view",
|
|
106
|
+
"payable": false,
|
|
107
|
+
|
|
108
|
+
"inputs": [],
|
|
109
|
+
"outputs": [
|
|
110
|
+
{
|
|
111
|
+
"type": "uint256"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "function",
|
|
117
|
+
"name": "changeDependentContractAddress",
|
|
118
|
+
"constant": false,
|
|
119
|
+
"payable": false,
|
|
120
|
+
|
|
121
|
+
"inputs": [],
|
|
122
|
+
"outputs": []
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "function",
|
|
126
|
+
"name": "changeMasterAddress",
|
|
127
|
+
"constant": false,
|
|
128
|
+
"payable": false,
|
|
129
|
+
|
|
130
|
+
"inputs": [
|
|
131
|
+
{
|
|
132
|
+
"type": "address",
|
|
133
|
+
"name": "masterAddress"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"outputs": []
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"type": "function",
|
|
140
|
+
"name": "config",
|
|
141
|
+
"constant": true,
|
|
142
|
+
"stateMutability": "view",
|
|
143
|
+
"payable": false,
|
|
144
|
+
|
|
145
|
+
"inputs": [],
|
|
146
|
+
"outputs": [
|
|
147
|
+
{
|
|
148
|
+
"type": "uint8",
|
|
149
|
+
"name": "payoutRedemptionPeriodInDays"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "uint16",
|
|
153
|
+
"name": "expectedPayoutRatio"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"type": "uint16",
|
|
157
|
+
"name": "payoutDeductibleRatio"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"type": "uint16",
|
|
161
|
+
"name": "maxRewardInNXMWad"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"type": "uint16",
|
|
165
|
+
"name": "rewardRatio"
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "function",
|
|
171
|
+
"name": "coverNFT",
|
|
172
|
+
"constant": true,
|
|
173
|
+
"stateMutability": "view",
|
|
174
|
+
"payable": false,
|
|
175
|
+
|
|
176
|
+
"inputs": [],
|
|
177
|
+
"outputs": [
|
|
178
|
+
{
|
|
179
|
+
"type": "address"
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"type": "function",
|
|
185
|
+
"name": "getIncidentsCount",
|
|
186
|
+
"constant": true,
|
|
187
|
+
"stateMutability": "view",
|
|
188
|
+
"payable": false,
|
|
189
|
+
|
|
190
|
+
"inputs": [],
|
|
191
|
+
"outputs": [
|
|
192
|
+
{
|
|
193
|
+
"type": "uint256"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "function",
|
|
199
|
+
"name": "getIncidentsToDisplay",
|
|
200
|
+
"constant": true,
|
|
201
|
+
"stateMutability": "view",
|
|
202
|
+
"payable": false,
|
|
203
|
+
|
|
204
|
+
"inputs": [
|
|
205
|
+
{
|
|
206
|
+
"type": "uint104[]",
|
|
207
|
+
"name": "ids"
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"outputs": [
|
|
211
|
+
{
|
|
212
|
+
"type": "tuple[]",
|
|
213
|
+
"components": [
|
|
214
|
+
{
|
|
215
|
+
"type": "uint256",
|
|
216
|
+
"name": "id"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "uint256",
|
|
220
|
+
"name": "productId"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"type": "uint256",
|
|
224
|
+
"name": "priceBefore"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "uint256",
|
|
228
|
+
"name": "incidentDate"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"type": "uint256",
|
|
232
|
+
"name": "pollStart"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"type": "uint256",
|
|
236
|
+
"name": "pollEnd"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"type": "uint256",
|
|
240
|
+
"name": "redeemableUntil"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"type": "uint256",
|
|
244
|
+
"name": "status"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"type": "function",
|
|
252
|
+
"name": "incidents",
|
|
253
|
+
"constant": true,
|
|
254
|
+
"stateMutability": "view",
|
|
255
|
+
"payable": false,
|
|
256
|
+
|
|
257
|
+
"inputs": [
|
|
258
|
+
{
|
|
259
|
+
"type": "uint256"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"outputs": [
|
|
263
|
+
{
|
|
264
|
+
"type": "uint80",
|
|
265
|
+
"name": "assessmentId"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"type": "uint24",
|
|
269
|
+
"name": "productId"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"type": "uint32",
|
|
273
|
+
"name": "date"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"type": "uint96",
|
|
277
|
+
"name": "priceBefore"
|
|
278
|
+
}
|
|
279
|
+
]
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"type": "function",
|
|
283
|
+
"name": "internalContracts",
|
|
284
|
+
"constant": true,
|
|
285
|
+
"stateMutability": "view",
|
|
286
|
+
"payable": false,
|
|
287
|
+
|
|
288
|
+
"inputs": [
|
|
289
|
+
{
|
|
290
|
+
"type": "uint256"
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
"outputs": [
|
|
294
|
+
{
|
|
295
|
+
"type": "address"
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"type": "function",
|
|
301
|
+
"name": "master",
|
|
302
|
+
"constant": true,
|
|
303
|
+
"stateMutability": "view",
|
|
304
|
+
"payable": false,
|
|
305
|
+
|
|
306
|
+
"inputs": [],
|
|
307
|
+
"outputs": [
|
|
308
|
+
{
|
|
309
|
+
"type": "address"
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type": "function",
|
|
315
|
+
"name": "nxm",
|
|
316
|
+
"constant": true,
|
|
317
|
+
"stateMutability": "view",
|
|
318
|
+
"payable": false,
|
|
319
|
+
|
|
320
|
+
"inputs": [],
|
|
321
|
+
"outputs": [
|
|
322
|
+
{
|
|
323
|
+
"type": "address"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"type": "function",
|
|
329
|
+
"name": "redeemPayout",
|
|
330
|
+
"constant": false,
|
|
331
|
+
"payable": false,
|
|
332
|
+
|
|
333
|
+
"inputs": [
|
|
334
|
+
{
|
|
335
|
+
"type": "uint104",
|
|
336
|
+
"name": "incidentId"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"type": "uint32",
|
|
340
|
+
"name": "coverId"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"type": "uint256",
|
|
344
|
+
"name": "segmentId"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"type": "uint256",
|
|
348
|
+
"name": "depeggedTokens"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"type": "address",
|
|
352
|
+
"name": "payoutAddress"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"type": "bytes",
|
|
356
|
+
"name": "optionalParams"
|
|
357
|
+
}
|
|
358
|
+
],
|
|
359
|
+
"outputs": [
|
|
360
|
+
{
|
|
361
|
+
"type": "uint256"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"type": "uint8"
|
|
365
|
+
}
|
|
366
|
+
]
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"type": "function",
|
|
370
|
+
"name": "submitIncident",
|
|
371
|
+
"constant": false,
|
|
372
|
+
"payable": false,
|
|
373
|
+
|
|
374
|
+
"inputs": [
|
|
375
|
+
{
|
|
376
|
+
"type": "uint24",
|
|
377
|
+
"name": "productId"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"type": "uint96",
|
|
381
|
+
"name": "priceBefore"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"type": "uint32",
|
|
385
|
+
"name": "date"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"type": "uint256",
|
|
389
|
+
"name": "expectedPayoutInNXM"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"type": "string",
|
|
393
|
+
"name": "ipfsMetadata"
|
|
394
|
+
}
|
|
395
|
+
],
|
|
396
|
+
"outputs": []
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"type": "function",
|
|
400
|
+
"name": "updateUintParameters",
|
|
401
|
+
"constant": false,
|
|
402
|
+
"payable": false,
|
|
403
|
+
|
|
404
|
+
"inputs": [
|
|
405
|
+
{
|
|
406
|
+
"type": "uint8[]",
|
|
407
|
+
"name": "paramNames"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"type": "uint256[]",
|
|
411
|
+
"name": "values"
|
|
412
|
+
}
|
|
413
|
+
],
|
|
414
|
+
"outputs": []
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"type": "function",
|
|
418
|
+
"name": "withdrawAsset",
|
|
419
|
+
"constant": false,
|
|
420
|
+
"payable": false,
|
|
421
|
+
|
|
422
|
+
"inputs": [
|
|
423
|
+
{
|
|
424
|
+
"type": "address",
|
|
425
|
+
"name": "asset"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"type": "address",
|
|
429
|
+
"name": "destination"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"type": "uint256",
|
|
433
|
+
"name": "amount"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"outputs": []
|
|
437
|
+
}
|
|
438
|
+
]
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
const Assessment = require('./abis/Assessment.json');
|
|
2
|
+
const Cover = require('./abis/Cover.json');
|
|
3
|
+
const CoverMigrator = require('./abis/CoverMigrator.json');
|
|
4
|
+
const CoverNFT = require('./abis/CoverNFT.json');
|
|
5
|
+
const CoverNFTDescriptor = require('./abis/CoverNFTDescriptor.json');
|
|
6
|
+
const CoverViewer = require('./abis/CoverViewer.json');
|
|
7
|
+
const EACAggregatorProxy = require('./abis/EACAggregatorProxy.json');
|
|
8
|
+
const ERC20 = require('./abis/ERC20.json');
|
|
9
|
+
const Governance = require('./abis/Governance.json');
|
|
10
|
+
const IndividualClaims = require('./abis/IndividualClaims.json');
|
|
11
|
+
const LegacyClaimProofs = require('./abis/LegacyClaimProofs.json');
|
|
12
|
+
const LegacyClaimsData = require('./abis/LegacyClaimsData.json');
|
|
13
|
+
const LegacyClaimsReward = require('./abis/LegacyClaimsReward.json');
|
|
14
|
+
const LegacyGateway = require('./abis/LegacyGateway.json');
|
|
15
|
+
const LegacyPooledStaking = require('./abis/LegacyPooledStaking.json');
|
|
16
|
+
const LegacyQuotationData = require('./abis/LegacyQuotationData.json');
|
|
17
|
+
const MCR = require('./abis/MCR.json');
|
|
18
|
+
const MemberRoles = require('./abis/MemberRoles.json');
|
|
19
|
+
const NXMToken = require('./abis/NXMToken.json');
|
|
20
|
+
const NXMaster = require('./abis/NXMaster.json');
|
|
21
|
+
const Pool = require('./abis/Pool.json');
|
|
22
|
+
const PriceFeedOracle = require('./abis/PriceFeedOracle.json');
|
|
23
|
+
const ProductsV1 = require('./abis/ProductsV1.json');
|
|
24
|
+
const ProposalCategory = require('./abis/ProposalCategory.json');
|
|
25
|
+
const StakingNFT = require('./abis/StakingNFT.json');
|
|
26
|
+
const StakingNFTDescriptor = require('./abis/StakingNFTDescriptor.json');
|
|
27
|
+
const StakingPool = require('./abis/StakingPool.json');
|
|
28
|
+
const StakingPoolFactory = require('./abis/StakingPoolFactory.json');
|
|
29
|
+
const StakingProducts = require('./abis/StakingProducts.json');
|
|
30
|
+
const StakingViewer = require('./abis/StakingViewer.json');
|
|
31
|
+
const SwapOperator = require('./abis/SwapOperator.json');
|
|
32
|
+
const TokenController = require('./abis/TokenController.json');
|
|
33
|
+
const YieldTokenIncidents = require('./abis/YieldTokenIncidents.json');
|
|
34
|
+
|
|
35
|
+
module.exports = {
|
|
36
|
+
Assessment,
|
|
37
|
+
Cover,
|
|
38
|
+
CoverMigrator,
|
|
39
|
+
CoverNFT,
|
|
40
|
+
CoverNFTDescriptor,
|
|
41
|
+
CoverViewer,
|
|
42
|
+
EACAggregatorProxy,
|
|
43
|
+
ERC20,
|
|
44
|
+
Governance,
|
|
45
|
+
IndividualClaims,
|
|
46
|
+
LegacyClaimProofs,
|
|
47
|
+
LegacyClaimsData,
|
|
48
|
+
LegacyClaimsReward,
|
|
49
|
+
LegacyGateway,
|
|
50
|
+
LegacyPooledStaking,
|
|
51
|
+
LegacyQuotationData,
|
|
52
|
+
MCR,
|
|
53
|
+
MemberRoles,
|
|
54
|
+
NXMToken,
|
|
55
|
+
NXMaster,
|
|
56
|
+
Pool,
|
|
57
|
+
PriceFeedOracle,
|
|
58
|
+
ProductsV1,
|
|
59
|
+
ProposalCategory,
|
|
60
|
+
StakingNFT,
|
|
61
|
+
StakingNFTDescriptor,
|
|
62
|
+
StakingPool,
|
|
63
|
+
StakingPoolFactory,
|
|
64
|
+
StakingProducts,
|
|
65
|
+
StakingViewer,
|
|
66
|
+
SwapOperator,
|
|
67
|
+
TokenController,
|
|
68
|
+
YieldTokenIncidents,
|
|
69
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Assessment": "0xcafeaa5f9c401b7295890f309168Bbb8173690A3",
|
|
3
|
+
"Chainlink-DAI-ETH": "0x773616E4d11A78F511299002da57A0a94577F1f4",
|
|
4
|
+
"Chainlink-ENZYME-VAULT": "0xCc72039A141c6e34a779eF93AEF5eB4C82A893c7",
|
|
5
|
+
"Chainlink-ETH-USD": "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
|
|
6
|
+
"Chainlink-STETH-ETH": "0x86392dC19c0b719886221c78AB11eb8Cf5c52812",
|
|
7
|
+
"Cover": "0xcafeac0fF5dA0A2777d915531bfA6B29d282Ee62",
|
|
8
|
+
"CoverMigrator": "0xcafeac41b010299A9bec5308CCe6aFC2c4DF8D39",
|
|
9
|
+
"CoverNFT": "0xcafeaCa76be547F14D0220482667B42D8E7Bc3eb",
|
|
10
|
+
"CoverViewer": "0xcafea84e199C85E44F34CD75374188D33FB94B4b",
|
|
11
|
+
"DAI": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
|
|
12
|
+
"Governance": "0x4A5C681dDC32acC6ccA51ac17e9d461e6be87900",
|
|
13
|
+
"IndividualClaims": "0xcafeac12feE6b65A710fA9299A98D65B4fdE7a62",
|
|
14
|
+
"LegacyClaimProofs": "0xcafea81b73daB8F42C5eca7d2E821A82660B6775",
|
|
15
|
+
"LegacyClaimsData": "0xdc2D359F59F6a26162972c3Bd0cFBfd8C9Ef43af",
|
|
16
|
+
"LegacyClaimsReward": "0xcafeaDcAcAA2CD81b3c54833D6896596d218BFaB",
|
|
17
|
+
"LegacyGateway": "0x089Ab1536D032F54DFbC194Ba47529a4351af1B5",
|
|
18
|
+
"LegacyPooledStaking": "0x84EdfFA16bb0b9Ab1163abb0a13Ff0744c11272f",
|
|
19
|
+
"LegacyQuotationData": "0x1776651F58a17a50098d31ba3C3cD259C1903f7A",
|
|
20
|
+
"MCR": "0xcafea444db21dc06f34570185cF0014701c7D62e",
|
|
21
|
+
"MemberRoles": "0x055CC48f7968FD8640EF140610dd4038e1b03926",
|
|
22
|
+
"NXMToken": "0xd7c49CEE7E9188cCa6AD8FF264C1DA2e69D4Cf3B",
|
|
23
|
+
"NXMaster": "0x01BFd82675DBCc7762C84019cA518e701C0cD07e",
|
|
24
|
+
"Pool": "0xcafea112Db32436c2390F5EC988f3aDB96870627",
|
|
25
|
+
"PriceFeedOracle": "0xcafeaf0a0672360941B7F0b6D015797292e842C6",
|
|
26
|
+
"ProductsV1": "0xcafeab02966FdC69Ce5aFDD532DD51466892E32B",
|
|
27
|
+
"ProposalCategory": "0x888eA6Ab349c854936b98586CE6a17E98BF254b2",
|
|
28
|
+
"StakingNFT": "0xcafea508a477D94c502c253A58239fb8F948e97f",
|
|
29
|
+
"StakingPoolFactory": "0xcafeafb97BF8831D95C0FC659b8eB3946B101CB3",
|
|
30
|
+
"StakingProducts": "0xcafea573fBd815B5f59e8049E71E554bde3477E4",
|
|
31
|
+
"StakingViewer": "0xcafea91e78C9a9Ac83c84c51656c278dE599cf8E",
|
|
32
|
+
"SwapOperator": "0xcafea536d7f79F31Fa49bC40349f6a5F7E19D842",
|
|
33
|
+
"TokenController": "0x5407381b6c251cFd498ccD4A1d877739CB7960B8",
|
|
34
|
+
"YieldTokenIncidents": "0xcafeac831dC5ca0D7ef467953b7822D2f44C8f83"
|
|
35
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as abis } from '@nexusmutual/sdk/dist/contracts/abis';
|
|
2
|
+
export { default as addresses } from '@nexusmutual/sdk/dist/contracts/addresses.json';
|
|
3
|
+
export { default as productTypes } from '@nexusmutual/sdk/dist/products/product-types.json';
|
|
4
|
+
export { default as products } from '@nexusmutual/sdk/dist/products/products.json';
|
|
5
|
+
export { default as logos } from '@nexusmutual/sdk/dist/products/product-logos.json';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const abis = require('./contracts/abis');
|
|
2
|
+
const addresses = require('./contracts/addresses.json');
|
|
3
|
+
const productTypes = require('./products/product-types.json');
|
|
4
|
+
const products = require('./products/products.json');
|
|
5
|
+
const logos = require('./products/product-logos.json');
|
|
6
|
+
|
|
7
|
+
module.exports = {
|
|
8
|
+
abis,
|
|
9
|
+
addresses,
|
|
10
|
+
productTypes,
|
|
11
|
+
products,
|
|
12
|
+
logos,
|
|
13
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
[
|
|
2
|
+
"zerox.svg",
|
|
3
|
+
"oneinch.svg",
|
|
4
|
+
"aavev2.svg",
|
|
5
|
+
"abracadabra.svg",
|
|
6
|
+
"alchemix.svg",
|
|
7
|
+
"anchor.svg",
|
|
8
|
+
"angle.svg",
|
|
9
|
+
"argent.svg",
|
|
10
|
+
"aura.svg",
|
|
11
|
+
"babylon.svg",
|
|
12
|
+
"badgerdao.svg",
|
|
13
|
+
"balancer.svg",
|
|
14
|
+
"bancor.svg",
|
|
15
|
+
"bancor.svg",
|
|
16
|
+
"beefy.svg",
|
|
17
|
+
"binance.svg",
|
|
18
|
+
"blockFi.svg",
|
|
19
|
+
"gelt.svg",
|
|
20
|
+
"centrifuge.svg",
|
|
21
|
+
"coinbase.svg",
|
|
22
|
+
"compoundv2.svg",
|
|
23
|
+
"convex.svg",
|
|
24
|
+
"convex.svg",
|
|
25
|
+
"convex.svg",
|
|
26
|
+
"crypto-com.svg",
|
|
27
|
+
"curve.svg",
|
|
28
|
+
"curve.svg",
|
|
29
|
+
"curve.svg",
|
|
30
|
+
"dydx.svg",
|
|
31
|
+
"ease.svg",
|
|
32
|
+
"enzyme.svg",
|
|
33
|
+
"enzyme.svg",
|
|
34
|
+
"eth.svg",
|
|
35
|
+
"euler.svg",
|
|
36
|
+
"fodl.svg",
|
|
37
|
+
"ftx.svg",
|
|
38
|
+
"gearbox.svg",
|
|
39
|
+
"gemini.svg",
|
|
40
|
+
"gmx.svg",
|
|
41
|
+
"goldfinch.svg",
|
|
42
|
+
"hodlnaut.svg",
|
|
43
|
+
"kraken.svg",
|
|
44
|
+
"ledn.svg",
|
|
45
|
+
"liquidcollective.svg",
|
|
46
|
+
"liquity.svg",
|
|
47
|
+
"makerdao.svg",
|
|
48
|
+
"mstable.svg",
|
|
49
|
+
"nested.svg",
|
|
50
|
+
"nexo.svg",
|
|
51
|
+
"notional-finance.svg",
|
|
52
|
+
"olympusdao.svg",
|
|
53
|
+
"opyn.png",
|
|
54
|
+
"originusd.svg",
|
|
55
|
+
"pangolin.svg",
|
|
56
|
+
"perpetual.svg",
|
|
57
|
+
"pooltogether.svg",
|
|
58
|
+
"premia.svg",
|
|
59
|
+
"rari.svg",
|
|
60
|
+
"reflexer.png",
|
|
61
|
+
"ribbon.svg",
|
|
62
|
+
"gnosis-safe.svg",
|
|
63
|
+
"tokensets.svg",
|
|
64
|
+
"tokensets.svg",
|
|
65
|
+
"sherlock.svg",
|
|
66
|
+
"stakedao.svg",
|
|
67
|
+
"stakewise.svg",
|
|
68
|
+
"stakewise.svg",
|
|
69
|
+
"sushiswap.svg",
|
|
70
|
+
"synthetix.svg",
|
|
71
|
+
"thorchain.svg",
|
|
72
|
+
"trader-joe.svg",
|
|
73
|
+
"uniswapv2.svg",
|
|
74
|
+
"uniswapv2.svg",
|
|
75
|
+
"vector.svg",
|
|
76
|
+
"vesper.svg",
|
|
77
|
+
"yearn.svg",
|
|
78
|
+
"yearn.svg",
|
|
79
|
+
"yeti.png",
|
|
80
|
+
"yield-app.svg",
|
|
81
|
+
"alpaca.svg",
|
|
82
|
+
"wefi.png",
|
|
83
|
+
"exactly.svg",
|
|
84
|
+
"etherfi.png",
|
|
85
|
+
"squeeth-by-opyn.svg",
|
|
86
|
+
"rage-trade.svg",
|
|
87
|
+
"sentiment.png",
|
|
88
|
+
"lyra.svg",
|
|
89
|
+
"perennial.jpeg",
|
|
90
|
+
"liquify.svg",
|
|
91
|
+
"lyra.svg",
|
|
92
|
+
"buffer-finance.svg",
|
|
93
|
+
"hook.jpeg",
|
|
94
|
+
"holyheld.jpeg",
|
|
95
|
+
"union-finance.svg",
|
|
96
|
+
"openq.png",
|
|
97
|
+
"level-finance.png",
|
|
98
|
+
"offramp.png",
|
|
99
|
+
"morpho.svg",
|
|
100
|
+
"aavev3.svg",
|
|
101
|
+
"chorusone.svg",
|
|
102
|
+
"kiln.svg"
|
|
103
|
+
]
|