@nexusmutual/sdk 0.13.1 → 0.14.0

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.
@@ -1,91 +1,5 @@
1
1
  [
2
2
  {
3
- "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "_authQuoteAdd",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "address",
11
- "name": "_kycAuthAdd",
12
- "type": "address"
13
- }
14
- ],
15
- "payable": false,
16
- "stateMutability": "nonpayable",
17
- "type": "constructor"
18
- },
19
- {
20
- "anonymous": false,
21
- "inputs": [
22
- {
23
- "indexed": true,
24
- "internalType": "uint256",
25
- "name": "cid",
26
- "type": "uint256"
27
- },
28
- {
29
- "indexed": false,
30
- "internalType": "address",
31
- "name": "scAdd",
32
- "type": "address"
33
- },
34
- {
35
- "indexed": false,
36
- "internalType": "uint256",
37
- "name": "sumAssured",
38
- "type": "uint256"
39
- },
40
- {
41
- "indexed": false,
42
- "internalType": "uint256",
43
- "name": "expiry",
44
- "type": "uint256"
45
- },
46
- {
47
- "indexed": false,
48
- "internalType": "uint256",
49
- "name": "premium",
50
- "type": "uint256"
51
- },
52
- {
53
- "indexed": false,
54
- "internalType": "uint256",
55
- "name": "premiumNXM",
56
- "type": "uint256"
57
- },
58
- {
59
- "indexed": false,
60
- "internalType": "bytes4",
61
- "name": "curr",
62
- "type": "bytes4"
63
- }
64
- ],
65
- "name": "CoverDetailsEvent",
66
- "type": "event"
67
- },
68
- {
69
- "anonymous": false,
70
- "inputs": [
71
- {
72
- "indexed": true,
73
- "internalType": "uint256",
74
- "name": "cid",
75
- "type": "uint256"
76
- },
77
- {
78
- "indexed": false,
79
- "internalType": "uint8",
80
- "name": "statusNum",
81
- "type": "uint8"
82
- }
83
- ],
84
- "name": "CoverStatusEvent",
85
- "type": "event"
86
- },
87
- {
88
- "constant": false,
89
3
  "inputs": [
90
4
  {
91
5
  "internalType": "uint16",
@@ -125,12 +39,10 @@
125
39
  ],
126
40
  "name": "addCover",
127
41
  "outputs": [],
128
- "payable": false,
129
42
  "stateMutability": "nonpayable",
130
43
  "type": "function"
131
44
  },
132
45
  {
133
- "constant": false,
134
46
  "inputs": [
135
47
  {
136
48
  "internalType": "address payable",
@@ -160,12 +72,10 @@
160
72
  ],
161
73
  "name": "addHoldCover",
162
74
  "outputs": [],
163
- "payable": false,
164
75
  "stateMutability": "nonpayable",
165
76
  "type": "function"
166
77
  },
167
78
  {
168
- "constant": false,
169
79
  "inputs": [
170
80
  {
171
81
  "internalType": "bytes4",
@@ -180,12 +90,10 @@
180
90
  ],
181
91
  "name": "addInTotalSumAssured",
182
92
  "outputs": [],
183
- "payable": false,
184
93
  "stateMutability": "nonpayable",
185
94
  "type": "function"
186
95
  },
187
96
  {
188
- "constant": false,
189
97
  "inputs": [
190
98
  {
191
99
  "internalType": "address",
@@ -205,12 +113,10 @@
205
113
  ],
206
114
  "name": "addInTotalSumAssuredSC",
207
115
  "outputs": [],
208
- "payable": false,
209
116
  "stateMutability": "nonpayable",
210
117
  "type": "function"
211
118
  },
212
119
  {
213
- "constant": true,
214
120
  "inputs": [],
215
121
  "name": "authQuoteEngine",
216
122
  "outputs": [
@@ -220,12 +126,10 @@
220
126
  "type": "address"
221
127
  }
222
128
  ],
223
- "payable": false,
224
129
  "stateMutability": "view",
225
130
  "type": "function"
226
131
  },
227
132
  {
228
- "constant": false,
229
133
  "inputs": [
230
134
  {
231
135
  "internalType": "address",
@@ -235,12 +139,10 @@
235
139
  ],
236
140
  "name": "changeAuthQuoteEngine",
237
141
  "outputs": [],
238
- "payable": false,
239
142
  "stateMutability": "nonpayable",
240
143
  "type": "function"
241
144
  },
242
145
  {
243
- "constant": false,
244
146
  "inputs": [
245
147
  {
246
148
  "internalType": "uint256",
@@ -255,57 +157,10 @@
255
157
  ],
256
158
  "name": "changeCoverStatusNo",
257
159
  "outputs": [],
258
- "payable": false,
259
- "stateMutability": "nonpayable",
260
- "type": "function"
261
- },
262
- {
263
- "constant": false,
264
- "inputs": [],
265
- "name": "changeDependentContractAddress",
266
- "outputs": [],
267
- "payable": false,
268
160
  "stateMutability": "nonpayable",
269
161
  "type": "function"
270
162
  },
271
163
  {
272
- "constant": false,
273
- "inputs": [
274
- {
275
- "internalType": "address",
276
- "name": "_masterAddress",
277
- "type": "address"
278
- }
279
- ],
280
- "name": "changeMasterAddress",
281
- "outputs": [],
282
- "payable": false,
283
- "stateMutability": "nonpayable",
284
- "type": "function"
285
- },
286
- {
287
- "constant": true,
288
- "inputs": [
289
- {
290
- "internalType": "uint256",
291
- "name": "",
292
- "type": "uint256"
293
- }
294
- ],
295
- "name": "coverStatus",
296
- "outputs": [
297
- {
298
- "internalType": "uint8",
299
- "name": "",
300
- "type": "uint8"
301
- }
302
- ],
303
- "payable": false,
304
- "stateMutability": "view",
305
- "type": "function"
306
- },
307
- {
308
- "constant": true,
309
164
  "inputs": [
310
165
  {
311
166
  "internalType": "address",
@@ -321,12 +176,10 @@
321
176
  "type": "uint256[]"
322
177
  }
323
178
  ],
324
- "payable": false,
325
179
  "stateMutability": "view",
326
180
  "type": "function"
327
181
  },
328
182
  {
329
- "constant": true,
330
183
  "inputs": [],
331
184
  "name": "getAuthQuoteEngine",
332
185
  "outputs": [
@@ -336,12 +189,10 @@
336
189
  "type": "address"
337
190
  }
338
191
  ],
339
- "payable": false,
340
192
  "stateMutability": "view",
341
193
  "type": "function"
342
194
  },
343
195
  {
344
- "constant": true,
345
196
  "inputs": [
346
197
  {
347
198
  "internalType": "uint256",
@@ -382,12 +233,10 @@
382
233
  "type": "uint256"
383
234
  }
384
235
  ],
385
- "payable": false,
386
236
  "stateMutability": "view",
387
237
  "type": "function"
388
238
  },
389
239
  {
390
- "constant": true,
391
240
  "inputs": [
392
241
  {
393
242
  "internalType": "uint256",
@@ -423,12 +272,10 @@
423
272
  "type": "uint256"
424
273
  }
425
274
  ],
426
- "payable": false,
427
275
  "stateMutability": "view",
428
276
  "type": "function"
429
277
  },
430
278
  {
431
- "constant": true,
432
279
  "inputs": [],
433
280
  "name": "getCoverLength",
434
281
  "outputs": [
@@ -438,12 +285,10 @@
438
285
  "type": "uint256"
439
286
  }
440
287
  ],
441
- "payable": false,
442
288
  "stateMutability": "view",
443
289
  "type": "function"
444
290
  },
445
291
  {
446
- "constant": true,
447
292
  "inputs": [
448
293
  {
449
294
  "internalType": "uint256",
@@ -459,12 +304,10 @@
459
304
  "type": "address"
460
305
  }
461
306
  ],
462
- "payable": false,
463
307
  "stateMutability": "view",
464
308
  "type": "function"
465
309
  },
466
310
  {
467
- "constant": true,
468
311
  "inputs": [
469
312
  {
470
313
  "internalType": "uint256",
@@ -480,12 +323,10 @@
480
323
  "type": "uint32"
481
324
  }
482
325
  ],
483
- "payable": false,
484
326
  "stateMutability": "view",
485
327
  "type": "function"
486
328
  },
487
329
  {
488
- "constant": true,
489
330
  "inputs": [
490
331
  {
491
332
  "internalType": "uint256",
@@ -501,12 +342,10 @@
501
342
  "type": "uint256"
502
343
  }
503
344
  ],
504
- "payable": false,
505
345
  "stateMutability": "view",
506
346
  "type": "function"
507
347
  },
508
348
  {
509
- "constant": true,
510
349
  "inputs": [
511
350
  {
512
351
  "internalType": "uint256",
@@ -522,12 +361,10 @@
522
361
  "type": "uint8"
523
362
  }
524
363
  ],
525
- "payable": false,
526
364
  "stateMutability": "view",
527
365
  "type": "function"
528
366
  },
529
367
  {
530
- "constant": true,
531
368
  "inputs": [
532
369
  {
533
370
  "internalType": "uint256",
@@ -543,12 +380,10 @@
543
380
  "type": "uint256"
544
381
  }
545
382
  ],
546
- "payable": false,
547
383
  "stateMutability": "view",
548
384
  "type": "function"
549
385
  },
550
386
  {
551
- "constant": true,
552
387
  "inputs": [
553
388
  {
554
389
  "internalType": "uint256",
@@ -564,12 +399,10 @@
564
399
  "type": "bytes4"
565
400
  }
566
401
  ],
567
- "payable": false,
568
402
  "stateMutability": "view",
569
403
  "type": "function"
570
404
  },
571
405
  {
572
- "constant": true,
573
406
  "inputs": [
574
407
  {
575
408
  "internalType": "uint256",
@@ -600,12 +433,10 @@
600
433
  "type": "uint16"
601
434
  }
602
435
  ],
603
- "payable": false,
604
436
  "stateMutability": "view",
605
437
  "type": "function"
606
438
  },
607
439
  {
608
- "constant": true,
609
440
  "inputs": [
610
441
  {
611
442
  "internalType": "uint256",
@@ -631,12 +462,10 @@
631
462
  "type": "uint256[]"
632
463
  }
633
464
  ],
634
- "payable": false,
635
465
  "stateMutability": "view",
636
466
  "type": "function"
637
467
  },
638
468
  {
639
- "constant": true,
640
469
  "inputs": [],
641
470
  "name": "getProductDetails",
642
471
  "outputs": [
@@ -661,12 +490,10 @@
661
490
  "type": "uint256"
662
491
  }
663
492
  ],
664
- "payable": false,
665
493
  "stateMutability": "view",
666
494
  "type": "function"
667
495
  },
668
496
  {
669
- "constant": true,
670
497
  "inputs": [
671
498
  {
672
499
  "internalType": "bytes4",
@@ -682,12 +509,10 @@
682
509
  "type": "uint256"
683
510
  }
684
511
  ],
685
- "payable": false,
686
512
  "stateMutability": "view",
687
513
  "type": "function"
688
514
  },
689
515
  {
690
- "constant": true,
691
516
  "inputs": [
692
517
  {
693
518
  "internalType": "address",
@@ -708,12 +533,10 @@
708
533
  "type": "uint256"
709
534
  }
710
535
  ],
711
- "payable": false,
712
536
  "stateMutability": "view",
713
537
  "type": "function"
714
538
  },
715
539
  {
716
- "constant": true,
717
540
  "inputs": [
718
541
  {
719
542
  "internalType": "bytes8",
@@ -734,12 +557,10 @@
734
557
  "type": "uint256"
735
558
  }
736
559
  ],
737
- "payable": false,
738
560
  "stateMutability": "view",
739
561
  "type": "function"
740
562
  },
741
563
  {
742
- "constant": true,
743
564
  "inputs": [
744
565
  {
745
566
  "internalType": "address",
@@ -755,12 +576,10 @@
755
576
  "type": "uint256"
756
577
  }
757
578
  ],
758
- "payable": false,
759
579
  "stateMutability": "view",
760
580
  "type": "function"
761
581
  },
762
582
  {
763
- "constant": true,
764
583
  "inputs": [
765
584
  {
766
585
  "internalType": "address",
@@ -781,12 +600,10 @@
781
600
  "type": "uint256"
782
601
  }
783
602
  ],
784
- "payable": false,
785
603
  "stateMutability": "view",
786
604
  "type": "function"
787
605
  },
788
606
  {
789
- "constant": true,
790
607
  "inputs": [
791
608
  {
792
609
  "internalType": "address",
@@ -802,12 +619,10 @@
802
619
  "type": "uint256"
803
620
  }
804
621
  ],
805
- "payable": false,
806
622
  "stateMutability": "view",
807
623
  "type": "function"
808
624
  },
809
625
  {
810
- "constant": true,
811
626
  "inputs": [
812
627
  {
813
628
  "internalType": "uint256",
@@ -823,12 +638,10 @@
823
638
  "type": "uint256"
824
639
  }
825
640
  ],
826
- "payable": false,
827
641
  "stateMutability": "view",
828
642
  "type": "function"
829
643
  },
830
644
  {
831
- "constant": true,
832
645
  "inputs": [
833
646
  {
834
647
  "internalType": "uint256",
@@ -849,12 +662,10 @@
849
662
  "type": "address"
850
663
  }
851
664
  ],
852
- "payable": false,
853
665
  "stateMutability": "view",
854
666
  "type": "function"
855
667
  },
856
668
  {
857
- "constant": true,
858
669
  "inputs": [
859
670
  {
860
671
  "internalType": "uint256",
@@ -870,12 +681,10 @@
870
681
  "type": "uint256"
871
682
  }
872
683
  ],
873
- "payable": false,
874
684
  "stateMutability": "view",
875
685
  "type": "function"
876
686
  },
877
687
  {
878
- "constant": true,
879
688
  "inputs": [],
880
689
  "name": "kycAuthAddress",
881
690
  "outputs": [
@@ -885,12 +694,10 @@
885
694
  "type": "address"
886
695
  }
887
696
  ],
888
- "payable": false,
889
697
  "stateMutability": "view",
890
698
  "type": "function"
891
699
  },
892
700
  {
893
- "constant": true,
894
701
  "inputs": [],
895
702
  "name": "minDays",
896
703
  "outputs": [
@@ -900,42 +707,10 @@
900
707
  "type": "uint256"
901
708
  }
902
709
  ],
903
- "payable": false,
904
- "stateMutability": "view",
905
- "type": "function"
906
- },
907
- {
908
- "constant": true,
909
- "inputs": [],
910
- "name": "ms",
911
- "outputs": [
912
- {
913
- "internalType": "contract INXMMaster",
914
- "name": "",
915
- "type": "address"
916
- }
917
- ],
918
- "payable": false,
919
- "stateMutability": "view",
920
- "type": "function"
921
- },
922
- {
923
- "constant": true,
924
- "inputs": [],
925
- "name": "nxMasterAddress",
926
- "outputs": [
927
- {
928
- "internalType": "address",
929
- "name": "",
930
- "type": "address"
931
- }
932
- ],
933
- "payable": false,
934
710
  "stateMutability": "view",
935
711
  "type": "function"
936
712
  },
