@paraswap/dex-lib 2.29.1-ramses → 2.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dex/balancer-v2/balancer-v2.js +0 -2
- package/build/dex/balancer-v2/balancer-v2.js.map +1 -1
- package/build/dex/balancer-v2/optimizer.js +38 -51
- package/build/dex/balancer-v2/optimizer.js.map +1 -1
- package/build/dex/balancer-v2/types.d.ts +0 -4
- package/build/dex/balancer-v2/types.js.map +1 -1
- package/build/dex/curve-v1-factory/price-handlers/functions/calc_token_amount.js +1 -26
- package/build/dex/curve-v1-factory/price-handlers/functions/calc_token_amount.js.map +1 -1
- package/build/dex/uniswap-v3/uniswap-v3.js +1 -1
- package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
- package/package.json +1 -1
- package/src/dex/balancer-v2/balancer-v2.ts +0 -2
- package/src/dex/balancer-v2/optimizer.ts +49 -62
- package/src/dex/balancer-v2/types.ts +0 -4
- package/src/dex/curve-v1-factory/price-handlers/functions/calc_token_amount.ts +1 -33
- package/src/dex/uniswap-v3/uniswap-v3.ts +4 -3
- package/.idea/aws.xml +0 -17
- package/.idea/codeStyles/Project.xml +0 -19
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/paraswap-dex-lib.iml +0 -9
- package/.idea/vcs.xml +0 -6
- package/build/abi/curve-v1/StableSwapFRXETH.json +0 -889
- package/build/abi/curve-v1/StableSwapWBETH.json +0 -1223
- package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3QuoterV2.abi.json +0 -285
- package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3Router.abi.json +0 -583
- package/build/abi/wBETH.json +0 -1527
- package/build/abi/woo-fi/WooFeeManager.abi.json +0 -318
- package/build/abi/woo-fi/WooPP.abi.json +0 -548
- package/build/abi/woo-fi/Wooracle.abi.json +0 -260
- package/build/dex/aave-v3/tokens/arbitrum.json +0 -50
- package/build/dex/aave-v3/tokens/avalanche.json +0 -74
- package/build/dex/aave-v3/tokens/fantom.json +0 -62
- package/build/dex/aave-v3/tokens/optimism.json +0 -50
- package/build/dex/aave-v3/tokens/polygon.json +0 -116
- package/build/dex/balancer-v2/LinearMath.d.ts +0 -19
- package/build/dex/balancer-v2/LinearMath.js +0 -179
- package/build/dex/balancer-v2/LinearMath.js.map +0 -1
- package/build/dex/balancer-v2/LinearPool.d.ts +0 -47
- package/build/dex/balancer-v2/LinearPool.js +0 -324
- package/build/dex/balancer-v2/LinearPool.js.map +0 -1
- package/build/dex/balancer-v2/PhantomStablePool.d.ts +0 -47
- package/build/dex/balancer-v2/PhantomStablePool.js +0 -294
- package/build/dex/balancer-v2/PhantomStablePool.js.map +0 -1
- package/build/dex/balancer-v2/StableMath.d.ts +0 -9
- package/build/dex/balancer-v2/StableMath.js +0 -272
- package/build/dex/balancer-v2/StableMath.js.map +0 -1
- package/build/dex/balancer-v2/balancer-v2-pool.d.ts +0 -75
- package/build/dex/balancer-v2/balancer-v2-pool.js +0 -417
- package/build/dex/balancer-v2/balancer-v2-pool.js.map +0 -1
- package/build/dex/curve-v1/pools/frxETHpool.d.ts +0 -7
- package/build/dex/curve-v1/pools/frxETHpool.js +0 -27
- package/build/dex/curve-v1/pools/frxETHpool.js.map +0 -1
- package/build/dex/curve-v1/pools/wbETHpool.d.ts +0 -29
- package/build/dex/curve-v1/pools/wbETHpool.js +0 -408
- package/build/dex/curve-v1/pools/wbETHpool.js.map +0 -1
- package/build/dex/pancakeswap-v3/types.d.ts +0 -14
- package/build/dex/pancakeswap-v3/types.js +0 -3
- package/build/dex/pancakeswap-v3/types.js.map +0 -1
- package/build/dex/quickswap-v3.d.ts +0 -21
- package/build/dex/quickswap-v3.js +0 -40
- package/build/dex/quickswap-v3.js.map +0 -1
- package/build/dex/ramses-v2/config.d.ts +0 -4
- package/build/dex/ramses-v2/config.js +0 -28
- package/build/dex/ramses-v2/config.js.map +0 -1
- package/build/dex/ramses-v2/constants.d.ts +0 -28
- package/build/dex/ramses-v2/constants.js +0 -35
- package/build/dex/ramses-v2/constants.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/BitMath.d.ts +0 -4
- package/build/dex/ramses-v2/contract-math/BitMath.js +0 -93
- package/build/dex/ramses-v2/contract-math/BitMath.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/FixedPoint128.d.ts +0 -3
- package/build/dex/ramses-v2/contract-math/FixedPoint128.js +0 -8
- package/build/dex/ramses-v2/contract-math/FixedPoint128.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/FixedPoint96.d.ts +0 -4
- package/build/dex/ramses-v2/contract-math/FixedPoint96.js +0 -9
- package/build/dex/ramses-v2/contract-math/FixedPoint96.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/FullMath.d.ts +0 -4
- package/build/dex/ramses-v2/contract-math/FullMath.js +0 -19
- package/build/dex/ramses-v2/contract-math/FullMath.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/LiquidityMath.d.ts +0 -3
- package/build/dex/ramses-v2/contract-math/LiquidityMath.js +0 -22
- package/build/dex/ramses-v2/contract-math/LiquidityMath.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/Oracle.d.ts +0 -10
- package/build/dex/ramses-v2/contract-math/Oracle.js +0 -133
- package/build/dex/ramses-v2/contract-math/Oracle.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/SqrtPriceMath.d.ts +0 -10
- package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js +0 -91
- package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/SwapMath.d.ts +0 -8
- package/build/dex/ramses-v2/contract-math/SwapMath.js +0 -70
- package/build/dex/ramses-v2/contract-math/SwapMath.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/Tick.d.ts +0 -7
- package/build/dex/ramses-v2/contract-math/Tick.js +0 -45
- package/build/dex/ramses-v2/contract-math/Tick.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/TickBitMap.d.ts +0 -8
- package/build/dex/ramses-v2/contract-math/TickBitMap.js +0 -87
- package/build/dex/ramses-v2/contract-math/TickBitMap.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/TickMath.d.ts +0 -8
- package/build/dex/ramses-v2/contract-math/TickMath.js +0 -162
- package/build/dex/ramses-v2/contract-math/TickMath.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/UnsafeMath.d.ts +0 -3
- package/build/dex/ramses-v2/contract-math/UnsafeMath.js +0 -10
- package/build/dex/ramses-v2/contract-math/UnsafeMath.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/uniswap-v3-math.d.ts +0 -18
- package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js +0 -392
- package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js.map +0 -1
- package/build/dex/ramses-v2/contract-math/utils.d.ts +0 -3
- package/build/dex/ramses-v2/contract-math/utils.js +0 -16
- package/build/dex/ramses-v2/contract-math/utils.js.map +0 -1
- package/build/dex/ramses-v2/ramses-v2-pool.d.ts +0 -42
- package/build/dex/ramses-v2/ramses-v2-pool.js +0 -307
- package/build/dex/ramses-v2/ramses-v2-pool.js.map +0 -1
- package/build/dex/ramses-v2/ramses-v2.d.ts +0 -61
- package/build/dex/ramses-v2/ramses-v2.js +0 -690
- package/build/dex/ramses-v2/ramses-v2.js.map +0 -1
- package/build/dex/ramses-v2/types.d.ts +0 -154
- package/build/dex/ramses-v2/types.js +0 -9
- package/build/dex/ramses-v2/types.js.map +0 -1
- package/build/dex/ramses-v2/utils.d.ts +0 -6
- package/build/dex/ramses-v2/utils.js +0 -71
- package/build/dex/ramses-v2/utils.js.map +0 -1
- package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.d.ts +0 -12
- package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js +0 -23
- package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js.map +0 -1
- package/build/dex/woo-fi/config.d.ts +0 -4
- package/build/dex/woo-fi/config.js +0 -141
- package/build/dex/woo-fi/config.js.map +0 -1
- package/build/dex/woo-fi/constants.d.ts +0 -5
- package/build/dex/woo-fi/constants.js +0 -20
- package/build/dex/woo-fi/constants.js.map +0 -1
- package/build/dex/woo-fi/types.d.ts +0 -48
- package/build/dex/woo-fi/types.js +0 -3
- package/build/dex/woo-fi/types.js.map +0 -1
- package/build/dex/woo-fi/woo-fi-decimal-math.d.ts +0 -14
- package/build/dex/woo-fi/woo-fi-decimal-math.js +0 -42
- package/build/dex/woo-fi/woo-fi-decimal-math.js.map +0 -1
- package/build/dex/woo-fi/woo-fi-math.d.ts +0 -31
- package/build/dex/woo-fi/woo-fi-math.js +0 -300
- package/build/dex/woo-fi/woo-fi-math.js.map +0 -1
- package/build/dex/woo-fi/woo-fi.d.ts +0 -65
- package/build/dex/woo-fi/woo-fi.js +0 -480
- package/build/dex/woo-fi/woo-fi.js.map +0 -1
|
@@ -1,83 +1,70 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { UnoptimizedRate, OptimalSwapExchange } from '../../types';
|
|
2
|
+
import { BalancerSwapV2 } from './types';
|
|
3
3
|
import { SwapSide } from '../../constants';
|
|
4
4
|
import { BalancerConfig } from './config';
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
const MAX_UINT256 =
|
|
7
|
+
'115792089237316195423570985008687907853269984665640564039457584007913129639935';
|
|
8
|
+
|
|
9
|
+
const AllBalancerV2Forks = Object.keys(BalancerConfig);
|
|
6
10
|
|
|
7
11
|
export function balancerV2Merge(or: UnoptimizedRate): UnoptimizedRate {
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
let
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
!
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
lastExchangeSwap.srcAmount = (
|
|
33
|
-
BigInt(lastExchangeSwap.srcAmount) + BigInt(currentSwap.srcAmount)
|
|
12
|
+
const fixSwap = (
|
|
13
|
+
rawSwap: OptimalSwapExchange<any>[],
|
|
14
|
+
side: SwapSide,
|
|
15
|
+
): OptimalSwapExchange<any>[] => {
|
|
16
|
+
const newBalancers: { [key: string]: OptimalSwapExchange<any> } = {};
|
|
17
|
+
let optimizedSwap = new Array<OptimalSwapExchange<any>>();
|
|
18
|
+
rawSwap.forEach((s: OptimalSwapExchange<any>) => {
|
|
19
|
+
const exchangeKey = s.exchange.toLowerCase();
|
|
20
|
+
if (AllBalancerV2Forks.some(d => d.toLowerCase() === exchangeKey)) {
|
|
21
|
+
if (!(exchangeKey in newBalancers)) {
|
|
22
|
+
newBalancers[exchangeKey] = {
|
|
23
|
+
exchange: s.exchange,
|
|
24
|
+
srcAmount: '0',
|
|
25
|
+
destAmount: '0',
|
|
26
|
+
percent: 0,
|
|
27
|
+
poolAddresses: [],
|
|
28
|
+
data: {
|
|
29
|
+
swaps: new Array<BalancerSwapV2>(),
|
|
30
|
+
gasUSD: '0',
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
newBalancers[exchangeKey].srcAmount = (
|
|
35
|
+
BigInt(newBalancers[exchangeKey].srcAmount) + BigInt(s.srcAmount)
|
|
34
36
|
).toString();
|
|
35
37
|
|
|
36
|
-
|
|
37
|
-
BigInt(
|
|
38
|
+
newBalancers[exchangeKey].destAmount = (
|
|
39
|
+
BigInt(newBalancers[exchangeKey].destAmount) + BigInt(s.destAmount)
|
|
38
40
|
).toString();
|
|
39
41
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
parseFloat(
|
|
42
|
+
newBalancers[exchangeKey].percent += s.percent;
|
|
43
|
+
newBalancers[exchangeKey].data.exchangeProxy = s.data.exchangeProxy;
|
|
44
|
+
newBalancers[exchangeKey].data.gasUSD = (
|
|
45
|
+
parseFloat(newBalancers[exchangeKey].data.gasUSD) +
|
|
46
|
+
parseFloat(s.data.gasUSD)
|
|
44
47
|
).toFixed(6);
|
|
45
48
|
|
|
46
|
-
|
|
47
|
-
poolId:
|
|
48
|
-
amount:
|
|
49
|
-
side === SwapSide.SELL
|
|
50
|
-
? currentSwap.srcAmount
|
|
51
|
-
: currentSwap.destAmount,
|
|
52
|
-
tokenIn: currentSwap.data.tokenIn,
|
|
53
|
-
tokenOut: currentSwap.data.tokenOut,
|
|
49
|
+
newBalancers[exchangeKey].data.swaps.push({
|
|
50
|
+
poolId: s.data.poolId,
|
|
51
|
+
amount: side === SwapSide.SELL ? s.srcAmount : s.destAmount,
|
|
54
52
|
});
|
|
55
|
-
|
|
53
|
+
newBalancers[exchangeKey].poolAddresses!.push(s.poolAddresses![0]);
|
|
56
54
|
} else {
|
|
57
|
-
|
|
58
|
-
lastExchange.swapExchanges[0].data = {};
|
|
59
|
-
lastExchange.swapExchanges[0].data.gasUSD =
|
|
60
|
-
s.swapExchanges[0].data.gasUSD;
|
|
61
|
-
lastExchange.swapExchanges[0].data.swaps = [
|
|
62
|
-
{
|
|
63
|
-
poolId: s.swapExchanges[0].data.poolId,
|
|
64
|
-
amount:
|
|
65
|
-
side === SwapSide.SELL
|
|
66
|
-
? s.swapExchanges[0].srcAmount
|
|
67
|
-
: s.swapExchanges[0].destAmount,
|
|
68
|
-
tokenIn: s.swapExchanges[0].data.tokenIn,
|
|
69
|
-
tokenOut: s.swapExchanges[0].data.tokenOut,
|
|
70
|
-
},
|
|
71
|
-
];
|
|
72
|
-
optimizedRate.push(lastExchange);
|
|
55
|
+
optimizedSwap.push(s);
|
|
73
56
|
}
|
|
74
57
|
});
|
|
75
|
-
|
|
58
|
+
optimizedSwap = optimizedSwap.concat(Object.values(newBalancers));
|
|
59
|
+
return optimizedSwap;
|
|
76
60
|
};
|
|
77
61
|
|
|
78
62
|
or.bestRoute = or.bestRoute.map(r => ({
|
|
79
63
|
...r,
|
|
80
|
-
swaps:
|
|
64
|
+
swaps: r.swaps.map(s => ({
|
|
65
|
+
...s,
|
|
66
|
+
swapExchanges: fixSwap(s.swapExchanges, or.side),
|
|
67
|
+
})),
|
|
81
68
|
}));
|
|
82
69
|
return or;
|
|
83
70
|
}
|
|
@@ -82,8 +82,6 @@ export interface SubgraphPoolBase {
|
|
|
82
82
|
export type BalancerSwapV2 = {
|
|
83
83
|
poolId: string;
|
|
84
84
|
amount: string;
|
|
85
|
-
tokenIn: string;
|
|
86
|
-
tokenOut: string;
|
|
87
85
|
};
|
|
88
86
|
|
|
89
87
|
export type OptimizedBalancerV2Data = {
|
|
@@ -141,8 +139,6 @@ export type BalancerV2DirectParam = [
|
|
|
141
139
|
|
|
142
140
|
export type BalancerV2Data = {
|
|
143
141
|
poolId: string;
|
|
144
|
-
tokenIn: string;
|
|
145
|
-
tokenOut: string;
|
|
146
142
|
};
|
|
147
143
|
|
|
148
144
|
export type DexParams = {
|
|
@@ -35,38 +35,6 @@ const customPlain3CoinThree: calc_token_amount = (
|
|
|
35
35
|
return (diff * token_amount) / D0;
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
const factoryPlain2Basic: calc_token_amount = (
|
|
39
|
-
self: IPoolContext,
|
|
40
|
-
state: PoolState,
|
|
41
|
-
amounts: bigint[],
|
|
42
|
-
is_deposit: boolean,
|
|
43
|
-
) => {
|
|
44
|
-
const { N_COINS } = self.constants;
|
|
45
|
-
const amp = state.A;
|
|
46
|
-
const balances = [...state.balances];
|
|
47
|
-
const D0 = self.get_D(self, balances, amp);
|
|
48
|
-
for (const i of _.range(N_COINS)) {
|
|
49
|
-
if (is_deposit) balances[i] += amounts[i];
|
|
50
|
-
else balances[i] -= amounts[i];
|
|
51
|
-
}
|
|
52
|
-
const D1 = self.get_D(self, balances, amp);
|
|
53
|
-
|
|
54
|
-
if (state.totalSupply === undefined) {
|
|
55
|
-
throw new Error(
|
|
56
|
-
`${self.IMPLEMENTATION_NAME} customPlain3CoinThree: totalSupply is not provided`,
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
const token_amount = state.totalSupply;
|
|
61
|
-
let diff = 0n;
|
|
62
|
-
if (is_deposit) {
|
|
63
|
-
diff = D1 - D0;
|
|
64
|
-
} else {
|
|
65
|
-
diff = D0 - D1;
|
|
66
|
-
}
|
|
67
|
-
return (diff * token_amount) / D0;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
38
|
const customAvalanche3CoinLending: calc_token_amount = (
|
|
71
39
|
self: IPoolContext,
|
|
72
40
|
state: PoolState,
|
|
@@ -146,7 +114,7 @@ const implementations: Record<ImplementationNames, calc_token_amount> = {
|
|
|
146
114
|
[ImplementationNames.FACTORY_META_USD_BALANCES_FRAX_USDC]: notImplemented,
|
|
147
115
|
|
|
148
116
|
[ImplementationNames.FACTORY_PLAIN_2_BALANCES]: notImplemented,
|
|
149
|
-
[ImplementationNames.FACTORY_PLAIN_2_BASIC]:
|
|
117
|
+
[ImplementationNames.FACTORY_PLAIN_2_BASIC]: notImplemented,
|
|
150
118
|
[ImplementationNames.FACTORY_PLAIN_2_ETH]: notImplemented,
|
|
151
119
|
[ImplementationNames.FACTORY_PLAIN_2_OPTIMIZED]: notImplemented,
|
|
152
120
|
|
|
@@ -120,7 +120,7 @@ export class UniswapV3
|
|
|
120
120
|
this.stateMultiContract = new this.dexHelper.web3Provider.eth.Contract(
|
|
121
121
|
this.config.stateMultiCallAbi !== undefined
|
|
122
122
|
? this.config.stateMultiCallAbi
|
|
123
|
-
: UniswapV3StateMulticallABI as AbiItem[],
|
|
123
|
+
: (UniswapV3StateMulticallABI as AbiItem[]),
|
|
124
124
|
this.config.stateMulticall,
|
|
125
125
|
);
|
|
126
126
|
|
|
@@ -279,7 +279,7 @@ export class UniswapV3
|
|
|
279
279
|
e,
|
|
280
280
|
);
|
|
281
281
|
} else {
|
|
282
|
-
// on
|
|
282
|
+
// on unkown error mark as failed and increase retryCount for retry init strategy
|
|
283
283
|
// note: state would be null by default which allows to fallback
|
|
284
284
|
this.logger.warn(
|
|
285
285
|
`${this.dexKey}: Can not generate pool state for srcAddress=${srcAddress}, destAddress=${destAddress}, fee=${fee} pool fallback to rpc and retry every ${this.config.initRetryFrequency} times, initRetryAttemptCount=${pool.initRetryAttemptCount}`,
|
|
@@ -1059,7 +1059,8 @@ export class UniswapV3
|
|
|
1059
1059
|
initHash: this.config.initHash,
|
|
1060
1060
|
subgraphURL: this.config.subgraphURL,
|
|
1061
1061
|
stateMultiCallAbi: this.config.stateMultiCallAbi,
|
|
1062
|
-
decodeStateMultiCallResultWithRelativeBitmaps:
|
|
1062
|
+
decodeStateMultiCallResultWithRelativeBitmaps:
|
|
1063
|
+
this.config.decodeStateMultiCallResultWithRelativeBitmaps,
|
|
1063
1064
|
};
|
|
1064
1065
|
return newConfig;
|
|
1065
1066
|
}
|
package/.idea/aws.xml
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="accountSettings">
|
|
4
|
-
<option name="activeProfile" value="profile:default" />
|
|
5
|
-
<option name="activeRegion" value="us-east-1" />
|
|
6
|
-
<option name="recentlyUsedProfiles">
|
|
7
|
-
<list>
|
|
8
|
-
<option value="profile:default" />
|
|
9
|
-
</list>
|
|
10
|
-
</option>
|
|
11
|
-
<option name="recentlyUsedRegions">
|
|
12
|
-
<list>
|
|
13
|
-
<option value="us-east-1" />
|
|
14
|
-
</list>
|
|
15
|
-
</option>
|
|
16
|
-
</component>
|
|
17
|
-
</project>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<component name="ProjectCodeStyleConfiguration">
|
|
2
|
-
<code_scheme name="Project" version="173">
|
|
3
|
-
<ScalaCodeStyleSettings>
|
|
4
|
-
<option name="MULTILINE_STRING_CLOSING_QUOTES_ON_NEW_LINE" value="true" />
|
|
5
|
-
</ScalaCodeStyleSettings>
|
|
6
|
-
<TypeScriptCodeStyleSettings version="0">
|
|
7
|
-
<option name="SPACE_WITHIN_ARRAY_INITIALIZER_BRACKETS" value="true" />
|
|
8
|
-
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
9
|
-
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
10
|
-
</TypeScriptCodeStyleSettings>
|
|
11
|
-
<codeStyleSettings language="TypeScript">
|
|
12
|
-
<indentOptions>
|
|
13
|
-
<option name="INDENT_SIZE" value="2" />
|
|
14
|
-
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
15
|
-
<option name="TAB_SIZE" value="2" />
|
|
16
|
-
</indentOptions>
|
|
17
|
-
</codeStyleSettings>
|
|
18
|
-
</code_scheme>
|
|
19
|
-
</component>
|
package/.idea/misc.xml
DELETED
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/paraswap-dex-lib.iml" filepath="$PROJECT_DIR$/.idea/paraswap-dex-lib.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="JAVA_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
-
<exclude-output />
|
|
5
|
-
<content url="file://$MODULE_DIR$" />
|
|
6
|
-
<orderEntry type="inheritedJdk" />
|
|
7
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
-
</component>
|
|
9
|
-
</module>
|