예제 #1
0
 public OperationsService(
     IOperationRequestsProducer operationRequestsProducer,
     IDeduplicationLogRepository <OperationDeduplicationLogEntity> deduplicationLog,
     ITransactionScopeHandler transactionScopeHandler,
     ILogFactory logFactory)
 {
     _operationRequestsProducer = operationRequestsProducer;
     _deduplicationLog          = deduplicationLog;
     _transactionScopeHandler   = transactionScopeHandler;
     _log = logFactory.CreateLog(this);
 }
 public TransferToExternalCompletedEventHandler(
     IPrivateBlockchainFacadeClient pbfClient,
     IPushNotificationsPublisher pushNotificationsPublisher,
     IDeduplicationLogRepository deduplicationLogRepository,
     ILogFactory logFactory)
 {
     _pbfClient = pbfClient;
     _pushNotificationsPublisher = pushNotificationsPublisher;
     _deduplicationLogRepository = deduplicationLogRepository;
     _log = logFactory.CreateLog(this);
 }
예제 #3
0
 public WalletLinkingStatusChangeRequestedHandler(
     IOperationRequestsProducer operationRequestsProducer,
     IDeduplicationLogRepository <WalletLinkingDeduplicationLogEntity> deduplicationLog,
     ITransactionScopeHandler transactionScopeHandler,
     ILogFactory logFactory)
 {
     _operationRequestsProducer = operationRequestsProducer;
     _deduplicationLog          = deduplicationLog;
     _transactionScopeHandler   = transactionScopeHandler;
     _log = logFactory.CreateLog(this);
 }
 public SeizeToInternalDetectedHandler(
     IOperationRequestsProducer operationRequestsProducer,
     IDeduplicationLogRepository <OperationDeduplicationLogEntity> deduplicationLogRepository,
     ITransactionScopeHandler transactionScopeHandler,
     string privateBlockchainGatewayContractAddress,
     ILogFactory logFactory)
 {
     _operationRequestsProducer  = operationRequestsProducer;
     _deduplicationLogRepository = deduplicationLogRepository;
     _transactionScopeHandler    = transactionScopeHandler;
     _privateBlockchainGatewayContractAddress = privateBlockchainGatewayContractAddress;
     _log = logFactory.CreateLog(this);
 }
 public BonusService(
     IDeduplicationLogRepository <BonusRewardDeduplicationLogEntity> deduplicationLog,
     ITransactionScopeHandler transactionScopeHandler,
     ILogFactory logFactory,
     IOperationRequestsProducer operationRequestsProducer,
     IWalletsService walletsService,
     string walletCreationMasterWalletAddress)
 {
     _deduplicationLog                  = deduplicationLog;
     _transactionScopeHandler           = transactionScopeHandler;
     _operationRequestsProducer         = operationRequestsProducer;
     _walletsService                    = walletsService;
     _walletCreationMasterWalletAddress = walletCreationMasterWalletAddress;
     _log = logFactory.CreateLog(this);
 }
예제 #6
0
 public TransferService(
     IWalletsService walletsService,
     ITransactionScopeHandler transactionScopeHandler,
     IBalanceService balanceService,
     IOperationRequestsProducer operationRequestsProducer,
     IDeduplicationLogRepository <TransferDeduplicationLogEntity> deduplicationLog,
     ILogFactory logFactory)
 {
     _walletsService            = walletsService;
     _transactionScopeHandler   = transactionScopeHandler;
     _balanceService            = balanceService;
     _operationRequestsProducer = operationRequestsProducer;
     _deduplicationLog          = deduplicationLog;
     _log = logFactory.CreateLog(this);
 }
 public UndecodedEventHandler(
     IBlockchainEventDecoder blockchainEventDecoder,
     IPrivateBlockchainFacadeClient pbfClient,
     ISettingsService settingsService,
     IRabbitPublisher <TransferToExternalProcessedEvent> transferToExternalProcessedPublisher,
     IRabbitPublisher <TransferToInternalCompletedEvent> transferToInternalCompletedPublisher,
     IPushNotificationsPublisher pushNotificationsPublisher,
     IDeduplicationLogRepository deduplicationLogRepository,
     ILogFactory logFactory)
 {
     _blockchainEventDecoder = blockchainEventDecoder;
     _pbfClient       = pbfClient;
     _settingsService = settingsService;
     _transferToExternalProcessedPublisher = transferToExternalProcessedPublisher;
     _transferToInternalCompletedPublisher = transferToInternalCompletedPublisher;
     _pushNotificationsPublisher           = pushNotificationsPublisher;
     _deduplicationLogRepository           = deduplicationLogRepository;
     _log = logFactory.CreateLog(this);
 }