@hardkas/artifacts 0.8.20-alpha → 0.9.1-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { ArtifactType, NetworkId, ExecutionMode, ContentHash, WorkflowId, ArtifactId, LineageId, EventSequence, TxId, KaspaAddress, CorruptionCode, CorruptionSeverity, EventEnvelope, RuntimeContext } from '@hardkas/core';
1
+ import { HardkasSchema, HardkasSchemas, ArtifactType, NetworkId, ExecutionMode, ContentHash, WorkflowId, ArtifactId, LineageId, EventSequence, TxId, KaspaAddress, CorruptionCode, CorruptionSeverity, EventEnvelope, RuntimeContext } from '@hardkas/core';
2
+ export { ArtifactType, ArtifactTypes, HardkasSchema, HardkasSchemas, SchemaMetadata, assertKnownArtifactType, describeArtifactType, isKnownArtifactType } from '@hardkas/core';
2
3
  import { z } from 'zod';
3
4
  import { TxOutput, Utxo, TxPlan as TxPlan$1 } from '@hardkas/tx-builder';
4
5
 
@@ -18,8 +19,22 @@ declare const ARTIFACT_SCHEMAS: {
18
19
  readonly NETWORK_PROFILE: "hardkas.networkProfile.v1";
19
20
  readonly ASSUMPTION: "hardkas.assumption.v1";
20
21
  readonly MIGRATION_RECEIPT: "hardkas.migrationReceipt.v1";
22
+ readonly SILVER_COMPILE: "hardkas.silver.compile";
23
+ readonly SILVER_TEST: "hardkas.silver.test";
24
+ readonly SILVER_DEPLOY_PLAN: "hardkas.silver.deployPlan";
25
+ readonly SILVER_DEPLOY: "hardkas.silver.deploy";
26
+ readonly SILVER_SPEND_PLAN: "hardkas.silver.spendPlan";
27
+ readonly SILVER_SPEND_RECEIPT: "hardkas.silver.spendReceipt";
28
+ readonly SILVER_DEPLOY_SIMULATION: "hardkas.silver.deploySimulation";
29
+ readonly SILVER_SPEND_SIMULATION: "hardkas.silver.spendSimulation";
30
+ readonly PROGRAMMABILITY_CAPABILITIES: "hardkas.programmability.capabilities.v1";
31
+ readonly PROGRAMMABILITY_INSPECT: "hardkas.programmability.inspect.v1";
32
+ readonly PROGRAMMABILITY_VERIFY: "hardkas.programmability.verify.v1";
33
+ readonly PROGRAMMABILITY_CORPUS_REPORT: "hardkas.programmability.corpusReport.v1";
34
+ readonly PROGRAMMABILITY_APP_PLAN: "hardkas.programmability.appPlan.v1";
35
+ readonly TOCCATA_PROGRAMMABILITY_CORPUS: "hardkas.toccataProgrammabilityCorpus.v1";
21
36
  };
22
- type HardkasArtifactSchema = (typeof ARTIFACT_SCHEMAS)[keyof typeof ARTIFACT_SCHEMAS] | string;
37
+ type HardkasArtifactSchema = HardkasSchema | string;
23
38
  type HardkasArtifactMode = "simulated" | "node" | "rpc" | "l2-rpc" | "real";
24
39
 
25
40
  declare const ARTIFACT_VERSION = "1.0.0-alpha";
@@ -2469,6 +2484,2030 @@ declare const RuntimeSessionSchema: z.ZodObject<{
2469
2484
  parentSessionId?: string | undefined;
2470
2485
  }>;
2471
2486
  type RuntimeSession = z.infer<typeof RuntimeSessionSchema>;
