Function publishDepositFacet
- publishDepositFacet(address, wallet, namesByAddressAdmin): Promise<unknown>
 Parameters
- address: string
 - wallet: { 
    getCurrentSubscriber(): Subscriber<CurrentWalletRecord>; 
    getDepositFacet(): Guarded<{ 
        receive(payment: Payment): Promise<Amount>; 
    }>; 
    getInvokeFacet(): Guarded<{ 
        invokeEntry(message: InvokeEntryMessage): Promise<void>; 
    }>; 
    getOffersFacet(): Guarded<{ 
        executeOffer(offerSpec: OfferSpec): Promise<void>; 
        tryExitOffer(offerId: OfferId): Promise<void>; 
    }>; 
    getPublicTopics(): { 
        current: { 
            description: string; 
            storagePath: Promise<string>; 
            subscriber: Subscriber<CurrentWalletRecord>; 
        }; 
        updates: { 
            description: string; 
            storagePath: Promise<string>; 
            subscriber: Subscriber<UpdateRecord>; 
        }; 
    }; 
    getUpdatesSubscriber(): Subscriber<UpdateRecord>; 
    handleBridgeAction(actionCapData: CapData<null | string>, canSpend??: boolean): Promise<void>; 
} & GetInterfaceGuard<{ 
    getCurrentSubscriber(): Subscriber<CurrentWalletRecord>; 
    getDepositFacet(): Guarded<{ 
        receive(payment: Payment): Promise<Amount>; 
    }>; 
    getInvokeFacet(): Guarded<{ 
        invokeEntry(message: InvokeEntryMessage): Promise<void>; 
    }>; 
    getOffersFacet(): Guarded<{ 
        executeOffer(offerSpec: OfferSpec): Promise<void>; 
        tryExitOffer(offerId: OfferId): Promise<void>; 
    }>; 
    getPublicTopics(): { 
        current: { 
            description: string; 
            storagePath: Promise<string>; 
            subscriber: Subscriber<CurrentWalletRecord>; 
        }; 
        updates: { 
            description: string; 
            storagePath: Promise<string>; 
            subscriber: Subscriber<UpdateRecord>; 
        }; 
    }; 
    getUpdatesSubscriber(): Subscriber<UpdateRecord>; 
    handleBridgeAction(actionCapData: CapData<null | string>, canSpend??: boolean): Promise<void>; 
}> & RemotableBrand<{}, { 
    getCurrentSubscriber(): Subscriber<CurrentWalletRecord>; 
    getDepositFacet(): Guarded<{ 
        receive(payment: Payment): Promise<Amount>; 
    }>; 
    getInvokeFacet(): Guarded<{ 
        invokeEntry(message: InvokeEntryMessage): Promise<void>; 
    }>; 
    getOffersFacet(): Guarded<{ 
        executeOffer(offerSpec: OfferSpec): Promise<void>; 
        tryExitOffer(offerId: OfferId): Promise<void>; 
    }>; 
    getPublicTopics(): { 
        current: { 
            description: string; 
            storagePath: Promise<string>; 
            subscriber: Subscriber<CurrentWalletRecord>; 
        }; 
        updates: { 
            description: string; 
            storagePath: Promise<string>; 
            subscriber: Subscriber<UpdateRecord>; 
        }; 
    }; 
    getUpdatesSubscriber(): Subscriber<UpdateRecord>; 
    handleBridgeAction(actionCapData: CapData<null | string>, canSpend??: boolean): Promise<void>; 
} & GetInterfaceGuard<{ 
    getCurrentSubscriber(): Subscriber<CurrentWalletRecord>; 
    getDepositFacet(): Guarded<{ 
        receive(payment: Payment): Promise<Amount>; 
    }>; 
    getInvokeFacet(): Guarded<{ 
        invokeEntry(message: InvokeEntryMessage): Promise<void>; 
    }>; 
    getOffersFacet(): Guarded<{ 
        executeOffer(offerSpec: OfferSpec): Promise<void>; 
        tryExitOffer(offerId: OfferId): Promise<void>; 
    }>; 
    getPublicTopics(): { 
        current: { 
            description: string; 
            storagePath: Promise<string>; 
            subscriber: Subscriber<CurrentWalletRecord>; 
        }; 
        updates: { 
            description: string; 
            storagePath: Promise<string>; 
            subscriber: Subscriber<UpdateRecord>; 
        }; 
    }; 
    getUpdatesSubscriber(): Subscriber<UpdateRecord>; 
    handleBridgeAction(actionCapData: CapData<null | string>, canSpend??: boolean): Promise<void>; 
}>> & RemotableObject - namesByAddressAdmin: ERef<NameAdmin>
 
Returns Promise<unknown>
Provide a NameHub for this address and insert depositFacet only if not already done.