@agoric/zoe
Version:
Zoe: the Smart Contract Framework for Offer Enforcement
11 lines • 529 B
TypeScript
export function prepareOwnable<MN extends (string | symbol)[]>(zone: import("@agoric/base-zone").Zone, makeInvitation: ZCF["makeInvitation"], uKindName: string, uMethodNames: MN, options?: OwnableOptions): <U>(underlying: U) => Partial<U> & {
makeTransferInvitation: () => Invitation<U>;
};
export type OwnableOptions = {
/**
* The `interfaceName` of the underlying interface guard.
* Defaults to the `uKindName`.
*/
uInterfaceName?: string | undefined;
};
//# sourceMappingURL=prepare-ownable.d.ts.map