@paraswap/dex-lib 4.2.2 → 4.2.3-ekubo-bal

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 (371) hide show
  1. package/build/abi/AaveV1_lending_pool.json +27 -0
  2. package/build/abi/Aave_GSM.json +751 -0
  3. package/build/abi/BProtocol.json +1155 -0
  4. package/build/abi/Balancer.json +257 -0
  5. package/build/abi/BalancerV2.json +1179 -0
  6. package/build/abi/Jarvis.json +1172 -0
  7. package/build/abi/MStableAsset.json +1545 -0
  8. package/build/abi/OneInchLp.json +1304 -0
  9. package/build/abi/Onebit.json +736 -0
  10. package/build/abi/RamsesV2Pool.abi.json +1554 -0
  11. package/build/abi/RamsesV2Quoter.abi.json +274 -0
  12. package/build/abi/Shell.json +1294 -0
  13. package/build/abi/TraderJoeV2Router.json +50 -0
  14. package/build/abi/USDM.json +807 -0
  15. package/build/abi/UniswapV2Router.json +397 -0
  16. package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +1246 -0
  17. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +509 -0
  18. package/build/abi/curve-v1/CurveBUSDv2.abi.json +1356 -0
  19. package/build/abi/curve-v1/CurveTokenV1.json +305 -0
  20. package/build/abi/curve-v1/CurveTokenV2.json +318 -0
  21. package/build/abi/curve-v1/CurveV1StableNg.json +1452 -0
  22. package/build/abi/curve-v1/CurveV2Swap.json +700 -0
  23. package/build/abi/curve-v1/FactoryCryptoRegistry.json +316 -0
  24. package/build/abi/curve-v1/FactoryRegistry.json +508 -0
  25. package/build/abi/curve-v1/StableSwapAave.json +1152 -0
  26. package/build/abi/curve-v1/StableSwapBUSD.json +814 -0
  27. package/build/abi/curve-v1/StableSwapCompound.json +814 -0
  28. package/build/abi/curve-v1/StableSwapIDLE.json +1253 -0
  29. package/build/abi/curve-v1/StableSwapPax.json +865 -0
  30. package/build/abi/curve-v1/StableSwapSnow.json +900 -0
  31. package/build/abi/curve-v1/StableSwapUSDN.json +1004 -0
  32. package/build/abi/curve-v1/StableSwapUSDT.json +814 -0
  33. package/build/abi/curve-v1/StableSwapY.json +814 -0
  34. package/build/abi/inception/inception-ineth-pool.json +1062 -0
  35. package/build/abi/inception/inception-ineth.json +609 -0
  36. package/build/abi/inception/inception-ratio-feed.json +329 -0
  37. package/build/abi/inception/inception-vault.json +991 -0
  38. package/build/abi/kyberdmm/kyber-storage.abi.json +824 -0
  39. package/build/abi/kyberdmm.abi.json +1148 -0
  40. package/build/abi/maverick-v2/MaverickV2Quoter.json +278 -0
  41. package/build/abi/nerve/nerve-metapool.json +790 -0
  42. package/build/abi/platypus/asset.json +490 -0
  43. package/build/abi/platypus/avax-pool.json +820 -0
  44. package/build/abi/platypus/oracle.json +119 -0
  45. package/build/abi/platypus/pool.json +677 -0
  46. package/build/abi/smardex/all/smardex-router.json +648 -0
  47. package/build/abi/smardex/layer-1/smardex-factory.json +242 -0
  48. package/build/abi/smardex/layer-1/smardex-pool.json +506 -0
  49. package/build/abi/smardex/layer-2/smardex-factory.json +185 -0
  50. package/build/abi/smardex/layer-2/smardex-pool.json +578 -0
  51. package/build/abi/swaap-v1/pool.json +1346 -0
  52. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +193 -0
  53. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +267 -0
  54. package/build/abi/wUSDM.json +757 -0
  55. package/build/abi/zrx.v2.json +1967 -0
  56. package/build/abi/zrx.v3.json +3454 -0
  57. package/build/abi/zrx.v4.json +2193 -0
  58. package/build/dex/OneInchLp.d.ts +24 -0
  59. package/build/dex/OneInchLp.js +43 -0
  60. package/build/dex/OneInchLp.js.map +1 -0
  61. package/build/dex/aave-v1/aave-v1.d.ts +34 -0
  62. package/build/dex/aave-v1/aave-v1.js +180 -0
  63. package/build/dex/aave-v1/aave-v1.js.map +1 -0
  64. package/build/dex/aave-v1/config.d.ts +11 -0
  65. package/build/dex/aave-v1/config.js +20 -0
  66. package/build/dex/aave-v1/config.js.map +1 -0
  67. package/build/dex/aave-v1/tokens-mainnet.json +134 -0
  68. package/build/dex/aave-v1/tokens.d.ts +3 -0
  69. package/build/dex/aave-v1/tokens.js +50 -0
  70. package/build/dex/aave-v1/tokens.js.map +1 -0
  71. package/build/dex/aave-v1/types.d.ts +12 -0
  72. package/build/dex/aave-v1/types.js +3 -0
  73. package/build/dex/aave-v1/types.js.map +1 -0
  74. package/build/dex/bProtocol/bProtocol.d.ts +15 -0
  75. package/build/dex/bProtocol/bProtocol.js +56 -0
  76. package/build/dex/bProtocol/bProtocol.js.map +1 -0
  77. package/build/dex/bProtocol/types.d.ts +11 -0
  78. package/build/dex/bProtocol/types.js +8 -0
  79. package/build/dex/bProtocol/types.js.map +1 -0
  80. package/build/dex/balancer-v1/balancer-pools.json +33333 -0
  81. package/build/dex/balancer-v3/config.js +14 -0
  82. package/build/dex/balancer-v3/config.js.map +1 -1
  83. package/build/dex/bebop/websocket-fetcher.d.ts +35 -0
  84. package/build/dex/bebop/websocket-fetcher.js +87 -0
  85. package/build/dex/bebop/websocket-fetcher.js.map +1 -0
  86. package/build/dex/ekubo/pools/base-pool.js +2 -2
  87. package/build/dex/ekubo/pools/base-pool.js.map +1 -1
  88. package/build/dex/ekubo/pools/math/constants.d.ts +6 -0
  89. package/build/dex/ekubo/pools/math/constants.js +7 -1
  90. package/build/dex/ekubo/pools/math/constants.js.map +1 -1
  91. package/build/dex/ekubo/pools/math/price.js +6 -12
  92. package/build/dex/ekubo/pools/math/price.js.map +1 -1
  93. package/build/dex/ekubo/pools/math/tick.js +14 -2
  94. package/build/dex/ekubo/pools/math/tick.js.map +1 -1
  95. package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
  96. package/build/dex/idle-dao/idle-dao-pool.js +176 -0
  97. package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
  98. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
  99. package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
  100. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
  101. package/build/dex/idle-dao/scripts.d.ts +9 -0
  102. package/build/dex/idle-dao/scripts.js +552 -0
  103. package/build/dex/idle-dao/scripts.js.map +1 -0
  104. package/build/dex/inception/config.d.ts +4 -0
  105. package/build/dex/inception/config.js +109 -0
  106. package/build/dex/inception/config.js.map +1 -0
  107. package/build/dex/inception/inception-event-pool.d.ts +16 -0
  108. package/build/dex/inception/inception-event-pool.js +51 -0
  109. package/build/dex/inception/inception-event-pool.js.map +1 -0
  110. package/build/dex/inception/inception-native.d.ts +43 -0
  111. package/build/dex/inception/inception-native.js +131 -0
  112. package/build/dex/inception/inception-native.js.map +1 -0
  113. package/build/dex/inception/inception-pool.d.ts +18 -0
  114. package/build/dex/inception/inception-pool.js +32 -0
  115. package/build/dex/inception/inception-pool.js.map +1 -0
  116. package/build/dex/inception/inception-price-feed.d.ts +19 -0
  117. package/build/dex/inception/inception-price-feed.js +51 -0
  118. package/build/dex/inception/inception-price-feed.js.map +1 -0
  119. package/build/dex/inception/inception.d.ts +43 -0
  120. package/build/dex/inception/inception.js +204 -0
  121. package/build/dex/inception/inception.js.map +1 -0
  122. package/build/dex/inception/tokens.d.ts +9 -0
  123. package/build/dex/inception/tokens.js +28 -0
  124. package/build/dex/inception/tokens.js.map +1 -0
  125. package/build/dex/inception/types.d.ts +22 -0
  126. package/build/dex/inception/types.js +3 -0
  127. package/build/dex/inception/types.js.map +1 -0
  128. package/build/dex/inception/utils.d.ts +6 -0
  129. package/build/dex/inception/utils.js +37 -0
  130. package/build/dex/inception/utils.js.map +1 -0
  131. package/build/dex/jarvis.d.ts +56 -0
  132. package/build/dex/jarvis.js +163 -0
  133. package/build/dex/jarvis.js.map +1 -0
  134. package/build/dex/mStable.d.ts +44 -0
  135. package/build/dex/mStable.js +75 -0
  136. package/build/dex/mStable.js.map +1 -0
  137. package/build/dex/onebit/onebit.d.ts +16 -0
  138. package/build/dex/onebit/onebit.js +61 -0
  139. package/build/dex/onebit/onebit.js.map +1 -0
  140. package/build/dex/onebit/types.d.ts +14 -0
  141. package/build/dex/onebit/types.js +8 -0
  142. package/build/dex/onebit/types.js.map +1 -0
  143. package/build/dex/platypus/asset.d.ts +14 -0
  144. package/build/dex/platypus/asset.js +97 -0
  145. package/build/dex/platypus/asset.js.map +1 -0
  146. package/build/dex/platypus/config.d.ts +11 -0
  147. package/build/dex/platypus/config.js +69 -0
  148. package/build/dex/platypus/config.js.map +1 -0
  149. package/build/dex/platypus/platypus.d.ts +63 -0
  150. package/build/dex/platypus/platypus.js +473 -0
  151. package/build/dex/platypus/platypus.js.map +1 -0
  152. package/build/dex/platypus/pool-avax.d.ts +8 -0
  153. package/build/dex/platypus/pool-avax.js +54 -0
  154. package/build/dex/platypus/pool-avax.js.map +1 -0
  155. package/build/dex/platypus/pool-base.d.ts +19 -0
  156. package/build/dex/platypus/pool-base.js +86 -0
  157. package/build/dex/platypus/pool-base.js.map +1 -0
  158. package/build/dex/platypus/pool-pure.d.ts +8 -0
  159. package/build/dex/platypus/pool-pure.js +37 -0
  160. package/build/dex/platypus/pool-pure.js.map +1 -0
  161. package/build/dex/platypus/pool-subscriber.d.ts +14 -0
  162. package/build/dex/platypus/pool-subscriber.js +167 -0
  163. package/build/dex/platypus/pool-subscriber.js.map +1 -0
  164. package/build/dex/platypus/pool.d.ts +8 -0
  165. package/build/dex/platypus/pool.js +58 -0
  166. package/build/dex/platypus/pool.js.map +1 -0
  167. package/build/dex/platypus/types.d.ts +92 -0
  168. package/build/dex/platypus/types.js +10 -0
  169. package/build/dex/platypus/types.js.map +1 -0
  170. package/build/dex/quickswap/spiritswap-v3.d.ts +6 -0
  171. package/build/dex/quickswap/spiritswap-v3.js +19 -0
  172. package/build/dex/quickswap/spiritswap-v3.js.map +1 -0
  173. package/build/dex/shell.d.ts +25 -0
  174. package/build/dex/shell.js +41 -0
  175. package/build/dex/shell.js.map +1 -0
  176. package/build/dex/smardex/config.d.ts +4 -0
  177. package/build/dex/smardex/config.js +64 -0
  178. package/build/dex/smardex/config.js.map +1 -0
  179. package/build/dex/smardex/constants.d.ts +18 -0
  180. package/build/dex/smardex/constants.js +33 -0
  181. package/build/dex/smardex/constants.js.map +1 -0
  182. package/build/dex/smardex/sdk/constants.d.ts +6 -0
  183. package/build/dex/smardex/sdk/constants.js +13 -0
  184. package/build/dex/smardex/sdk/constants.js.map +1 -0
  185. package/build/dex/smardex/sdk/core.d.ts +113 -0
  186. package/build/dex/smardex/sdk/core.js +499 -0
  187. package/build/dex/smardex/sdk/core.js.map +1 -0
  188. package/build/dex/smardex/sdk/errors.d.ts +15 -0
  189. package/build/dex/smardex/sdk/errors.js +22 -0
  190. package/build/dex/smardex/sdk/errors.js.map +1 -0
  191. package/build/dex/smardex/sdk/types.d.ts +62 -0
  192. package/build/dex/smardex/sdk/types.js +3 -0
  193. package/build/dex/smardex/sdk/types.js.map +1 -0
  194. package/build/dex/smardex/sdk/utils.d.ts +44 -0
  195. package/build/dex/smardex/sdk/utils.js +133 -0
  196. package/build/dex/smardex/sdk/utils.js.map +1 -0
  197. package/build/dex/smardex/smardex-event-pool.d.ts +28 -0
  198. package/build/dex/smardex/smardex-event-pool.js +119 -0
  199. package/build/dex/smardex/smardex-event-pool.js.map +1 -0
  200. package/build/dex/smardex/smardex.d.ts +65 -0
  201. package/build/dex/smardex/smardex.js +519 -0
  202. package/build/dex/smardex/smardex.js.map +1 -0
  203. package/build/dex/smardex/types.d.ts +55 -0
  204. package/build/dex/smardex/types.js +3 -0
  205. package/build/dex/smardex/types.js.map +1 -0
  206. package/build/dex/solidly/forks-override/cone.d.ts +22 -0
  207. package/build/dex/solidly/forks-override/cone.js +53 -0
  208. package/build/dex/solidly/forks-override/cone.js.map +1 -0
  209. package/build/dex/solidly/forks-override/solisnek.d.ts +8 -0
  210. package/build/dex/solidly/forks-override/solisnek.js +15 -0
  211. package/build/dex/solidly/forks-override/solisnek.js.map +1 -0
  212. package/build/dex/swaap-v1/config.d.ts +17 -0
  213. package/build/dex/swaap-v1/config.js +56 -0
  214. package/build/dex/swaap-v1/config.js.map +1 -0
  215. package/build/dex/swaap-v1/constants.d.ts +6 -0
  216. package/build/dex/swaap-v1/constants.js +17 -0
  217. package/build/dex/swaap-v1/constants.js.map +1 -0
  218. package/build/dex/swaap-v1/libraries/ChainlinkUtils.d.ts +25 -0
  219. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js +62 -0
  220. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js.map +1 -0
  221. package/build/dex/swaap-v1/libraries/Const.d.ts +18 -0
  222. package/build/dex/swaap-v1/libraries/Const.js +26 -0
  223. package/build/dex/swaap-v1/libraries/Const.js.map +1 -0
  224. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.d.ts +77 -0
  225. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js +316 -0
  226. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js.map +1 -0
  227. package/build/dex/swaap-v1/libraries/LogExpMath.d.ts +75 -0
  228. package/build/dex/swaap-v1/libraries/LogExpMath.js +418 -0
  229. package/build/dex/swaap-v1/libraries/LogExpMath.js.map +1 -0
  230. package/build/dex/swaap-v1/libraries/MathMMM.d.ts +185 -0
  231. package/build/dex/swaap-v1/libraries/MathMMM.js +453 -0
  232. package/build/dex/swaap-v1/libraries/MathMMM.js.map +1 -0
  233. package/build/dex/swaap-v1/libraries/Num.d.ts +31 -0
  234. package/build/dex/swaap-v1/libraries/Num.js +167 -0
  235. package/build/dex/swaap-v1/libraries/Num.js.map +1 -0
  236. package/build/dex/swaap-v1/libraries/PoolQuotations.d.ts +23 -0
  237. package/build/dex/swaap-v1/libraries/PoolQuotations.js +131 -0
  238. package/build/dex/swaap-v1/libraries/PoolQuotations.js.map +1 -0
  239. package/build/dex/swaap-v1/libraries/Struct.d.ts +56 -0
  240. package/build/dex/swaap-v1/libraries/Struct.js +3 -0
  241. package/build/dex/swaap-v1/libraries/Struct.js.map +1 -0
  242. package/build/dex/swaap-v1/swaap-v1-pool.d.ts +45 -0
  243. package/build/dex/swaap-v1/swaap-v1-pool.js +656 -0
  244. package/build/dex/swaap-v1/swaap-v1-pool.js.map +1 -0
  245. package/build/dex/swaap-v1/swaap-v1.d.ts +62 -0
  246. package/build/dex/swaap-v1/swaap-v1.js +379 -0
  247. package/build/dex/swaap-v1/swaap-v1.js.map +1 -0
  248. package/build/dex/swaap-v1/types.d.ts +106 -0
  249. package/build/dex/swaap-v1/types.js +9 -0
  250. package/build/dex/swaap-v1/types.js.map +1 -0
  251. package/build/dex/trader-joe-v2.d.ts +40 -0
  252. package/build/dex/trader-joe-v2.js +74 -0
  253. package/build/dex/trader-joe-v2.js.map +1 -0
  254. package/build/dex/uniswap-v4/uniswap-v4-pool.js +1 -1
  255. package/build/dex/uniswap-v4/uniswap-v4-pool.js.map +1 -1
  256. package/build/dex/uniswap-v4/uniswap-v4.js +2 -2
  257. package/build/dex/uniswap-v4/uniswap-v4.js.map +1 -1
  258. package/build/dex/usual-bond/config.d.ts +3 -0
  259. package/build/dex/usual-bond/config.js +13 -0
  260. package/build/dex/usual-bond/config.js.map +1 -0
  261. package/build/dex/usual-bond/types.d.ts +7 -0
  262. package/build/dex/usual-bond/types.js +3 -0
  263. package/build/dex/usual-bond/types.js.map +1 -0
  264. package/build/dex/usual-bond/usual-bond.d.ts +35 -0
  265. package/build/dex/usual-bond/usual-bond.js +176 -0
  266. package/build/dex/usual-bond/usual-bond.js.map +1 -0
  267. package/build/dex/wusdm/config.d.ts +3 -0
  268. package/build/dex/wusdm/config.js +43 -0
  269. package/build/dex/wusdm/config.js.map +1 -0
  270. package/build/dex/wusdm/constants.d.ts +2 -0
  271. package/build/dex/wusdm/constants.js +6 -0
  272. package/build/dex/wusdm/constants.js.map +1 -0
  273. package/build/dex/wusdm/types.d.ts +18 -0
  274. package/build/dex/wusdm/types.js +11 -0
  275. package/build/dex/wusdm/types.js.map +1 -0
  276. package/build/dex/wusdm/wusdm-pool.d.ts +21 -0
  277. package/build/dex/wusdm/wusdm-pool.js +74 -0
  278. package/build/dex/wusdm/wusdm-pool.js.map +1 -0
  279. package/build/dex/wusdm/wusdm.d.ts +46 -0
  280. package/build/dex/wusdm/wusdm.js +243 -0
  281. package/build/dex/wusdm/wusdm.js.map +1 -0
  282. package/build/dex/zerox/config.d.ts +2 -0
  283. package/build/dex/zerox/config.js +33 -0
  284. package/build/dex/zerox/config.js.map +1 -0
  285. package/build/dex/zerox/index.d.ts +22 -0
  286. package/build/dex/zerox/index.js +225 -0
  287. package/build/dex/zerox/index.js.map +1 -0
  288. package/build/dex/zerox/order.d.ts +88 -0
  289. package/build/dex/zerox/order.js +53 -0
  290. package/build/dex/zerox/order.js.map +1 -0
  291. package/build/dex/zerox/types.d.ts +73 -0
  292. package/build/dex/zerox/types.js +21 -0
  293. package/build/dex/zerox/types.js.map +1 -0
  294. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +16 -0
  295. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +16 -0
  296. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +16 -0
  297. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +16 -0
  298. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +16 -0
  299. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +16 -0
  300. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +16 -0
  301. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +16 -0
  302. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +9 -0
  303. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +9 -0
  304. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +9 -0
  305. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +9 -0
  306. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +9 -0
  307. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +9 -0
  308. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +9 -0
  309. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +9 -0
  310. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +9 -0
  311. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +12 -0
  312. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +7 -0
  313. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +7 -0
  314. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +7 -0
  315. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +7 -0
  316. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +12 -0
  317. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +7 -0
  318. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +7 -0
  319. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +78 -0
  320. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +81 -0
  321. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +78 -0
  322. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +78 -0
  323. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +81 -0
  324. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +81 -0
  325. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +81 -0
  326. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +81 -0
  327. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +64 -0
  328. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +85 -0
  329. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +64 -0
  330. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +52 -0
  331. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +52 -0
  332. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +52 -0
  333. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +55 -0
  334. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +55 -0
  335. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +55 -0
  336. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +23 -0
  337. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +37 -0
  338. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +23 -0
  339. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +23 -0
  340. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +51 -0
  341. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +58 -0
  342. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +23 -0
  343. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +23 -0
  344. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +9 -0
  345. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +16 -0
  346. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +23 -0
  347. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +12 -0
  348. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +7 -0
  349. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +12 -0
  350. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +12 -0
  351. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +7 -0
  352. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +7 -0
  353. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +7 -0
  354. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +7 -0
  355. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +7 -0
  356. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +7 -0
  357. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +130 -0
  358. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +136 -0
  359. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +100 -0
  360. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +100 -0
  361. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +166 -0
  362. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +190 -0
  363. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +114 -0
  364. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +114 -0
  365. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +55 -0
  366. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +73 -0
  367. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +82 -0
  368. package/package.json +1 -1
  369. package/build/dex/uniswap-v4/optimizer.d.ts +0 -2
  370. package/build/dex/uniswap-v4/optimizer.js +0 -47
  371. package/build/dex/uniswap-v4/optimizer.js.map +0 -1
