@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.
Files changed (44) hide show
  1. package/.github/workflows/merge-master.yml +124 -0
  2. package/.github/workflows/pull_request.yml +62 -0
  3. package/README.md +32 -0
  4. package/dist/contracts/abis/Assessment.json +700 -0
  5. package/dist/contracts/abis/Cover.json +1258 -0
  6. package/dist/contracts/abis/CoverMigrator.json +189 -0
  7. package/dist/contracts/abis/CoverNFT.json +498 -0
  8. package/dist/contracts/abis/CoverNFTDescriptor.json +200 -0
  9. package/dist/contracts/abis/CoverViewer.json +124 -0
  10. package/dist/contracts/abis/EACAggregatorProxy.json +58 -0
  11. package/dist/contracts/abis/ERC20.json +364 -0
  12. package/dist/contracts/abis/Governance.json +975 -0
  13. package/dist/contracts/abis/IndividualClaims.json +528 -0
  14. package/dist/contracts/abis/LegacyClaimProofs.json +64 -0
  15. package/dist/contracts/abis/LegacyClaimsData.json +1912 -0
  16. package/dist/contracts/abis/LegacyClaimsReward.json +179 -0
  17. package/dist/contracts/abis/LegacyGateway.json +542 -0
  18. package/dist/contracts/abis/LegacyPooledStaking.json +1320 -0
  19. package/dist/contracts/abis/LegacyQuotationData.json +1121 -0
  20. package/dist/contracts/abis/MCR.json +326 -0
  21. package/dist/contracts/abis/MemberRoles.json +681 -0
  22. package/dist/contracts/abis/NXMToken.json +498 -0
  23. package/dist/contracts/abis/NXMaster.json +501 -0
  24. package/dist/contracts/abis/Pool.json +928 -0
  25. package/dist/contracts/abis/PriceFeedOracle.json +122 -0
  26. package/dist/contracts/abis/ProductsV1.json +21 -0
  27. package/dist/contracts/abis/ProposalCategory.json +550 -0
  28. package/dist/contracts/abis/StakingNFT.json +569 -0
  29. package/dist/contracts/abis/StakingNFTDescriptor.json +222 -0
  30. package/dist/contracts/abis/StakingPool.json +1433 -0
  31. package/dist/contracts/abis/StakingPoolFactory.json +108 -0
  32. package/dist/contracts/abis/StakingProducts.json +885 -0
  33. package/dist/contracts/abis/StakingViewer.json +777 -0
  34. package/dist/contracts/abis/SwapOperator.json +754 -0
  35. package/dist/contracts/abis/TokenController.json +1024 -0
  36. package/dist/contracts/abis/YieldTokenIncidents.json +438 -0
  37. package/dist/contracts/abis/index.js +69 -0
  38. package/dist/contracts/addresses.json +35 -0
  39. package/dist/index.d.ts +5 -0
  40. package/dist/index.js +13 -0
  41. package/dist/products/product-logos.json +103 -0
  42. package/dist/products/product-types.json +58 -0
  43. package/dist/products/products.json +1414 -0
  44. package/package.json +50 -0
