@paraswap/dex-lib 4.1.22 → 4.1.23-generic-rfq-pubsub.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.
Files changed (91) hide show
  1. package/build/dex/angle-transmuter/angle-transmuter.d.ts +4 -3
  2. package/build/dex/angle-transmuter/angle-transmuter.js +5 -7
  3. package/build/dex/angle-transmuter/angle-transmuter.js.map +1 -1
  4. package/build/dex/cables/cables.js +0 -4
  5. package/build/dex/cables/cables.js.map +1 -1
  6. package/build/dex/generic-rfq/generic-rfq.js +1 -2
  7. package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
  8. package/build/dex/generic-rfq/rate-fetcher.d.ts +4 -1
  9. package/build/dex/generic-rfq/rate-fetcher.js +53 -20
  10. package/build/dex/generic-rfq/rate-fetcher.js.map +1 -1
  11. package/build/lib/pub-sub.d.ts +15 -0
  12. package/build/lib/pub-sub.js +72 -4
  13. package/build/lib/pub-sub.js.map +1 -1
  14. package/package.json +1 -1
  15. package/build/abi/BProtocol.json +0 -1155
  16. package/build/abi/Jarvis.json +0 -1172
  17. package/build/abi/MStableAsset.json +0 -1545
  18. package/build/abi/OneInchLp.json +0 -1304
  19. package/build/abi/Onebit.json +0 -736
  20. package/build/abi/Shell.json +0 -1294
  21. package/build/abi/TraderJoeV2Router.json +0 -50
  22. package/build/abi/wUSDM.json +0 -757
  23. package/build/abi/zrx.v2.json +0 -1967
  24. package/build/abi/zrx.v3.json +0 -3454
  25. package/build/abi/zrx.v4.json +0 -2193
  26. package/build/dex/OneInchLp.d.ts +0 -24
  27. package/build/dex/OneInchLp.js +0 -43
  28. package/build/dex/OneInchLp.js.map +0 -1
  29. package/build/dex/bProtocol/bProtocol.d.ts +0 -15
  30. package/build/dex/bProtocol/bProtocol.js +0 -56
  31. package/build/dex/bProtocol/bProtocol.js.map +0 -1
  32. package/build/dex/bProtocol/types.d.ts +0 -11
  33. package/build/dex/bProtocol/types.js +0 -8
  34. package/build/dex/bProtocol/types.js.map +0 -1
  35. package/build/dex/jarvis.d.ts +0 -56
  36. package/build/dex/jarvis.js +0 -163
  37. package/build/dex/jarvis.js.map +0 -1
  38. package/build/dex/mStable.d.ts +0 -44
  39. package/build/dex/mStable.js +0 -75
  40. package/build/dex/mStable.js.map +0 -1
  41. package/build/dex/onebit/onebit.d.ts +0 -16
  42. package/build/dex/onebit/onebit.js +0 -61
  43. package/build/dex/onebit/onebit.js.map +0 -1
  44. package/build/dex/onebit/types.d.ts +0 -14
  45. package/build/dex/onebit/types.js +0 -8
  46. package/build/dex/onebit/types.js.map +0 -1
  47. package/build/dex/shell.d.ts +0 -25
  48. package/build/dex/shell.js +0 -41
  49. package/build/dex/shell.js.map +0 -1
  50. package/build/dex/trader-joe-v2.d.ts +0 -40
  51. package/build/dex/trader-joe-v2.js +0 -74
  52. package/build/dex/trader-joe-v2.js.map +0 -1
  53. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +0 -94
  54. package/build/dex/uniswap-v3/uniswap-v3-new.js +0 -923
  55. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +0 -1
  56. package/build/dex/usual-bond/config.d.ts +0 -3
  57. package/build/dex/usual-bond/config.js +0 -13
  58. package/build/dex/usual-bond/config.js.map +0 -1
  59. package/build/dex/usual-bond/types.d.ts +0 -7
  60. package/build/dex/usual-bond/types.js +0 -3
  61. package/build/dex/usual-bond/types.js.map +0 -1
  62. package/build/dex/usual-bond/usual-bond.d.ts +0 -35
  63. package/build/dex/usual-bond/usual-bond.js +0 -176
  64. package/build/dex/usual-bond/usual-bond.js.map +0 -1
  65. package/build/dex/wusdm/config.d.ts +0 -3
  66. package/build/dex/wusdm/config.js +0 -43
  67. package/build/dex/wusdm/config.js.map +0 -1
  68. package/build/dex/wusdm/constants.d.ts +0 -2
  69. package/build/dex/wusdm/constants.js +0 -6
  70. package/build/dex/wusdm/constants.js.map +0 -1
  71. package/build/dex/wusdm/types.d.ts +0 -18
  72. package/build/dex/wusdm/types.js +0 -11
  73. package/build/dex/wusdm/types.js.map +0 -1
  74. package/build/dex/wusdm/wusdm-pool.d.ts +0 -21
  75. package/build/dex/wusdm/wusdm-pool.js +0 -74
  76. package/build/dex/wusdm/wusdm-pool.js.map +0 -1
  77. package/build/dex/wusdm/wusdm.d.ts +0 -46
  78. package/build/dex/wusdm/wusdm.js +0 -243
  79. package/build/dex/wusdm/wusdm.js.map +0 -1
  80. package/build/dex/zerox/config.d.ts +0 -2
  81. package/build/dex/zerox/config.js +0 -33
  82. package/build/dex/zerox/config.js.map +0 -1
  83. package/build/dex/zerox/index.d.ts +0 -22
  84. package/build/dex/zerox/index.js +0 -225
  85. package/build/dex/zerox/index.js.map +0 -1
  86. package/build/dex/zerox/order.d.ts +0 -88
  87. package/build/dex/zerox/order.js +0 -53
  88. package/build/dex/zerox/order.js.map +0 -1
  89. package/build/dex/zerox/types.d.ts +0 -73
  90. package/build/dex/zerox/types.js +0 -21
  91. 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
- ]