Beispiel #1
0
 public LykkePayEventsService(
     IBlockSyncedByHashRepository blockSyncedRepository,
     IEthereumSamuraiAPI indexerApi,
     IEthereumIndexerService ethereumIndexerService,
     IRabbitQueuePublisher rabbitQueuePublisher,
     [KeyFilter(Constants.DefaultKey)] IAggregatedErc20DepositContractLocatorService erc20DepositContractLocatorService,
     [KeyFilter(Constants.AirLinesKey)] IHotWalletTransactionRepository airHotWalletCashoutTransactionRepository,
     [KeyFilter(Constants.LykkePayKey)] IHotWalletTransactionRepository lpHotWalletCashoutTransactionRepository) :
     base(blockSyncedRepository,
          indexerApi,
          ethereumIndexerService,
          rabbitQueuePublisher,
          erc20DepositContractLocatorService,
          airHotWalletCashoutTransactionRepository,
          lpHotWalletCashoutTransactionRepository)
 {
 }
 public EventsServiceCommon(
     IBlockSyncedByHashRepository blockSyncedRepository,
     IEthereumSamuraiAPI indexerApi,
     IEthereumIndexerService ethereumIndexerService,
     IRabbitQueuePublisher rabbitQueuePublisher,
     IAggregatedErc20DepositContractLocatorService depositContractService,
     [KeyFilter(Constants.AirLinesKey)] IHotWalletTransactionRepository airHotWalletCashoutTransactionRepository,
     [KeyFilter(Constants.LykkePayKey)] IHotWalletTransactionRepository lpHotWalletCashoutTransactionRepository)
 {
     _blockSyncedRepository  = blockSyncedRepository;
     _indexerApi             = indexerApi;
     _depositContractService = depositContractService;
     _ethereumIndexerService = ethereumIndexerService;
     _rabbitQueuePublisher   = rabbitQueuePublisher;
     _airHotWalletCashoutTransactionRepository = airHotWalletCashoutTransactionRepository;
     _lpHotWalletCashoutTransactionRepository  = lpHotWalletCashoutTransactionRepository;
 }