@paraswap/dex-lib 4.2.5 → 4.2.7

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 (369) hide show
  1. package/build/constants.js +1 -1
  2. package/build/dex/uniswap-v4/constants.d.ts +1 -2
  3. package/build/dex/uniswap-v4/constants.js +2 -3
  4. package/build/dex/uniswap-v4/constants.js.map +1 -1
  5. package/build/dex/uniswap-v4/contract-math/Tick.d.ts +1 -1
  6. package/build/dex/uniswap-v4/contract-math/Tick.js +13 -9
  7. package/build/dex/uniswap-v4/contract-math/Tick.js.map +1 -1
  8. package/build/dex/uniswap-v4/contract-math/uniswap-v4-pool-math.js +6 -5
  9. package/build/dex/uniswap-v4/contract-math/uniswap-v4-pool-math.js.map +1 -1
  10. package/build/dex/uniswap-v4/optimizer.d.ts +2 -0
  11. package/build/dex/uniswap-v4/optimizer.js +47 -0
  12. package/build/dex/uniswap-v4/optimizer.js.map +1 -0
  13. package/build/dex/uniswap-v4/uniswap-v4-pool.js +14 -6
  14. package/build/dex/uniswap-v4/uniswap-v4-pool.js.map +1 -1
  15. package/build/dex/uniswap-v4/uniswap-v4.js +7 -1
  16. package/build/dex/uniswap-v4/uniswap-v4.js.map +1 -1
  17. package/package.json +1 -1
  18. package/build/abi/AaveV1_lending_pool.json +0 -27
  19. package/build/abi/Aave_GSM.json +0 -751
  20. package/build/abi/BProtocol.json +0 -1155
  21. package/build/abi/Balancer.json +0 -257
  22. package/build/abi/BalancerV2.json +0 -1179
  23. package/build/abi/Jarvis.json +0 -1172
  24. package/build/abi/MStableAsset.json +0 -1545
  25. package/build/abi/OneInchLp.json +0 -1304
  26. package/build/abi/Onebit.json +0 -736
  27. package/build/abi/RamsesV2Pool.abi.json +0 -1554
  28. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  29. package/build/abi/Shell.json +0 -1294
  30. package/build/abi/TraderJoeV2Router.json +0 -50
  31. package/build/abi/USDM.json +0 -807
  32. package/build/abi/UniswapV2Router.json +0 -397
  33. package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +0 -1246
  34. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
  35. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  36. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  37. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  38. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  39. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  40. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  41. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  42. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  43. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  44. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  45. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  46. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  47. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  48. package/build/abi/curve-v1/StableSwapUSDN.json +0 -1004
  49. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  50. package/build/abi/curve-v1/StableSwapY.json +0 -814
  51. package/build/abi/inception/inception-ineth-pool.json +0 -1062
  52. package/build/abi/inception/inception-ineth.json +0 -609
  53. package/build/abi/inception/inception-ratio-feed.json +0 -329
  54. package/build/abi/inception/inception-vault.json +0 -991
  55. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  56. package/build/abi/kyberdmm.abi.json +0 -1148
  57. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  58. package/build/abi/nerve/nerve-metapool.json +0 -790
  59. package/build/abi/platypus/asset.json +0 -490
  60. package/build/abi/platypus/avax-pool.json +0 -820
  61. package/build/abi/platypus/oracle.json +0 -119
  62. package/build/abi/platypus/pool.json +0 -677
  63. package/build/abi/smardex/all/smardex-router.json +0 -648
  64. package/build/abi/smardex/layer-1/smardex-factory.json +0 -242
  65. package/build/abi/smardex/layer-1/smardex-pool.json +0 -506
  66. package/build/abi/smardex/layer-2/smardex-factory.json +0 -185
  67. package/build/abi/smardex/layer-2/smardex-pool.json +0 -578
  68. package/build/abi/swaap-v1/pool.json +0 -1346
  69. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  70. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  71. package/build/abi/wUSDM.json +0 -757
  72. package/build/abi/zrx.v2.json +0 -1967
  73. package/build/abi/zrx.v3.json +0 -3454
  74. package/build/abi/zrx.v4.json +0 -2193
  75. package/build/dex/OneInchLp.d.ts +0 -24
  76. package/build/dex/OneInchLp.js +0 -43
  77. package/build/dex/OneInchLp.js.map +0 -1
  78. package/build/dex/aave-v1/aave-v1.d.ts +0 -34
  79. package/build/dex/aave-v1/aave-v1.js +0 -180
  80. package/build/dex/aave-v1/aave-v1.js.map +0 -1
  81. package/build/dex/aave-v1/config.d.ts +0 -11
  82. package/build/dex/aave-v1/config.js +0 -20
  83. package/build/dex/aave-v1/config.js.map +0 -1
  84. package/build/dex/aave-v1/tokens-mainnet.json +0 -134
  85. package/build/dex/aave-v1/tokens.d.ts +0 -3
  86. package/build/dex/aave-v1/tokens.js +0 -50
  87. package/build/dex/aave-v1/tokens.js.map +0 -1
  88. package/build/dex/aave-v1/types.d.ts +0 -12
  89. package/build/dex/aave-v1/types.js +0 -3
  90. package/build/dex/aave-v1/types.js.map +0 -1
  91. package/build/dex/bProtocol/bProtocol.d.ts +0 -15
  92. package/build/dex/bProtocol/bProtocol.js +0 -56
  93. package/build/dex/bProtocol/bProtocol.js.map +0 -1
  94. package/build/dex/bProtocol/types.d.ts +0 -11
  95. package/build/dex/bProtocol/types.js +0 -8
  96. package/build/dex/bProtocol/types.js.map +0 -1
  97. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  98. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  99. package/build/dex/bebop/websocket-fetcher.js +0 -87
  100. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  101. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  102. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  103. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  104. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  105. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  106. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  107. package/build/dex/idle-dao/scripts.d.ts +0 -9
  108. package/build/dex/idle-dao/scripts.js +0 -552
  109. package/build/dex/idle-dao/scripts.js.map +0 -1
  110. package/build/dex/inception/config.d.ts +0 -4
  111. package/build/dex/inception/config.js +0 -109
  112. package/build/dex/inception/config.js.map +0 -1
  113. package/build/dex/inception/inception-event-pool.d.ts +0 -16
  114. package/build/dex/inception/inception-event-pool.js +0 -51
  115. package/build/dex/inception/inception-event-pool.js.map +0 -1
  116. package/build/dex/inception/inception-native.d.ts +0 -43
  117. package/build/dex/inception/inception-native.js +0 -131
  118. package/build/dex/inception/inception-native.js.map +0 -1
  119. package/build/dex/inception/inception-pool.d.ts +0 -18
  120. package/build/dex/inception/inception-pool.js +0 -32
  121. package/build/dex/inception/inception-pool.js.map +0 -1
  122. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  123. package/build/dex/inception/inception-price-feed.js +0 -51
  124. package/build/dex/inception/inception-price-feed.js.map +0 -1
  125. package/build/dex/inception/inception.d.ts +0 -43
  126. package/build/dex/inception/inception.js +0 -204
  127. package/build/dex/inception/inception.js.map +0 -1
  128. package/build/dex/inception/tokens.d.ts +0 -9
  129. package/build/dex/inception/tokens.js +0 -28
  130. package/build/dex/inception/tokens.js.map +0 -1
  131. package/build/dex/inception/types.d.ts +0 -22
  132. package/build/dex/inception/types.js +0 -3
  133. package/build/dex/inception/types.js.map +0 -1
  134. package/build/dex/inception/utils.d.ts +0 -6
  135. package/build/dex/inception/utils.js +0 -37
  136. package/build/dex/inception/utils.js.map +0 -1
  137. package/build/dex/jarvis.d.ts +0 -56
  138. package/build/dex/jarvis.js +0 -163
  139. package/build/dex/jarvis.js.map +0 -1
  140. package/build/dex/mStable.d.ts +0 -44
  141. package/build/dex/mStable.js +0 -75
  142. package/build/dex/mStable.js.map +0 -1
  143. package/build/dex/onebit/onebit.d.ts +0 -16
  144. package/build/dex/onebit/onebit.js +0 -61
  145. package/build/dex/onebit/onebit.js.map +0 -1
  146. package/build/dex/onebit/types.d.ts +0 -14
  147. package/build/dex/onebit/types.js +0 -8
  148. package/build/dex/onebit/types.js.map +0 -1
  149. package/build/dex/platypus/asset.d.ts +0 -14
  150. package/build/dex/platypus/asset.js +0 -97
  151. package/build/dex/platypus/asset.js.map +0 -1
  152. package/build/dex/platypus/config.d.ts +0 -11
  153. package/build/dex/platypus/config.js +0 -69
  154. package/build/dex/platypus/config.js.map +0 -1
  155. package/build/dex/platypus/platypus.d.ts +0 -63
  156. package/build/dex/platypus/platypus.js +0 -473
  157. package/build/dex/platypus/platypus.js.map +0 -1
  158. package/build/dex/platypus/pool-avax.d.ts +0 -8
  159. package/build/dex/platypus/pool-avax.js +0 -54
  160. package/build/dex/platypus/pool-avax.js.map +0 -1
  161. package/build/dex/platypus/pool-base.d.ts +0 -19
  162. package/build/dex/platypus/pool-base.js +0 -86
  163. package/build/dex/platypus/pool-base.js.map +0 -1
  164. package/build/dex/platypus/pool-pure.d.ts +0 -8
  165. package/build/dex/platypus/pool-pure.js +0 -37
  166. package/build/dex/platypus/pool-pure.js.map +0 -1
  167. package/build/dex/platypus/pool-subscriber.d.ts +0 -14
  168. package/build/dex/platypus/pool-subscriber.js +0 -167
  169. package/build/dex/platypus/pool-subscriber.js.map +0 -1
  170. package/build/dex/platypus/pool.d.ts +0 -8
  171. package/build/dex/platypus/pool.js +0 -58
  172. package/build/dex/platypus/pool.js.map +0 -1
  173. package/build/dex/platypus/types.d.ts +0 -92
  174. package/build/dex/platypus/types.js +0 -10
  175. package/build/dex/platypus/types.js.map +0 -1
  176. package/build/dex/quickswap/spiritswap-v3.d.ts +0 -6
  177. package/build/dex/quickswap/spiritswap-v3.js +0 -19
  178. package/build/dex/quickswap/spiritswap-v3.js.map +0 -1
  179. package/build/dex/shell.d.ts +0 -25
  180. package/build/dex/shell.js +0 -41
  181. package/build/dex/shell.js.map +0 -1
  182. package/build/dex/smardex/config.d.ts +0 -4
  183. package/build/dex/smardex/config.js +0 -64
  184. package/build/dex/smardex/config.js.map +0 -1
  185. package/build/dex/smardex/constants.d.ts +0 -18
  186. package/build/dex/smardex/constants.js +0 -33
  187. package/build/dex/smardex/constants.js.map +0 -1
  188. package/build/dex/smardex/sdk/constants.d.ts +0 -6
  189. package/build/dex/smardex/sdk/constants.js +0 -13
  190. package/build/dex/smardex/sdk/constants.js.map +0 -1
  191. package/build/dex/smardex/sdk/core.d.ts +0 -113
  192. package/build/dex/smardex/sdk/core.js +0 -499
  193. package/build/dex/smardex/sdk/core.js.map +0 -1
  194. package/build/dex/smardex/sdk/errors.d.ts +0 -15
  195. package/build/dex/smardex/sdk/errors.js +0 -22
  196. package/build/dex/smardex/sdk/errors.js.map +0 -1
  197. package/build/dex/smardex/sdk/types.d.ts +0 -62
  198. package/build/dex/smardex/sdk/types.js +0 -3
  199. package/build/dex/smardex/sdk/types.js.map +0 -1
  200. package/build/dex/smardex/sdk/utils.d.ts +0 -44
  201. package/build/dex/smardex/sdk/utils.js +0 -133
  202. package/build/dex/smardex/sdk/utils.js.map +0 -1
  203. package/build/dex/smardex/smardex-event-pool.d.ts +0 -28
  204. package/build/dex/smardex/smardex-event-pool.js +0 -119
  205. package/build/dex/smardex/smardex-event-pool.js.map +0 -1
  206. package/build/dex/smardex/smardex.d.ts +0 -65
  207. package/build/dex/smardex/smardex.js +0 -519
  208. package/build/dex/smardex/smardex.js.map +0 -1
  209. package/build/dex/smardex/types.d.ts +0 -55
  210. package/build/dex/smardex/types.js +0 -3
  211. package/build/dex/smardex/types.js.map +0 -1
  212. package/build/dex/solidly/forks-override/cone.d.ts +0 -22
  213. package/build/dex/solidly/forks-override/cone.js +0 -53
  214. package/build/dex/solidly/forks-override/cone.js.map +0 -1
  215. package/build/dex/solidly/forks-override/solisnek.d.ts +0 -8
  216. package/build/dex/solidly/forks-override/solisnek.js +0 -15
  217. package/build/dex/solidly/forks-override/solisnek.js.map +0 -1
  218. package/build/dex/swaap-v1/config.d.ts +0 -17
  219. package/build/dex/swaap-v1/config.js +0 -56
  220. package/build/dex/swaap-v1/config.js.map +0 -1
  221. package/build/dex/swaap-v1/constants.d.ts +0 -6
  222. package/build/dex/swaap-v1/constants.js +0 -17
  223. package/build/dex/swaap-v1/constants.js.map +0 -1
  224. package/build/dex/swaap-v1/libraries/ChainlinkUtils.d.ts +0 -25
  225. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js +0 -62
  226. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js.map +0 -1
  227. package/build/dex/swaap-v1/libraries/Const.d.ts +0 -18
  228. package/build/dex/swaap-v1/libraries/Const.js +0 -26
  229. package/build/dex/swaap-v1/libraries/Const.js.map +0 -1
  230. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.d.ts +0 -77
  231. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js +0 -316
  232. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js.map +0 -1
  233. package/build/dex/swaap-v1/libraries/LogExpMath.d.ts +0 -75
  234. package/build/dex/swaap-v1/libraries/LogExpMath.js +0 -418
  235. package/build/dex/swaap-v1/libraries/LogExpMath.js.map +0 -1
  236. package/build/dex/swaap-v1/libraries/MathMMM.d.ts +0 -185
  237. package/build/dex/swaap-v1/libraries/MathMMM.js +0 -453
  238. package/build/dex/swaap-v1/libraries/MathMMM.js.map +0 -1
  239. package/build/dex/swaap-v1/libraries/Num.d.ts +0 -31
  240. package/build/dex/swaap-v1/libraries/Num.js +0 -167
  241. package/build/dex/swaap-v1/libraries/Num.js.map +0 -1
  242. package/build/dex/swaap-v1/libraries/PoolQuotations.d.ts +0 -23
  243. package/build/dex/swaap-v1/libraries/PoolQuotations.js +0 -131
  244. package/build/dex/swaap-v1/libraries/PoolQuotations.js.map +0 -1
  245. package/build/dex/swaap-v1/libraries/Struct.d.ts +0 -56
  246. package/build/dex/swaap-v1/libraries/Struct.js +0 -3
  247. package/build/dex/swaap-v1/libraries/Struct.js.map +0 -1
  248. package/build/dex/swaap-v1/swaap-v1-pool.d.ts +0 -45
  249. package/build/dex/swaap-v1/swaap-v1-pool.js +0 -656
  250. package/build/dex/swaap-v1/swaap-v1-pool.js.map +0 -1
  251. package/build/dex/swaap-v1/swaap-v1.d.ts +0 -62
  252. package/build/dex/swaap-v1/swaap-v1.js +0 -379
  253. package/build/dex/swaap-v1/swaap-v1.js.map +0 -1
  254. package/build/dex/swaap-v1/types.d.ts +0 -106
  255. package/build/dex/swaap-v1/types.js +0 -9
  256. package/build/dex/swaap-v1/types.js.map +0 -1
  257. package/build/dex/trader-joe-v2.d.ts +0 -40
  258. package/build/dex/trader-joe-v2.js +0 -74
  259. package/build/dex/trader-joe-v2.js.map +0 -1
  260. package/build/dex/usual-bond/config.d.ts +0 -3
  261. package/build/dex/usual-bond/config.js +0 -13
  262. package/build/dex/usual-bond/config.js.map +0 -1
  263. package/build/dex/usual-bond/types.d.ts +0 -7
  264. package/build/dex/usual-bond/types.js +0 -3
  265. package/build/dex/usual-bond/types.js.map +0 -1
  266. package/build/dex/usual-bond/usual-bond.d.ts +0 -35
  267. package/build/dex/usual-bond/usual-bond.js +0 -176
  268. package/build/dex/usual-bond/usual-bond.js.map +0 -1
  269. package/build/dex/wusdm/config.d.ts +0 -3
  270. package/build/dex/wusdm/config.js +0 -43
  271. package/build/dex/wusdm/config.js.map +0 -1
  272. package/build/dex/wusdm/constants.d.ts +0 -2
  273. package/build/dex/wusdm/constants.js +0 -6
  274. package/build/dex/wusdm/constants.js.map +0 -1
  275. package/build/dex/wusdm/types.d.ts +0 -18
  276. package/build/dex/wusdm/types.js +0 -11
  277. package/build/dex/wusdm/types.js.map +0 -1
  278. package/build/dex/wusdm/wusdm-pool.d.ts +0 -21
  279. package/build/dex/wusdm/wusdm-pool.js +0 -74
  280. package/build/dex/wusdm/wusdm-pool.js.map +0 -1
  281. package/build/dex/wusdm/wusdm.d.ts +0 -46
  282. package/build/dex/wusdm/wusdm.js +0 -243
  283. package/build/dex/wusdm/wusdm.js.map +0 -1
  284. package/build/dex/zerox/config.d.ts +0 -2
  285. package/build/dex/zerox/config.js +0 -33
  286. package/build/dex/zerox/config.js.map +0 -1
  287. package/build/dex/zerox/index.d.ts +0 -22
  288. package/build/dex/zerox/index.js +0 -225
  289. package/build/dex/zerox/index.js.map +0 -1
  290. package/build/dex/zerox/order.d.ts +0 -88
  291. package/build/dex/zerox/order.js +0 -53
  292. package/build/dex/zerox/order.js.map +0 -1
  293. package/build/dex/zerox/types.d.ts +0 -73
  294. package/build/dex/zerox/types.js +0 -21
  295. package/build/dex/zerox/types.js.map +0 -1
  296. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  297. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  298. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  299. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  300. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  301. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  302. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  303. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  304. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  305. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  306. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  307. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  308. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  309. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  310. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  311. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  312. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  313. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  314. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  315. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  316. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  317. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  318. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  319. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  320. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  321. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  322. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  323. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  324. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  325. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  326. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  327. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  328. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  329. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  330. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  331. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  332. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  333. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  334. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  335. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  336. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  337. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  338. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  339. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  340. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  341. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  342. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  343. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  344. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  345. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  346. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  347. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  348. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  349. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  350. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  351. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  352. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  353. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  354. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  355. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  356. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  357. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  358. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  359. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  360. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  361. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  362. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  363. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  364. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  365. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  366. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  367. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  368. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  369. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