@@ -0,0 +1,501 @@
1
+ [
2
+ {
3
+ "type": "event",
4
+ "anonymous": false,
5
+ "name": "ContractRemoved",
6
+ "inputs": [
7
+ {
8
+ "type": "bytes2",
9
+ "name": "code",
10
+ "indexed": true
11
+ },
12
+ {
13
+ "type": "address",
14
+ "name": "contractAddress",
15
+ "indexed": false
16
+ }
17
+ ]
18
+ },
19
+ {
20
+ "type": "event",
21
+ "anonymous": false,
22
+ "name": "ContractUpgraded",
23
+ "inputs": [
24
+ {
25
+ "type": "bytes2",
26
+ "name": "code",
27
+ "indexed": true
28
+ },
29
+ {
30
+ "type": "address",
31
+ "name": "newAddress",
32
+ "indexed": false
33
+ },
34
+ {
35
+ "type": "address",
36
+ "name": "previousAddress",
37
+ "indexed": false
38
+ },
39
+ {
40
+ "type": "uint8",
41
+ "name": "contractType",
42
+ "indexed": true
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ "type": "event",
48
+ "anonymous": false,
49
+ "name": "InternalContractAdded",
50
+ "inputs": [
51
+ {
52
+ "type": "bytes2",
53
+ "name": "code",
54
+ "indexed": true
55
+ },
56
+ {
57
+ "type": "address",
58
+ "name": "contractAddress",
59
+ "indexed": false
60
+ },
61
+ {
62
+ "type": "uint8",
63
+ "name": "contractType",
64
+ "indexed": true
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "type": "event",
70
+ "anonymous": false,
71
+ "name": "PauseConfigured",
72
+ "inputs": [
73
+ {
74
+ "type": "bool",
75
+ "name": "paused",
76
+ "indexed": false
77
+ }
78
+ ]
79
+ },
80
+ {
81
+ "type": "function",
82
+ "name": "_unused0",
83
+ "constant": true,
84
+ "stateMutability": "view",
85
+ "payable": false,
86
+
87
+ "inputs": [],
88
+ "outputs": [
89
+ {
90
+ "type": "uint256"
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "type": "function",
96
+ "name": "_unused1",
97
+ "constant": true,
98
+ "stateMutability": "view",
99
+ "payable": false,
100
+
101
+ "inputs": [],
102
+ "outputs": [
103
+ {
104
+ "type": "uint256"
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "type": "function",
110
+ "name": "_unusedM",
111
+ "constant": true,
112
+ "stateMutability": "view",
113
+ "payable": false,
114
+
115
+ "inputs": [],
116
+ "outputs": [
117
+ {
118
+ "type": "address"
119
+ }
120
+ ]
121
+ },
122
+ {
123
+ "type": "function",
124
+ "name": "addNewInternalContracts",
125
+ "constant": false,
126
+ "payable": false,
127
+
128
+ "inputs": [
129
+ {
130
+ "type": "bytes2[]",
131
+ "name": "newContractCodes"
132
+ },
133
+ {
134
+ "type": "address[]",
135
+ "name": "newAddresses"
136
+ },
137
+ {
138
+ "type": "uint256[]",
139
+ "name": "_types"
140
+ }
141
+ ],
142
+ "outputs": []
143
+ },
144
+ {
145
+ "type": "function",
146
+ "name": "checkIsAuthToGoverned",
147
+ "constant": true,
148
+ "stateMutability": "view",
149
+ "payable": false,
150
+
151
+ "inputs": [
152
+ {
153
+ "type": "address",
154
+ "name": "_add"
155
+ }
156
+ ],
157
+ "outputs": [
158
+ {
159
+ "type": "bool"
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "type": "function",
165
+ "name": "contractAddresses",
166
+ "constant": true,
167
+ "stateMutability": "view",
168
+ "payable": false,
169
+
170
+ "inputs": [
171
+ {
172
+ "type": "bytes2"
173
+ }
174
+ ],
175
+ "outputs": [
176
+ {
177
+ "type": "address"
178
+ }
179
+ ]
180
+ },
181
+ {
182
+ "type": "function",
183
+ "name": "contractCodes",
184
+ "constant": true,
185
+ "stateMutability": "view",
186
+ "payable": false,
187
+
188
+ "inputs": [
189
+ {
190
+ "type": "uint256"
191
+ }
192
+ ],
193
+ "outputs": [
194
+ {
195
+ "type": "bytes2"
196
+ }
197
+ ]
198
+ },
199
+ {
200
+ "type": "function",
201
+ "name": "contractsActive",
202
+ "constant": true,
203
+ "stateMutability": "view",
204
+ "payable": false,
205
+
206
+ "inputs": [
207
+ {
208
+ "type": "address"
209
+ }
210
+ ],
211
+ "outputs": [
212
+ {
213
+ "type": "bool"
214
+ }
215
+ ]
216
+ },
217
+ {
218
+ "type": "function",
219
+ "name": "dAppLocker",
220
+ "constant": true,
221
+ "stateMutability": "view",
222
+ "payable": false,
223
+
224
+ "inputs": [],
225
+ "outputs": [
226
+ {
227
+ "type": "address"
228
+ }
229
+ ]
230
+ },
231
+ {
232
+ "type": "function",
233
+ "name": "emergencyAdmin",
234
+ "constant": true,
235
+ "stateMutability": "view",
236
+ "payable": false,
237
+
238
+ "inputs": [],
239
+ "outputs": [
240
+ {
241
+ "type": "address"
242
+ }
243
+ ]
244
+ },
245
+ {
246
+ "type": "function",
247
+ "name": "getInternalContracts",
248
+ "constant": true,
249
+ "stateMutability": "view",
250
+ "payable": false,
251
+
252
+ "inputs": [],
253
+ "outputs": [
254
+ {
255
+ "type": "bytes2[]",
256
+ "name": "_contractCodes"
257
+ },
258
+ {
259
+ "type": "address[]",
260
+ "name": "_contractAddresses"
261
+ }
262
+ ]
263
+ },
264
+ {
265
+ "type": "function",
266
+ "name": "getLatestAddress",
267
+ "constant": true,
268
+ "stateMutability": "view",
269
+ "payable": false,
270
+
271
+ "inputs": [
272
+ {
273
+ "type": "bytes2",
274
+ "name": "_contractName"
275
+ }
276
+ ],
277
+ "outputs": [
278
+ {
279
+ "type": "address",
280
+ "name": "contractAddress"
281
+ }
282
+ ]
283
+ },
284
+ {
285
+ "type": "function",
286
+ "name": "initializeEmergencyAdmin",
287
+ "constant": false,
288
+ "payable": false,
289
+
290
+ "inputs": [],
291
+ "outputs": []
292
+ },
293
+ {
294
+ "type": "function",
295
+ "name": "isInternal",
296
+ "constant": true,
297
+ "stateMutability": "view",
298
+ "payable": false,
299
+
300
+ "inputs": [
301
+ {
302
+ "type": "address",
303
+ "name": "_contractAddress"
304
+ }
305
+ ],
306
+ "outputs": [
307
+ {
308
+ "type": "bool"
309
+ }
310
+ ]
311
+ },
312
+ {
313
+ "type": "function",
314
+ "name": "isMember",
315
+ "constant": true,
316
+ "stateMutability": "view",
317
+ "payable": false,
318
+
319
+ "inputs": [
320
+ {
321
+ "type": "address",
322
+ "name": "_add"
323
+ }
324
+ ],
325
+ "outputs": [
326
+ {
327
+ "type": "bool"
328
+ }
329
+ ]
330
+ },
331
+ {
332
+ "type": "function",
333
+ "name": "isPause",
334
+ "constant": true,
335
+ "stateMutability": "view",
336
+ "payable": false,
337
+
338
+ "inputs": [],
339
+ "outputs": [
340
+ {
341
+ "type": "bool"
342
+ }
343
+ ]
344
+ },
345
+ {
346
+ "type": "function",
347
+ "name": "isProxy",
348
+ "constant": true,
349
+ "stateMutability": "view",
350
+ "payable": false,
351
+
352
+ "inputs": [
353
+ {
354
+ "type": "bytes2"
355
+ }
356
+ ],
357
+ "outputs": [
358
+ {
359
+ "type": "bool"
360
+ }
361
+ ]
362
+ },
363
+ {
364
+ "type": "function",
365
+ "name": "isReplaceable",
366
+ "constant": true,
367
+ "stateMutability": "view",
368
+ "payable": false,
369
+
370
+ "inputs": [
371
+ {
372
+ "type": "bytes2"
373
+ }
374
+ ],
375
+ "outputs": [
376
+ {
377
+ "type": "bool"
378
+ }
379
+ ]
380
+ },
381
+ {
382
+ "type": "function",
383
+ "name": "masterInitialized",
384
+ "constant": true,
385
+ "stateMutability": "view",
386
+ "payable": false,
387
+
388
+ "inputs": [],
389
+ "outputs": [
390
+ {
391
+ "type": "bool"
392
+ }
393
+ ]
394
+ },
395
+ {
396
+ "type": "function",
397
+ "name": "owner",
398
+ "constant": true,
399
+ "stateMutability": "view",
400
+ "payable": false,
401
+
402
+ "inputs": [],
403
+ "outputs": [
404
+ {
405
+ "type": "address"
406
+ }
407
+ ]
408
+ },
409
+ {
410
+ "type": "function",
411
+ "name": "paused",
412
+ "constant": true,
413
+ "stateMutability": "view",
414
+ "payable": false,
415
+
416
+ "inputs": [],
417
+ "outputs": [
418
+ {
419
+ "type": "bool"
420
+ }
421
+ ]
422
+ },
423
+ {
424
+ "type": "function",
425
+ "name": "removeContracts",
426
+ "constant": false,
427
+ "payable": false,
428
+
429
+ "inputs": [
430
+ {
431
+ "type": "bytes2[]",
432
+ "name": "contractCodesToRemove"
433
+ }
434
+ ],
435
+ "outputs": []
436
+ },
437
+ {
438
+ "type": "function",
439
+ "name": "setEmergencyPause",
440
+ "constant": false,
441
+ "payable": false,
442
+
443
+ "inputs": [
444
+ {
445
+ "type": "bool",
446
+ "name": "_paused"
447
+ }
448
+ ],
449
+ "outputs": []
450
+ },
451
+ {
452
+ "type": "function",
453
+ "name": "tokenAddress",
454
+ "constant": true,
455
+ "stateMutability": "view",
456
+ "payable": false,
457
+
458
+ "inputs": [],
459
+ "outputs": [
460
+ {
461
+ "type": "address"
462
+ }
463
+ ]
464
+ },
465
+ {
466
+ "type": "function",
467
+ "name": "updateOwnerParameters",
468
+ "constant": false,
469
+ "payable": false,
470
+
471
+ "inputs": [
472
+ {
473
+ "type": "bytes8",
474
+ "name": "code"
475
+ },
476
+ {
477
+ "type": "address",
478
+ "name": "val"
479
+ }
480
+ ],
481
+ "outputs": []
482
+ },
483
+ {
484
+ "type": "function",
485
+ "name": "upgradeMultipleContracts",
486
+ "constant": false,
487
+ "payable": false,
488
+
489
+ "inputs": [
490
+ {
491
+ "type": "bytes2[]",
492
+ "name": "_contractCodes"
493
+ },
494
+ {
495
+ "type": "address[]",
496
+ "name": "newAddresses"
497
+ }
498
+ ],
499
+ "outputs": []
500
+ }
501
+ ]