2487
+ declare const SilverCompileArtifactSchema: z.ZodObject<{
2488
+ schemaVersion: z.ZodOptional<z.ZodString>;
2489
+ hardkasVersion: z.ZodString;
2490
+ version: z.ZodLiteral<"1.0.0-alpha">;
2491
+ hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2492
+ networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
2493
+ mode: z.ZodEnum<["simulated", "real", "readonly"]>;
2494
+ contentHash: z.ZodOptional<z.ZodString>;
2495
+ createdAt: z.ZodString;
2496
+ lineage: z.ZodOptional<z.ZodObject<{
2497
+ artifactId: z.ZodString;
2498
+ lineageId: z.ZodString;
2499
+ parentArtifactId: z.ZodOptional<z.ZodString>;
2500
+ rootArtifactId: z.ZodString;
2501
+ sequence: z.ZodOptional<z.ZodNumber>;
2502
+ }, "strip", z.ZodTypeAny, {
2503
+ artifactId: string;
2504
+ lineageId: string;
2505
+ rootArtifactId: string;
2506
+ parentArtifactId?: string | undefined;
2507
+ sequence?: number | undefined;
2508
+ }, {
2509
+ artifactId: string;
2510
+ lineageId: string;
2511
+ rootArtifactId: string;
2512
+ parentArtifactId?: string | undefined;
2513
+ sequence?: number | undefined;
2514
+ }>>;
2515
+ parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2516
+ lineageDepth: z.ZodOptional<z.ZodNumber>;
2517
+ workflowId: z.ZodOptional<z.ZodString>;
2518
+ assumptionLevel: z.ZodOptional<z.ZodString>;
2519
+ scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
2520
+ scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
2521
+ scriptMetadata: z.ZodOptional<z.ZodObject<{
2522
+ language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
2523
+ version: z.ZodOptional<z.ZodString>;
2524
+ experimental: z.ZodBoolean;
2525
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2526
+ consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
2527
+ }, "strip", z.ZodTypeAny, {
2528
+ experimental: boolean;
2529
+ language?: "native" | "silverscript" | "tockata" | undefined;
2530
+ version?: string | undefined;
2531
+ notes?: string[] | undefined;
2532
+ consensusImpact?: "experimental" | "none" | undefined;
2533
+ }, {
2534
+ experimental: boolean;
2535
+ language?: "native" | "silverscript" | "tockata" | undefined;
2536
+ version?: string | undefined;
2537
+ notes?: string[] | undefined;
2538
+ consensusImpact?: "experimental" | "none" | undefined;
2539
+ }>>;
2540
+ } & {
2541
+ schema: z.ZodLiteral<"hardkas.silver.compile">;
2542
+ sourcePath: z.ZodString;
2543
+ sourceHash: z.ZodString;
2544
+ compilerName: z.ZodString;
2545
+ compilerVersion: z.ZodString;
2546
+ compilerCommand: z.ZodString;
2547
+ compiledScriptHex: z.ZodString;
2548
+ compiledScriptHash: z.ZodString;
2549
+ abi: z.ZodOptional<z.ZodAny>;
2550
+ network: z.ZodString;
2551
+ assumptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2552
+ }, "strip", z.ZodTypeAny, {
2553
+ version: "1.0.0-alpha";
2554
+ schema: "hardkas.silver.compile";
2555
+ hardkasVersion: string;
2556
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
2557
+ mode: "simulated" | "real" | "readonly";
2558
+ createdAt: string;
2559
+ network: string;
2560
+ sourcePath: string;
2561
+ sourceHash: string;
2562
+ compilerName: string;
2563
+ compilerVersion: string;
2564
+ compilerCommand: string;
2565
+ compiledScriptHex: string;
2566
+ compiledScriptHash: string;
2567
+ schemaVersion?: string | undefined;
2568
+ hashVersion?: string | number | undefined;
2569
+ contentHash?: string | undefined;
2570
+ lineage?: {
2571
+ artifactId: string;
2572
+ lineageId: string;
2573
+ rootArtifactId: string;
2574
+ parentArtifactId?: string | undefined;
2575
+ sequence?: number | undefined;
2576
+ } | undefined;
2577
+ parents?: string[] | undefined;
2578
+ lineageDepth?: number | undefined;
2579
+ workflowId?: string | undefined;
2580
+ assumptionLevel?: string | undefined;
2581
+ scriptProfile?: "experimental" | "standard" | undefined;
2582
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
2583
+ scriptMetadata?: {
2584
+ experimental: boolean;
2585
+ language?: "native" | "silverscript" | "tockata" | undefined;
2586
+ version?: string | undefined;
2587
+ notes?: string[] | undefined;
2588
+ consensusImpact?: "experimental" | "none" | undefined;
2589
+ } | undefined;
2590
+ abi?: any;
2591
+ assumptions?: string[] | undefined;
2592
+ }, {
2593
+ version: "1.0.0-alpha";
2594
+ schema: "hardkas.silver.compile";
2595
+ hardkasVersion: string;
2596
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
2597
+ mode: "simulated" | "real" | "readonly";
2598
+ createdAt: string;
2599
+ network: string;
2600
+ sourcePath: string;
2601
+ sourceHash: string;
2602
+ compilerName: string;
2603
+ compilerVersion: string;
2604
+ compilerCommand: string;
2605
+ compiledScriptHex: string;
2606
+ compiledScriptHash: string;
2607
+ schemaVersion?: string | undefined;
2608
+ hashVersion?: string | number | undefined;
2609
+ contentHash?: string | undefined;
2610
+ lineage?: {
2611
+ artifactId: string;
2612
+ lineageId: string;
2613
+ rootArtifactId: string;
2614
+ parentArtifactId?: string | undefined;
2615
+ sequence?: number | undefined;
2616
+ } | undefined;
2617
+ parents?: string[] | undefined;
2618
+ lineageDepth?: number | undefined;
2619
+ workflowId?: string | undefined;
2620
+ assumptionLevel?: string | undefined;
2621
+ scriptProfile?: "experimental" | "standard" | undefined;
2622
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
2623
+ scriptMetadata?: {
2624
+ experimental: boolean;
2625
+ language?: "native" | "silverscript" | "tockata" | undefined;
2626
+ version?: string | undefined;
2627
+ notes?: string[] | undefined;
2628
+ consensusImpact?: "experimental" | "none" | undefined;
2629
+ } | undefined;
2630
+ abi?: any;
2631
+ assumptions?: string[] | undefined;
2632
+ }>;
2633
+ declare const SilverDeployPlanArtifactSchema: z.ZodObject<{
2634
+ schemaVersion: z.ZodOptional<z.ZodString>;
2635
+ hardkasVersion: z.ZodString;
2636
+ version: z.ZodLiteral<"1.0.0-alpha">;
2637
+ hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2638
+ mode: z.ZodEnum<["simulated", "real", "readonly"]>;
2639
+ contentHash: z.ZodOptional<z.ZodString>;
2640
+ createdAt: z.ZodString;
2641
+ lineage: z.ZodOptional<z.ZodObject<{
2642
+ artifactId: z.ZodString;
2643
+ lineageId: z.ZodString;
2644
+ parentArtifactId: z.ZodOptional<z.ZodString>;
2645
+ rootArtifactId: z.ZodString;
2646
+ sequence: z.ZodOptional<z.ZodNumber>;
2647
+ }, "strip", z.ZodTypeAny, {
2648
+ artifactId: string;
2649
+ lineageId: string;
2650
+ rootArtifactId: string;
2651
+ parentArtifactId?: string | undefined;
2652
+ sequence?: number | undefined;
2653
+ }, {
2654
+ artifactId: string;
2655
+ lineageId: string;
2656
+ rootArtifactId: string;
2657
+ parentArtifactId?: string | undefined;
2658
+ sequence?: number | undefined;
2659
+ }>>;
2660
+ parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2661
+ lineageDepth: z.ZodOptional<z.ZodNumber>;
2662
+ workflowId: z.ZodOptional<z.ZodString>;
2663
+ assumptionLevel: z.ZodOptional<z.ZodString>;
2664
+ scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
2665
+ scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
2666
+ scriptMetadata: z.ZodOptional<z.ZodObject<{
2667
+ language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
2668
+ version: z.ZodOptional<z.ZodString>;
2669
+ experimental: z.ZodBoolean;
2670
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2671
+ consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
2672
+ }, "strip", z.ZodTypeAny, {
2673
+ experimental: boolean;
2674
+ language?: "native" | "silverscript" | "tockata" | undefined;
2675
+ version?: string | undefined;
2676
+ notes?: string[] | undefined;
2677
+ consensusImpact?: "experimental" | "none" | undefined;
2678
+ }, {
2679
+ experimental: boolean;
2680
+ language?: "native" | "silverscript" | "tockata" | undefined;
2681
+ version?: string | undefined;
2682
+ notes?: string[] | undefined;
2683
+ consensusImpact?: "experimental" | "none" | undefined;
2684
+ }>>;
2685
+ } & {
2686
+ schema: z.ZodLiteral<"hardkas.silver.deployPlan">;
2687
+ compileArtifactHash: z.ZodString;
2688
+ compiledScriptHash: z.ZodString;
2689
+ redeemScriptHex: z.ZodString;
2690
+ redeemScriptHash: z.ZodString;
2691
+ lockingScriptHex: z.ZodString;
2692
+ scriptPublicKeyVersion: z.ZodNumber;
2693
+ amountSompi: z.ZodString;
2694
+ networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
2695
+ deployerAddress: z.ZodString;
2696
+ }, "strip", z.ZodTypeAny, {
2697
+ version: "1.0.0-alpha";
2698
+ schema: "hardkas.silver.deployPlan";
2699
+ hardkasVersion: string;
2700
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
2701
+ mode: "simulated" | "real" | "readonly";
2702
+ createdAt: string;
2703
+ amountSompi: string;
2704
+ compiledScriptHash: string;
2705
+ compileArtifactHash: string;
2706
+ redeemScriptHex: string;
2707
+ redeemScriptHash: string;
2708
+ lockingScriptHex: string;
2709
+ scriptPublicKeyVersion: number;
2710
+ deployerAddress: string;
2711
+ schemaVersion?: string | undefined;
2712
+ hashVersion?: string | number | undefined;
2713
+ contentHash?: string | undefined;
2714
+ lineage?: {
2715
+ artifactId: string;
2716
+ lineageId: string;
2717
+ rootArtifactId: string;
2718
+ parentArtifactId?: string | undefined;
2719
+ sequence?: number | undefined;
2720
+ } | undefined;
2721
+ parents?: string[] | undefined;
2722
+ lineageDepth?: number | undefined;
2723
+ workflowId?: string | undefined;
2724
+ assumptionLevel?: string | undefined;
2725
+ scriptProfile?: "experimental" | "standard" | undefined;
2726
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
2727
+ scriptMetadata?: {
2728
+ experimental: boolean;
2729
+ language?: "native" | "silverscript" | "tockata" | undefined;
2730
+ version?: string | undefined;
2731
+ notes?: string[] | undefined;
2732
+ consensusImpact?: "experimental" | "none" | undefined;
2733
+ } | undefined;
2734
+ }, {
2735
+ version: "1.0.0-alpha";
2736
+ schema: "hardkas.silver.deployPlan";
2737
+ hardkasVersion: string;
2738
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
2739
+ mode: "simulated" | "real" | "readonly";
2740
+ createdAt: string;
2741
+ amountSompi: string;
2742
+ compiledScriptHash: string;
2743
+ compileArtifactHash: string;
2744
+ redeemScriptHex: string;
2745
+ redeemScriptHash: string;
2746
+ lockingScriptHex: string;
2747
+ scriptPublicKeyVersion: number;
2748
+ deployerAddress: string;
2749
+ schemaVersion?: string | undefined;
2750
+ hashVersion?: string | number | undefined;
2751
+ contentHash?: string | undefined;
2752
+ lineage?: {
2753
+ artifactId: string;
2754
+ lineageId: string;
2755
+ rootArtifactId: string;
2756
+ parentArtifactId?: string | undefined;
2757
+ sequence?: number | undefined;
2758
+ } | undefined;
2759
+ parents?: string[] | undefined;
2760
+ lineageDepth?: number | undefined;
2761
+ workflowId?: string | undefined;
2762
+ assumptionLevel?: string | undefined;
2763
+ scriptProfile?: "experimental" | "standard" | undefined;
2764
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
2765
+ scriptMetadata?: {
2766
+ experimental: boolean;
2767
+ language?: "native" | "silverscript" | "tockata" | undefined;
2768
+ version?: string | undefined;
2769
+ notes?: string[] | undefined;
2770
+ consensusImpact?: "experimental" | "none" | undefined;
2771
+ } | undefined;
2772
+ }>;
2773
+ declare const SilverDeployArtifactSchema: z.ZodObject<{
2774
+ schemaVersion: z.ZodOptional<z.ZodString>;
2775
+ hardkasVersion: z.ZodString;
2776
+ version: z.ZodLiteral<"1.0.0-alpha">;
2777
+ hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2778
+ mode: z.ZodEnum<["simulated", "real", "readonly"]>;
2779
+ contentHash: z.ZodOptional<z.ZodString>;
2780
+ createdAt: z.ZodString;
2781
+ lineage: z.ZodOptional<z.ZodObject<{
2782
+ artifactId: z.ZodString;
2783
+ lineageId: z.ZodString;
2784
+ parentArtifactId: z.ZodOptional<z.ZodString>;
2785
+ rootArtifactId: z.ZodString;
2786
+ sequence: z.ZodOptional<z.ZodNumber>;
2787
+ }, "strip", z.ZodTypeAny, {
2788
+ artifactId: string;
2789
+ lineageId: string;
2790
+ rootArtifactId: string;
2791
+ parentArtifactId?: string | undefined;
2792
+ sequence?: number | undefined;
2793
+ }, {
2794
+ artifactId: string;
2795
+ lineageId: string;
2796
+ rootArtifactId: string;
2797
+ parentArtifactId?: string | undefined;
2798
+ sequence?: number | undefined;
2799
+ }>>;
2800
+ parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2801
+ lineageDepth: z.ZodOptional<z.ZodNumber>;
2802
+ workflowId: z.ZodOptional<z.ZodString>;
2803
+ assumptionLevel: z.ZodOptional<z.ZodString>;
2804
+ scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
2805
+ scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
2806
+ scriptMetadata: z.ZodOptional<z.ZodObject<{
2807
+ language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
2808
+ version: z.ZodOptional<z.ZodString>;
2809
+ experimental: z.ZodBoolean;
2810
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2811
+ consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
2812
+ }, "strip", z.ZodTypeAny, {
2813
+ experimental: boolean;
2814
+ language?: "native" | "silverscript" | "tockata" | undefined;
2815
+ version?: string | undefined;
2816
+ notes?: string[] | undefined;
2817
+ consensusImpact?: "experimental" | "none" | undefined;
2818
+ }, {
2819
+ experimental: boolean;
2820
+ language?: "native" | "silverscript" | "tockata" | undefined;
2821
+ version?: string | undefined;
2822
+ notes?: string[] | undefined;
2823
+ consensusImpact?: "experimental" | "none" | undefined;
2824
+ }>>;
2825
+ } & {
2826
+ schema: z.ZodLiteral<"hardkas.silver.deploy">;
2827
+ deployPlanHash: z.ZodString;
2828
+ compileArtifactHash: z.ZodString;
2829
+ compiledScriptHash: z.ZodString;
2830
+ redeemScriptHex: z.ZodString;
2831
+ redeemScriptHash: z.ZodString;
2832
+ lockingScriptHex: z.ZodString;
2833
+ scriptPublicKeyVersion: z.ZodNumber;
2834
+ deployTxId: z.ZodString;
2835
+ outputIndex: z.ZodNumber;
2836
+ amountSompi: z.ZodString;
2837
+ networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
2838
+ nodeVersion: z.ZodString;
2839
+ }, "strip", z.ZodTypeAny, {
2840
+ version: "1.0.0-alpha";
2841
+ schema: "hardkas.silver.deploy";
2842
+ hardkasVersion: string;
2843
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
2844
+ mode: "simulated" | "real" | "readonly";
2845
+ createdAt: string;
2846
+ amountSompi: string;
2847
+ compiledScriptHash: string;
2848
+ compileArtifactHash: string;
2849
+ redeemScriptHex: string;
2850
+ redeemScriptHash: string;
2851
+ lockingScriptHex: string;
2852
+ scriptPublicKeyVersion: number;
2853
+ deployPlanHash: string;
2854
+ deployTxId: string;
2855
+ outputIndex: number;
2856
+ nodeVersion: string;
2857
+ schemaVersion?: string | undefined;
2858
+ hashVersion?: string | number | undefined;
2859
+ contentHash?: string | undefined;
2860
+ lineage?: {
2861
+ artifactId: string;
2862
+ lineageId: string;
2863
+ rootArtifactId: string;
2864
+ parentArtifactId?: string | undefined;
2865
+ sequence?: number | undefined;
2866
+ } | undefined;
2867
+ parents?: string[] | undefined;
2868
+ lineageDepth?: number | undefined;
2869
+ workflowId?: string | undefined;
2870
+ assumptionLevel?: string | undefined;
2871
+ scriptProfile?: "experimental" | "standard" | undefined;
2872
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
2873
+ scriptMetadata?: {
2874
+ experimental: boolean;
2875
+ language?: "native" | "silverscript" | "tockata" | undefined;
2876
+ version?: string | undefined;
2877
+ notes?: string[] | undefined;
2878
+ consensusImpact?: "experimental" | "none" | undefined;
2879
+ } | undefined;
2880
+ }, {
2881
+ version: "1.0.0-alpha";
2882
+ schema: "hardkas.silver.deploy";
2883
+ hardkasVersion: string;
2884
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
2885
+ mode: "simulated" | "real" | "readonly";
2886
+ createdAt: string;
2887
+ amountSompi: string;
2888
+ compiledScriptHash: string;
2889
+ compileArtifactHash: string;
2890
+ redeemScriptHex: string;
2891
+ redeemScriptHash: string;
2892
+ lockingScriptHex: string;
2893
+ scriptPublicKeyVersion: number;
2894
+ deployPlanHash: string;
2895
+ deployTxId: string;
2896
+ outputIndex: number;
2897
+ nodeVersion: string;
2898
+ schemaVersion?: string | undefined;
2899
+ hashVersion?: string | number | undefined;
2900
+ contentHash?: string | undefined;
2901
+ lineage?: {
2902
+ artifactId: string;
2903
+ lineageId: string;
2904
+ rootArtifactId: string;
2905
+ parentArtifactId?: string | undefined;
2906
+ sequence?: number | undefined;
2907
+ } | undefined;
2908
+ parents?: string[] | undefined;
2909
+ lineageDepth?: number | undefined;
2910
+ workflowId?: string | undefined;
2911
+ assumptionLevel?: string | undefined;
2912
+ scriptProfile?: "experimental" | "standard" | undefined;
2913
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
2914
+ scriptMetadata?: {
2915
+ experimental: boolean;
2916
+ language?: "native" | "silverscript" | "tockata" | undefined;
2917
+ version?: string | undefined;
2918
+ notes?: string[] | undefined;
2919
+ consensusImpact?: "experimental" | "none" | undefined;
2920
+ } | undefined;
2921
+ }>;
2922
+ declare const SilverScriptArgSchema: z.ZodObject<{
2923
+ type: z.ZodLiteral<"hex">;
2924
+ value: z.ZodString;
2925
+ }, "strip", z.ZodTypeAny, {
2926
+ type: "hex";
2927
+ value: string;
2928
+ }, {
2929
+ type: "hex";
2930
+ value: string;
2931
+ }>;
2932
+ declare const SilverSpendPlanArtifactSchema: z.ZodObject<{
2933
+ schemaVersion: z.ZodOptional<z.ZodString>;
2934
+ hardkasVersion: z.ZodString;
2935
+ version: z.ZodLiteral<"1.0.0-alpha">;
2936
+ hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2937
+ mode: z.ZodEnum<["simulated", "real", "readonly"]>;
2938
+ contentHash: z.ZodOptional<z.ZodString>;
2939
+ createdAt: z.ZodString;
2940
+ lineage: z.ZodOptional<z.ZodObject<{
2941
+ artifactId: z.ZodString;
2942
+ lineageId: z.ZodString;
2943
+ parentArtifactId: z.ZodOptional<z.ZodString>;
2944
+ rootArtifactId: z.ZodString;
2945
+ sequence: z.ZodOptional<z.ZodNumber>;
2946
+ }, "strip", z.ZodTypeAny, {
2947
+ artifactId: string;
2948
+ lineageId: string;
2949
+ rootArtifactId: string;
2950
+ parentArtifactId?: string | undefined;
2951
+ sequence?: number | undefined;
2952
+ }, {
2953
+ artifactId: string;
2954
+ lineageId: string;
2955
+ rootArtifactId: string;
2956
+ parentArtifactId?: string | undefined;
2957
+ sequence?: number | undefined;
2958
+ }>>;
2959
+ parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2960
+ lineageDepth: z.ZodOptional<z.ZodNumber>;
2961
+ workflowId: z.ZodOptional<z.ZodString>;
2962
+ scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
2963
+ scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
2964
+ scriptMetadata: z.ZodOptional<z.ZodObject<{
2965
+ language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
2966
+ version: z.ZodOptional<z.ZodString>;
2967
+ experimental: z.ZodBoolean;
2968
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2969
+ consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
2970
+ }, "strip", z.ZodTypeAny, {
2971
+ experimental: boolean;
2972
+ language?: "native" | "silverscript" | "tockata" | undefined;
2973
+ version?: string | undefined;
2974
+ notes?: string[] | undefined;
2975
+ consensusImpact?: "experimental" | "none" | undefined;
2976
+ }, {
2977
+ experimental: boolean;
2978
+ language?: "native" | "silverscript" | "tockata" | undefined;
2979
+ version?: string | undefined;
2980
+ notes?: string[] | undefined;
2981
+ consensusImpact?: "experimental" | "none" | undefined;
2982
+ }>>;
2983
+ } & {
2984
+ schema: z.ZodLiteral<"hardkas.silver.spendPlan">;
2985
+ deployArtifactHash: z.ZodString;
2986
+ compileArtifactHash: z.ZodString;
2987
+ redeemScriptHash: z.ZodString;
2988
+ lockingScriptHex: z.ZodString;
2989
+ contractUtxoRef: z.ZodObject<{
2990
+ transactionId: z.ZodString;
2991
+ index: z.ZodNumber;
2992
+ }, "strip", z.ZodTypeAny, {
2993
+ transactionId: string;
2994
+ index: number;
2995
+ }, {
2996
+ transactionId: string;
2997
+ index: number;
2998
+ }>;
2999
+ args: z.ZodArray<z.ZodObject<{
3000
+ type: z.ZodLiteral<"hex">;
3001
+ value: z.ZodString;
3002
+ }, "strip", z.ZodTypeAny, {
3003
+ type: "hex";
3004
+ value: string;
3005
+ }, {
3006
+ type: "hex";
3007
+ value: string;
3008
+ }>, "many">;
3009
+ argsHash: z.ZodString;
3010
+ signatureScriptHex: z.ZodString;
3011
+ expectedOutputs: z.ZodArray<z.ZodObject<{
3012
+ address: z.ZodString;
3013
+ amountSompi: z.ZodString;
3014
+ scriptHash: z.ZodOptional<z.ZodString>;
3015
+ }, "strip", z.ZodTypeAny, {
3016
+ address: string;
3017
+ amountSompi: string;
3018
+ scriptHash?: string | undefined;
3019
+ }, {
3020
+ address: string;
3021
+ amountSompi: string;
3022
+ scriptHash?: string | undefined;
3023
+ }>, "many">;
3024
+ networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
3025
+ assumptionLevel: z.ZodOptional<z.ZodString>;
3026
+ }, "strip", z.ZodTypeAny, {
3027
+ version: "1.0.0-alpha";
3028
+ schema: "hardkas.silver.spendPlan";
3029
+ hardkasVersion: string;
3030
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
3031
+ mode: "simulated" | "real" | "readonly";
3032
+ createdAt: string;
3033
+ compileArtifactHash: string;
3034
+ redeemScriptHash: string;
3035
+ lockingScriptHex: string;
3036
+ deployArtifactHash: string;
3037
+ contractUtxoRef: {
3038
+ transactionId: string;
3039
+ index: number;
3040
+ };
3041
+ args: {
3042
+ type: "hex";
3043
+ value: string;
3044
+ }[];
3045
+ argsHash: string;
3046
+ signatureScriptHex: string;
3047
+ expectedOutputs: {
3048
+ address: string;
3049
+ amountSompi: string;
3050
+ scriptHash?: string | undefined;
3051
+ }[];
3052
+ schemaVersion?: string | undefined;
3053
+ hashVersion?: string | number | undefined;
3054
+ contentHash?: string | undefined;
3055
+ lineage?: {
3056
+ artifactId: string;
3057
+ lineageId: string;
3058
+ rootArtifactId: string;
3059
+ parentArtifactId?: string | undefined;
3060
+ sequence?: number | undefined;
3061
+ } | undefined;
3062
+ parents?: string[] | undefined;
3063
+ lineageDepth?: number | undefined;
3064
+ workflowId?: string | undefined;
3065
+ assumptionLevel?: string | undefined;
3066
+ scriptProfile?: "experimental" | "standard" | undefined;
3067
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
3068
+ scriptMetadata?: {
3069
+ experimental: boolean;
3070
+ language?: "native" | "silverscript" | "tockata" | undefined;
3071
+ version?: string | undefined;
3072
+ notes?: string[] | undefined;
3073
+ consensusImpact?: "experimental" | "none" | undefined;
3074
+ } | undefined;
3075
+ }, {
3076
+ version: "1.0.0-alpha";
3077
+ schema: "hardkas.silver.spendPlan";
3078
+ hardkasVersion: string;
3079
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
3080
+ mode: "simulated" | "real" | "readonly";
3081
+ createdAt: string;
3082
+ compileArtifactHash: string;
3083
+ redeemScriptHash: string;
3084
+ lockingScriptHex: string;
3085
+ deployArtifactHash: string;
3086
+ contractUtxoRef: {
3087
+ transactionId: string;
3088
+ index: number;
3089
+ };
3090
+ args: {
3091
+ type: "hex";
3092
+ value: string;
3093
+ }[];
3094
+ argsHash: string;
3095
+ signatureScriptHex: string;
3096
+ expectedOutputs: {
3097
+ address: string;
3098
+ amountSompi: string;
3099
+ scriptHash?: string | undefined;
3100
+ }[];
3101
+ schemaVersion?: string | undefined;
3102
+ hashVersion?: string | number | undefined;
3103
+ contentHash?: string | undefined;
3104
+ lineage?: {
3105
+ artifactId: string;
3106
+ lineageId: string;
3107
+ rootArtifactId: string;
3108
+ parentArtifactId?: string | undefined;
3109
+ sequence?: number | undefined;
3110
+ } | undefined;
3111
+ parents?: string[] | undefined;
3112
+ lineageDepth?: number | undefined;
3113
+ workflowId?: string | undefined;
3114
+ assumptionLevel?: string | undefined;
3115
+ scriptProfile?: "experimental" | "standard" | undefined;
3116
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
3117
+ scriptMetadata?: {
3118
+ experimental: boolean;
3119
+ language?: "native" | "silverscript" | "tockata" | undefined;
3120
+ version?: string | undefined;
3121
+ notes?: string[] | undefined;
3122
+ consensusImpact?: "experimental" | "none" | undefined;
3123
+ } | undefined;
3124
+ }>;
3125
+ declare const SilverSpendReceiptArtifactSchema: z.ZodObject<{
3126
+ schemaVersion: z.ZodOptional<z.ZodString>;
3127
+ hardkasVersion: z.ZodString;
3128
+ version: z.ZodLiteral<"1.0.0-alpha">;
3129
+ hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3130
+ networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
3131
+ mode: z.ZodEnum<["simulated", "real", "readonly"]>;
3132
+ contentHash: z.ZodOptional<z.ZodString>;
3133
+ createdAt: z.ZodString;
3134
+ lineage: z.ZodOptional<z.ZodObject<{
3135
+ artifactId: z.ZodString;
3136
+ lineageId: z.ZodString;
3137
+ parentArtifactId: z.ZodOptional<z.ZodString>;
3138
+ rootArtifactId: z.ZodString;
3139
+ sequence: z.ZodOptional<z.ZodNumber>;
3140
+ }, "strip", z.ZodTypeAny, {
3141
+ artifactId: string;
3142
+ lineageId: string;
3143
+ rootArtifactId: string;
3144
+ parentArtifactId?: string | undefined;
3145
+ sequence?: number | undefined;
3146
+ }, {
3147
+ artifactId: string;
3148
+ lineageId: string;
3149
+ rootArtifactId: string;
3150
+ parentArtifactId?: string | undefined;
3151
+ sequence?: number | undefined;
3152
+ }>>;
3153
+ parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3154
+ lineageDepth: z.ZodOptional<z.ZodNumber>;
3155
+ workflowId: z.ZodOptional<z.ZodString>;
3156
+ assumptionLevel: z.ZodOptional<z.ZodString>;
3157
+ scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
3158
+ scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
3159
+ scriptMetadata: z.ZodOptional<z.ZodObject<{
3160
+ language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
3161
+ version: z.ZodOptional<z.ZodString>;
3162
+ experimental: z.ZodBoolean;
3163
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3164
+ consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
3165
+ }, "strip", z.ZodTypeAny, {
3166
+ experimental: boolean;
3167
+ language?: "native" | "silverscript" | "tockata" | undefined;
3168
+ version?: string | undefined;
3169
+ notes?: string[] | undefined;
3170
+ consensusImpact?: "experimental" | "none" | undefined;
3171
+ }, {
3172
+ experimental: boolean;
3173
+ language?: "native" | "silverscript" | "tockata" | undefined;
3174
+ version?: string | undefined;
3175
+ notes?: string[] | undefined;
3176
+ consensusImpact?: "experimental" | "none" | undefined;
3177
+ }>>;
3178
+ } & {
3179
+ schema: z.ZodLiteral<"hardkas.silver.spendReceipt">;
3180
+ spendPlanHash: z.ZodString;
3181
+ deployArtifactHash: z.ZodOptional<z.ZodString>;
3182
+ redeemScriptHash: z.ZodOptional<z.ZodString>;
3183
+ lockingScriptHex: z.ZodOptional<z.ZodString>;
3184
+ signatureScriptHex: z.ZodOptional<z.ZodString>;
3185
+ spentOutpoint: z.ZodOptional<z.ZodObject<{
3186
+ transactionId: z.ZodString;
3187
+ index: z.ZodNumber;
3188
+ }, "strip", z.ZodTypeAny, {
3189
+ transactionId: string;
3190
+ index: number;
3191
+ }, {
3192
+ transactionId: string;
3193
+ index: number;
3194
+ }>>;
3195
+ expectedOutputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
3196
+ address: z.ZodString;
3197
+ amountSompi: z.ZodString;
3198
+ scriptHash: z.ZodOptional<z.ZodString>;
3199
+ }, "strip", z.ZodTypeAny, {
3200
+ address: string;
3201
+ amountSompi: string;
3202
+ scriptHash?: string | undefined;
3203
+ }, {
3204
+ address: string;
3205
+ amountSompi: string;
3206
+ scriptHash?: string | undefined;
3207
+ }>, "many">>;
3208
+ txId: z.ZodString;
3209
+ status: z.ZodEnum<["simulated", "submitted", "accepted", "rejected"]>;
3210
+ }, "strip", z.ZodTypeAny, {
3211
+ status: "simulated" | "submitted" | "accepted" | "rejected";
3212
+ version: "1.0.0-alpha";
3213
+ schema: "hardkas.silver.spendReceipt";
3214
+ hardkasVersion: string;
3215
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
3216
+ mode: "simulated" | "real" | "readonly";
3217
+ createdAt: string;
3218
+ txId: string;
3219
+ spendPlanHash: string;
3220
+ schemaVersion?: string | undefined;
3221
+ hashVersion?: string | number | undefined;
3222
+ contentHash?: string | undefined;
3223
+ lineage?: {
3224
+ artifactId: string;
3225
+ lineageId: string;
3226
+ rootArtifactId: string;
3227
+ parentArtifactId?: string | undefined;
3228
+ sequence?: number | undefined;
3229
+ } | undefined;
3230
+ parents?: string[] | undefined;
3231
+ lineageDepth?: number | undefined;
3232
+ workflowId?: string | undefined;
3233
+ assumptionLevel?: string | undefined;
3234
+ scriptProfile?: "experimental" | "standard" | undefined;
3235
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
3236
+ scriptMetadata?: {
3237
+ experimental: boolean;
3238
+ language?: "native" | "silverscript" | "tockata" | undefined;
3239
+ version?: string | undefined;
3240
+ notes?: string[] | undefined;
3241
+ consensusImpact?: "experimental" | "none" | undefined;
3242
+ } | undefined;
3243
+ redeemScriptHash?: string | undefined;
3244
+ lockingScriptHex?: string | undefined;
3245
+ deployArtifactHash?: string | undefined;
3246
+ signatureScriptHex?: string | undefined;
3247
+ expectedOutputs?: {
3248
+ address: string;
3249
+ amountSompi: string;
3250
+ scriptHash?: string | undefined;
3251
+ }[] | undefined;
3252
+ spentOutpoint?: {
3253
+ transactionId: string;
3254
+ index: number;
3255
+ } | undefined;
3256
+ }, {
3257
+ status: "simulated" | "submitted" | "accepted" | "rejected";
3258
+ version: "1.0.0-alpha";
3259
+ schema: "hardkas.silver.spendReceipt";
3260
+ hardkasVersion: string;
3261
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
3262
+ mode: "simulated" | "real" | "readonly";
3263
+ createdAt: string;
3264
+ txId: string;
3265
+ spendPlanHash: string;
3266
+ schemaVersion?: string | undefined;
3267
+ hashVersion?: string | number | undefined;
3268
+ contentHash?: string | undefined;
3269
+ lineage?: {
3270
+ artifactId: string;
3271
+ lineageId: string;
3272
+ rootArtifactId: string;
3273
+ parentArtifactId?: string | undefined;
3274
+ sequence?: number | undefined;
3275
+ } | undefined;
3276
+ parents?: string[] | undefined;
3277
+ lineageDepth?: number | undefined;
3278
+ workflowId?: string | undefined;
3279
+ assumptionLevel?: string | undefined;
3280
+ scriptProfile?: "experimental" | "standard" | undefined;
3281
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
3282
+ scriptMetadata?: {
3283
+ experimental: boolean;
3284
+ language?: "native" | "silverscript" | "tockata" | undefined;
3285
+ version?: string | undefined;
3286
+ notes?: string[] | undefined;
3287
+ consensusImpact?: "experimental" | "none" | undefined;
3288
+ } | undefined;
3289
+ redeemScriptHash?: string | undefined;
3290
+ lockingScriptHex?: string | undefined;
3291
+ deployArtifactHash?: string | undefined;
3292
+ signatureScriptHex?: string | undefined;
3293
+ expectedOutputs?: {
3294
+ address: string;
3295
+ amountSompi: string;
3296
+ scriptHash?: string | undefined;
3297
+ }[] | undefined;
3298
+ spentOutpoint?: {
3299
+ transactionId: string;
3300
+ index: number;
3301
+ } | undefined;
3302
+ }>;
3303
+ declare const SilverDeploySimulationArtifactSchema: z.ZodObject<{
3304
+ schemaVersion: z.ZodOptional<z.ZodString>;
3305
+ hardkasVersion: z.ZodString;
3306
+ version: z.ZodLiteral<"1.0.0-alpha">;
3307
+ hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3308
+ networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
3309
+ mode: z.ZodEnum<["simulated", "real", "readonly"]>;
3310
+ contentHash: z.ZodOptional<z.ZodString>;
3311
+ createdAt: z.ZodString;
3312
+ lineage: z.ZodOptional<z.ZodObject<{
3313
+ artifactId: z.ZodString;
3314
+ lineageId: z.ZodString;
3315
+ parentArtifactId: z.ZodOptional<z.ZodString>;
3316
+ rootArtifactId: z.ZodString;
3317
+ sequence: z.ZodOptional<z.ZodNumber>;
3318
+ }, "strip", z.ZodTypeAny, {
3319
+ artifactId: string;
3320
+ lineageId: string;
3321
+ rootArtifactId: string;
3322
+ parentArtifactId?: string | undefined;
3323
+ sequence?: number | undefined;
3324
+ }, {
3325
+ artifactId: string;
3326
+ lineageId: string;
3327
+ rootArtifactId: string;
3328
+ parentArtifactId?: string | undefined;
3329
+ sequence?: number | undefined;
3330
+ }>>;
3331
+ parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3332
+ lineageDepth: z.ZodOptional<z.ZodNumber>;
3333
+ workflowId: z.ZodOptional<z.ZodString>;
3334
+ assumptionLevel: z.ZodOptional<z.ZodString>;
3335
+ scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
3336
+ scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
3337
+ scriptMetadata: z.ZodOptional<z.ZodObject<{
3338
+ language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
3339
+ version: z.ZodOptional<z.ZodString>;
3340
+ experimental: z.ZodBoolean;
3341
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3342
+ consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
3343
+ }, "strip", z.ZodTypeAny, {
3344
+ experimental: boolean;
3345
+ language?: "native" | "silverscript" | "tockata" | undefined;
3346
+ version?: string | undefined;
3347
+ notes?: string[] | undefined;
3348
+ consensusImpact?: "experimental" | "none" | undefined;
3349
+ }, {
3350
+ experimental: boolean;
3351
+ language?: "native" | "silverscript" | "tockata" | undefined;
3352
+ version?: string | undefined;
3353
+ notes?: string[] | undefined;
3354
+ consensusImpact?: "experimental" | "none" | undefined;
3355
+ }>>;
3356
+ } & {
3357
+ schema: z.ZodLiteral<"hardkas.silver.deploySimulation">;
3358
+ deployPlanHash: z.ZodString;
3359
+ compileArtifactHash: z.ZodString;
3360
+ compiledScriptHash: z.ZodString;
3361
+ redeemScriptHex: z.ZodString;
3362
+ redeemScriptHash: z.ZodString;
3363
+ lockingScriptHex: z.ZodString;
3364
+ scriptPublicKeyVersion: z.ZodLiteral<0>;
3365
+ simulatedDeployTxId: z.ZodString;
3366
+ syntheticOutpoint: z.ZodObject<{
3367
+ transactionId: z.ZodString;
3368
+ index: z.ZodNumber;
3369
+ }, "strip", z.ZodTypeAny, {
3370
+ transactionId: string;
3371
+ index: number;
3372
+ }, {
3373
+ transactionId: string;
3374
+ index: number;
3375
+ }>;
3376
+ amountSompi: z.ZodString;
3377
+ feeSompi: z.ZodString;
3378
+ status: z.ZodLiteral<"SIMULATED_ACCEPTED">;
3379
+ }, "strip", z.ZodTypeAny, {
3380
+ status: "SIMULATED_ACCEPTED";
3381
+ version: "1.0.0-alpha";
3382
+ schema: "hardkas.silver.deploySimulation";
3383
+ hardkasVersion: string;
3384
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
3385
+ mode: "simulated" | "real" | "readonly";
3386
+ createdAt: string;
3387
+ amountSompi: string;
3388
+ feeSompi: string;
3389
+ compiledScriptHash: string;
3390
+ compileArtifactHash: string;
3391
+ redeemScriptHex: string;
3392
+ redeemScriptHash: string;
3393
+ lockingScriptHex: string;
3394
+ scriptPublicKeyVersion: 0;
3395
+ deployPlanHash: string;
3396
+ simulatedDeployTxId: string;
3397
+ syntheticOutpoint: {
3398
+ transactionId: string;
3399
+ index: number;
3400
+ };
3401
+ schemaVersion?: string | undefined;
3402
+ hashVersion?: string | number | undefined;
3403
+ contentHash?: string | undefined;
3404
+ lineage?: {
3405
+ artifactId: string;
3406
+ lineageId: string;
3407
+ rootArtifactId: string;
3408
+ parentArtifactId?: string | undefined;
3409
+ sequence?: number | undefined;
3410
+ } | undefined;
3411
+ parents?: string[] | undefined;
3412
+ lineageDepth?: number | undefined;
3413
+ workflowId?: string | undefined;
3414
+ assumptionLevel?: string | undefined;
3415
+ scriptProfile?: "experimental" | "standard" | undefined;
3416
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
3417
+ scriptMetadata?: {
3418
+ experimental: boolean;
3419
+ language?: "native" | "silverscript" | "tockata" | undefined;
3420
+ version?: string | undefined;
3421
+ notes?: string[] | undefined;
3422
+ consensusImpact?: "experimental" | "none" | undefined;
3423
+ } | undefined;
3424
+ }, {
3425
+ status: "SIMULATED_ACCEPTED";
3426
+ version: "1.0.0-alpha";
3427
+ schema: "hardkas.silver.deploySimulation";
3428
+ hardkasVersion: string;
3429
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
3430
+ mode: "simulated" | "real" | "readonly";
3431
+ createdAt: string;
3432
+ amountSompi: string;
3433
+ feeSompi: string;
3434
+ compiledScriptHash: string;
3435
+ compileArtifactHash: string;
3436
+ redeemScriptHex: string;
3437
+ redeemScriptHash: string;
3438
+ lockingScriptHex: string;
3439
+ scriptPublicKeyVersion: 0;
3440
+ deployPlanHash: string;
3441
+ simulatedDeployTxId: string;
3442
+ syntheticOutpoint: {
3443
+ transactionId: string;
3444
+ index: number;
3445
+ };
3446
+ schemaVersion?: string | undefined;
3447
+ hashVersion?: string | number | undefined;
3448
+ contentHash?: string | undefined;
3449
+ lineage?: {
3450
+ artifactId: string;
3451
+ lineageId: string;
3452
+ rootArtifactId: string;
3453
+ parentArtifactId?: string | undefined;
3454
+ sequence?: number | undefined;
3455
+ } | undefined;
3456
+ parents?: string[] | undefined;
3457
+ lineageDepth?: number | undefined;
3458
+ workflowId?: string | undefined;
3459
+ assumptionLevel?: string | undefined;
3460
+ scriptProfile?: "experimental" | "standard" | undefined;
3461
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
3462
+ scriptMetadata?: {
3463
+ experimental: boolean;
3464
+ language?: "native" | "silverscript" | "tockata" | undefined;
3465
+ version?: string | undefined;
3466
+ notes?: string[] | undefined;
3467
+ consensusImpact?: "experimental" | "none" | undefined;
3468
+ } | undefined;
3469
+ }>;
3470
+ declare const SilverSpendSimulationArtifactSchema: z.ZodObject<{
3471
+ schemaVersion: z.ZodOptional<z.ZodString>;
3472
+ hardkasVersion: z.ZodString;
3473
+ version: z.ZodLiteral<"1.0.0-alpha">;
3474
+ hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3475
+ networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
3476
+ mode: z.ZodEnum<["simulated", "real", "readonly"]>;
3477
+ contentHash: z.ZodOptional<z.ZodString>;
3478
+ createdAt: z.ZodString;
3479
+ lineage: z.ZodOptional<z.ZodObject<{
3480
+ artifactId: z.ZodString;
3481
+ lineageId: z.ZodString;
3482
+ parentArtifactId: z.ZodOptional<z.ZodString>;
3483
+ rootArtifactId: z.ZodString;
3484
+ sequence: z.ZodOptional<z.ZodNumber>;
3485
+ }, "strip", z.ZodTypeAny, {
3486
+ artifactId: string;
3487
+ lineageId: string;
3488
+ rootArtifactId: string;
3489
+ parentArtifactId?: string | undefined;
3490
+ sequence?: number | undefined;
3491
+ }, {
3492
+ artifactId: string;
3493
+ lineageId: string;
3494
+ rootArtifactId: string;
3495
+ parentArtifactId?: string | undefined;
3496
+ sequence?: number | undefined;
3497
+ }>>;
3498
+ parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3499
+ lineageDepth: z.ZodOptional<z.ZodNumber>;
3500
+ workflowId: z.ZodOptional<z.ZodString>;
3501
+ assumptionLevel: z.ZodOptional<z.ZodString>;
3502
+ scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
3503
+ scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
3504
+ scriptMetadata: z.ZodOptional<z.ZodObject<{
3505
+ language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
3506
+ version: z.ZodOptional<z.ZodString>;
3507
+ experimental: z.ZodBoolean;
3508
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3509
+ consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
3510
+ }, "strip", z.ZodTypeAny, {
3511
+ experimental: boolean;
3512
+ language?: "native" | "silverscript" | "tockata" | undefined;
3513
+ version?: string | undefined;
3514
+ notes?: string[] | undefined;
3515
+ consensusImpact?: "experimental" | "none" | undefined;
3516
+ }, {
3517
+ experimental: boolean;
3518
+ language?: "native" | "silverscript" | "tockata" | undefined;
3519
+ version?: string | undefined;
3520
+ notes?: string[] | undefined;
3521
+ consensusImpact?: "experimental" | "none" | undefined;
3522
+ }>>;
3523
+ } & {
3524
+ schema: z.ZodLiteral<"hardkas.silver.spendSimulation">;
3525
+ deploySimulationHash: z.ZodString;
3526
+ spendPlanHash: z.ZodString;
3527
+ redeemScriptHash: z.ZodString;
3528
+ lockingScriptHex: z.ZodString;
3529
+ signatureScriptHex: z.ZodString;
3530
+ simulatedSpendTxId: z.ZodString;
3531
+ spentOutpoint: z.ZodObject<{
3532
+ transactionId: z.ZodString;
3533
+ index: z.ZodNumber;
3534
+ }, "strip", z.ZodTypeAny, {
3535
+ transactionId: string;
3536
+ index: number;
3537
+ }, {
3538
+ transactionId: string;
3539
+ index: number;
3540
+ }>;
3541
+ expectedOutputs: z.ZodArray<z.ZodObject<{
3542
+ address: z.ZodString;
3543
+ amountSompi: z.ZodString;
3544
+ scriptHash: z.ZodOptional<z.ZodString>;
3545
+ }, "strip", z.ZodTypeAny, {
3546
+ address: string;
3547
+ amountSompi: string;
3548
+ scriptHash?: string | undefined;
3549
+ }, {
3550
+ address: string;
3551
+ amountSompi: string;
3552
+ scriptHash?: string | undefined;
3553
+ }>, "many">;
3554
+ feeSompi: z.ZodString;
3555
+ status: z.ZodLiteral<"SIMULATED_ACCEPTED">;
3556
+ }, "strip", z.ZodTypeAny, {
3557
+ status: "SIMULATED_ACCEPTED";
3558
+ version: "1.0.0-alpha";
3559
+ schema: "hardkas.silver.spendSimulation";
3560
+ hardkasVersion: string;
3561
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
3562
+ mode: "simulated" | "real" | "readonly";
3563
+ createdAt: string;
3564
+ feeSompi: string;
3565
+ redeemScriptHash: string;
3566
+ lockingScriptHex: string;
3567
+ signatureScriptHex: string;
3568
+ expectedOutputs: {
3569
+ address: string;
3570
+ amountSompi: string;
3571
+ scriptHash?: string | undefined;
3572
+ }[];
3573
+ spendPlanHash: string;
3574
+ spentOutpoint: {
3575
+ transactionId: string;
3576
+ index: number;
3577
+ };
3578
+ deploySimulationHash: string;
3579
+ simulatedSpendTxId: string;
3580
+ schemaVersion?: string | undefined;
3581
+ hashVersion?: string | number | undefined;
3582
+ contentHash?: string | undefined;
3583
+ lineage?: {
3584
+ artifactId: string;
3585
+ lineageId: string;
3586
+ rootArtifactId: string;
3587
+ parentArtifactId?: string | undefined;
3588
+ sequence?: number | undefined;
3589
+ } | undefined;
3590
+ parents?: string[] | undefined;
3591
+ lineageDepth?: number | undefined;
3592
+ workflowId?: string | undefined;
3593
+ assumptionLevel?: string | undefined;
3594
+ scriptProfile?: "experimental" | "standard" | undefined;
3595
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
3596
+ scriptMetadata?: {
3597
+ experimental: boolean;
3598
+ language?: "native" | "silverscript" | "tockata" | undefined;
3599
+ version?: string | undefined;
3600
+ notes?: string[] | undefined;
3601
+ consensusImpact?: "experimental" | "none" | undefined;
3602
+ } | undefined;
3603
+ }, {
3604
+ status: "SIMULATED_ACCEPTED";
3605
+ version: "1.0.0-alpha";
3606
+ schema: "hardkas.silver.spendSimulation";
3607
+ hardkasVersion: string;
3608
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
3609
+ mode: "simulated" | "real" | "readonly";
3610
+ createdAt: string;
3611
+ feeSompi: string;
3612
+ redeemScriptHash: string;
3613
+ lockingScriptHex: string;
3614
+ signatureScriptHex: string;
3615
+ expectedOutputs: {
3616
+ address: string;
3617
+ amountSompi: string;
3618
+ scriptHash?: string | undefined;
3619
+ }[];
3620
+ spendPlanHash: string;
3621
+ spentOutpoint: {
3622
+ transactionId: string;
3623
+ index: number;
3624
+ };
3625
+ deploySimulationHash: string;
3626
+ simulatedSpendTxId: string;
3627
+ schemaVersion?: string | undefined;
3628
+ hashVersion?: string | number | undefined;
3629
+ contentHash?: string | undefined;
3630
+ lineage?: {
3631
+ artifactId: string;
3632
+ lineageId: string;
3633
+ rootArtifactId: string;
3634
+ parentArtifactId?: string | undefined;
3635
+ sequence?: number | undefined;
3636
+ } | undefined;
3637
+ parents?: string[] | undefined;
3638
+ lineageDepth?: number | undefined;
3639
+ workflowId?: string | undefined;
3640
+ assumptionLevel?: string | undefined;
3641
+ scriptProfile?: "experimental" | "standard" | undefined;
3642
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
3643
+ scriptMetadata?: {
3644
+ experimental: boolean;
3645
+ language?: "native" | "silverscript" | "tockata" | undefined;
3646
+ version?: string | undefined;
3647
+ notes?: string[] | undefined;
3648
+ consensusImpact?: "experimental" | "none" | undefined;
3649
+ } | undefined;
3650
+ }>;
3651
+ declare const SilverTestArtifactSchema: z.ZodObject<{
3652
+ schemaVersion: z.ZodOptional<z.ZodString>;
3653
+ hardkasVersion: z.ZodString;
3654
+ version: z.ZodLiteral<"1.0.0-alpha">;
3655
+ hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3656
+ networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
3657
+ mode: z.ZodEnum<["simulated", "real", "readonly"]>;
3658
+ contentHash: z.ZodOptional<z.ZodString>;
3659
+ createdAt: z.ZodString;
3660
+ lineage: z.ZodOptional<z.ZodObject<{
3661
+ artifactId: z.ZodString;
3662
+ lineageId: z.ZodString;
3663
+ parentArtifactId: z.ZodOptional<z.ZodString>;
3664
+ rootArtifactId: z.ZodString;
3665
+ sequence: z.ZodOptional<z.ZodNumber>;
3666
+ }, "strip", z.ZodTypeAny, {
3667
+ artifactId: string;
3668
+ lineageId: string;
3669
+ rootArtifactId: string;
3670
+ parentArtifactId?: string | undefined;
3671
+ sequence?: number | undefined;
3672
+ }, {
3673
+ artifactId: string;
3674
+ lineageId: string;
3675
+ rootArtifactId: string;
3676
+ parentArtifactId?: string | undefined;
3677
+ sequence?: number | undefined;
3678
+ }>>;
3679
+ parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3680
+ lineageDepth: z.ZodOptional<z.ZodNumber>;
3681
+ workflowId: z.ZodOptional<z.ZodString>;
3682
+ assumptionLevel: z.ZodOptional<z.ZodString>;
3683
+ scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
3684
+ scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
3685
+ scriptMetadata: z.ZodOptional<z.ZodObject<{
3686
+ language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
3687
+ version: z.ZodOptional<z.ZodString>;
3688
+ experimental: z.ZodBoolean;
3689
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3690
+ consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
3691
+ }, "strip", z.ZodTypeAny, {
3692
+ experimental: boolean;
3693
+ language?: "native" | "silverscript" | "tockata" | undefined;
3694
+ version?: string | undefined;
3695
+ notes?: string[] | undefined;
3696
+ consensusImpact?: "experimental" | "none" | undefined;
3697
+ }, {
3698
+ experimental: boolean;
3699
+ language?: "native" | "silverscript" | "tockata" | undefined;
3700
+ version?: string | undefined;
3701
+ notes?: string[] | undefined;
3702
+ consensusImpact?: "experimental" | "none" | undefined;
3703
+ }>>;
3704
+ } & {
3705
+ schema: z.ZodLiteral<"hardkas.silver.test">;
3706
+ compileArtifactHash: z.ZodString;
3707
+ sourceHash: z.ZodString;
3708
+ compiledScriptHash: z.ZodString;
3709
+ testVectorsHash: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3710
+ compilerName: z.ZodString;
3711
+ compilerVersion: z.ZodString;
3712
+ results: z.ZodArray<z.ZodObject<{
3713
+ name: z.ZodString;
3714
+ status: z.ZodEnum<["PASS", "FAIL", "SKIPPED", "EXPECTED_COMPILER_FAILURE", "PARTIAL_TEST_VECTOR_SUPPORT"]>;
3715
+ reason: z.ZodOptional<z.ZodString>;
3716
+ }, "strip", z.ZodTypeAny, {
3717
+ status: "PASS" | "FAIL" | "SKIPPED" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
3718
+ name: string;
3719
+ reason?: string | undefined;
3720
+ }, {
3721
+ status: "PASS" | "FAIL" | "SKIPPED" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
3722
+ name: string;
3723
+ reason?: string | undefined;
3724
+ }>, "many">;
3725
+ status: z.ZodEnum<["PASS", "FAIL", "PARTIAL_TEST_VECTOR_SUPPORT", "EXPECTED_COMPILER_FAILURE"]>;
3726
+ }, "strip", z.ZodTypeAny, {
3727
+ status: "PASS" | "FAIL" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
3728
+ version: "1.0.0-alpha";
3729
+ schema: "hardkas.silver.test";
3730
+ hardkasVersion: string;
3731
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
3732
+ mode: "simulated" | "real" | "readonly";
3733
+ createdAt: string;
3734
+ sourceHash: string;
3735
+ compilerName: string;
3736
+ compilerVersion: string;
3737
+ compiledScriptHash: string;
3738
+ compileArtifactHash: string;
3739
+ results: {
3740
+ status: "PASS" | "FAIL" | "SKIPPED" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
3741
+ name: string;
3742
+ reason?: string | undefined;
3743
+ }[];
3744
+ schemaVersion?: string | undefined;
3745
+ hashVersion?: string | number | undefined;
3746
+ contentHash?: string | undefined;
3747
+ lineage?: {
3748
+ artifactId: string;
3749
+ lineageId: string;
3750
+ rootArtifactId: string;
3751
+ parentArtifactId?: string | undefined;
3752
+ sequence?: number | undefined;
3753
+ } | undefined;
3754
+ parents?: string[] | undefined;
3755
+ lineageDepth?: number | undefined;
3756
+ workflowId?: string | undefined;
3757
+ assumptionLevel?: string | undefined;
3758
+ scriptProfile?: "experimental" | "standard" | undefined;
3759
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
3760
+ scriptMetadata?: {
3761
+ experimental: boolean;
3762
+ language?: "native" | "silverscript" | "tockata" | undefined;
3763
+ version?: string | undefined;
3764
+ notes?: string[] | undefined;
3765
+ consensusImpact?: "experimental" | "none" | undefined;
3766
+ } | undefined;
3767
+ testVectorsHash?: string | null | undefined;
3768
+ }, {
3769
+ status: "PASS" | "FAIL" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
3770
+ version: "1.0.0-alpha";
3771
+ schema: "hardkas.silver.test";
3772
+ hardkasVersion: string;
3773
+ networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
3774
+ mode: "simulated" | "real" | "readonly";
3775
+ createdAt: string;
3776
+ sourceHash: string;
3777
+ compilerName: string;
3778
+ compilerVersion: string;
3779
+ compiledScriptHash: string;
3780
+ compileArtifactHash: string;
3781
+ results: {
3782
+ status: "PASS" | "FAIL" | "SKIPPED" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
3783
+ name: string;
3784
+ reason?: string | undefined;
3785
+ }[];
3786
+ schemaVersion?: string | undefined;
3787
+ hashVersion?: string | number | undefined;
3788
+ contentHash?: string | undefined;
3789
+ lineage?: {
3790
+ artifactId: string;
3791
+ lineageId: string;
3792
+ rootArtifactId: string;
3793
+ parentArtifactId?: string | undefined;
3794
+ sequence?: number | undefined;
3795
+ } | undefined;
3796
+ parents?: string[] | undefined;
3797
+ lineageDepth?: number | undefined;
3798
+ workflowId?: string | undefined;
3799
+ assumptionLevel?: string | undefined;
3800
+ scriptProfile?: "experimental" | "standard" | undefined;
3801
+ scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
3802
+ scriptMetadata?: {
3803
+ experimental: boolean;
3804
+ language?: "native" | "silverscript" | "tockata" | undefined;
3805
+ version?: string | undefined;
3806
+ notes?: string[] | undefined;
3807
+ consensusImpact?: "experimental" | "none" | undefined;
3808
+ } | undefined;
3809
+ testVectorsHash?: string | null | undefined;
3810
+ }>;
3811
+ declare const ProgrammabilityClaimsSchema: z.ZodObject<{
3812
+ artifactCoherence: z.ZodLiteral<"READY_MATCH">;
3813
+ silverScriptBuilder: z.ZodLiteral<"SILVERSCRIPT_BUILDER_READY">;
3814
+ zkCorpusSurface: z.ZodLiteral<"ZK_CORPUS_SURFACE_READY">;
3815
+ zkLocalVerification: z.ZodLiteral<"READY_GROTH16_FIXTURE_COHERENCE">;
3816
+ risc0InspectSurface: z.ZodLiteral<"RISC0_INSPECT_SURFACE_READY">;
3817
+ vProgsInspectSurface: z.ZodLiteral<"VPROGS_INSPECT_SURFACE_READY">;
3818
+ runtimeOutcome: z.ZodLiteral<"PARTIAL">;
3819
+ vmConsensusEquivalence: z.ZodLiteral<"NOT_CLAIMED">;
3820
+ zkOnchainVerification: z.ZodLiteral<"NOT_CLAIMED">;
3821
+ vProgsRuntime: z.ZodLiteral<"NOT_CLAIMED">;
3822
+ vProgsStableApi: z.ZodLiteral<"NOT_CLAIMED">;
3823
+ mainnet: z.ZodLiteral<"BLOCKED_BY_POLICY">;
3824
+ }, "strip", z.ZodTypeAny, {
3825
+ mainnet: "BLOCKED_BY_POLICY";
3826
+ artifactCoherence: "READY_MATCH";
3827
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
3828
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
3829
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
3830
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
3831
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
3832
+ runtimeOutcome: "PARTIAL";
3833
+ vmConsensusEquivalence: "NOT_CLAIMED";
3834
+ zkOnchainVerification: "NOT_CLAIMED";
3835
+ vProgsRuntime: "NOT_CLAIMED";
3836
+ vProgsStableApi: "NOT_CLAIMED";
3837
+ }, {
3838
+ mainnet: "BLOCKED_BY_POLICY";
3839
+ artifactCoherence: "READY_MATCH";
3840
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
3841
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
3842
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
3843
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
3844
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
3845
+ runtimeOutcome: "PARTIAL";
3846
+ vmConsensusEquivalence: "NOT_CLAIMED";
3847
+ zkOnchainVerification: "NOT_CLAIMED";
3848
+ vProgsRuntime: "NOT_CLAIMED";
3849
+ vProgsStableApi: "NOT_CLAIMED";
3850
+ }>;
3851
+ declare const ProgrammabilityCapabilitiesSchema: z.ZodObject<{
3852
+ schema: z.ZodLiteral<"hardkas.programmability.capabilities.v1">;
3853
+ ok: z.ZodLiteral<true>;
3854
+ status: z.ZodLiteral<"PROGRAMMABILITY_SURFACE_READY">;
3855
+ surfaces: z.ZodObject<{
3856
+ silverScript: z.ZodLiteral<"SILVERSCRIPT_BUILDER_READY">;
3857
+ zkCorpus: z.ZodLiteral<"ZK_CORPUS_SURFACE_READY">;
3858
+ groth16FixtureCoherence: z.ZodLiteral<"READY_GROTH16_FIXTURE_COHERENCE">;
3859
+ risc0Inspect: z.ZodLiteral<"RISC0_INSPECT_SURFACE_READY">;
3860
+ vProgsInspect: z.ZodLiteral<"VPROGS_INSPECT_SURFACE_READY">;
3861
+ }, "strip", z.ZodTypeAny, {
3862
+ silverScript: "SILVERSCRIPT_BUILDER_READY";
3863
+ zkCorpus: "ZK_CORPUS_SURFACE_READY";
3864
+ groth16FixtureCoherence: "READY_GROTH16_FIXTURE_COHERENCE";
3865
+ risc0Inspect: "RISC0_INSPECT_SURFACE_READY";
3866
+ vProgsInspect: "VPROGS_INSPECT_SURFACE_READY";
3867
+ }, {
3868
+ silverScript: "SILVERSCRIPT_BUILDER_READY";
3869
+ zkCorpus: "ZK_CORPUS_SURFACE_READY";
3870
+ groth16FixtureCoherence: "READY_GROTH16_FIXTURE_COHERENCE";
3871
+ risc0Inspect: "RISC0_INSPECT_SURFACE_READY";
3872
+ vProgsInspect: "VPROGS_INSPECT_SURFACE_READY";
3873
+ }>;
3874
+ claims: z.ZodObject<{
3875
+ artifactCoherence: z.ZodLiteral<"READY_MATCH">;
3876
+ silverScriptBuilder: z.ZodLiteral<"SILVERSCRIPT_BUILDER_READY">;
3877
+ zkCorpusSurface: z.ZodLiteral<"ZK_CORPUS_SURFACE_READY">;
3878
+ zkLocalVerification: z.ZodLiteral<"READY_GROTH16_FIXTURE_COHERENCE">;
3879
+ risc0InspectSurface: z.ZodLiteral<"RISC0_INSPECT_SURFACE_READY">;
3880
+ vProgsInspectSurface: z.ZodLiteral<"VPROGS_INSPECT_SURFACE_READY">;
3881
+ runtimeOutcome: z.ZodLiteral<"PARTIAL">;
3882
+ vmConsensusEquivalence: z.ZodLiteral<"NOT_CLAIMED">;
3883
+ zkOnchainVerification: z.ZodLiteral<"NOT_CLAIMED">;
3884
+ vProgsRuntime: z.ZodLiteral<"NOT_CLAIMED">;
3885
+ vProgsStableApi: z.ZodLiteral<"NOT_CLAIMED">;
3886
+ mainnet: z.ZodLiteral<"BLOCKED_BY_POLICY">;
3887
+ }, "strip", z.ZodTypeAny, {
3888
+ mainnet: "BLOCKED_BY_POLICY";
3889
+ artifactCoherence: "READY_MATCH";
3890
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
3891
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
3892
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
3893
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
3894
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
3895
+ runtimeOutcome: "PARTIAL";
3896
+ vmConsensusEquivalence: "NOT_CLAIMED";
3897
+ zkOnchainVerification: "NOT_CLAIMED";
3898
+ vProgsRuntime: "NOT_CLAIMED";
3899
+ vProgsStableApi: "NOT_CLAIMED";
3900
+ }, {
3901
+ mainnet: "BLOCKED_BY_POLICY";
3902
+ artifactCoherence: "READY_MATCH";
3903
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
3904
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
3905
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
3906
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
3907
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
3908
+ runtimeOutcome: "PARTIAL";
3909
+ vmConsensusEquivalence: "NOT_CLAIMED";
3910
+ zkOnchainVerification: "NOT_CLAIMED";
3911
+ vProgsRuntime: "NOT_CLAIMED";
3912
+ vProgsStableApi: "NOT_CLAIMED";
3913
+ }>;
3914
+ nonClaims: z.ZodArray<z.ZodString, "many">;
3915
+ }, "strip", z.ZodTypeAny, {
3916
+ status: "PROGRAMMABILITY_SURFACE_READY";
3917
+ schema: "hardkas.programmability.capabilities.v1";
3918
+ ok: true;
3919
+ surfaces: {
3920
+ silverScript: "SILVERSCRIPT_BUILDER_READY";
3921
+ zkCorpus: "ZK_CORPUS_SURFACE_READY";
3922
+ groth16FixtureCoherence: "READY_GROTH16_FIXTURE_COHERENCE";
3923
+ risc0Inspect: "RISC0_INSPECT_SURFACE_READY";
3924
+ vProgsInspect: "VPROGS_INSPECT_SURFACE_READY";
3925
+ };
3926
+ claims: {
3927
+ mainnet: "BLOCKED_BY_POLICY";
3928
+ artifactCoherence: "READY_MATCH";
3929
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
3930
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
3931
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
3932
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
3933
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
3934
+ runtimeOutcome: "PARTIAL";
3935
+ vmConsensusEquivalence: "NOT_CLAIMED";
3936
+ zkOnchainVerification: "NOT_CLAIMED";
3937
+ vProgsRuntime: "NOT_CLAIMED";
3938
+ vProgsStableApi: "NOT_CLAIMED";
3939
+ };
3940
+ nonClaims: string[];
3941
+ }, {
3942
+ status: "PROGRAMMABILITY_SURFACE_READY";
3943
+ schema: "hardkas.programmability.capabilities.v1";
3944
+ ok: true;
3945
+ surfaces: {
3946
+ silverScript: "SILVERSCRIPT_BUILDER_READY";
3947
+ zkCorpus: "ZK_CORPUS_SURFACE_READY";
3948
+ groth16FixtureCoherence: "READY_GROTH16_FIXTURE_COHERENCE";
3949
+ risc0Inspect: "RISC0_INSPECT_SURFACE_READY";
3950
+ vProgsInspect: "VPROGS_INSPECT_SURFACE_READY";
3951
+ };
3952
+ claims: {
3953
+ mainnet: "BLOCKED_BY_POLICY";
3954
+ artifactCoherence: "READY_MATCH";
3955
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
3956
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
3957
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
3958
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
3959
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
3960
+ runtimeOutcome: "PARTIAL";
3961
+ vmConsensusEquivalence: "NOT_CLAIMED";
3962
+ zkOnchainVerification: "NOT_CLAIMED";
3963
+ vProgsRuntime: "NOT_CLAIMED";
3964
+ vProgsStableApi: "NOT_CLAIMED";
3965
+ };
3966
+ nonClaims: string[];
3967
+ }>;
3968
+ declare const ProgrammabilityInspectSchema: z.ZodObject<{
3969
+ schema: z.ZodLiteral<"hardkas.programmability.inspect.v1">;
3970
+ ok: z.ZodBoolean;
3971
+ status: z.ZodEnum<["PROGRAMMABILITY_ARTIFACT_INSPECTED", "PROGRAMMABILITY_ARTIFACT_INVALID"]>;
3972
+ kind: z.ZodEnum<["silver", "zk", "vprog"]>;
3973
+ path: z.ZodString;
3974
+ artifactSchema: z.ZodOptional<z.ZodString>;
3975
+ contentHash: z.ZodOptional<z.ZodString>;
3976
+ sourceStatus: z.ZodOptional<z.ZodString>;
3977
+ claims: z.ZodObject<{
3978
+ artifactCoherence: z.ZodLiteral<"READY_MATCH">;
3979
+ silverScriptBuilder: z.ZodLiteral<"SILVERSCRIPT_BUILDER_READY">;
3980
+ zkCorpusSurface: z.ZodLiteral<"ZK_CORPUS_SURFACE_READY">;
3981
+ zkLocalVerification: z.ZodLiteral<"READY_GROTH16_FIXTURE_COHERENCE">;
3982
+ risc0InspectSurface: z.ZodLiteral<"RISC0_INSPECT_SURFACE_READY">;
3983
+ vProgsInspectSurface: z.ZodLiteral<"VPROGS_INSPECT_SURFACE_READY">;
3984
+ runtimeOutcome: z.ZodLiteral<"PARTIAL">;
3985
+ vmConsensusEquivalence: z.ZodLiteral<"NOT_CLAIMED">;
3986
+ zkOnchainVerification: z.ZodLiteral<"NOT_CLAIMED">;
3987
+ vProgsRuntime: z.ZodLiteral<"NOT_CLAIMED">;
3988
+ vProgsStableApi: z.ZodLiteral<"NOT_CLAIMED">;
3989
+ mainnet: z.ZodLiteral<"BLOCKED_BY_POLICY">;
3990
+ }, "strip", z.ZodTypeAny, {
3991
+ mainnet: "BLOCKED_BY_POLICY";
3992
+ artifactCoherence: "READY_MATCH";
3993
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
3994
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
3995
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
3996
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
3997
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
3998
+ runtimeOutcome: "PARTIAL";
3999
+ vmConsensusEquivalence: "NOT_CLAIMED";
4000
+ zkOnchainVerification: "NOT_CLAIMED";
4001
+ vProgsRuntime: "NOT_CLAIMED";
4002
+ vProgsStableApi: "NOT_CLAIMED";
4003
+ }, {
4004
+ mainnet: "BLOCKED_BY_POLICY";
4005
+ artifactCoherence: "READY_MATCH";
4006
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4007
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4008
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4009
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4010
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4011
+ runtimeOutcome: "PARTIAL";
4012
+ vmConsensusEquivalence: "NOT_CLAIMED";
4013
+ zkOnchainVerification: "NOT_CLAIMED";
4014
+ vProgsRuntime: "NOT_CLAIMED";
4015
+ vProgsStableApi: "NOT_CLAIMED";
4016
+ }>;
4017
+ issues: z.ZodArray<z.ZodObject<{
4018
+ code: z.ZodString;
4019
+ message: z.ZodString;
4020
+ file: z.ZodOptional<z.ZodString>;
4021
+ }, "strip", z.ZodTypeAny, {
4022
+ code: string;
4023
+ message: string;
4024
+ file?: string | undefined;
4025
+ }, {
4026
+ code: string;
4027
+ message: string;
4028
+ file?: string | undefined;
4029
+ }>, "many">;
4030
+ }, "strip", z.ZodTypeAny, {
4031
+ issues: {
4032
+ code: string;
4033
+ message: string;
4034
+ file?: string | undefined;
4035
+ }[];
4036
+ path: string;
4037
+ status: "PROGRAMMABILITY_ARTIFACT_INSPECTED" | "PROGRAMMABILITY_ARTIFACT_INVALID";
4038
+ schema: "hardkas.programmability.inspect.v1";
4039
+ ok: boolean;
4040
+ claims: {
4041
+ mainnet: "BLOCKED_BY_POLICY";
4042
+ artifactCoherence: "READY_MATCH";
4043
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4044
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4045
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4046
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4047
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4048
+ runtimeOutcome: "PARTIAL";
4049
+ vmConsensusEquivalence: "NOT_CLAIMED";
4050
+ zkOnchainVerification: "NOT_CLAIMED";
4051
+ vProgsRuntime: "NOT_CLAIMED";
4052
+ vProgsStableApi: "NOT_CLAIMED";
4053
+ };
4054
+ kind: "silver" | "zk" | "vprog";
4055
+ contentHash?: string | undefined;
4056
+ artifactSchema?: string | undefined;
4057
+ sourceStatus?: string | undefined;
4058
+ }, {
4059
+ issues: {
4060
+ code: string;
4061
+ message: string;
4062
+ file?: string | undefined;
4063
+ }[];
4064
+ path: string;
4065
+ status: "PROGRAMMABILITY_ARTIFACT_INSPECTED" | "PROGRAMMABILITY_ARTIFACT_INVALID";
4066
+ schema: "hardkas.programmability.inspect.v1";
4067
+ ok: boolean;
4068
+ claims: {
4069
+ mainnet: "BLOCKED_BY_POLICY";
4070
+ artifactCoherence: "READY_MATCH";
4071
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4072
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4073
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4074
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4075
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4076
+ runtimeOutcome: "PARTIAL";
4077
+ vmConsensusEquivalence: "NOT_CLAIMED";
4078
+ zkOnchainVerification: "NOT_CLAIMED";
4079
+ vProgsRuntime: "NOT_CLAIMED";
4080
+ vProgsStableApi: "NOT_CLAIMED";
4081
+ };
4082
+ kind: "silver" | "zk" | "vprog";
4083
+ contentHash?: string | undefined;
4084
+ artifactSchema?: string | undefined;
4085
+ sourceStatus?: string | undefined;
4086
+ }>;
4087
+ declare const ProgrammabilityVerifySchema: z.ZodObject<{
4088
+ schema: z.ZodLiteral<"hardkas.programmability.verify.v1">;
4089
+ ok: z.ZodBoolean;
4090
+ status: z.ZodEnum<["PROGRAMMABILITY_VERIFY_PASS", "PROGRAMMABILITY_VERIFY_FAIL", "PROGRAMMABILITY_VERIFY_PARTIAL"]>;
4091
+ kind: z.ZodEnum<["silver", "zk", "vprog"]>;
4092
+ path: z.ZodString;
4093
+ sourceStatus: z.ZodOptional<z.ZodString>;
4094
+ claims: z.ZodObject<{
4095
+ artifactCoherence: z.ZodLiteral<"READY_MATCH">;
4096
+ silverScriptBuilder: z.ZodLiteral<"SILVERSCRIPT_BUILDER_READY">;
4097
+ zkCorpusSurface: z.ZodLiteral<"ZK_CORPUS_SURFACE_READY">;
4098
+ zkLocalVerification: z.ZodLiteral<"READY_GROTH16_FIXTURE_COHERENCE">;
4099
+ risc0InspectSurface: z.ZodLiteral<"RISC0_INSPECT_SURFACE_READY">;
4100
+ vProgsInspectSurface: z.ZodLiteral<"VPROGS_INSPECT_SURFACE_READY">;
4101
+ runtimeOutcome: z.ZodLiteral<"PARTIAL">;
4102
+ vmConsensusEquivalence: z.ZodLiteral<"NOT_CLAIMED">;
4103
+ zkOnchainVerification: z.ZodLiteral<"NOT_CLAIMED">;
4104
+ vProgsRuntime: z.ZodLiteral<"NOT_CLAIMED">;
4105
+ vProgsStableApi: z.ZodLiteral<"NOT_CLAIMED">;
4106
+ mainnet: z.ZodLiteral<"BLOCKED_BY_POLICY">;
4107
+ }, "strip", z.ZodTypeAny, {
4108
+ mainnet: "BLOCKED_BY_POLICY";
4109
+ artifactCoherence: "READY_MATCH";
4110
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4111
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4112
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4113
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4114
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4115
+ runtimeOutcome: "PARTIAL";
4116
+ vmConsensusEquivalence: "NOT_CLAIMED";
4117
+ zkOnchainVerification: "NOT_CLAIMED";
4118
+ vProgsRuntime: "NOT_CLAIMED";
4119
+ vProgsStableApi: "NOT_CLAIMED";
4120
+ }, {
4121
+ mainnet: "BLOCKED_BY_POLICY";
4122
+ artifactCoherence: "READY_MATCH";
4123
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4124
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4125
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4126
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4127
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4128
+ runtimeOutcome: "PARTIAL";
4129
+ vmConsensusEquivalence: "NOT_CLAIMED";
4130
+ zkOnchainVerification: "NOT_CLAIMED";
4131
+ vProgsRuntime: "NOT_CLAIMED";
4132
+ vProgsStableApi: "NOT_CLAIMED";
4133
+ }>;
4134
+ issues: z.ZodArray<z.ZodObject<{
4135
+ code: z.ZodString;
4136
+ message: z.ZodString;
4137
+ file: z.ZodOptional<z.ZodString>;
4138
+ }, "strip", z.ZodTypeAny, {
4139
+ code: string;
4140
+ message: string;
4141
+ file?: string | undefined;
4142
+ }, {
4143
+ code: string;
4144
+ message: string;
4145
+ file?: string | undefined;
4146
+ }>, "many">;
4147
+ }, "strip", z.ZodTypeAny, {
4148
+ issues: {
4149
+ code: string;
4150
+ message: string;
4151
+ file?: string | undefined;
4152
+ }[];
4153
+ path: string;
4154
+ status: "PROGRAMMABILITY_VERIFY_PASS" | "PROGRAMMABILITY_VERIFY_FAIL" | "PROGRAMMABILITY_VERIFY_PARTIAL";
4155
+ schema: "hardkas.programmability.verify.v1";
4156
+ ok: boolean;
4157
+ claims: {
4158
+ mainnet: "BLOCKED_BY_POLICY";
4159
+ artifactCoherence: "READY_MATCH";
4160
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4161
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4162
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4163
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4164
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4165
+ runtimeOutcome: "PARTIAL";
4166
+ vmConsensusEquivalence: "NOT_CLAIMED";
4167
+ zkOnchainVerification: "NOT_CLAIMED";
4168
+ vProgsRuntime: "NOT_CLAIMED";
4169
+ vProgsStableApi: "NOT_CLAIMED";
4170
+ };
4171
+ kind: "silver" | "zk" | "vprog";
4172
+ sourceStatus?: string | undefined;
4173
+ }, {
4174
+ issues: {
4175
+ code: string;
4176
+ message: string;
4177
+ file?: string | undefined;
4178
+ }[];
4179
+ path: string;
4180
+ status: "PROGRAMMABILITY_VERIFY_PASS" | "PROGRAMMABILITY_VERIFY_FAIL" | "PROGRAMMABILITY_VERIFY_PARTIAL";
4181
+ schema: "hardkas.programmability.verify.v1";
4182
+ ok: boolean;
4183
+ claims: {
4184
+ mainnet: "BLOCKED_BY_POLICY";
4185
+ artifactCoherence: "READY_MATCH";
4186
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4187
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4188
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4189
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4190
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4191
+ runtimeOutcome: "PARTIAL";
4192
+ vmConsensusEquivalence: "NOT_CLAIMED";
4193
+ zkOnchainVerification: "NOT_CLAIMED";
4194
+ vProgsRuntime: "NOT_CLAIMED";
4195
+ vProgsStableApi: "NOT_CLAIMED";
4196
+ };
4197
+ kind: "silver" | "zk" | "vprog";
4198
+ sourceStatus?: string | undefined;
4199
+ }>;
4200
+ declare const ProgrammabilityCorpusReportSchema: z.ZodObject<{
4201
+ schema: z.ZodLiteral<"hardkas.programmability.corpusReport.v1">;
4202
+ ok: z.ZodBoolean;
4203
+ path: z.ZodString;
4204
+ status: z.ZodEnum<["PROGRAMMABILITY_CORPUS_PASS", "PROGRAMMABILITY_CORPUS_FAIL"]>;
4205
+ summary: z.ZodObject<{
4206
+ silver: z.ZodEnum<["PASS", "FAIL", "SKIPPED"]>;
4207
+ zk: z.ZodEnum<["PASS", "FAIL", "SKIPPED"]>;
4208
+ vprogs: z.ZodEnum<["PASS", "FAIL", "SKIPPED"]>;
4209
+ rootManifest: z.ZodEnum<["PASS", "FAIL"]>;
4210
+ knownLimitations: z.ZodArray<z.ZodString, "many">;
4211
+ }, "strip", z.ZodTypeAny, {
4212
+ silver: "PASS" | "FAIL" | "SKIPPED";
4213
+ zk: "PASS" | "FAIL" | "SKIPPED";
4214
+ vprogs: "PASS" | "FAIL" | "SKIPPED";
4215
+ rootManifest: "PASS" | "FAIL";
4216
+ knownLimitations: string[];
4217
+ }, {
4218
+ silver: "PASS" | "FAIL" | "SKIPPED";
4219
+ zk: "PASS" | "FAIL" | "SKIPPED";
4220
+ vprogs: "PASS" | "FAIL" | "SKIPPED";
4221
+ rootManifest: "PASS" | "FAIL";
4222
+ knownLimitations: string[];
4223
+ }>;
4224
+ claims: z.ZodObject<{
4225
+ artifactCoherence: z.ZodLiteral<"READY_MATCH">;
4226
+ silverScriptBuilder: z.ZodLiteral<"SILVERSCRIPT_BUILDER_READY">;
4227
+ zkCorpusSurface: z.ZodLiteral<"ZK_CORPUS_SURFACE_READY">;
4228
+ zkLocalVerification: z.ZodLiteral<"READY_GROTH16_FIXTURE_COHERENCE">;
4229
+ risc0InspectSurface: z.ZodLiteral<"RISC0_INSPECT_SURFACE_READY">;
4230
+ vProgsInspectSurface: z.ZodLiteral<"VPROGS_INSPECT_SURFACE_READY">;
4231
+ runtimeOutcome: z.ZodLiteral<"PARTIAL">;
4232
+ vmConsensusEquivalence: z.ZodLiteral<"NOT_CLAIMED">;
4233
+ zkOnchainVerification: z.ZodLiteral<"NOT_CLAIMED">;
4234
+ vProgsRuntime: z.ZodLiteral<"NOT_CLAIMED">;
4235
+ vProgsStableApi: z.ZodLiteral<"NOT_CLAIMED">;
4236
+ mainnet: z.ZodLiteral<"BLOCKED_BY_POLICY">;
4237
+ }, "strip", z.ZodTypeAny, {
4238
+ mainnet: "BLOCKED_BY_POLICY";
4239
+ artifactCoherence: "READY_MATCH";
4240
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4241
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4242
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4243
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4244
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4245
+ runtimeOutcome: "PARTIAL";
4246
+ vmConsensusEquivalence: "NOT_CLAIMED";
4247
+ zkOnchainVerification: "NOT_CLAIMED";
4248
+ vProgsRuntime: "NOT_CLAIMED";
4249
+ vProgsStableApi: "NOT_CLAIMED";
4250
+ }, {
4251
+ mainnet: "BLOCKED_BY_POLICY";
4252
+ artifactCoherence: "READY_MATCH";
4253
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4254
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4255
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4256
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4257
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4258
+ runtimeOutcome: "PARTIAL";
4259
+ vmConsensusEquivalence: "NOT_CLAIMED";
4260
+ zkOnchainVerification: "NOT_CLAIMED";
4261
+ vProgsRuntime: "NOT_CLAIMED";
4262
+ vProgsStableApi: "NOT_CLAIMED";
4263
+ }>;
4264
+ issues: z.ZodArray<z.ZodObject<{
4265
+ code: z.ZodString;
4266
+ message: z.ZodString;
4267
+ file: z.ZodOptional<z.ZodString>;
4268
+ }, "strip", z.ZodTypeAny, {
4269
+ code: string;
4270
+ message: string;
4271
+ file?: string | undefined;
4272
+ }, {
4273
+ code: string;
4274
+ message: string;
4275
+ file?: string | undefined;
4276
+ }>, "many">;
4277
+ }, "strip", z.ZodTypeAny, {
4278
+ issues: {
4279
+ code: string;
4280
+ message: string;
4281
+ file?: string | undefined;
4282
+ }[];
4283
+ path: string;
4284
+ status: "PROGRAMMABILITY_CORPUS_PASS" | "PROGRAMMABILITY_CORPUS_FAIL";
4285
+ schema: "hardkas.programmability.corpusReport.v1";
4286
+ ok: boolean;
4287
+ claims: {
4288
+ mainnet: "BLOCKED_BY_POLICY";
4289
+ artifactCoherence: "READY_MATCH";
4290
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4291
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4292
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4293
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4294
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4295
+ runtimeOutcome: "PARTIAL";
4296
+ vmConsensusEquivalence: "NOT_CLAIMED";
4297
+ zkOnchainVerification: "NOT_CLAIMED";
4298
+ vProgsRuntime: "NOT_CLAIMED";
4299
+ vProgsStableApi: "NOT_CLAIMED";
4300
+ };
4301
+ summary: {
4302
+ silver: "PASS" | "FAIL" | "SKIPPED";
4303
+ zk: "PASS" | "FAIL" | "SKIPPED";
4304
+ vprogs: "PASS" | "FAIL" | "SKIPPED";
4305
+ rootManifest: "PASS" | "FAIL";
4306
+ knownLimitations: string[];
4307
+ };
4308
+ }, {
4309
+ issues: {
4310
+ code: string;
4311
+ message: string;
4312
+ file?: string | undefined;
4313
+ }[];
4314
+ path: string;
4315
+ status: "PROGRAMMABILITY_CORPUS_PASS" | "PROGRAMMABILITY_CORPUS_FAIL";
4316
+ schema: "hardkas.programmability.corpusReport.v1";
4317
+ ok: boolean;
4318
+ claims: {
4319
+ mainnet: "BLOCKED_BY_POLICY";
4320
+ artifactCoherence: "READY_MATCH";
4321
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4322
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4323
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4324
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4325
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4326
+ runtimeOutcome: "PARTIAL";
4327
+ vmConsensusEquivalence: "NOT_CLAIMED";
4328
+ zkOnchainVerification: "NOT_CLAIMED";
4329
+ vProgsRuntime: "NOT_CLAIMED";
4330
+ vProgsStableApi: "NOT_CLAIMED";
4331
+ };
4332
+ summary: {
4333
+ silver: "PASS" | "FAIL" | "SKIPPED";
4334
+ zk: "PASS" | "FAIL" | "SKIPPED";
4335
+ vprogs: "PASS" | "FAIL" | "SKIPPED";
4336
+ rootManifest: "PASS" | "FAIL";
4337
+ knownLimitations: string[];
4338
+ };
4339
+ }>;
4340
+ declare const ProgrammabilityAppPlanSchema: z.ZodObject<{
4341
+ schema: z.ZodLiteral<"hardkas.programmability.appPlan.v1">;
4342
+ ok: z.ZodLiteral<true>;
4343
+ status: z.ZodLiteral<"PROGRAMMABILITY_APP_PLAN_READY">;
4344
+ kind: z.ZodEnum<["silver", "zk", "vprog", "full-lab"]>;
4345
+ template: z.ZodString;
4346
+ commands: z.ZodArray<z.ZodString, "many">;
4347
+ sdkSurfaces: z.ZodArray<z.ZodString, "many">;
4348
+ claims: z.ZodObject<{
4349
+ artifactCoherence: z.ZodLiteral<"READY_MATCH">;
4350
+ silverScriptBuilder: z.ZodLiteral<"SILVERSCRIPT_BUILDER_READY">;
4351
+ zkCorpusSurface: z.ZodLiteral<"ZK_CORPUS_SURFACE_READY">;
4352
+ zkLocalVerification: z.ZodLiteral<"READY_GROTH16_FIXTURE_COHERENCE">;
4353
+ risc0InspectSurface: z.ZodLiteral<"RISC0_INSPECT_SURFACE_READY">;
4354
+ vProgsInspectSurface: z.ZodLiteral<"VPROGS_INSPECT_SURFACE_READY">;
4355
+ runtimeOutcome: z.ZodLiteral<"PARTIAL">;
4356
+ vmConsensusEquivalence: z.ZodLiteral<"NOT_CLAIMED">;
4357
+ zkOnchainVerification: z.ZodLiteral<"NOT_CLAIMED">;
4358
+ vProgsRuntime: z.ZodLiteral<"NOT_CLAIMED">;
4359
+ vProgsStableApi: z.ZodLiteral<"NOT_CLAIMED">;
4360
+ mainnet: z.ZodLiteral<"BLOCKED_BY_POLICY">;
4361
+ }, "strip", z.ZodTypeAny, {
4362
+ mainnet: "BLOCKED_BY_POLICY";
4363
+ artifactCoherence: "READY_MATCH";
4364
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4365
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4366
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4367
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4368
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4369
+ runtimeOutcome: "PARTIAL";
4370
+ vmConsensusEquivalence: "NOT_CLAIMED";
4371
+ zkOnchainVerification: "NOT_CLAIMED";
4372
+ vProgsRuntime: "NOT_CLAIMED";
4373
+ vProgsStableApi: "NOT_CLAIMED";
4374
+ }, {
4375
+ mainnet: "BLOCKED_BY_POLICY";
4376
+ artifactCoherence: "READY_MATCH";
4377
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4378
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4379
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4380
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4381
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4382
+ runtimeOutcome: "PARTIAL";
4383
+ vmConsensusEquivalence: "NOT_CLAIMED";
4384
+ zkOnchainVerification: "NOT_CLAIMED";
4385
+ vProgsRuntime: "NOT_CLAIMED";
4386
+ vProgsStableApi: "NOT_CLAIMED";
4387
+ }>;
4388
+ nonClaims: z.ZodArray<z.ZodString, "many">;
4389
+ }, "strip", z.ZodTypeAny, {
4390
+ status: "PROGRAMMABILITY_APP_PLAN_READY";
4391
+ schema: "hardkas.programmability.appPlan.v1";
4392
+ ok: true;
4393
+ claims: {
4394
+ mainnet: "BLOCKED_BY_POLICY";
4395
+ artifactCoherence: "READY_MATCH";
4396
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4397
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4398
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4399
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4400
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4401
+ runtimeOutcome: "PARTIAL";
4402
+ vmConsensusEquivalence: "NOT_CLAIMED";
4403
+ zkOnchainVerification: "NOT_CLAIMED";
4404
+ vProgsRuntime: "NOT_CLAIMED";
4405
+ vProgsStableApi: "NOT_CLAIMED";
4406
+ };
4407
+ nonClaims: string[];
4408
+ kind: "silver" | "zk" | "vprog" | "full-lab";
4409
+ template: string;
4410
+ commands: string[];
4411
+ sdkSurfaces: string[];
4412
+ }, {
4413
+ status: "PROGRAMMABILITY_APP_PLAN_READY";
4414
+ schema: "hardkas.programmability.appPlan.v1";
4415
+ ok: true;
4416
+ claims: {
4417
+ mainnet: "BLOCKED_BY_POLICY";
4418
+ artifactCoherence: "READY_MATCH";
4419
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
4420
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
4421
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
4422
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
4423
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
4424
+ runtimeOutcome: "PARTIAL";
4425
+ vmConsensusEquivalence: "NOT_CLAIMED";
4426
+ zkOnchainVerification: "NOT_CLAIMED";
4427
+ vProgsRuntime: "NOT_CLAIMED";
4428
+ vProgsStableApi: "NOT_CLAIMED";
4429
+ };
4430
+ nonClaims: string[];
4431
+ kind: "silver" | "zk" | "vprog" | "full-lab";
4432
+ template: string;
4433
+ commands: string[];
4434
+ sdkSurfaces: string[];
4435
+ }>;
4436
+ declare const ToccataProgrammabilityCorpusSchema: z.ZodObject<{
4437
+ schema: z.ZodLiteral<"hardkas.toccataProgrammabilityCorpus.v1">;
4438
+ version: z.ZodString;
4439
+ network: z.ZodLiteral<"simnet">;
4440
+ profile: z.ZodLiteral<"toccata-v2">;
4441
+ status: z.ZodLiteral<"PROGRAMMABILITY_SURFACE_READY">;
4442
+ components: z.ZodRecord<z.ZodString, z.ZodAny>;
4443
+ claims: z.ZodObject<{
4444
+ artifactCoherence: z.ZodLiteral<"READY_MATCH">;
4445
+ runtimeOutcome: z.ZodLiteral<"PARTIAL">;
4446
+ vmConsensusEquivalence: z.ZodLiteral<"NOT_CLAIMED">;
4447
+ zkOnchainVerification: z.ZodLiteral<"NOT_CLAIMED">;
4448
+ vProgsRuntime: z.ZodLiteral<"NOT_CLAIMED">;
4449
+ vProgsStableApi: z.ZodLiteral<"NOT_CLAIMED">;
4450
+ mainnet: z.ZodLiteral<"BLOCKED_BY_POLICY">;
4451
+ }, "strip", z.ZodTypeAny, {
4452
+ mainnet: "BLOCKED_BY_POLICY";
4453
+ artifactCoherence: "READY_MATCH";
4454
+ runtimeOutcome: "PARTIAL";
4455
+ vmConsensusEquivalence: "NOT_CLAIMED";
4456
+ zkOnchainVerification: "NOT_CLAIMED";
4457
+ vProgsRuntime: "NOT_CLAIMED";
4458
+ vProgsStableApi: "NOT_CLAIMED";
4459
+ }, {
4460
+ mainnet: "BLOCKED_BY_POLICY";
4461
+ artifactCoherence: "READY_MATCH";
4462
+ runtimeOutcome: "PARTIAL";
4463
+ vmConsensusEquivalence: "NOT_CLAIMED";
4464
+ zkOnchainVerification: "NOT_CLAIMED";
4465
+ vProgsRuntime: "NOT_CLAIMED";
4466
+ vProgsStableApi: "NOT_CLAIMED";
4467
+ }>;
4468
+ expectedKnownLimitations: z.ZodArray<z.ZodString, "many">;
4469
+ }, "strip", z.ZodTypeAny, {
4470
+ status: "PROGRAMMABILITY_SURFACE_READY";
4471
+ version: string;
4472
+ schema: "hardkas.toccataProgrammabilityCorpus.v1";
4473
+ network: "simnet";
4474
+ claims: {
4475
+ mainnet: "BLOCKED_BY_POLICY";
4476
+ artifactCoherence: "READY_MATCH";
4477
+ runtimeOutcome: "PARTIAL";
4478
+ vmConsensusEquivalence: "NOT_CLAIMED";
4479
+ zkOnchainVerification: "NOT_CLAIMED";
4480
+ vProgsRuntime: "NOT_CLAIMED";
4481
+ vProgsStableApi: "NOT_CLAIMED";
4482
+ };
4483
+ profile: "toccata-v2";
4484
+ components: Record<string, any>;
4485
+ expectedKnownLimitations: string[];
4486
+ }, {
4487
+ status: "PROGRAMMABILITY_SURFACE_READY";
4488
+ version: string;
4489
+ schema: "hardkas.toccataProgrammabilityCorpus.v1";
4490
+ network: "simnet";
4491
+ claims: {
4492
+ mainnet: "BLOCKED_BY_POLICY";
4493
+ artifactCoherence: "READY_MATCH";
4494
+ runtimeOutcome: "PARTIAL";
4495
+ vmConsensusEquivalence: "NOT_CLAIMED";
4496
+ zkOnchainVerification: "NOT_CLAIMED";
4497
+ vProgsRuntime: "NOT_CLAIMED";
4498
+ vProgsStableApi: "NOT_CLAIMED";
4499
+ };
4500
+ profile: "toccata-v2";
4501
+ components: Record<string, any>;
4502
+ expectedKnownLimitations: string[];
4503
+ }>;
4504
+ type ProgrammabilityClaimsSchemaType = z.infer<typeof ProgrammabilityClaimsSchema>;
4505
+ type ProgrammabilityCapabilitiesSchemaType = z.infer<typeof ProgrammabilityCapabilitiesSchema>;
4506
+ type ProgrammabilityInspectSchemaType = z.infer<typeof ProgrammabilityInspectSchema>;
4507
+ type ProgrammabilityVerifySchemaType = z.infer<typeof ProgrammabilityVerifySchema>;
4508
+ type ProgrammabilityCorpusReportSchemaType = z.infer<typeof ProgrammabilityCorpusReportSchema>;
4509
+ type ProgrammabilityAppPlanSchemaType = z.infer<typeof ProgrammabilityAppPlanSchema>;
4510
+ type ToccataProgrammabilityCorpusSchemaType = z.infer<typeof ToccataProgrammabilityCorpusSchema>;
2472
4511
 
