- prepare(zcf, privateArgs, baggage): Promise<{
creatorFacet: Guarded<{
provideSmartWallet(address: string, bank: ERef<Bank>, namesByAddressAdmin: ERef<NameAdmin>): Promise<[wallet: {
getCurrentSubscriber(): Subscriber<CurrentWalletRecord>;
getDepositFacet(): Guarded<{
receive(payment: Payment): Promise<(...)>;
}>;
getOffersFacet(): Guarded<{
executeOffer(offerSpec: OfferSpec): Promise<(...)>;
tryExitOffer(offerId: OfferId): Promise<(...)>;
}>;
getPublicTopics(): {
current: {
description: string;
storagePath: Promise<(...)>;
subscriber: Subscriber<(...)>;
};
updates: {
description: string;
storagePath: Promise<(...)>;
subscriber: Subscriber<(...)>;
};
};
getUpdatesSubscriber(): Subscriber<UpdateRecord>;
handleBridgeAction(actionCapData: CapData<null | string>, canSpend??: boolean): Promise<void>;
} & GetInterfaceGuard<{
getCurrentSubscriber(): Subscriber<CurrentWalletRecord>;
getDepositFacet(): Guarded<{
receive(payment: ...): ...;
}>;
getOffersFacet(): Guarded<{
executeOffer(offerSpec: ...): ...;
tryExitOffer(offerId: ...): ...;
}>;
getPublicTopics(): {
current: {
description: ...;
storagePath: ...;
subscriber: ...;
};
updates: {
description: ...;
storagePath: ...;
subscriber: ...;
};
};
getUpdatesSubscriber(): Subscriber<UpdateRecord>;
handleBridgeAction(actionCapData: CapData<(...) | (...)>, canSpend??: boolean): Promise<void>;
}> & RemotableBrand<{}, {
getCurrentSubscriber(): Subscriber<(...)>;
getDepositFacet(): Guarded<(...)>;
getOffersFacet(): Guarded<(...)>;
getPublicTopics(): {
current: ...;
updates: ...;
};
getUpdatesSubscriber(): Subscriber<(...)>;
handleBridgeAction(actionCapData: CapData<(...)>, canSpend??: (...) | (...) | (...)): Promise<(...)>;
} & GetInterfaceGuard<{
getCurrentSubscriber(): ...;
getDepositFacet(): ...;
getOffersFacet(): ...;
getPublicTopics(): ...;
getUpdatesSubscriber(): ...;
handleBridgeAction(actionCapData: ..., canSpend??: ...): ...;
}>> & RemotableObject, isNew: boolean]>;
}>;
}> Returns Promise<{
creatorFacet: Guarded<{
provideSmartWallet(address: string, bank: ERef<Bank>, namesByAddressAdmin: ERef<NameAdmin>): Promise<[wallet: {
getCurrentSubscriber(): Subscriber<CurrentWalletRecord>;
getDepositFacet(): Guarded<{
receive(payment: Payment): Promise<(...)>;
}>;
getOffersFacet(): Guarded<{
executeOffer(offerSpec: OfferSpec): Promise<(...)>;
tryExitOffer(offerId: OfferId): Promise<(...)>;
}>;
getPublicTopics(): {
current: {
description: string;
storagePath: Promise<(...)>;
subscriber: Subscriber<(...)>;
};
updates: {
description: string;
storagePath: Promise<(...)>;
subscriber: Subscriber<(...)>;
};
};
getUpdatesSubscriber(): Subscriber<UpdateRecord>;
handleBridgeAction(actionCapData: CapData<null | string>, canSpend??: boolean): Promise<void>;
} & GetInterfaceGuard<{
getCurrentSubscriber(): Subscriber<CurrentWalletRecord>;
getDepositFacet(): Guarded<{
receive(payment: ...): ...;
}>;
getOffersFacet(): Guarded<{
executeOffer(offerSpec: ...): ...;
tryExitOffer(offerId: ...): ...;
}>;
getPublicTopics(): {
current: {
description: ...;
storagePath: ...;
subscriber: ...;
};
updates: {
description: ...;
storagePath: ...;
subscriber: ...;
};
};
getUpdatesSubscriber(): Subscriber<UpdateRecord>;
handleBridgeAction(actionCapData: CapData<(...) | (...)>, canSpend??: boolean): Promise<void>;
}> & RemotableBrand<{}, {
getCurrentSubscriber(): Subscriber<(...)>;
getDepositFacet(): Guarded<(...)>;
getOffersFacet(): Guarded<(...)>;
getPublicTopics(): {
current: ...;
updates: ...;
};
getUpdatesSubscriber(): Subscriber<(...)>;
handleBridgeAction(actionCapData: CapData<(...)>, canSpend??: (...) | (...) | (...)): Promise<(...)>;
} & GetInterfaceGuard<{
getCurrentSubscriber(): ...;
getDepositFacet(): ...;
getOffersFacet(): ...;
getPublicTopics(): ...;
getUpdatesSubscriber(): ...;
handleBridgeAction(actionCapData: ..., canSpend??: ...): ...;
}>> & RemotableObject, isNew: boolean]>;
}>;
}>