mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-17 00:31:34 +03:00
🗿
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user