@nexusmutual/sdk 1.12.0-rc.3 → 1.12.0-rc.5

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 (47) hide show
  1. package/README.md +16 -22
  2. package/dist/data/abis/{Assessment.json → Assessments.json} +370 -416
  3. package/dist/data/abis/{IndividualClaims.json → Claims.json} +325 -264
  4. package/dist/data/abis/Cover.json +447 -110
  5. package/dist/data/abis/CoverBroker.json +79 -34
  6. package/dist/data/abis/CoverProducts.json +55 -0
  7. package/dist/data/abis/Governor.json +803 -0
  8. package/dist/data/abis/LimitOrders.json +0 -7
  9. package/dist/data/abis/NXMaster.json +37 -223
  10. package/dist/data/abis/Pool.json +415 -229
  11. package/dist/data/abis/Ramm.json +97 -67
  12. package/dist/data/abis/{MemberRoles.json → Registry.json} +553 -249
  13. package/dist/data/abis/SafeTracker.json +94 -58
  14. package/dist/data/abis/StakingProducts.json +1 -14
  15. package/dist/data/abis/StakingViewer.json +87 -24
  16. package/dist/data/abis/SwapOperator.json +365 -209
  17. package/dist/data/abis/TokenController.json +77 -303
  18. package/dist/data/addresses.json +6 -10
  19. package/dist/data/product-types.json +34 -27
  20. package/dist/data/products.json +417 -93
  21. package/dist/data/version.json +1 -1
  22. package/dist/index.d.mts +13812 -13585
  23. package/dist/index.d.ts +13812 -13585
  24. package/dist/index.js +19332 -18976
  25. package/dist/index.js.map +1 -1
  26. package/dist/index.mjs +19331 -18976
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/logos/aster.svg +1 -0
  29. package/dist/logos/avantis.png +0 -0
  30. package/dist/logos/cap-pendle-market.svg +1 -0
  31. package/dist/logos/cap.svg +1 -0
  32. package/dist/logos/dialectic.svg +1 -0
  33. package/dist/logos/lagoon-ETH.svg +1 -0
  34. package/dist/logos/lagoon-USDC.svg +1 -0
  35. package/dist/logos/lighter.jpg +0 -0
  36. package/dist/logos/makina.jpg +0 -0
  37. package/dist/logos/projectx.svg +1 -0
  38. package/dist/logos/rsETH.jpg +0 -0
  39. package/dist/logos/usdai.svg +1 -0
  40. package/dist/logos/weETH.svg +1 -0
  41. package/dist/logos/wstETH.png +0 -0
  42. package/package.json +5 -5
  43. package/dist/data/abis/AssessmentViewer.json +0 -106
  44. package/dist/data/abis/MCR.json +0 -321
  45. package/dist/data/abis/NexusViewer.json +0 -199
  46. package/dist/data/abis/PriceFeedOracle.json +0 -312
  47. package/dist/data/abis/ProposalCategory.json +0 -653
