This commit is contained in:
TheJuze
2024-03-19 17:34:00 +03:00
parent 5296ecbc3d
commit edc3586166
8 changed files with 19 additions and 118 deletions

View File

@@ -3,7 +3,6 @@ import { Aggregator } from '../services/Aggregator';
import { BlockchainService } from '../services/BlockchainService';
import { PriceFeed } from '../services/PriceFeed';
import { IndexerService } from '../services/Indexer';
import { FrontageService } from '../services/Frontage';
import type {
KnownEnv,
SupportedChainId,
@@ -30,8 +29,6 @@ export default class Unit {
public readonly indexer: IndexerService | undefined;
public readonly frontage: FrontageService;
public readonly aggregator: Aggregator;
public readonly pmm: Pmm;
@@ -90,10 +87,7 @@ export default class Unit {
},
indexer: {
api: networkConfig.api + networkConfig.services.indexer?.http,
},
frontage: {
api: networkConfig.api + networkConfig.services.frontage?.http,
},
}
},
};
} else {
@@ -121,9 +115,6 @@ export default class Unit {
intNetwork
)
: undefined;
this.frontage = new FrontageService(
this.config.services.frontage.api,
);
this.aggregator = new Aggregator(
this.config.services.aggregator.http,
this.config.services.aggregator.ws,