@hazbase/simplicity 0.1.1 → 0.2.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.
Files changed (37) hide show
  1. package/README.md +139 -1534
  2. package/dist/cli.js +1107 -1
  3. package/dist/client/SimplicityClient.d.ts +30 -3
  4. package/dist/client/SimplicityClient.js +28 -0
  5. package/dist/core/lineage.d.ts +18 -0
  6. package/dist/core/lineage.js +30 -0
  7. package/dist/core/reporting.d.ts +22 -0
  8. package/dist/core/reporting.js +40 -0
  9. package/dist/core/schnorr.d.ts +3 -3
  10. package/dist/core/schnorr.js +19 -7
  11. package/dist/core/types.d.ts +251 -5
  12. package/dist/docs/definitions/fund-capital-call-refund-only.simf +36 -2
  13. package/dist/docs/definitions/receivable-definition.json +9 -0
  14. package/dist/docs/definitions/receivable-funding-claim.json +13 -0
  15. package/dist/docs/definitions/receivable-funding-claim.simf +58 -0
  16. package/dist/docs/definitions/receivable-repayment-claim.json +13 -0
  17. package/dist/docs/definitions/receivable-repayment-claim.simf +59 -0
  18. package/dist/docs/definitions/receivable-state-funded.json +20 -0
  19. package/dist/docs/definitions/receivable-state-originated.json +19 -0
  20. package/dist/docs/definitions/receivable-state-repaid.json +20 -0
  21. package/dist/domain/bond.d.ts +82 -15
  22. package/dist/domain/bond.js +159 -10
  23. package/dist/domain/bondValidation.d.ts +31 -1
  24. package/dist/domain/bondValidation.js +73 -9
  25. package/dist/domain/fund.d.ts +451 -68
  26. package/dist/domain/fund.js +460 -88
  27. package/dist/domain/fundValidation.d.ts +33 -3
  28. package/dist/domain/fundValidation.js +137 -5
  29. package/dist/domain/policies.d.ts +13 -0
  30. package/dist/domain/policies.js +50 -30
  31. package/dist/domain/receivable.d.ts +824 -0
  32. package/dist/domain/receivable.js +1375 -0
  33. package/dist/domain/receivableValidation.d.ts +147 -0
  34. package/dist/domain/receivableValidation.js +831 -0
  35. package/dist/index.d.ts +5 -3
  36. package/dist/index.js +55 -3
  37. package/package.json +6 -1
@@ -1,5 +1,6 @@
1
1
  import type { SimplicityClient } from "../client/SimplicityClient";
2
2
  import type { BondOutputBindingMode, CapitalCallState, DistributionDescriptor, FundClosingDescriptor, FundDefinition, FundEvidenceBundle, FundFinalityPayload, FundPayoutDescriptor, FundVerificationReport, FundVerificationReportSchemaVersion, LPPositionReceipt, LPPositionReceiptEnvelope, OutputAmountForm, OutputAssetForm, OutputBindingInputs, OutputBindingReasonCode, OutputBindingSupportedForm, OutputNonceForm, OutputRawFields, OutputRangeProofForm, SimplicityArtifact } from "../core/types";
