@paraswap/dex-lib 2.23.2 → 2.23.3-uniswap-v2-pairs-distant-cache.2
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/.idea/aws.xml +17 -0
- package/.idea/codeStyles/Project.xml +19 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/paraswap-dex-lib.iml +9 -0
- package/.idea/vcs.xml +6 -0
- package/build/dex/aave-v3/tokens/arbitrum.json +50 -0
- package/build/dex/aave-v3/tokens/avalanche.json +74 -0
- package/build/dex/aave-v3/tokens/fantom.json +62 -0
- package/build/dex/aave-v3/tokens/optimism.json +50 -0
- package/build/dex/aave-v3/tokens/polygon.json +116 -0
- package/build/dex/pancakeswap-v3/types.d.ts +14 -0
- package/build/dex/{algebra → pancakeswap-v3}/types.js.map +1 -1
- package/build/dex/solidly/forks-override/ramses.d.ts +8 -0
- package/build/dex/solidly/forks-override/ramses.js +15 -0
- package/build/dex/solidly/forks-override/ramses.js.map +1 -0
- package/build/dex/uniswap-v2/constants.d.ts +1 -0
- package/build/dex/uniswap-v2/constants.js +2 -1
- package/build/dex/uniswap-v2/constants.js.map +1 -1
- package/build/dex/uniswap-v2/uniswap-v2.d.ts +5 -2
- package/build/dex/uniswap-v2/uniswap-v2.js +36 -18
- package/build/dex/uniswap-v2/uniswap-v2.js.map +1 -1
- package/package.json +1 -1
- package/src/dex/uniswap-v2/constants.ts +2 -0
- package/src/dex/uniswap-v2/uniswap-v2.ts +55 -18
- package/build/abi/algebra/AlgebraPool.abi.json +0 -727
- package/build/abi/algebra/AlgebraQuoter.abi.json +0 -138
- package/build/abi/algebra/AlgebraStateMulticall.abi.json +0 -801
- package/build/dex/algebra/algebra-pool.d.ts +0 -41
- package/build/dex/algebra/algebra-pool.js +0 -267
- package/build/dex/algebra/algebra-pool.js.map +0 -1
- package/build/dex/algebra/algebra.d.ts +0 -53
- package/build/dex/algebra/algebra.js +0 -457
- package/build/dex/algebra/algebra.js.map +0 -1
- package/build/dex/algebra/config.d.ts +0 -4
- package/build/dex/algebra/config.js +0 -41
- package/build/dex/algebra/config.js.map +0 -1
- package/build/dex/algebra/lib/AlgebraMath.d.ts +0 -14
- package/build/dex/algebra/lib/AlgebraMath.js +0 -274
- package/build/dex/algebra/lib/AlgebraMath.js.map +0 -1
- package/build/dex/algebra/lib/AlgebraXUniV3.d.ts +0 -5
- package/build/dex/algebra/lib/AlgebraXUniV3.js +0 -45
- package/build/dex/algebra/lib/AlgebraXUniV3.js.map +0 -1
- package/build/dex/algebra/lib/Constants.d.ts +0 -5
- package/build/dex/algebra/lib/Constants.js +0 -10
- package/build/dex/algebra/lib/Constants.js.map +0 -1
- package/build/dex/algebra/lib/DataStorage.d.ts +0 -24
- package/build/dex/algebra/lib/DataStorage.js +0 -388
- package/build/dex/algebra/lib/DataStorage.js.map +0 -1
- package/build/dex/algebra/lib/DataStorageOperator.d.ts +0 -9
- package/build/dex/algebra/lib/DataStorageOperator.js +0 -66
- package/build/dex/algebra/lib/DataStorageOperator.js.map +0 -1
- package/build/dex/algebra/lib/Sqrt.d.ts +0 -3
- package/build/dex/algebra/lib/Sqrt.js +0 -60
- package/build/dex/algebra/lib/Sqrt.js.map +0 -1
- package/build/dex/algebra/lib/TickManager.d.ts +0 -10
- package/build/dex/algebra/lib/TickManager.js +0 -3
- package/build/dex/algebra/lib/TickManager.js.map +0 -1
- package/build/dex/algebra/types.d.ts +0 -55
- /package/build/dex/{algebra → pancakeswap-v3}/types.js +0 -0
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [
|
|
4
|
-
{
|
|
5
|
-
"internalType": "bytes",
|
|
6
|
-
"name": "path",
|
|
7
|
-
"type": "bytes"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"internalType": "uint256",
|
|
11
|
-
"name": "amountIn",
|
|
12
|
-
"type": "uint256"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"name": "quoteExactInput",
|
|
16
|
-
"outputs": [
|
|
17
|
-
{
|
|
18
|
-
"internalType": "uint256",
|
|
19
|
-
"name": "amountOut",
|
|
20
|
-
"type": "uint256"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"internalType": "uint16[]",
|
|
24
|
-
"name": "fees",
|
|
25
|
-
"type": "uint16[]"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"stateMutability": "nonpayable",
|
|
29
|
-
"type": "function"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"inputs": [
|
|
33
|
-
{
|
|
34
|
-
"internalType": "address",
|
|
35
|
-
"name": "tokenIn",
|
|
36
|
-
"type": "address"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"internalType": "address",
|
|
40
|
-
"name": "tokenOut",
|
|
41
|
-
"type": "address"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"internalType": "uint256",
|
|
45
|
-
"name": "amountIn",
|
|
46
|
-
"type": "uint256"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"internalType": "uint160",
|
|
50
|
-
"name": "limitSqrtPrice",
|
|
51
|
-
"type": "uint160"
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"name": "quoteExactInputSingle",
|
|
55
|
-
"outputs": [
|
|
56
|
-
{
|
|
57
|
-
"internalType": "uint256",
|
|
58
|
-
"name": "amountOut",
|
|
59
|
-
"type": "uint256"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"internalType": "uint16",
|
|
63
|
-
"name": "fee",
|
|
64
|
-
"type": "uint16"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"stateMutability": "nonpayable",
|
|
68
|
-
"type": "function"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"inputs": [
|
|
72
|
-
{
|
|
73
|
-
"internalType": "bytes",
|
|
74
|
-
"name": "path",
|
|
75
|
-
"type": "bytes"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"internalType": "uint256",
|
|
79
|
-
"name": "amountOut",
|
|
80
|
-
"type": "uint256"
|
|
81
|
-
}
|
|
82
|
-
],
|
|
83
|
-
"name": "quoteExactOutput",
|
|
84
|
-
"outputs": [
|
|
85
|
-
{
|
|
86
|
-
"internalType": "uint256",
|
|
87
|
-
"name": "amountIn",
|
|
88
|
-
"type": "uint256"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"internalType": "uint16[]",
|
|
92
|
-
"name": "fees",
|
|
93
|
-
"type": "uint16[]"
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
"stateMutability": "nonpayable",
|
|
97
|
-
"type": "function"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"inputs": [
|
|
101
|
-
{
|
|
102
|
-
"internalType": "address",
|
|
103
|
-
"name": "tokenIn",
|
|
104
|
-
"type": "address"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"internalType": "address",
|
|
108
|
-
"name": "tokenOut",
|
|
109
|
-
"type": "address"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"internalType": "uint256",
|
|
113
|
-
"name": "amountOut",
|
|
114
|
-
"type": "uint256"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"internalType": "uint160",
|
|
118
|
-
"name": "limitSqrtPrice",
|
|
119
|
-
"type": "uint160"
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"name": "quoteExactOutputSingle",
|
|
123
|
-
"outputs": [
|
|
124
|
-
{
|
|
125
|
-
"internalType": "uint256",
|
|
126
|
-
"name": "amountIn",
|
|
127
|
-
"type": "uint256"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"internalType": "uint16",
|
|
131
|
-
"name": "fee",
|
|
132
|
-
"type": "uint16"
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
"stateMutability": "nonpayable",
|
|
136
|
-
"type": "function"
|
|
137
|
-
}
|
|
138
|
-
]
|