public AccrualPeriodProcesor(string feeClientId, IClientAccrualRepository clientAccrualRepository, IBonusAccrualRepository bonusAccrualRepository, IExchangeOperationsServiceClient exchangeOperationsServiceClient, ILog logger)
 {
     _feeClientId                     = feeClientId;
     _clientAccrualRepository         = clientAccrualRepository;
     _bonusAccrualRepository          = bonusAccrualRepository;
     _exchangeOperationsServiceClient = exchangeOperationsServiceClient;
     _logger = logger;
 }
예제 #2
0
 public ExchangeService(ILog log,
                        IExchangeOperationsServiceClient exchangeOperationsService,
                        CachedDataDictionary <string, Lykke.Service.Assets.Client.Models.Asset> assets,
                        AppSettings settings)
 {
     _log = log;
     _exchangeOperationsService = exchangeOperationsService;
     _assets   = assets;
     _settings = settings;
 }
예제 #3
0
 public LykkeExchangeService(
     IMatchingEngineClient matchingEngineClient,
     IExchangeOperationsServiceClient exchangeOperationsServiceClient,
     ISettingsService settingsService,
     ILogFactory logFactory)
 {
     _matchingEngineClient            = matchingEngineClient;
     _exchangeOperationsServiceClient = exchangeOperationsServiceClient;
     _settingsService = settingsService;
     _log             = logFactory.CreateLog(this);
 }
 public CommandsHandler(ILogFactory logFactory,
                        IForwardWithdrawalRepository repository,
                        IExchangeOperationsServiceClient exchangeOperationsService,
                        string hotWalletId,
                        IAssetsServiceWithCache assetsServiceWithCache)
 {
     _log        = logFactory.CreateLog(this);
     _repository = repository;
     _exchangeOperationsService = exchangeOperationsService;
     _hotWalletId            = hotWalletId;
     _assetsServiceWithCache = assetsServiceWithCache;
 }
 public LykkeExchangeService(
     IMatchingEngineClient matchingEngineClient,
     IExchangeOperationsServiceClient exchangeOperationsServiceClient,
     ISettingsService settingsService,
     IReadOnlyDictionary <string, string> assetPairMapping,
     ILogFactory logFactory)
 {
     _matchingEngineClient            = matchingEngineClient;
     _exchangeOperationsServiceClient = exchangeOperationsServiceClient;
     _settingsService  = settingsService;
     _assetPairMapping = assetPairMapping;
     _log = logFactory.CreateLog(this);
 }
예제 #6
0
 public PurchaseController(
     PayApiSettings payApiSettings,
     HttpClient client,
     ILykkePayServiceStoreRequestMicroService storeRequestClient,
     IBitcoinApi bitcointApiClient,
     ILykkePayServiceGenerateAddressMicroService generateAddressClient,
     IExchangeOperationsServiceClient exchangeOperationClient,
     IPayWalletservice payWalletservice,
     ILog log)
     : base(payApiSettings, client, generateAddressClient, storeRequestClient, bitcointApiClient, payWalletservice, log)
 {
     _exchangeOperationClient = exchangeOperationClient;
 }
 public MeCommandHandler(
     IExchangeOperationsServiceClient exchangeOperationsService,
     IPaymentTransactionEventsLog paymentTransactionEventsLog,
     IFeeCalculatorClient feeCalculatorClient,
     string bankCardFeeClientId,
     AntiFraudChecker antiFraudChecker)
 {
     _exchangeOperationsService   = exchangeOperationsService;
     _paymentTransactionEventsLog = paymentTransactionEventsLog;
     _antiFraudChecker            = antiFraudChecker;
     _feeCalculatorClient         = feeCalculatorClient;
     _bankCardFeeClientId         = bankCardFeeClientId;
 }