@@ -1,653 +0,0 @@
1
- [
2
- {
3
- "anonymous": false,
4
- "inputs": [
5
- {
6
- "indexed": true,
7
- "internalType": "uint256",
8
- "name": "categoryId",
9
- "type": "uint256"
10
- },
11
- {
12
- "indexed": false,
13
- "internalType": "string",
14
- "name": "categoryName",
15
- "type": "string"
16
- },
17
- {
18
- "indexed": false,
19
- "internalType": "string",
20
- "name": "actionHash",
21
- "type": "string"
22
- }
23
- ],
24
- "name": "Category",
25
- "type": "event"
26
- },
27
- {
28
- "constant": false,
29
- "inputs": [
30
- {
31
- "internalType": "string",
32
- "name": "_name",
33
- "type": "string"
34
- },
35
- {
36
- "internalType": "uint256",
37
- "name": "_memberRoleToVote",
38
- "type": "uint256"
39
- },
40
- {
41
- "internalType": "uint256",
42
- "name": "_majorityVotePerc",
43
- "type": "uint256"
44
- },
45
- {
46
- "internalType": "uint256",
47
- "name": "_quorumPerc",
48
- "type": "uint256"
49
- },
50
- {
51
- "internalType": "uint256[]",
52
- "name": "_allowedToCreateProposal",
53
- "type": "uint256[]"
54
- },
55
- {
56
- "internalType": "uint256",
57
- "name": "_closingTime",
58
- "type": "uint256"
59
- },
60
- {
61
- "internalType": "string",
62
- "name": "_actionHash",
63
- "type": "string"
64
- },
65
- {
66
- "internalType": "address",
67
- "name": "_contractAddress",
68
- "type": "address"
69
- },
70
- {
71
- "internalType": "bytes2",
72
- "name": "_contractName",
73
- "type": "bytes2"
74
- },
75
- {
76
- "internalType": "uint256[]",
77
- "name": "_incentives",
78
- "type": "uint256[]"
79
- }
80
- ],
81
- "name": "addCategory",
82
- "outputs": [],
83
- "payable": false,
84
- "stateMutability": "nonpayable",
85
- "type": "function"
86
- },
87
- {
88
- "constant": true,
89
- "inputs": [
90
- {
91
- "internalType": "uint256",
92
- "name": "_categoryId",
93
- "type": "uint256"
94
- }
95
- ],
96
- "name": "category",
97
- "outputs": [
98
- {
99
- "internalType": "uint256",
100
- "name": "",
101
- "type": "uint256"
102
- },
103
- {
104
- "internalType": "uint256",
105
- "name": "",
106
- "type": "uint256"
107
- },
108
- {
109
- "internalType": "uint256",
110
- "name": "",
111
- "type": "uint256"
112
- },
113
- {
114
- "internalType": "uint256",
115
- "name": "",
116
- "type": "uint256"
117
- },
118
- {
119
- "internalType": "uint256[]",
120
- "name": "",
121
- "type": "uint256[]"
122
- },
123
- {
124
- "internalType": "uint256",
125
- "name": "",
126
- "type": "uint256"
127
- },
128
- {
129
- "internalType": "uint256",
130
- "name": "",
131
- "type": "uint256"
132
- }
133
- ],
134
- "payable": false,
135
- "stateMutability": "view",
136
- "type": "function"
137
- },
138
- {
139
- "constant": true,
140
- "inputs": [
141
- {
142
- "internalType": "uint256",
143
- "name": "",
144
- "type": "uint256"
145
- }
146
- ],
147
- "name": "categoryABReq",
148
- "outputs": [
149
- {
150
- "internalType": "uint256",
151
- "name": "",
152
- "type": "uint256"
153
- }
154
- ],
155
- "payable": false,
156
- "stateMutability": "view",
157
- "type": "function"
158
- },
159
- {
160
- "constant": true,
161
- "inputs": [
162
- {
163
- "internalType": "uint256",
164
- "name": "_categoryId",
165
- "type": "uint256"
166
- }
167
- ],
168
- "name": "categoryAction",
169
- "outputs": [
170
- {
171
- "internalType": "uint256",
172
- "name": "",
173
- "type": "uint256"
174
- },
175
- {
176
- "internalType": "address",
177
- "name": "",
178
- "type": "address"
179
- },
180
- {
181
- "internalType": "bytes2",
182
- "name": "",
183
- "type": "bytes2"
184
- },
185
- {
186
- "internalType": "uint256",
187
- "name": "",
188
- "type": "uint256"
189
- }
190
- ],
191
- "payable": false,
192
- "stateMutability": "view",
193
- "type": "function"
194
- },
195
- {
196
- "constant": true,
197
- "inputs": [
198
- {
199
- "internalType": "uint256",
200
- "name": "_categoryId",
201
- "type": "uint256"
202
- }
203
- ],
204
- "name": "categoryActionDetails",
205
- "outputs": [
206
- {
207
- "internalType": "uint256",
208
- "name": "",
209
- "type": "uint256"
210
- },
211
- {
212
- "internalType": "address",
213
- "name": "",
214
- "type": "address"
215
- },
216
- {
217
- "internalType": "bytes2",
218
- "name": "",
219
- "type": "bytes2"
220
- },
221
- {
222
- "internalType": "uint256",
223
- "name": "",
224
- "type": "uint256"
225
- },
226
- {
227
- "internalType": "bytes",
228
- "name": "",
229
- "type": "bytes"
230
- }
231
- ],
232
- "payable": false,
233
- "stateMutability": "view",
234
- "type": "function"
235
- },
236
- {
237
- "constant": true,
238
- "inputs": [],
239
- "name": "categoryActionHashUpdated",
240
- "outputs": [
241
- {
242
- "internalType": "bool",
243
- "name": "",
244
- "type": "bool"
245
- }
246
- ],
247
- "payable": false,
248
- "stateMutability": "view",
249
- "type": "function"
250
- },
251
- {
252
- "constant": true,
253
- "inputs": [
254
- {
255
- "internalType": "uint256",
256
- "name": "",
257
- "type": "uint256"
258
- }
259
- ],
260
- "name": "categoryActionHashes",
261
- "outputs": [
262
- {
263
- "internalType": "bytes",
264
- "name": "",
265
- "type": "bytes"
266
- }
267
- ],
268
- "payable": false,
269
- "stateMutability": "view",
270
- "type": "function"
271
- },
272
- {
273
- "constant": true,
274
- "inputs": [
275
- {
276
- "internalType": "uint256",
277
- "name": "_categoryId",
278
- "type": "uint256"
279
- }
280
- ],
281
- "name": "categoryExtendedData",
282
- "outputs": [
283
- {
284
- "internalType": "uint256",
285
- "name": "",
286
- "type": "uint256"
287
- },
288
- {
289
- "internalType": "uint256",
290
- "name": "",
291
- "type": "uint256"
292
- },
293
- {
294
- "internalType": "uint256",
295
- "name": "",
296
- "type": "uint256"
297
- }
298
- ],
299
- "payable": false,
300
- "stateMutability": "view",
301
- "type": "function"
302
- },
303
- {
304
- "constant": false,
305
- "inputs": [],
306
- "name": "changeDependentContractAddress",
307
- "outputs": [],
308
- "payable": false,
309
- "stateMutability": "nonpayable",
310
- "type": "function"
311
- },
312
- {
313
- "constant": false,
314
- "inputs": [
315
- {
316
- "internalType": "address",
317
- "name": "_masterAddress",
318
- "type": "address"
319
- }
320
- ],
321
- "name": "changeMasterAddress",
322
- "outputs": [],
323
- "payable": false,
324
- "stateMutability": "nonpayable",
325
- "type": "function"
326
- },
327
- {
328
- "constant": true,
329
- "inputs": [],
330
- "name": "constructorCheck",
331
- "outputs": [
332
- {
333
- "internalType": "bool",
334
- "name": "",
335
- "type": "bool"
336
- }
337
- ],
338
- "payable": false,
339
- "stateMutability": "view",
340
- "type": "function"
341
- },
342
- {
343
- "constant": false,
344
- "inputs": [
345
- {
346
- "internalType": "uint256",
347
- "name": "_categoryId",
348
- "type": "uint256"
349
- },
350
- {
351
- "internalType": "string",
352
- "name": "_name",
353
- "type": "string"
354
- },
355
- {
356
- "internalType": "uint256",
357
- "name": "_memberRoleToVote",
358
- "type": "uint256"
359
- },
360
- {
361
- "internalType": "uint256",
362
- "name": "_majorityVotePerc",
363
- "type": "uint256"
364
- },
365
- {
366
- "internalType": "uint256",
367
- "name": "_quorumPerc",
368
- "type": "uint256"
369
- },
370
- {
371
- "internalType": "uint256[]",
372
- "name": "_allowedToCreateProposal",
373
- "type": "uint256[]"
374
- },
375
- {
376
- "internalType": "uint256",
377
- "name": "_closingTime",
378
- "type": "uint256"
379
- },
380
- {
381
- "internalType": "string",
382
- "name": "_actionHash",
383
- "type": "string"
384
- },
385
- {
386
- "internalType": "address",
387
- "name": "_contractAddress",
388
- "type": "address"
389
- },
390
- {
391
- "internalType": "bytes2",
392
- "name": "_contractName",
393
- "type": "bytes2"
394
- },
395
- {
396
- "internalType": "uint256[]",
397
- "name": "_incentives",
398
- "type": "uint256[]"
399
- },
400
- {
401
- "internalType": "string",
402
- "name": "_functionHash",
403
- "type": "string"
404
- }
405
- ],
406
- "name": "editCategory",
407
- "outputs": [],
408
- "payable": false,
409
- "stateMutability": "nonpayable",
410
- "type": "function"
411
- },
412
- {
413
- "constant": true,
414
- "inputs": [
415
- {
416
- "internalType": "address",
417
- "name": "_toCheck",
418
- "type": "address"
419
- }
420
- ],
421
- "name": "isAuthorizedToGovern",
422
- "outputs": [
423
- {
424
- "internalType": "bool",
425
- "name": "",
426
- "type": "bool"
427
- }
428
- ],
429
- "payable": false,
430
- "stateMutability": "view",
431
- "type": "function"
432
- },
433
- {
434
- "constant": true,
435
- "inputs": [
436
- {
437
- "internalType": "uint256",
438
- "name": "",
439
- "type": "uint256"
440
- }
441
- ],
442
- "name": "isSpecialResolution",
443
- "outputs": [
444
- {
445
- "internalType": "uint256",
446
- "name": "",
447
- "type": "uint256"
448
- }
449
- ],
450
- "payable": false,
451
- "stateMutability": "view",
452
- "type": "function"
453
- },
454
- {
455
- "constant": true,
456
- "inputs": [],
457
- "name": "masterAddress",
458
- "outputs": [
459
- {
460
- "internalType": "address",
461
- "name": "",
462
- "type": "address"
463
- }
464
- ],
465
- "payable": false,
466
- "stateMutability": "view",
467
- "type": "function"
468
- },
469
- {
470
- "constant": true,
471
- "inputs": [],
472
- "name": "ms",
473
- "outputs": [
474
- {
475
- "internalType": "contract INXMMaster",
476
- "name": "",
477
- "type": "address"
478
- }
479
- ],
480
- "payable": false,
481
- "stateMutability": "view",
482
- "type": "function"
483
- },
484
- {
485
- "constant": false,
486
- "inputs": [
487
- {
488
- "internalType": "string",
489
- "name": "_name",
490
- "type": "string"
491
- },
492
- {
493
- "internalType": "uint256",
494
- "name": "_memberRoleToVote",
495
- "type": "uint256"
496
- },
497
- {
498
- "internalType": "uint256",
499
- "name": "_majorityVotePerc",
500
- "type": "uint256"
501
- },
502
- {
503
- "internalType": "uint256",
504
- "name": "_quorumPerc",
505
- "type": "uint256"
506
- },
507
- {
508
- "internalType": "uint256[]",
509
- "name": "_allowedToCreateProposal",
510
- "type": "uint256[]"
511
- },
512
- {
513
- "internalType": "uint256",
514
- "name": "_closingTime",
515
- "type": "uint256"
516
- },
517
- {
518
- "internalType": "string",
519
- "name": "_actionHash",
520
- "type": "string"
521
- },
522
- {
523
- "internalType": "address",
524
- "name": "_contractAddress",
525
- "type": "address"
526
- },
527
- {
528
- "internalType": "bytes2",
529
- "name": "_contractName",
530
- "type": "bytes2"
531
- },
532
- {
533
- "internalType": "uint256[]",
534
- "name": "_incentives",
535
- "type": "uint256[]"
536
- },
537
- {
538
- "internalType": "string",
539
- "name": "_functionHash",
540
- "type": "string"
541
- }
542
- ],
543
- "name": "newCategory",
544
- "outputs": [],
545
- "payable": false,
546
- "stateMutability": "nonpayable",
547
- "type": "function"
548
- },
549
- {
550
- "constant": true,
551
- "inputs": [],
552
- "name": "nxMasterAddress",
553
- "outputs": [
554
- {
555
- "internalType": "address",
556
- "name": "",
557
- "type": "address"
558
- }
559
- ],
560
- "payable": false,
561
- "stateMutability": "view",
562
- "type": "function"
563
- },
564
- {
565
- "constant": false,
566
- "inputs": [],
567
- "name": "proposalCategoryInitiate",
568
- "outputs": [],
569
- "payable": false,
570
- "stateMutability": "nonpayable",
571
- "type": "function"
572
- },
573
- {
574
- "constant": true,
575
- "inputs": [],
576
- "name": "totalCategories",
577
- "outputs": [
578
- {
579
- "internalType": "uint256",
580
- "name": "",
581
- "type": "uint256"
582
- }
583
- ],
584
- "payable": false,
585
- "stateMutability": "view",
586
- "type": "function"
587
- },
588
- {
589
- "constant": false,
590
- "inputs": [
591
- {
592
- "internalType": "uint256",
593
- "name": "_categoryId",
594
- "type": "uint256"
595
- },
596
- {
597
- "internalType": "string",
598
- "name": "_name",
599
- "type": "string"
600
- },
601
- {
602
- "internalType": "uint256",
603
- "name": "_memberRoleToVote",
604
- "type": "uint256"
605
- },
606
- {
607
- "internalType": "uint256",
608
- "name": "_majorityVotePerc",
609
- "type": "uint256"
610
- },
611
- {
612
- "internalType": "uint256",
613
- "name": "_quorumPerc",
614
- "type": "uint256"
615
- },
616
- {
617
- "internalType": "uint256[]",
618
- "name": "_allowedToCreateProposal",
619
- "type": "uint256[]"
620
- },
621
- {
622
- "internalType": "uint256",
623
- "name": "_closingTime",
624
- "type": "uint256"
625
- },
626
- {
627
- "internalType": "string",
628
- "name": "_actionHash",
629
- "type": "string"
630
- },
631
- {
632
- "internalType": "address",
633
- "name": "_contractAddress",
634
- "type": "address"
635
- },
636
- {
637
- "internalType": "bytes2",
638
- "name": "_contractName",
639
- "type": "bytes2"
640
- },
641
- {
642
- "internalType": "uint256[]",
643
- "name": "_incentives",
644
- "type": "uint256[]"
645
- }
646
- ],
647
- "name": "updateCategory",
648
- "outputs": [],
649
- "payable": false,
650
- "stateMutability": "nonpayable",
651
- "type": "function"
652
- }
653
- ]