@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.
- package/dist/data/abis/Assessment.json +51 -45
- package/dist/data/abis/Cover.json +331 -121
- package/dist/data/abis/CoverBroker.json +2 -7
- package/dist/data/abis/CoverProducts.json +35 -4
- package/dist/data/abis/CoverViewer.json +13 -76
- package/dist/data/abis/IndividualClaims.json +219 -141
- package/dist/data/abis/LegacyQuotationData.json +0 -294
- package/dist/data/abis/LimitOrders.json +657 -0
- package/dist/data/abis/MemberRoles.json +85 -13
- package/dist/data/abis/NexusViewer.json +0 -15
- package/dist/data/abis/StakingPool.json +205 -27
- package/dist/data/abis/TokenController.json +40 -192
- package/dist/data/addresses.json +5 -7
- package/dist/data/product-types.json +1 -1
- package/dist/data/products.json +49 -15
- package/dist/data/version.json +1 -1
- package/dist/index.d.mts +8976 -10172
- package/dist/index.d.ts +8976 -10172
- package/dist/index.js +60 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +60 -18
- package/dist/index.mjs.map +1 -1
- package/dist/logos/ambient-finance.png +0 -0
- package/dist/logos/extrafi-xlend.svg +1 -0
- package/package.json +2 -2
- package/dist/data/abis/LegacyClaimProofs.json +0 -45
- package/dist/data/abis/LegacyClaimsReward.json +0 -168
- package/dist/data/abis/LegacyPooledStaking.json +0 -1275
|
@@ -25,6 +25,17 @@
|
|
|
25
25
|
"stateMutability": "nonpayable",
|
|
26
26
|
"type": "constructor"
|
|
27
27
|
},
|
|
28
|
+
{
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"internalType": "uint256",
|
|
32
|
+
"name": "coverId",
|
|
33
|
+
"type": "uint256"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"name": "AlreadyMigratedCoverData",
|
|
37
|
+
"type": "error"
|
|
38
|
+
},
|
|
28
39
|
{
|
|
29
40
|
"inputs": [],
|
|
30
41
|
"name": "CommissionRateTooHigh",
|
|
@@ -92,13 +103,19 @@
|
|
|
92
103
|
"type": "error"
|
|
93
104
|
},
|
|
94
105
|
{
|
|
95
|
-
"inputs": [
|
|
96
|
-
|
|
106
|
+
"inputs": [
|
|
107
|
+
{
|
|
108
|
+
"internalType": "uint256",
|
|
109
|
+
"name": "originalCoverId",
|
|
110
|
+
"type": "uint256"
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"name": "MustBeOriginalCoverId",
|
|
97
114
|
"type": "error"
|
|
98
115
|
},
|
|
99
116
|
{
|
|
100
117
|
"inputs": [],
|
|
101
|
-
"name": "
|
|
118
|
+
"name": "OnlyOwnerOrApproved",
|
|
102
119
|
"type": "error"
|
|
103
120
|
},
|
|
104
121
|
{
|
|
@@ -162,6 +179,37 @@
|
|
|
162
179
|
"name": "UnexpectedProductId",
|
|
163
180
|
"type": "error"
|
|
164
181
|
},
|
|
182
|
+
{
|
|
183
|
+
"anonymous": false,
|
|
184
|
+
"inputs": [
|
|
185
|
+
{
|
|
186
|
+
"indexed": true,
|
|
187
|
+
"internalType": "uint256",
|
|
188
|
+
"name": "coverId",
|
|
189
|
+
"type": "uint256"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"indexed": true,
|
|
193
|
+
"internalType": "uint256",
|
|
194
|
+
"name": "productId",
|
|
195
|
+
"type": "uint256"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"indexed": false,
|
|
199
|
+
"internalType": "uint256",
|
|
200
|
+
"name": "amount",
|
|
201
|
+
"type": "uint256"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"indexed": false,
|
|
205
|
+
"internalType": "string",
|
|
206
|
+
"name": "ipfsMetadata",
|
|
207
|
+
"type": "string"
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"name": "CoverBought",
|
|
211
|
+
"type": "event"
|
|
212
|
+
},
|
|
165
213
|
{
|
|
166
214
|
"anonymous": false,
|
|
167
215
|
"inputs": [
|
|
@@ -180,7 +228,7 @@
|
|
|
180
228
|
{
|
|
181
229
|
"indexed": true,
|
|
182
230
|
"internalType": "uint256",
|
|
183
|
-
"name": "
|
|
231
|
+
"name": "unused",
|
|
184
232
|
"type": "uint256"
|
|
185
233
|
},
|
|
186
234
|
{
|
|
@@ -242,7 +290,7 @@
|
|
|
242
290
|
"inputs": [
|
|
243
291
|
{
|
|
244
292
|
"internalType": "uint256",
|
|
245
|
-
"name": "",
|
|
293
|
+
"name": "assetId",
|
|
246
294
|
"type": "uint256"
|
|
247
295
|
}
|
|
248
296
|
],
|
|
@@ -269,11 +317,6 @@
|
|
|
269
317
|
"name": "coverId",
|
|
270
318
|
"type": "uint256"
|
|
271
319
|
},
|
|
272
|
-
{
|
|
273
|
-
"internalType": "uint256",
|
|
274
|
-
"name": "segmentId",
|
|
275
|
-
"type": "uint256"
|
|
276
|
-
},
|
|
277
320
|
{
|
|
278
321
|
"internalType": "uint256",
|
|
279
322
|
"name": "payoutAmountInAsset",
|
|
@@ -358,14 +401,9 @@
|
|
|
358
401
|
{
|
|
359
402
|
"components": [
|
|
360
403
|
{
|
|
361
|
-
"internalType": "
|
|
404
|
+
"internalType": "uint256",
|
|
362
405
|
"name": "poolId",
|
|
363
|
-
"type": "
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"internalType": "bool",
|
|
367
|
-
"name": "skip",
|
|
368
|
-
"type": "bool"
|
|
406
|
+
"type": "uint256"
|
|
369
407
|
},
|
|
370
408
|
{
|
|
371
409
|
"internalType": "uint256",
|
|
@@ -436,17 +474,32 @@
|
|
|
436
474
|
"type": "function"
|
|
437
475
|
},
|
|
438
476
|
{
|
|
439
|
-
"inputs": [
|
|
477
|
+
"inputs": [],
|
|
478
|
+
"name": "coverNFT",
|
|
479
|
+
"outputs": [
|
|
440
480
|
{
|
|
441
|
-
"internalType": "
|
|
442
|
-
"name": "
|
|
443
|
-
"type": "
|
|
481
|
+
"internalType": "contract ICoverNFT",
|
|
482
|
+
"name": "",
|
|
483
|
+
"type": "address"
|
|
444
484
|
}
|
|
445
485
|
],
|
|
446
|
-
"
|
|
447
|
-
"
|
|
486
|
+
"stateMutability": "view",
|
|
487
|
+
"type": "function"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"inputs": [
|
|
448
491
|
{
|
|
449
492
|
"components": [
|
|
493
|
+
{
|
|
494
|
+
"internalType": "uint256",
|
|
495
|
+
"name": "coverId",
|
|
496
|
+
"type": "uint256"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"internalType": "address",
|
|
500
|
+
"name": "owner",
|
|
501
|
+
"type": "address"
|
|
502
|
+
},
|
|
450
503
|
{
|
|
451
504
|
"internalType": "uint24",
|
|
452
505
|
"name": "productId",
|
|
@@ -459,86 +512,84 @@
|
|
|
459
512
|
},
|
|
460
513
|
{
|
|
461
514
|
"internalType": "uint96",
|
|
462
|
-
"name": "
|
|
515
|
+
"name": "amount",
|
|
463
516
|
"type": "uint96"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"internalType": "uint32",
|
|
520
|
+
"name": "period",
|
|
521
|
+
"type": "uint32"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"internalType": "uint256",
|
|
525
|
+
"name": "maxPremiumInAsset",
|
|
526
|
+
"type": "uint256"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"internalType": "uint8",
|
|
530
|
+
"name": "paymentAsset",
|
|
531
|
+
"type": "uint8"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"internalType": "uint16",
|
|
535
|
+
"name": "commissionRatio",
|
|
536
|
+
"type": "uint16"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"internalType": "address",
|
|
540
|
+
"name": "commissionDestination",
|
|
541
|
+
"type": "address"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"internalType": "string",
|
|
545
|
+
"name": "ipfsData",
|
|
546
|
+
"type": "string"
|
|
464
547
|
}
|
|
465
548
|
],
|
|
466
|
-
"internalType": "struct
|
|
467
|
-
"name": "",
|
|
549
|
+
"internalType": "struct BuyCoverParams",
|
|
550
|
+
"name": "params",
|
|
468
551
|
"type": "tuple"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"components": [
|
|
555
|
+
{
|
|
556
|
+
"internalType": "uint256",
|
|
557
|
+
"name": "poolId",
|
|
558
|
+
"type": "uint256"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"internalType": "uint256",
|
|
562
|
+
"name": "coverAmountInAsset",
|
|
563
|
+
"type": "uint256"
|
|
564
|
+
}
|
|
565
|
+
],
|
|
566
|
+
"internalType": "struct PoolAllocationRequest[]",
|
|
567
|
+
"name": "poolAllocationRequests",
|
|
568
|
+
"type": "tuple[]"
|
|
469
569
|
}
|
|
470
570
|
],
|
|
471
|
-
"
|
|
472
|
-
"type": "function"
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"inputs": [],
|
|
476
|
-
"name": "coverDataCount",
|
|
571
|
+
"name": "executeCoverBuy",
|
|
477
572
|
"outputs": [
|
|
478
573
|
{
|
|
479
574
|
"internalType": "uint256",
|
|
480
|
-
"name": "",
|
|
575
|
+
"name": "coverId",
|
|
481
576
|
"type": "uint256"
|
|
482
577
|
}
|
|
483
578
|
],
|
|
484
|
-
"stateMutability": "
|
|
485
|
-
"type": "function"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"inputs": [],
|
|
489
|
-
"name": "coverNFT",
|
|
490
|
-
"outputs": [
|
|
491
|
-
{
|
|
492
|
-
"internalType": "contract ICoverNFT",
|
|
493
|
-
"name": "",
|
|
494
|
-
"type": "address"
|
|
495
|
-
}
|
|
496
|
-
],
|
|
497
|
-
"stateMutability": "view",
|
|
579
|
+
"stateMutability": "payable",
|
|
498
580
|
"type": "function"
|
|
499
581
|
},
|
|
500
582
|
{
|
|
501
583
|
"inputs": [
|
|
502
584
|
{
|
|
503
585
|
"internalType": "uint256",
|
|
504
|
-
"name": "",
|
|
505
|
-
"type": "uint256"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"internalType": "uint256",
|
|
509
|
-
"name": "",
|
|
510
|
-
"type": "uint256"
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"internalType": "uint256",
|
|
514
|
-
"name": "",
|
|
586
|
+
"name": "coverId",
|
|
515
587
|
"type": "uint256"
|
|
516
588
|
}
|
|
517
589
|
],
|
|
518
|
-
"name": "
|
|
519
|
-
"outputs": [
|
|
520
|
-
|
|
521
|
-
"internalType": "uint40",
|
|
522
|
-
"name": "poolId",
|
|
523
|
-
"type": "uint40"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"internalType": "uint96",
|
|
527
|
-
"name": "coverAmountInNXM",
|
|
528
|
-
"type": "uint96"
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"internalType": "uint96",
|
|
532
|
-
"name": "premiumInNXM",
|
|
533
|
-
"type": "uint96"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"internalType": "uint24",
|
|
537
|
-
"name": "allocationId",
|
|
538
|
-
"type": "uint24"
|
|
539
|
-
}
|
|
540
|
-
],
|
|
541
|
-
"stateMutability": "view",
|
|
590
|
+
"name": "expireCover",
|
|
591
|
+
"outputs": [],
|
|
592
|
+
"stateMutability": "nonpayable",
|
|
542
593
|
"type": "function"
|
|
543
594
|
},
|
|
544
595
|
{
|
|
@@ -547,17 +598,22 @@
|
|
|
547
598
|
"internalType": "uint256",
|
|
548
599
|
"name": "coverId",
|
|
549
600
|
"type": "uint256"
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
"internalType": "uint256",
|
|
553
|
-
"name": "segmentId",
|
|
554
|
-
"type": "uint256"
|
|
555
601
|
}
|
|
556
602
|
],
|
|
557
|
-
"name": "
|
|
603
|
+
"name": "getCoverData",
|
|
558
604
|
"outputs": [
|
|
559
605
|
{
|
|
560
606
|
"components": [
|
|
607
|
+
{
|
|
608
|
+
"internalType": "uint24",
|
|
609
|
+
"name": "productId",
|
|
610
|
+
"type": "uint24"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"internalType": "uint8",
|
|
614
|
+
"name": "coverAsset",
|
|
615
|
+
"type": "uint8"
|
|
616
|
+
},
|
|
561
617
|
{
|
|
562
618
|
"internalType": "uint96",
|
|
563
619
|
"name": "amount",
|
|
@@ -579,17 +635,17 @@
|
|
|
579
635
|
"type": "uint32"
|
|
580
636
|
},
|
|
581
637
|
{
|
|
582
|
-
"internalType": "
|
|
583
|
-
"name": "
|
|
584
|
-
"type": "
|
|
638
|
+
"internalType": "uint16",
|
|
639
|
+
"name": "rewardsRatio",
|
|
640
|
+
"type": "uint16"
|
|
585
641
|
},
|
|
586
642
|
{
|
|
587
|
-
"internalType": "
|
|
588
|
-
"name": "
|
|
589
|
-
"type": "
|
|
643
|
+
"internalType": "uint16",
|
|
644
|
+
"name": "capacityRatio",
|
|
645
|
+
"type": "uint16"
|
|
590
646
|
}
|
|
591
647
|
],
|
|
592
|
-
"internalType": "struct
|
|
648
|
+
"internalType": "struct CoverData",
|
|
593
649
|
"name": "",
|
|
594
650
|
"type": "tuple"
|
|
595
651
|
}
|
|
@@ -597,6 +653,19 @@
|
|
|
597
653
|
"stateMutability": "view",
|
|
598
654
|
"type": "function"
|
|
599
655
|
},
|
|
656
|
+
{
|
|
657
|
+
"inputs": [],
|
|
658
|
+
"name": "getCoverDataCount",
|
|
659
|
+
"outputs": [
|
|
660
|
+
{
|
|
661
|
+
"internalType": "uint256",
|
|
662
|
+
"name": "",
|
|
663
|
+
"type": "uint256"
|
|
664
|
+
}
|
|
665
|
+
],
|
|
666
|
+
"stateMutability": "view",
|
|
667
|
+
"type": "function"
|
|
668
|
+
},
|
|
600
669
|
{
|
|
601
670
|
"inputs": [
|
|
602
671
|
{
|
|
@@ -605,10 +674,20 @@
|
|
|
605
674
|
"type": "uint256"
|
|
606
675
|
}
|
|
607
676
|
],
|
|
608
|
-
"name": "
|
|
677
|
+
"name": "getCoverDataWithReference",
|
|
609
678
|
"outputs": [
|
|
610
679
|
{
|
|
611
680
|
"components": [
|
|
681
|
+
{
|
|
682
|
+
"internalType": "uint24",
|
|
683
|
+
"name": "productId",
|
|
684
|
+
"type": "uint24"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"internalType": "uint8",
|
|
688
|
+
"name": "coverAsset",
|
|
689
|
+
"type": "uint8"
|
|
690
|
+
},
|
|
612
691
|
{
|
|
613
692
|
"internalType": "uint96",
|
|
614
693
|
"name": "amount",
|
|
@@ -630,19 +709,36 @@
|
|
|
630
709
|
"type": "uint32"
|
|
631
710
|
},
|
|
632
711
|
{
|
|
633
|
-
"internalType": "
|
|
634
|
-
"name": "
|
|
635
|
-
"type": "
|
|
712
|
+
"internalType": "uint16",
|
|
713
|
+
"name": "rewardsRatio",
|
|
714
|
+
"type": "uint16"
|
|
636
715
|
},
|
|
637
716
|
{
|
|
638
|
-
"internalType": "
|
|
639
|
-
"name": "
|
|
640
|
-
"type": "
|
|
717
|
+
"internalType": "uint16",
|
|
718
|
+
"name": "capacityRatio",
|
|
719
|
+
"type": "uint16"
|
|
641
720
|
}
|
|
642
721
|
],
|
|
643
|
-
"internalType": "struct
|
|
722
|
+
"internalType": "struct CoverData",
|
|
644
723
|
"name": "",
|
|
645
|
-
"type": "tuple
|
|
724
|
+
"type": "tuple"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"components": [
|
|
728
|
+
{
|
|
729
|
+
"internalType": "uint32",
|
|
730
|
+
"name": "originalCoverId",
|
|
731
|
+
"type": "uint32"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"internalType": "uint32",
|
|
735
|
+
"name": "latestCoverId",
|
|
736
|
+
"type": "uint32"
|
|
737
|
+
}
|
|
738
|
+
],
|
|
739
|
+
"internalType": "struct CoverReference",
|
|
740
|
+
"name": "",
|
|
741
|
+
"type": "tuple"
|
|
646
742
|
}
|
|
647
743
|
],
|
|
648
744
|
"stateMutability": "view",
|
|
@@ -656,30 +752,29 @@
|
|
|
656
752
|
"type": "uint256"
|
|
657
753
|
}
|
|
658
754
|
],
|
|
659
|
-
"name": "
|
|
755
|
+
"name": "getCoverReference",
|
|
660
756
|
"outputs": [
|
|
661
757
|
{
|
|
662
|
-
"
|
|
663
|
-
|
|
664
|
-
|
|
758
|
+
"components": [
|
|
759
|
+
{
|
|
760
|
+
"internalType": "uint32",
|
|
761
|
+
"name": "originalCoverId",
|
|
762
|
+
"type": "uint32"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"internalType": "uint32",
|
|
766
|
+
"name": "latestCoverId",
|
|
767
|
+
"type": "uint32"
|
|
768
|
+
}
|
|
769
|
+
],
|
|
770
|
+
"internalType": "struct CoverReference",
|
|
771
|
+
"name": "coverReference",
|
|
772
|
+
"type": "tuple"
|
|
665
773
|
}
|
|
666
774
|
],
|
|
667
775
|
"stateMutability": "view",
|
|
668
776
|
"type": "function"
|
|
669
777
|
},
|
|
670
|
-
{
|
|
671
|
-
"inputs": [
|
|
672
|
-
{
|
|
673
|
-
"internalType": "uint256",
|
|
674
|
-
"name": "coverId",
|
|
675
|
-
"type": "uint256"
|
|
676
|
-
}
|
|
677
|
-
],
|
|
678
|
-
"name": "expireCover",
|
|
679
|
-
"outputs": [],
|
|
680
|
-
"stateMutability": "nonpayable",
|
|
681
|
-
"type": "function"
|
|
682
|
-
},
|
|
683
778
|
{
|
|
684
779
|
"inputs": [],
|
|
685
780
|
"name": "getDefaultMinPriceRatio",
|
|
@@ -737,6 +832,108 @@
|
|
|
737
832
|
"stateMutability": "pure",
|
|
738
833
|
"type": "function"
|
|
739
834
|
},
|
|
835
|
+
{
|
|
836
|
+
"inputs": [
|
|
837
|
+
{
|
|
838
|
+
"internalType": "uint256",
|
|
839
|
+
"name": "coverId",
|
|
840
|
+
"type": "uint256"
|
|
841
|
+
}
|
|
842
|
+
],
|
|
843
|
+
"name": "getLatestEditCoverData",
|
|
844
|
+
"outputs": [
|
|
845
|
+
{
|
|
846
|
+
"components": [
|
|
847
|
+
{
|
|
848
|
+
"internalType": "uint24",
|
|
849
|
+
"name": "productId",
|
|
850
|
+
"type": "uint24"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"internalType": "uint8",
|
|
854
|
+
"name": "coverAsset",
|
|
855
|
+
"type": "uint8"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"internalType": "uint96",
|
|
859
|
+
"name": "amount",
|
|
860
|
+
"type": "uint96"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"internalType": "uint32",
|
|
864
|
+
"name": "start",
|
|
865
|
+
"type": "uint32"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"internalType": "uint32",
|
|
869
|
+
"name": "period",
|
|
870
|
+
"type": "uint32"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"internalType": "uint32",
|
|
874
|
+
"name": "gracePeriod",
|
|
875
|
+
"type": "uint32"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"internalType": "uint16",
|
|
879
|
+
"name": "rewardsRatio",
|
|
880
|
+
"type": "uint16"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"internalType": "uint16",
|
|
884
|
+
"name": "capacityRatio",
|
|
885
|
+
"type": "uint16"
|
|
886
|
+
}
|
|
887
|
+
],
|
|
888
|
+
"internalType": "struct CoverData",
|
|
889
|
+
"name": "",
|
|
890
|
+
"type": "tuple"
|
|
891
|
+
}
|
|
892
|
+
],
|
|
893
|
+
"stateMutability": "view",
|
|
894
|
+
"type": "function"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"inputs": [
|
|
898
|
+
{
|
|
899
|
+
"internalType": "uint256",
|
|
900
|
+
"name": "coverId",
|
|
901
|
+
"type": "uint256"
|
|
902
|
+
}
|
|
903
|
+
],
|
|
904
|
+
"name": "getPoolAllocations",
|
|
905
|
+
"outputs": [
|
|
906
|
+
{
|
|
907
|
+
"components": [
|
|
908
|
+
{
|
|
909
|
+
"internalType": "uint40",
|
|
910
|
+
"name": "poolId",
|
|
911
|
+
"type": "uint40"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"internalType": "uint96",
|
|
915
|
+
"name": "coverAmountInNXM",
|
|
916
|
+
"type": "uint96"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"internalType": "uint96",
|
|
920
|
+
"name": "premiumInNXM",
|
|
921
|
+
"type": "uint96"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"internalType": "uint24",
|
|
925
|
+
"name": "allocationId",
|
|
926
|
+
"type": "uint24"
|
|
927
|
+
}
|
|
928
|
+
],
|
|
929
|
+
"internalType": "struct PoolAllocation[]",
|
|
930
|
+
"name": "",
|
|
931
|
+
"type": "tuple[]"
|
|
932
|
+
}
|
|
933
|
+
],
|
|
934
|
+
"stateMutability": "view",
|
|
935
|
+
"type": "function"
|
|
936
|
+
},
|
|
740
937
|
{
|
|
741
938
|
"inputs": [
|
|
742
939
|
{
|
|
@@ -769,6 +966,19 @@
|
|
|
769
966
|
"stateMutability": "view",
|
|
770
967
|
"type": "function"
|
|
771
968
|
},
|
|
969
|
+
{
|
|
970
|
+
"inputs": [
|
|
971
|
+
{
|
|
972
|
+
"internalType": "uint256[]",
|
|
973
|
+
"name": "coverIds",
|
|
974
|
+
"type": "uint256[]"
|
|
975
|
+
}
|
|
976
|
+
],
|
|
977
|
+
"name": "migrateCoverDataAndPoolAllocations",
|
|
978
|
+
"outputs": [],
|
|
979
|
+
"stateMutability": "nonpayable",
|
|
980
|
+
"type": "function"
|
|
981
|
+
},
|
|
772
982
|
{
|
|
773
983
|
"inputs": [
|
|
774
984
|
{
|
|
@@ -176,14 +176,9 @@
|
|
|
176
176
|
{
|
|
177
177
|
"components": [
|
|
178
178
|
{
|
|
179
|
-
"internalType": "
|
|
179
|
+
"internalType": "uint256",
|
|
180
180
|
"name": "poolId",
|
|
181
|
-
"type": "
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"internalType": "bool",
|
|
185
|
-
"name": "skip",
|
|
186
|
-
"type": "bool"
|
|
181
|
+
"type": "uint256"
|
|
187
182
|
},
|
|
188
183
|
{
|
|
189
184
|
"internalType": "uint256",
|