@@ -0,0 +1,130 @@
1
+ {
2
+ "blockNumber": 19040411,
3
+ "network": 1,
4
+ "srcToken": "0xba100000625a3754423978a60c9317c58a424e3d",
5
+ "srcDecimals": 18,
6
+ "srcAmount": "10000000000000000000000",
7
+ "destToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
8
+ "destDecimals": 18,
9
+ "destAmount": "34212136872451297201131",
10
+ "bestRoute": [
11
+ {
12
+ "percent": 100,
13
+ "swaps": [
14
+ {
15
+ "srcToken": "0xba100000625a3754423978a60c9317c58a424e3d",
16
+ "srcDecimals": 18,
17
+ "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
18
+ "destDecimals": 18,
19
+ "swapExchanges": [
20
+ {
21
+ "exchange": "BalancerV1",
22
+ "srcAmount": "10000000000000000000000",
23
+ "destAmount": "15139302788530231154",
24
+ "percent": 100,
25
+ "poolAddresses": [
26
+ "0x49ff149d649769033d43783e7456f626862cd160",
27
+ "0xe867be952ee17d2d294f2de62b13b9f4af521e9a",
28
+ "0x59a19d8c652fa0284f44113d0ff9aba70bd46fb4",
29
+ "0x9dde0b1d39d0d2c6589cde1bfed3542d2a3c5b11",
30
+ "0xe93e8aa4e88359dacf33c491cf5bd56eb6c110c1"
31
+ ],
32
+ "data": {
33
+ "swaps": [
34
+ {
35
+ "pool": "0x49ff149d649769033d43783e7456f626862cd160",
36
+ "tokenInParam": "3000000000000000000000",
37
+ "tokenOutParam": "0",
38
+ "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
39
+ },
40
+ {
41
+ "pool": "0xe867be952ee17d2d294f2de62b13b9f4af521e9a",
42
+ "tokenInParam": "3400000000000000000000",
43
+ "tokenOutParam": "0",
44
+ "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
45
+ },
46
+ {
47
+ "pool": "0x59a19d8c652fa0284f44113d0ff9aba70bd46fb4",
48
+ "tokenInParam": "2000000000000000000000",
49
+ "tokenOutParam": "0",
50
+ "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
51
+ },
52
+ {
53
+ "pool": "0x9dde0b1d39d0d2c6589cde1bfed3542d2a3c5b11",
54
+ "tokenInParam": "1400000000000000000000",
55
+ "tokenOutParam": "0",
56
+ "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
57
+ },
58
+ {
59
+ "pool": "0xe93e8aa4e88359dacf33c491cf5bd56eb6c110c1",
60
+ "tokenInParam": "200000000000000000000",
61
+ "tokenOutParam": "0",
62
+ "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
63
+ }
64
+ ],
65
+ "gasUSD": "35.745695"
66
+ }
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
72
+ "srcDecimals": 18,
73
+ "destToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
74
+ "destDecimals": 18,
75
+ "swapExchanges": [
76
+ {
77
+ "exchange": "UniswapV3",
78
+ "srcAmount": "302786055770604623",
79
+ "destAmount": "679797295379811802751",
80
+ "percent": 2,
81
+ "poolAddresses": ["0x73a6a761fe483ba19debb8f56ac5bbf14c0cdad1"],
82
+ "data": {
83
+ "path": [
84
+ {
85
+ "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
86
+ "tokenOut": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
87
+ "fee": "3000",
88
+ "currentFee": "3000"
89
+ }
90
+ ],
91
+ "gasUSD": "17.932424"
92
+ }
93
+ },
94
+ {
95
+ "exchange": "SushiSwapV3",
96
+ "srcAmount": "14836516732759626531",
97
+ "destAmount": "33532339577071485398380",
98
+ "percent": 98,
99
+ "poolAddresses": ["0x87c7056bbe6084f03304196be51c6b90b6d85aa2"],
100
+ "data": {
101
+ "path": [
102
+ {
103
+ "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
104
+ "tokenOut": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
105
+ "fee": "3000",
106
+ "currentFee": "3000"
107
+ }
108
+ ],
109
+ "gasUSD": "9.353457"
110
+ }
111
+ }
112
+ ]
113
+ }
114
+ ]
115
+ }
116
+ ],
117
+ "gasCostUSD": "72.283755",
118
+ "gasCost": "1213300",
119
+ "side": "SELL",
120
+ "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
121
+ "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
122
+ "contractMethod": "multiSwap",
123
+ "partnerFee": 0,
124
+ "srcUSD": "39400.0000000000",
125
+ "destUSD": "36025.3801266912",
126
+ "maxImpact": 100,
127
+ "partner": "any",
128
+ "maxImpactReached": false,
129
+ "hmac": "afef3cc1cf466c77ecc30004f916867ba9bab3ab"
130
+ }
@@ -0,0 +1,136 @@
1
+ {
2
+ "blockNumber": 19040447,
3
+ "network": 1,
4
+ "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
5
+ "srcDecimals": 18,
6
+ "srcAmount": "100000000000000000000000",
7
+ "destToken": "0x7448c7456a97769f6cd04f1e83a4a23ccdc46abd",
8
+ "destDecimals": 18,
9
+ "destAmount": "14973345467707302367455",
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": "UniswapV3",
22
+ "srcAmount": "20000000000000000000000",
23
+ "destAmount": "706406741503",
24
+ "percent": 20,
25
+ "poolAddresses": ["0x7bea39867e4169dbe237d55c8242a8f2fcdcc387"],
26
+ "data": {
27
+ "path": [
28
+ {
29
+ "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
30
+ "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
31
+ "fee": "10000",
32
+ "currentFee": "10000"
33
+ }
34
+ ],
35
+ "gasUSD": "93.518633"
36
+ }
37
+ },
38
+ {
39
+ "exchange": "UniswapV3",
40
+ "srcAmount": "18000000000000000000000",
41
+ "destAmount": "34747731823899",
42
+ "percent": 18,
43
+ "poolAddresses": ["0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"],
44
+ "data": {
45
+ "path": [
46
+ {
47
+ "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
48
+ "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
49
+ "fee": "3000",
50
+ "currentFee": "3000"
51
+ }
52
+ ],
53
+ "gasUSD": "148.720241"
54
+ }
55
+ },
56
+ {
57
+ "exchange": "UniswapV3",
58
+ "srcAmount": "12000000000000000000000",
59
+ "destAmount": "27632814296817",
60
+ "percent": 12,
61
+ "poolAddresses": ["0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"],
62
+ "data": {
63
+ "path": [
64
+ {
65
+ "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
66
+ "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
67
+ "fee": "500",
68
+ "currentFee": "500"
69
+ }
70
+ ],
71
+ "gasUSD": "165.029807"
72
+ }
73
+ },
74
+ {
75
+ "exchange": "SushiSwapV3",
76
+ "srcAmount": "50000000000000000000000",
77
+ "destAmount": "48301063985",
78
+ "percent": 50,
79
+ "poolAddresses": ["0x763d3b7296e7c9718ad5b058ac2692a19e5b3638"],
80
+ "data": {
81
+ "path": [
82
+ {
83
+ "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
84
+ "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
85
+ "fee": "3000",
86
+ "currentFee": "3000"
87
+ }
88
+ ],
89
+ "gasUSD": "29.534951"
90
+ }
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
96
+ "srcDecimals": 6,
97
+ "destToken": "0x7448c7456a97769f6cd04f1e83a4a23ccdc46abd",
98
+ "destDecimals": 18,
99
+ "swapExchanges": [
100
+ {
101
+ "exchange": "MaverickV1",
102
+ "srcAmount": "63135253926204",
103
+ "destAmount": "14973345467707302367455",
104
+ "percent": 100,
105
+ "poolAddresses": ["0x2df64ac2e8874c43021675ed7a65d3429e30b96b"],
106
+ "data": {
107
+ "fee": "0.01",
108
+ "exchange": "0x4a585e0f7c18e2c414221d6402652d5e0990e5f8",
109
+ "pool": "0x2df64ac2e8874c43021675ed7a65d3429e30b96b",
110
+ "tokenA": "0x7448c7456a97769f6cd04f1e83a4a23ccdc46abd",
111
+ "tokenB": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
112
+ "tickSpacing": "2232",
113
+ "protocolFeeRatio": "0",
114
+ "lookback": "10800000000000000000000",
115
+ "gasUSD": "210.262925"
116
+ }
117
+ }
118
+ ]
119
+ }
120
+ ]
121
+ }
122
+ ],
123
+ "gasCostUSD": "653.804707",
124
+ "gasCost": "12507204",
125
+ "side": "SELL",
126
+ "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
127
+ "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
128
+ "contractMethod": "multiSwap",
129
+ "partnerFee": 0,
130
+ "srcUSD": "248925000.0000000000",
131
+ "destUSD": "8281.7573781889",
132
+ "maxImpact": 100,
133
+ "partner": "any",
134
+ "maxImpactReached": false,
135
+ "hmac": "bca799bdb143b1bcb7bcd7cf6df7b5ae2972684d"
136
+ }
@@ -0,0 +1,100 @@
1
+ {
2
+ "blockNumber": 19040301,
3
+ "network": 1,
4
+ "srcToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
5
+ "srcDecimals": 18,
6
+ "srcAmount": "1000000000000000000000000",
7
+ "destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
8
+ "destDecimals": 8,
9
+ "destAmount": "592446751",
10
+ "bestRoute": [
11
+ {
12
+ "percent": 100,
13
+ "swaps": [
14
+ {
15
+ "srcToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
16
+ "srcDecimals": 18,
17
+ "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
18
+ "destDecimals": 18,
19
+ "swapExchanges": [
20
+ {
21
+ "exchange": "UniswapV3",
22
+ "srcAmount": "20000000000000000000000",
23
+ "destAmount": "403452896981135609",
24
+ "percent": 2,
25
+ "poolAddresses": ["0x73a6a761fe483ba19debb8f56ac5bbf14c0cdad1"],
26
+ "data": {
27
+ "path": [
28
+ {
29
+ "tokenIn": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
30
+ "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
31
+ "fee": "3000",
32
+ "currentFee": "3000"
33
+ }
34
+ ],
35
+ "gasUSD": "86.616491"
36
+ }
37
+ },
38
+ {
39
+ "exchange": "SushiSwapV3",
40
+ "srcAmount": "980000000000000000000000",
41
+ "destAmount": "98337039696029884296",
42
+ "percent": 98,
43
+ "poolAddresses": ["0x87c7056bbe6084f03304196be51c6b90b6d85aa2"],
44
+ "data": {
45
+ "path": [
46
+ {
47
+ "tokenIn": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
48
+ "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
49
+ "fee": "3000",
50
+ "currentFee": "3000"
51
+ }
52
+ ],
53
+ "gasUSD": "29.303339"
54
+ }
55
+ }
56
+ ]
57
+ },
58
+ {
59
+ "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
60
+ "srcDecimals": 18,
61
+ "destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
62
+ "destDecimals": 8,
63
+ "swapExchanges": [
64
+ {
65
+ "exchange": "UniswapV3",
66
+ "srcAmount": "98740492593011019905",
67
+ "destAmount": "592446751",
68
+ "percent": 100,
69
+ "poolAddresses": ["0x4585fe77225b41b697c938b018e2ac67ac5a20c0"],
70
+ "data": {
71
+ "path": [
72
+ {
73
+ "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
74
+ "tokenOut": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
75
+ "fee": "500",
76
+ "currentFee": "500"
77
+ }
78
+ ],
79
+ "gasUSD": "6.616883"
80
+ }
81
+ }
82
+ ]
83
+ }
84
+ ]
85
+ }
86
+ ],
87
+ "gasCostUSD": "128.869712",
88
+ "gasCost": "2590294",
89
+ "side": "SELL",
90
+ "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
91
+ "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
92
+ "contractMethod": "multiSwap",
93
+ "partnerFee": 0,
94
+ "srcUSD": "1052000.0000000000",
95
+ "destUSD": "245142.6166287800",
96
+ "maxImpact": 100,
97
+ "partner": "any",
98
+ "maxImpactReached": false,
99
+ "hmac": "ec0b318bb7815c7604056e9486b90098c9b4d379"
100
+ }
@@ -0,0 +1,100 @@
1
+ {
2
+ "blockNumber": 19040282,
3
+ "network": 1,
4
+ "srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
5
+ "srcDecimals": 8,
6
+ "srcAmount": "200000000",
7
+ "destToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
8
+ "destDecimals": 18,
9
+ "destAmount": "71850307128466490177572",
10
+ "bestRoute": [
11
+ {
12
+ "percent": 100,
13
+ "swaps": [
14
+ {
15
+ "srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
16
+ "srcDecimals": 8,
17
+ "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
18
+ "destDecimals": 18,
19
+ "swapExchanges": [
20
+ {
21
+ "exchange": "UniswapV3",
22
+ "srcAmount": "200000000",
23
+ "destAmount": "33290954892243157138",
24
+ "percent": 100,
25
+ "poolAddresses": ["0xcbcdf9626bc03e24f779434178a73a0b4bad62ed"],
26
+ "data": {
27
+ "path": [
28
+ {
29
+ "tokenIn": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
30
+ "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
31
+ "fee": "3000",
32
+ "currentFee": "3000"
33
+ }
34
+ ],
35
+ "gasUSD": "5.434566"
36
+ }
37
+ }
38
+ ]
39
+ },
40
+ {
41
+ "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
42
+ "srcDecimals": 18,
43
+ "destToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
44
+ "destDecimals": 18,
45
+ "swapExchanges": [
46
+ {
47
+ "exchange": "UniswapV3",
48
+ "srcAmount": "665819097844863143",
49
+ "destAmount": "1431561152736741648613",
50
+ "percent": 2,
51
+ "poolAddresses": ["0x73a6a761fe483ba19debb8f56ac5bbf14c0cdad1"],
52
+ "data": {
53
+ "path": [
54
+ {
55
+ "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
56
+ "tokenOut": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
57
+ "fee": "3000",
58
+ "currentFee": "3000"
59
+ }
60
+ ],
61
+ "gasUSD": "28.169996"
62
+ }
63
+ },
64
+ {
65
+ "exchange": "SushiSwapV3",
66
+ "srcAmount": "32625135794398293995",
67
+ "destAmount": "70418745975729748528959",
68
+ "percent": 98,
69
+ "poolAddresses": ["0x87c7056bbe6084f03304196be51c6b90b6d85aa2"],
70
+ "data": {
71
+ "path": [
72
+ {
73
+ "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
74
+ "tokenOut": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
75
+ "fee": "3000",
76
+ "currentFee": "3000"
77
+ }
78
+ ],
79
+ "gasUSD": "11.417574"
80
+ }
81
+ }
82
+ ]
83
+ }
84
+ ]
85
+ }
86
+ ],
87
+ "gasCostUSD": "51.369110",
88
+ "gasCost": "1030300",
89
+ "side": "SELL",
90
+ "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
91
+ "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
92
+ "contractMethod": "multiSwap",
93
+ "partnerFee": 0,
94
+ "srcUSD": "82884.0000000000",
95
+ "destUSD": "75658.3734062752",
96
+ "maxImpact": 100,
97
+ "partner": "any",
98
+ "maxImpactReached": false,
99
+ "hmac": "a532e72e082c7ede359f619d79ccd9c0e1eab72c"
100
+ }
@@ -0,0 +1,166 @@
1
+ {
2
+ "blockNumber": 19040473,
3
+ "network": 1,
4
+ "srcToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
5
+ "srcDecimals": 18,
6
+ "srcAmount": "100000000000000000000000000",
7
+ "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
8
+ "destDecimals": 18,
9
+ "destAmount": "23196544011101550354425",
10
+ "bestRoute": [
11
+ {
12
+ "percent": 100,
13
+ "swaps": [
14
+ {
15
+ "srcToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
16
+ "srcDecimals": 18,
17
+ "destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
18
+ "destDecimals": 6,
19
+ "swapExchanges": [
20
+ {
21
+ "exchange": "CurveV1",
22
+ "srcAmount": "2000000000000000000000000",
23
+ "destAmount": "1989103591329",
24
+ "percent": 2,
25
+ "poolAddresses": ["0xa5407eae9ba41422680e2e00537571bcc53efbfd"],
26
+ "data": {
27
+ "exchange": "0xa5407eae9ba41422680e2e00537571bcc53efbfd",
28
+ "i": 0,
29
+ "j": 1,
30
+ "underlyingSwap": true,
31
+ "deadline": 0,
32
+ "gasUSD": "10.949092"
33
+ }
34
+ },
35
+ {
36
+ "exchange": "CurveV1",
37
+ "srcAmount": "34000000000000000000000000",
38
+ "destAmount": "32882142496369",
39
+ "percent": 34,
40
+ "poolAddresses": ["0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7"],
41
+ "data": {
42
+ "exchange": "0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7",
43
+ "i": 0,
44
+ "j": 1,
45
+ "underlyingSwap": false,
46
+ "deadline": 0,
47
+ "gasUSD": "10.949092"
48
+ }
49
+ },
50
+ {
51
+ "exchange": "UniswapV3",
52
+ "srcAmount": "20000000000000000000000000",
53
+ "destAmount": "19987945165236",
54
+ "percent": 20,
55
+ "poolAddresses": ["0x6c6bc977e13df9b0de53b251522280bb72383700"],
56
+ "data": {
57
+ "path": [
58
+ {
59
+ "tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
60
+ "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
61
+ "fee": "500",
62
+ "currentFee": "500"
63
+ }
64
+ ],
65
+ "gasUSD": "5.967255"
66
+ }
67
+ },
68
+ {
69
+ "exchange": "UniswapV3",
70
+ "srcAmount": "44000000000000000000000000",
71
+ "destAmount": "43991226383014",
72
+ "percent": 44,
73
+ "poolAddresses": ["0x5777d92f208679db4b9778590fa3cab3ac9e2168"],
74
+ "data": {
75
+ "path": [
76
+ {
77
+ "tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
78
+ "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
79
+ "fee": "100",
80
+ "currentFee": "100"
81
+ }
82
+ ],
83
+ "gasUSD": "7.281146"
84
+ }
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
90
+ "srcDecimals": 6,
91
+ "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
92
+ "destDecimals": 18,
93
+ "swapExchanges": [
94
+ {
95
+ "exchange": "UniswapV3",
96
+ "srcAmount": "31632133643503",
97
+ "destAmount": "690766863089193206593",
98
+ "percent": 32,
99
+ "poolAddresses": ["0x7bea39867e4169dbe237d55c8242a8f2fcdcc387"],
100
+ "data": {
101
+ "path": [
102
+ {
103
+ "tokenIn": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
104
+ "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
105
+ "fee": "10000",
106
+ "currentFee": "10000"
107
+ }
108
+ ],
109
+ "gasUSD": "87.428500"
110
+ }
111
+ },
112
+ {
113
+ "exchange": "UniswapV3",
114
+ "srcAmount": "43494183759817",
115
+ "destAmount": "13609979664300659606373",
116
+ "percent": 44,
117
+ "poolAddresses": ["0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"],
118
+ "data": {
119
+ "path": [
120
+ {
121
+ "tokenIn": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
122
+ "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
123
+ "fee": "3000",
124
+ "currentFee": "3000"
125
+ }
126
+ ],
127
+ "gasUSD": "170.203635"
128
+ }
129
+ },
130
+ {
131
+ "exchange": "UniswapV3",
132
+ "srcAmount": "23724100232628",
133
+ "destAmount": "8895797483711697541459",
134
+ "percent": 24,
135
+ "poolAddresses": ["0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"],
136
+ "data": {
137
+ "path": [
138
+ {
139
+ "tokenIn": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
140
+ "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
141
+ "fee": "500",
142
+ "currentFee": "500"
143
+ }
144
+ ],
145
+ "gasUSD": "170.203635"
146
+ }
147
+ }
148
+ ]
149
+ }
150
+ ]
151
+ }
152
+ ],
153
+ "gasCostUSD": "469.163115",
154
+ "gasCost": "8569900",
155
+ "side": "SELL",
156
+ "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
157
+ "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
158
+ "contractMethod": "multiSwap",
159
+ "partnerFee": 0,
160
+ "srcUSD": "99966100.0000000000",
161
+ "destUSD": "57722976.0135454309",
162
+ "maxImpact": 100,
163
+ "partner": "any",
164
+ "maxImpactReached": false,
165
+ "hmac": "355815fe5a0a2c9e89ed53893ec79d02f50be5cb"
166
+ }