UNPKG

@agoric/zoe

Version:

Zoe: the Smart Contract Framework for Offer Enforcement

40 lines 2 kB
export function makeZoeStorageManager(createZCFVat: CreateZCFVat, getBundleCapForID: GetBundleCapForID, shutdownZoeVat: ShutdownWithFailure, feeMint: { getFeeIssuerKit: GetFeeIssuerKit; getFeeIssuer: () => Issuer; getFeeBrand: () => Brand; }, zoeBaggage: Baggage): import("@endo/exo").GuardedKit<{ zoeServiceDataAccess: { getInvitationIssuer: () => globalThis.Issuer<"set", import("@agoric/zoe").InvitationDetails>; getBundleIDFromInstallation(allegedInstallation: any): Promise<string | undefined>; getPublicFacet(instance: any): any; getBrands(instance: any): any; getIssuers(instance: any): any; getOfferFilter(instance: any): any; getTerms(instance: any): any; getInstallation(instance: any): any; getProposalShapeForInvitation: (invitationHandle: any) => any; installBundle: (allegedBundle: any, bundleLabel: any) => Promise<globalThis.Installation>; installBundleID(bundleID: any, bundleLabel: any): Promise<globalThis.Installation<unknown>>; }; makeOfferAccess: { getAssetKindByBrand: GetAssetKindByBrand; getInstanceAdmin(instance: any): any; getProposalShapeForInvitation: (invitationHandle: any) => any; getInvitationIssuer: () => globalThis.Issuer<"set", import("@agoric/zoe").InvitationDetails>; depositPayments(proposal: any, payments: any): Promise<Allocation>; }; startInstanceAccess: { makeZoeInstanceStorageManager: MakeZoeInstanceStorageManager; unwrapInstallation(installationP: ERef<Installation>): ERef<{ bundle?: SourceBundle; bundleCap?: BundleCap; bundleID?: BundleID; installation: Installation; }>; }; invitationIssuerAccess: { getInvitationIssuer: () => globalThis.Issuer<"set", import("@agoric/zoe").InvitationDetails>; }; }>; import type { Baggage } from '@agoric/vat-data'; //# sourceMappingURL=zoeStorageManager.d.ts.map