Skip to content

Commit 05a4d98

Browse files
committed
'bump'
1 parent 83f6354 commit 05a4d98

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dequanto",
3-
"version": "0.1.34",
3+
"version": "0.1.35",
44
"author": {
55
"name": "Alex Kit",
66
"email": "alex.kit@atmajs.com"

src/tokens/TokenPriceService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import { TokensService } from './TokensService';
88
import { $address } from '@dequanto/utils/$address';
99
import { TResultAsync } from '@dequanto/models/TResult';
1010
import { ISwapped, ISwapPool, ISwapRouted } from './TokenExchanges/AmmBase/V2/AmmPairV2Service';
11-
import { AmmV2PriceQuote } from './TokenExchanges/AmmV2PriceQuote';
12-
import { $bigint } from '@dequanto/utils/$bigint';
1311
import { $logger } from '@dequanto/utils/$logger';
1412
import { $require } from '@dequanto/utils/$require';
1513
import { IOracle } from './TokenOracles/IOracle';
@@ -47,7 +45,9 @@ export class TokenPriceService {
4745
this.oracles = [
4846
{ provider: `chainlink`, oracle: new ChainlinkOracle([ client ]) },
4947
{ provider: `1inchAggregator-${client.network}`, oracle: new SpotPriceAggregator() },
50-
{ provider: `ammV2`, oracle: new AmmV2PriceQuote(this.client, this.explorer) },
48+
49+
// AMMs are covered already by 1inchAggregator, so no need to add them here
50+
// { provider: `ammV2`, oracle: new AmmV2PriceQuote(this.client, this.explorer) },
5151
];
5252
}
5353

0 commit comments

Comments
 (0)