@@ -1,53 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ZeroXOrder = void 0;
4
- class ZeroXOrder {
5
- static formatOrderV4(order, version) {
6
- return {
7
- makerToken: order.makerToken,
8
- takerToken: order.takerToken,
9
- makerAmount: order.makerAmount,
10
- takerAmount: order.takerAmount,
11
- maker: order.maker,
12
- taker: order.taker,
13
- txOrigin: order.txOrigin,
14
- pool: order.pool,
15
- expiry: order.expiry,
16
- salt: order.salt,
17
- };
18
- }
19
- static formatOrderV23(order, version) {
20
- const feeAssetData = version === 3
21
- ? {
22
- makerFeeAssetData: order.makerFeeAssetData,
23
- takerFeeAssetData: order.takerFeeAssetData,
24
- }
25
- : {};
26
- return {
27
- makerAddress: order.makerAddress,
28
- takerAddress: order.takerAddress,
29
- feeRecipientAddress: order.feeRecipientAddress,
30
- senderAddress: order.senderAddress,
31
- makerAssetAmount: order.makerAssetAmount,
32
- takerAssetAmount: order.takerAssetAmount,
33
- makerFee: order.makerFee,
34
- takerFee: order.takerFee,
35
- expirationTimeSeconds: order.expirationTimeSeconds,
36
- salt: order.salt,
37
- makerAssetData: order.makerAssetData,
38
- takerAssetData: order.takerAssetData,
39
- ...feeAssetData,
40
- };
41
- }
42
- static formatOrders(order, version = 2) {
43
- if (isV4Order(order, version)) {
44
- return ZeroXOrder.formatOrderV4(order, version);
45
- }
46
- return ZeroXOrder.formatOrderV23(order, version);
47
- }
48
- }
49
- exports.ZeroXOrder = ZeroXOrder;
50
- function isV4Order(order, version = 2) {
51
- return version === 4;
52
- }
53
- //# sourceMappingURL=order.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"order.js","sourceRoot":"","sources":["../../../src/dex/zerox/order.ts"],"names":[],"mappings":";;;AAMA,MAAa,UAAU;IACrB,MAAM,CAAC,aAAa,CAAC,KAAyB,EAAE,OAAe;QAC7D,OAAO;YACL,UAAU,EAAE,KAAK,CAAC,UAAU;YAC5B,UAAU,EAAE,KAAK,CAAC,UAAU;YAC5B,WAAW,EAAE,KAAK,CAAC,WAAW;YAC9B,WAAW,EAAE,KAAK,CAAC,WAAW;YAC9B,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK,CAAC,IAAI;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,KAAyB,EAAE,OAAe;QAC9D,MAAM,YAAY,GAChB,OAAO,KAAK,CAAC;YACX,CAAC,CAAC;gBACE,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;gBAC1C,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;aAC3C;YACH,CAAC,CAAC,EAAE,CAAC;QAET,OAAO;YACL,YAAY,EAAE,KAAK,CAAC,YAAY;YAChC,YAAY,EAAE,KAAK,CAAC,YAAY;YAChC,mBAAmB,EAAE,KAAK,CAAC,mBAAmB;YAC9C,aAAa,EAAE,KAAK,CAAC,aAAa;YAClC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;YACxC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;YACxC,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,qBAAqB,EAAE,KAAK,CAAC,qBAAqB;YAClD,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,cAAc,EAAE,KAAK,CAAC,cAAc;YACpC,cAAc,EAAE,KAAK,CAAC,cAAc;YACpC,GAAG,YAAY;SAChB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,KAAuB,EAAE,UAAkB,CAAC;QAC9D,IAAI,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,EAAE;YAC7B,OAAO,UAAU,CAAC,aAAa,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;SACjD;QACD,OAAO,UAAU,CAAC,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;CACF;AAhDD,gCAgDC;AAED,SAAS,SAAS,CAChB,KAAuB,EACvB,UAAkB,CAAC;IAEnB,OAAO,OAAO,KAAK,CAAC,CAAC;AACvB,CAAC"}
@@ -1,73 +0,0 @@
1
- import { Address } from '@paraswap/sdk';
2
- import { NumberAsString } from '../../types';
3
- export declare enum OrderStatus {
4
- INVALID = 0,
5
- INVALID_MAKER_ASSET_AMOUNT = 1,
6
- INVALID_TAKER_ASSET_AMOUNT = 2,
7
- FILLABLE = 3,
8
- EXPIRED = 4,
9
- FULLY_FILLED = 5,
10
- CANCELLED = 6
11
- }
12
- declare type Value = NumberAsString | number;
13
- export interface ZeroXSignedOrderV2 {
14
- senderAddress: string;
15
- makerAddress: string;
16
- takerAddress: string;
17
- makerFee: Value;
18
- takerFee: Value;
19
- makerAssetAmount: Value;
20
- takerAssetAmount: Value;
21
- makerAssetData: string;
22
- takerAssetData: string;
23
- salt: Value;
24
- exchangeAddress: string;
25
- feeRecipientAddress: string;
26
- expirationTimeSeconds: Value;
27
- makerFeeAssetData: string;
28
- takerFeeAssetData: string;
29
- signature: string;
30
- }
31
- export interface ZeroXSignedOrderV4 {
32
- makerToken: string;
33
- takerToken: string;
34
- makerAmount: Value;
35
- takerAmount: Value;
36
- maker: string;
37
- taker: string;
38
- txOrigin: string;
39
- pool: string;
40
- expiry: Value;
41
- salt: Value;
42
- signature: any;
43
- }
44
- export declare type ZeroXSignedOrder = ZeroXSignedOrderV2 | ZeroXSignedOrderV4;
45
- export declare enum ZeroXFunctions {
46
- swapOnZeroXv2 = "swapOnZeroXv2",
47
- swapOnZeroXv4 = "swapOnZeroXv4",
48
- swapOnZeroXv2WithPermit = "swapOnZeroXv2WithPermit",
49
- swapOnZeroXv4WithPermit = "swapOnZeroXv4WithPermit"
50
- }
51
- export declare type ZeroXData = {
52
- version: number;
53
- order: ZeroXSignedOrder;
54
- };
55
- export declare type SwapOnZeroXParam = [
56
- srcToken: Address,
57
- destToken: Address,
58
- srcAmount: NumberAsString,
59
- destAmount: NumberAsString,
60
- exchange: Address,
61
- payload: string
62
- ];
63
- export declare type SwapOnZeroXWithPermitParam = [
64
- srcToken: Address,
65
- destToken: Address,
66
- srcAmount: NumberAsString,
67
- destAmount: NumberAsString,
68
- exchange: Address,
69
- payload: string,
70
- permit: string
71
- ];
72
- export declare type ZeroXParam = SwapOnZeroXParam | SwapOnZeroXWithPermitParam;
73
- export {};
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ZeroXFunctions = exports.OrderStatus = void 0;
4
- var OrderStatus;
5
- (function (OrderStatus) {
6
- OrderStatus[OrderStatus["INVALID"] = 0] = "INVALID";
7
- OrderStatus[OrderStatus["INVALID_MAKER_ASSET_AMOUNT"] = 1] = "INVALID_MAKER_ASSET_AMOUNT";
8
- OrderStatus[OrderStatus["INVALID_TAKER_ASSET_AMOUNT"] = 2] = "INVALID_TAKER_ASSET_AMOUNT";
9
- OrderStatus[OrderStatus["FILLABLE"] = 3] = "FILLABLE";
10
- OrderStatus[OrderStatus["EXPIRED"] = 4] = "EXPIRED";
11
- OrderStatus[OrderStatus["FULLY_FILLED"] = 5] = "FULLY_FILLED";
12
- OrderStatus[OrderStatus["CANCELLED"] = 6] = "CANCELLED";
13
- })(OrderStatus = exports.OrderStatus || (exports.OrderStatus = {}));
14
- var ZeroXFunctions;
15
- (function (ZeroXFunctions) {
16
- ZeroXFunctions["swapOnZeroXv2"] = "swapOnZeroXv2";
17
- ZeroXFunctions["swapOnZeroXv4"] = "swapOnZeroXv4";
18
- ZeroXFunctions["swapOnZeroXv2WithPermit"] = "swapOnZeroXv2WithPermit";
19
- ZeroXFunctions["swapOnZeroXv4WithPermit"] = "swapOnZeroXv4WithPermit";
20
- })(ZeroXFunctions = exports.ZeroXFunctions || (exports.ZeroXFunctions = {}));
21
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/dex/zerox/types.ts"],"names":[],"mappings":";;;AAGA,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,mDAAO,CAAA;IACP,yFAA0B,CAAA;IAC1B,yFAA0B,CAAA;IAC1B,qDAAQ,CAAA;IACR,mDAAO,CAAA;IACP,6DAAY,CAAA;IACZ,uDAAS,CAAA;AACX,CAAC,EARW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAQtB;AAuCD,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,iDAA+B,CAAA;IAC/B,iDAA+B,CAAA;IAC/B,qEAAmD,CAAA;IACnD,qEAAmD,CAAA;AACrD,CAAC,EALW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAKzB"}
@@ -1,16 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": false,
4
- "dexFuncHasRecipient": false,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0x4e7ffa040000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000069d460e01070a7ba1bc363885bc8f4f0daa19bf5000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
7
- "targetExchange": "0x6317c5e82a06e1d8bf200d21f4510ac2c038ac81"
8
- },
9
- {
10
- "exchangeData": "0xa6417ed600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cad39c40000000000000000000000000000000000000000000000000000000000000001",
11
- "needWrapNative": false,
12
- "dexFuncHasRecipient": false,
13
- "dexFuncHasDestToken": false,
14
- "targetExchange": "0x4f062658eaaf2c1ccf8c8e36d6824cdf41167956"
15
- }
16
- ]
@@ -1,16 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": true,
4
- "dexFuncHasRecipient": true,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008edf3289c84e5ba9c73350805a7d4c1f43b41e08000000000000000000000000000000000000000000000000000000006589888000000000000000000000000000000000000000000000000000000000001e84800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002b2260fac5e5542a773aa44fbcfedf7c193bc2c5990001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000",
7
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
8
- },
9
- {
10
- "needWrapNative": true,
11
- "dexFuncHasRecipient": true,
12
- "dexFuncHasDestToken": true,
13
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e6f1c1f58e34df3892cb1b1c193f82462bc0a86e0000000000000000000000000000000000000000000000000000000065898880000000000000000000000000000000000000000000000000054c518b8d4e1ebe0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b3595068778dd592e39a122f4f5a5cf09c90fe2000000000000000000000000000000000000000000",
14
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
15
- }
16
- ]
@@ -1,16 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": true,
4
- "dexFuncHasRecipient": true,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008edf3289c84e5ba9c73350805a7d4c1f43b41e08000000000000000000000000000000000000000000000000000000006589870e000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000",
7
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
8
- },
9
- {
10
- "exchangeData": "0xa6417ed600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cbbb56d0000000000000000000000000000000000000000000000000000000000000001",
11
- "needWrapNative": false,
12
- "dexFuncHasRecipient": false,
13
- "dexFuncHasDestToken": false,
14
- "targetExchange": "0x4f062658eaaf2c1ccf8c8e36d6824cdf41167956"
15
- }
16
- ]
@@ -1,16 +0,0 @@
1
- [
2
- {
3
- "exchangeData": "0xa6417ed60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000186a00000000000000000000000000000000000000000000000000000000000000001",
4
- "needWrapNative": false,
5
- "dexFuncHasRecipient": false,
6
- "dexFuncHasDestToken": false,
7
- "targetExchange": "0x4f062658eaaf2c1ccf8c8e36d6824cdf41167956"
8
- },
9
- {
10
- "needWrapNative": true,
11
- "dexFuncHasRecipient": true,
12
- "dexFuncHasDestToken": true,
13
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008edf3289c84e5ba9c73350805a7d4c1f43b41e08000000000000000000000000000000000000000000000000000000006589865b000000000000000000000000000000000000000000000000000000003ba5fa340000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002ba0b86991c6218b36c1d19d4a2e9eb0ce3606eb480001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000",
14
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
15
- }
16
- ]
@@ -1,16 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": true,
4
- "dexFuncHasRecipient": true,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008edf3289c84e5ba9c73350805a7d4c1f43b41e080000000000000000000000000000000000000000000000000000000065897b8000000000000000000000000000000000000000000000003635c9adc5dea000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002b6b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000",
7
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
8
- },
9
- {
10
- "needWrapNative": true,
11
- "dexFuncHasRecipient": true,
12
- "dexFuncHasDestToken": true,
13
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008edf3289c84e5ba9c73350805a7d4c1f43b41e080000000000000000000000000000000000000000000000000000000065897b80000000000000000000000000000000000000000000000000000000003b97057c0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002ba0b86991c6218b36c1d19d4a2e9eb0ce3606eb480001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000",
14
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
15
- }
16
- ]
@@ -1,16 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": true,
4
- "dexFuncHasRecipient": true,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008edf3289c84e5ba9c73350805a7d4c1f43b41e080000000000000000000000000000000000000000000000000000000065897b83000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000",
7
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
8
- },
9
- {
10
- "needWrapNative": true,
11
- "dexFuncHasRecipient": true,
12
- "dexFuncHasDestToken": true,
13
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e6f1c1f58e34df3892cb1b1c193f82462bc0a86e0000000000000000000000000000000000000000000000000000000065897b83000000000000000000000000000000000000000000000000000000000cbbb56d0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002ba0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000646b175474e89094c44da98b954eedeac495271d0f000000000000000000000000000000000000000000",
14
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
15
- }
16
- ]
@@ -1,16 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": true,
4
- "dexFuncHasRecipient": true,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008edf3289c84e5ba9c73350805a7d4c1f43b41e080000000000000000000000000000000000000000000000000000000065897b7b00000000000000000000000000000000000000000000000000000000009896800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002ba0b86991c6218b36c1d19d4a2e9eb0ce3606eb480001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000",
7
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
8
- },
9
- {
10
- "needWrapNative": true,
11
- "dexFuncHasRecipient": true,
12
- "dexFuncHasDestToken": true,
13
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e6f1c1f58e34df3892cb1b1c193f82462bc0a86e0000000000000000000000000000000000000000000000000000000065897b7b000000000000000000000000000000000000000000000000001098c110e992ac0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f42260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000",
14
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
15
- }
16
- ]
@@ -1,16 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": true,
4
- "dexFuncHasRecipient": true,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008edf3289c84e5ba9c73350805a7d4c1f43b41e080000000000000000000000000000000000000000000000000000000065897b870000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bdac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000",
7
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
8
- },
9
- {
10
- "needWrapNative": true,
11
- "dexFuncHasRecipient": true,
12
- "dexFuncHasDestToken": true,
13
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e6f1c1f58e34df3892cb1b1c193f82462bc0a86e0000000000000000000000000000000000000000000000000000000065897b870000000000000000000000000000000000000000000000000000000005f463ee0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002ba0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000646b175474e89094c44da98b954eedeac495271d0f000000000000000000000000000000000000000000",
14
- "targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
15
- }
16
- ]
@@ -1,9 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": false,
4
- "dexFuncHasRecipient": false,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0x3ca9184e0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000c6a98b400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000069d460e01070a7ba1bc363885bc8f4f0daa19bf5000000000000000000000000000000000000000000000000000000009eee09000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000002257aaac34bcb27900291f7b84ee2565a6cbac570000000000000000000000000000000000000000000000000000000027bb82400000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
7
- "targetExchange": "0x6317c5e82a06e1d8bf200d21f4510ac2c038ac81"
8
- }
9
- ]
@@ -1,9 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": false,
4
- "dexFuncHasRecipient": false,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0x4e7ffa040000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000500000000000000000000000069d460e01070a7ba1bc363885bc8f4f0daa19bf500000000000000000000000000000000000000000000000018fae27693b400000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000001373e57f764a7944bdd7a4bd5ca3007d496934da0000000000000000000000000000000000000000000000000354a6ba7a1800000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000002257aaac34bcb27900291f7b84ee2565a6cbac5700000000000000000000000000000000000000000000000004fefa17b72400000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000008a649274e4d777ffc6851f13d23a86bbfa2f2fbf00000000000000000000000000000000000000000000000005d423c655aa00000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000009b208194acc0a8ccb2a8dcafeacfbb7dcc093f81000000000000000000000000000000000000000000000000027f7d0bdb9200000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
7
- "targetExchange": "0x6317c5e82a06e1d8bf200d21f4510ac2c038ac81"
8
- }
9
- ]
@@ -1,9 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": true,
4
- "dexFuncHasRecipient": false,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0xf437824000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000c6a98b40000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000002257aaac34bcb27900291f7b84ee2565a6cbac5700000000000000000000000000000000000000000000000000000000b6c4f0c00000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000156d96eac6fe0e403428379c2d891c17a24c77f9000000000000000000000000000000000000000000000000000000000fe49a800000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
7
- "targetExchange": "0x6317c5e82a06e1d8bf200d21f4510ac2c038ac81"
8
- }
9
- ]
@@ -1,9 +0,0 @@
1
- [
2
- {
3
- "exchangeData": "0x3df02124000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000001",
4
- "needWrapNative": false,
5
- "dexFuncHasRecipient": false,
6
- "dexFuncHasDestToken": false,
7
- "targetExchange": "0xdc24316b9ae028f1497c275eb9192a3ea0f67022"
8
- }
9
- ]
@@ -1,9 +0,0 @@
1
- [
2
- {
3
- "exchangeData": "0x3df02124000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000001",
4
- "needWrapNative": false,
5
- "dexFuncHasRecipient": false,
6
- "dexFuncHasDestToken": false,
7
- "targetExchange": "0xdc24316b9ae028f1497c275eb9192a3ea0f67022"
8
- }
9
- ]
@@ -1,9 +0,0 @@
1
- [
2
- {
3
- "exchangeData": "0x3df02124000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000000000001",
4
- "needWrapNative": false,
5
- "dexFuncHasRecipient": false,
6
- "dexFuncHasDestToken": false,
7
- "targetExchange": "0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7"
8
- }
9
- ]
@@ -1,9 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": true,
4
- "dexFuncHasRecipient": true,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e6f1c1f58e34df3892cb1b1c193f82462bc0a86e0000000000000000000000000000000000000000000000000000000065896f820000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000",
7
- "targetExchange": "0xe592427a0aece92de3edee1f18e0157c05861564"
8
- }
9
- ]
@@ -1,9 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": true,
4
- "dexFuncHasRecipient": true,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008edf3289c84e5ba9c73350805a7d4c1f43b41e0800000000000000000000000000000000000000000000000000000000658971ea00000000000000000000000000000000000000000000000000000000000f42400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002ba0b86991c6218b36c1d19d4a2e9eb0ce3606eb480001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000",
7
- "targetExchange": "0xe592427a0aece92de3edee1f18e0157c05861564"
8
- }
9
- ]
@@ -1,9 +0,0 @@
1
- [
2
- {
3
- "needWrapNative": true,
4
- "dexFuncHasRecipient": true,
5
- "dexFuncHasDestToken": true,
6
- "exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e6f1c1f58e34df3892cb1b1c193f82462bc0a86e000000000000000000000000000000000000000000000000000000006589737000000000000000000000000000000000000000000000000000000000000f42400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002ba0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000064dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000000000000000000000",
7
- "targetExchange": "0xe592427a0aece92de3edee1f18e0157c05861564"
8
- }
9
- ]
@@ -1,12 +0,0 @@
1
- {
2
- "deposit": {
3
- "callee": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
4
- "calldata": "0xd0e30db0",
5
- "value": "381769728232660670"
6
- },
7
- "withdraw": {
8
- "callee": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
9
- "calldata": "0x2e1a7d4d000000000000000000000000000000000000000000000000054c518b8d4e1ebe",
10
- "value": "0"
11
- }
12
- }
@@ -1,7 +0,0 @@
1
- {
2
- "deposit": {
3
- "callee": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
4
- "calldata": "0xd0e30db0",
5
- "value": "100000000000000000"
6
- }
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "withdraw": {
3
- "callee": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
4
- "calldata": "0x2e1a7d4d000000000000000000000000000000000000000000000000066a17139c773b29",
5
- "value": "0"
6
- }
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "withdraw": {
3
- "callee": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
4
- "calldata": "0x2e1a7d4d0000000000000000000000000000000000000000000000000668800c8e5c77f5",
5
- "value": "0"
6
- }
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "deposit": {
3
- "callee": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
4
- "calldata": "0xd0e30db0",
5
- "value": "100000000000000000"
6
- }
7
- }
@@ -1,12 +0,0 @@
1
- {
2
- "deposit": {
3
- "callee": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
4
- "calldata": "0xd0e30db0",
5
- "value": "4671554607223468"
6
- },
7
- "withdraw": {
8
- "callee": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
9
- "calldata": "0x2e1a7d4d000000000000000000000000000000000000000000000000001098c110e992ac",
10
- "value": "0"
11
- }
12
- }
@@ -1,7 +0,0 @@
1
- {
2
- "deposit": {
3
- "callee": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
4
- "calldata": "0xd0e30db0",
5
- "value": "1000000000000000000"
6
- }
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "withdraw": {
3
- "callee": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
4
- "calldata": "0x2e1a7d4d0000000000000000000000000000000000000000000000000001a9267bee8237",
5
- "value": "0"
6
- }
7
- }
@@ -1,78 +0,0 @@
1
- {
2
- "blockNumber": 18813266,
3
- "network": 1,
4
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
5
- "srcDecimals": 18,
6
- "srcAmount": "100000000000000000",
7
- "destToken": "0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",
8
- "destDecimals": 2,
9
- "destAmount": "21232",
10
- "bestRoute": [
11
- {
12
- "percent": 100,
13
- "swaps": [
14
- {
15
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
16
- "srcDecimals": 18,
17
- "destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
18
- "destDecimals": 6,
19
- "swapExchanges": [
20
- {
21
- "exchange": "BalancerV1",
22
- "srcAmount": "100000000000000000",
23
- "destAmount": "212679108",
24
- "percent": 100,
25
- "poolAddresses": ["0x69d460e01070a7ba1bc363885bc8f4f0daa19bf5"],
26
- "data": {
27
- "swaps": [
28
- {
29
- "pool": "0x69d460e01070a7ba1bc363885bc8f4f0daa19bf5",
30
- "tokenInParam": "100000000000000000",
31
- "tokenOutParam": "0",
32
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
33
- }
34
- ],
35
- "gasUSD": "14.684796"
36
- }
37
- }
38
- ]
39
- },
40
- {
41
- "srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
42
- "srcDecimals": 6,
43
- "destToken": "0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",
44
- "destDecimals": 2,
45
- "swapExchanges": [
46
- {
47
- "exchange": "CurveV1",
48
- "srcAmount": "212679108",
49
- "destAmount": "21232",
50
- "percent": 100,
51
- "poolAddresses": ["0x4f062658eaaf2c1ccf8c8e36d6824cdf41167956"],
52
- "data": {
53
- "exchange": "0x4f062658eaaf2c1ccf8c8e36d6824cdf41167956",
54
- "i": 2,
55
- "j": 0,
56
- "underlyingSwap": true,
57
- "deadline": 0,
58
- "gasUSD": "24.474660"
59
- }
60
- }
61
- ]
62
- }
63
- ]
64
- }
65
- ],
66
- "gasCostUSD": "52.361235",
67
- "gasCost": "427881",
68
- "side": "SELL",
69
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
70
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
71
- "contractMethod": "multiSwap",
72
- "partnerFee": 0,
73
- "srcUSD": "214.6900000000",
74
- "destUSD": "212.0010953600",
75
- "partner": "any",
76
- "maxImpactReached": false,
77
- "hmac": "9a043a894c856bcdfdb82929fb2d64c51ad7d504"
78
- }