2473
4512
  interface ArtifactValidationResult {
2474
4513
  ok: boolean;
@@ -2492,7 +4531,7 @@ interface IgraTxRequestArtifact {
2492
4531
  readonly nonce?: string;
2493
4532
  }
2494
4533
  interface IgraTxPlanArtifact {
2495
- readonly schema: "hardkas.igraTxPlan.v1";
4534
+ readonly schema: typeof HardkasSchemas.IgraTxPlanV1;
2496
4535
  readonly hardkasVersion: string;
2497
4536
  readonly networkId: string;
2498
4537
  readonly mode: "l2-rpc";
@@ -2507,7 +4546,7 @@ interface IgraTxPlanArtifact {
2507
4546
  readonly status: "built";
2508
4547
  }
2509
4548
  interface IgraSignedTxArtifact {
2510
- readonly schema: "hardkas.igraSignedTx.v1";
4549
+ readonly schema: typeof HardkasSchemas.IgraSignedTxV1;
2511
4550
  readonly hardkasVersion: string;
2512
4551
  readonly networkId: string;
2513
4552
  readonly mode: "l2-rpc";
@@ -2522,7 +4561,7 @@ interface IgraSignedTxArtifact {
2522
4561
  readonly status: "signed";
2523
4562
  }
2524
4563
  interface IgraTxReceiptArtifact {
2525
- readonly schema: "hardkas.igraTxReceipt.v1";
4564
+ readonly schema: typeof HardkasSchemas.IgraTxReceiptV1;
2526
4565
  readonly hardkasVersion: string;
2527
4566
  readonly networkId: string;
2528
4567
  readonly mode: "l2-rpc";
@@ -2615,7 +4654,7 @@ interface TxOutputArtifact {
2615
4654
  readonly script?: string | undefined;
2616
4655
  }
2617
4656
  interface TxPlanArtifactV1 extends HardkasArtifactBase {
2618
- readonly schema: "hardkas.txPlan.v1";
4657
+ readonly schema: typeof HardkasSchemas.TxPlanV1;
2619
4658
  readonly status: "built" | "unsigned";
2620
4659
  readonly planId: string;
2621
4660
  readonly from: {
@@ -2639,7 +4678,7 @@ interface TxPlanArtifactV1 extends HardkasArtifactBase {
2639
4678
  readonly metadata?: Record<string, any> | undefined;
2640
4679
  }
2641
4680
  interface SignedTxArtifactV1 extends HardkasArtifactBase {
2642
- readonly schema: "hardkas.signedTx.v1";
4681
+ readonly schema: typeof HardkasSchemas.SignedTxV1;
2643
4682
  readonly status: "signed";
2644
4683
  readonly signedId: string;
2645
4684
  readonly sourcePlanId: string;
@@ -2663,7 +4702,7 @@ interface SignedTxArtifactV1 extends HardkasArtifactBase {
2663
4702
  readonly metadata?: Record<string, any> | undefined;
2664
4703
  }
2665
4704
  interface TxReceiptArtifactV1 extends HardkasArtifactBase {
2666
- readonly schema: "hardkas.txReceipt.v1";
4705
+ readonly schema: typeof HardkasSchemas.TxReceiptV1;
2667
4706
  readonly status: "submitted" | "accepted" | "confirmed" | "finalized" | "failed";
2668
4707
  readonly txId: TxId;
2669
4708
  readonly sourceSignedId?: ArtifactId | undefined;
@@ -2688,7 +4727,7 @@ interface TxReceiptArtifactV1 extends HardkasArtifactBase {
2688
4727
  readonly metadata?: Record<string, any> | undefined;
2689
4728
  }
2690
4729
  interface TxTraceArtifactV1 extends HardkasArtifactBase {
2691
- readonly schema: "hardkas.txTrace.v1";
4730
+ readonly schema: typeof HardkasSchemas.TxTraceV1;
2692
4731
  readonly txId: TxId;
2693
4732
  readonly steps: Array<{
2694
4733
  phase: string;
@@ -2888,7 +4927,7 @@ interface WorkflowArtifact extends BaseArtifact<"workflow.v1"> {
2888
4927
  };
2889
4928
  }
2890
4929
  interface DeploymentRecord extends HardkasArtifactBase {
2891
- schema: "hardkas.deployment.v1";
4930
+ schema: typeof HardkasSchemas.DeploymentV1;
2892
4931
  /** Human-readable label (e.g., "initial-funding", "vault-covenant-v1") */
2893
4932
  label: string;
2894
4933
  /** Network where this was deployed */
@@ -2917,7 +4956,7 @@ interface DeploymentRecord extends HardkasArtifactBase {
2917
4956
  notes?: string;
2918
4957
  }
2919
4958
  interface DeploymentIndex extends HardkasArtifactBase {
2920
- schema: "hardkas.deploymentIndex.v1";
4959
+ schema: typeof HardkasSchemas.DeploymentIndexV1;
2921
4960
  networkId: NetworkId;
2922
4961
  deployments: DeploymentSummary[];
2923
4962
  lastUpdated: string;
@@ -2930,6 +4969,175 @@ interface DeploymentSummary {
2930
4969
  deployedAt: string;
2931
4970
  contentHash: string;
2932
4971
  }
4972
+ interface SilverCompileArtifact extends BaseArtifact<"silver.compile"> {
4973
+ sourcePath: string;
4974
+ sourceHash: string;
4975
+ compilerName: string;
4976
+ compilerVersion: string;
4977
+ compilerCommand: string;
4978
+ compiledScriptHex?: string | undefined;
4979
+ compiledScriptHash?: string | undefined;
4980
+ abi?: any | undefined;
4981
+ network: string;
4982
+ assumptions?: string[] | undefined;
4983
+ }
4984
+ interface SilverTestArtifact extends BaseArtifact<"silver.test"> {
4985
+ compileArtifactHash: string;
4986
+ sourceHash: string;
4987
+ compiledScriptHash: string;
4988
+ testVectorsHash?: string | null | undefined;
4989
+ compilerName: string;
4990
+ compilerVersion: string;
4991
+ results: Array<{
4992
+ name: string;
4993
+ status: "PASS" | "FAIL" | "SKIPPED" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
4994
+ reason?: string | undefined;
4995
+ }>;
4996
+ status: "PASS" | "FAIL" | "PARTIAL_TEST_VECTOR_SUPPORT" | "EXPECTED_COMPILER_FAILURE";
4997
+ }
4998
+ interface SilverDeployPlanArtifact extends BaseArtifact<"silver.deployPlan"> {
4999
+ compileArtifactHash: string;
5000
+ compiledScriptHash: string;
5001
+ redeemScriptHex: string;
5002
+ redeemScriptHash: string;
5003
+ lockingScriptHex: string;
5004
+ scriptPublicKeyVersion: number;
5005
+ amountSompi: string;
5006
+ deployerAddress: string;
5007
+ }
5008
+ interface SilverDeployArtifact extends BaseArtifact<"silver.deploy"> {
5009
+ deployPlanHash: string;
5010
+ compileArtifactHash: string;
5011
+ compiledScriptHash: string;
5012
+ redeemScriptHex: string;
5013
+ redeemScriptHash: string;
5014
+ lockingScriptHex: string;
5015
+ scriptPublicKeyVersion: number;
5016
+ deployTxId: string;
5017
+ outputIndex: number;
5018
+ amountSompi: string;
5019
+ nodeVersion: string;
5020
+ }
5021
+ interface SilverSpendPlanArtifact extends BaseArtifact<"silver.spendPlan"> {
5022
+ deployArtifactHash: string;
5023
+ compileArtifactHash: string;
5024
+ redeemScriptHash: string;
5025
+ lockingScriptHex: string;
5026
+ contractUtxoRef: {
5027
+ transactionId: string;
5028
+ index: number;
5029
+ };
5030
+ args: Array<{
5031
+ type: "hex";
5032
+ value: string;
5033
+ }>;
5034
+ argsHash: string;
5035
+ signatureScriptHex: string;
5036
+ expectedOutputs: Array<{
5037
+ address: string;
5038
+ amountSompi: string;
5039
+ scriptHash?: string | undefined;
5040
+ }>;
5041
+ assumptionLevel?: AssumptionLevel | undefined;
5042
+ }
5043
+ interface SilverSpendReceiptArtifact extends BaseArtifact<"silver.spendReceipt"> {
5044
+ spendPlanHash: string;
5045
+ deployArtifactHash?: string | undefined;
5046
+ redeemScriptHash?: string | undefined;
5047
+ lockingScriptHex?: string | undefined;
5048
+ signatureScriptHex?: string | undefined;
5049
+ spentOutpoint?: {
5050
+ transactionId: string;
5051
+ index: number;
5052
+ } | undefined;
5053
+ expectedOutputs?: Array<{
5054
+ address: string;
5055
+ amountSompi: string;
5056
+ scriptHash?: string | undefined;
5057
+ }> | undefined;
5058
+ txId: string;
5059
+ status: "simulated" | "submitted" | "accepted" | "rejected";
5060
+ }
5061
+ interface SilverDeploySimulationArtifact extends BaseArtifact<"silver.deploySimulation"> {
5062
+ deployPlanHash: string;
5063
+ compileArtifactHash: string;
5064
+ compiledScriptHash: string;
5065
+ redeemScriptHex: string;
5066
+ redeemScriptHash: string;
5067
+ lockingScriptHex: string;
5068
+ scriptPublicKeyVersion: 0;
5069
+ simulatedDeployTxId: string;
5070
+ syntheticOutpoint: {
5071
+ transactionId: string;
5072
+ index: number;
5073
+ };
5074
+ amountSompi: string;
5075
+ feeSompi: string;
5076
+ status: "SIMULATED_ACCEPTED";
5077
+ }
5078
+ interface SilverSpendSimulationArtifact extends BaseArtifact<"silver.spendSimulation"> {
5079
+ deploySimulationHash: string;
5080
+ spendPlanHash: string;
5081
+ redeemScriptHash: string;
5082
+ lockingScriptHex: string;
5083
+ signatureScriptHex: string;
5084
+ simulatedSpendTxId: string;
5085
+ spentOutpoint: {
5086
+ transactionId: string;
5087
+ index: number;
5088
+ };
5089
+ expectedOutputs: Array<{
5090
+ address: string;
5091
+ amountSompi: string;
5092
+ scriptHash?: string | undefined;
5093
+ }>;
5094
+ feeSompi: string;
5095
+ status: "SIMULATED_ACCEPTED";
5096
+ }
5097
+ interface ProgrammabilityClaims {
5098
+ artifactCoherence: "READY_MATCH";
5099
+ silverScriptBuilder: "SILVERSCRIPT_BUILDER_READY";
5100
+ zkCorpusSurface: "ZK_CORPUS_SURFACE_READY";
5101
+ zkLocalVerification: "READY_GROTH16_FIXTURE_COHERENCE";
5102
+ risc0InspectSurface: "RISC0_INSPECT_SURFACE_READY";
5103
+ vProgsInspectSurface: "VPROGS_INSPECT_SURFACE_READY";
5104
+ runtimeOutcome: "PARTIAL";
5105
+ vmConsensusEquivalence: "NOT_CLAIMED";
5106
+ zkOnchainVerification: "NOT_CLAIMED";
5107
+ vProgsRuntime: "NOT_CLAIMED";
5108
+ vProgsStableApi: "NOT_CLAIMED";
5109
+ mainnet: "BLOCKED_BY_POLICY";
5110
+ }
5111
+ interface ProgrammabilityCapabilitiesArtifact {
5112
+ schema: typeof HardkasSchemas.ProgrammabilityCapabilitiesV1;
5113
+ ok: true;
5114
+ status: "PROGRAMMABILITY_SURFACE_READY";
5115
+ claims: ProgrammabilityClaims;
5116
+ }
5117
+ interface ProgrammabilityInspectArtifact {
5118
+ schema: typeof HardkasSchemas.ProgrammabilityInspectV1;
5119
+ ok: boolean;
5120
+ status: "PROGRAMMABILITY_ARTIFACT_INSPECTED" | "PROGRAMMABILITY_ARTIFACT_INVALID";
5121
+ claims: ProgrammabilityClaims;
5122
+ }
5123
+ interface ProgrammabilityVerifyArtifact {
5124
+ schema: typeof HardkasSchemas.ProgrammabilityVerifyV1;
5125
+ ok: boolean;
5126
+ status: "PROGRAMMABILITY_VERIFY_PASS" | "PROGRAMMABILITY_VERIFY_FAIL" | "PROGRAMMABILITY_VERIFY_PARTIAL";
5127
+ claims: ProgrammabilityClaims;
5128
+ }
5129
+ interface ProgrammabilityCorpusReportArtifact {
5130
+ schema: typeof HardkasSchemas.ProgrammabilityCorpusReportV1;
5131
+ ok: boolean;
5132
+ status: "PROGRAMMABILITY_CORPUS_PASS" | "PROGRAMMABILITY_CORPUS_FAIL";
5133
+ claims: ProgrammabilityClaims;
5134
+ }
5135
+ interface ProgrammabilityAppPlanArtifact {
5136
+ schema: typeof HardkasSchemas.ProgrammabilityAppPlanV1;
5137
+ ok: true;
5138
+ status: "PROGRAMMABILITY_APP_PLAN_READY";
5139
+ claims: ProgrammabilityClaims;
5140
+ }
2933
5141
 
2934
5142
  declare const SEMANTIC_EXCLUSIONS: Set<string>;
2935
5143
  declare const V4_SEMANTIC_EXCLUSIONS: Set<string>;
@@ -3521,4 +5729,4 @@ interface ExternalHardkasSigner {
3521
5729
  signTransaction(txPlan: TxPlanArtifact): Promise<SignedTxArtifact>;
3522
5730
  }
3523
5731
 
3524
- export { ARTIFACT_SCHEMAS, ARTIFACT_VERSION, AccountRefSchema, type ArtifactDiff, type ArtifactExplanation, ArtifactLineageSchema, type ArtifactLookup, type ArtifactPayload, type ArtifactValidationResult, type ArtifactVerificationResult, type Assumption, type AssumptionArtifact, type AssumptionLevel, AssumptionSchema, type BaseArtifact, BaseArtifactSchema, BasicCorrelationInvariant, BasicLineageInvariant, CURRENT_HASH_VERSION, type Clock, type CreateTxPlanArtifactOptions, type DagContext, DagContextSchema, type DeploymentIndex, type DeploymentRecord, type DeploymentSummary, type DiffEntry, type DraftArtifact, type ExternalHardkasSigner, type FeeAuditResult, HARDKAS_VERSION, type HardkasArtifactBase, type HardkasArtifactMode, type HardkasArtifactSchema, HashInvariant, type IgraSignedTxArtifact, type IgraTxPlanArtifact, type IgraTxReceiptArtifact, type IgraTxRequestArtifact, type Invariant, type InvariantContext, type InvariantViolation, InvariantWatcher, LifecycleInvariant, type LineageOptions, type LineageValidationResult, LocalnetUtxoSchemaV2, type MigrationReceipt, type MigrationReceiptArtifact, MigrationReceiptSchema, MigrationRequiredError, type MigrationResult, type MigrationStep, NetworkInvariant, type NetworkProfile, type NetworkProfileArtifact, NetworkProfileSchema, type Policy, type PolicyArtifact, PolicySchema, ReplayInvariant, type RuntimeSession, RuntimeSessionSchema, SEMANTIC_EXCLUSIONS, STRICT_PATH_KEYS, SchemaInvariant, type ScriptCapability, ScriptCapabilitySchema, ScriptMetadataSchema, SignatureEntrySchema, SignatureMetadataEntrySchema, type SignedTx, type SignedTxArtifact, type SignedTxArtifactV1, SignedTxSchema, type Snapshot, type SnapshotArtifact, SnapshotSchema, type TxOutputArtifact, type TxPlan, type TxPlanArtifact, type TxPlanArtifactV1, TxPlanSchema, type TxReceipt, type TxReceiptArtifact, type TxReceiptArtifactV1, TxReceiptSchema, type TxTrace, type TxTraceArtifact, type TxTraceArtifactV1, TxTraceSchema, type UtxoArtifact, V4_SEMANTIC_EXCLUSIONS, type VerificationContext, type VerificationIssue, type VerificationSeverity, type WatcherOptions, type Workflow, type WorkflowArtifact, WorkflowSchema, assertDecimalBigIntString, assertEvmAddress, assertEvmTxHash, assertHexData, assertValidIgraSignedTxArtifact, assertValidIgraTxPlanArtifact, assertValidIgraTxReceiptArtifact, assertValidSignedTxArtifact, assertValidTxPlanArtifact, assertValidTxReceiptArtifact, bigIntReplacer, calculateContentHash, canMigrate, canonicalStringify, createDeploymentRecord, createIgraDeployPlanId, createIgraPlanId, createIgraSignedId, createLineageTransition, createSimulatedSignedTxArtifact, createSimulatedTxReceipt, createTxPlanArtifact, defaultClock, deleteDeployment, detectArtifactVersion, diffArtifacts, explainArtifact, formatSignedTxArtifact, formatTxPlanArtifact, formatTxReceiptArtifact, generateMigrationReceipt, getBroadcastableSignedTransaction, getDefaultL2ReceiptsDir, getDefaultReceiptPath, getL2ReceiptPath, getMigrationPath, getRegisteredMigrationSteps, isIgraTxPlanArtifact, listDeployments, listIgraTxReceiptArtifacts, loadDeployment, loadIgraTxReceiptArtifact, migrateArtifactPayload, migrateToCanonical, readArtifact, readSignedTxArtifact, readTxPlanArtifact, readTxReceiptArtifact, recomputeMass, registerMigrationStep, saveDeployment, saveIgraTxReceiptArtifact, sortUtxosByOutpoint, txOutputFromArtifact, txOutputToArtifact, updateDeployment, updateDeploymentStatus, utxoFromArtifact, utxoToArtifact, validateArtifact, validateIgraSignedTxArtifact, validateIgraTxPlanArtifact, validateIgraTxReceiptArtifact, validateSignedTxArtifact, validateTxPlanArtifact, validateTxReceiptArtifact, verifyArtifact, verifyArtifactFile, verifyArtifactIntegrity, verifyArtifactIntegritySync, verifyArtifactReplay, verifyArtifactSemantics, verifyFeeSemantics, verifyLineage, writeArtifact };
5732
+ export { ARTIFACT_SCHEMAS, ARTIFACT_VERSION, AccountRefSchema, type ArtifactDiff, type ArtifactExplanation, ArtifactLineageSchema, type ArtifactLookup, type ArtifactPayload, type ArtifactValidationResult, type ArtifactVerificationResult, type Assumption, type AssumptionArtifact, type AssumptionLevel, AssumptionSchema, type BaseArtifact, BaseArtifactSchema, BasicCorrelationInvariant, BasicLineageInvariant, CURRENT_HASH_VERSION, type Clock, type CreateTxPlanArtifactOptions, type DagContext, DagContextSchema, type DeploymentIndex, type DeploymentRecord, type DeploymentSummary, type DiffEntry, type DraftArtifact, type ExternalHardkasSigner, type FeeAuditResult, HARDKAS_VERSION, type HardkasArtifactBase, type HardkasArtifactMode, type HardkasArtifactSchema, HashInvariant, type IgraSignedTxArtifact, type IgraTxPlanArtifact, type IgraTxReceiptArtifact, type IgraTxRequestArtifact, type Invariant, type InvariantContext, type InvariantViolation, InvariantWatcher, LifecycleInvariant, type LineageOptions, type LineageValidationResult, LocalnetUtxoSchemaV2, type MigrationReceipt, type MigrationReceiptArtifact, MigrationReceiptSchema, MigrationRequiredError, type MigrationResult, type MigrationStep, NetworkInvariant, type NetworkProfile, type NetworkProfileArtifact, NetworkProfileSchema, type Policy, type PolicyArtifact, PolicySchema, type ProgrammabilityAppPlanArtifact, ProgrammabilityAppPlanSchema, type ProgrammabilityAppPlanSchemaType, type ProgrammabilityCapabilitiesArtifact, ProgrammabilityCapabilitiesSchema, type ProgrammabilityCapabilitiesSchemaType, type ProgrammabilityClaims, ProgrammabilityClaimsSchema, type ProgrammabilityClaimsSchemaType, type ProgrammabilityCorpusReportArtifact, ProgrammabilityCorpusReportSchema, type ProgrammabilityCorpusReportSchemaType, type ProgrammabilityInspectArtifact, ProgrammabilityInspectSchema, type ProgrammabilityInspectSchemaType, type ProgrammabilityVerifyArtifact, ProgrammabilityVerifySchema, type ProgrammabilityVerifySchemaType, ReplayInvariant, type RuntimeSession, RuntimeSessionSchema, SEMANTIC_EXCLUSIONS, STRICT_PATH_KEYS, SchemaInvariant, type ScriptCapability, ScriptCapabilitySchema, ScriptMetadataSchema, SignatureEntrySchema, SignatureMetadataEntrySchema, type SignedTx, type SignedTxArtifact, type SignedTxArtifactV1, SignedTxSchema, type SilverCompileArtifact, SilverCompileArtifactSchema, type SilverDeployArtifact, SilverDeployArtifactSchema, type SilverDeployPlanArtifact, SilverDeployPlanArtifactSchema, type SilverDeploySimulationArtifact, SilverDeploySimulationArtifactSchema, SilverScriptArgSchema, type SilverSpendPlanArtifact, SilverSpendPlanArtifactSchema, type SilverSpendReceiptArtifact, SilverSpendReceiptArtifactSchema, type SilverSpendSimulationArtifact, SilverSpendSimulationArtifactSchema, type SilverTestArtifact, SilverTestArtifactSchema, type Snapshot, type SnapshotArtifact, SnapshotSchema, ToccataProgrammabilityCorpusSchema, type ToccataProgrammabilityCorpusSchemaType, type TxOutputArtifact, type TxPlan, type TxPlanArtifact, type TxPlanArtifactV1, TxPlanSchema, type TxReceipt, type TxReceiptArtifact, type TxReceiptArtifactV1, TxReceiptSchema, type TxTrace, type TxTraceArtifact, type TxTraceArtifactV1, TxTraceSchema, type UtxoArtifact, V4_SEMANTIC_EXCLUSIONS, type VerificationContext, type VerificationIssue, type VerificationSeverity, type WatcherOptions, type Workflow, type WorkflowArtifact, WorkflowSchema, assertDecimalBigIntString, assertEvmAddress, assertEvmTxHash, assertHexData, assertValidIgraSignedTxArtifact, assertValidIgraTxPlanArtifact, assertValidIgraTxReceiptArtifact, assertValidSignedTxArtifact, assertValidTxPlanArtifact, assertValidTxReceiptArtifact, bigIntReplacer, calculateContentHash, canMigrate, canonicalStringify, createDeploymentRecord, createIgraDeployPlanId, createIgraPlanId, createIgraSignedId, createLineageTransition, createSimulatedSignedTxArtifact, createSimulatedTxReceipt, createTxPlanArtifact, defaultClock, deleteDeployment, detectArtifactVersion, diffArtifacts, explainArtifact, formatSignedTxArtifact, formatTxPlanArtifact, formatTxReceiptArtifact, generateMigrationReceipt, getBroadcastableSignedTransaction, getDefaultL2ReceiptsDir, getDefaultReceiptPath, getL2ReceiptPath, getMigrationPath, getRegisteredMigrationSteps, isIgraTxPlanArtifact, listDeployments, listIgraTxReceiptArtifacts, loadDeployment, loadIgraTxReceiptArtifact, migrateArtifactPayload, migrateToCanonical, readArtifact, readSignedTxArtifact, readTxPlanArtifact, readTxReceiptArtifact, recomputeMass, registerMigrationStep, saveDeployment, saveIgraTxReceiptArtifact, sortUtxosByOutpoint, txOutputFromArtifact, txOutputToArtifact, updateDeployment, updateDeploymentStatus, utxoFromArtifact, utxoToArtifact, validateArtifact, validateIgraSignedTxArtifact, validateIgraTxPlanArtifact, validateIgraTxReceiptArtifact, validateSignedTxArtifact, validateTxPlanArtifact, validateTxReceiptArtifact, verifyArtifact, verifyArtifactFile, verifyArtifactIntegrity, verifyArtifactIntegritySync, verifyArtifactReplay, verifyArtifactSemantics, verifyFeeSemantics, verifyLineage, writeArtifact };