public FxPaygatePaymentUrlInputValidationModel( IHttpContextAccessor httpContextAccessor, IAssetsHelper assetHelper, IAssetDisclaimersClient assetDisclaimersClient, IPaymentSystemClient paymentSystemClient, IPersonalDataService personalDataService, IClientAccountClient clientAccountService, IAssetsService assetsService, IKycStatusService kycStatusService, ITierClient tierClient, IRateCalculatorClient rateCalculatorClient) { _assetsHelper = assetHelper; _assetDisclaimersClient = assetDisclaimersClient; _clientAccountService = clientAccountService; _assetsService = assetsService; _kycStatusService = kycStatusService; _tierClient = tierClient; _rateCalculatorClient = rateCalculatorClient; _clientId = httpContextAccessor.HttpContext.User?.Identity?.Name; var paymentLimitsTask = paymentSystemClient.GetPaymentLimitsAsync(); var pdTask = personalDataService.GetAsync(_clientId); Task.WhenAll(paymentLimitsTask, pdTask).GetAwaiter().GetResult(); _paymentLimitsResponse = paymentLimitsTask.Result; _personalData = pdTask.Result; RegisterRules(); }
public OrdersController( IRequestContext requestContext, IClientSessionsClient clientSessionsClient, IPersonalDataService personalDataService, IKycStatusService kycStatusService, IClientAccountClient clientAccountClient, IAssetsServiceClient assetsServiceClient, IMatchingEngineClient matchingEngineClient, FeeSettings feeSettings, IOperationsClient operationsClient, BaseSettings baseSettings, IcoSettings icoSettings, GlobalSettings globalSettings, IHistoryClient historyClient) { _requestContext = requestContext; _clientSessionsClient = clientSessionsClient; _personalDataService = personalDataService; _kycStatusService = kycStatusService; _clientAccountClient = clientAccountClient; _assetsServiceClient = assetsServiceClient; _matchingEngineClient = matchingEngineClient; _feeSettings = feeSettings; _operationsClient = operationsClient; _baseSettings = baseSettings; _icoSettings = icoSettings; _globalSettings = globalSettings; _historyClient = historyClient; }
public OperationsController( IAssetsServiceWithCache assetsServiceWithCache, IBalancesClient balancesClient, IKycStatusService kycStatusService, IClientAccountClient clientAccountClient, FeeSettings feeSettings, BaseSettings baseSettings, IOperationsClient operationsClient, ICqrsEngine cqrsEngine, IRequestContext requestContext, IConfirmationCodesClient confirmationCodesClient, Google2FaService google2FaService) { _assetsServiceWithCache = assetsServiceWithCache; _balancesClient = balancesClient; _kycStatusService = kycStatusService; _clientAccountClient = clientAccountClient; _feeSettings = feeSettings; _baseSettings = baseSettings; _operationsClient = operationsClient; _cqrsEngine = cqrsEngine; _requestContext = requestContext; _confirmationCodesClient = confirmationCodesClient; _google2FaService = google2FaService; }
public KycStatusValidator( IKycStatusService kycStatusService, IRequestContext requestContext) { _kycStatusService = kycStatusService; _requestContext = requestContext; }
public OrdersController( IRequestContext requestContext, ILykkePrincipal lykkePrincipal, IClientSessionsClient clientSessionsClient, IPersonalDataService personalDataService, IKycStatusService kycStatusService, IClientAccountClient clientAccountClient, IAssetsServiceWithCache assetsServiceWithCache, IMatchingEngineClient matchingEngineClient, ILimitOrdersRepositoryClient limitOrdersRepository, FeeSettings feeSettings, IOperationsClient operationsClient, BaseSettings baseSettings, IcoSettings icoSettings, GlobalSettings globalSettings) { _requestContext = requestContext; _lykkePrincipal = lykkePrincipal; _clientSessionsClient = clientSessionsClient; _personalDataService = personalDataService; _kycStatusService = kycStatusService; _clientAccountClient = clientAccountClient; _assetsServiceWithCache = assetsServiceWithCache; _matchingEngineClient = matchingEngineClient; _limitOrdersRepository = limitOrdersRepository; _feeSettings = feeSettings; _operationsClient = operationsClient; _baseSettings = baseSettings; _icoSettings = icoSettings; _globalSettings = globalSettings; }
public SrvKycForAsset( CachedDataDictionary <string, Lykke.Service.Assets.Client.Models.Asset> assets, IKycStatusService kycStatusService) { _assets = assets; _kycStatusService = kycStatusService; }
public KycStatusClient(MyNoSqlReadRepository <KycProfileNoSqlEntity> readerKycStatuses, IKycStatusService kycStatusService) { _readerKycStatuses = readerKycStatuses; _kycStatusService = kycStatusService; _readerKycStatuses.SubscribeToUpdateEvents(list => Changed(), list => Changed()); }
public SiriusWalletsService( long brokerAccountId, IApiClient siriusApiClient, IClientDialogsClient clientDialogsClient, IAssetsService assetsService, IKycStatusService kycStatusService, IClientAccountClient clientAccountClient, IBalanceService balanceService, ICqrsEngine cqrsEngine, IOperationsClient operationsClient, TargetClientIdFeeSettings feeSettings, ValidationService validationService, IdempotencyService idempotencyService, ILogFactory logFactory) { _brokerAccountId = brokerAccountId; _siriusApiClient = siriusApiClient; _clientDialogsClient = clientDialogsClient; _assetsService = assetsService; _kycStatusService = kycStatusService; _clientAccountClient = clientAccountClient; _balanceService = balanceService; _cqrsEngine = cqrsEngine; _operationsClient = operationsClient; _feeSettings = feeSettings; _validationService = validationService; _idempotencyService = idempotencyService; _log = logFactory.CreateLog(this); }
public ClientController( ILog log, IClientSessionsClient clientSessionsClient, ILykkeRegistrationClient lykkeRegistrationClient, ClientAccountLogic clientAccountLogic, IRequestContext requestContext, IPersonalDataService personalDataService, IKycStatusService kycStatusService, IClientAccountClient clientAccountService, BaseSettings baseSettings, KycStatusValidator kycStatusValidator, IKycProfileService kycProfileService) { _log = log ?? throw new ArgumentNullException(nameof(log)); _lykkeRegistrationClient = lykkeRegistrationClient ?? throw new ArgumentNullException(nameof(lykkeRegistrationClient)); _clientSessionsClient = clientSessionsClient; _clientAccountLogic = clientAccountLogic; _kycStatusService = kycStatusService; _requestContext = requestContext ?? throw new ArgumentNullException(nameof(requestContext)); _personalDataService = personalDataService ?? throw new ArgumentNullException(nameof(personalDataService)); _clientAccountService = clientAccountService; _baseSettings = baseSettings; _kycStatusValidator = kycStatusValidator; _kycProfileService = kycProfileService; }
public D3UserService( string domain, ID3LedgerService ledgerService, ID3UsersRepository usersRepository, IKycStatusService kycStatusService) { _domain = domain; _ledgerService = ledgerService; _usersRepository = usersRepository; _kycStatusService = kycStatusService; }
public KycReportingService( IKycReportsRepository reportRepository, ILog log, IPersonalDataService personalDataService, IClientAccountClient clientAccountService, IPartnersClient partnersService, IKycStatusService kycStatusService) { _reportRepository = reportRepository; _personalDataService = personalDataService; _log = log; _kycStatusService = kycStatusService; _clientAccountService = clientAccountService; _partnersService = partnersService; }
public TierUpgradeService( string instanceName, IDatabase database, ITierUpgradeRequestsRepository repository, IAuditLogRepository auditLogRepository, IClientAccountClient clientAccountClient, IKycStatusService kycStatusService ) { _instanceName = instanceName; _cache = database; _repository = repository; _auditLogRepository = auditLogRepository; _clientAccountClient = clientAccountClient; _kycStatusService = kycStatusService; }
public DepositsController( IPaymentSystemClient paymentSystemService, Link4PayService.Link4PayServiceClient link4PayServiceClient, IFeeCalculatorClient feeCalculatorClient, IAssetsHelper assetsHelper, IBlockchainWalletsClient blockchainWalletsClient, IClientDialogsClient clientDialogsClient, ISwiftCredentialsClient swiftCredentialsClient, IKycStatusService kycStatusService, IPersonalDataService personalDataService, ILimitationsServiceClient limitationsServiceClient, IClientAccountClient clientAccountClient, IRequestContext requestContext, ISrvBlockchainHelper srvBlockchainHelper, ISiriusWalletsService siriusWalletsService) { _paymentSystemService = paymentSystemService; _link4PayServiceClient = link4PayServiceClient; _feeCalculatorClient = feeCalculatorClient; _assetsHelper = assetsHelper; _blockchainWalletsClient = blockchainWalletsClient; _clientDialogsClient = clientDialogsClient; _swiftCredentialsClient = swiftCredentialsClient; _kycStatusService = kycStatusService; _personalDataService = personalDataService; _limitationsServiceClient = limitationsServiceClient; _clientAccountClient = clientAccountClient; _requestContext = requestContext; _srvBlockchainHelper = srvBlockchainHelper; _siriusWalletsService = siriusWalletsService; _coloredAssetIds = new[] { LykkeConstants.LykkeAssetId, LykkeConstants.LykkeForwardAssetId, LykkeConstants.HcpAssetId }.ToHashSet(); }