public CacheService(TzktContext db) { AppState = new AppStateCache(db); BakerCycles = new BakerCyclesCache(db); BakingRights = new BakingRightsCache(db); Accounts = new AccountsCache(this, db); Blocks = new BlocksCache(this, db); Periods = new PeriodsCache(db); Proposals = new ProposalsCache(db); Protocols = new ProtocolsCache(db); }
public CacheService(TzktContext db) { AppState = new AppStateCache(db); BakerCycles = new BakerCyclesCache(db); BakingRights = new BakingRightsCache(db); Accounts = new AccountsCache(this, db); Blocks = new BlocksCache(this, db); Periods = new PeriodsCache(db); Proposals = new ProposalsCache(db); Protocols = new ProtocolsCache(db); Statistics = new StatisticsCache(db); Software = new SoftwareCache(db); Schemas = new SchemasCache(db); Storages = new StoragesCache(db); }