@paraswap/dex-lib 3.8.1-lo-v6-encoding-bug.0 → 3.8.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/build/dex/index.js +1 -19
- package/build/dex/index.js.map +1 -1
- package/build/generic-swap-transaction-builder.js +1 -3
- package/build/generic-swap-transaction-builder.js.map +1 -1
- package/build/router/simpleswap.js +1 -3
- package/build/router/simpleswap.js.map +1 -1
- package/package.json +1 -1
- package/src/dex/index.ts +1 -18
- package/src/dex/paraswap-limit-orders/paraswap-limit-orders-e2e.test.ts +1 -1
- package/src/generic-swap-transaction-builder.ts +1 -3
- package/src/router/simpleswap.ts +1 -3
- package/tests/constants-e2e.ts +0 -10
- package/src/abi/BProtocol.json +0 -1155
- package/src/abi/Jarvis.json +0 -1172
- package/src/abi/MStableAsset.json +0 -1545
- package/src/abi/OneInchLp.json +0 -1304
- package/src/abi/Onebit.json +0 -736
- package/src/abi/Shell.json +0 -1294
- package/src/abi/TraderJoeV2Router.json +0 -50
- package/src/abi/zrx.v2.json +0 -1967
- package/src/abi/zrx.v3.json +0 -3454
- package/src/abi/zrx.v4.json +0 -2193
- package/src/dex/OneInchLp.ts +0 -84
- package/src/dex/bProtocol/bProtocol-e2e.test.ts +0 -93
- package/src/dex/bProtocol/bProtocol.ts +0 -108
- package/src/dex/bProtocol/types.ts +0 -13
- package/src/dex/jarvis.ts +0 -262
- package/src/dex/mStable.ts +0 -147
- package/src/dex/onebit/onebit.ts +0 -113
- package/src/dex/onebit/types.ts +0 -17
- package/src/dex/shell.ts +0 -84
- package/src/dex/trader-joe-v2.ts +0 -148
- package/src/dex/zerox/config.ts +0 -31
- package/src/dex/zerox/index.ts +0 -328
- package/src/dex/zerox/order.ts +0 -62
- package/src/dex/zerox/types.ts +0 -82
- package/src/dex/zerox/zerox-e2e.test.ts +0 -110
|
@@ -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
|
-
]
|