@hardkas/artifacts 0.8.20-alpha → 0.9.0-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/README.md +31 -31
- package/dist/index.d.ts +1458 -1
- package/dist/index.js +189 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,14 @@ declare const ARTIFACT_SCHEMAS: {
|
|
|
18
18
|
readonly NETWORK_PROFILE: "hardkas.networkProfile.v1";
|
|
19
19
|
readonly ASSUMPTION: "hardkas.assumption.v1";
|
|
20
20
|
readonly MIGRATION_RECEIPT: "hardkas.migrationReceipt.v1";
|
|
21
|
+
readonly SILVER_COMPILE: "hardkas.silver.compile";
|
|
22
|
+
readonly SILVER_TEST: "hardkas.silver.test";
|
|
23
|
+
readonly SILVER_DEPLOY_PLAN: "hardkas.silver.deployPlan";
|
|
24
|
+
readonly SILVER_DEPLOY: "hardkas.silver.deploy";
|
|
25
|
+
readonly SILVER_SPEND_PLAN: "hardkas.silver.spendPlan";
|
|
26
|
+
readonly SILVER_SPEND_RECEIPT: "hardkas.silver.spendReceipt";
|
|
27
|
+
readonly SILVER_DEPLOY_SIMULATION: "hardkas.silver.deploySimulation";
|
|
28
|
+
readonly SILVER_SPEND_SIMULATION: "hardkas.silver.spendSimulation";
|
|
21
29
|
};
|
|
22
30
|
type HardkasArtifactSchema = (typeof ARTIFACT_SCHEMAS)[keyof typeof ARTIFACT_SCHEMAS] | string;
|
|
23
31
|
type HardkasArtifactMode = "simulated" | "node" | "rpc" | "l2-rpc" | "real";
|
|
@@ -2469,6 +2477,1330 @@ declare const RuntimeSessionSchema: z.ZodObject<{
|
|
|
2469
2477
|
parentSessionId?: string | undefined;
|
|
2470
2478
|
}>;
|
|
2471
2479
|
type RuntimeSession = z.infer<typeof RuntimeSessionSchema>;
|
|
2480
|
+
declare const SilverCompileArtifactSchema: z.ZodObject<{
|
|
2481
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
2482
|
+
hardkasVersion: z.ZodString;
|
|
2483
|
+
version: z.ZodLiteral<"1.0.0-alpha">;
|
|
2484
|
+
hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2485
|
+
networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
|
|
2486
|
+
mode: z.ZodEnum<["simulated", "real", "readonly"]>;
|
|
2487
|
+
contentHash: z.ZodOptional<z.ZodString>;
|
|
2488
|
+
createdAt: z.ZodString;
|
|
2489
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
2490
|
+
artifactId: z.ZodString;
|
|
2491
|
+
lineageId: z.ZodString;
|
|
2492
|
+
parentArtifactId: z.ZodOptional<z.ZodString>;
|
|
2493
|
+
rootArtifactId: z.ZodString;
|
|
2494
|
+
sequence: z.ZodOptional<z.ZodNumber>;
|
|
2495
|
+
}, "strip", z.ZodTypeAny, {
|
|
2496
|
+
artifactId: string;
|
|
2497
|
+
lineageId: string;
|
|
2498
|
+
rootArtifactId: string;
|
|
2499
|
+
parentArtifactId?: string | undefined;
|
|
2500
|
+
sequence?: number | undefined;
|
|
2501
|
+
}, {
|
|
2502
|
+
artifactId: string;
|
|
2503
|
+
lineageId: string;
|
|
2504
|
+
rootArtifactId: string;
|
|
2505
|
+
parentArtifactId?: string | undefined;
|
|
2506
|
+
sequence?: number | undefined;
|
|
2507
|
+
}>>;
|
|
2508
|
+
parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2509
|
+
lineageDepth: z.ZodOptional<z.ZodNumber>;
|
|
2510
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
2511
|
+
assumptionLevel: z.ZodOptional<z.ZodString>;
|
|
2512
|
+
scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
|
|
2513
|
+
scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
|
|
2514
|
+
scriptMetadata: z.ZodOptional<z.ZodObject<{
|
|
2515
|
+
language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
|
|
2516
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2517
|
+
experimental: z.ZodBoolean;
|
|
2518
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2519
|
+
consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
|
|
2520
|
+
}, "strip", z.ZodTypeAny, {
|
|
2521
|
+
experimental: boolean;
|
|
2522
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2523
|
+
version?: string | undefined;
|
|
2524
|
+
notes?: string[] | undefined;
|
|
2525
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2526
|
+
}, {
|
|
2527
|
+
experimental: boolean;
|
|
2528
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2529
|
+
version?: string | undefined;
|
|
2530
|
+
notes?: string[] | undefined;
|
|
2531
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2532
|
+
}>>;
|
|
2533
|
+
} & {
|
|
2534
|
+
schema: z.ZodLiteral<"hardkas.silver.compile">;
|
|
2535
|
+
sourcePath: z.ZodString;
|
|
2536
|
+
sourceHash: z.ZodString;
|
|
2537
|
+
compilerName: z.ZodString;
|
|
2538
|
+
compilerVersion: z.ZodString;
|
|
2539
|
+
compilerCommand: z.ZodString;
|
|
2540
|
+
compiledScriptHex: z.ZodString;
|
|
2541
|
+
compiledScriptHash: z.ZodString;
|
|
2542
|
+
abi: z.ZodOptional<z.ZodAny>;
|
|
2543
|
+
network: z.ZodString;
|
|
2544
|
+
assumptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2545
|
+
}, "strip", z.ZodTypeAny, {
|
|
2546
|
+
version: "1.0.0-alpha";
|
|
2547
|
+
schema: "hardkas.silver.compile";
|
|
2548
|
+
hardkasVersion: string;
|
|
2549
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
2550
|
+
mode: "simulated" | "real" | "readonly";
|
|
2551
|
+
createdAt: string;
|
|
2552
|
+
network: string;
|
|
2553
|
+
sourcePath: string;
|
|
2554
|
+
sourceHash: string;
|
|
2555
|
+
compilerName: string;
|
|
2556
|
+
compilerVersion: string;
|
|
2557
|
+
compilerCommand: string;
|
|
2558
|
+
compiledScriptHex: string;
|
|
2559
|
+
compiledScriptHash: string;
|
|
2560
|
+
schemaVersion?: string | undefined;
|
|
2561
|
+
hashVersion?: string | number | undefined;
|
|
2562
|
+
contentHash?: string | undefined;
|
|
2563
|
+
lineage?: {
|
|
2564
|
+
artifactId: string;
|
|
2565
|
+
lineageId: string;
|
|
2566
|
+
rootArtifactId: string;
|
|
2567
|
+
parentArtifactId?: string | undefined;
|
|
2568
|
+
sequence?: number | undefined;
|
|
2569
|
+
} | undefined;
|
|
2570
|
+
parents?: string[] | undefined;
|
|
2571
|
+
lineageDepth?: number | undefined;
|
|
2572
|
+
workflowId?: string | undefined;
|
|
2573
|
+
assumptionLevel?: string | undefined;
|
|
2574
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
2575
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
2576
|
+
scriptMetadata?: {
|
|
2577
|
+
experimental: boolean;
|
|
2578
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2579
|
+
version?: string | undefined;
|
|
2580
|
+
notes?: string[] | undefined;
|
|
2581
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2582
|
+
} | undefined;
|
|
2583
|
+
abi?: any;
|
|
2584
|
+
assumptions?: string[] | undefined;
|
|
2585
|
+
}, {
|
|
2586
|
+
version: "1.0.0-alpha";
|
|
2587
|
+
schema: "hardkas.silver.compile";
|
|
2588
|
+
hardkasVersion: string;
|
|
2589
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
2590
|
+
mode: "simulated" | "real" | "readonly";
|
|
2591
|
+
createdAt: string;
|
|
2592
|
+
network: string;
|
|
2593
|
+
sourcePath: string;
|
|
2594
|
+
sourceHash: string;
|
|
2595
|
+
compilerName: string;
|
|
2596
|
+
compilerVersion: string;
|
|
2597
|
+
compilerCommand: string;
|
|
2598
|
+
compiledScriptHex: string;
|
|
2599
|
+
compiledScriptHash: string;
|
|
2600
|
+
schemaVersion?: string | undefined;
|
|
2601
|
+
hashVersion?: string | number | undefined;
|
|
2602
|
+
contentHash?: string | undefined;
|
|
2603
|
+
lineage?: {
|
|
2604
|
+
artifactId: string;
|
|
2605
|
+
lineageId: string;
|
|
2606
|
+
rootArtifactId: string;
|
|
2607
|
+
parentArtifactId?: string | undefined;
|
|
2608
|
+
sequence?: number | undefined;
|
|
2609
|
+
} | undefined;
|
|
2610
|
+
parents?: string[] | undefined;
|
|
2611
|
+
lineageDepth?: number | undefined;
|
|
2612
|
+
workflowId?: string | undefined;
|
|
2613
|
+
assumptionLevel?: string | undefined;
|
|
2614
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
2615
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
2616
|
+
scriptMetadata?: {
|
|
2617
|
+
experimental: boolean;
|
|
2618
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2619
|
+
version?: string | undefined;
|
|
2620
|
+
notes?: string[] | undefined;
|
|
2621
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2622
|
+
} | undefined;
|
|
2623
|
+
abi?: any;
|
|
2624
|
+
assumptions?: string[] | undefined;
|
|
2625
|
+
}>;
|
|
2626
|
+
declare const SilverDeployPlanArtifactSchema: z.ZodObject<{
|
|
2627
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
2628
|
+
hardkasVersion: z.ZodString;
|
|
2629
|
+
version: z.ZodLiteral<"1.0.0-alpha">;
|
|
2630
|
+
hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2631
|
+
mode: z.ZodEnum<["simulated", "real", "readonly"]>;
|
|
2632
|
+
contentHash: z.ZodOptional<z.ZodString>;
|
|
2633
|
+
createdAt: z.ZodString;
|
|
2634
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
2635
|
+
artifactId: z.ZodString;
|
|
2636
|
+
lineageId: z.ZodString;
|
|
2637
|
+
parentArtifactId: z.ZodOptional<z.ZodString>;
|
|
2638
|
+
rootArtifactId: z.ZodString;
|
|
2639
|
+
sequence: z.ZodOptional<z.ZodNumber>;
|
|
2640
|
+
}, "strip", z.ZodTypeAny, {
|
|
2641
|
+
artifactId: string;
|
|
2642
|
+
lineageId: string;
|
|
2643
|
+
rootArtifactId: string;
|
|
2644
|
+
parentArtifactId?: string | undefined;
|
|
2645
|
+
sequence?: number | undefined;
|
|
2646
|
+
}, {
|
|
2647
|
+
artifactId: string;
|
|
2648
|
+
lineageId: string;
|
|
2649
|
+
rootArtifactId: string;
|
|
2650
|
+
parentArtifactId?: string | undefined;
|
|
2651
|
+
sequence?: number | undefined;
|
|
2652
|
+
}>>;
|
|
2653
|
+
parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2654
|
+
lineageDepth: z.ZodOptional<z.ZodNumber>;
|
|
2655
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
2656
|
+
assumptionLevel: z.ZodOptional<z.ZodString>;
|
|
2657
|
+
scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
|
|
2658
|
+
scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
|
|
2659
|
+
scriptMetadata: z.ZodOptional<z.ZodObject<{
|
|
2660
|
+
language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
|
|
2661
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2662
|
+
experimental: z.ZodBoolean;
|
|
2663
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2664
|
+
consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
|
|
2665
|
+
}, "strip", z.ZodTypeAny, {
|
|
2666
|
+
experimental: boolean;
|
|
2667
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2668
|
+
version?: string | undefined;
|
|
2669
|
+
notes?: string[] | undefined;
|
|
2670
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2671
|
+
}, {
|
|
2672
|
+
experimental: boolean;
|
|
2673
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2674
|
+
version?: string | undefined;
|
|
2675
|
+
notes?: string[] | undefined;
|
|
2676
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2677
|
+
}>>;
|
|
2678
|
+
} & {
|
|
2679
|
+
schema: z.ZodLiteral<"hardkas.silver.deployPlan">;
|
|
2680
|
+
compileArtifactHash: z.ZodString;
|
|
2681
|
+
compiledScriptHash: z.ZodString;
|
|
2682
|
+
redeemScriptHex: z.ZodString;
|
|
2683
|
+
redeemScriptHash: z.ZodString;
|
|
2684
|
+
lockingScriptHex: z.ZodString;
|
|
2685
|
+
scriptPublicKeyVersion: z.ZodNumber;
|
|
2686
|
+
amountSompi: z.ZodString;
|
|
2687
|
+
networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
|
|
2688
|
+
deployerAddress: z.ZodString;
|
|
2689
|
+
}, "strip", z.ZodTypeAny, {
|
|
2690
|
+
version: "1.0.0-alpha";
|
|
2691
|
+
schema: "hardkas.silver.deployPlan";
|
|
2692
|
+
hardkasVersion: string;
|
|
2693
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
2694
|
+
mode: "simulated" | "real" | "readonly";
|
|
2695
|
+
createdAt: string;
|
|
2696
|
+
amountSompi: string;
|
|
2697
|
+
compiledScriptHash: string;
|
|
2698
|
+
compileArtifactHash: string;
|
|
2699
|
+
redeemScriptHex: string;
|
|
2700
|
+
redeemScriptHash: string;
|
|
2701
|
+
lockingScriptHex: string;
|
|
2702
|
+
scriptPublicKeyVersion: number;
|
|
2703
|
+
deployerAddress: string;
|
|
2704
|
+
schemaVersion?: string | undefined;
|
|
2705
|
+
hashVersion?: string | number | undefined;
|
|
2706
|
+
contentHash?: string | undefined;
|
|
2707
|
+
lineage?: {
|
|
2708
|
+
artifactId: string;
|
|
2709
|
+
lineageId: string;
|
|
2710
|
+
rootArtifactId: string;
|
|
2711
|
+
parentArtifactId?: string | undefined;
|
|
2712
|
+
sequence?: number | undefined;
|
|
2713
|
+
} | undefined;
|
|
2714
|
+
parents?: string[] | undefined;
|
|
2715
|
+
lineageDepth?: number | undefined;
|
|
2716
|
+
workflowId?: string | undefined;
|
|
2717
|
+
assumptionLevel?: string | undefined;
|
|
2718
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
2719
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
2720
|
+
scriptMetadata?: {
|
|
2721
|
+
experimental: boolean;
|
|
2722
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2723
|
+
version?: string | undefined;
|
|
2724
|
+
notes?: string[] | undefined;
|
|
2725
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2726
|
+
} | undefined;
|
|
2727
|
+
}, {
|
|
2728
|
+
version: "1.0.0-alpha";
|
|
2729
|
+
schema: "hardkas.silver.deployPlan";
|
|
2730
|
+
hardkasVersion: string;
|
|
2731
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
2732
|
+
mode: "simulated" | "real" | "readonly";
|
|
2733
|
+
createdAt: string;
|
|
2734
|
+
amountSompi: string;
|
|
2735
|
+
compiledScriptHash: string;
|
|
2736
|
+
compileArtifactHash: string;
|
|
2737
|
+
redeemScriptHex: string;
|
|
2738
|
+
redeemScriptHash: string;
|
|
2739
|
+
lockingScriptHex: string;
|
|
2740
|
+
scriptPublicKeyVersion: number;
|
|
2741
|
+
deployerAddress: string;
|
|
2742
|
+
schemaVersion?: string | undefined;
|
|
2743
|
+
hashVersion?: string | number | undefined;
|
|
2744
|
+
contentHash?: string | undefined;
|
|
2745
|
+
lineage?: {
|
|
2746
|
+
artifactId: string;
|
|
2747
|
+
lineageId: string;
|
|
2748
|
+
rootArtifactId: string;
|
|
2749
|
+
parentArtifactId?: string | undefined;
|
|
2750
|
+
sequence?: number | undefined;
|
|
2751
|
+
} | undefined;
|
|
2752
|
+
parents?: string[] | undefined;
|
|
2753
|
+
lineageDepth?: number | undefined;
|
|
2754
|
+
workflowId?: string | undefined;
|
|
2755
|
+
assumptionLevel?: string | undefined;
|
|
2756
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
2757
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
2758
|
+
scriptMetadata?: {
|
|
2759
|
+
experimental: boolean;
|
|
2760
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2761
|
+
version?: string | undefined;
|
|
2762
|
+
notes?: string[] | undefined;
|
|
2763
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2764
|
+
} | undefined;
|
|
2765
|
+
}>;
|
|
2766
|
+
declare const SilverDeployArtifactSchema: z.ZodObject<{
|
|
2767
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
2768
|
+
hardkasVersion: z.ZodString;
|
|
2769
|
+
version: z.ZodLiteral<"1.0.0-alpha">;
|
|
2770
|
+
hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2771
|
+
mode: z.ZodEnum<["simulated", "real", "readonly"]>;
|
|
2772
|
+
contentHash: z.ZodOptional<z.ZodString>;
|
|
2773
|
+
createdAt: z.ZodString;
|
|
2774
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
2775
|
+
artifactId: z.ZodString;
|
|
2776
|
+
lineageId: z.ZodString;
|
|
2777
|
+
parentArtifactId: z.ZodOptional<z.ZodString>;
|
|
2778
|
+
rootArtifactId: z.ZodString;
|
|
2779
|
+
sequence: z.ZodOptional<z.ZodNumber>;
|
|
2780
|
+
}, "strip", z.ZodTypeAny, {
|
|
2781
|
+
artifactId: string;
|
|
2782
|
+
lineageId: string;
|
|
2783
|
+
rootArtifactId: string;
|
|
2784
|
+
parentArtifactId?: string | undefined;
|
|
2785
|
+
sequence?: number | undefined;
|
|
2786
|
+
}, {
|
|
2787
|
+
artifactId: string;
|
|
2788
|
+
lineageId: string;
|
|
2789
|
+
rootArtifactId: string;
|
|
2790
|
+
parentArtifactId?: string | undefined;
|
|
2791
|
+
sequence?: number | undefined;
|
|
2792
|
+
}>>;
|
|
2793
|
+
parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2794
|
+
lineageDepth: z.ZodOptional<z.ZodNumber>;
|
|
2795
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
2796
|
+
assumptionLevel: z.ZodOptional<z.ZodString>;
|
|
2797
|
+
scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
|
|
2798
|
+
scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
|
|
2799
|
+
scriptMetadata: z.ZodOptional<z.ZodObject<{
|
|
2800
|
+
language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
|
|
2801
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2802
|
+
experimental: z.ZodBoolean;
|
|
2803
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2804
|
+
consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
|
|
2805
|
+
}, "strip", z.ZodTypeAny, {
|
|
2806
|
+
experimental: boolean;
|
|
2807
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2808
|
+
version?: string | undefined;
|
|
2809
|
+
notes?: string[] | undefined;
|
|
2810
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2811
|
+
}, {
|
|
2812
|
+
experimental: boolean;
|
|
2813
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2814
|
+
version?: string | undefined;
|
|
2815
|
+
notes?: string[] | undefined;
|
|
2816
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2817
|
+
}>>;
|
|
2818
|
+
} & {
|
|
2819
|
+
schema: z.ZodLiteral<"hardkas.silver.deploy">;
|
|
2820
|
+
deployPlanHash: z.ZodString;
|
|
2821
|
+
compileArtifactHash: z.ZodString;
|
|
2822
|
+
compiledScriptHash: z.ZodString;
|
|
2823
|
+
redeemScriptHex: z.ZodString;
|
|
2824
|
+
redeemScriptHash: z.ZodString;
|
|
2825
|
+
lockingScriptHex: z.ZodString;
|
|
2826
|
+
scriptPublicKeyVersion: z.ZodNumber;
|
|
2827
|
+
deployTxId: z.ZodString;
|
|
2828
|
+
outputIndex: z.ZodNumber;
|
|
2829
|
+
amountSompi: z.ZodString;
|
|
2830
|
+
networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
|
|
2831
|
+
nodeVersion: z.ZodString;
|
|
2832
|
+
}, "strip", z.ZodTypeAny, {
|
|
2833
|
+
version: "1.0.0-alpha";
|
|
2834
|
+
schema: "hardkas.silver.deploy";
|
|
2835
|
+
hardkasVersion: string;
|
|
2836
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
2837
|
+
mode: "simulated" | "real" | "readonly";
|
|
2838
|
+
createdAt: string;
|
|
2839
|
+
amountSompi: string;
|
|
2840
|
+
compiledScriptHash: string;
|
|
2841
|
+
compileArtifactHash: string;
|
|
2842
|
+
redeemScriptHex: string;
|
|
2843
|
+
redeemScriptHash: string;
|
|
2844
|
+
lockingScriptHex: string;
|
|
2845
|
+
scriptPublicKeyVersion: number;
|
|
2846
|
+
deployPlanHash: string;
|
|
2847
|
+
deployTxId: string;
|
|
2848
|
+
outputIndex: number;
|
|
2849
|
+
nodeVersion: string;
|
|
2850
|
+
schemaVersion?: string | undefined;
|
|
2851
|
+
hashVersion?: string | number | undefined;
|
|
2852
|
+
contentHash?: string | undefined;
|
|
2853
|
+
lineage?: {
|
|
2854
|
+
artifactId: string;
|
|
2855
|
+
lineageId: string;
|
|
2856
|
+
rootArtifactId: string;
|
|
2857
|
+
parentArtifactId?: string | undefined;
|
|
2858
|
+
sequence?: number | undefined;
|
|
2859
|
+
} | undefined;
|
|
2860
|
+
parents?: string[] | undefined;
|
|
2861
|
+
lineageDepth?: number | undefined;
|
|
2862
|
+
workflowId?: string | undefined;
|
|
2863
|
+
assumptionLevel?: string | undefined;
|
|
2864
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
2865
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
2866
|
+
scriptMetadata?: {
|
|
2867
|
+
experimental: boolean;
|
|
2868
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2869
|
+
version?: string | undefined;
|
|
2870
|
+
notes?: string[] | undefined;
|
|
2871
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2872
|
+
} | undefined;
|
|
2873
|
+
}, {
|
|
2874
|
+
version: "1.0.0-alpha";
|
|
2875
|
+
schema: "hardkas.silver.deploy";
|
|
2876
|
+
hardkasVersion: string;
|
|
2877
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
2878
|
+
mode: "simulated" | "real" | "readonly";
|
|
2879
|
+
createdAt: string;
|
|
2880
|
+
amountSompi: string;
|
|
2881
|
+
compiledScriptHash: string;
|
|
2882
|
+
compileArtifactHash: string;
|
|
2883
|
+
redeemScriptHex: string;
|
|
2884
|
+
redeemScriptHash: string;
|
|
2885
|
+
lockingScriptHex: string;
|
|
2886
|
+
scriptPublicKeyVersion: number;
|
|
2887
|
+
deployPlanHash: string;
|
|
2888
|
+
deployTxId: string;
|
|
2889
|
+
outputIndex: number;
|
|
2890
|
+
nodeVersion: string;
|
|
2891
|
+
schemaVersion?: string | undefined;
|
|
2892
|
+
hashVersion?: string | number | undefined;
|
|
2893
|
+
contentHash?: string | undefined;
|
|
2894
|
+
lineage?: {
|
|
2895
|
+
artifactId: string;
|
|
2896
|
+
lineageId: string;
|
|
2897
|
+
rootArtifactId: string;
|
|
2898
|
+
parentArtifactId?: string | undefined;
|
|
2899
|
+
sequence?: number | undefined;
|
|
2900
|
+
} | undefined;
|
|
2901
|
+
parents?: string[] | undefined;
|
|
2902
|
+
lineageDepth?: number | undefined;
|
|
2903
|
+
workflowId?: string | undefined;
|
|
2904
|
+
assumptionLevel?: string | undefined;
|
|
2905
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
2906
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
2907
|
+
scriptMetadata?: {
|
|
2908
|
+
experimental: boolean;
|
|
2909
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2910
|
+
version?: string | undefined;
|
|
2911
|
+
notes?: string[] | undefined;
|
|
2912
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2913
|
+
} | undefined;
|
|
2914
|
+
}>;
|
|
2915
|
+
declare const SilverScriptArgSchema: z.ZodObject<{
|
|
2916
|
+
type: z.ZodLiteral<"hex">;
|
|
2917
|
+
value: z.ZodString;
|
|
2918
|
+
}, "strip", z.ZodTypeAny, {
|
|
2919
|
+
type: "hex";
|
|
2920
|
+
value: string;
|
|
2921
|
+
}, {
|
|
2922
|
+
type: "hex";
|
|
2923
|
+
value: string;
|
|
2924
|
+
}>;
|
|
2925
|
+
declare const SilverSpendPlanArtifactSchema: z.ZodObject<{
|
|
2926
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
2927
|
+
hardkasVersion: z.ZodString;
|
|
2928
|
+
version: z.ZodLiteral<"1.0.0-alpha">;
|
|
2929
|
+
hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2930
|
+
mode: z.ZodEnum<["simulated", "real", "readonly"]>;
|
|
2931
|
+
contentHash: z.ZodOptional<z.ZodString>;
|
|
2932
|
+
createdAt: z.ZodString;
|
|
2933
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
2934
|
+
artifactId: z.ZodString;
|
|
2935
|
+
lineageId: z.ZodString;
|
|
2936
|
+
parentArtifactId: z.ZodOptional<z.ZodString>;
|
|
2937
|
+
rootArtifactId: z.ZodString;
|
|
2938
|
+
sequence: z.ZodOptional<z.ZodNumber>;
|
|
2939
|
+
}, "strip", z.ZodTypeAny, {
|
|
2940
|
+
artifactId: string;
|
|
2941
|
+
lineageId: string;
|
|
2942
|
+
rootArtifactId: string;
|
|
2943
|
+
parentArtifactId?: string | undefined;
|
|
2944
|
+
sequence?: number | undefined;
|
|
2945
|
+
}, {
|
|
2946
|
+
artifactId: string;
|
|
2947
|
+
lineageId: string;
|
|
2948
|
+
rootArtifactId: string;
|
|
2949
|
+
parentArtifactId?: string | undefined;
|
|
2950
|
+
sequence?: number | undefined;
|
|
2951
|
+
}>>;
|
|
2952
|
+
parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2953
|
+
lineageDepth: z.ZodOptional<z.ZodNumber>;
|
|
2954
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
2955
|
+
scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
|
|
2956
|
+
scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
|
|
2957
|
+
scriptMetadata: z.ZodOptional<z.ZodObject<{
|
|
2958
|
+
language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
|
|
2959
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2960
|
+
experimental: z.ZodBoolean;
|
|
2961
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2962
|
+
consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
|
|
2963
|
+
}, "strip", z.ZodTypeAny, {
|
|
2964
|
+
experimental: boolean;
|
|
2965
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2966
|
+
version?: string | undefined;
|
|
2967
|
+
notes?: string[] | undefined;
|
|
2968
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2969
|
+
}, {
|
|
2970
|
+
experimental: boolean;
|
|
2971
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
2972
|
+
version?: string | undefined;
|
|
2973
|
+
notes?: string[] | undefined;
|
|
2974
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
2975
|
+
}>>;
|
|
2976
|
+
} & {
|
|
2977
|
+
schema: z.ZodLiteral<"hardkas.silver.spendPlan">;
|
|
2978
|
+
deployArtifactHash: z.ZodString;
|
|
2979
|
+
compileArtifactHash: z.ZodString;
|
|
2980
|
+
redeemScriptHash: z.ZodString;
|
|
2981
|
+
lockingScriptHex: z.ZodString;
|
|
2982
|
+
contractUtxoRef: z.ZodObject<{
|
|
2983
|
+
transactionId: z.ZodString;
|
|
2984
|
+
index: z.ZodNumber;
|
|
2985
|
+
}, "strip", z.ZodTypeAny, {
|
|
2986
|
+
transactionId: string;
|
|
2987
|
+
index: number;
|
|
2988
|
+
}, {
|
|
2989
|
+
transactionId: string;
|
|
2990
|
+
index: number;
|
|
2991
|
+
}>;
|
|
2992
|
+
args: z.ZodArray<z.ZodObject<{
|
|
2993
|
+
type: z.ZodLiteral<"hex">;
|
|
2994
|
+
value: z.ZodString;
|
|
2995
|
+
}, "strip", z.ZodTypeAny, {
|
|
2996
|
+
type: "hex";
|
|
2997
|
+
value: string;
|
|
2998
|
+
}, {
|
|
2999
|
+
type: "hex";
|
|
3000
|
+
value: string;
|
|
3001
|
+
}>, "many">;
|
|
3002
|
+
argsHash: z.ZodString;
|
|
3003
|
+
signatureScriptHex: z.ZodString;
|
|
3004
|
+
expectedOutputs: z.ZodArray<z.ZodObject<{
|
|
3005
|
+
address: z.ZodString;
|
|
3006
|
+
amountSompi: z.ZodString;
|
|
3007
|
+
scriptHash: z.ZodOptional<z.ZodString>;
|
|
3008
|
+
}, "strip", z.ZodTypeAny, {
|
|
3009
|
+
address: string;
|
|
3010
|
+
amountSompi: string;
|
|
3011
|
+
scriptHash?: string | undefined;
|
|
3012
|
+
}, {
|
|
3013
|
+
address: string;
|
|
3014
|
+
amountSompi: string;
|
|
3015
|
+
scriptHash?: string | undefined;
|
|
3016
|
+
}>, "many">;
|
|
3017
|
+
networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
|
|
3018
|
+
assumptionLevel: z.ZodOptional<z.ZodString>;
|
|
3019
|
+
}, "strip", z.ZodTypeAny, {
|
|
3020
|
+
version: "1.0.0-alpha";
|
|
3021
|
+
schema: "hardkas.silver.spendPlan";
|
|
3022
|
+
hardkasVersion: string;
|
|
3023
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
3024
|
+
mode: "simulated" | "real" | "readonly";
|
|
3025
|
+
createdAt: string;
|
|
3026
|
+
compileArtifactHash: string;
|
|
3027
|
+
redeemScriptHash: string;
|
|
3028
|
+
lockingScriptHex: string;
|
|
3029
|
+
deployArtifactHash: string;
|
|
3030
|
+
contractUtxoRef: {
|
|
3031
|
+
transactionId: string;
|
|
3032
|
+
index: number;
|
|
3033
|
+
};
|
|
3034
|
+
args: {
|
|
3035
|
+
type: "hex";
|
|
3036
|
+
value: string;
|
|
3037
|
+
}[];
|
|
3038
|
+
argsHash: string;
|
|
3039
|
+
signatureScriptHex: string;
|
|
3040
|
+
expectedOutputs: {
|
|
3041
|
+
address: string;
|
|
3042
|
+
amountSompi: string;
|
|
3043
|
+
scriptHash?: string | undefined;
|
|
3044
|
+
}[];
|
|
3045
|
+
schemaVersion?: string | undefined;
|
|
3046
|
+
hashVersion?: string | number | undefined;
|
|
3047
|
+
contentHash?: string | undefined;
|
|
3048
|
+
lineage?: {
|
|
3049
|
+
artifactId: string;
|
|
3050
|
+
lineageId: string;
|
|
3051
|
+
rootArtifactId: string;
|
|
3052
|
+
parentArtifactId?: string | undefined;
|
|
3053
|
+
sequence?: number | undefined;
|
|
3054
|
+
} | undefined;
|
|
3055
|
+
parents?: string[] | undefined;
|
|
3056
|
+
lineageDepth?: number | undefined;
|
|
3057
|
+
workflowId?: string | undefined;
|
|
3058
|
+
assumptionLevel?: string | undefined;
|
|
3059
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
3060
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
3061
|
+
scriptMetadata?: {
|
|
3062
|
+
experimental: boolean;
|
|
3063
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3064
|
+
version?: string | undefined;
|
|
3065
|
+
notes?: string[] | undefined;
|
|
3066
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3067
|
+
} | undefined;
|
|
3068
|
+
}, {
|
|
3069
|
+
version: "1.0.0-alpha";
|
|
3070
|
+
schema: "hardkas.silver.spendPlan";
|
|
3071
|
+
hardkasVersion: string;
|
|
3072
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
3073
|
+
mode: "simulated" | "real" | "readonly";
|
|
3074
|
+
createdAt: string;
|
|
3075
|
+
compileArtifactHash: string;
|
|
3076
|
+
redeemScriptHash: string;
|
|
3077
|
+
lockingScriptHex: string;
|
|
3078
|
+
deployArtifactHash: string;
|
|
3079
|
+
contractUtxoRef: {
|
|
3080
|
+
transactionId: string;
|
|
3081
|
+
index: number;
|
|
3082
|
+
};
|
|
3083
|
+
args: {
|
|
3084
|
+
type: "hex";
|
|
3085
|
+
value: string;
|
|
3086
|
+
}[];
|
|
3087
|
+
argsHash: string;
|
|
3088
|
+
signatureScriptHex: string;
|
|
3089
|
+
expectedOutputs: {
|
|
3090
|
+
address: string;
|
|
3091
|
+
amountSompi: string;
|
|
3092
|
+
scriptHash?: string | undefined;
|
|
3093
|
+
}[];
|
|
3094
|
+
schemaVersion?: string | undefined;
|
|
3095
|
+
hashVersion?: string | number | undefined;
|
|
3096
|
+
contentHash?: string | undefined;
|
|
3097
|
+
lineage?: {
|
|
3098
|
+
artifactId: string;
|
|
3099
|
+
lineageId: string;
|
|
3100
|
+
rootArtifactId: string;
|
|
3101
|
+
parentArtifactId?: string | undefined;
|
|
3102
|
+
sequence?: number | undefined;
|
|
3103
|
+
} | undefined;
|
|
3104
|
+
parents?: string[] | undefined;
|
|
3105
|
+
lineageDepth?: number | undefined;
|
|
3106
|
+
workflowId?: string | undefined;
|
|
3107
|
+
assumptionLevel?: string | undefined;
|
|
3108
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
3109
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
3110
|
+
scriptMetadata?: {
|
|
3111
|
+
experimental: boolean;
|
|
3112
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3113
|
+
version?: string | undefined;
|
|
3114
|
+
notes?: string[] | undefined;
|
|
3115
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3116
|
+
} | undefined;
|
|
3117
|
+
}>;
|
|
3118
|
+
declare const SilverSpendReceiptArtifactSchema: z.ZodObject<{
|
|
3119
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
3120
|
+
hardkasVersion: z.ZodString;
|
|
3121
|
+
version: z.ZodLiteral<"1.0.0-alpha">;
|
|
3122
|
+
hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3123
|
+
networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
|
|
3124
|
+
mode: z.ZodEnum<["simulated", "real", "readonly"]>;
|
|
3125
|
+
contentHash: z.ZodOptional<z.ZodString>;
|
|
3126
|
+
createdAt: z.ZodString;
|
|
3127
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
3128
|
+
artifactId: z.ZodString;
|
|
3129
|
+
lineageId: z.ZodString;
|
|
3130
|
+
parentArtifactId: z.ZodOptional<z.ZodString>;
|
|
3131
|
+
rootArtifactId: z.ZodString;
|
|
3132
|
+
sequence: z.ZodOptional<z.ZodNumber>;
|
|
3133
|
+
}, "strip", z.ZodTypeAny, {
|
|
3134
|
+
artifactId: string;
|
|
3135
|
+
lineageId: string;
|
|
3136
|
+
rootArtifactId: string;
|
|
3137
|
+
parentArtifactId?: string | undefined;
|
|
3138
|
+
sequence?: number | undefined;
|
|
3139
|
+
}, {
|
|
3140
|
+
artifactId: string;
|
|
3141
|
+
lineageId: string;
|
|
3142
|
+
rootArtifactId: string;
|
|
3143
|
+
parentArtifactId?: string | undefined;
|
|
3144
|
+
sequence?: number | undefined;
|
|
3145
|
+
}>>;
|
|
3146
|
+
parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3147
|
+
lineageDepth: z.ZodOptional<z.ZodNumber>;
|
|
3148
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
3149
|
+
assumptionLevel: z.ZodOptional<z.ZodString>;
|
|
3150
|
+
scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
|
|
3151
|
+
scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
|
|
3152
|
+
scriptMetadata: z.ZodOptional<z.ZodObject<{
|
|
3153
|
+
language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
|
|
3154
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3155
|
+
experimental: z.ZodBoolean;
|
|
3156
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3157
|
+
consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
|
|
3158
|
+
}, "strip", z.ZodTypeAny, {
|
|
3159
|
+
experimental: boolean;
|
|
3160
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3161
|
+
version?: string | undefined;
|
|
3162
|
+
notes?: string[] | undefined;
|
|
3163
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3164
|
+
}, {
|
|
3165
|
+
experimental: boolean;
|
|
3166
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3167
|
+
version?: string | undefined;
|
|
3168
|
+
notes?: string[] | undefined;
|
|
3169
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3170
|
+
}>>;
|
|
3171
|
+
} & {
|
|
3172
|
+
schema: z.ZodLiteral<"hardkas.silver.spendReceipt">;
|
|
3173
|
+
spendPlanHash: z.ZodString;
|
|
3174
|
+
deployArtifactHash: z.ZodOptional<z.ZodString>;
|
|
3175
|
+
redeemScriptHash: z.ZodOptional<z.ZodString>;
|
|
3176
|
+
lockingScriptHex: z.ZodOptional<z.ZodString>;
|
|
3177
|
+
signatureScriptHex: z.ZodOptional<z.ZodString>;
|
|
3178
|
+
spentOutpoint: z.ZodOptional<z.ZodObject<{
|
|
3179
|
+
transactionId: z.ZodString;
|
|
3180
|
+
index: z.ZodNumber;
|
|
3181
|
+
}, "strip", z.ZodTypeAny, {
|
|
3182
|
+
transactionId: string;
|
|
3183
|
+
index: number;
|
|
3184
|
+
}, {
|
|
3185
|
+
transactionId: string;
|
|
3186
|
+
index: number;
|
|
3187
|
+
}>>;
|
|
3188
|
+
expectedOutputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3189
|
+
address: z.ZodString;
|
|
3190
|
+
amountSompi: z.ZodString;
|
|
3191
|
+
scriptHash: z.ZodOptional<z.ZodString>;
|
|
3192
|
+
}, "strip", z.ZodTypeAny, {
|
|
3193
|
+
address: string;
|
|
3194
|
+
amountSompi: string;
|
|
3195
|
+
scriptHash?: string | undefined;
|
|
3196
|
+
}, {
|
|
3197
|
+
address: string;
|
|
3198
|
+
amountSompi: string;
|
|
3199
|
+
scriptHash?: string | undefined;
|
|
3200
|
+
}>, "many">>;
|
|
3201
|
+
txId: z.ZodString;
|
|
3202
|
+
status: z.ZodEnum<["simulated", "submitted", "accepted", "rejected"]>;
|
|
3203
|
+
}, "strip", z.ZodTypeAny, {
|
|
3204
|
+
status: "simulated" | "submitted" | "accepted" | "rejected";
|
|
3205
|
+
version: "1.0.0-alpha";
|
|
3206
|
+
schema: "hardkas.silver.spendReceipt";
|
|
3207
|
+
hardkasVersion: string;
|
|
3208
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
3209
|
+
mode: "simulated" | "real" | "readonly";
|
|
3210
|
+
createdAt: string;
|
|
3211
|
+
txId: string;
|
|
3212
|
+
spendPlanHash: string;
|
|
3213
|
+
schemaVersion?: string | undefined;
|
|
3214
|
+
hashVersion?: string | number | undefined;
|
|
3215
|
+
contentHash?: string | undefined;
|
|
3216
|
+
lineage?: {
|
|
3217
|
+
artifactId: string;
|
|
3218
|
+
lineageId: string;
|
|
3219
|
+
rootArtifactId: string;
|
|
3220
|
+
parentArtifactId?: string | undefined;
|
|
3221
|
+
sequence?: number | undefined;
|
|
3222
|
+
} | undefined;
|
|
3223
|
+
parents?: string[] | undefined;
|
|
3224
|
+
lineageDepth?: number | undefined;
|
|
3225
|
+
workflowId?: string | undefined;
|
|
3226
|
+
assumptionLevel?: string | undefined;
|
|
3227
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
3228
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
3229
|
+
scriptMetadata?: {
|
|
3230
|
+
experimental: boolean;
|
|
3231
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3232
|
+
version?: string | undefined;
|
|
3233
|
+
notes?: string[] | undefined;
|
|
3234
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3235
|
+
} | undefined;
|
|
3236
|
+
redeemScriptHash?: string | undefined;
|
|
3237
|
+
lockingScriptHex?: string | undefined;
|
|
3238
|
+
deployArtifactHash?: string | undefined;
|
|
3239
|
+
signatureScriptHex?: string | undefined;
|
|
3240
|
+
expectedOutputs?: {
|
|
3241
|
+
address: string;
|
|
3242
|
+
amountSompi: string;
|
|
3243
|
+
scriptHash?: string | undefined;
|
|
3244
|
+
}[] | undefined;
|
|
3245
|
+
spentOutpoint?: {
|
|
3246
|
+
transactionId: string;
|
|
3247
|
+
index: number;
|
|
3248
|
+
} | undefined;
|
|
3249
|
+
}, {
|
|
3250
|
+
status: "simulated" | "submitted" | "accepted" | "rejected";
|
|
3251
|
+
version: "1.0.0-alpha";
|
|
3252
|
+
schema: "hardkas.silver.spendReceipt";
|
|
3253
|
+
hardkasVersion: string;
|
|
3254
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
3255
|
+
mode: "simulated" | "real" | "readonly";
|
|
3256
|
+
createdAt: string;
|
|
3257
|
+
txId: string;
|
|
3258
|
+
spendPlanHash: string;
|
|
3259
|
+
schemaVersion?: string | undefined;
|
|
3260
|
+
hashVersion?: string | number | undefined;
|
|
3261
|
+
contentHash?: string | undefined;
|
|
3262
|
+
lineage?: {
|
|
3263
|
+
artifactId: string;
|
|
3264
|
+
lineageId: string;
|
|
3265
|
+
rootArtifactId: string;
|
|
3266
|
+
parentArtifactId?: string | undefined;
|
|
3267
|
+
sequence?: number | undefined;
|
|
3268
|
+
} | undefined;
|
|
3269
|
+
parents?: string[] | undefined;
|
|
3270
|
+
lineageDepth?: number | undefined;
|
|
3271
|
+
workflowId?: string | undefined;
|
|
3272
|
+
assumptionLevel?: string | undefined;
|
|
3273
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
3274
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
3275
|
+
scriptMetadata?: {
|
|
3276
|
+
experimental: boolean;
|
|
3277
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3278
|
+
version?: string | undefined;
|
|
3279
|
+
notes?: string[] | undefined;
|
|
3280
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3281
|
+
} | undefined;
|
|
3282
|
+
redeemScriptHash?: string | undefined;
|
|
3283
|
+
lockingScriptHex?: string | undefined;
|
|
3284
|
+
deployArtifactHash?: string | undefined;
|
|
3285
|
+
signatureScriptHex?: string | undefined;
|
|
3286
|
+
expectedOutputs?: {
|
|
3287
|
+
address: string;
|
|
3288
|
+
amountSompi: string;
|
|
3289
|
+
scriptHash?: string | undefined;
|
|
3290
|
+
}[] | undefined;
|
|
3291
|
+
spentOutpoint?: {
|
|
3292
|
+
transactionId: string;
|
|
3293
|
+
index: number;
|
|
3294
|
+
} | undefined;
|
|
3295
|
+
}>;
|
|
3296
|
+
declare const SilverDeploySimulationArtifactSchema: z.ZodObject<{
|
|
3297
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
3298
|
+
hardkasVersion: z.ZodString;
|
|
3299
|
+
version: z.ZodLiteral<"1.0.0-alpha">;
|
|
3300
|
+
hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3301
|
+
networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
|
|
3302
|
+
mode: z.ZodEnum<["simulated", "real", "readonly"]>;
|
|
3303
|
+
contentHash: z.ZodOptional<z.ZodString>;
|
|
3304
|
+
createdAt: z.ZodString;
|
|
3305
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
3306
|
+
artifactId: z.ZodString;
|
|
3307
|
+
lineageId: z.ZodString;
|
|
3308
|
+
parentArtifactId: z.ZodOptional<z.ZodString>;
|
|
3309
|
+
rootArtifactId: z.ZodString;
|
|
3310
|
+
sequence: z.ZodOptional<z.ZodNumber>;
|
|
3311
|
+
}, "strip", z.ZodTypeAny, {
|
|
3312
|
+
artifactId: string;
|
|
3313
|
+
lineageId: string;
|
|
3314
|
+
rootArtifactId: string;
|
|
3315
|
+
parentArtifactId?: string | undefined;
|
|
3316
|
+
sequence?: number | undefined;
|
|
3317
|
+
}, {
|
|
3318
|
+
artifactId: string;
|
|
3319
|
+
lineageId: string;
|
|
3320
|
+
rootArtifactId: string;
|
|
3321
|
+
parentArtifactId?: string | undefined;
|
|
3322
|
+
sequence?: number | undefined;
|
|
3323
|
+
}>>;
|
|
3324
|
+
parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3325
|
+
lineageDepth: z.ZodOptional<z.ZodNumber>;
|
|
3326
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
3327
|
+
assumptionLevel: z.ZodOptional<z.ZodString>;
|
|
3328
|
+
scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
|
|
3329
|
+
scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
|
|
3330
|
+
scriptMetadata: z.ZodOptional<z.ZodObject<{
|
|
3331
|
+
language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
|
|
3332
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3333
|
+
experimental: z.ZodBoolean;
|
|
3334
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3335
|
+
consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
|
|
3336
|
+
}, "strip", z.ZodTypeAny, {
|
|
3337
|
+
experimental: boolean;
|
|
3338
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3339
|
+
version?: string | undefined;
|
|
3340
|
+
notes?: string[] | undefined;
|
|
3341
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3342
|
+
}, {
|
|
3343
|
+
experimental: boolean;
|
|
3344
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3345
|
+
version?: string | undefined;
|
|
3346
|
+
notes?: string[] | undefined;
|
|
3347
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3348
|
+
}>>;
|
|
3349
|
+
} & {
|
|
3350
|
+
schema: z.ZodLiteral<"hardkas.silver.deploySimulation">;
|
|
3351
|
+
deployPlanHash: z.ZodString;
|
|
3352
|
+
compileArtifactHash: z.ZodString;
|
|
3353
|
+
compiledScriptHash: z.ZodString;
|
|
3354
|
+
redeemScriptHex: z.ZodString;
|
|
3355
|
+
redeemScriptHash: z.ZodString;
|
|
3356
|
+
lockingScriptHex: z.ZodString;
|
|
3357
|
+
scriptPublicKeyVersion: z.ZodLiteral<0>;
|
|
3358
|
+
simulatedDeployTxId: z.ZodString;
|
|
3359
|
+
syntheticOutpoint: z.ZodObject<{
|
|
3360
|
+
transactionId: z.ZodString;
|
|
3361
|
+
index: z.ZodNumber;
|
|
3362
|
+
}, "strip", z.ZodTypeAny, {
|
|
3363
|
+
transactionId: string;
|
|
3364
|
+
index: number;
|
|
3365
|
+
}, {
|
|
3366
|
+
transactionId: string;
|
|
3367
|
+
index: number;
|
|
3368
|
+
}>;
|
|
3369
|
+
amountSompi: z.ZodString;
|
|
3370
|
+
feeSompi: z.ZodString;
|
|
3371
|
+
status: z.ZodLiteral<"SIMULATED_ACCEPTED">;
|
|
3372
|
+
}, "strip", z.ZodTypeAny, {
|
|
3373
|
+
status: "SIMULATED_ACCEPTED";
|
|
3374
|
+
version: "1.0.0-alpha";
|
|
3375
|
+
schema: "hardkas.silver.deploySimulation";
|
|
3376
|
+
hardkasVersion: string;
|
|
3377
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
3378
|
+
mode: "simulated" | "real" | "readonly";
|
|
3379
|
+
createdAt: string;
|
|
3380
|
+
amountSompi: string;
|
|
3381
|
+
feeSompi: string;
|
|
3382
|
+
compiledScriptHash: string;
|
|
3383
|
+
compileArtifactHash: string;
|
|
3384
|
+
redeemScriptHex: string;
|
|
3385
|
+
redeemScriptHash: string;
|
|
3386
|
+
lockingScriptHex: string;
|
|
3387
|
+
scriptPublicKeyVersion: 0;
|
|
3388
|
+
deployPlanHash: string;
|
|
3389
|
+
simulatedDeployTxId: string;
|
|
3390
|
+
syntheticOutpoint: {
|
|
3391
|
+
transactionId: string;
|
|
3392
|
+
index: number;
|
|
3393
|
+
};
|
|
3394
|
+
schemaVersion?: string | undefined;
|
|
3395
|
+
hashVersion?: string | number | undefined;
|
|
3396
|
+
contentHash?: string | undefined;
|
|
3397
|
+
lineage?: {
|
|
3398
|
+
artifactId: string;
|
|
3399
|
+
lineageId: string;
|
|
3400
|
+
rootArtifactId: string;
|
|
3401
|
+
parentArtifactId?: string | undefined;
|
|
3402
|
+
sequence?: number | undefined;
|
|
3403
|
+
} | undefined;
|
|
3404
|
+
parents?: string[] | undefined;
|
|
3405
|
+
lineageDepth?: number | undefined;
|
|
3406
|
+
workflowId?: string | undefined;
|
|
3407
|
+
assumptionLevel?: string | undefined;
|
|
3408
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
3409
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
3410
|
+
scriptMetadata?: {
|
|
3411
|
+
experimental: boolean;
|
|
3412
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3413
|
+
version?: string | undefined;
|
|
3414
|
+
notes?: string[] | undefined;
|
|
3415
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3416
|
+
} | undefined;
|
|
3417
|
+
}, {
|
|
3418
|
+
status: "SIMULATED_ACCEPTED";
|
|
3419
|
+
version: "1.0.0-alpha";
|
|
3420
|
+
schema: "hardkas.silver.deploySimulation";
|
|
3421
|
+
hardkasVersion: string;
|
|
3422
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
3423
|
+
mode: "simulated" | "real" | "readonly";
|
|
3424
|
+
createdAt: string;
|
|
3425
|
+
amountSompi: string;
|
|
3426
|
+
feeSompi: string;
|
|
3427
|
+
compiledScriptHash: string;
|
|
3428
|
+
compileArtifactHash: string;
|
|
3429
|
+
redeemScriptHex: string;
|
|
3430
|
+
redeemScriptHash: string;
|
|
3431
|
+
lockingScriptHex: string;
|
|
3432
|
+
scriptPublicKeyVersion: 0;
|
|
3433
|
+
deployPlanHash: string;
|
|
3434
|
+
simulatedDeployTxId: string;
|
|
3435
|
+
syntheticOutpoint: {
|
|
3436
|
+
transactionId: string;
|
|
3437
|
+
index: number;
|
|
3438
|
+
};
|
|
3439
|
+
schemaVersion?: string | undefined;
|
|
3440
|
+
hashVersion?: string | number | undefined;
|
|
3441
|
+
contentHash?: string | undefined;
|
|
3442
|
+
lineage?: {
|
|
3443
|
+
artifactId: string;
|
|
3444
|
+
lineageId: string;
|
|
3445
|
+
rootArtifactId: string;
|
|
3446
|
+
parentArtifactId?: string | undefined;
|
|
3447
|
+
sequence?: number | undefined;
|
|
3448
|
+
} | undefined;
|
|
3449
|
+
parents?: string[] | undefined;
|
|
3450
|
+
lineageDepth?: number | undefined;
|
|
3451
|
+
workflowId?: string | undefined;
|
|
3452
|
+
assumptionLevel?: string | undefined;
|
|
3453
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
3454
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
3455
|
+
scriptMetadata?: {
|
|
3456
|
+
experimental: boolean;
|
|
3457
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3458
|
+
version?: string | undefined;
|
|
3459
|
+
notes?: string[] | undefined;
|
|
3460
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3461
|
+
} | undefined;
|
|
3462
|
+
}>;
|
|
3463
|
+
declare const SilverSpendSimulationArtifactSchema: z.ZodObject<{
|
|
3464
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
3465
|
+
hardkasVersion: z.ZodString;
|
|
3466
|
+
version: z.ZodLiteral<"1.0.0-alpha">;
|
|
3467
|
+
hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3468
|
+
networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
|
|
3469
|
+
mode: z.ZodEnum<["simulated", "real", "readonly"]>;
|
|
3470
|
+
contentHash: z.ZodOptional<z.ZodString>;
|
|
3471
|
+
createdAt: z.ZodString;
|
|
3472
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
3473
|
+
artifactId: z.ZodString;
|
|
3474
|
+
lineageId: z.ZodString;
|
|
3475
|
+
parentArtifactId: z.ZodOptional<z.ZodString>;
|
|
3476
|
+
rootArtifactId: z.ZodString;
|
|
3477
|
+
sequence: z.ZodOptional<z.ZodNumber>;
|
|
3478
|
+
}, "strip", z.ZodTypeAny, {
|
|
3479
|
+
artifactId: string;
|
|
3480
|
+
lineageId: string;
|
|
3481
|
+
rootArtifactId: string;
|
|
3482
|
+
parentArtifactId?: string | undefined;
|
|
3483
|
+
sequence?: number | undefined;
|
|
3484
|
+
}, {
|
|
3485
|
+
artifactId: string;
|
|
3486
|
+
lineageId: string;
|
|
3487
|
+
rootArtifactId: string;
|
|
3488
|
+
parentArtifactId?: string | undefined;
|
|
3489
|
+
sequence?: number | undefined;
|
|
3490
|
+
}>>;
|
|
3491
|
+
parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3492
|
+
lineageDepth: z.ZodOptional<z.ZodNumber>;
|
|
3493
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
3494
|
+
assumptionLevel: z.ZodOptional<z.ZodString>;
|
|
3495
|
+
scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
|
|
3496
|
+
scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
|
|
3497
|
+
scriptMetadata: z.ZodOptional<z.ZodObject<{
|
|
3498
|
+
language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
|
|
3499
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3500
|
+
experimental: z.ZodBoolean;
|
|
3501
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3502
|
+
consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
|
|
3503
|
+
}, "strip", z.ZodTypeAny, {
|
|
3504
|
+
experimental: boolean;
|
|
3505
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3506
|
+
version?: string | undefined;
|
|
3507
|
+
notes?: string[] | undefined;
|
|
3508
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3509
|
+
}, {
|
|
3510
|
+
experimental: boolean;
|
|
3511
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3512
|
+
version?: string | undefined;
|
|
3513
|
+
notes?: string[] | undefined;
|
|
3514
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3515
|
+
}>>;
|
|
3516
|
+
} & {
|
|
3517
|
+
schema: z.ZodLiteral<"hardkas.silver.spendSimulation">;
|
|
3518
|
+
deploySimulationHash: z.ZodString;
|
|
3519
|
+
spendPlanHash: z.ZodString;
|
|
3520
|
+
redeemScriptHash: z.ZodString;
|
|
3521
|
+
lockingScriptHex: z.ZodString;
|
|
3522
|
+
signatureScriptHex: z.ZodString;
|
|
3523
|
+
simulatedSpendTxId: z.ZodString;
|
|
3524
|
+
spentOutpoint: z.ZodObject<{
|
|
3525
|
+
transactionId: z.ZodString;
|
|
3526
|
+
index: z.ZodNumber;
|
|
3527
|
+
}, "strip", z.ZodTypeAny, {
|
|
3528
|
+
transactionId: string;
|
|
3529
|
+
index: number;
|
|
3530
|
+
}, {
|
|
3531
|
+
transactionId: string;
|
|
3532
|
+
index: number;
|
|
3533
|
+
}>;
|
|
3534
|
+
expectedOutputs: z.ZodArray<z.ZodObject<{
|
|
3535
|
+
address: z.ZodString;
|
|
3536
|
+
amountSompi: z.ZodString;
|
|
3537
|
+
scriptHash: z.ZodOptional<z.ZodString>;
|
|
3538
|
+
}, "strip", z.ZodTypeAny, {
|
|
3539
|
+
address: string;
|
|
3540
|
+
amountSompi: string;
|
|
3541
|
+
scriptHash?: string | undefined;
|
|
3542
|
+
}, {
|
|
3543
|
+
address: string;
|
|
3544
|
+
amountSompi: string;
|
|
3545
|
+
scriptHash?: string | undefined;
|
|
3546
|
+
}>, "many">;
|
|
3547
|
+
feeSompi: z.ZodString;
|
|
3548
|
+
status: z.ZodLiteral<"SIMULATED_ACCEPTED">;
|
|
3549
|
+
}, "strip", z.ZodTypeAny, {
|
|
3550
|
+
status: "SIMULATED_ACCEPTED";
|
|
3551
|
+
version: "1.0.0-alpha";
|
|
3552
|
+
schema: "hardkas.silver.spendSimulation";
|
|
3553
|
+
hardkasVersion: string;
|
|
3554
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
3555
|
+
mode: "simulated" | "real" | "readonly";
|
|
3556
|
+
createdAt: string;
|
|
3557
|
+
feeSompi: string;
|
|
3558
|
+
redeemScriptHash: string;
|
|
3559
|
+
lockingScriptHex: string;
|
|
3560
|
+
signatureScriptHex: string;
|
|
3561
|
+
expectedOutputs: {
|
|
3562
|
+
address: string;
|
|
3563
|
+
amountSompi: string;
|
|
3564
|
+
scriptHash?: string | undefined;
|
|
3565
|
+
}[];
|
|
3566
|
+
spendPlanHash: string;
|
|
3567
|
+
spentOutpoint: {
|
|
3568
|
+
transactionId: string;
|
|
3569
|
+
index: number;
|
|
3570
|
+
};
|
|
3571
|
+
deploySimulationHash: string;
|
|
3572
|
+
simulatedSpendTxId: string;
|
|
3573
|
+
schemaVersion?: string | undefined;
|
|
3574
|
+
hashVersion?: string | number | undefined;
|
|
3575
|
+
contentHash?: string | undefined;
|
|
3576
|
+
lineage?: {
|
|
3577
|
+
artifactId: string;
|
|
3578
|
+
lineageId: string;
|
|
3579
|
+
rootArtifactId: string;
|
|
3580
|
+
parentArtifactId?: string | undefined;
|
|
3581
|
+
sequence?: number | undefined;
|
|
3582
|
+
} | undefined;
|
|
3583
|
+
parents?: string[] | undefined;
|
|
3584
|
+
lineageDepth?: number | undefined;
|
|
3585
|
+
workflowId?: string | undefined;
|
|
3586
|
+
assumptionLevel?: string | undefined;
|
|
3587
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
3588
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
3589
|
+
scriptMetadata?: {
|
|
3590
|
+
experimental: boolean;
|
|
3591
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3592
|
+
version?: string | undefined;
|
|
3593
|
+
notes?: string[] | undefined;
|
|
3594
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3595
|
+
} | undefined;
|
|
3596
|
+
}, {
|
|
3597
|
+
status: "SIMULATED_ACCEPTED";
|
|
3598
|
+
version: "1.0.0-alpha";
|
|
3599
|
+
schema: "hardkas.silver.spendSimulation";
|
|
3600
|
+
hardkasVersion: string;
|
|
3601
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
3602
|
+
mode: "simulated" | "real" | "readonly";
|
|
3603
|
+
createdAt: string;
|
|
3604
|
+
feeSompi: string;
|
|
3605
|
+
redeemScriptHash: string;
|
|
3606
|
+
lockingScriptHex: string;
|
|
3607
|
+
signatureScriptHex: string;
|
|
3608
|
+
expectedOutputs: {
|
|
3609
|
+
address: string;
|
|
3610
|
+
amountSompi: string;
|
|
3611
|
+
scriptHash?: string | undefined;
|
|
3612
|
+
}[];
|
|
3613
|
+
spendPlanHash: string;
|
|
3614
|
+
spentOutpoint: {
|
|
3615
|
+
transactionId: string;
|
|
3616
|
+
index: number;
|
|
3617
|
+
};
|
|
3618
|
+
deploySimulationHash: string;
|
|
3619
|
+
simulatedSpendTxId: string;
|
|
3620
|
+
schemaVersion?: string | undefined;
|
|
3621
|
+
hashVersion?: string | number | undefined;
|
|
3622
|
+
contentHash?: string | undefined;
|
|
3623
|
+
lineage?: {
|
|
3624
|
+
artifactId: string;
|
|
3625
|
+
lineageId: string;
|
|
3626
|
+
rootArtifactId: string;
|
|
3627
|
+
parentArtifactId?: string | undefined;
|
|
3628
|
+
sequence?: number | undefined;
|
|
3629
|
+
} | undefined;
|
|
3630
|
+
parents?: string[] | undefined;
|
|
3631
|
+
lineageDepth?: number | undefined;
|
|
3632
|
+
workflowId?: string | undefined;
|
|
3633
|
+
assumptionLevel?: string | undefined;
|
|
3634
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
3635
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
3636
|
+
scriptMetadata?: {
|
|
3637
|
+
experimental: boolean;
|
|
3638
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3639
|
+
version?: string | undefined;
|
|
3640
|
+
notes?: string[] | undefined;
|
|
3641
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3642
|
+
} | undefined;
|
|
3643
|
+
}>;
|
|
3644
|
+
declare const SilverTestArtifactSchema: z.ZodObject<{
|
|
3645
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
3646
|
+
hardkasVersion: z.ZodString;
|
|
3647
|
+
version: z.ZodLiteral<"1.0.0-alpha">;
|
|
3648
|
+
hashVersion: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
3649
|
+
networkId: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
|
|
3650
|
+
mode: z.ZodEnum<["simulated", "real", "readonly"]>;
|
|
3651
|
+
contentHash: z.ZodOptional<z.ZodString>;
|
|
3652
|
+
createdAt: z.ZodString;
|
|
3653
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
3654
|
+
artifactId: z.ZodString;
|
|
3655
|
+
lineageId: z.ZodString;
|
|
3656
|
+
parentArtifactId: z.ZodOptional<z.ZodString>;
|
|
3657
|
+
rootArtifactId: z.ZodString;
|
|
3658
|
+
sequence: z.ZodOptional<z.ZodNumber>;
|
|
3659
|
+
}, "strip", z.ZodTypeAny, {
|
|
3660
|
+
artifactId: string;
|
|
3661
|
+
lineageId: string;
|
|
3662
|
+
rootArtifactId: string;
|
|
3663
|
+
parentArtifactId?: string | undefined;
|
|
3664
|
+
sequence?: number | undefined;
|
|
3665
|
+
}, {
|
|
3666
|
+
artifactId: string;
|
|
3667
|
+
lineageId: string;
|
|
3668
|
+
rootArtifactId: string;
|
|
3669
|
+
parentArtifactId?: string | undefined;
|
|
3670
|
+
sequence?: number | undefined;
|
|
3671
|
+
}>>;
|
|
3672
|
+
parents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3673
|
+
lineageDepth: z.ZodOptional<z.ZodNumber>;
|
|
3674
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
3675
|
+
assumptionLevel: z.ZodOptional<z.ZodString>;
|
|
3676
|
+
scriptProfile: z.ZodOptional<z.ZodEnum<["standard", "experimental"]>>;
|
|
3677
|
+
scriptCapabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["p2pk", "multisig", "timelock", "covenant-experimental", "silverscript-experimental", "tockata-experimental"]>, "many">>;
|
|
3678
|
+
scriptMetadata: z.ZodOptional<z.ZodObject<{
|
|
3679
|
+
language: z.ZodOptional<z.ZodEnum<["native", "silverscript", "tockata"]>>;
|
|
3680
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3681
|
+
experimental: z.ZodBoolean;
|
|
3682
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3683
|
+
consensusImpact: z.ZodOptional<z.ZodEnum<["none", "experimental"]>>;
|
|
3684
|
+
}, "strip", z.ZodTypeAny, {
|
|
3685
|
+
experimental: boolean;
|
|
3686
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3687
|
+
version?: string | undefined;
|
|
3688
|
+
notes?: string[] | undefined;
|
|
3689
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3690
|
+
}, {
|
|
3691
|
+
experimental: boolean;
|
|
3692
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3693
|
+
version?: string | undefined;
|
|
3694
|
+
notes?: string[] | undefined;
|
|
3695
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3696
|
+
}>>;
|
|
3697
|
+
} & {
|
|
3698
|
+
schema: z.ZodLiteral<"hardkas.silver.test">;
|
|
3699
|
+
compileArtifactHash: z.ZodString;
|
|
3700
|
+
sourceHash: z.ZodString;
|
|
3701
|
+
compiledScriptHash: z.ZodString;
|
|
3702
|
+
testVectorsHash: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3703
|
+
compilerName: z.ZodString;
|
|
3704
|
+
compilerVersion: z.ZodString;
|
|
3705
|
+
results: z.ZodArray<z.ZodObject<{
|
|
3706
|
+
name: z.ZodString;
|
|
3707
|
+
status: z.ZodEnum<["PASS", "FAIL", "SKIPPED", "EXPECTED_COMPILER_FAILURE", "PARTIAL_TEST_VECTOR_SUPPORT"]>;
|
|
3708
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3709
|
+
}, "strip", z.ZodTypeAny, {
|
|
3710
|
+
status: "PASS" | "FAIL" | "SKIPPED" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
|
|
3711
|
+
name: string;
|
|
3712
|
+
reason?: string | undefined;
|
|
3713
|
+
}, {
|
|
3714
|
+
status: "PASS" | "FAIL" | "SKIPPED" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
|
|
3715
|
+
name: string;
|
|
3716
|
+
reason?: string | undefined;
|
|
3717
|
+
}>, "many">;
|
|
3718
|
+
status: z.ZodEnum<["PASS", "FAIL", "PARTIAL_TEST_VECTOR_SUPPORT", "EXPECTED_COMPILER_FAILURE"]>;
|
|
3719
|
+
}, "strip", z.ZodTypeAny, {
|
|
3720
|
+
status: "PASS" | "FAIL" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
|
|
3721
|
+
version: "1.0.0-alpha";
|
|
3722
|
+
schema: "hardkas.silver.test";
|
|
3723
|
+
hardkasVersion: string;
|
|
3724
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
3725
|
+
mode: "simulated" | "real" | "readonly";
|
|
3726
|
+
createdAt: string;
|
|
3727
|
+
sourceHash: string;
|
|
3728
|
+
compilerName: string;
|
|
3729
|
+
compilerVersion: string;
|
|
3730
|
+
compiledScriptHash: string;
|
|
3731
|
+
compileArtifactHash: string;
|
|
3732
|
+
results: {
|
|
3733
|
+
status: "PASS" | "FAIL" | "SKIPPED" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
|
|
3734
|
+
name: string;
|
|
3735
|
+
reason?: string | undefined;
|
|
3736
|
+
}[];
|
|
3737
|
+
schemaVersion?: string | undefined;
|
|
3738
|
+
hashVersion?: string | number | undefined;
|
|
3739
|
+
contentHash?: string | undefined;
|
|
3740
|
+
lineage?: {
|
|
3741
|
+
artifactId: string;
|
|
3742
|
+
lineageId: string;
|
|
3743
|
+
rootArtifactId: string;
|
|
3744
|
+
parentArtifactId?: string | undefined;
|
|
3745
|
+
sequence?: number | undefined;
|
|
3746
|
+
} | undefined;
|
|
3747
|
+
parents?: string[] | undefined;
|
|
3748
|
+
lineageDepth?: number | undefined;
|
|
3749
|
+
workflowId?: string | undefined;
|
|
3750
|
+
assumptionLevel?: string | undefined;
|
|
3751
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
3752
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
3753
|
+
scriptMetadata?: {
|
|
3754
|
+
experimental: boolean;
|
|
3755
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3756
|
+
version?: string | undefined;
|
|
3757
|
+
notes?: string[] | undefined;
|
|
3758
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3759
|
+
} | undefined;
|
|
3760
|
+
testVectorsHash?: string | null | undefined;
|
|
3761
|
+
}, {
|
|
3762
|
+
status: "PASS" | "FAIL" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
|
|
3763
|
+
version: "1.0.0-alpha";
|
|
3764
|
+
schema: "hardkas.silver.test";
|
|
3765
|
+
hardkasVersion: string;
|
|
3766
|
+
networkId: "simulated" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "igra";
|
|
3767
|
+
mode: "simulated" | "real" | "readonly";
|
|
3768
|
+
createdAt: string;
|
|
3769
|
+
sourceHash: string;
|
|
3770
|
+
compilerName: string;
|
|
3771
|
+
compilerVersion: string;
|
|
3772
|
+
compiledScriptHash: string;
|
|
3773
|
+
compileArtifactHash: string;
|
|
3774
|
+
results: {
|
|
3775
|
+
status: "PASS" | "FAIL" | "SKIPPED" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
|
|
3776
|
+
name: string;
|
|
3777
|
+
reason?: string | undefined;
|
|
3778
|
+
}[];
|
|
3779
|
+
schemaVersion?: string | undefined;
|
|
3780
|
+
hashVersion?: string | number | undefined;
|
|
3781
|
+
contentHash?: string | undefined;
|
|
3782
|
+
lineage?: {
|
|
3783
|
+
artifactId: string;
|
|
3784
|
+
lineageId: string;
|
|
3785
|
+
rootArtifactId: string;
|
|
3786
|
+
parentArtifactId?: string | undefined;
|
|
3787
|
+
sequence?: number | undefined;
|
|
3788
|
+
} | undefined;
|
|
3789
|
+
parents?: string[] | undefined;
|
|
3790
|
+
lineageDepth?: number | undefined;
|
|
3791
|
+
workflowId?: string | undefined;
|
|
3792
|
+
assumptionLevel?: string | undefined;
|
|
3793
|
+
scriptProfile?: "experimental" | "standard" | undefined;
|
|
3794
|
+
scriptCapabilities?: ("p2pk" | "multisig" | "timelock" | "covenant-experimental" | "silverscript-experimental" | "tockata-experimental")[] | undefined;
|
|
3795
|
+
scriptMetadata?: {
|
|
3796
|
+
experimental: boolean;
|
|
3797
|
+
language?: "native" | "silverscript" | "tockata" | undefined;
|
|
3798
|
+
version?: string | undefined;
|
|
3799
|
+
notes?: string[] | undefined;
|
|
3800
|
+
consensusImpact?: "experimental" | "none" | undefined;
|
|
3801
|
+
} | undefined;
|
|
3802
|
+
testVectorsHash?: string | null | undefined;
|
|
3803
|
+
}>;
|
|
2472
3804
|
|
|
2473
3805
|
interface ArtifactValidationResult {
|
|
2474
3806
|
ok: boolean;
|
|
@@ -2930,6 +4262,131 @@ interface DeploymentSummary {
|
|
|
2930
4262
|
deployedAt: string;
|
|
2931
4263
|
contentHash: string;
|
|
2932
4264
|
}
|
|
4265
|
+
interface SilverCompileArtifact extends BaseArtifact<"silver.compile"> {
|
|
4266
|
+
sourcePath: string;
|
|
4267
|
+
sourceHash: string;
|
|
4268
|
+
compilerName: string;
|
|
4269
|
+
compilerVersion: string;
|
|
4270
|
+
compilerCommand: string;
|
|
4271
|
+
compiledScriptHex?: string | undefined;
|
|
4272
|
+
compiledScriptHash?: string | undefined;
|
|
4273
|
+
abi?: any | undefined;
|
|
4274
|
+
network: string;
|
|
4275
|
+
assumptions?: string[] | undefined;
|
|
4276
|
+
}
|
|
4277
|
+
interface SilverTestArtifact extends BaseArtifact<"silver.test"> {
|
|
4278
|
+
compileArtifactHash: string;
|
|
4279
|
+
sourceHash: string;
|
|
4280
|
+
compiledScriptHash: string;
|
|
4281
|
+
testVectorsHash?: string | null | undefined;
|
|
4282
|
+
compilerName: string;
|
|
4283
|
+
compilerVersion: string;
|
|
4284
|
+
results: Array<{
|
|
4285
|
+
name: string;
|
|
4286
|
+
status: "PASS" | "FAIL" | "SKIPPED" | "EXPECTED_COMPILER_FAILURE" | "PARTIAL_TEST_VECTOR_SUPPORT";
|
|
4287
|
+
reason?: string | undefined;
|
|
4288
|
+
}>;
|
|
4289
|
+
status: "PASS" | "FAIL" | "PARTIAL_TEST_VECTOR_SUPPORT" | "EXPECTED_COMPILER_FAILURE";
|
|
4290
|
+
}
|
|
4291
|
+
interface SilverDeployPlanArtifact extends BaseArtifact<"silver.deployPlan"> {
|
|
4292
|
+
compileArtifactHash: string;
|
|
4293
|
+
compiledScriptHash: string;
|
|
4294
|
+
redeemScriptHex: string;
|
|
4295
|
+
redeemScriptHash: string;
|
|
4296
|
+
lockingScriptHex: string;
|
|
4297
|
+
scriptPublicKeyVersion: number;
|
|
4298
|
+
amountSompi: string;
|
|
4299
|
+
deployerAddress: string;
|
|
4300
|
+
}
|
|
4301
|
+
interface SilverDeployArtifact extends BaseArtifact<"silver.deploy"> {
|
|
4302
|
+
deployPlanHash: string;
|
|
4303
|
+
compileArtifactHash: string;
|
|
4304
|
+
compiledScriptHash: string;
|
|
4305
|
+
redeemScriptHex: string;
|
|
4306
|
+
redeemScriptHash: string;
|
|
4307
|
+
lockingScriptHex: string;
|
|
4308
|
+
scriptPublicKeyVersion: number;
|
|
4309
|
+
deployTxId: string;
|
|
4310
|
+
outputIndex: number;
|
|
4311
|
+
amountSompi: string;
|
|
4312
|
+
nodeVersion: string;
|
|
4313
|
+
}
|
|
4314
|
+
interface SilverSpendPlanArtifact extends BaseArtifact<"silver.spendPlan"> {
|
|
4315
|
+
deployArtifactHash: string;
|
|
4316
|
+
compileArtifactHash: string;
|
|
4317
|
+
redeemScriptHash: string;
|
|
4318
|
+
lockingScriptHex: string;
|
|
4319
|
+
contractUtxoRef: {
|
|
4320
|
+
transactionId: string;
|
|
4321
|
+
index: number;
|
|
4322
|
+
};
|
|
4323
|
+
args: Array<{
|
|
4324
|
+
type: "hex";
|
|
4325
|
+
value: string;
|
|
4326
|
+
}>;
|
|
4327
|
+
argsHash: string;
|
|
4328
|
+
signatureScriptHex: string;
|
|
4329
|
+
expectedOutputs: Array<{
|
|
4330
|
+
address: string;
|
|
4331
|
+
amountSompi: string;
|
|
4332
|
+
scriptHash?: string | undefined;
|
|
4333
|
+
}>;
|
|
4334
|
+
assumptionLevel?: AssumptionLevel | undefined;
|
|
4335
|
+
}
|
|
4336
|
+
interface SilverSpendReceiptArtifact extends BaseArtifact<"silver.spendReceipt"> {
|
|
4337
|
+
spendPlanHash: string;
|
|
4338
|
+
deployArtifactHash?: string | undefined;
|
|
4339
|
+
redeemScriptHash?: string | undefined;
|
|
4340
|
+
lockingScriptHex?: string | undefined;
|
|
4341
|
+
signatureScriptHex?: string | undefined;
|
|
4342
|
+
spentOutpoint?: {
|
|
4343
|
+
transactionId: string;
|
|
4344
|
+
index: number;
|
|
4345
|
+
} | undefined;
|
|
4346
|
+
expectedOutputs?: Array<{
|
|
4347
|
+
address: string;
|
|
4348
|
+
amountSompi: string;
|
|
4349
|
+
scriptHash?: string | undefined;
|
|
4350
|
+
}> | undefined;
|
|
4351
|
+
txId: string;
|
|
4352
|
+
status: "simulated" | "submitted" | "accepted" | "rejected";
|
|
4353
|
+
}
|
|
4354
|
+
interface SilverDeploySimulationArtifact extends BaseArtifact<"silver.deploySimulation"> {
|
|
4355
|
+
deployPlanHash: string;
|
|
4356
|
+
compileArtifactHash: string;
|
|
4357
|
+
compiledScriptHash: string;
|
|
4358
|
+
redeemScriptHex: string;
|
|
4359
|
+
redeemScriptHash: string;
|
|
4360
|
+
lockingScriptHex: string;
|
|
4361
|
+
scriptPublicKeyVersion: 0;
|
|
4362
|
+
simulatedDeployTxId: string;
|
|
4363
|
+
syntheticOutpoint: {
|
|
4364
|
+
transactionId: string;
|
|
4365
|
+
index: number;
|
|
4366
|
+
};
|
|
4367
|
+
amountSompi: string;
|
|
4368
|
+
feeSompi: string;
|
|
4369
|
+
status: "SIMULATED_ACCEPTED";
|
|
4370
|
+
}
|
|
4371
|
+
interface SilverSpendSimulationArtifact extends BaseArtifact<"silver.spendSimulation"> {
|
|
4372
|
+
deploySimulationHash: string;
|
|
4373
|
+
spendPlanHash: string;
|
|
4374
|
+
redeemScriptHash: string;
|
|
4375
|
+
lockingScriptHex: string;
|
|
4376
|
+
signatureScriptHex: string;
|
|
4377
|
+
simulatedSpendTxId: string;
|
|
4378
|
+
spentOutpoint: {
|
|
4379
|
+
transactionId: string;
|
|
4380
|
+
index: number;
|
|
4381
|
+
};
|
|
4382
|
+
expectedOutputs: Array<{
|
|
4383
|
+
address: string;
|
|
4384
|
+
amountSompi: string;
|
|
4385
|
+
scriptHash?: string | undefined;
|
|
4386
|
+
}>;
|
|
4387
|
+
feeSompi: string;
|
|
4388
|
+
status: "SIMULATED_ACCEPTED";
|
|
4389
|
+
}
|
|
2933
4390
|
|
|
2934
4391
|
declare const SEMANTIC_EXCLUSIONS: Set<string>;
|
|
2935
4392
|
declare const V4_SEMANTIC_EXCLUSIONS: Set<string>;
|
|
@@ -3521,4 +4978,4 @@ interface ExternalHardkasSigner {
|
|
|
3521
4978
|
signTransaction(txPlan: TxPlanArtifact): Promise<SignedTxArtifact>;
|
|
3522
4979
|
}
|
|
3523
4980
|
|
|
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 };
|
|
4981
|
+
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 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, 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 };
|