@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
@@ -3,7 +3,7 @@
3
3
  "inputs": [
4
4
  {
5
5
  "internalType": "address",
6
- "name": "coverNFTAddress",
6
+ "name": "_registry",
7
7
  "type": "address"
8
8
  }
9
9
  ],
@@ -12,17 +12,17 @@
12
12
  },
13
13
  {
14
14
  "inputs": [],
15
- "name": "AssessmentDepositInsufficient",
15
+ "name": "AlreadyInitialized",
16
16
  "type": "error"
17
17
  },
18
18
  {
19
19
  "inputs": [],
20
- "name": "AssessmentDepositTransferToPoolFailed",
20
+ "name": "AssessmentDepositNotExact",
21
21
  "type": "error"
22
22
  },
23
23
  {
24
24
  "inputs": [],
25
- "name": "AssessmentDepositTrasnferRefundFailed",
25
+ "name": "AssessmentDepositTransferToPoolFailed",
26
26
  "type": "error"
27
27
  },
28
28
  {
@@ -32,7 +32,7 @@
32
32
  },
33
33
  {
34
34
  "inputs": [],
35
- "name": "ClaimAssessmentNotFinished",
35
+ "name": "ClaimAlreadyPaidOut",
36
36
  "type": "error"
37
37
  },
38
38
  {
@@ -40,6 +40,11 @@
40
40
  "name": "ClaimIsBeingAssessed",
41
41
  "type": "error"
42
42
  },
43
+ {
44
+ "inputs": [],
45
+ "name": "ClaimNotADraw",
46
+ "type": "error"
47
+ },
43
48
  {
44
49
  "inputs": [],
45
50
  "name": "ClaimNotAccepted",
@@ -47,7 +52,7 @@
47
52
  },
48
53
  {
49
54
  "inputs": [],
50
- "name": "CooldownPeriodNotPassed",
55
+ "name": "ClaimNotRedeemable",
51
56
  "type": "error"
52
57
  },
53
58
  {
@@ -55,11 +60,21 @@
55
60
  "name": "CoveredAmountExceeded",
56
61
  "type": "error"
57
62
  },
63
+ {
64
+ "inputs": [],
65
+ "name": "DepositAlreadyRetrieved",
66
+ "type": "error"
67
+ },
58
68
  {
59
69
  "inputs": [],
60
70
  "name": "GracePeriodPassed",
61
71
  "type": "error"
62
72
  },
73
+ {
74
+ "inputs": [],
75
+ "name": "InvalidClaimId",
76
+ "type": "error"
77
+ },
63
78
  {
64
79
  "inputs": [],
65
80
  "name": "InvalidClaimMethod",
@@ -67,24 +82,80 @@
67
82
  },
68
83
  {
69
84
  "inputs": [],
70
- "name": "OnlyOwnerOrApprovedCanSubmitClaim",
85
+ "name": "NotCoverOwner",
71
86
  "type": "error"
72
87
  },
73
88
  {
74
89
  "inputs": [],
75
- "name": "PayoutAlreadyRedeemed",
90
+ "name": "OnlyAdvisoryBoard",
76
91
  "type": "error"
77
92
  },
78
93
  {
79
94
  "inputs": [],
80
- "name": "PayoutCanStillBeRedeemed",
95
+ "name": "OnlyMember",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "uint256",
102
+ "name": "currentState",
103
+ "type": "uint256"
104
+ },
105
+ {
106
+ "internalType": "uint256",
107
+ "name": "checks",
108
+ "type": "uint256"
109
+ }
110
+ ],
111
+ "name": "Paused",
81
112
  "type": "error"
82
113
  },
83
114
  {
84
115
  "inputs": [],
85
- "name": "RedemptionPeriodExpired",
116
+ "name": "PayoutCanStillBeRedeemed",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "address",
123
+ "name": "caller",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "internalType": "uint256",
128
+ "name": "callerIndex",
129
+ "type": "uint256"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "authorizedBitmap",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "Unauthorized",
86
138
  "type": "error"
87
139
  },
