@agoric/zoe
Version:
Zoe: the Smart Contract Framework for Offer Enforcement
19 lines • 853 B
TypeScript
export function makeInstallationStorage(getBundleCapForID: GetBundleCapForID, zoeBaggage: Baggage): import("@endo/exo").Guarded<{
installBundle(allegedBundle: any, bundleLabel: any): Promise<globalThis.Installation>;
installBundleID(bundleID: any, bundleLabel?: any): Promise<globalThis.Installation<unknown>>;
unwrapInstallation(installation: any): {
bundleCap: any;
bundleID: string;
installation: any;
bundle?: undefined;
} | {
bundle: SourceBundle;
installation: any;
bundleCap?: undefined;
bundleID?: undefined;
};
getBundleIDFromInstallation(allegedInstallation: any): Promise<string | undefined>;
}>;
import type { Baggage } from '@agoric/swingset-liveslots';
import type { SourceBundle } from '@agoric/zoe';
//# sourceMappingURL=installationStorage.d.ts.map