• Provide a NameHub for this address and insert depositFacet only if not already done.

    Parameters

    • address: string
    • wallet: {
          getCurrentSubscriber(): Subscriber<CurrentWalletRecord>;
          getDepositFacet(): Guarded<{
              receive(payment): Promise<Amount<AssetKind>>;
          }>;
          getOffersFacet(): Guarded<{
              executeOffer(offerSpec): Promise<void>;
              tryExitOffer(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, canSpend?): Promise<void>;
          repairWalletForIncarnation2(key): void;
      } & GetInterfaceGuard<{
          getCurrentSubscriber(): Subscriber<CurrentWalletRecord>;
          getDepositFacet(): Guarded<{
              receive(payment): Promise<Amount<AssetKind>>;
          }>;
          getOffersFacet(): Guarded<{
              executeOffer(offerSpec): Promise<void>;
              tryExitOffer(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, canSpend?): Promise<void>;
          repairWalletForIncarnation2(key): void;
      }> & RemotableBrand<{}, {
          getCurrentSubscriber(): Subscriber<CurrentWalletRecord>;
          getDepositFacet(): Guarded<{
              receive(payment): Promise<Amount<AssetKind>>;
          }>;
          getOffersFacet(): Guarded<{
              executeOffer(offerSpec): Promise<void>;
              tryExitOffer(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, canSpend?): Promise<void>;
          repairWalletForIncarnation2(key): void;
      } & GetInterfaceGuard<{
          getCurrentSubscriber(): Subscriber<CurrentWalletRecord>;
          getDepositFacet(): Guarded<{
              receive(payment): Promise<Amount<AssetKind>>;
          }>;
          getOffersFacet(): Guarded<{
              executeOffer(offerSpec): Promise<void>;
              tryExitOffer(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, canSpend?): Promise<void>;
          repairWalletForIncarnation2(key): void;
      }>>
    • namesByAddressAdmin: ERef<NameAdmin>

    Returns Promise<unknown>

Generated using TypeDoc