@paraswap/dex-lib 3.8.27 → 3.8.28-fm.0
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-utils.d.ts +3 -0
- package/build/dex-utils.js +10 -0
- package/build/dex-utils.js.map +1 -0
- package/build/pricing-helper.d.ts +2 -2
- package/build/pricing-helper.js +4 -4
- package/build/pricing-helper.js.map +1 -1
- package/build/stateful-dual-synchronizer.d.ts +46 -0
- package/build/stateful-dual-synchronizer.js +300 -0
- package/build/stateful-dual-synchronizer.js.map +1 -0
- package/package.json +2 -3
- package/src/pricing-helper.ts +4 -2
- package/.idea/codeStyles/Project.xml +0 -59
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/paraswap-dex-lib.iml +0 -12
- package/.idea/vcs.xml +0 -6
- package/build/abi/BProtocol.json +0 -1155
- package/build/abi/Jarvis.json +0 -1172
- package/build/abi/MStableAsset.json +0 -1545
- package/build/abi/OneInchLp.json +0 -1304
- package/build/abi/Onebit.json +0 -736
- package/build/abi/Shell.json +0 -1294
- package/build/abi/TraderJoeV2Router.json +0 -50
- package/build/abi/zrx.v2.json +0 -1967
- package/build/abi/zrx.v3.json +0 -3454
- package/build/abi/zrx.v4.json +0 -2193
- package/build/dex/OneInchLp.d.ts +0 -24
- package/build/dex/OneInchLp.js +0 -43
- package/build/dex/OneInchLp.js.map +0 -1
- package/build/dex/bProtocol/bProtocol.d.ts +0 -15
- package/build/dex/bProtocol/bProtocol.js +0 -56
- package/build/dex/bProtocol/bProtocol.js.map +0 -1
- package/build/dex/bProtocol/types.d.ts +0 -11
- package/build/dex/bProtocol/types.js +0 -8
- package/build/dex/bProtocol/types.js.map +0 -1
- package/build/dex/jarvis.d.ts +0 -56
- package/build/dex/jarvis.js +0 -163
- package/build/dex/jarvis.js.map +0 -1
- package/build/dex/mStable.d.ts +0 -44
- package/build/dex/mStable.js +0 -75
- package/build/dex/mStable.js.map +0 -1
- package/build/dex/onebit/onebit.d.ts +0 -16
- package/build/dex/onebit/onebit.js +0 -61
- package/build/dex/onebit/onebit.js.map +0 -1
- package/build/dex/onebit/types.d.ts +0 -14
- package/build/dex/onebit/types.js +0 -8
- package/build/dex/onebit/types.js.map +0 -1
- package/build/dex/shell.d.ts +0 -25
- package/build/dex/shell.js +0 -41
- package/build/dex/shell.js.map +0 -1
- package/build/dex/trader-joe-v2.d.ts +0 -40
- package/build/dex/trader-joe-v2.js +0 -74
- package/build/dex/trader-joe-v2.js.map +0 -1
- package/build/dex/zerox/config.d.ts +0 -2
- package/build/dex/zerox/config.js +0 -33
- package/build/dex/zerox/config.js.map +0 -1
- package/build/dex/zerox/index.d.ts +0 -22
- package/build/dex/zerox/index.js +0 -225
- package/build/dex/zerox/index.js.map +0 -1
- package/build/dex/zerox/order.d.ts +0 -88
- package/build/dex/zerox/order.js +0 -53
- package/build/dex/zerox/order.js.map +0 -1
- package/build/dex/zerox/types.d.ts +0 -73
- package/build/dex/zerox/types.js +0 -21
- package/build/dex/zerox/types.js.map +0 -1
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [
|
|
4
|
-
{ "internalType": "uint256", "name": "_amountIn", "type": "uint256" },
|
|
5
|
-
{ "internalType": "uint256", "name": "_amountOutMin", "type": "uint256" },
|
|
6
|
-
{
|
|
7
|
-
"internalType": "uint256[]",
|
|
8
|
-
"name": "_pairBinSteps",
|
|
9
|
-
"type": "uint256[]"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"internalType": "contract IERC20[]",
|
|
13
|
-
"name": "_tokenPath",
|
|
14
|
-
"type": "address[]"
|
|
15
|
-
},
|
|
16
|
-
{ "internalType": "address", "name": "_to", "type": "address" },
|
|
17
|
-
{ "internalType": "uint256", "name": "_deadline", "type": "uint256" }
|
|
18
|
-
],
|
|
19
|
-
"name": "swapExactTokensForTokens",
|
|
20
|
-
"outputs": [
|
|
21
|
-
{ "internalType": "uint256", "name": "amountOut", "type": "uint256" }
|
|
22
|
-
],
|
|
23
|
-
"stateMutability": "nonpayable",
|
|
24
|
-
"type": "function"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"inputs": [
|
|
28
|
-
{ "internalType": "uint256", "name": "_amountOut", "type": "uint256" },
|
|
29
|
-
{ "internalType": "uint256", "name": "_amountInMax", "type": "uint256" },
|
|
30
|
-
{
|
|
31
|
-
"internalType": "uint256[]",
|
|
32
|
-
"name": "_pairBinSteps",
|
|
33
|
-
"type": "uint256[]"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"internalType": "contract IERC20[]",
|
|
37
|
-
"name": "_tokenPath",
|
|
38
|
-
"type": "address[]"
|
|
39
|
-
},
|
|
40
|
-
{ "internalType": "address", "name": "_to", "type": "address" },
|
|
41
|
-
{ "internalType": "uint256", "name": "_deadline", "type": "uint256" }
|
|
42
|
-
],
|
|
43
|
-
"name": "swapTokensForExactTokens",
|
|
44
|
-
"outputs": [
|
|
45
|
-
{ "internalType": "uint256[]", "name": "amountsIn", "type": "uint256[]" }
|
|
46
|
-
],
|
|
47
|
-
"stateMutability": "nonpayable",
|
|
48
|
-
"type": "function"
|
|
49
|
-
}
|
|
50
|
-
]
|