Esempio n. 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;
 }
Esempio n. 3
0
 public TransactionEventsService(Web3 web3,
                                 IBaseSettings baseSettings,
                                 ICoinRepository coinRepository,
                                 ICashinEventRepository cashinEventRepository,
                                 IBlockSyncedRepository blockSyncedRepository,
                                 IQueueFactory queueFactory,
                                 AppSettings settingsWrapper,
                                 IEthereumSamuraiApi indexerApi,
                                 IErc20DepositContractService depositContractService,
                                 IEthereumIndexerService ethereumIndexerService)
 {
     _cashinEventRepository = cashinEventRepository;
     _coinRepository        = coinRepository;
     _web3 = web3;
     _blockSyncedRepository  = blockSyncedRepository;
     _baseSettings           = baseSettings;
     _queueFactory           = queueFactory;
     _settingsWrapper        = settingsWrapper;
     _indexerApi             = indexerApi;
     _depositContractService = depositContractService;
     _cashinQueue            = _queueFactory.Build(Constants.CashinCompletedEventsQueue);
     _cointTransactionQueue  = _queueFactory.Build(Constants.HotWalletTransactionMonitoringQueue);
     _ethereumIndexerService = ethereumIndexerService;
 }
Esempio n. 4
0
 public RpcController(IEthereumIndexerService ethereumIndexerService, IWeb3 web3)
 {
     _web3 = web3;
     _ethereumIndexerService = ethereumIndexerService;
 }
Esempio n. 5
0
 public InternalMessageController(IEthereumIndexerService ethereumIndexerService)
 {
     _ethereumIndexerService = ethereumIndexerService;
 }
 public TransactionController(IEthereumIndexerService ethereumIndexerService)
 {
     _ethereumIndexerService = ethereumIndexerService;
 }