@cfxlabsinc/b2b-services
    Preparing search index...

    Hierarchy (View Summary)

    Index
    bankAdminService: BankAdminService
    cache: ServiceCache<{ hasNext: boolean; items: DepositBankMemoSearchItem[] }>
    db: B2bDatabase
    entityService: EntityService
    eventPublisher: CustomerEventPublisher
    productQuoteService: ProductQuoteService
    instance: (...args: []) => DepositBankMemoService = ...

    The process default: built from each dependency's own instance().

    • The memo slices the pool its product's route names for the entity. Takes no caller tx: it publishes an event and busts once the insert commits.

      Parameters

      • __namedParameters: Pick<DepositBankMemo, "name" | "productId" | "chain" | "frequency"> & {
            address: Address;
            customerId: string;
            entityId: string;
            sourceCurrency: string;
        }

      Returns Promise<
          | { ok: true; value: DepositBankMemo }
          | { error: ServiceError; ok: false },
      >

    • Parameters

      • __namedParameters: {
            customerId: string;
            includeDeleted?: boolean;
            memo: string;
            tx?: PgAsyncTransaction<NodePgQueryResultHKT, EmptyRelations>;
        }

      Returns Promise<
          {
              ok: true;
              value: | (
                  DepositBankMemo & { entityId: string; entityName: string; entityReferenceId: string | null; ledgerAccountName: string | null; }
              )
              | null;
          },
      >