Example #1
0
 public ExchangeSyncJob(BittrexClient bittrexClient, NexusDb nexusDb, ILogger <ExchangeSyncJob> logger, RedisCommand redis)
     : base(5, logger)
 {
     _bittrexClient = bittrexClient;
     _nexusDb       = nexusDb;
     _redis         = redis;
 }
Example #2
0
 public TrustAddressCacheJob(ILogger <TrustAddressCacheJob> logger, NexusQuery nexusQuery, BlockQuery blockQuery,
                             NexusDb nexusDb, AddressQuery addressQuery, RedisCommand redisCommand)
     : base(180, logger)
 {
     _nexusQuery   = nexusQuery;
     _blockQuery   = blockQuery;
     _nexusDb      = nexusDb;
     _addressQuery = addressQuery;
     _redisCommand = redisCommand;
 }
Example #3
0
 public BlockQuery(NexusDb nexusDb, IMapper mapper)
 {
     _nexusDb = nexusDb;
     _mapper  = mapper;
 }
 public AddressFavouriteCommand(NexplorerDb nexplorerDb, NexusDb nexusDb)
 {
     _nexplorerDb = nexplorerDb;
     _nexusDb     = nexusDb;
 }
Example #5
0
 public BlockRewardCatchup(ILogger <BlockRewardCatchup> logger, NexusDb nexusDb, BlockQuery blockQuery)
 {
     _logger     = logger;
     _nexusDb    = nexusDb;
     _blockQuery = blockQuery;
 }
Example #6
0
 public TransactionQuery(NexusDb nexusDb, IMapper mapper, RedisCommand redisCommand)
 {
     _nexusDb      = nexusDb;
     _mapper       = mapper;
     _redisCommand = redisCommand;
 }
Example #7
0
 public AddressQuery(NexusDb nexusDb, RedisCommand redisCommand)
 {
     _nexusDb      = nexusDb;
     _redisCommand = redisCommand;
 }