140
+ {
141
+ "anonymous": false,
142
+ "inputs": [
143
+ {
144
+ "indexed": true,
145
+ "internalType": "uint256",
146
+ "name": "claimId",
147
+ "type": "uint256"
148
+ },
149
+ {
150
+ "indexed": true,
151
+ "internalType": "address",
152
+ "name": "user",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "ClaimDepositRetrieved",
157
+ "type": "event"
158
+ },
88
159
  {
89
160
  "anonymous": false,
90
161
  "inputs": [
@@ -158,9 +229,9 @@
158
229
  },
159
230
  {
160
231
  "indexed": false,
161
- "internalType": "string",
232
+ "internalType": "bytes32",
162
233
  "name": "ipfsMetadata",
163
- "type": "string"
234
+ "type": "bytes32"
164
235
  }
165
236
  ],
166
237
  "name": "MetadataSubmitted",
@@ -168,7 +239,7 @@
168
239
  },
169
240
  {
170
241
  "inputs": [],
171
- "name": "MAX_REWARD_IN_NXM",
242
+ "name": "CLAIM_DEPOSIT_IN_ETH",
172
243
  "outputs": [
173
244
  {
174
245
  "internalType": "uint256",
@@ -181,51 +252,12 @@
181
252
  },
182
253
  {
183
254
  "inputs": [],
184
- "name": "MIN_ASSESSMENT_DEPOSIT_DENOMINATOR",
255
+ "name": "assessments",
185
256
  "outputs": [
186
257
  {
187
- "internalType": "uint256",
258
+ "internalType": "contract IAssessments",
188
259
  "name": "",
189
- "type": "uint256"
190
- }
191
- ],
192
- "stateMutability": "view",
193
- "type": "function"
194
- },
195
- {
196
- "inputs": [],
197
- "name": "MIN_ASSESSMENT_DEPOSIT_RATIO",
198
- "outputs": [
199
- {
200
- "internalType": "uint256",
201
- "name": "",
202
- "type": "uint256"
203
- }
204
- ],
205
- "stateMutability": "view",
206
- "type": "function"
207
- },
208
- {
209
- "inputs": [],
210
- "name": "ONE_NXM",
211
- "outputs": [
212
- {
213
- "internalType": "uint256",
214
- "name": "",
215
- "type": "uint256"
216
- }
217
- ],
218
- "stateMutability": "view",
219
- "type": "function"
220
- },
221
- {
222
- "inputs": [],
223
- "name": "PAYOUT_REDEMPTION_PERIOD",
224
- "outputs": [
225
- {
226
- "internalType": "uint256",
227
- "name": "",
228
- "type": "uint256"
260
+ "type": "address"
229
261
  }
230
262
  ],
231
263
  "stateMutability": "view",
@@ -233,12 +265,12 @@
233
265
  },
234
266
  {
235
267
  "inputs": [],
236
- "name": "REWARD_DENOMINATOR",
268
+ "name": "cover",
237
269
  "outputs": [
238
270
  {
239
- "internalType": "uint256",
271
+ "internalType": "contract ICover",
240
272
  "name": "",
241
- "type": "uint256"
273
+ "type": "address"
242
274
  }
243
275
  ],
244
276
  "stateMutability": "view",
@@ -246,87 +278,23 @@
246
278
  },
247
279
  {
248
280
  "inputs": [],
249
- "name": "REWARD_RATIO",
281
+ "name": "coverNFT",
250
282
  "outputs": [
251
283
  {
252
- "internalType": "uint256",
284
+ "internalType": "contract ICoverNFT",
253
285
  "name": "",
254
- "type": "uint256"
255
- }
256
- ],
257
- "stateMutability": "view",
258
- "type": "function"
259
- },
260
- {
261
- "inputs": [],
262
- "name": "changeDependentContractAddress",
263
- "outputs": [],
264
- "stateMutability": "nonpayable",
265
- "type": "function"
266
- },
267
- {
268
- "inputs": [
269
- {
270
- "internalType": "address",
271
- "name": "masterAddress",
272
286
  "type": "address"
273
287
  }
274
288
  ],
275
- "name": "changeMasterAddress",
276
- "outputs": [],
277
- "stateMutability": "nonpayable",
278
- "type": "function"
279
- },
280
- {
281
- "inputs": [
282
- {
283
- "internalType": "uint256",
284
- "name": "",
285
- "type": "uint256"
286
- }
287
- ],
288
- "name": "claims",
289
- "outputs": [
290
- {
291
- "internalType": "uint80",
292
- "name": "assessmentId",
293
- "type": "uint80"
294
- },
295
- {
296
- "internalType": "uint32",
297
- "name": "coverId",
298
- "type": "uint32"
299
- },
300
- {
301
- "internalType": "uint16",
302
- "name": "segmentId",
303
- "type": "uint16"
304
- },
305
- {
306
- "internalType": "uint96",
307
- "name": "amount",
308
- "type": "uint96"
309
- },
310
- {
311
- "internalType": "uint8",
312
- "name": "coverAsset",
313
- "type": "uint8"
314
- },
315
- {
316
- "internalType": "bool",
317
- "name": "payoutRedeemed",
318
- "type": "bool"
319
- }
320
- ],
321
289
  "stateMutability": "view",
322
290
  "type": "function"
323
291
  },
324
292
  {
325
293
  "inputs": [],
326
- "name": "coverNFT",
294
+ "name": "coverProducts",
327
295
  "outputs": [
328
296
  {
329
- "internalType": "contract ICoverNFT",
297
+ "internalType": "contract ICoverProducts",
330
298
  "name": "",
331
299
  "type": "address"
332
300
  }
@@ -338,130 +306,215 @@
338
306
  "inputs": [
339
307
  {
340
308
  "internalType": "uint256",
341
- "name": "requestedAmount",
342
- "type": "uint256"
343
- },
344
- {
345
- "internalType": "uint256",
346
- "name": "coverPeriod",
347
- "type": "uint256"
348
- },
349
- {
350
- "internalType": "uint256",
351
- "name": "coverAsset",
309
+ "name": "claimId",
352
310
  "type": "uint256"
353
311
  }
354
312
  ],
355
- "name": "getAssessmentDepositAndReward",
313
+ "name": "getClaim",
356
314
  "outputs": [
357
315
  {
358
- "internalType": "uint256",
359
- "name": "",
360
- "type": "uint256"
361
- },
362
- {
363
- "internalType": "uint256",
316
+ "components": [
317
+ {
318
+ "internalType": "uint32",
319
+ "name": "coverId",
320
+ "type": "uint32"
321
+ },
322
+ {
323
+ "internalType": "uint96",
324
+ "name": "amount",
325
+ "type": "uint96"
326
+ },
327
+ {
328
+ "internalType": "uint8",
329
+ "name": "coverAsset",
330
+ "type": "uint8"
331
+ },
332
+ {
333
+ "internalType": "uint32",
334
+ "name": "payoutRedemptionPeriod",
335
+ "type": "uint32"
336
+ },
337
+ {
338
+ "internalType": "bool",
339
+ "name": "payoutRedeemed",
340
+ "type": "bool"
341
+ },
342
+ {
343
+ "internalType": "bool",
344
+ "name": "depositRetrieved",
345
+ "type": "bool"
346
+ }
347
+ ],
348
+ "internalType": "struct IClaims.Claim",
364
349
  "name": "",
365
- "type": "uint256"
350
+ "type": "tuple"
366
351
  }
367
352
  ],
368
353
  "stateMutability": "view",
369
354
  "type": "function"
370
355
  },
371
356
  {
372
- "inputs": [],
373
- "name": "getClaimsCount",
374
- "outputs": [
357
+ "inputs": [
375
358
  {
376
359
  "internalType": "uint256",
377
- "name": "",
360
+ "name": "claimId",
378
361
  "type": "uint256"
379
362
  }
380
363
  ],
381
- "stateMutability": "view",
382
- "type": "function"
383
- },
384
- {
385
- "inputs": [
386
- {
387
- "internalType": "uint256[]",
388
- "name": "ids",
389
- "type": "uint256[]"
390
- }
391
- ],
392
- "name": "getClaimsToDisplay",
364
+ "name": "getClaimDetails",
393
365
  "outputs": [
394
366
  {
395
367
  "components": [
396
368
  {
397
369
  "internalType": "uint256",
398
- "name": "id",
399
- "type": "uint256"
400
- },
401
- {
402
- "internalType": "uint256",
403
- "name": "productId",
404
- "type": "uint256"
405
- },
406
- {
407
- "internalType": "uint256",
408
- "name": "coverId",
370
+ "name": "claimId",
409
371
  "type": "uint256"
410
372
  },
411
373
  {
412
- "internalType": "uint256",
413
- "name": "assessmentId",
414
- "type": "uint256"
374
+ "components": [
375
+ {
376
+ "internalType": "uint32",
377
+ "name": "coverId",
378
+ "type": "uint32"
379
+ },
380
+ {
381
+ "internalType": "uint96",
382
+ "name": "amount",
383
+ "type": "uint96"
384
+ },
385
+ {
386
+ "internalType": "uint8",
387
+ "name": "coverAsset",
388
+ "type": "uint8"
389
+ },
390
+ {
391
+ "internalType": "uint32",
392
+ "name": "payoutRedemptionPeriod",
393
+ "type": "uint32"
394
+ },
395
+ {
396
+ "internalType": "bool",
397
+ "name": "payoutRedeemed",
398
+ "type": "bool"
399
+ },
400
+ {
401
+ "internalType": "bool",
402
+ "name": "depositRetrieved",
403
+ "type": "bool"
404
+ }
405
+ ],
406
+ "internalType": "struct IClaims.Claim",
407
+ "name": "claim",
408
+ "type": "tuple"
415
409
  },
416
410
  {
417
- "internalType": "uint256",
418
- "name": "amount",
419
- "type": "uint256"
420
- },
421
- {
422
- "internalType": "string",
423
- "name": "assetSymbol",
424
- "type": "string"
411
+ "components": [
412
+ {
413
+ "internalType": "uint24",
414
+ "name": "productId",
415
+ "type": "uint24"
416
+ },
417
+ {
418
+ "internalType": "uint8",
419
+ "name": "coverAsset",
420
+ "type": "uint8"
421
+ },
422
+ {
423
+ "internalType": "uint96",
424
+ "name": "amount",
425
+ "type": "uint96"
426
+ },
427
+ {
428
+ "internalType": "uint32",
429
+ "name": "start",
430
+ "type": "uint32"
431
+ },
432
+ {
433
+ "internalType": "uint32",
434
+ "name": "period",
435
+ "type": "uint32"
436
+ },
437
+ {
438
+ "internalType": "uint32",
439
+ "name": "gracePeriod",
440
+ "type": "uint32"
441
+ },
442
+ {
443
+ "internalType": "uint16",
444
+ "name": "rewardsRatio",
445
+ "type": "uint16"
446
+ },
447
+ {
448
+ "internalType": "uint16",
449
+ "name": "capacityRatio",
450
+ "type": "uint16"
451
+ }
452
+ ],
453
+ "internalType": "struct CoverData",
454
+ "name": "cover",
455
+ "type": "tuple"
425
456
  },
426
457
  {
427
- "internalType": "uint256",
428
- "name": "assetIndex",
429
- "type": "uint256"
458
+ "components": [
459
+ {
460
+ "internalType": "uint16",
461
+ "name": "assessingGroupId",
462
+ "type": "uint16"
463
+ },
464
+ {
465
+ "internalType": "uint32",
466
+ "name": "cooldownPeriod",
467
+ "type": "uint32"
468
+ },
469
+ {
470
+ "internalType": "uint32",
471
+ "name": "start",
472
+ "type": "uint32"
473
+ },
474
+ {
475
+ "internalType": "uint32",
476
+ "name": "votingEnd",
477
+ "type": "uint32"
478
+ },
479
+ {
480
+ "internalType": "uint8",
481
+ "name": "acceptVotes",
482
+ "type": "uint8"
483
+ },
484
+ {
485
+ "internalType": "uint8",
486
+ "name": "denyVotes",
487
+ "type": "uint8"
488
+ }
489
+ ],
490
+ "internalType": "struct Assessment",
491
+ "name": "assessment",
492
+ "type": "tuple"
430
493
  },
431
494
  {
432
- "internalType": "uint256",
433
- "name": "coverStart",
434
- "type": "uint256"
435
- },
436
- {
437
- "internalType": "uint256",
438
- "name": "coverEnd",
439
- "type": "uint256"
440
- },
441
- {
442
- "internalType": "uint256",
443
- "name": "pollStart",
444
- "type": "uint256"
495
+ "internalType": "enum AssessmentStatus",
496
+ "name": "status",
497
+ "type": "uint8"
445
498
  },
446
499
  {
447
- "internalType": "uint256",
448
- "name": "pollEnd",
449
- "type": "uint256"
500
+ "internalType": "enum AssessmentOutcome",
501
+ "name": "outcome",
502
+ "type": "uint8"
450
503
  },
451
504
  {
452
- "internalType": "uint256",
453
- "name": "claimStatus",
454
- "type": "uint256"
505
+ "internalType": "bool",
506
+ "name": "redeemable",
507
+ "type": "bool"
455
508
  },
456
509
  {
457
- "internalType": "uint256",
458
- "name": "payoutStatus",
459
- "type": "uint256"
510
+ "internalType": "bytes32",
511
+ "name": "ipfsMetadata",
512
+ "type": "bytes32"
460
513
  }
461
514
  ],
462
- "internalType": "struct IIndividualClaims.ClaimDisplay[]",
515
+ "internalType": "struct IClaims.ClaimDetails",
463
516
  "name": "",
464
- "type": "tuple[]"
517
+ "type": "tuple"
465
518
  }
466
519
  ],
467
520
  "stateMutability": "view",
@@ -469,7 +522,7 @@
469
522
  },
470
523
  {
471
524
  "inputs": [],
472
- "name": "getMaxRewardInNxm",
525
+ "name": "getClaimsCount",
473
526
  "outputs": [
474
527
  {
475
528
  "internalType": "uint256",
@@ -477,60 +530,66 @@
477
530
  "type": "uint256"
478
531
  }
479
532
  ],
480
- "stateMutability": "pure",
533
+ "stateMutability": "view",
481
534
  "type": "function"
482
535
  },
483
536
  {
484
- "inputs": [],
485
- "name": "getMinAssessmentDepositRatio",
486
- "outputs": [
537
+ "inputs": [
487
538
  {
488
539
  "internalType": "uint256",
489
- "name": "",
540
+ "name": "memberId",
490
541
  "type": "uint256"
491
542
  }
492
543
  ],
493
- "stateMutability": "pure",
494
- "type": "function"
495
- },
496
- {
497
- "inputs": [],
498
- "name": "getPayoutRedemptionPeriod",
544
+ "name": "getMemberClaims",
499
545
  "outputs": [
500
546
  {
501
- "internalType": "uint256",
547
+ "internalType": "uint256[]",
502
548
  "name": "",
503
- "type": "uint256"
549
+ "type": "uint256[]"
504
550
  }
505
551
  ],
506
- "stateMutability": "pure",
552
+ "stateMutability": "view",
507
553
  "type": "function"
508
554
  },
509
555
  {
510
- "inputs": [],
511
- "name": "getRewardRatio",
512
- "outputs": [
556
+ "inputs": [
513
557
  {
514
558
  "internalType": "uint256",
515
- "name": "",
559
+ "name": "lastClaimId",
516
560
  "type": "uint256"
517
561
  }
518
562
  ],
519
- "stateMutability": "pure",
563
+ "name": "initialize",
564
+ "outputs": [],
565
+ "stateMutability": "nonpayable",
520
566
  "type": "function"
521
567
  },
522
568
  {
523
569
  "inputs": [
524
570
  {
525
571
  "internalType": "uint256",
526
- "name": "",
572
+ "name": "coverId",
527
573
  "type": "uint256"
528
574
  }
529
575
  ],
530
- "name": "internalContracts",
576
+ "name": "lastClaimSubmissionOnCover",
531
577
  "outputs": [
532
578
  {
533
- "internalType": "address payable",
579
+ "internalType": "uint256",
580
+ "name": "claimId",
581
+ "type": "uint256"
582
+ }
583
+ ],
584
+ "stateMutability": "view",
585
+ "type": "function"
586
+ },
587
+ {
588
+ "inputs": [],
589
+ "name": "pool",
590
+ "outputs": [
591
+ {
592
+ "internalType": "contract IPool",
534
593
  "name": "",
535
594
  "type": "address"
536
595
  }
@@ -539,35 +598,37 @@
539
598
  "type": "function"
540
599
  },
541
600
  {
542
- "inputs": [
601
+ "inputs": [],
602
+ "name": "ramm",
603
+ "outputs": [
543
604
  {
544
- "internalType": "uint256",
605
+ "internalType": "contract IRamm",
545
606
  "name": "",
546
- "type": "uint256"
607
+ "type": "address"
547
608
  }
548
609
  ],
549
- "name": "lastClaimSubmissionOnCover",
550
- "outputs": [
610
+ "stateMutability": "view",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [
551
615
  {
552
- "internalType": "uint80",
616
+ "internalType": "uint256",
553
617
  "name": "claimId",
554
- "type": "uint80"
555
- },
556
- {
557
- "internalType": "bool",
558
- "name": "exists",
559
- "type": "bool"
618
+ "type": "uint256"
560
619
  }
561
620
  ],
562
- "stateMutability": "view",
621
+ "name": "redeemClaimPayout",
622
+ "outputs": [],
623
+ "stateMutability": "nonpayable",
563
624
  "type": "function"
564
625
  },
565
626
  {
566
627
  "inputs": [],
567
- "name": "master",
628
+ "name": "registry",
568
629
  "outputs": [
569
630
  {
570
- "internalType": "contract INXMMaster",
631
+ "internalType": "contract IRegistry",
571
632
  "name": "",
572
633
  "type": "address"
573
634
  }
@@ -578,12 +639,12 @@
578
639
  {
579
640
  "inputs": [
580
641
  {
581
- "internalType": "uint104",
642
+ "internalType": "uint256",
582
643
  "name": "claimId",
583
- "type": "uint104"
644
+ "type": "uint256"
584
645
  }
585
646
  ],
586
- "name": "redeemClaimPayout",
647
+ "name": "retrieveDeposit",
587
648
  "outputs": [],
588
649
  "stateMutability": "nonpayable",
589
650
  "type": "function"
@@ -601,30 +662,20 @@
601
662
  "type": "uint96"
602
663
  },
603
664
  {
604
- "internalType": "string",
665
+ "internalType": "bytes32",
605
666
  "name": "ipfsMetadata",
606
- "type": "string"
667
+ "type": "bytes32"
607
668
  }
608
669
  ],
609
670
  "name": "submitClaim",
610
671
  "outputs": [
611
672
  {
612
673
  "components": [
613
- {
614
- "internalType": "uint80",
615
- "name": "assessmentId",
616
- "type": "uint80"
617
- },
618
674
  {
619
675
  "internalType": "uint32",
620
676
  "name": "coverId",
621
677
  "type": "uint32"
622
678
  },
623
- {
624
- "internalType": "uint16",
625
- "name": "segmentId",
626
- "type": "uint16"
627
- },
628
679
  {
629
680
  "internalType": "uint96",
630
681
  "name": "amount",
@@ -635,13 +686,23 @@
635
686
  "name": "coverAsset",
636
687
  "type": "uint8"
637
688
  },
689
+ {
690
+ "internalType": "uint32",
691
+ "name": "payoutRedemptionPeriod",
692
+ "type": "uint32"
693
+ },
638
694
  {
639
695
  "internalType": "bool",
640
696
  "name": "payoutRedeemed",
641
697
  "type": "bool"
698
+ },
699
+ {
700
+ "internalType": "bool",
701
+ "name": "depositRetrieved",
702
+ "type": "bool"
642
703
  }
643
704
  ],
644
- "internalType": "struct IIndividualClaims.Claim",
705
+ "internalType": "struct IClaims.Claim",
645
706
  "name": "claim",
646
707
  "type": "tuple"
647
708
  }