public Erc20BalanceIndexingService( IErc20BalanceRepository balanceRepository, IBlockIndexationHistoryRepository blockIndexationHistoryRepository, IErc20TransferHistoryRepository transferHistoryRepository, IIndexingRabbitNotifier indexingRabbitNotifier) { _balanceRepository = balanceRepository; _blockIndexationHistoryRepository = blockIndexationHistoryRepository; _transferHistoryRepository = transferHistoryRepository; _indexingRabbitNotifier = indexingRabbitNotifier; }
public IndexingService( IAddressHistoryRepository addressHistoryRepository, IBlockIndexationHistoryRepository blockIndexationHistoryRepository, IBlockRepository blockRepository, IBlockSyncedInfoRepository blockSyncedInfoRepository, IErc20ContractRepository erc20ContractRepository, IErc20ContractIndexingQueue erc20ContractIndexingQueue, IErc20TransferHistoryRepository erc20TransferHistoryRepository, IInternalMessageRepository internalMessageRepository, ITransactionRepository transactionRepository, IIndexingRabbitNotifier indexingRabbitNotifier) { _addressHistoryRepository = addressHistoryRepository; _blockIndexationHistoryRepository = blockIndexationHistoryRepository; _blockRepository = blockRepository; _blockSyncedInfoRepository = blockSyncedInfoRepository; _erc20ContractRepository = erc20ContractRepository; _erc20ContractIndexingQueue = erc20ContractIndexingQueue; _erc20TransferHistoryRepository = erc20TransferHistoryRepository; _internalMessageRepository = internalMessageRepository; _transactionRepository = transactionRepository; _indexingRabbitNotifier = indexingRabbitNotifier; }