@agoric/zoe
Version:
Zoe: the Smart Contract Framework for Offer Enforcement
12 lines • 590 B
TypeScript
export function makeOfferHandlerStorage(zcfBaggage: any): {
storeOfferHandler: (offerHandler: any) => globalThis.Handle<"Invitation">;
takeOfferHandler: (invitationHandle: InvitationHandle, details?: Details) => OfferHandler;
};
/**
* The following should work. But for some reason,
*/
export type Details = string | {};
export type PassableOfferHandler = RemotableBrand<any, any> & RemotableObject & OfferHandler;
import type { RemotableBrand } from '@endo/eventual-send';
import type { RemotableObject } from '@endo/pass-style';
//# sourceMappingURL=offerHandlerStorage.d.ts.map