3
+ import { verifyLPPositionReceiptEnvelope } from "./fundValidation";
3
4
  export declare function define(sdk: SimplicityClient, input: {
4
5
  definitionPath?: string;
5
6
  definitionValue?: FundDefinition;
@@ -120,7 +121,12 @@ export declare function prepareCapitalCall(sdk: SimplicityClient, input: {
120
121
  sequence?: number;
121
122
  sequenceMonotonic?: boolean;
122
123
  attestingSignerMatch?: boolean;
124
+ previousEnvelopeProvided?: boolean;
125
+ previousReceiptHashMatch?: boolean;
126
+ previousSequenceMatch?: boolean;
127
+ continuityVerified?: boolean;
123
128
  };
129
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
124
130
  closingTrust?: {
125
131
  positionReceiptHashMatch: boolean;
126
132
  finalDistributionHashesPresent: boolean;
@@ -169,12 +175,12 @@ export declare function verifyCapitalCall(sdk: SimplicityClient, input: {
169
175
  refundPathRuntimeAvailable: boolean;
170
176
  statusValid: true;
171
177
  };
178
+ schemaVersion: FundVerificationReportSchemaVersion;
172
179
  artifactTrust?: {
173
180
  definition: import("../core/types").DefinitionVerificationResult["trust"];
174
181
  state: import("../core/types").StateVerificationResult["trust"];
175
182
  };
176
183
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
177
- schemaVersion: FundVerificationReportSchemaVersion;
178
184
  distributionTrust?: {
179
185
  fundIdMatch: boolean;
180
186
  lpIdMatch: boolean;
@@ -206,7 +212,12 @@ export declare function verifyCapitalCall(sdk: SimplicityClient, input: {
206
212
  sequence?: number;
207
213
  sequenceMonotonic?: boolean;
208
214
  attestingSignerMatch?: boolean;
215
+ previousEnvelopeProvided?: boolean;
216
+ previousReceiptHashMatch?: boolean;
217
+ previousSequenceMatch?: boolean;
218
+ continuityVerified?: boolean;
209
219
  };
220
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
210
221
  closingTrust?: {
211
222
  positionReceiptHashMatch: boolean;
212
223
  finalDistributionHashesPresent: boolean;
@@ -248,7 +259,127 @@ export declare function verifyPositionReceipt(sdk: SimplicityClient, input: {
248
259
  definitionValue?: FundDefinition;
249
260
  positionReceiptPath?: string;
250
261
  positionReceiptValue?: LPPositionReceiptEnvelope;
262
+ previousPositionReceiptPath?: string;
263
+ previousPositionReceiptValue?: LPPositionReceiptEnvelope;
264
+ positionReceiptChainPaths?: string[];
265
+ positionReceiptChainValues?: LPPositionReceiptEnvelope[];
251
266
  }): Promise<{
267
+ receiptChecks: {
268
+ positionReceiptHashMatch: boolean;
269
+ sequenceMatch: boolean;
270
+ sequenceMonotonic: boolean;
271
+ attestingSignerMatch: boolean;
272
+ attestationVerified: boolean;
273
+ previousEnvelopeProvided: boolean;
274
+ previousReceiptHashMatch: boolean;
275
+ previousSequenceMatch: boolean;
276
+ continuityVerified: boolean;
277
+ };
278
+ receiptChainChecks: {
279
+ chainLength: number;
280
+ latestSequence?: number;
281
+ startsAtGenesis: boolean;
282
+ latestSequenceCovered: boolean;
283
+ sequenceContiguous: boolean;
284
+ fundConsistent: boolean;
285
+ positionConsistent: boolean;
286
+ lpConsistent: boolean;
287
+ callConsistent: boolean;
288
+ currencyConsistent: boolean;
289
+ lpXonlyConsistent: boolean;
290
+ attestingSignerConsistent: boolean;
291
+ allPositionReceiptHashMatch: boolean;
292
+ allSequenceMatch: boolean;
293
+ allSequenceMonotonic: boolean;
294
+ allAttestingSignerMatch: boolean;
295
+ allAttestationVerified: boolean;
296
+ allContinuityVerified: boolean;
297
+ fullChainVerified: boolean;
298
+ stepChecks: Awaited<ReturnType<typeof verifyLPPositionReceiptEnvelope>>[];
299
+ };
300
+ report: {
301
+ receiptTrust: {
302
+ generated: boolean;
303
+ positionReceiptHash?: string;
304
+ positionStatus: import("../core/types").LPPositionReceiptStatus;
305
+ attested: boolean;
306
+ attestationVerified: boolean;
307
+ sequence?: number;
308
+ sequenceMonotonic?: boolean;
309
+ attestingSignerMatch?: boolean;
310
+ previousEnvelopeProvided?: boolean;
311
+ previousReceiptHashMatch?: boolean;
312
+ previousSequenceMatch?: boolean;
313
+ continuityVerified?: boolean;
314
+ } | undefined;
315
+ receiptChainTrust: import("../core/types").FundReceiptChainTrust | undefined;
316
+ schemaVersion: FundVerificationReportSchemaVersion;
317
+ artifactTrust?: {
318
+ definition: import("../core/types").DefinitionVerificationResult["trust"];
319
+ state: import("../core/types").StateVerificationResult["trust"];
320
+ };
321
+ stateTrust?: import("../core/types").StateVerificationResult["trust"];
322
+ capitalCallTrust?: {
323
+ capitalCallStage: import("../core/types").CapitalCallStage;
324
+ cutoffMode: import("../core/types").CapitalCallCutoffMode;
325
+ fundIdMatch: boolean;
326
+ currencyMatch: boolean;
327
+ managerMatch: boolean;
328
+ claimCutoffCommitted: boolean;
329
+ lpCommitted: boolean;
330
+ managerCommitted: boolean;
331
+ claimPathRuntimeAvailable: boolean;
332
+ refundPathRuntimeAvailable: boolean;
333
+ statusValid: boolean;
334
+ };
335
+ distributionTrust?: {
336
+ fundIdMatch: boolean;
337
+ lpIdMatch: boolean;
338
+ positionIdMatch: boolean;
339
+ positionReceiptHashMatch: boolean;
340
+ positionStatusEligible: boolean;
341
+ };
342
+ outputBindingTrust?: {
343
+ mode: BondOutputBindingMode;
344
+ requestedMode?: BondOutputBindingMode;
345
+ supportedForm?: OutputBindingSupportedForm;
346
+ nextReceiverRuntimeCommitted: boolean;
347
+ outputCountRuntimeBound: boolean;
348
+ feeIndexRuntimeBound: boolean;
349
+ nextOutputHashRuntimeBound?: boolean;
350
+ nextOutputScriptRuntimeBound: boolean;
351
+ amountRuntimeBound: boolean;
352
+ reasonCode?: OutputBindingReasonCode;
353
+ autoDerived?: boolean;
354
+ fallbackReason?: string;
355
+ bindingInputs?: OutputBindingInputs;
356
+ };
357
+ closingTrust?: {
358
+ positionReceiptHashMatch: boolean;
359
+ finalDistributionHashesPresent: boolean;
360
+ positionStatusEligible: boolean;
361
+ };
362
+ };
363
+ positionReceiptChain?: import("../core/types").StateDocumentDescriptor[] | undefined;
364
+ positionReceiptChainValues?: LPPositionReceiptEnvelope[] | undefined;
365
+ positionReceiptChainSummaries?: {
366
+ canonicalJson: string;
367
+ hash: string;
368
+ }[] | undefined;
369
+ positionReceiptEnvelopeChainSummaries?: {
370
+ canonicalJson: string;
371
+ hash: string;
372
+ }[] | undefined;
373
+ previousPositionReceipt?: import("../core/types").StateDocumentDescriptor | undefined;
374
+ previousPositionReceiptValue?: LPPositionReceiptEnvelope | undefined;
375
+ previousPositionReceiptSummary?: {
376
+ canonicalJson: string;
377
+ hash: string;
378
+ } | undefined;
379
+ previousPositionReceiptEnvelopeSummary?: {
380
+ canonicalJson: string;
381
+ hash: string;
382
+ } | undefined;
252
383
  verified: boolean;
253
384
  definition: import("../core/types").DefinitionDescriptor;
254
385
  definitionValue: FundDefinition;
@@ -266,12 +397,55 @@ export declare function verifyPositionReceipt(sdk: SimplicityClient, input: {
266
397
  canonicalJson: string;
267
398
  hash: string;
268
399
  };
400
+ }>;
401
+ export declare function verifyPositionReceiptChain(sdk: SimplicityClient, input: {
402
+ definitionPath?: string;
403
+ definitionValue?: FundDefinition;
404
+ positionReceiptChainPaths?: string[];
405
+ positionReceiptChainValues?: LPPositionReceiptEnvelope[];
406
+ }): Promise<{
407
+ positionReceiptChain: import("../core/types").StateDocumentDescriptor[];
408
+ positionReceiptChainValues: LPPositionReceiptEnvelope[];
409
+ positionReceiptChainSummaries: {
410
+ canonicalJson: string;
411
+ hash: string;
412
+ }[];
413
+ positionReceiptEnvelopeChainSummaries: {
414
+ canonicalJson: string;
415
+ hash: string;
416
+ }[];
269
417
  receiptChecks: {
270
418
  positionReceiptHashMatch: boolean;
271
419
  sequenceMatch: boolean;
272
420
  sequenceMonotonic: boolean;
273
421
  attestingSignerMatch: boolean;
274
422
  attestationVerified: boolean;
423
+ previousEnvelopeProvided: boolean;
424
+ previousReceiptHashMatch: boolean;
425
+ previousSequenceMatch: boolean;
426
+ continuityVerified: boolean;
427
+ };
428
+ receiptChainChecks: {
429
+ chainLength: number;
430
+ latestSequence?: number;
431
+ startsAtGenesis: boolean;
432
+ latestSequenceCovered: boolean;
433
+ sequenceContiguous: boolean;
434
+ fundConsistent: boolean;
435
+ positionConsistent: boolean;
436
+ lpConsistent: boolean;
437
+ callConsistent: boolean;
438
+ currencyConsistent: boolean;
439
+ lpXonlyConsistent: boolean;
440
+ attestingSignerConsistent: boolean;
441
+ allPositionReceiptHashMatch: boolean;
442
+ allSequenceMatch: boolean;
443
+ allSequenceMonotonic: boolean;
444
+ allAttestingSignerMatch: boolean;
445
+ allAttestationVerified: boolean;
446
+ allContinuityVerified: boolean;
447
+ fullChainVerified: boolean;
448
+ stepChecks: Awaited<ReturnType<typeof verifyLPPositionReceiptEnvelope>>[];
275
449
  };
276
450
  report: {
277
451
  receiptTrust: {
@@ -283,7 +457,12 @@ export declare function verifyPositionReceipt(sdk: SimplicityClient, input: {
283
457
  sequence?: number;
284
458
  sequenceMonotonic?: boolean;
285
459
  attestingSignerMatch?: boolean;
460
+ previousEnvelopeProvided?: boolean;
461
+ previousReceiptHashMatch?: boolean;
462
+ previousSequenceMatch?: boolean;
463
+ continuityVerified?: boolean;
286
464
  } | undefined;
465
+ receiptChainTrust: import("../core/types").FundReceiptChainTrust | undefined;
287
466
  schemaVersion: FundVerificationReportSchemaVersion;
288
467
  artifactTrust?: {
289
468
  definition: import("../core/types").DefinitionVerificationResult["trust"];
@@ -331,6 +510,33 @@ export declare function verifyPositionReceipt(sdk: SimplicityClient, input: {
331
510
  positionStatusEligible: boolean;
332
511
  };
333
512
  };
513
+ previousPositionReceipt?: import("../core/types").StateDocumentDescriptor | undefined;
514
+ previousPositionReceiptValue?: LPPositionReceiptEnvelope | undefined;
515
+ previousPositionReceiptSummary?: {
516
+ canonicalJson: string;
517
+ hash: string;
518
+ } | undefined;
519
+ previousPositionReceiptEnvelopeSummary?: {
520
+ canonicalJson: string;
521
+ hash: string;
522
+ } | undefined;
523
+ verified: boolean;
524
+ definition: import("../core/types").DefinitionDescriptor;
525
+ definitionValue: FundDefinition;
526
+ definitionSummary: {
527
+ canonicalJson: string;
528
+ hash: string;
529
+ };
530
+ positionReceipt: import("../core/types").StateDocumentDescriptor;
531
+ positionReceiptValue: LPPositionReceiptEnvelope;
532
+ positionReceiptSummary: {
533
+ canonicalJson: string;
534
+ hash: string;
535
+ };
536
+ positionReceiptEnvelopeSummary: {
537
+ canonicalJson: string;
538
+ hash: string;
539
+ };
334
540
  }>;
335
541
  export declare function inspectCapitalCallClaim(sdk: SimplicityClient, input: {
336
542
  artifactPath?: string;
@@ -394,12 +600,12 @@ export declare function inspectCapitalCallClaim(sdk: SimplicityClient, input: {
394
600
  refundPathRuntimeAvailable: boolean;
395
601
  statusValid: true;
396
602
  };
603
+ schemaVersion: FundVerificationReportSchemaVersion;
397
604
  artifactTrust?: {
398
605
  definition: import("../core/types").DefinitionVerificationResult["trust"];
399
606
  state: import("../core/types").StateVerificationResult["trust"];
400
607
  };
401
608
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
402
- schemaVersion: FundVerificationReportSchemaVersion;
403
609
  distributionTrust?: {
404
610
  fundIdMatch: boolean;
405
611
  lpIdMatch: boolean;
@@ -431,7 +637,12 @@ export declare function inspectCapitalCallClaim(sdk: SimplicityClient, input: {
431
637
  sequence?: number;
432
638
  sequenceMonotonic?: boolean;
433
639
  attestingSignerMatch?: boolean;
640
+ previousEnvelopeProvided?: boolean;
641
+ previousReceiptHashMatch?: boolean;
642
+ previousSequenceMatch?: boolean;
643
+ continuityVerified?: boolean;
434
644
  };
645
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
435
646
  closingTrust?: {
436
647
  positionReceiptHashMatch: boolean;
437
648
  finalDistributionHashesPresent: boolean;
@@ -477,6 +688,10 @@ export declare function inspectCapitalCallClaim(sdk: SimplicityClient, input: {
477
688
  sequence?: number;
478
689
  sequenceMonotonic?: boolean;
479
690
  attestingSignerMatch?: boolean;
691
+ previousEnvelopeProvided?: boolean;
692
+ previousReceiptHashMatch?: boolean;
693
+ previousSequenceMatch?: boolean;
694
+ continuityVerified?: boolean;
480
695
  } | undefined;
481
696
  capitalCallTrust: {
482
697
  capitalCallStage: "open" | "claimed" | "refund-only" | "refunded";
@@ -491,12 +706,12 @@ export declare function inspectCapitalCallClaim(sdk: SimplicityClient, input: {
491
706
  refundPathRuntimeAvailable: boolean;
492
707
  statusValid: true;
493
708
  };
709
+ schemaVersion: FundVerificationReportSchemaVersion;
494
710
  artifactTrust?: {
495
711
  definition: import("../core/types").DefinitionVerificationResult["trust"];
496
712
  state: import("../core/types").StateVerificationResult["trust"];
497
713
  };
498
714
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
499
- schemaVersion: FundVerificationReportSchemaVersion;
500
715
  distributionTrust?: {
501
716
  fundIdMatch: boolean;
502
717
  lpIdMatch: boolean;
@@ -504,6 +719,7 @@ export declare function inspectCapitalCallClaim(sdk: SimplicityClient, input: {
504
719
  positionReceiptHashMatch: boolean;
505
720
  positionStatusEligible: boolean;
506
721
  };
722
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
507
723
  closingTrust?: {
508
724
  positionReceiptHashMatch: boolean;
509
725
  finalDistributionHashesPresent: boolean;
@@ -550,12 +766,12 @@ export declare function executeCapitalCallClaim(sdk: SimplicityClient, input: Pa
550
766
  refundPathRuntimeAvailable: boolean;
551
767
  statusValid: true;
552
768
  };
769
+ schemaVersion: FundVerificationReportSchemaVersion;
553
770
  artifactTrust?: {
554
771
  definition: import("../core/types").DefinitionVerificationResult["trust"];
555
772
  state: import("../core/types").StateVerificationResult["trust"];
556
773
  };
557
774
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
558
- schemaVersion: FundVerificationReportSchemaVersion;
559
775
  distributionTrust?: {
560
776
  fundIdMatch: boolean;
561
777
  lpIdMatch: boolean;
@@ -587,7 +803,12 @@ export declare function executeCapitalCallClaim(sdk: SimplicityClient, input: Pa
587
803
  sequence?: number;
588
804
  sequenceMonotonic?: boolean;
589
805
  attestingSignerMatch?: boolean;
806
+ previousEnvelopeProvided?: boolean;
807
+ previousReceiptHashMatch?: boolean;
808
+ previousSequenceMatch?: boolean;
809
+ continuityVerified?: boolean;
590
810
  };
811
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
591
812
  closingTrust?: {
592
813
  positionReceiptHashMatch: boolean;
593
814
  finalDistributionHashesPresent: boolean;
@@ -633,6 +854,10 @@ export declare function executeCapitalCallClaim(sdk: SimplicityClient, input: Pa
633
854
  sequence?: number;
634
855
  sequenceMonotonic?: boolean;
635
856
  attestingSignerMatch?: boolean;
857
+ previousEnvelopeProvided?: boolean;
858
+ previousReceiptHashMatch?: boolean;
859
+ previousSequenceMatch?: boolean;
860
+ continuityVerified?: boolean;
636
861
  } | undefined;
637
862
  capitalCallTrust: {
638
863
  capitalCallStage: "open" | "claimed" | "refund-only" | "refunded";
@@ -647,12 +872,12 @@ export declare function executeCapitalCallClaim(sdk: SimplicityClient, input: Pa
647
872
  refundPathRuntimeAvailable: boolean;
648
873
  statusValid: true;
649
874
  };
875
+ schemaVersion: FundVerificationReportSchemaVersion;
650
876
  artifactTrust?: {
651
877
  definition: import("../core/types").DefinitionVerificationResult["trust"];
652
878
  state: import("../core/types").StateVerificationResult["trust"];
653
879
  };
654
880
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
655
- schemaVersion: FundVerificationReportSchemaVersion;
656
881
  distributionTrust?: {
657
882
  fundIdMatch: boolean;
658
883
  lpIdMatch: boolean;
@@ -660,6 +885,7 @@ export declare function executeCapitalCallClaim(sdk: SimplicityClient, input: Pa
660
885
  positionReceiptHashMatch: boolean;
661
886
  positionStatusEligible: boolean;
662
887
  };
888
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
663
889
  closingTrust?: {
664
890
  positionReceiptHashMatch: boolean;
665
891
  finalDistributionHashesPresent: boolean;
@@ -719,12 +945,12 @@ export declare function inspectCapitalCallRollover(sdk: SimplicityClient, input:
719
945
  refundPathRuntimeAvailable: boolean;
720
946
  statusValid: true;
721
947
  };
948
+ schemaVersion: FundVerificationReportSchemaVersion;
722
949
  artifactTrust?: {
723
950
  definition: import("../core/types").DefinitionVerificationResult["trust"];
724
951
  state: import("../core/types").StateVerificationResult["trust"];
725
952
  };
726
953
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
727
- schemaVersion: FundVerificationReportSchemaVersion;
728
954
  distributionTrust?: {
729
955
  fundIdMatch: boolean;
730
956
  lpIdMatch: boolean;
@@ -756,7 +982,12 @@ export declare function inspectCapitalCallRollover(sdk: SimplicityClient, input:
756
982
  sequence?: number;
757
983
  sequenceMonotonic?: boolean;
758
984
  attestingSignerMatch?: boolean;
985
+ previousEnvelopeProvided?: boolean;
986
+ previousReceiptHashMatch?: boolean;
987
+ previousSequenceMatch?: boolean;
988
+ continuityVerified?: boolean;
759
989
  };
990
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
760
991
  closingTrust?: {
761
992
  positionReceiptHashMatch: boolean;
762
993
  finalDistributionHashesPresent: boolean;
@@ -781,12 +1012,12 @@ export declare function inspectCapitalCallRollover(sdk: SimplicityClient, input:
781
1012
  refundPathRuntimeAvailable: boolean;
782
1013
  statusValid: true;
783
1014
  };
1015
+ schemaVersion: FundVerificationReportSchemaVersion;
784
1016
  artifactTrust?: {
785
1017
  definition: import("../core/types").DefinitionVerificationResult["trust"];
786
1018
  state: import("../core/types").StateVerificationResult["trust"];
787
1019
  };
788
1020
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
789
- schemaVersion: FundVerificationReportSchemaVersion;
790
1021
  distributionTrust?: {
791
1022
  fundIdMatch: boolean;
792
1023
  lpIdMatch: boolean;
@@ -818,7 +1049,12 @@ export declare function inspectCapitalCallRollover(sdk: SimplicityClient, input:
818
1049
  sequence?: number;
819
1050
  sequenceMonotonic?: boolean;
820
1051
  attestingSignerMatch?: boolean;
1052
+ previousEnvelopeProvided?: boolean;
1053
+ previousReceiptHashMatch?: boolean;
1054
+ previousSequenceMatch?: boolean;
1055
+ continuityVerified?: boolean;
821
1056
  };
1057
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
822
1058
  closingTrust?: {
823
1059
  positionReceiptHashMatch: boolean;
824
1060
  finalDistributionHashesPresent: boolean;
@@ -865,12 +1101,12 @@ export declare function executeCapitalCallRollover(sdk: SimplicityClient, input:
865
1101
  refundPathRuntimeAvailable: boolean;
866
1102
  statusValid: true;
867
1103
  };
1104
+ schemaVersion: FundVerificationReportSchemaVersion;
868
1105
  artifactTrust?: {
869
1106
  definition: import("../core/types").DefinitionVerificationResult["trust"];
870
1107
  state: import("../core/types").StateVerificationResult["trust"];
871
1108
  };
872
1109
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
873
- schemaVersion: FundVerificationReportSchemaVersion;
874
1110
  distributionTrust?: {
875
1111
  fundIdMatch: boolean;
876
1112
  lpIdMatch: boolean;
@@ -902,7 +1138,12 @@ export declare function executeCapitalCallRollover(sdk: SimplicityClient, input:
902
1138
  sequence?: number;
903
1139
  sequenceMonotonic?: boolean;
904
1140
  attestingSignerMatch?: boolean;
1141
+ previousEnvelopeProvided?: boolean;
1142
+ previousReceiptHashMatch?: boolean;
1143
+ previousSequenceMatch?: boolean;
1144
+ continuityVerified?: boolean;
905
1145
  };
1146
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
906
1147
  closingTrust?: {
907
1148
  positionReceiptHashMatch: boolean;
908
1149
  finalDistributionHashesPresent: boolean;
@@ -927,12 +1168,12 @@ export declare function executeCapitalCallRollover(sdk: SimplicityClient, input:
927
1168
  refundPathRuntimeAvailable: boolean;
928
1169
  statusValid: true;
929
1170
  };
1171
+ schemaVersion: FundVerificationReportSchemaVersion;
930
1172
  artifactTrust?: {
931
1173
  definition: import("../core/types").DefinitionVerificationResult["trust"];
932
1174
  state: import("../core/types").StateVerificationResult["trust"];
933
1175
  };
934
1176
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
935
- schemaVersion: FundVerificationReportSchemaVersion;
936
1177
  distributionTrust?: {
937
1178
  fundIdMatch: boolean;
938
1179
  lpIdMatch: boolean;
@@ -964,7 +1205,12 @@ export declare function executeCapitalCallRollover(sdk: SimplicityClient, input:
964
1205
  sequence?: number;
965
1206
  sequenceMonotonic?: boolean;
966
1207
  attestingSignerMatch?: boolean;
1208
+ previousEnvelopeProvided?: boolean;
1209
+ previousReceiptHashMatch?: boolean;
1210
+ previousSequenceMatch?: boolean;
1211
+ continuityVerified?: boolean;
967
1212
  };
1213
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
968
1214
  closingTrust?: {
969
1215
  positionReceiptHashMatch: boolean;
970
1216
  finalDistributionHashesPresent: boolean;
@@ -981,6 +1227,15 @@ export declare function inspectCapitalCallRefund(sdk: SimplicityClient, input: {
981
1227
  capitalCallValue?: CapitalCallState;
982
1228
  refundAddress: string;
983
1229
  refundedAt?: string;
1230
+ nextOutputHash?: string;
1231
+ outputForm?: {
1232
+ assetForm?: OutputAssetForm;
1233
+ amountForm?: OutputAmountForm;
1234
+ nonceForm?: OutputNonceForm;
1235
+ rangeProofForm?: OutputRangeProofForm;
1236
+ };
1237
+ rawOutput?: Partial<OutputRawFields>;
1238
+ outputBindingMode?: BondOutputBindingMode;
984
1239
  wallet: string;
985
1240
  signer: {
986
1241
  type: "schnorrPrivkeyHex";
@@ -1024,12 +1279,12 @@ export declare function inspectCapitalCallRefund(sdk: SimplicityClient, input: {
1024
1279
  refundPathRuntimeAvailable: boolean;
1025
1280
  statusValid: true;
1026
1281
  };
1282
+ schemaVersion: FundVerificationReportSchemaVersion;
1027
1283
  artifactTrust?: {
1028
1284
  definition: import("../core/types").DefinitionVerificationResult["trust"];
1029
1285
  state: import("../core/types").StateVerificationResult["trust"];
1030
1286
  };
1031
1287
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
1032
- schemaVersion: FundVerificationReportSchemaVersion;
1033
1288
  distributionTrust?: {
1034
1289
  fundIdMatch: boolean;
1035
1290
  lpIdMatch: boolean;
@@ -1061,7 +1316,12 @@ export declare function inspectCapitalCallRefund(sdk: SimplicityClient, input: {
1061
1316
  sequence?: number;
1062
1317
  sequenceMonotonic?: boolean;
1063
1318
  attestingSignerMatch?: boolean;
1319
+ previousEnvelopeProvided?: boolean;
1320
+ previousReceiptHashMatch?: boolean;
1321
+ previousSequenceMatch?: boolean;
1322
+ continuityVerified?: boolean;
1064
1323
  };
1324
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
1065
1325
  closingTrust?: {
1066
1326
  positionReceiptHashMatch: boolean;
1067
1327
  finalDistributionHashesPresent: boolean;
@@ -1069,9 +1329,29 @@ export declare function inspectCapitalCallRefund(sdk: SimplicityClient, input: {
1069
1329
  };
1070
1330
  };
1071
1331
  };
1332
+ payoutDescriptor: FundPayoutDescriptor;
1333
+ payoutSummary: {
1334
+ canonicalJson: string;
1335
+ hash: string;
1336
+ };
1072
1337
  refundedCapitalCall: CapitalCallState;
1073
1338
  inspect: import("../core/types").InspectResult;
1074
1339
  report: {
1340
+ outputBindingTrust: {
1341
+ mode: BondOutputBindingMode;
1342
+ requestedMode?: BondOutputBindingMode;
1343
+ supportedForm?: OutputBindingSupportedForm;
1344
+ nextReceiverRuntimeCommitted: boolean;
1345
+ outputCountRuntimeBound: boolean;
1346
+ feeIndexRuntimeBound: boolean;
1347
+ nextOutputHashRuntimeBound?: boolean;
1348
+ nextOutputScriptRuntimeBound: boolean;
1349
+ amountRuntimeBound: boolean;
1350
+ reasonCode?: OutputBindingReasonCode;
1351
+ autoDerived?: boolean;
1352
+ fallbackReason?: string;
1353
+ bindingInputs?: OutputBindingInputs;
1354
+ } | undefined;
1075
1355
  capitalCallTrust: {
1076
1356
  capitalCallStage: "open" | "claimed" | "refund-only" | "refunded";
1077
1357
  cutoffMode: "rollover-window";
@@ -1085,12 +1365,12 @@ export declare function inspectCapitalCallRefund(sdk: SimplicityClient, input: {
1085
1365
  refundPathRuntimeAvailable: boolean;
1086
1366
  statusValid: true;
1087
1367
  };
1368
+ schemaVersion: FundVerificationReportSchemaVersion;
1088
1369
  artifactTrust?: {
1089
1370
  definition: import("../core/types").DefinitionVerificationResult["trust"];
1090
1371
  state: import("../core/types").StateVerificationResult["trust"];
1091
1372
  };
1092
1373
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
1093
- schemaVersion: FundVerificationReportSchemaVersion;
1094
1374
  distributionTrust?: {
1095
1375
  fundIdMatch: boolean;
1096
1376
  lpIdMatch: boolean;
@@ -1098,21 +1378,6 @@ export declare function inspectCapitalCallRefund(sdk: SimplicityClient, input: {
1098
1378
  positionReceiptHashMatch: boolean;
1099
1379
  positionStatusEligible: boolean;
1100
1380
  };
1101
- outputBindingTrust?: {
1102
- mode: BondOutputBindingMode;
1103
- requestedMode?: BondOutputBindingMode;
1104
- supportedForm?: OutputBindingSupportedForm;
1105
- nextReceiverRuntimeCommitted: boolean;
1106
- outputCountRuntimeBound: boolean;
1107
- feeIndexRuntimeBound: boolean;
1108
- nextOutputHashRuntimeBound?: boolean;
1109
- nextOutputScriptRuntimeBound: boolean;
1110
- amountRuntimeBound: boolean;
1111
- reasonCode?: OutputBindingReasonCode;
1112
- autoDerived?: boolean;
1113
- fallbackReason?: string;
1114
- bindingInputs?: OutputBindingInputs;
1115
- };
1116
1381
  receiptTrust?: {
1117
1382
  generated: boolean;
1118
1383
  positionReceiptHash?: string;
@@ -1122,7 +1387,12 @@ export declare function inspectCapitalCallRefund(sdk: SimplicityClient, input: {
1122
1387
  sequence?: number;
1123
1388
  sequenceMonotonic?: boolean;
1124
1389
  attestingSignerMatch?: boolean;
1390
+ previousEnvelopeProvided?: boolean;
1391
+ previousReceiptHashMatch?: boolean;
1392
+ previousSequenceMatch?: boolean;
1393
+ continuityVerified?: boolean;
1125
1394
  };
1395
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
1126
1396
  closingTrust?: {
1127
1397
  positionReceiptHashMatch: boolean;
1128
1398
  finalDistributionHashesPresent: boolean;
@@ -1169,12 +1439,12 @@ export declare function executeCapitalCallRefund(sdk: SimplicityClient, input: P
1169
1439
  refundPathRuntimeAvailable: boolean;
1170
1440
  statusValid: true;
1171
1441
  };
1442
+ schemaVersion: FundVerificationReportSchemaVersion;
1172
1443
  artifactTrust?: {
1173
1444
  definition: import("../core/types").DefinitionVerificationResult["trust"];
1174
1445
  state: import("../core/types").StateVerificationResult["trust"];
1175
1446
  };
1176
1447
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
1177
- schemaVersion: FundVerificationReportSchemaVersion;
1178
1448
  distributionTrust?: {
1179
1449
  fundIdMatch: boolean;
1180
1450
  lpIdMatch: boolean;
@@ -1206,7 +1476,12 @@ export declare function executeCapitalCallRefund(sdk: SimplicityClient, input: P
1206
1476
  sequence?: number;
1207
1477
  sequenceMonotonic?: boolean;
1208
1478
  attestingSignerMatch?: boolean;
1479
+ previousEnvelopeProvided?: boolean;
1480
+ previousReceiptHashMatch?: boolean;
1481
+ previousSequenceMatch?: boolean;
1482
+ continuityVerified?: boolean;
1209
1483
  };
1484
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
1210
1485
  closingTrust?: {
1211
1486
  positionReceiptHashMatch: boolean;
1212
1487
  finalDistributionHashesPresent: boolean;
@@ -1214,9 +1489,29 @@ export declare function executeCapitalCallRefund(sdk: SimplicityClient, input: P
1214
1489
  };
1215
1490
  };
1216
1491
  };
1492
+ payoutDescriptor: FundPayoutDescriptor;
1493
+ payoutSummary: {
1494
+ canonicalJson: string;
1495
+ hash: string;
1496
+ };
1217
1497
  refundedCapitalCall: CapitalCallState;
1218
1498
  inspect: import("../core/types").InspectResult;
1219
1499
  report: {
1500
+ outputBindingTrust: {
1501
+ mode: BondOutputBindingMode;
1502
+ requestedMode?: BondOutputBindingMode;
1503
+ supportedForm?: OutputBindingSupportedForm;
1504
+ nextReceiverRuntimeCommitted: boolean;
1505
+ outputCountRuntimeBound: boolean;
1506
+ feeIndexRuntimeBound: boolean;
1507
+ nextOutputHashRuntimeBound?: boolean;
1508
+ nextOutputScriptRuntimeBound: boolean;
1509
+ amountRuntimeBound: boolean;
1510
+ reasonCode?: OutputBindingReasonCode;
1511
+ autoDerived?: boolean;
1512
+ fallbackReason?: string;
1513
+ bindingInputs?: OutputBindingInputs;
1514
+ } | undefined;
1220
1515
  capitalCallTrust: {
1221
1516
  capitalCallStage: "open" | "claimed" | "refund-only" | "refunded";
1222
1517
  cutoffMode: "rollover-window";
@@ -1230,12 +1525,12 @@ export declare function executeCapitalCallRefund(sdk: SimplicityClient, input: P
1230
1525
  refundPathRuntimeAvailable: boolean;
1231
1526
  statusValid: true;
1232
1527
  };
1528
+ schemaVersion: FundVerificationReportSchemaVersion;
1233
1529
  artifactTrust?: {
1234
1530
  definition: import("../core/types").DefinitionVerificationResult["trust"];
1235
1531
  state: import("../core/types").StateVerificationResult["trust"];
1236
1532
  };
1237
1533
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
1238
- schemaVersion: FundVerificationReportSchemaVersion;
1239
1534
  distributionTrust?: {
1240
1535
  fundIdMatch: boolean;
1241
1536
  lpIdMatch: boolean;
@@ -1243,21 +1538,6 @@ export declare function executeCapitalCallRefund(sdk: SimplicityClient, input: P
1243
1538
  positionReceiptHashMatch: boolean;
1244
1539
  positionStatusEligible: boolean;
1245
1540
  };
1246
- outputBindingTrust?: {
1247
- mode: BondOutputBindingMode;
1248
- requestedMode?: BondOutputBindingMode;
1249
- supportedForm?: OutputBindingSupportedForm;
1250
- nextReceiverRuntimeCommitted: boolean;
1251
- outputCountRuntimeBound: boolean;
1252
- feeIndexRuntimeBound: boolean;
1253
- nextOutputHashRuntimeBound?: boolean;
1254
- nextOutputScriptRuntimeBound: boolean;
1255
- amountRuntimeBound: boolean;
1256
- reasonCode?: OutputBindingReasonCode;
1257
- autoDerived?: boolean;
1258
- fallbackReason?: string;
1259
- bindingInputs?: OutputBindingInputs;
1260
- };
1261
1541
  receiptTrust?: {
1262
1542
  generated: boolean;
1263
1543
  positionReceiptHash?: string;
@@ -1267,7 +1547,12 @@ export declare function executeCapitalCallRefund(sdk: SimplicityClient, input: P
1267
1547
  sequence?: number;
1268
1548
  sequenceMonotonic?: boolean;
1269
1549
  attestingSignerMatch?: boolean;
1550
+ previousEnvelopeProvided?: boolean;
1551
+ previousReceiptHashMatch?: boolean;
1552
+ previousSequenceMatch?: boolean;
1553
+ continuityVerified?: boolean;
1270
1554
  };
1555
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
1271
1556
  closingTrust?: {
1272
1557
  positionReceiptHashMatch: boolean;
1273
1558
  finalDistributionHashesPresent: boolean;
@@ -1336,6 +1621,10 @@ export declare function prepareDistribution(sdk: SimplicityClient, input: {
1336
1621
  sequence?: number;
1337
1622
  sequenceMonotonic?: boolean;
1338
1623
  attestingSignerMatch?: boolean;
1624
+ previousEnvelopeProvided?: boolean;
1625
+ previousReceiptHashMatch?: boolean;
1626
+ previousSequenceMatch?: boolean;
1627
+ continuityVerified?: boolean;
1339
1628
  } | undefined;
1340
1629
  schemaVersion: FundVerificationReportSchemaVersion;
1341
1630
  artifactTrust?: {
@@ -1371,6 +1660,7 @@ export declare function prepareDistribution(sdk: SimplicityClient, input: {
1371
1660
  fallbackReason?: string;
1372
1661
  bindingInputs?: OutputBindingInputs;
1373
1662
  };
1663
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
1374
1664
  closingTrust?: {
1375
1665
  positionReceiptHashMatch: boolean;
1376
1666
  finalDistributionHashesPresent: boolean;
@@ -1484,13 +1774,17 @@ export declare function verifyDistribution(sdk: SimplicityClient, input: {
1484
1774
  sequence?: number;
1485
1775
  sequenceMonotonic?: boolean;
1486
1776
  attestingSignerMatch?: boolean;
1777
+ previousEnvelopeProvided?: boolean;
1778
+ previousReceiptHashMatch?: boolean;
1779
+ previousSequenceMatch?: boolean;
1780
+ continuityVerified?: boolean;
1487
1781
  } | undefined;
1782
+ schemaVersion: FundVerificationReportSchemaVersion;
1488
1783
  artifactTrust?: {
1489
1784
  definition: import("../core/types").DefinitionVerificationResult["trust"];
1490
1785
  state: import("../core/types").StateVerificationResult["trust"];
1491
1786
  };
1492
1787
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
1493
- schemaVersion: FundVerificationReportSchemaVersion;
1494
1788
  capitalCallTrust?: {
1495
1789
  capitalCallStage: import("../core/types").CapitalCallStage;
1496
1790
  cutoffMode: import("../core/types").CapitalCallCutoffMode;
@@ -1519,6 +1813,7 @@ export declare function verifyDistribution(sdk: SimplicityClient, input: {
1519
1813
  fallbackReason?: string;
1520
1814
  bindingInputs?: OutputBindingInputs;
1521
1815
  };
1816
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
1522
1817
  closingTrust?: {
1523
1818
  positionReceiptHashMatch: boolean;
1524
1819
  finalDistributionHashesPresent: boolean;
@@ -1601,13 +1896,17 @@ export declare function inspectDistributionClaim(sdk: SimplicityClient, input: {
1601
1896
  sequence?: number;
1602
1897
  sequenceMonotonic?: boolean;
1603
1898
  attestingSignerMatch?: boolean;
1899
+ previousEnvelopeProvided?: boolean;
1900
+ previousReceiptHashMatch?: boolean;
1901
+ previousSequenceMatch?: boolean;
1902
+ continuityVerified?: boolean;
1604
1903
  } | undefined;
1904
+ schemaVersion: FundVerificationReportSchemaVersion;
1605
1905
  artifactTrust?: {
1606
1906
  definition: import("../core/types").DefinitionVerificationResult["trust"];
1607
1907
  state: import("../core/types").StateVerificationResult["trust"];
1608
1908
  };
1609
1909
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
1610
- schemaVersion: FundVerificationReportSchemaVersion;
1611
1910
  capitalCallTrust?: {
1612
1911
  capitalCallStage: import("../core/types").CapitalCallStage;
1613
1912
  cutoffMode: import("../core/types").CapitalCallCutoffMode;
@@ -1636,6 +1935,7 @@ export declare function inspectDistributionClaim(sdk: SimplicityClient, input: {
1636
1935
  fallbackReason?: string;
1637
1936
  bindingInputs?: OutputBindingInputs;
1638
1937
  };
1938
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
1639
1939
  closingTrust?: {
1640
1940
  positionReceiptHashMatch: boolean;
1641
1941
  finalDistributionHashesPresent: boolean;
@@ -1681,13 +1981,17 @@ export declare function inspectDistributionClaim(sdk: SimplicityClient, input: {
1681
1981
  sequence?: number;
1682
1982
  sequenceMonotonic?: boolean;
1683
1983
  attestingSignerMatch?: boolean;
1984
+ previousEnvelopeProvided?: boolean;
1985
+ previousReceiptHashMatch?: boolean;
1986
+ previousSequenceMatch?: boolean;
1987
+ continuityVerified?: boolean;
1684
1988
  } | undefined;
1989
+ schemaVersion: FundVerificationReportSchemaVersion;
1685
1990
  artifactTrust?: {
1686
1991
  definition: import("../core/types").DefinitionVerificationResult["trust"];
1687
1992
  state: import("../core/types").StateVerificationResult["trust"];
1688
1993
  };
1689
1994
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
1690
- schemaVersion: FundVerificationReportSchemaVersion;
1691
1995
  capitalCallTrust?: {
1692
1996
  capitalCallStage: import("../core/types").CapitalCallStage;
1693
1997
  cutoffMode: import("../core/types").CapitalCallCutoffMode;
@@ -1701,6 +2005,7 @@ export declare function inspectDistributionClaim(sdk: SimplicityClient, input: {
1701
2005
  refundPathRuntimeAvailable: boolean;
1702
2006
  statusValid: boolean;
1703
2007
  };
2008
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
1704
2009
  closingTrust?: {
1705
2010
  positionReceiptHashMatch: boolean;
1706
2011
  finalDistributionHashesPresent: boolean;
@@ -1760,13 +2065,17 @@ export declare function executeDistributionClaim(sdk: SimplicityClient, input: P
1760
2065
  sequence?: number;
1761
2066
  sequenceMonotonic?: boolean;
1762
2067
  attestingSignerMatch?: boolean;
2068
+ previousEnvelopeProvided?: boolean;
2069
+ previousReceiptHashMatch?: boolean;
2070
+ previousSequenceMatch?: boolean;
2071
+ continuityVerified?: boolean;
1763
2072
  } | undefined;
2073
+ schemaVersion: FundVerificationReportSchemaVersion;
1764
2074
  artifactTrust?: {
1765
2075
  definition: import("../core/types").DefinitionVerificationResult["trust"];
1766
2076
  state: import("../core/types").StateVerificationResult["trust"];
1767
2077
  };
1768
2078
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
1769
- schemaVersion: FundVerificationReportSchemaVersion;
1770
2079
  capitalCallTrust?: {
1771
2080
  capitalCallStage: import("../core/types").CapitalCallStage;
1772
2081
  cutoffMode: import("../core/types").CapitalCallCutoffMode;
@@ -1795,6 +2104,7 @@ export declare function executeDistributionClaim(sdk: SimplicityClient, input: P
1795
2104
  fallbackReason?: string;
1796
2105
  bindingInputs?: OutputBindingInputs;
1797
2106
  };
2107
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
1798
2108
  closingTrust?: {
1799
2109
  positionReceiptHashMatch: boolean;
1800
2110
  finalDistributionHashesPresent: boolean;
@@ -1840,13 +2150,17 @@ export declare function executeDistributionClaim(sdk: SimplicityClient, input: P
1840
2150
  sequence?: number;
1841
2151
  sequenceMonotonic?: boolean;
1842
2152
  attestingSignerMatch?: boolean;
2153
+ previousEnvelopeProvided?: boolean;
2154
+ previousReceiptHashMatch?: boolean;
2155
+ previousSequenceMatch?: boolean;
2156
+ continuityVerified?: boolean;
1843
2157
  } | undefined;
2158
+ schemaVersion: FundVerificationReportSchemaVersion;
1844
2159
  artifactTrust?: {
1845
2160
  definition: import("../core/types").DefinitionVerificationResult["trust"];
1846
2161
  state: import("../core/types").StateVerificationResult["trust"];
1847
2162
  };
1848
2163
  stateTrust?: import("../core/types").StateVerificationResult["trust"];
1849
- schemaVersion: FundVerificationReportSchemaVersion;
1850
2164
  capitalCallTrust?: {
1851
2165
  capitalCallStage: import("../core/types").CapitalCallStage;
1852
2166
  cutoffMode: import("../core/types").CapitalCallCutoffMode;
@@ -1860,6 +2174,7 @@ export declare function executeDistributionClaim(sdk: SimplicityClient, input: P
1860
2174
  refundPathRuntimeAvailable: boolean;
1861
2175
  statusValid: boolean;
1862
2176
  };
2177
+ receiptChainTrust?: import("../core/types").FundReceiptChainTrust;
1863
2178
  closingTrust?: {
1864
2179
  positionReceiptHashMatch: boolean;
1865
2180
  finalDistributionHashesPresent: boolean;
@@ -1872,6 +2187,10 @@ export declare function prepareClosing(sdk: SimplicityClient, input: {
1872
2187
  definitionValue?: FundDefinition;
1873
2188
  positionReceiptPath?: string;
1874
2189
  positionReceiptValue?: LPPositionReceiptEnvelope;
2190
+ previousPositionReceiptPath?: string;
2191
+ previousPositionReceiptValue?: LPPositionReceiptEnvelope;
2192
+ positionReceiptChainPaths?: string[];
2193
+ positionReceiptChainValues?: LPPositionReceiptEnvelope[];
1875
2194
  closingPath?: string;
1876
2195
  closingValue?: FundClosingDescriptor;
1877
2196
  closingId?: string;
@@ -1879,16 +2198,6 @@ export declare function prepareClosing(sdk: SimplicityClient, input: {
1879
2198
  closedAt?: string;
1880
2199
  closingReason?: FundClosingDescriptor["closingReason"];
1881
2200
  }): Promise<{
1882
- positionReceipt: import("../core/types").StateDocumentDescriptor;
1883
- positionReceiptValue: LPPositionReceiptEnvelope;
1884
- positionReceiptSummary: {
1885
- canonicalJson: string;
1886
- hash: string;
1887
- };
1888
- positionReceiptEnvelopeSummary: {
1889
- canonicalJson: string;
1890
- hash: string;
1891
- };
1892
2201
  closing: import("../core/types").StateDocumentDescriptor;
1893
2202
  closingValue: FundClosingDescriptor;
1894
2203
  closingSummary: {
@@ -1916,7 +2225,12 @@ export declare function prepareClosing(sdk: SimplicityClient, input: {
1916
2225
  sequence?: number;
1917
2226
  sequenceMonotonic?: boolean;
1918
2227
  attestingSignerMatch?: boolean;
2228
+ previousEnvelopeProvided?: boolean;
2229
+ previousReceiptHashMatch?: boolean;
2230
+ previousSequenceMatch?: boolean;
2231
+ continuityVerified?: boolean;
1919
2232
  } | undefined;
2233
+ receiptChainTrust: import("../core/types").FundReceiptChainTrust | undefined;
1920
2234
  schemaVersion: FundVerificationReportSchemaVersion;
1921
2235
  artifactTrust?: {
1922
2236
  definition: import("../core/types").DefinitionVerificationResult["trust"];
@@ -1959,16 +2273,26 @@ export declare function prepareClosing(sdk: SimplicityClient, input: {
1959
2273
  bindingInputs?: OutputBindingInputs;
1960
2274
  };
1961
2275
  };
1962
- }>;
1963
- export declare function verifyClosing(sdk: SimplicityClient, input: {
1964
- definitionPath?: string;
1965
- definitionValue?: FundDefinition;
1966
- positionReceiptPath?: string;
1967
- positionReceiptValue?: LPPositionReceiptEnvelope;
1968
- closingPath?: string;
1969
- closingValue?: FundClosingDescriptor;
1970
- }): Promise<{
1971
- verified: boolean;
2276
+ positionReceiptChain?: import("../core/types").StateDocumentDescriptor[] | undefined;
2277
+ positionReceiptChainValues?: LPPositionReceiptEnvelope[] | undefined;
2278
+ positionReceiptChainSummaries?: {
2279
+ canonicalJson: string;
2280
+ hash: string;
2281
+ }[] | undefined;
2282
+ positionReceiptEnvelopeChainSummaries?: {
2283
+ canonicalJson: string;
2284
+ hash: string;
2285
+ }[] | undefined;
2286
+ previousPositionReceipt?: import("../core/types").StateDocumentDescriptor | undefined;
2287
+ previousPositionReceiptValue?: LPPositionReceiptEnvelope | undefined;
2288
+ previousPositionReceiptSummary?: {
2289
+ canonicalJson: string;
2290
+ hash: string;
2291
+ } | undefined;
2292
+ previousPositionReceiptEnvelopeSummary?: {
2293
+ canonicalJson: string;
2294
+ hash: string;
2295
+ } | undefined;
1972
2296
  positionReceipt: import("../core/types").StateDocumentDescriptor;
1973
2297
  positionReceiptValue: LPPositionReceiptEnvelope;
1974
2298
  positionReceiptSummary: {
@@ -1979,6 +2303,19 @@ export declare function verifyClosing(sdk: SimplicityClient, input: {
1979
2303
  canonicalJson: string;
1980
2304
  hash: string;
1981
2305
  };
2306
+ }>;
2307
+ export declare function verifyClosing(sdk: SimplicityClient, input: {
2308
+ definitionPath?: string;
2309
+ definitionValue?: FundDefinition;
2310
+ positionReceiptPath?: string;
2311
+ positionReceiptValue?: LPPositionReceiptEnvelope;
2312
+ previousPositionReceiptPath?: string;
2313
+ previousPositionReceiptValue?: LPPositionReceiptEnvelope;
2314
+ positionReceiptChainPaths?: string[];
2315
+ positionReceiptChainValues?: LPPositionReceiptEnvelope[];
2316
+ closingPath?: string;
2317
+ closingValue?: FundClosingDescriptor;
2318
+ }): Promise<{
1982
2319
  closing: import("../core/types").StateDocumentDescriptor;
1983
2320
  closingValue: FundClosingDescriptor;
1984
2321
  closingSummary: {
@@ -2005,7 +2342,12 @@ export declare function verifyClosing(sdk: SimplicityClient, input: {
2005
2342
  sequence?: number;
2006
2343
  sequenceMonotonic?: boolean;
2007
2344
  attestingSignerMatch?: boolean;
2345
+ previousEnvelopeProvided?: boolean;
2346
+ previousReceiptHashMatch?: boolean;
2347
+ previousSequenceMatch?: boolean;
2348
+ continuityVerified?: boolean;
2008
2349
  } | undefined;
2350
+ receiptChainTrust: import("../core/types").FundReceiptChainTrust | undefined;
2009
2351
  schemaVersion: FundVerificationReportSchemaVersion;
2010
2352
  artifactTrust?: {
2011
2353
  definition: import("../core/types").DefinitionVerificationResult["trust"];
@@ -2048,6 +2390,43 @@ export declare function verifyClosing(sdk: SimplicityClient, input: {
2048
2390
  bindingInputs?: OutputBindingInputs;
2049
2391
  };
2050
2392
  };
2393
+ positionReceiptChain?: import("../core/types").StateDocumentDescriptor[] | undefined;
2394
+ positionReceiptChainValues?: LPPositionReceiptEnvelope[] | undefined;
2395
+ positionReceiptChainSummaries?: {
2396
+ canonicalJson: string;
2397
+ hash: string;
2398
+ }[] | undefined;
2399
+ positionReceiptEnvelopeChainSummaries?: {
2400
+ canonicalJson: string;
2401
+ hash: string;
2402
+ }[] | undefined;
2403
+ previousPositionReceipt?: import("../core/types").StateDocumentDescriptor | undefined;
2404
+ previousPositionReceiptValue?: LPPositionReceiptEnvelope | undefined;
2405
+ previousPositionReceiptSummary?: {
2406
+ canonicalJson: string;
2407
+ hash: string;
2408
+ } | undefined;
2409
+ previousPositionReceiptEnvelopeSummary?: {
2410
+ canonicalJson: string;
2411
+ hash: string;
2412
+ } | undefined;
2413
+ verified: boolean;
2414
+ definition: import("../core/types").DefinitionDescriptor;
2415
+ definitionValue: FundDefinition;
2416
+ definitionSummary: {
2417
+ canonicalJson: string;
2418
+ hash: string;
2419
+ };
2420
+ positionReceipt: import("../core/types").StateDocumentDescriptor;
2421
+ positionReceiptValue: LPPositionReceiptEnvelope;
2422
+ positionReceiptSummary: {
2423
+ canonicalJson: string;
2424
+ hash: string;
2425
+ };
2426
+ positionReceiptEnvelopeSummary: {
2427
+ canonicalJson: string;
2428
+ hash: string;
2429
+ };
2051
2430
  }>;
2052
2431
  export declare function exportEvidence(sdk: SimplicityClient, input: {
2053
2432
  artifactPath?: string;
@@ -2058,6 +2437,10 @@ export declare function exportEvidence(sdk: SimplicityClient, input: {
2058
2437
  capitalCallValue?: CapitalCallState;
2059
2438
  positionReceiptPath?: string;
2060
2439
  positionReceiptValue?: LPPositionReceiptEnvelope;
2440
+ previousPositionReceiptPath?: string;
2441
+ previousPositionReceiptValue?: LPPositionReceiptEnvelope;
2442
+ positionReceiptChainPaths?: string[];
2443
+ positionReceiptChainValues?: LPPositionReceiptEnvelope[];
2061
2444
  distributionPath?: string;
2062
2445
  distributionValue?: DistributionDescriptor;
2063
2446
  distributionPaths?: string[];