937
713
  {
938
- "constant": true,
939
714
  "inputs": [],
940
715
  "name": "pm",
941
716
  "outputs": [
@@ -945,12 +720,10 @@
945
720
  "type": "uint256"
946
721
  }
947
722
  ],
948
- "payable": false,
949
723
  "stateMutability": "view",
950
724
  "type": "function"
951
725
  },
952
726
  {
953
- "constant": true,
954
727
  "inputs": [
955
728
  {
956
729
  "internalType": "address",
@@ -966,12 +739,10 @@
966
739
  "type": "bool"
967
740
  }
968
741
  ],
969
- "payable": false,
970
742
  "stateMutability": "view",
971
743
  "type": "function"
972
744
  },
973
745
  {
974
- "constant": false,
975
746
  "inputs": [
976
747
  {
977
748
  "internalType": "uint256",
@@ -986,12 +757,10 @@
986
757
  ],
987
758
  "name": "setHoldedCoverIDStatus",
988
759
  "outputs": [],
989
- "payable": false,
990
760
  "stateMutability": "nonpayable",
991
761
  "type": "function"
992
762
  },
993
763
  {
994
- "constant": false,
995
764
  "inputs": [
996
765
  {
997
766
  "internalType": "address",
@@ -1001,12 +770,10 @@
1001
770
  ],
1002
771
  "name": "setKycAuthAddress",
1003
772
  "outputs": [],
1004
- "payable": false,
1005
773
  "stateMutability": "nonpayable",
1006
774
  "type": "function"
1007
775
  },
1008
776
  {
1009
- "constant": false,
1010
777
  "inputs": [
1011
778
  {
1012
779
  "internalType": "address",
@@ -1021,12 +788,10 @@
1021
788
  ],
1022
789
  "name": "setRefundEligible",
1023
790
  "outputs": [],
1024
- "payable": false,
1025
791
  "stateMutability": "nonpayable",
1026
792
  "type": "function"
1027
793
  },
1028
794
  {
1029
- "constant": false,
1030
795
  "inputs": [
1031
796
  {
1032
797
  "internalType": "uint256",
@@ -1036,12 +801,10 @@
1036
801
  ],
1037
802
  "name": "setTimestampRepeated",
1038
803
  "outputs": [],
1039
- "payable": false,
1040
804
  "stateMutability": "nonpayable",
1041
805
  "type": "function"
1042
806
  },
1043
807
  {
1044
- "constant": true,
1045
808
  "inputs": [],
1046
809
  "name": "stl",
1047
810
  "outputs": [
@@ -1051,12 +814,10 @@
1051
814
  "type": "uint256"
1052
815
  }
1053
816
  ],
1054
- "payable": false,
1055
817
  "stateMutability": "view",
1056
818
  "type": "function"
1057
819
  },
1058
820
  {
1059
- "constant": true,
1060
821
  "inputs": [],
1061
822
  "name": "stlp",
1062
823
  "outputs": [
@@ -1066,12 +827,10 @@
1066
827
  "type": "uint256"
1067
828
  }
1068
829
  ],
1069
- "payable": false,
1070
830
  "stateMutability": "view",
1071
831
  "type": "function"
1072
832
  },
1073
833
  {
1074
- "constant": false,
1075
834
  "inputs": [
1076
835
  {
1077
836
  "internalType": "bytes4",
@@ -1086,12 +845,10 @@
1086
845
  ],
1087
846
  "name": "subFromTotalSumAssured",
1088
847
  "outputs": [],
1089
- "payable": false,
1090
848
  "stateMutability": "nonpayable",
1091
849
  "type": "function"
1092
850
  },
1093
851
  {
1094
- "constant": false,
1095
852
  "inputs": [
1096
853
  {
1097
854
  "internalType": "address",
@@ -1111,12 +868,10 @@
1111
868
  ],
1112
869
  "name": "subFromTotalSumAssuredSC",
1113
870
  "outputs": [],
1114
- "payable": false,
1115
871
  "stateMutability": "nonpayable",
1116
872
  "type": "function"
1117
873
  },
1118
874
  {
1119
- "constant": true,
1120
875
  "inputs": [
1121
876
  {
1122
877
  "internalType": "uint256",
@@ -1132,12 +887,10 @@
1132
887
  "type": "bool"
1133
888
  }
1134
889
  ],
1135
- "payable": false,
1136
890
  "stateMutability": "view",
1137
891
  "type": "function"
1138
892
  },
1139
893
  {
1140
- "constant": true,
1141
894
  "inputs": [],
1142
895
  "name": "tokensRetained",
1143
896
  "outputs": [
@@ -1147,53 +900,6 @@
1147
900
  "type": "uint256"
1148
901
  }
1149
902
  ],
1150
- "payable": false,
1151
- "stateMutability": "view",
1152
- "type": "function"
1153
- },
1154
- {
1155
- "constant": false,
1156
- "inputs": [
1157
- {
1158
- "internalType": "bytes8",
1159
- "name": "code",
1160
- "type": "bytes8"
1161
- },
1162
- {
1163
- "internalType": "uint256",
1164
- "name": "val",
1165
- "type": "uint256"
1166
- }
1167
- ],
1168
- "name": "updateUintParameters",
1169
- "outputs": [],
1170
- "payable": false,
1171
- "stateMutability": "nonpayable",
1172
- "type": "function"
1173
- },
1174
- {
1175
- "constant": true,
1176
- "inputs": [
1177
- {
1178
- "internalType": "address",
1179
- "name": "",
1180
- "type": "address"
1181
- },
1182
- {
1183
- "internalType": "uint256",
1184
- "name": "",
1185
- "type": "uint256"
1186
- }
1187
- ],
1188
- "name": "userHoldedCover",
1189
- "outputs": [
1190
- {
1191
- "internalType": "uint256",
1192
- "name": "",
1193
- "type": "uint256"
1194
- }
1195
- ],
1196
- "payable": false,
1197
903
  "stateMutability": "view",
1198
904
  "type": "function"
1199
905
  }