@cfxlabsinc/b2b-services
    Preparing search index...
    Index
    • Parameters

      • args: {
            bankTransactionService: BankTransactionService;
            customerQueryService: CustomerQueryService;
            DEPOSIT_TASK_QUEUE: string;
            depositAdminService: DepositAdminService;
            depositQuoteService: DepositQuoteService;
            productQuoteService: ProductQuoteService;
            temporalClient: Client;
            victorAccountQueryService: VictorAccountQueryService;
            virtualAccountQueryService: VirtualAccountQueryService;
        }

      Returns RtpDepositQuoteService

    • Parameters

      • args: {
            customerId: string;
            entityId: string;
            ffcMemo?: string;
            idempotencyKey?: string;
            senderName?: string;
            sourceAmount: BigNumber;
            sourceCurrency: string;
            targetCurrency: "MOVEUSD";
            tchInstitutionId?: string;
            walletAddress: Address;
            walletBlockchain: "SOLANA";
        }
        • customerId: string
        • entityId: string
        • OptionalffcMemo?: string
        • OptionalidempotencyKey?: string

          Caller-supplied dedupe token threaded into the audit quote so a re-drive of the same source (e.g. bank-transaction webhook redelivery) reuses the pinned product_quote instead of orphaning a fresh one.

        • OptionalsenderName?: string
        • sourceAmount: BigNumber
        • sourceCurrency: string
        • targetCurrency: "MOVEUSD"
        • OptionaltchInstitutionId?: string
        • walletAddress: Address
        • walletBlockchain: "SOLANA"

      Returns Promise<
          | { ok: true; value: DepositQuote
          | null }
          | {
              error: PreRouteError | LimitExceededError | QuoteInvariantError;
              ok: false;
          },
      >

    • Parameters

      • args: {
            bankTransactionId: string;
            customerId: string;
            entityId: string;
            memo?: string;
            senderName?: string;
            tchInstitutionId?: string;
            walletAddress: Address;
            walletBlockchain: "SOLANA";
        }

      Returns Promise<
          | { ok: true; value: { depositId: string } }
          | {
              error:
                  | ServiceError<"QUOTE_FAILED">
                  | ServiceError<"INVALID_BANK_TX", { bankTransactionId: string }>;
              ok: false;
          },
      >