@hazbase/simplicity 0.0.4 → 0.0.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.
@@ -1,5 +1,5 @@
1
1
  import type { SimplicityClient } from "../client/SimplicityClient";
2
- import { BondDefinition, BondIssuanceState, SimplicityArtifact } from "../core/types";
2
+ import { BondDefinition, BondIssuanceState, BondSettlementDescriptor, SimplicityArtifact } from "../core/types";
3
3
  export declare function defineBond(sdk: SimplicityClient, input: {
4
4
  definitionPath?: string;
5
5
  definitionValue?: BondDefinition;
@@ -57,3 +57,1995 @@ export declare function loadBond(sdk: SimplicityClient, input: {
57
57
  };
58
58
  };
59
59
  }>;
60
+ export declare function buildBondPayload(sdk: SimplicityClient, input: {
61
+ artifactPath?: string;
62
+ artifact?: SimplicityArtifact;
63
+ definitionPath?: string;
64
+ definitionValue?: BondDefinition;
65
+ issuancePath?: string;
66
+ issuanceValue?: BondIssuanceState;
67
+ }): Promise<{
68
+ artifact: SimplicityArtifact;
69
+ payload: {
70
+ bondId: string;
71
+ issuanceId: string;
72
+ definitionHash: string;
73
+ issuanceStateHash: string;
74
+ previousStateHash: string | null;
75
+ contractAddress: string;
76
+ cmr: string;
77
+ anchorModes: {
78
+ definition: string;
79
+ state: string;
80
+ };
81
+ status: import("../core/types").BondIssuanceStatus;
82
+ lastTransition: {
83
+ type: import("../core/types").BondTransitionType;
84
+ amount: number;
85
+ at: string;
86
+ } | null;
87
+ principal: {
88
+ issued: number;
89
+ outstanding: number;
90
+ redeemed: number;
91
+ };
92
+ crossChecks: {
93
+ bondIdMatch: boolean;
94
+ currencyMatch: boolean;
95
+ controllerMatch: boolean;
96
+ principalInvariantValid: boolean;
97
+ };
98
+ };
99
+ trust: {
100
+ definitionTrust: {
101
+ artifactMatch: boolean;
102
+ onChainAnchorPresent: boolean;
103
+ onChainAnchorVerified: boolean;
104
+ effectiveMode: "none" | import("../core/types").DefinitionAnchorMode;
105
+ };
106
+ issuanceTrust: {
107
+ artifactMatch: boolean;
108
+ onChainAnchorPresent: boolean;
109
+ onChainAnchorVerified: boolean;
110
+ effectiveMode: "none" | import("../core/types").DefinitionAnchorMode;
111
+ };
112
+ };
113
+ }>;
114
+ export declare function redeemBond(sdk: SimplicityClient, input: {
115
+ definitionPath?: string;
116
+ definitionValue?: BondDefinition;
117
+ previousIssuancePath?: string;
118
+ previousIssuanceValue?: BondIssuanceState;
119
+ amount: number;
120
+ redeemedAt: string;
121
+ simfPath?: string;
122
+ artifactPath?: string;
123
+ }): Promise<import("..").CompiledContract>;
124
+ export declare function buildBondTransitionPayload(sdk: SimplicityClient, input: {
125
+ definitionPath?: string;
126
+ definitionValue?: BondDefinition;
127
+ previousIssuancePath?: string;
128
+ previousIssuanceValue?: BondIssuanceState;
129
+ nextIssuancePath?: string;
130
+ nextIssuanceValue?: BondIssuanceState;
131
+ }): Promise<{
132
+ definition: BondDefinition;
133
+ previous: BondIssuanceState;
134
+ next: BondIssuanceState;
135
+ payload: {
136
+ bondId: string;
137
+ issuanceId: string;
138
+ definitionHash: string;
139
+ previousStateHash: string;
140
+ nextStateHash: string;
141
+ previousStatus: import("../core/types").BondIssuanceStatus;
142
+ nextStatus: import("../core/types").BondIssuanceStatus;
143
+ previousStatusCode: number;
144
+ nextStatusCode: number;
145
+ transitionKind: import("../core/types").BondTransitionType | null;
146
+ redeemAmount: number | null;
147
+ transitionAt: string | null;
148
+ principal: {
149
+ issued: number;
150
+ previousOutstanding: number;
151
+ nextOutstanding: number;
152
+ previousRedeemed: number;
153
+ nextRedeemed: number;
154
+ outstandingDelta: number;
155
+ redeemedDelta: number;
156
+ };
157
+ crossChecks: {
158
+ previous: {
159
+ bondIdMatch: boolean;
160
+ currencyMatch: boolean;
161
+ controllerMatch: boolean;
162
+ principalInvariantValid: boolean;
163
+ };
164
+ next: {
165
+ bondIdMatch: boolean;
166
+ currencyMatch: boolean;
167
+ controllerMatch: boolean;
168
+ principalInvariantValid: boolean;
169
+ };
170
+ transition: {
171
+ issuanceIdMatch: boolean;
172
+ bondIdMatch: boolean;
173
+ currencyMatch: boolean;
174
+ controllerMatch: boolean;
175
+ issuerEntityMatch: boolean;
176
+ issuedPrincipalMatch: boolean;
177
+ previousStateHashMatch: boolean;
178
+ redemptionArithmeticValid: boolean;
179
+ statusProgressionValid: boolean;
180
+ };
181
+ };
182
+ };
183
+ }>;
184
+ export declare function buildBondSettlementDescriptor(sdk: SimplicityClient, input: {
185
+ definitionPath?: string;
186
+ definitionValue?: BondDefinition;
187
+ previousIssuancePath?: string;
188
+ previousIssuanceValue?: BondIssuanceState;
189
+ nextIssuancePath?: string;
190
+ nextIssuanceValue?: BondIssuanceState;
191
+ nextStateSimfPath?: string;
192
+ nextAmountSat: number;
193
+ maxFeeSat?: number;
194
+ }): Promise<{
195
+ definition: BondDefinition;
196
+ previous: BondIssuanceState;
197
+ next: BondIssuanceState;
198
+ transition: {
199
+ issuanceIdMatch: boolean;
200
+ bondIdMatch: boolean;
201
+ currencyMatch: boolean;
202
+ controllerMatch: boolean;
203
+ issuerEntityMatch: boolean;
204
+ issuedPrincipalMatch: boolean;
205
+ previousStateHashMatch: boolean;
206
+ redemptionArithmeticValid: boolean;
207
+ statusProgressionValid: boolean;
208
+ };
209
+ nextContractAddress: string;
210
+ descriptor: BondSettlementDescriptor;
211
+ canonicalJson: string;
212
+ hash: string;
213
+ }>;
214
+ export declare function verifyBondSettlementDescriptor(sdk: SimplicityClient, input: {
215
+ descriptorPath?: string;
216
+ descriptorValue?: BondSettlementDescriptor;
217
+ definitionPath?: string;
218
+ definitionValue?: BondDefinition;
219
+ previousIssuancePath?: string;
220
+ previousIssuanceValue?: BondIssuanceState;
221
+ nextIssuancePath?: string;
222
+ nextIssuanceValue?: BondIssuanceState;
223
+ nextStateSimfPath?: string;
224
+ nextAmountSat?: number;
225
+ maxFeeSat?: number;
226
+ }): Promise<{
227
+ ok: boolean;
228
+ reason: string | undefined;
229
+ descriptor: BondSettlementDescriptor;
230
+ expected: BondSettlementDescriptor;
231
+ hash: string;
232
+ expectedHash: string;
233
+ matches: {
234
+ bondIdMatch: boolean;
235
+ issuanceIdMatch: boolean;
236
+ definitionHashMatch: boolean;
237
+ previousStateHashMatch: boolean;
238
+ nextStateHashMatch: boolean;
239
+ nextContractAddressMatch: boolean;
240
+ redeemAmountMatch: boolean;
241
+ assetIdMatch: boolean;
242
+ nextAmountSatMatch: boolean;
243
+ maxFeeSatMatch: boolean;
244
+ };
245
+ }>;
246
+ export declare function buildBondSettlementPayload(sdk: SimplicityClient, input: {
247
+ definitionPath?: string;
248
+ definitionValue?: BondDefinition;
249
+ previousIssuancePath?: string;
250
+ previousIssuanceValue?: BondIssuanceState;
251
+ nextIssuancePath?: string;
252
+ nextIssuanceValue?: BondIssuanceState;
253
+ nextStateSimfPath?: string;
254
+ nextAmountSat: number;
255
+ maxFeeSat?: number;
256
+ }): Promise<{
257
+ descriptor: BondSettlementDescriptor;
258
+ descriptorHash: string;
259
+ previousStateHash: string;
260
+ nextStateHash: string;
261
+ nextContractAddress: string;
262
+ nextAmountSat: number;
263
+ maxFeeSat: number;
264
+ }>;
265
+ export declare function compileBondTransition(sdk: SimplicityClient, input: {
266
+ definitionPath?: string;
267
+ definitionValue?: BondDefinition;
268
+ previousIssuancePath?: string;
269
+ previousIssuanceValue?: BondIssuanceState;
270
+ nextIssuancePath?: string;
271
+ nextIssuanceValue?: BondIssuanceState;
272
+ simfPath?: string;
273
+ artifactPath?: string;
274
+ }): Promise<{
275
+ compiled: import("..").CompiledContract;
276
+ previousHash: string;
277
+ nextHash: string;
278
+ transition: {
279
+ issuanceIdMatch: boolean;
280
+ bondIdMatch: boolean;
281
+ currencyMatch: boolean;
282
+ controllerMatch: boolean;
283
+ issuerEntityMatch: boolean;
284
+ issuedPrincipalMatch: boolean;
285
+ previousStateHashMatch: boolean;
286
+ redemptionArithmeticValid: boolean;
287
+ statusProgressionValid: boolean;
288
+ };
289
+ payload: {
290
+ bondId: string;
291
+ issuanceId: string;
292
+ definitionHash: string;
293
+ previousStateHash: string;
294
+ nextStateHash: string;
295
+ previousStatus: import("../core/types").BondIssuanceStatus;
296
+ nextStatus: import("../core/types").BondIssuanceStatus;
297
+ previousStatusCode: number;
298
+ nextStatusCode: number;
299
+ transitionKind: import("../core/types").BondTransitionType | null;
300
+ redeemAmount: number | null;
301
+ transitionAt: string | null;
302
+ principal: {
303
+ issued: number;
304
+ previousOutstanding: number;
305
+ nextOutstanding: number;
306
+ previousRedeemed: number;
307
+ nextRedeemed: number;
308
+ outstandingDelta: number;
309
+ redeemedDelta: number;
310
+ };
311
+ crossChecks: {
312
+ previous: {
313
+ bondIdMatch: boolean;
314
+ currencyMatch: boolean;
315
+ controllerMatch: boolean;
316
+ principalInvariantValid: boolean;
317
+ };
318
+ next: {
319
+ bondIdMatch: boolean;
320
+ currencyMatch: boolean;
321
+ controllerMatch: boolean;
322
+ principalInvariantValid: boolean;
323
+ };
324
+ transition: {
325
+ issuanceIdMatch: boolean;
326
+ bondIdMatch: boolean;
327
+ currencyMatch: boolean;
328
+ controllerMatch: boolean;
329
+ issuerEntityMatch: boolean;
330
+ issuedPrincipalMatch: boolean;
331
+ previousStateHashMatch: boolean;
332
+ redemptionArithmeticValid: boolean;
333
+ statusProgressionValid: boolean;
334
+ };
335
+ };
336
+ };
337
+ }>;
338
+ export declare function verifyBondRedemptionMachineArtifact(sdk: SimplicityClient, input: {
339
+ artifactPath?: string;
340
+ artifact?: SimplicityArtifact;
341
+ definitionPath?: string;
342
+ definitionValue?: BondDefinition;
343
+ previousIssuancePath?: string;
344
+ previousIssuanceValue?: BondIssuanceState;
345
+ nextIssuancePath?: string;
346
+ nextIssuanceValue?: BondIssuanceState;
347
+ nextStateSimfPath?: string;
348
+ nextAmountSat?: number;
349
+ maxFeeSat?: number;
350
+ }): Promise<{
351
+ artifact: SimplicityArtifact;
352
+ definition: import("../core/types").DefinitionVerificationResult;
353
+ issuance: import("../core/types").StateVerificationResult;
354
+ expectedPayload: {
355
+ nextStateContractAddress: string;
356
+ nextStateContractAddressHash: string;
357
+ bondId: string;
358
+ issuanceId: string;
359
+ definitionHash: string;
360
+ previousStateHash: string;
361
+ nextStateHash: string;
362
+ previousStatus: import("../core/types").BondIssuanceStatus;
363
+ nextStatus: import("../core/types").BondIssuanceStatus;
364
+ previousStatusCode: number;
365
+ nextStatusCode: number;
366
+ transitionKind: import("../core/types").BondTransitionType | null;
367
+ redeemAmount: number | null;
368
+ transitionAt: string | null;
369
+ principal: {
370
+ issued: number;
371
+ previousOutstanding: number;
372
+ nextOutstanding: number;
373
+ previousRedeemed: number;
374
+ nextRedeemed: number;
375
+ outstandingDelta: number;
376
+ redeemedDelta: number;
377
+ };
378
+ crossChecks: {
379
+ previous: {
380
+ bondIdMatch: boolean;
381
+ currencyMatch: boolean;
382
+ controllerMatch: boolean;
383
+ principalInvariantValid: boolean;
384
+ };
385
+ next: {
386
+ bondIdMatch: boolean;
387
+ currencyMatch: boolean;
388
+ controllerMatch: boolean;
389
+ principalInvariantValid: boolean;
390
+ };
391
+ transition: {
392
+ issuanceIdMatch: boolean;
393
+ bondIdMatch: boolean;
394
+ currencyMatch: boolean;
395
+ controllerMatch: boolean;
396
+ issuerEntityMatch: boolean;
397
+ issuedPrincipalMatch: boolean;
398
+ previousStateHashMatch: boolean;
399
+ redemptionArithmeticValid: boolean;
400
+ statusProgressionValid: boolean;
401
+ };
402
+ };
403
+ };
404
+ expectedSettlementDescriptor: BondSettlementDescriptor;
405
+ expectedSettlementDescriptorHash: string;
406
+ expectedNextContractAddress: string;
407
+ expectedNextContractAddressHash: string;
408
+ committed: {
409
+ previousStateHash: string;
410
+ redeemAmount256: string;
411
+ transitionKind256: string;
412
+ redeemAmount32: string;
413
+ previousStatus32: string;
414
+ nextStatus32: string;
415
+ previousOutstanding32: string;
416
+ previousRedeemed32: string;
417
+ nextOutstanding32: string;
418
+ nextRedeemed32: string;
419
+ nextContractAddressHash256: string;
420
+ settlementDescriptorHash256: string;
421
+ };
422
+ checks: {
423
+ previousStateHashCommitted: boolean;
424
+ redeemAmountCommitted: boolean;
425
+ transitionKindCommitted: boolean;
426
+ statusCodesCommitted: boolean;
427
+ principalArithmeticCommitted: boolean;
428
+ nextContractAddressCommitted: boolean;
429
+ settlementDescriptorCommitted: boolean;
430
+ };
431
+ verified: boolean;
432
+ }>;
433
+ export declare function compileBondRedemptionMachine(sdk: SimplicityClient, input: {
434
+ definitionPath?: string;
435
+ definitionValue?: BondDefinition;
436
+ previousIssuancePath?: string;
437
+ previousIssuanceValue?: BondIssuanceState;
438
+ nextIssuancePath?: string;
439
+ nextIssuanceValue?: BondIssuanceState;
440
+ nextStateSimfPath?: string;
441
+ nextAmountSat?: number;
442
+ maxFeeSat?: number;
443
+ simfPath?: string;
444
+ artifactPath?: string;
445
+ }): Promise<{
446
+ compiled: import("..").CompiledContract;
447
+ previousHash: string;
448
+ nextHash: string;
449
+ transition: {
450
+ issuanceIdMatch: boolean;
451
+ bondIdMatch: boolean;
452
+ currencyMatch: boolean;
453
+ controllerMatch: boolean;
454
+ issuerEntityMatch: boolean;
455
+ issuedPrincipalMatch: boolean;
456
+ previousStateHashMatch: boolean;
457
+ redemptionArithmeticValid: boolean;
458
+ statusProgressionValid: boolean;
459
+ };
460
+ redeemAmount: number;
461
+ transitionKind: "REDEEM";
462
+ nextStateContractAddress: string;
463
+ nextStateContractAddressHash: string;
464
+ settlementDescriptor: BondSettlementDescriptor;
465
+ settlementDescriptorHash: string;
466
+ payload: {
467
+ transitionKind: "REDEEM";
468
+ redeemAmount: number;
469
+ previousStatusCode: number;
470
+ nextStatusCode: number;
471
+ contractAddress: string;
472
+ cmr: string;
473
+ anchorModes: {
474
+ definition: string;
475
+ state: string;
476
+ };
477
+ nextStateContractAddress: string;
478
+ nextStateContractAddressHash: string;
479
+ settlementDescriptor: BondSettlementDescriptor;
480
+ settlementDescriptorHash: string;
481
+ bondId: string;
482
+ issuanceId: string;
483
+ definitionHash: string;
484
+ previousStateHash: string;
485
+ nextStateHash: string;
486
+ previousStatus: import("../core/types").BondIssuanceStatus;
487
+ nextStatus: import("../core/types").BondIssuanceStatus;
488
+ transitionAt: string | null;
489
+ principal: {
490
+ issued: number;
491
+ previousOutstanding: number;
492
+ nextOutstanding: number;
493
+ previousRedeemed: number;
494
+ nextRedeemed: number;
495
+ outstandingDelta: number;
496
+ redeemedDelta: number;
497
+ };
498
+ crossChecks: {
499
+ previous: {
500
+ bondIdMatch: boolean;
501
+ currencyMatch: boolean;
502
+ controllerMatch: boolean;
503
+ principalInvariantValid: boolean;
504
+ };
505
+ next: {
506
+ bondIdMatch: boolean;
507
+ currencyMatch: boolean;
508
+ controllerMatch: boolean;
509
+ principalInvariantValid: boolean;
510
+ };
511
+ transition: {
512
+ issuanceIdMatch: boolean;
513
+ bondIdMatch: boolean;
514
+ currencyMatch: boolean;
515
+ controllerMatch: boolean;
516
+ issuerEntityMatch: boolean;
517
+ issuedPrincipalMatch: boolean;
518
+ previousStateHashMatch: boolean;
519
+ redemptionArithmeticValid: boolean;
520
+ statusProgressionValid: boolean;
521
+ };
522
+ };
523
+ };
524
+ }>;
525
+ export declare function buildBondRedemption(sdk: SimplicityClient, input: {
526
+ definitionPath?: string;
527
+ definitionValue?: BondDefinition;
528
+ previousIssuancePath?: string;
529
+ previousIssuanceValue?: BondIssuanceState;
530
+ amount: number;
531
+ redeemedAt: string;
532
+ }): Promise<{
533
+ definition: BondDefinition;
534
+ previous: BondIssuanceState;
535
+ next: BondIssuanceState;
536
+ previousHash: string;
537
+ nextHash: string;
538
+ transition: {
539
+ issuanceIdMatch: boolean;
540
+ bondIdMatch: boolean;
541
+ currencyMatch: boolean;
542
+ controllerMatch: boolean;
543
+ issuerEntityMatch: boolean;
544
+ issuedPrincipalMatch: boolean;
545
+ previousStateHashMatch: boolean;
546
+ redemptionArithmeticValid: boolean;
547
+ statusProgressionValid: boolean;
548
+ };
549
+ }>;
550
+ export declare function verifyBondTransition(sdk: SimplicityClient, input: {
551
+ previousIssuancePath?: string;
552
+ previousIssuanceValue?: BondIssuanceState;
553
+ nextIssuancePath?: string;
554
+ nextIssuanceValue?: BondIssuanceState;
555
+ }): Promise<{
556
+ previous: BondIssuanceState;
557
+ next: BondIssuanceState;
558
+ previousHash: string;
559
+ nextHash: string;
560
+ transition: {
561
+ issuanceIdMatch: boolean;
562
+ bondIdMatch: boolean;
563
+ currencyMatch: boolean;
564
+ controllerMatch: boolean;
565
+ issuerEntityMatch: boolean;
566
+ issuedPrincipalMatch: boolean;
567
+ previousStateHashMatch: boolean;
568
+ redemptionArithmeticValid: boolean;
569
+ statusProgressionValid: boolean;
570
+ };
571
+ }>;
572
+ export declare function buildBondRolloverPlan(sdk: SimplicityClient, input: {
573
+ currentArtifactPath?: string;
574
+ currentArtifact?: SimplicityArtifact;
575
+ definitionPath?: string;
576
+ definitionValue?: BondDefinition;
577
+ previousIssuancePath?: string;
578
+ previousIssuanceValue?: BondIssuanceState;
579
+ nextIssuancePath?: string;
580
+ nextIssuanceValue?: BondIssuanceState;
581
+ nextSimfPath?: string;
582
+ nextArtifactPath?: string;
583
+ }): Promise<{
584
+ currentArtifact: SimplicityArtifact;
585
+ currentVerification: {
586
+ artifact: SimplicityArtifact;
587
+ definition: import("../core/types").DefinitionVerificationResult;
588
+ issuance: import("../core/types").StateVerificationResult;
589
+ crossChecks: {
590
+ bondIdMatch: boolean;
591
+ currencyMatch: boolean;
592
+ controllerMatch: boolean;
593
+ principalInvariantValid: boolean;
594
+ };
595
+ };
596
+ nextCompiled: import("..").CompiledContract;
597
+ nextContractAddress: string;
598
+ transitionPayload: {
599
+ bondId: string;
600
+ issuanceId: string;
601
+ definitionHash: string;
602
+ previousStateHash: string;
603
+ nextStateHash: string;
604
+ previousStatus: import("../core/types").BondIssuanceStatus;
605
+ nextStatus: import("../core/types").BondIssuanceStatus;
606
+ previousStatusCode: number;
607
+ nextStatusCode: number;
608
+ transitionKind: import("../core/types").BondTransitionType | null;
609
+ redeemAmount: number | null;
610
+ transitionAt: string | null;
611
+ principal: {
612
+ issued: number;
613
+ previousOutstanding: number;
614
+ nextOutstanding: number;
615
+ previousRedeemed: number;
616
+ nextRedeemed: number;
617
+ outstandingDelta: number;
618
+ redeemedDelta: number;
619
+ };
620
+ crossChecks: {
621
+ previous: {
622
+ bondIdMatch: boolean;
623
+ currencyMatch: boolean;
624
+ controllerMatch: boolean;
625
+ principalInvariantValid: boolean;
626
+ };
627
+ next: {
628
+ bondIdMatch: boolean;
629
+ currencyMatch: boolean;
630
+ controllerMatch: boolean;
631
+ principalInvariantValid: boolean;
632
+ };
633
+ transition: {
634
+ issuanceIdMatch: boolean;
635
+ bondIdMatch: boolean;
636
+ currencyMatch: boolean;
637
+ controllerMatch: boolean;
638
+ issuerEntityMatch: boolean;
639
+ issuedPrincipalMatch: boolean;
640
+ previousStateHashMatch: boolean;
641
+ redemptionArithmeticValid: boolean;
642
+ statusProgressionValid: boolean;
643
+ };
644
+ };
645
+ };
646
+ }>;
647
+ export declare function buildBondMachineRolloverPlan(sdk: SimplicityClient, input: {
648
+ currentArtifactPath?: string;
649
+ currentArtifact?: SimplicityArtifact;
650
+ definitionPath?: string;
651
+ definitionValue?: BondDefinition;
652
+ previousIssuancePath?: string;
653
+ previousIssuanceValue?: BondIssuanceState;
654
+ nextIssuancePath?: string;
655
+ nextIssuanceValue?: BondIssuanceState;
656
+ nextStateSimfPath?: string;
657
+ machineSimfPath?: string;
658
+ machineArtifactPath?: string;
659
+ }): Promise<{
660
+ currentArtifact: SimplicityArtifact;
661
+ currentVerification: {
662
+ artifact: SimplicityArtifact;
663
+ definition: import("../core/types").DefinitionVerificationResult;
664
+ issuance: import("../core/types").StateVerificationResult;
665
+ crossChecks: {
666
+ bondIdMatch: boolean;
667
+ currencyMatch: boolean;
668
+ controllerMatch: boolean;
669
+ principalInvariantValid: boolean;
670
+ };
671
+ };
672
+ machineCompiled: {
673
+ compiled: import("..").CompiledContract;
674
+ previousHash: string;
675
+ nextHash: string;
676
+ transition: {
677
+ issuanceIdMatch: boolean;
678
+ bondIdMatch: boolean;
679
+ currencyMatch: boolean;
680
+ controllerMatch: boolean;
681
+ issuerEntityMatch: boolean;
682
+ issuedPrincipalMatch: boolean;
683
+ previousStateHashMatch: boolean;
684
+ redemptionArithmeticValid: boolean;
685
+ statusProgressionValid: boolean;
686
+ };
687
+ redeemAmount: number;
688
+ transitionKind: "REDEEM";
689
+ nextStateContractAddress: string;
690
+ nextStateContractAddressHash: string;
691
+ settlementDescriptor: BondSettlementDescriptor;
692
+ settlementDescriptorHash: string;
693
+ payload: {
694
+ transitionKind: "REDEEM";
695
+ redeemAmount: number;
696
+ previousStatusCode: number;
697
+ nextStatusCode: number;
698
+ contractAddress: string;
699
+ cmr: string;
700
+ anchorModes: {
701
+ definition: string;
702
+ state: string;
703
+ };
704
+ nextStateContractAddress: string;
705
+ nextStateContractAddressHash: string;
706
+ settlementDescriptor: BondSettlementDescriptor;
707
+ settlementDescriptorHash: string;
708
+ bondId: string;
709
+ issuanceId: string;
710
+ definitionHash: string;
711
+ previousStateHash: string;
712
+ nextStateHash: string;
713
+ previousStatus: import("../core/types").BondIssuanceStatus;
714
+ nextStatus: import("../core/types").BondIssuanceStatus;
715
+ transitionAt: string | null;
716
+ principal: {
717
+ issued: number;
718
+ previousOutstanding: number;
719
+ nextOutstanding: number;
720
+ previousRedeemed: number;
721
+ nextRedeemed: number;
722
+ outstandingDelta: number;
723
+ redeemedDelta: number;
724
+ };
725
+ crossChecks: {
726
+ previous: {
727
+ bondIdMatch: boolean;
728
+ currencyMatch: boolean;
729
+ controllerMatch: boolean;
730
+ principalInvariantValid: boolean;
731
+ };
732
+ next: {
733
+ bondIdMatch: boolean;
734
+ currencyMatch: boolean;
735
+ controllerMatch: boolean;
736
+ principalInvariantValid: boolean;
737
+ };
738
+ transition: {
739
+ issuanceIdMatch: boolean;
740
+ bondIdMatch: boolean;
741
+ currencyMatch: boolean;
742
+ controllerMatch: boolean;
743
+ issuerEntityMatch: boolean;
744
+ issuedPrincipalMatch: boolean;
745
+ previousStateHashMatch: boolean;
746
+ redemptionArithmeticValid: boolean;
747
+ statusProgressionValid: boolean;
748
+ };
749
+ };
750
+ };
751
+ };
752
+ machineVerification: {
753
+ artifact: SimplicityArtifact;
754
+ definition: import("../core/types").DefinitionVerificationResult;
755
+ issuance: import("../core/types").StateVerificationResult;
756
+ expectedPayload: {
757
+ nextStateContractAddress: string;
758
+ nextStateContractAddressHash: string;
759
+ bondId: string;
760
+ issuanceId: string;
761
+ definitionHash: string;
762
+ previousStateHash: string;
763
+ nextStateHash: string;
764
+ previousStatus: import("../core/types").BondIssuanceStatus;
765
+ nextStatus: import("../core/types").BondIssuanceStatus;
766
+ previousStatusCode: number;
767
+ nextStatusCode: number;
768
+ transitionKind: import("../core/types").BondTransitionType | null;
769
+ redeemAmount: number | null;
770
+ transitionAt: string | null;
771
+ principal: {
772
+ issued: number;
773
+ previousOutstanding: number;
774
+ nextOutstanding: number;
775
+ previousRedeemed: number;
776
+ nextRedeemed: number;
777
+ outstandingDelta: number;
778
+ redeemedDelta: number;
779
+ };
780
+ crossChecks: {
781
+ previous: {
782
+ bondIdMatch: boolean;
783
+ currencyMatch: boolean;
784
+ controllerMatch: boolean;
785
+ principalInvariantValid: boolean;
786
+ };
787
+ next: {
788
+ bondIdMatch: boolean;
789
+ currencyMatch: boolean;
790
+ controllerMatch: boolean;
791
+ principalInvariantValid: boolean;
792
+ };
793
+ transition: {
794
+ issuanceIdMatch: boolean;
795
+ bondIdMatch: boolean;
796
+ currencyMatch: boolean;
797
+ controllerMatch: boolean;
798
+ issuerEntityMatch: boolean;
799
+ issuedPrincipalMatch: boolean;
800
+ previousStateHashMatch: boolean;
801
+ redemptionArithmeticValid: boolean;
802
+ statusProgressionValid: boolean;
803
+ };
804
+ };
805
+ };
806
+ expectedSettlementDescriptor: BondSettlementDescriptor;
807
+ expectedSettlementDescriptorHash: string;
808
+ expectedNextContractAddress: string;
809
+ expectedNextContractAddressHash: string;
810
+ committed: {
811
+ previousStateHash: string;
812
+ redeemAmount256: string;
813
+ transitionKind256: string;
814
+ redeemAmount32: string;
815
+ previousStatus32: string;
816
+ nextStatus32: string;
817
+ previousOutstanding32: string;
818
+ previousRedeemed32: string;
819
+ nextOutstanding32: string;
820
+ nextRedeemed32: string;
821
+ nextContractAddressHash256: string;
822
+ settlementDescriptorHash256: string;
823
+ };
824
+ checks: {
825
+ previousStateHashCommitted: boolean;
826
+ redeemAmountCommitted: boolean;
827
+ transitionKindCommitted: boolean;
828
+ statusCodesCommitted: boolean;
829
+ principalArithmeticCommitted: boolean;
830
+ nextContractAddressCommitted: boolean;
831
+ settlementDescriptorCommitted: boolean;
832
+ };
833
+ verified: boolean;
834
+ };
835
+ nextContractAddress: string;
836
+ transitionPayload: {
837
+ transitionKind: "REDEEM";
838
+ redeemAmount: number;
839
+ previousStatusCode: number;
840
+ nextStatusCode: number;
841
+ contractAddress: string;
842
+ cmr: string;
843
+ anchorModes: {
844
+ definition: string;
845
+ state: string;
846
+ };
847
+ nextStateContractAddress: string;
848
+ nextStateContractAddressHash: string;
849
+ settlementDescriptor: BondSettlementDescriptor;
850
+ settlementDescriptorHash: string;
851
+ bondId: string;
852
+ issuanceId: string;
853
+ definitionHash: string;
854
+ previousStateHash: string;
855
+ nextStateHash: string;
856
+ previousStatus: import("../core/types").BondIssuanceStatus;
857
+ nextStatus: import("../core/types").BondIssuanceStatus;
858
+ transitionAt: string | null;
859
+ principal: {
860
+ issued: number;
861
+ previousOutstanding: number;
862
+ nextOutstanding: number;
863
+ previousRedeemed: number;
864
+ nextRedeemed: number;
865
+ outstandingDelta: number;
866
+ redeemedDelta: number;
867
+ };
868
+ crossChecks: {
869
+ previous: {
870
+ bondIdMatch: boolean;
871
+ currencyMatch: boolean;
872
+ controllerMatch: boolean;
873
+ principalInvariantValid: boolean;
874
+ };
875
+ next: {
876
+ bondIdMatch: boolean;
877
+ currencyMatch: boolean;
878
+ controllerMatch: boolean;
879
+ principalInvariantValid: boolean;
880
+ };
881
+ transition: {
882
+ issuanceIdMatch: boolean;
883
+ bondIdMatch: boolean;
884
+ currencyMatch: boolean;
885
+ controllerMatch: boolean;
886
+ issuerEntityMatch: boolean;
887
+ issuedPrincipalMatch: boolean;
888
+ previousStateHashMatch: boolean;
889
+ redemptionArithmeticValid: boolean;
890
+ statusProgressionValid: boolean;
891
+ };
892
+ };
893
+ };
894
+ }>;
895
+ export declare function buildBondMachineSettlementPlan(sdk: SimplicityClient, input: {
896
+ currentMachineArtifactPath?: string;
897
+ currentMachineArtifact?: SimplicityArtifact;
898
+ definitionPath?: string;
899
+ definitionValue?: BondDefinition;
900
+ previousIssuancePath?: string;
901
+ previousIssuanceValue?: BondIssuanceState;
902
+ nextIssuancePath?: string;
903
+ nextIssuanceValue?: BondIssuanceState;
904
+ nextSimfPath?: string;
905
+ nextArtifactPath?: string;
906
+ }): Promise<{
907
+ currentMachineArtifact: SimplicityArtifact;
908
+ machineVerification: {
909
+ artifact: SimplicityArtifact;
910
+ definition: import("../core/types").DefinitionVerificationResult;
911
+ issuance: import("../core/types").StateVerificationResult;
912
+ expectedPayload: {
913
+ nextStateContractAddress: string;
914
+ nextStateContractAddressHash: string;
915
+ bondId: string;
916
+ issuanceId: string;
917
+ definitionHash: string;
918
+ previousStateHash: string;
919
+ nextStateHash: string;
920
+ previousStatus: import("../core/types").BondIssuanceStatus;
921
+ nextStatus: import("../core/types").BondIssuanceStatus;
922
+ previousStatusCode: number;
923
+ nextStatusCode: number;
924
+ transitionKind: import("../core/types").BondTransitionType | null;
925
+ redeemAmount: number | null;
926
+ transitionAt: string | null;
927
+ principal: {
928
+ issued: number;
929
+ previousOutstanding: number;
930
+ nextOutstanding: number;
931
+ previousRedeemed: number;
932
+ nextRedeemed: number;
933
+ outstandingDelta: number;
934
+ redeemedDelta: number;
935
+ };
936
+ crossChecks: {
937
+ previous: {
938
+ bondIdMatch: boolean;
939
+ currencyMatch: boolean;
940
+ controllerMatch: boolean;
941
+ principalInvariantValid: boolean;
942
+ };
943
+ next: {
944
+ bondIdMatch: boolean;
945
+ currencyMatch: boolean;
946
+ controllerMatch: boolean;
947
+ principalInvariantValid: boolean;
948
+ };
949
+ transition: {
950
+ issuanceIdMatch: boolean;
951
+ bondIdMatch: boolean;
952
+ currencyMatch: boolean;
953
+ controllerMatch: boolean;
954
+ issuerEntityMatch: boolean;
955
+ issuedPrincipalMatch: boolean;
956
+ previousStateHashMatch: boolean;
957
+ redemptionArithmeticValid: boolean;
958
+ statusProgressionValid: boolean;
959
+ };
960
+ };
961
+ };
962
+ expectedSettlementDescriptor: BondSettlementDescriptor;
963
+ expectedSettlementDescriptorHash: string;
964
+ expectedNextContractAddress: string;
965
+ expectedNextContractAddressHash: string;
966
+ committed: {
967
+ previousStateHash: string;
968
+ redeemAmount256: string;
969
+ transitionKind256: string;
970
+ redeemAmount32: string;
971
+ previousStatus32: string;
972
+ nextStatus32: string;
973
+ previousOutstanding32: string;
974
+ previousRedeemed32: string;
975
+ nextOutstanding32: string;
976
+ nextRedeemed32: string;
977
+ nextContractAddressHash256: string;
978
+ settlementDescriptorHash256: string;
979
+ };
980
+ checks: {
981
+ previousStateHashCommitted: boolean;
982
+ redeemAmountCommitted: boolean;
983
+ transitionKindCommitted: boolean;
984
+ statusCodesCommitted: boolean;
985
+ principalArithmeticCommitted: boolean;
986
+ nextContractAddressCommitted: boolean;
987
+ settlementDescriptorCommitted: boolean;
988
+ };
989
+ verified: boolean;
990
+ };
991
+ nextCompiled: import("..").CompiledContract;
992
+ nextContractAddress: string;
993
+ transitionPayload: {
994
+ nextStateContractAddress: string;
995
+ nextStateContractAddressHash: string;
996
+ bondId: string;
997
+ issuanceId: string;
998
+ definitionHash: string;
999
+ previousStateHash: string;
1000
+ nextStateHash: string;
1001
+ previousStatus: import("../core/types").BondIssuanceStatus;
1002
+ nextStatus: import("../core/types").BondIssuanceStatus;
1003
+ previousStatusCode: number;
1004
+ nextStatusCode: number;
1005
+ transitionKind: import("../core/types").BondTransitionType | null;
1006
+ redeemAmount: number | null;
1007
+ transitionAt: string | null;
1008
+ principal: {
1009
+ issued: number;
1010
+ previousOutstanding: number;
1011
+ nextOutstanding: number;
1012
+ previousRedeemed: number;
1013
+ nextRedeemed: number;
1014
+ outstandingDelta: number;
1015
+ redeemedDelta: number;
1016
+ };
1017
+ crossChecks: {
1018
+ previous: {
1019
+ bondIdMatch: boolean;
1020
+ currencyMatch: boolean;
1021
+ controllerMatch: boolean;
1022
+ principalInvariantValid: boolean;
1023
+ };
1024
+ next: {
1025
+ bondIdMatch: boolean;
1026
+ currencyMatch: boolean;
1027
+ controllerMatch: boolean;
1028
+ principalInvariantValid: boolean;
1029
+ };
1030
+ transition: {
1031
+ issuanceIdMatch: boolean;
1032
+ bondIdMatch: boolean;
1033
+ currencyMatch: boolean;
1034
+ controllerMatch: boolean;
1035
+ issuerEntityMatch: boolean;
1036
+ issuedPrincipalMatch: boolean;
1037
+ previousStateHashMatch: boolean;
1038
+ redemptionArithmeticValid: boolean;
1039
+ statusProgressionValid: boolean;
1040
+ };
1041
+ };
1042
+ };
1043
+ nextContractAddressMatchesMachineCommitment: boolean;
1044
+ }>;
1045
+ export declare function inspectBondStateRollover(sdk: SimplicityClient, input: {
1046
+ currentArtifactPath?: string;
1047
+ currentArtifact?: SimplicityArtifact;
1048
+ definitionPath?: string;
1049
+ definitionValue?: BondDefinition;
1050
+ previousIssuancePath?: string;
1051
+ previousIssuanceValue?: BondIssuanceState;
1052
+ nextIssuancePath?: string;
1053
+ nextIssuanceValue?: BondIssuanceState;
1054
+ nextSimfPath?: string;
1055
+ nextArtifactPath?: string;
1056
+ wallet: string;
1057
+ signer: {
1058
+ type: "schnorrPrivkeyHex";
1059
+ privkeyHex: string;
1060
+ };
1061
+ feeSat?: number;
1062
+ utxoPolicy?: "smallest_over" | "largest" | "newest";
1063
+ }): Promise<{
1064
+ plan: {
1065
+ currentArtifact: SimplicityArtifact;
1066
+ currentVerification: {
1067
+ artifact: SimplicityArtifact;
1068
+ definition: import("../core/types").DefinitionVerificationResult;
1069
+ issuance: import("../core/types").StateVerificationResult;
1070
+ crossChecks: {
1071
+ bondIdMatch: boolean;
1072
+ currencyMatch: boolean;
1073
+ controllerMatch: boolean;
1074
+ principalInvariantValid: boolean;
1075
+ };
1076
+ };
1077
+ nextCompiled: import("..").CompiledContract;
1078
+ nextContractAddress: string;
1079
+ transitionPayload: {
1080
+ bondId: string;
1081
+ issuanceId: string;
1082
+ definitionHash: string;
1083
+ previousStateHash: string;
1084
+ nextStateHash: string;
1085
+ previousStatus: import("../core/types").BondIssuanceStatus;
1086
+ nextStatus: import("../core/types").BondIssuanceStatus;
1087
+ previousStatusCode: number;
1088
+ nextStatusCode: number;
1089
+ transitionKind: import("../core/types").BondTransitionType | null;
1090
+ redeemAmount: number | null;
1091
+ transitionAt: string | null;
1092
+ principal: {
1093
+ issued: number;
1094
+ previousOutstanding: number;
1095
+ nextOutstanding: number;
1096
+ previousRedeemed: number;
1097
+ nextRedeemed: number;
1098
+ outstandingDelta: number;
1099
+ redeemedDelta: number;
1100
+ };
1101
+ crossChecks: {
1102
+ previous: {
1103
+ bondIdMatch: boolean;
1104
+ currencyMatch: boolean;
1105
+ controllerMatch: boolean;
1106
+ principalInvariantValid: boolean;
1107
+ };
1108
+ next: {
1109
+ bondIdMatch: boolean;
1110
+ currencyMatch: boolean;
1111
+ controllerMatch: boolean;
1112
+ principalInvariantValid: boolean;
1113
+ };
1114
+ transition: {
1115
+ issuanceIdMatch: boolean;
1116
+ bondIdMatch: boolean;
1117
+ currencyMatch: boolean;
1118
+ controllerMatch: boolean;
1119
+ issuerEntityMatch: boolean;
1120
+ issuedPrincipalMatch: boolean;
1121
+ previousStateHashMatch: boolean;
1122
+ redemptionArithmeticValid: boolean;
1123
+ statusProgressionValid: boolean;
1124
+ };
1125
+ };
1126
+ };
1127
+ };
1128
+ inspect: import("../core/types").InspectResult;
1129
+ }>;
1130
+ export declare function inspectBondMachineRollover(sdk: SimplicityClient, input: {
1131
+ currentArtifactPath?: string;
1132
+ currentArtifact?: SimplicityArtifact;
1133
+ definitionPath?: string;
1134
+ definitionValue?: BondDefinition;
1135
+ previousIssuancePath?: string;
1136
+ previousIssuanceValue?: BondIssuanceState;
1137
+ nextIssuancePath?: string;
1138
+ nextIssuanceValue?: BondIssuanceState;
1139
+ machineSimfPath?: string;
1140
+ machineArtifactPath?: string;
1141
+ wallet: string;
1142
+ signer: {
1143
+ type: "schnorrPrivkeyHex";
1144
+ privkeyHex: string;
1145
+ };
1146
+ feeSat?: number;
1147
+ utxoPolicy?: "smallest_over" | "largest" | "newest";
1148
+ }): Promise<{
1149
+ plan: {
1150
+ currentArtifact: SimplicityArtifact;
1151
+ currentVerification: {
1152
+ artifact: SimplicityArtifact;
1153
+ definition: import("../core/types").DefinitionVerificationResult;
1154
+ issuance: import("../core/types").StateVerificationResult;
1155
+ crossChecks: {
1156
+ bondIdMatch: boolean;
1157
+ currencyMatch: boolean;
1158
+ controllerMatch: boolean;
1159
+ principalInvariantValid: boolean;
1160
+ };
1161
+ };
1162
+ machineCompiled: {
1163
+ compiled: import("..").CompiledContract;
1164
+ previousHash: string;
1165
+ nextHash: string;
1166
+ transition: {
1167
+ issuanceIdMatch: boolean;
1168
+ bondIdMatch: boolean;
1169
+ currencyMatch: boolean;
1170
+ controllerMatch: boolean;
1171
+ issuerEntityMatch: boolean;
1172
+ issuedPrincipalMatch: boolean;
1173
+ previousStateHashMatch: boolean;
1174
+ redemptionArithmeticValid: boolean;
1175
+ statusProgressionValid: boolean;
1176
+ };
1177
+ redeemAmount: number;
1178
+ transitionKind: "REDEEM";
1179
+ nextStateContractAddress: string;
1180
+ nextStateContractAddressHash: string;
1181
+ settlementDescriptor: BondSettlementDescriptor;
1182
+ settlementDescriptorHash: string;
1183
+ payload: {
1184
+ transitionKind: "REDEEM";
1185
+ redeemAmount: number;
1186
+ previousStatusCode: number;
1187
+ nextStatusCode: number;
1188
+ contractAddress: string;
1189
+ cmr: string;
1190
+ anchorModes: {
1191
+ definition: string;
1192
+ state: string;
1193
+ };
1194
+ nextStateContractAddress: string;
1195
+ nextStateContractAddressHash: string;
1196
+ settlementDescriptor: BondSettlementDescriptor;
1197
+ settlementDescriptorHash: string;
1198
+ bondId: string;
1199
+ issuanceId: string;
1200
+ definitionHash: string;
1201
+ previousStateHash: string;
1202
+ nextStateHash: string;
1203
+ previousStatus: import("../core/types").BondIssuanceStatus;
1204
+ nextStatus: import("../core/types").BondIssuanceStatus;
1205
+ transitionAt: string | null;
1206
+ principal: {
1207
+ issued: number;
1208
+ previousOutstanding: number;
1209
+ nextOutstanding: number;
1210
+ previousRedeemed: number;
1211
+ nextRedeemed: number;
1212
+ outstandingDelta: number;
1213
+ redeemedDelta: number;
1214
+ };
1215
+ crossChecks: {
1216
+ previous: {
1217
+ bondIdMatch: boolean;
1218
+ currencyMatch: boolean;
1219
+ controllerMatch: boolean;
1220
+ principalInvariantValid: boolean;
1221
+ };
1222
+ next: {
1223
+ bondIdMatch: boolean;
1224
+ currencyMatch: boolean;
1225
+ controllerMatch: boolean;
1226
+ principalInvariantValid: boolean;
1227
+ };
1228
+ transition: {
1229
+ issuanceIdMatch: boolean;
1230
+ bondIdMatch: boolean;
1231
+ currencyMatch: boolean;
1232
+ controllerMatch: boolean;
1233
+ issuerEntityMatch: boolean;
1234
+ issuedPrincipalMatch: boolean;
1235
+ previousStateHashMatch: boolean;
1236
+ redemptionArithmeticValid: boolean;
1237
+ statusProgressionValid: boolean;
1238
+ };
1239
+ };
1240
+ };
1241
+ };
1242
+ machineVerification: {
1243
+ artifact: SimplicityArtifact;
1244
+ definition: import("../core/types").DefinitionVerificationResult;
1245
+ issuance: import("../core/types").StateVerificationResult;
1246
+ expectedPayload: {
1247
+ nextStateContractAddress: string;
1248
+ nextStateContractAddressHash: string;
1249
+ bondId: string;
1250
+ issuanceId: string;
1251
+ definitionHash: string;
1252
+ previousStateHash: string;
1253
+ nextStateHash: string;
1254
+ previousStatus: import("../core/types").BondIssuanceStatus;
1255
+ nextStatus: import("../core/types").BondIssuanceStatus;
1256
+ previousStatusCode: number;
1257
+ nextStatusCode: number;
1258
+ transitionKind: import("../core/types").BondTransitionType | null;
1259
+ redeemAmount: number | null;
1260
+ transitionAt: string | null;
1261
+ principal: {
1262
+ issued: number;
1263
+ previousOutstanding: number;
1264
+ nextOutstanding: number;
1265
+ previousRedeemed: number;
1266
+ nextRedeemed: number;
1267
+ outstandingDelta: number;
1268
+ redeemedDelta: number;
1269
+ };
1270
+ crossChecks: {
1271
+ previous: {
1272
+ bondIdMatch: boolean;
1273
+ currencyMatch: boolean;
1274
+ controllerMatch: boolean;
1275
+ principalInvariantValid: boolean;
1276
+ };
1277
+ next: {
1278
+ bondIdMatch: boolean;
1279
+ currencyMatch: boolean;
1280
+ controllerMatch: boolean;
1281
+ principalInvariantValid: boolean;
1282
+ };
1283
+ transition: {
1284
+ issuanceIdMatch: boolean;
1285
+ bondIdMatch: boolean;
1286
+ currencyMatch: boolean;
1287
+ controllerMatch: boolean;
1288
+ issuerEntityMatch: boolean;
1289
+ issuedPrincipalMatch: boolean;
1290
+ previousStateHashMatch: boolean;
1291
+ redemptionArithmeticValid: boolean;
1292
+ statusProgressionValid: boolean;
1293
+ };
1294
+ };
1295
+ };
1296
+ expectedSettlementDescriptor: BondSettlementDescriptor;
1297
+ expectedSettlementDescriptorHash: string;
1298
+ expectedNextContractAddress: string;
1299
+ expectedNextContractAddressHash: string;
1300
+ committed: {
1301
+ previousStateHash: string;
1302
+ redeemAmount256: string;
1303
+ transitionKind256: string;
1304
+ redeemAmount32: string;
1305
+ previousStatus32: string;
1306
+ nextStatus32: string;
1307
+ previousOutstanding32: string;
1308
+ previousRedeemed32: string;
1309
+ nextOutstanding32: string;
1310
+ nextRedeemed32: string;
1311
+ nextContractAddressHash256: string;
1312
+ settlementDescriptorHash256: string;
1313
+ };
1314
+ checks: {
1315
+ previousStateHashCommitted: boolean;
1316
+ redeemAmountCommitted: boolean;
1317
+ transitionKindCommitted: boolean;
1318
+ statusCodesCommitted: boolean;
1319
+ principalArithmeticCommitted: boolean;
1320
+ nextContractAddressCommitted: boolean;
1321
+ settlementDescriptorCommitted: boolean;
1322
+ };
1323
+ verified: boolean;
1324
+ };
1325
+ nextContractAddress: string;
1326
+ transitionPayload: {
1327
+ transitionKind: "REDEEM";
1328
+ redeemAmount: number;
1329
+ previousStatusCode: number;
1330
+ nextStatusCode: number;
1331
+ contractAddress: string;
1332
+ cmr: string;
1333
+ anchorModes: {
1334
+ definition: string;
1335
+ state: string;
1336
+ };
1337
+ nextStateContractAddress: string;
1338
+ nextStateContractAddressHash: string;
1339
+ settlementDescriptor: BondSettlementDescriptor;
1340
+ settlementDescriptorHash: string;
1341
+ bondId: string;
1342
+ issuanceId: string;
1343
+ definitionHash: string;
1344
+ previousStateHash: string;
1345
+ nextStateHash: string;
1346
+ previousStatus: import("../core/types").BondIssuanceStatus;
1347
+ nextStatus: import("../core/types").BondIssuanceStatus;
1348
+ transitionAt: string | null;
1349
+ principal: {
1350
+ issued: number;
1351
+ previousOutstanding: number;
1352
+ nextOutstanding: number;
1353
+ previousRedeemed: number;
1354
+ nextRedeemed: number;
1355
+ outstandingDelta: number;
1356
+ redeemedDelta: number;
1357
+ };
1358
+ crossChecks: {
1359
+ previous: {
1360
+ bondIdMatch: boolean;
1361
+ currencyMatch: boolean;
1362
+ controllerMatch: boolean;
1363
+ principalInvariantValid: boolean;
1364
+ };
1365
+ next: {
1366
+ bondIdMatch: boolean;
1367
+ currencyMatch: boolean;
1368
+ controllerMatch: boolean;
1369
+ principalInvariantValid: boolean;
1370
+ };
1371
+ transition: {
1372
+ issuanceIdMatch: boolean;
1373
+ bondIdMatch: boolean;
1374
+ currencyMatch: boolean;
1375
+ controllerMatch: boolean;
1376
+ issuerEntityMatch: boolean;
1377
+ issuedPrincipalMatch: boolean;
1378
+ previousStateHashMatch: boolean;
1379
+ redemptionArithmeticValid: boolean;
1380
+ statusProgressionValid: boolean;
1381
+ };
1382
+ };
1383
+ };
1384
+ };
1385
+ inspect: import("../core/types").InspectResult;
1386
+ }>;
1387
+ export declare function inspectBondMachineSettlement(sdk: SimplicityClient, input: {
1388
+ currentMachineArtifactPath?: string;
1389
+ currentMachineArtifact?: SimplicityArtifact;
1390
+ definitionPath?: string;
1391
+ definitionValue?: BondDefinition;
1392
+ previousIssuancePath?: string;
1393
+ previousIssuanceValue?: BondIssuanceState;
1394
+ nextIssuancePath?: string;
1395
+ nextIssuanceValue?: BondIssuanceState;
1396
+ nextSimfPath?: string;
1397
+ nextArtifactPath?: string;
1398
+ wallet: string;
1399
+ signer: {
1400
+ type: "schnorrPrivkeyHex";
1401
+ privkeyHex: string;
1402
+ };
1403
+ feeSat?: number;
1404
+ utxoPolicy?: "smallest_over" | "largest" | "newest";
1405
+ }): Promise<{
1406
+ plan: {
1407
+ currentMachineArtifact: SimplicityArtifact;
1408
+ machineVerification: {
1409
+ artifact: SimplicityArtifact;
1410
+ definition: import("../core/types").DefinitionVerificationResult;
1411
+ issuance: import("../core/types").StateVerificationResult;
1412
+ expectedPayload: {
1413
+ nextStateContractAddress: string;
1414
+ nextStateContractAddressHash: string;
1415
+ bondId: string;
1416
+ issuanceId: string;
1417
+ definitionHash: string;
1418
+ previousStateHash: string;
1419
+ nextStateHash: string;
1420
+ previousStatus: import("../core/types").BondIssuanceStatus;
1421
+ nextStatus: import("../core/types").BondIssuanceStatus;
1422
+ previousStatusCode: number;
1423
+ nextStatusCode: number;
1424
+ transitionKind: import("../core/types").BondTransitionType | null;
1425
+ redeemAmount: number | null;
1426
+ transitionAt: string | null;
1427
+ principal: {
1428
+ issued: number;
1429
+ previousOutstanding: number;
1430
+ nextOutstanding: number;
1431
+ previousRedeemed: number;
1432
+ nextRedeemed: number;
1433
+ outstandingDelta: number;
1434
+ redeemedDelta: number;
1435
+ };
1436
+ crossChecks: {
1437
+ previous: {
1438
+ bondIdMatch: boolean;
1439
+ currencyMatch: boolean;
1440
+ controllerMatch: boolean;
1441
+ principalInvariantValid: boolean;
1442
+ };
1443
+ next: {
1444
+ bondIdMatch: boolean;
1445
+ currencyMatch: boolean;
1446
+ controllerMatch: boolean;
1447
+ principalInvariantValid: boolean;
1448
+ };
1449
+ transition: {
1450
+ issuanceIdMatch: boolean;
1451
+ bondIdMatch: boolean;
1452
+ currencyMatch: boolean;
1453
+ controllerMatch: boolean;
1454
+ issuerEntityMatch: boolean;
1455
+ issuedPrincipalMatch: boolean;
1456
+ previousStateHashMatch: boolean;
1457
+ redemptionArithmeticValid: boolean;
1458
+ statusProgressionValid: boolean;
1459
+ };
1460
+ };
1461
+ };
1462
+ expectedSettlementDescriptor: BondSettlementDescriptor;
1463
+ expectedSettlementDescriptorHash: string;
1464
+ expectedNextContractAddress: string;
1465
+ expectedNextContractAddressHash: string;
1466
+ committed: {
1467
+ previousStateHash: string;
1468
+ redeemAmount256: string;
1469
+ transitionKind256: string;
1470
+ redeemAmount32: string;
1471
+ previousStatus32: string;
1472
+ nextStatus32: string;
1473
+ previousOutstanding32: string;
1474
+ previousRedeemed32: string;
1475
+ nextOutstanding32: string;
1476
+ nextRedeemed32: string;
1477
+ nextContractAddressHash256: string;
1478
+ settlementDescriptorHash256: string;
1479
+ };
1480
+ checks: {
1481
+ previousStateHashCommitted: boolean;
1482
+ redeemAmountCommitted: boolean;
1483
+ transitionKindCommitted: boolean;
1484
+ statusCodesCommitted: boolean;
1485
+ principalArithmeticCommitted: boolean;
1486
+ nextContractAddressCommitted: boolean;
1487
+ settlementDescriptorCommitted: boolean;
1488
+ };
1489
+ verified: boolean;
1490
+ };
1491
+ nextCompiled: import("..").CompiledContract;
1492
+ nextContractAddress: string;
1493
+ transitionPayload: {
1494
+ nextStateContractAddress: string;
1495
+ nextStateContractAddressHash: string;
1496
+ bondId: string;
1497
+ issuanceId: string;
1498
+ definitionHash: string;
1499
+ previousStateHash: string;
1500
+ nextStateHash: string;
1501
+ previousStatus: import("../core/types").BondIssuanceStatus;
1502
+ nextStatus: import("../core/types").BondIssuanceStatus;
1503
+ previousStatusCode: number;
1504
+ nextStatusCode: number;
1505
+ transitionKind: import("../core/types").BondTransitionType | null;
1506
+ redeemAmount: number | null;
1507
+ transitionAt: string | null;
1508
+ principal: {
1509
+ issued: number;
1510
+ previousOutstanding: number;
1511
+ nextOutstanding: number;
1512
+ previousRedeemed: number;
1513
+ nextRedeemed: number;
1514
+ outstandingDelta: number;
1515
+ redeemedDelta: number;
1516
+ };
1517
+ crossChecks: {
1518
+ previous: {
1519
+ bondIdMatch: boolean;
1520
+ currencyMatch: boolean;
1521
+ controllerMatch: boolean;
1522
+ principalInvariantValid: boolean;
1523
+ };
1524
+ next: {
1525
+ bondIdMatch: boolean;
1526
+ currencyMatch: boolean;
1527
+ controllerMatch: boolean;
1528
+ principalInvariantValid: boolean;
1529
+ };
1530
+ transition: {
1531
+ issuanceIdMatch: boolean;
1532
+ bondIdMatch: boolean;
1533
+ currencyMatch: boolean;
1534
+ controllerMatch: boolean;
1535
+ issuerEntityMatch: boolean;
1536
+ issuedPrincipalMatch: boolean;
1537
+ previousStateHashMatch: boolean;
1538
+ redemptionArithmeticValid: boolean;
1539
+ statusProgressionValid: boolean;
1540
+ };
1541
+ };
1542
+ };
1543
+ nextContractAddressMatchesMachineCommitment: boolean;
1544
+ };
1545
+ inspect: import("../core/types").InspectResult;
1546
+ }>;
1547
+ export declare function executeBondStateRollover(sdk: SimplicityClient, input: {
1548
+ currentArtifactPath?: string;
1549
+ currentArtifact?: SimplicityArtifact;
1550
+ definitionPath?: string;
1551
+ definitionValue?: BondDefinition;
1552
+ previousIssuancePath?: string;
1553
+ previousIssuanceValue?: BondIssuanceState;
1554
+ nextIssuancePath?: string;
1555
+ nextIssuanceValue?: BondIssuanceState;
1556
+ nextSimfPath?: string;
1557
+ nextArtifactPath?: string;
1558
+ wallet: string;
1559
+ signer: {
1560
+ type: "schnorrPrivkeyHex";
1561
+ privkeyHex: string;
1562
+ };
1563
+ feeSat?: number;
1564
+ utxoPolicy?: "smallest_over" | "largest" | "newest";
1565
+ broadcast?: boolean;
1566
+ }): Promise<{
1567
+ plan: {
1568
+ currentArtifact: SimplicityArtifact;
1569
+ currentVerification: {
1570
+ artifact: SimplicityArtifact;
1571
+ definition: import("../core/types").DefinitionVerificationResult;
1572
+ issuance: import("../core/types").StateVerificationResult;
1573
+ crossChecks: {
1574
+ bondIdMatch: boolean;
1575
+ currencyMatch: boolean;
1576
+ controllerMatch: boolean;
1577
+ principalInvariantValid: boolean;
1578
+ };
1579
+ };
1580
+ nextCompiled: import("..").CompiledContract;
1581
+ nextContractAddress: string;
1582
+ transitionPayload: {
1583
+ bondId: string;
1584
+ issuanceId: string;
1585
+ definitionHash: string;
1586
+ previousStateHash: string;
1587
+ nextStateHash: string;
1588
+ previousStatus: import("../core/types").BondIssuanceStatus;
1589
+ nextStatus: import("../core/types").BondIssuanceStatus;
1590
+ previousStatusCode: number;
1591
+ nextStatusCode: number;
1592
+ transitionKind: import("../core/types").BondTransitionType | null;
1593
+ redeemAmount: number | null;
1594
+ transitionAt: string | null;
1595
+ principal: {
1596
+ issued: number;
1597
+ previousOutstanding: number;
1598
+ nextOutstanding: number;
1599
+ previousRedeemed: number;
1600
+ nextRedeemed: number;
1601
+ outstandingDelta: number;
1602
+ redeemedDelta: number;
1603
+ };
1604
+ crossChecks: {
1605
+ previous: {
1606
+ bondIdMatch: boolean;
1607
+ currencyMatch: boolean;
1608
+ controllerMatch: boolean;
1609
+ principalInvariantValid: boolean;
1610
+ };
1611
+ next: {
1612
+ bondIdMatch: boolean;
1613
+ currencyMatch: boolean;
1614
+ controllerMatch: boolean;
1615
+ principalInvariantValid: boolean;
1616
+ };
1617
+ transition: {
1618
+ issuanceIdMatch: boolean;
1619
+ bondIdMatch: boolean;
1620
+ currencyMatch: boolean;
1621
+ controllerMatch: boolean;
1622
+ issuerEntityMatch: boolean;
1623
+ issuedPrincipalMatch: boolean;
1624
+ previousStateHashMatch: boolean;
1625
+ redemptionArithmeticValid: boolean;
1626
+ statusProgressionValid: boolean;
1627
+ };
1628
+ };
1629
+ };
1630
+ };
1631
+ execution: import("../core/types").ExecuteResult;
1632
+ }>;
1633
+ export declare function executeBondMachineRollover(sdk: SimplicityClient, input: {
1634
+ currentArtifactPath?: string;
1635
+ currentArtifact?: SimplicityArtifact;
1636
+ definitionPath?: string;
1637
+ definitionValue?: BondDefinition;
1638
+ previousIssuancePath?: string;
1639
+ previousIssuanceValue?: BondIssuanceState;
1640
+ nextIssuancePath?: string;
1641
+ nextIssuanceValue?: BondIssuanceState;
1642
+ machineSimfPath?: string;
1643
+ machineArtifactPath?: string;
1644
+ wallet: string;
1645
+ signer: {
1646
+ type: "schnorrPrivkeyHex";
1647
+ privkeyHex: string;
1648
+ };
1649
+ feeSat?: number;
1650
+ utxoPolicy?: "smallest_over" | "largest" | "newest";
1651
+ broadcast?: boolean;
1652
+ }): Promise<{
1653
+ plan: {
1654
+ currentArtifact: SimplicityArtifact;
1655
+ currentVerification: {
1656
+ artifact: SimplicityArtifact;
1657
+ definition: import("../core/types").DefinitionVerificationResult;
1658
+ issuance: import("../core/types").StateVerificationResult;
1659
+ crossChecks: {
1660
+ bondIdMatch: boolean;
1661
+ currencyMatch: boolean;
1662
+ controllerMatch: boolean;
1663
+ principalInvariantValid: boolean;
1664
+ };
1665
+ };
1666
+ machineCompiled: {
1667
+ compiled: import("..").CompiledContract;
1668
+ previousHash: string;
1669
+ nextHash: string;
1670
+ transition: {
1671
+ issuanceIdMatch: boolean;
1672
+ bondIdMatch: boolean;
1673
+ currencyMatch: boolean;
1674
+ controllerMatch: boolean;
1675
+ issuerEntityMatch: boolean;
1676
+ issuedPrincipalMatch: boolean;
1677
+ previousStateHashMatch: boolean;
1678
+ redemptionArithmeticValid: boolean;
1679
+ statusProgressionValid: boolean;
1680
+ };
1681
+ redeemAmount: number;
1682
+ transitionKind: "REDEEM";
1683
+ nextStateContractAddress: string;
1684
+ nextStateContractAddressHash: string;
1685
+ settlementDescriptor: BondSettlementDescriptor;
1686
+ settlementDescriptorHash: string;
1687
+ payload: {
1688
+ transitionKind: "REDEEM";
1689
+ redeemAmount: number;
1690
+ previousStatusCode: number;
1691
+ nextStatusCode: number;
1692
+ contractAddress: string;
1693
+ cmr: string;
1694
+ anchorModes: {
1695
+ definition: string;
1696
+ state: string;
1697
+ };
1698
+ nextStateContractAddress: string;
1699
+ nextStateContractAddressHash: string;
1700
+ settlementDescriptor: BondSettlementDescriptor;
1701
+ settlementDescriptorHash: string;
1702
+ bondId: string;
1703
+ issuanceId: string;
1704
+ definitionHash: string;
1705
+ previousStateHash: string;
1706
+ nextStateHash: string;
1707
+ previousStatus: import("../core/types").BondIssuanceStatus;
1708
+ nextStatus: import("../core/types").BondIssuanceStatus;
1709
+ transitionAt: string | null;
1710
+ principal: {
1711
+ issued: number;
1712
+ previousOutstanding: number;
1713
+ nextOutstanding: number;
1714
+ previousRedeemed: number;
1715
+ nextRedeemed: number;
1716
+ outstandingDelta: number;
1717
+ redeemedDelta: number;
1718
+ };
1719
+ crossChecks: {
1720
+ previous: {
1721
+ bondIdMatch: boolean;
1722
+ currencyMatch: boolean;
1723
+ controllerMatch: boolean;
1724
+ principalInvariantValid: boolean;
1725
+ };
1726
+ next: {
1727
+ bondIdMatch: boolean;
1728
+ currencyMatch: boolean;
1729
+ controllerMatch: boolean;
1730
+ principalInvariantValid: boolean;
1731
+ };
1732
+ transition: {
1733
+ issuanceIdMatch: boolean;
1734
+ bondIdMatch: boolean;
1735
+ currencyMatch: boolean;
1736
+ controllerMatch: boolean;
1737
+ issuerEntityMatch: boolean;
1738
+ issuedPrincipalMatch: boolean;
1739
+ previousStateHashMatch: boolean;
1740
+ redemptionArithmeticValid: boolean;
1741
+ statusProgressionValid: boolean;
1742
+ };
1743
+ };
1744
+ };
1745
+ };
1746
+ machineVerification: {
1747
+ artifact: SimplicityArtifact;
1748
+ definition: import("../core/types").DefinitionVerificationResult;
1749
+ issuance: import("../core/types").StateVerificationResult;
1750
+ expectedPayload: {
1751
+ nextStateContractAddress: string;
1752
+ nextStateContractAddressHash: string;
1753
+ bondId: string;
1754
+ issuanceId: string;
1755
+ definitionHash: string;
1756
+ previousStateHash: string;
1757
+ nextStateHash: string;
1758
+ previousStatus: import("../core/types").BondIssuanceStatus;
1759
+ nextStatus: import("../core/types").BondIssuanceStatus;
1760
+ previousStatusCode: number;
1761
+ nextStatusCode: number;
1762
+ transitionKind: import("../core/types").BondTransitionType | null;
1763
+ redeemAmount: number | null;
1764
+ transitionAt: string | null;
1765
+ principal: {
1766
+ issued: number;
1767
+ previousOutstanding: number;
1768
+ nextOutstanding: number;
1769
+ previousRedeemed: number;
1770
+ nextRedeemed: number;
1771
+ outstandingDelta: number;
1772
+ redeemedDelta: number;
1773
+ };
1774
+ crossChecks: {
1775
+ previous: {
1776
+ bondIdMatch: boolean;
1777
+ currencyMatch: boolean;
1778
+ controllerMatch: boolean;
1779
+ principalInvariantValid: boolean;
1780
+ };
1781
+ next: {
1782
+ bondIdMatch: boolean;
1783
+ currencyMatch: boolean;
1784
+ controllerMatch: boolean;
1785
+ principalInvariantValid: boolean;
1786
+ };
1787
+ transition: {
1788
+ issuanceIdMatch: boolean;
1789
+ bondIdMatch: boolean;
1790
+ currencyMatch: boolean;
1791
+ controllerMatch: boolean;
1792
+ issuerEntityMatch: boolean;
1793
+ issuedPrincipalMatch: boolean;
1794
+ previousStateHashMatch: boolean;
1795
+ redemptionArithmeticValid: boolean;
1796
+ statusProgressionValid: boolean;
1797
+ };
1798
+ };
1799
+ };
1800
+ expectedSettlementDescriptor: BondSettlementDescriptor;
1801
+ expectedSettlementDescriptorHash: string;
1802
+ expectedNextContractAddress: string;
1803
+ expectedNextContractAddressHash: string;
1804
+ committed: {
1805
+ previousStateHash: string;
1806
+ redeemAmount256: string;
1807
+ transitionKind256: string;
1808
+ redeemAmount32: string;
1809
+ previousStatus32: string;
1810
+ nextStatus32: string;
1811
+ previousOutstanding32: string;
1812
+ previousRedeemed32: string;
1813
+ nextOutstanding32: string;
1814
+ nextRedeemed32: string;
1815
+ nextContractAddressHash256: string;
1816
+ settlementDescriptorHash256: string;
1817
+ };
1818
+ checks: {
1819
+ previousStateHashCommitted: boolean;
1820
+ redeemAmountCommitted: boolean;
1821
+ transitionKindCommitted: boolean;
1822
+ statusCodesCommitted: boolean;
1823
+ principalArithmeticCommitted: boolean;
1824
+ nextContractAddressCommitted: boolean;
1825
+ settlementDescriptorCommitted: boolean;
1826
+ };
1827
+ verified: boolean;
1828
+ };
1829
+ nextContractAddress: string;
1830
+ transitionPayload: {
1831
+ transitionKind: "REDEEM";
1832
+ redeemAmount: number;
1833
+ previousStatusCode: number;
1834
+ nextStatusCode: number;
1835
+ contractAddress: string;
1836
+ cmr: string;
1837
+ anchorModes: {
1838
+ definition: string;
1839
+ state: string;
1840
+ };
1841
+ nextStateContractAddress: string;
1842
+ nextStateContractAddressHash: string;
1843
+ settlementDescriptor: BondSettlementDescriptor;
1844
+ settlementDescriptorHash: string;
1845
+ bondId: string;
1846
+ issuanceId: string;
1847
+ definitionHash: string;
1848
+ previousStateHash: string;
1849
+ nextStateHash: string;
1850
+ previousStatus: import("../core/types").BondIssuanceStatus;
1851
+ nextStatus: import("../core/types").BondIssuanceStatus;
1852
+ transitionAt: string | null;
1853
+ principal: {
1854
+ issued: number;
1855
+ previousOutstanding: number;
1856
+ nextOutstanding: number;
1857
+ previousRedeemed: number;
1858
+ nextRedeemed: number;
1859
+ outstandingDelta: number;
1860
+ redeemedDelta: number;
1861
+ };
1862
+ crossChecks: {
1863
+ previous: {
1864
+ bondIdMatch: boolean;
1865
+ currencyMatch: boolean;
1866
+ controllerMatch: boolean;
1867
+ principalInvariantValid: boolean;
1868
+ };
1869
+ next: {
1870
+ bondIdMatch: boolean;
1871
+ currencyMatch: boolean;
1872
+ controllerMatch: boolean;
1873
+ principalInvariantValid: boolean;
1874
+ };
1875
+ transition: {
1876
+ issuanceIdMatch: boolean;
1877
+ bondIdMatch: boolean;
1878
+ currencyMatch: boolean;
1879
+ controllerMatch: boolean;
1880
+ issuerEntityMatch: boolean;
1881
+ issuedPrincipalMatch: boolean;
1882
+ previousStateHashMatch: boolean;
1883
+ redemptionArithmeticValid: boolean;
1884
+ statusProgressionValid: boolean;
1885
+ };
1886
+ };
1887
+ };
1888
+ };
1889
+ execution: import("../core/types").ExecuteResult;
1890
+ }>;
1891
+ export declare function executeBondMachineSettlement(sdk: SimplicityClient, input: {
1892
+ currentMachineArtifactPath?: string;
1893
+ currentMachineArtifact?: SimplicityArtifact;
1894
+ definitionPath?: string;
1895
+ definitionValue?: BondDefinition;
1896
+ previousIssuancePath?: string;
1897
+ previousIssuanceValue?: BondIssuanceState;
1898
+ nextIssuancePath?: string;
1899
+ nextIssuanceValue?: BondIssuanceState;
1900
+ nextSimfPath?: string;
1901
+ nextArtifactPath?: string;
1902
+ wallet: string;
1903
+ signer: {
1904
+ type: "schnorrPrivkeyHex";
1905
+ privkeyHex: string;
1906
+ };
1907
+ feeSat?: number;
1908
+ utxoPolicy?: "smallest_over" | "largest" | "newest";
1909
+ broadcast?: boolean;
1910
+ }): Promise<{
1911
+ plan: {
1912
+ currentMachineArtifact: SimplicityArtifact;
1913
+ machineVerification: {
1914
+ artifact: SimplicityArtifact;
1915
+ definition: import("../core/types").DefinitionVerificationResult;
1916
+ issuance: import("../core/types").StateVerificationResult;
1917
+ expectedPayload: {
1918
+ nextStateContractAddress: string;
1919
+ nextStateContractAddressHash: string;
1920
+ bondId: string;
1921
+ issuanceId: string;
1922
+ definitionHash: string;
1923
+ previousStateHash: string;
1924
+ nextStateHash: string;
1925
+ previousStatus: import("../core/types").BondIssuanceStatus;
1926
+ nextStatus: import("../core/types").BondIssuanceStatus;
1927
+ previousStatusCode: number;
1928
+ nextStatusCode: number;
1929
+ transitionKind: import("../core/types").BondTransitionType | null;
1930
+ redeemAmount: number | null;
1931
+ transitionAt: string | null;
1932
+ principal: {
1933
+ issued: number;
1934
+ previousOutstanding: number;
1935
+ nextOutstanding: number;
1936
+ previousRedeemed: number;
1937
+ nextRedeemed: number;
1938
+ outstandingDelta: number;
1939
+ redeemedDelta: number;
1940
+ };
1941
+ crossChecks: {
1942
+ previous: {
1943
+ bondIdMatch: boolean;
1944
+ currencyMatch: boolean;
1945
+ controllerMatch: boolean;
1946
+ principalInvariantValid: boolean;
1947
+ };
1948
+ next: {
1949
+ bondIdMatch: boolean;
1950
+ currencyMatch: boolean;
1951
+ controllerMatch: boolean;
1952
+ principalInvariantValid: boolean;
1953
+ };
1954
+ transition: {
1955
+ issuanceIdMatch: boolean;
1956
+ bondIdMatch: boolean;
1957
+ currencyMatch: boolean;
1958
+ controllerMatch: boolean;
1959
+ issuerEntityMatch: boolean;
1960
+ issuedPrincipalMatch: boolean;
1961
+ previousStateHashMatch: boolean;
1962
+ redemptionArithmeticValid: boolean;
1963
+ statusProgressionValid: boolean;
1964
+ };
1965
+ };
1966
+ };
1967
+ expectedSettlementDescriptor: BondSettlementDescriptor;
1968
+ expectedSettlementDescriptorHash: string;
1969
+ expectedNextContractAddress: string;
1970
+ expectedNextContractAddressHash: string;
1971
+ committed: {
1972
+ previousStateHash: string;
1973
+ redeemAmount256: string;
1974
+ transitionKind256: string;
1975
+ redeemAmount32: string;
1976
+ previousStatus32: string;
1977
+ nextStatus32: string;
1978
+ previousOutstanding32: string;
1979
+ previousRedeemed32: string;
1980
+ nextOutstanding32: string;
1981
+ nextRedeemed32: string;
1982
+ nextContractAddressHash256: string;
1983
+ settlementDescriptorHash256: string;
1984
+ };
1985
+ checks: {
1986
+ previousStateHashCommitted: boolean;
1987
+ redeemAmountCommitted: boolean;
1988
+ transitionKindCommitted: boolean;
1989
+ statusCodesCommitted: boolean;
1990
+ principalArithmeticCommitted: boolean;
1991
+ nextContractAddressCommitted: boolean;
1992
+ settlementDescriptorCommitted: boolean;
1993
+ };
1994
+ verified: boolean;
1995
+ };
1996
+ nextCompiled: import("..").CompiledContract;
1997
+ nextContractAddress: string;
1998
+ transitionPayload: {
1999
+ nextStateContractAddress: string;
2000
+ nextStateContractAddressHash: string;
2001
+ bondId: string;
2002
+ issuanceId: string;
2003
+ definitionHash: string;
2004
+ previousStateHash: string;
2005
+ nextStateHash: string;
2006
+ previousStatus: import("../core/types").BondIssuanceStatus;
2007
+ nextStatus: import("../core/types").BondIssuanceStatus;
2008
+ previousStatusCode: number;
2009
+ nextStatusCode: number;
2010
+ transitionKind: import("../core/types").BondTransitionType | null;
2011
+ redeemAmount: number | null;
2012
+ transitionAt: string | null;
2013
+ principal: {
2014
+ issued: number;
2015
+ previousOutstanding: number;
2016
+ nextOutstanding: number;
2017
+ previousRedeemed: number;
2018
+ nextRedeemed: number;
2019
+ outstandingDelta: number;
2020
+ redeemedDelta: number;
2021
+ };
2022
+ crossChecks: {
2023
+ previous: {
2024
+ bondIdMatch: boolean;
2025
+ currencyMatch: boolean;
2026
+ controllerMatch: boolean;
2027
+ principalInvariantValid: boolean;
2028
+ };
2029
+ next: {
2030
+ bondIdMatch: boolean;
2031
+ currencyMatch: boolean;
2032
+ controllerMatch: boolean;
2033
+ principalInvariantValid: boolean;
2034
+ };
2035
+ transition: {
2036
+ issuanceIdMatch: boolean;
2037
+ bondIdMatch: boolean;
2038
+ currencyMatch: boolean;
2039
+ controllerMatch: boolean;
2040
+ issuerEntityMatch: boolean;
2041
+ issuedPrincipalMatch: boolean;
2042
+ previousStateHashMatch: boolean;
2043
+ redemptionArithmeticValid: boolean;
2044
+ statusProgressionValid: boolean;
2045
+ };
2046
+ };
2047
+ };
2048
+ nextContractAddressMatchesMachineCommitment: boolean;
2049
+ };
2050
+ execution: import("../core/types").ExecuteResult;
2051
+ }>;