add eps types to services

This commit is contained in:
Dmitriy Pavlov
2023-08-10 18:46:10 +03:00
parent 2acc918a1a
commit df38bfdc2c
4 changed files with 16 additions and 4 deletions

View File

@@ -500,6 +500,12 @@ class AggregatorWS {
minAmountIn: json.ma,
path: json.ps,
exchanges: json.e,
exchangeContractPath: json.eps.map((path) => ({
poolAddress: path.p,
assetIn: path.ai,
assetOut: path.ao,
factory: path.f,
})),
poolOptimal: json.po,
...(json.oi) && {
orderInfo: {