예제 #1
0
 public ProtocolHandler(TezosNode node, TzktContext db, CacheService cache, IConfiguration config, ILogger logger)
 {
     Node   = node;
     Db     = db;
     Cache  = cache;
     Config = config.GetTezosProtocolsConfig();
     Logger = logger;
 }
예제 #2
0
 public ProtocolHandler(TezosNode node, TzktContext db, CacheService cache, QuotesService quotes, IServiceProvider services, IConfiguration config, ILogger logger)
 {
     Node     = node;
     Db       = db;
     Cache    = cache;
     Quotes   = quotes;
     Services = services;
     Config   = config.GetTezosProtocolsConfig();
     Logger   = logger;
 }