Create an instance of Zoe.

This will fail upgrades and should only be used in tests through the helper makeZoeKitForTest.

  • Parameters

    • OptionalvatAdminSvc: VatAdminSvc | Promise<VatAdminSvc>

      The vatAdmin Service, which carries the power to create a new vat. If it's not available when makeZoe() is called, it must be provided later using setVatAdminService().

    • OptionalshutdownZoeVat: ShutdownWithFailure

      a function to shutdown the Zoe Vat. This function needs to use the vatPowers available to a vat.

    • OptionalfeeIssuerConfig: FeeIssuerConfig
    • OptionalzcfSpec: ZCFSpec

      Pointer to the contract facet bundle.

    Returns {
        feeMintAccess: FeeMintAccess;
        setVatAdminService: ((lateVatAdminSvc: any) => void) & RemotableObject<`Alleged: ${string}`> & RemotableBrand<{}, ((lateVatAdminSvc: any) => void)>;
        zoeConfigFacet: Guarded<{
            updateZcfBundleId(bundleId: any): void;
        }>;
        zoeService: Guarded<ZoeService>;
    }

    • feeMintAccess: FeeMintAccess
    • setVatAdminService: ((lateVatAdminSvc: any) => void) & RemotableObject<`Alleged: ${string}`> & RemotableBrand<{}, ((lateVatAdminSvc: any) => void)>
    • zoeConfigFacet: Guarded<{
          updateZcfBundleId(bundleId: any): void;
      }>
    • zoeService: Guarded<ZoeService>