예제 #8
0
 public ReferralLinksController(
     ILog log,
     IReferralLinksService referralLinksService,
     IStatisticsService statisticsService,
     CachedDataDictionary <string, Lykke.Service.Assets.Client.Models.Asset> assets,
     ISrvKycForAsset srvKycForAsset,
     IExchangeOperationsServiceClient exchangeOperationsService,
     ReferralLinksSettings settings,
     IReferralLinkClaimsService referralLinkClaimsService,
     ExchangeService exchangeService,
     IBalancesClient balancesClient) : base(log)
 {
     _referralLinksService = referralLinksService;
     _assets                    = assets;
     _srvKycForAsset            = srvKycForAsset;
     _exchangeService           = exchangeService;
     _settings                  = settings;
     _referralLinkClaimsService = referralLinkClaimsService;
     _balancesClient            = balancesClient;
     _statisticsService         = statisticsService;
 }
예제 #9
0
 public TransfersController(ISrvKycForAsset srvKycForAsset,
                            IClientSettingsRepository clientSettingsRepository,
                            IOffchainService offchainService,
                            AppSettings settings,
                            ILog log,
                            IExchangeOperationsServiceClient exchangeOperationsService,
                            IOffchainEncryptedKeysRepository offchainEncryptedKeysRepository,
                            IOffchainRequestRepository offchainRequestRepository,
                            IReferralLinksService referralLinksService,
                            IOffchainTransferRepository offchainTransferRepository,
                            CachedDataDictionary <string, Lykke.Service.Assets.Client.Models.Asset> assets) : base(log)
 {
     _srvKycForAsset           = srvKycForAsset;
     _clientSettingsRepository = clientSettingsRepository;
     _offchainService          = offchainService;
     _settings = settings;
     _exchangeOperationsService       = exchangeOperationsService;
     _offchainEncryptedKeysRepository = offchainEncryptedKeysRepository;
     _offchainRequestRepository       = offchainRequestRepository;
     _referralLinksService            = referralLinksService;
     _offchainTransferRepository      = offchainTransferRepository;
     _assets = assets;
 }
예제 #10
0
 public EthereumCoreCommandHandler(
     ILogFactory logFactory,
     IMatchingEngineClient matchingEngineClient,
     ICashOperationsRepositoryClient cashOperationsRepositoryClient,
     IClientAccountClient clientAccountClient,
     ISrvEmailsFacade srvEmailsFacade,
     IBcnClientCredentialsRepository bcnClientCredentialsRepository,
     IPaymentTransactionsRepository paymentTransactionsRepository,
     ITradeOperationsRepositoryClient clientTradesRepositoryClient,
     IEthereumTransactionRequestRepository ethereumTransactionRequestRepository,
     ITransferOperationsRepositoryClient transferEventsRepositoryClient,
     IAssetsServiceWithCache assetsServiceWithCache,
     ITransactionService transactionService,
     IAssetsService assetsService,
     IEthererumPendingActionsRepository ethererumPendingActionsRepository,
     IExchangeOperationsServiceClient exchangeOperationsServiceClient,
     IClientCommentsRepository clientCommentsRepository,
     IPersonalDataService personalDataService)
 {
     _log = logFactory.CreateLog(this);
     _matchingEngineClient           = matchingEngineClient;
     _cashOperationsRepositoryClient = cashOperationsRepositoryClient;
     _clientAccountClient            = clientAccountClient;
     _srvEmailsFacade = srvEmailsFacade;
     _bcnClientCredentialsRepository       = bcnClientCredentialsRepository;
     _paymentTransactionsRepository        = paymentTransactionsRepository;
     _clientTradesRepositoryClient         = clientTradesRepositoryClient;
     _ethereumTransactionRequestRepository = ethereumTransactionRequestRepository;
     _assetsServiceWithCache         = assetsServiceWithCache;
     _transferEventsRepositoryClient = transferEventsRepositoryClient;
     _transactionService             = transactionService;
     _assetsService = assetsService;
     _ethererumPendingActionsRepository = ethererumPendingActionsRepository;
     _exchangeOperationsServiceClient   = exchangeOperationsServiceClient;
     _clientCommentsRepository          = clientCommentsRepository;
     _personalDataService = personalDataService;
 }
예제 #11
0
 public InternalTransfersService(
     IExchangeOperationsServiceClient exchangeOperationsServiceClient)
 {
     _exchangeOperationsServiceClient = exchangeOperationsServiceClient;
 }