@scuro/sdk 0.1.0-beta.1

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.
@@ -0,0 +1,12 @@
1
+ import { type DeploymentOutputLabel } from "./generated/protocol";
2
+ import type { ActorLabel, BuiltinProfileKey, DeploymentProfile, ExpressionLabel, ModuleIdLabel, NormalizedDeployment } from "./internal/types";
3
+ export declare const ANVIL_LOCAL_PROFILE: DeploymentProfile;
4
+ export declare const TESTNET_BETA_PROFILE: DeploymentProfile;
5
+ export declare function defineDeploymentProfile(profile: DeploymentProfile): DeploymentProfile;
6
+ export declare function getDeploymentProfile(key: BuiltinProfileKey | string): DeploymentProfile | undefined;
7
+ export declare function listDeploymentProfiles(): DeploymentProfile[];
8
+ export declare function normalizeDeploymentLabels(input: Partial<Record<DeploymentOutputLabel, string>> | DeploymentProfile | NormalizedDeployment): NormalizedDeployment;
9
+ export declare function mergeProfileWithLabels(profile: DeploymentProfile, labels: Partial<Record<DeploymentOutputLabel, string>>): DeploymentProfile;
10
+ export declare function requireDeploymentAddress(deployment: NormalizedDeployment, label: keyof NormalizedDeployment["contracts"] | ActorLabel | "Admin"): `0x${string}`;
11
+ export declare function requireModuleId(deployment: NormalizedDeployment, label: ModuleIdLabel): bigint;
12
+ export declare function requireExpressionId(deployment: NormalizedDeployment, label: ExpressionLabel): bigint;