@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.
Files changed (37) hide show
  1. package/build/dex/index.js +1 -19
  2. package/build/dex/index.js.map +1 -1
  3. package/build/generic-swap-transaction-builder.js +1 -3
  4. package/build/generic-swap-transaction-builder.js.map +1 -1
  5. package/build/router/simpleswap.js +1 -3
  6. package/build/router/simpleswap.js.map +1 -1
  7. package/package.json +1 -1
  8. package/src/dex/index.ts +1 -18
  9. package/src/dex/paraswap-limit-orders/paraswap-limit-orders-e2e.test.ts +1 -1
  10. package/src/generic-swap-transaction-builder.ts +1 -3
  11. package/src/router/simpleswap.ts +1 -3
  12. package/tests/constants-e2e.ts +0 -10
  13. package/src/abi/BProtocol.json +0 -1155
  14. package/src/abi/Jarvis.json +0 -1172
  15. package/src/abi/MStableAsset.json +0 -1545
  16. package/src/abi/OneInchLp.json +0 -1304
  17. package/src/abi/Onebit.json +0 -736
  18. package/src/abi/Shell.json +0 -1294
  19. package/src/abi/TraderJoeV2Router.json +0 -50
  20. package/src/abi/zrx.v2.json +0 -1967
  21. package/src/abi/zrx.v3.json +0 -3454
  22. package/src/abi/zrx.v4.json +0 -2193
  23. package/src/dex/OneInchLp.ts +0 -84
  24. package/src/dex/bProtocol/bProtocol-e2e.test.ts +0 -93
  25. package/src/dex/bProtocol/bProtocol.ts +0 -108
  26. package/src/dex/bProtocol/types.ts +0 -13
  27. package/src/dex/jarvis.ts +0 -262
  28. package/src/dex/mStable.ts +0 -147
  29. package/src/dex/onebit/onebit.ts +0 -113
  30. package/src/dex/onebit/types.ts +0 -17
  31. package/src/dex/shell.ts +0 -84
  32. package/src/dex/trader-joe-v2.ts +0 -148
  33. package/src/dex/zerox/config.ts +0 -31
  34. package/src/dex/zerox/index.ts +0 -328
  35. package/src/dex/zerox/order.ts +0 -62
  36. package/src/dex/zerox/types.ts +0 -82
  37. 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
- ]