@paraswap/dex-lib 4.1.7-pub-sub → 4.1.8

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 (360) hide show
  1. package/.idea/codeStyles/Project.xml +59 -0
  2. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  3. package/.idea/inspectionProfiles/Project_Default.xml +6 -0
  4. package/.idea/modules.xml +8 -0
  5. package/.idea/paraswap-dex-lib.iml +12 -0
  6. package/.idea/vcs.xml +6 -0
  7. package/build/dex/angle-staked-stable/angle-staked-stable.js +2 -1
  8. package/build/dex/angle-staked-stable/angle-staked-stable.js.map +1 -1
  9. package/build/dex/angle-transmuter/angle-transmuter.js.map +1 -1
  10. package/build/dex/balancer-v1/config.js +2 -1
  11. package/build/dex/balancer-v1/config.js.map +1 -1
  12. package/build/dex/generic-rfq/generic-rfq.js +2 -1
  13. package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
  14. package/build/dex/generic-rfq/rate-fetcher.d.ts +1 -4
  15. package/build/dex/generic-rfq/rate-fetcher.js +20 -65
  16. package/build/dex/generic-rfq/rate-fetcher.js.map +1 -1
  17. package/build/dex/weth/weth.js +2 -1
  18. package/build/dex/weth/weth.js.map +1 -1
  19. package/build/dex/zerox/index.d.ts +1 -1
  20. package/build/dex/zerox/index.js.map +1 -1
  21. package/build/lib/pub-sub.d.ts +0 -17
  22. package/build/lib/pub-sub.js +4 -84
  23. package/build/lib/pub-sub.js.map +1 -1
  24. package/package.json +1 -1
  25. package/scripts/get-uniswap-v3-dexes.ts +64 -0
  26. package/src/abi/balancer-v3/directionalFeeHook.json +677 -677
  27. package/src/abi/balancer-v3/stableSurgeHook.json +975 -975
  28. package/src/dex/aave-gsm/aave-gsm-gas-estimation.test.ts +32 -0
  29. package/src/dex/aave-v2/aave-v2-gas-estimation.test.ts +28 -0
  30. package/src/dex/aave-v3/aave-v3-gas-estimation.test.ts +66 -0
  31. package/src/dex/aave-v3-stata/aave-v3-stata-gas-estimation.test.ts +41 -0
  32. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-gas-estimation.test.ts +41 -0
  33. package/src/dex/angle-staked-stable/angle-staked-stable-gas-estimation.test.ts +29 -0
  34. package/src/dex/angle-staked-stable/angle-staked-stable.ts +2 -1
  35. package/src/dex/angle-transmuter/angle-transmuter-gas-estimation.test.ts +41 -0
  36. package/src/dex/angle-transmuter/angle-transmuter.ts +0 -1
  37. package/src/dex/balancer-v1/balancer-v1-gas-estimation.test.ts +29 -0
  38. package/src/dex/balancer-v1/config.ts +2 -1
  39. package/src/dex/balancer-v2/balancer-v2-gas-estimation.test.ts +98 -0
  40. package/src/dex/balancer-v3/balancer-v3-gas-estimation.test.ts +30 -0
  41. package/src/dex/bancor/bancor-gas-estimation.test.ts +30 -0
  42. package/src/dex/bebop/bebop-gas-estimation.test.ts +30 -0
  43. package/src/dex/concentrator-arusd/concentrator-arusd-gas-estimation.test.ts +29 -0
  44. package/src/dex/curve-v1/curve-v1-gas-estimation.test.ts +29 -0
  45. package/src/dex/curve-v2/curve-v2-gas-estimation.test.ts +29 -0
  46. package/src/dex/fluid-dex/fluid-dex-gas-estimation.test.ts +29 -0
  47. package/src/dex/fx-protocol-rusd/fx-protocol-rusd-gas-estimation.test.ts +29 -0
  48. package/src/dex/generic-rfq/generic-rfq.ts +6 -1
  49. package/src/dex/generic-rfq/rate-fetcher.ts +47 -112
  50. package/src/dex/hashflow/hashflow-gas-estimation.test.ts +30 -0
  51. package/src/dex/idle-dao/idle-dao--gas-estimation.test.ts +30 -0
  52. package/src/dex/lido/lido-gas-estimation.test.ts +29 -0
  53. package/src/dex/lite-psm/lite-psm-gas-estimation.test.ts +34 -0
  54. package/src/dex/maker-psm/maker-psm-gas-estimation.test.ts +34 -0
  55. package/src/dex/maverick-v1/maverick-v1-gas-estimation.test.ts +29 -0
  56. package/src/dex/maverick-v2/maverick-v2-gas-estimation.test.ts +29 -0
  57. package/src/dex/pancakeswap-v3/pancakeswap-v3-gas-estimation.test.ts +29 -0
  58. package/src/dex/polygon-migrator/polygon-migrator-gas-estimation.test.ts +41 -0
  59. package/src/dex/sky-converter/sky-converter-gas-estimation.test.ts +78 -0
  60. package/src/dex/solidly/solidly-gas-estimation.test.ts +29 -0
  61. package/src/dex/solidly-v3/solidly-v3-gas-estimation.test.ts +29 -0
  62. package/src/dex/spark/spark-gas-estimation.test.ts +29 -0
  63. package/src/dex/stader/stader-gas-estimation.test.ts +29 -0
  64. package/src/dex/stkgho/stkgho-gas-estimation.test.ts +29 -0
  65. package/src/dex/swaap-v2/swaap-v2-estimation.test.ts +29 -0
  66. package/src/dex/swell/swell-estimation.test.ts +29 -0
  67. package/src/dex/trader-joe-v2.1/trader-joe-v2.1-gas-estimation.test.ts +29 -0
  68. package/src/dex/uniswap-v2/uniswap-v2-gas-estimation.test.ts +98 -0
  69. package/src/dex/uniswap-v3/uniswap-v3-gas-estimation.test.ts +98 -0
  70. package/src/dex/usual/usual-gas-estimation.test.ts +54 -0
  71. package/src/dex/usual-pp/usual-pp-gas-estimation.test.ts +29 -0
  72. package/src/dex/weth/weth-gas-estimation.test.ts +42 -0
  73. package/src/dex/weth/weth.ts +3 -1
  74. package/src/dex/wombat/wombat-gas-estimation.test.ts +29 -0
  75. package/src/dex/wsteth/wsteth-gas-estimation.test.ts +41 -0
  76. package/src/dex/wusdm/wusdm-gas-estimation.test.ts +41 -0
  77. package/src/lib/pub-sub.ts +3 -107
  78. package/tests/constants-e2e.ts +8 -0
  79. package/tests/tenderly-simulation-new.test.ts +151 -0
  80. package/tests/tenderly-simulation-new.ts +698 -0
  81. package/tests/token-storage-slots.json +532 -0
  82. package/tests/utils-e2e.ts +137 -1
  83. package/build/abi/AaveV1_lending_pool.json +0 -27
  84. package/build/abi/Aave_GSM.json +0 -751
  85. package/build/abi/Balancer.json +0 -257
  86. package/build/abi/BalancerV2.json +0 -1179
  87. package/build/abi/RamsesV2Pool.abi.json +0 -1554
  88. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  89. package/build/abi/USDM.json +0 -807
  90. package/build/abi/UniswapV2Router.json +0 -397
  91. package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +0 -1246
  92. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
  93. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  94. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  95. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  96. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  97. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  98. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  99. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  100. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  101. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  102. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  103. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  104. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  105. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  106. package/build/abi/curve-v1/StableSwapUSDN.json +0 -1004
  107. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  108. package/build/abi/curve-v1/StableSwapY.json +0 -814
  109. package/build/abi/inception/inception-ineth-pool.json +0 -1062
  110. package/build/abi/inception/inception-ineth.json +0 -609
  111. package/build/abi/inception/inception-ratio-feed.json +0 -329
  112. package/build/abi/inception/inception-vault.json +0 -991
  113. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  114. package/build/abi/kyberdmm.abi.json +0 -1148
  115. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  116. package/build/abi/nerve/nerve-metapool.json +0 -790
  117. package/build/abi/platypus/asset.json +0 -490
  118. package/build/abi/platypus/avax-pool.json +0 -820
  119. package/build/abi/platypus/oracle.json +0 -119
  120. package/build/abi/platypus/pool.json +0 -677
  121. package/build/abi/smardex/all/smardex-router.json +0 -648
  122. package/build/abi/smardex/layer-1/smardex-factory.json +0 -242
  123. package/build/abi/smardex/layer-1/smardex-pool.json +0 -506
  124. package/build/abi/smardex/layer-2/smardex-factory.json +0 -185
  125. package/build/abi/smardex/layer-2/smardex-pool.json +0 -578
  126. package/build/abi/swaap-v1/pool.json +0 -1346
  127. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  128. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  129. package/build/dex/aave-v1/aave-v1.d.ts +0 -34
  130. package/build/dex/aave-v1/aave-v1.js +0 -180
  131. package/build/dex/aave-v1/aave-v1.js.map +0 -1
  132. package/build/dex/aave-v1/config.d.ts +0 -11
  133. package/build/dex/aave-v1/config.js +0 -20
  134. package/build/dex/aave-v1/config.js.map +0 -1
  135. package/build/dex/aave-v1/tokens-mainnet.json +0 -134
  136. package/build/dex/aave-v1/tokens.d.ts +0 -3
  137. package/build/dex/aave-v1/tokens.js +0 -50
  138. package/build/dex/aave-v1/tokens.js.map +0 -1
  139. package/build/dex/aave-v1/types.d.ts +0 -12
  140. package/build/dex/aave-v1/types.js +0 -3
  141. package/build/dex/aave-v1/types.js.map +0 -1
  142. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  143. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  144. package/build/dex/bebop/websocket-fetcher.js +0 -87
  145. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  146. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  147. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  148. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  149. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  150. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  151. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  152. package/build/dex/idle-dao/scripts.d.ts +0 -9
  153. package/build/dex/idle-dao/scripts.js +0 -552
  154. package/build/dex/idle-dao/scripts.js.map +0 -1
  155. package/build/dex/inception/config.d.ts +0 -4
  156. package/build/dex/inception/config.js +0 -109
  157. package/build/dex/inception/config.js.map +0 -1
  158. package/build/dex/inception/inception-event-pool.d.ts +0 -16
  159. package/build/dex/inception/inception-event-pool.js +0 -51
  160. package/build/dex/inception/inception-event-pool.js.map +0 -1
  161. package/build/dex/inception/inception-native.d.ts +0 -43
  162. package/build/dex/inception/inception-native.js +0 -131
  163. package/build/dex/inception/inception-native.js.map +0 -1
  164. package/build/dex/inception/inception-pool.d.ts +0 -18
  165. package/build/dex/inception/inception-pool.js +0 -32
  166. package/build/dex/inception/inception-pool.js.map +0 -1
  167. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  168. package/build/dex/inception/inception-price-feed.js +0 -51
  169. package/build/dex/inception/inception-price-feed.js.map +0 -1
  170. package/build/dex/inception/inception.d.ts +0 -43
  171. package/build/dex/inception/inception.js +0 -204
  172. package/build/dex/inception/inception.js.map +0 -1
  173. package/build/dex/inception/tokens.d.ts +0 -9
  174. package/build/dex/inception/tokens.js +0 -28
  175. package/build/dex/inception/tokens.js.map +0 -1
  176. package/build/dex/inception/types.d.ts +0 -22
  177. package/build/dex/inception/types.js +0 -3
  178. package/build/dex/inception/types.js.map +0 -1
  179. package/build/dex/inception/utils.d.ts +0 -6
  180. package/build/dex/inception/utils.js +0 -37
  181. package/build/dex/inception/utils.js.map +0 -1
  182. package/build/dex/platypus/asset.d.ts +0 -14
  183. package/build/dex/platypus/asset.js +0 -97
  184. package/build/dex/platypus/asset.js.map +0 -1
  185. package/build/dex/platypus/config.d.ts +0 -11
  186. package/build/dex/platypus/config.js +0 -69
  187. package/build/dex/platypus/config.js.map +0 -1
  188. package/build/dex/platypus/platypus.d.ts +0 -63
  189. package/build/dex/platypus/platypus.js +0 -473
  190. package/build/dex/platypus/platypus.js.map +0 -1
  191. package/build/dex/platypus/pool-avax.d.ts +0 -8
  192. package/build/dex/platypus/pool-avax.js +0 -54
  193. package/build/dex/platypus/pool-avax.js.map +0 -1
  194. package/build/dex/platypus/pool-base.d.ts +0 -19
  195. package/build/dex/platypus/pool-base.js +0 -86
  196. package/build/dex/platypus/pool-base.js.map +0 -1
  197. package/build/dex/platypus/pool-pure.d.ts +0 -8
  198. package/build/dex/platypus/pool-pure.js +0 -37
  199. package/build/dex/platypus/pool-pure.js.map +0 -1
  200. package/build/dex/platypus/pool-subscriber.d.ts +0 -14
  201. package/build/dex/platypus/pool-subscriber.js +0 -167
  202. package/build/dex/platypus/pool-subscriber.js.map +0 -1
  203. package/build/dex/platypus/pool.d.ts +0 -8
  204. package/build/dex/platypus/pool.js +0 -58
  205. package/build/dex/platypus/pool.js.map +0 -1
  206. package/build/dex/platypus/types.d.ts +0 -92
  207. package/build/dex/platypus/types.js +0 -10
  208. package/build/dex/platypus/types.js.map +0 -1
  209. package/build/dex/quickswap/spiritswap-v3.d.ts +0 -6
  210. package/build/dex/quickswap/spiritswap-v3.js +0 -19
  211. package/build/dex/quickswap/spiritswap-v3.js.map +0 -1
  212. package/build/dex/smardex/config.d.ts +0 -4
  213. package/build/dex/smardex/config.js +0 -64
  214. package/build/dex/smardex/config.js.map +0 -1
  215. package/build/dex/smardex/constants.d.ts +0 -18
  216. package/build/dex/smardex/constants.js +0 -33
  217. package/build/dex/smardex/constants.js.map +0 -1
  218. package/build/dex/smardex/sdk/constants.d.ts +0 -6
  219. package/build/dex/smardex/sdk/constants.js +0 -13
  220. package/build/dex/smardex/sdk/constants.js.map +0 -1
  221. package/build/dex/smardex/sdk/core.d.ts +0 -113
  222. package/build/dex/smardex/sdk/core.js +0 -499
  223. package/build/dex/smardex/sdk/core.js.map +0 -1
  224. package/build/dex/smardex/sdk/errors.d.ts +0 -15
  225. package/build/dex/smardex/sdk/errors.js +0 -22
  226. package/build/dex/smardex/sdk/errors.js.map +0 -1
  227. package/build/dex/smardex/sdk/types.d.ts +0 -62
  228. package/build/dex/smardex/sdk/types.js +0 -3
  229. package/build/dex/smardex/sdk/types.js.map +0 -1
  230. package/build/dex/smardex/sdk/utils.d.ts +0 -44
  231. package/build/dex/smardex/sdk/utils.js +0 -133
  232. package/build/dex/smardex/sdk/utils.js.map +0 -1
  233. package/build/dex/smardex/smardex-event-pool.d.ts +0 -28
  234. package/build/dex/smardex/smardex-event-pool.js +0 -119
  235. package/build/dex/smardex/smardex-event-pool.js.map +0 -1
  236. package/build/dex/smardex/smardex.d.ts +0 -65
  237. package/build/dex/smardex/smardex.js +0 -519
  238. package/build/dex/smardex/smardex.js.map +0 -1
  239. package/build/dex/smardex/types.d.ts +0 -55
  240. package/build/dex/smardex/types.js +0 -3
  241. package/build/dex/smardex/types.js.map +0 -1
  242. package/build/dex/solidly/forks-override/cone.d.ts +0 -22
  243. package/build/dex/solidly/forks-override/cone.js +0 -53
  244. package/build/dex/solidly/forks-override/cone.js.map +0 -1
  245. package/build/dex/solidly/forks-override/solisnek.d.ts +0 -8
  246. package/build/dex/solidly/forks-override/solisnek.js +0 -15
  247. package/build/dex/solidly/forks-override/solisnek.js.map +0 -1
  248. package/build/dex/swaap-v1/config.d.ts +0 -17
  249. package/build/dex/swaap-v1/config.js +0 -56
  250. package/build/dex/swaap-v1/config.js.map +0 -1
  251. package/build/dex/swaap-v1/constants.d.ts +0 -6
  252. package/build/dex/swaap-v1/constants.js +0 -17
  253. package/build/dex/swaap-v1/constants.js.map +0 -1
  254. package/build/dex/swaap-v1/libraries/ChainlinkUtils.d.ts +0 -25
  255. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js +0 -62
  256. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js.map +0 -1
  257. package/build/dex/swaap-v1/libraries/Const.d.ts +0 -18
  258. package/build/dex/swaap-v1/libraries/Const.js +0 -26
  259. package/build/dex/swaap-v1/libraries/Const.js.map +0 -1
  260. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.d.ts +0 -77
  261. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js +0 -316
  262. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js.map +0 -1
  263. package/build/dex/swaap-v1/libraries/LogExpMath.d.ts +0 -75
  264. package/build/dex/swaap-v1/libraries/LogExpMath.js +0 -418
  265. package/build/dex/swaap-v1/libraries/LogExpMath.js.map +0 -1
  266. package/build/dex/swaap-v1/libraries/MathMMM.d.ts +0 -185
  267. package/build/dex/swaap-v1/libraries/MathMMM.js +0 -453
  268. package/build/dex/swaap-v1/libraries/MathMMM.js.map +0 -1
  269. package/build/dex/swaap-v1/libraries/Num.d.ts +0 -31
  270. package/build/dex/swaap-v1/libraries/Num.js +0 -167
  271. package/build/dex/swaap-v1/libraries/Num.js.map +0 -1
  272. package/build/dex/swaap-v1/libraries/PoolQuotations.d.ts +0 -23
  273. package/build/dex/swaap-v1/libraries/PoolQuotations.js +0 -131
  274. package/build/dex/swaap-v1/libraries/PoolQuotations.js.map +0 -1
  275. package/build/dex/swaap-v1/libraries/Struct.d.ts +0 -56
  276. package/build/dex/swaap-v1/libraries/Struct.js +0 -3
  277. package/build/dex/swaap-v1/libraries/Struct.js.map +0 -1
  278. package/build/dex/swaap-v1/swaap-v1-pool.d.ts +0 -45
  279. package/build/dex/swaap-v1/swaap-v1-pool.js +0 -656
  280. package/build/dex/swaap-v1/swaap-v1-pool.js.map +0 -1
  281. package/build/dex/swaap-v1/swaap-v1.d.ts +0 -62
  282. package/build/dex/swaap-v1/swaap-v1.js +0 -379
  283. package/build/dex/swaap-v1/swaap-v1.js.map +0 -1
  284. package/build/dex/swaap-v1/types.d.ts +0 -106
  285. package/build/dex/swaap-v1/types.js +0 -9
  286. package/build/dex/swaap-v1/types.js.map +0 -1
  287. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  288. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  289. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  290. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  291. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  292. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  293. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  294. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  295. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  296. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  297. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  298. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  299. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  300. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  301. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  302. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  303. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  304. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  305. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  306. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  307. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  308. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  309. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  310. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  311. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  312. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  313. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  314. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  315. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  316. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  317. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  318. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  319. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  320. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  321. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  322. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  323. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  324. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  325. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  326. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  327. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  328. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  329. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  330. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  331. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  332. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  333. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  334. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  335. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  336. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  337. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  338. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  339. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  340. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  341. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  342. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  343. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  344. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  345. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  346. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  347. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  348. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  349. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  350. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  351. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  352. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  353. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  354. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  355. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  356. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  357. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  358. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  359. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  360. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
@@ -1,166 +0,0 @@
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
- }
@@ -1,190 +0,0 @@
1
- {
2
- "blockNumber": 19040457,
3
- "network": 1,
4
- "srcToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
5
- "srcDecimals": 6,
6
- "srcAmount": "1000000000000",
7
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
8
- "destDecimals": 18,
9
- "destAmount": "373532720317771981846",
10
- "bestRoute": [
11
- {
12
- "percent": 100,
13
- "swaps": [
14
- {
15
- "srcToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
16
- "srcDecimals": 6,
17
- "destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
18
- "destDecimals": 18,
19
- "swapExchanges": [
20
- {
21
- "exchange": "UniswapV3",
22
- "srcAmount": "60000000000",
23
- "destAmount": "0",
24
- "percent": 6,
25
- "poolAddresses": ["0x6f48eca74b38d2936b02ab603ff4e36a6c0e3a77"],
26
- "data": {
27
- "path": [
28
- {
29
- "tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
30
- "tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
31
- "fee": "500",
32
- "currentFee": "500"
33
- }
34
- ],
35
- "gasUSD": "0.000000"
36
- }
37
- },
38
- {
39
- "exchange": "UniswapV3",
40
- "srcAmount": "460000000000",
41
- "destAmount": "457864187951813179132761",
42
- "percent": 46,
43
- "poolAddresses": ["0x48da0965ab2d2cbf1c17c09cfb5cbe67ad5b1406"],
44
- "data": {
45
- "path": [
46
- {
47
- "tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
48
- "tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
49
- "fee": "100",
50
- "currentFee": "100"
51
- }
52
- ],
53
- "gasUSD": "12.737492"
54
- }
55
- },
56
- {
57
- "exchange": "UniswapV3",
58
- "srcAmount": "20000000000",
59
- "destAmount": "19958385664875089259102",
60
- "percent": 2,
61
- "poolAddresses": ["0x6f48eca74b38d2936b02ab603ff4e36a6c0e3a77"],
62
- "data": {
63
- "path": [
64
- {
65
- "tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
66
- "tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
67
- "fee": "500",
68
- "currentFee": "500"
69
- }
70
- ],
71
- "gasUSD": "5.628194"
72
- }
73
- },
74
- {
75
- "exchange": "UniswapV3",
76
- "srcAmount": "460000000000",
77
- "destAmount": "457864187951813179132761",
78
- "percent": 46,
79
- "poolAddresses": ["0x48da0965ab2d2cbf1c17c09cfb5cbe67ad5b1406"],
80
- "data": {
81
- "path": [
82
- {
83
- "tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
84
- "tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
85
- "fee": "100",
86
- "currentFee": "100"
87
- }
88
- ],
89
- "gasUSD": "12.737492"
90
- }
91
- }
92
- ]
93
- },
94
- {
95
- "srcToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
96
- "srcDecimals": 18,
97
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
98
- "destDecimals": 18,
99
- "swapExchanges": [
100
- {
101
- "exchange": "UniswapV3",
102
- "srcAmount": "400567502627475469685291",
103
- "destAmount": "159857076481099704731",
104
- "percent": 42.81,
105
- "poolAddresses": ["0xc2e9f25be6257c210d7adf0d4cd6e3e881ba25f8"],
106
- "data": {
107
- "path": [
108
- {
109
- "tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
110
- "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
111
- "fee": "3000",
112
- "currentFee": "3000"
113
- }
114
- ],
115
- "gasUSD": "7.659422"
116
- }
117
- },
118
- {
119
- "exchange": "UniswapV3",
120
- "srcAmount": "76445608420146568262762",
121
- "destAmount": "30532348540459551709",
122
- "percent": 8.17,
123
- "poolAddresses": ["0x60594a405d53811d3bc4766596efd80fd545a270"],
124
- "data": {
125
- "path": [
126
- {
127
- "tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
128
- "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
129
- "fee": "500",
130
- "currentFee": "500"
131
- }
132
- ],
133
- "gasUSD": "6.643808"
134
- }
135
- },
136
- {
137
- "exchange": "UniswapV3",
138
- "srcAmount": "382228042100732841313809",
139
- "destAmount": "152610946755753173697",
140
- "percent": 40.85,
141
- "poolAddresses": ["0xc2e9f25be6257c210d7adf0d4cd6e3e881ba25f8"],
142
- "data": {
143
- "path": [
144
- {
145
- "tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
146
- "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
147
- "fee": "3000",
148
- "currentFee": "3000"
149
- }
150
- ],
151
- "gasUSD": "6.643808"
152
- }
153
- },
154
- {
155
- "exchange": "UniswapV3",
156
- "srcAmount": "76445608420146568262762",
157
- "destAmount": "30532348540459551709",
158
- "percent": 8.17,
159
- "poolAddresses": ["0x60594a405d53811d3bc4766596efd80fd545a270"],
160
- "data": {
161
- "path": [
162
- {
163
- "tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
164
- "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
165
- "fee": "500",
166
- "currentFee": "500"
167
- }
168
- ],
169
- "gasUSD": "6.643808"
170
- }
171
- }
172
- ]
173
- }
174
- ]
175
- }
176
- ],
177
- "gasCostUSD": "2.704072",
178
- "gasCost": "63900",
179
- "side": "SELL",
180
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
181
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
182
- "contractMethod": "multiSwap",
183
- "partnerFee": 0,
184
- "srcUSD": "998440.0000000000",
185
- "destUSD": "929816.3240510139",
186
- "maxImpact": 100,
187
- "partner": "any",
188
- "maxImpactReached": false,
189
- "hmac": "cce48c8ef442430c13a5c388f830cb3cc54711e5"
190
- }
@@ -1,114 +0,0 @@
1
- {
2
- "blockNumber": 18813344,
3
- "network": 1,
4
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
5
- "srcDecimals": 18,
6
- "srcAmount": "10000000000000000000",
7
- "destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
8
- "destDecimals": 6,
9
- "destAmount": "20291711255",
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": "SushiSwapV3",
22
- "srcAmount": "3200000000000000000",
23
- "destAmount": "6479000712",
24
- "percent": 32,
25
- "poolAddresses": ["0x763d3b7296e7c9718ad5b058ac2692a19e5b3638"],
26
- "data": {
27
- "path": [
28
- {
29
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
30
- "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
31
- "fee": "3000",
32
- "currentFee": "3000"
33
- }
34
- ],
35
- "gasUSD": "38.394826"
36
- }
37
- },
38
- {
39
- "exchange": "SushiSwapV3",
40
- "srcAmount": "2200000000000000000",
41
- "destAmount": "4461472292",
42
- "percent": 22,
43
- "poolAddresses": ["0x35644fb61afbc458bf92b15add6abc1996be5014"],
44
- "data": {
45
- "path": [
46
- {
47
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
48
- "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
49
- "fee": "500",
50
- "currentFee": "500"
51
- }
52
- ],
53
- "gasUSD": "38.394826"
54
- }
55
- },
56
- {
57
- "exchange": "BalancerV1",
58
- "srcAmount": "4600000000000000000",
59
- "destAmount": "9351238251",
60
- "percent": 46,
61
- "poolAddresses": [
62
- "0x69d460e01070a7ba1bc363885bc8f4f0daa19bf5",
63
- "0x1373e57f764a7944bdd7a4bd5ca3007d496934da",
64
- "0x2257aaac34bcb27900291f7b84ee2565a6cbac57",
65
- "0x8a649274e4d777ffc6851f13d23a86bbfa2f2fbf"
66
- ],
67
- "data": {
68
- "swaps": [
69
- {
70
- "pool": "0x69d460e01070a7ba1bc363885bc8f4f0daa19bf5",
71
- "tokenInParam": "3000000000000000000",
72
- "tokenOutParam": "0",
73
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
74
- },
75
- {
76
- "pool": "0x1373e57f764a7944bdd7a4bd5ca3007d496934da",
77
- "tokenInParam": "400000000000000000",
78
- "tokenOutParam": "0",
79
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
80
- },
81
- {
82
- "pool": "0x2257aaac34bcb27900291f7b84ee2565a6cbac57",
83
- "tokenInParam": "600000000000000000",
84
- "tokenOutParam": "0",
85
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
86
- },
87
- {
88
- "pool": "0x8a649274e4d777ffc6851f13d23a86bbfa2f2fbf",
89
- "tokenInParam": "600000000000000000",
90
- "tokenOutParam": "0",
91
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
92
- }
93
- ],
94
- "gasUSD": "138.567792"
95
- }
96
- }
97
- ]
98
- }
99
- ]
100
- }
101
- ],
102
- "gasCostUSD": "241.800793",
103
- "gasCost": "837600",
104
- "side": "SELL",
105
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
106
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
107
- "contractMethod": "simpleSwap",
108
- "partnerFee": 0,
109
- "srcUSD": "21543.5000000000",
110
- "destUSD": "20312.0029662550",
111
- "partner": "any",
112
- "maxImpactReached": false,
113
- "hmac": "e1ea6f74a416960e7f4a046937267af5debc442c"
114
- }
@@ -1,114 +0,0 @@
1
- {
2
- "blockNumber": 18813358,
3
- "network": 1,
4
- "srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
5
- "srcDecimals": 6,
6
- "srcAmount": "20000000000",
7
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
8
- "destDecimals": 18,
9
- "destAmount": "8847819568532017033",
10
- "bestRoute": [
11
- {
12
- "percent": 100,
13
- "swaps": [
14
- {
15
- "srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
16
- "srcDecimals": 6,
17
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
18
- "destDecimals": 18,
19
- "swapExchanges": [
20
- {
21
- "exchange": "SushiSwapV3",
22
- "srcAmount": "6400000000",
23
- "destAmount": "2822713151313845207",
24
- "percent": 32,
25
- "poolAddresses": ["0x763d3b7296e7c9718ad5b058ac2692a19e5b3638"],
26
- "data": {
27
- "path": [
28
- {
29
- "tokenIn": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
30
- "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
31
- "fee": "3000",
32
- "currentFee": "3000"
33
- }
34
- ],
35
- "gasUSD": "23.952063"
36
- }
37
- },
38
- {
39
- "exchange": "SushiSwapV3",
40
- "srcAmount": "4800000000",
41
- "destAmount": "2124755058853577592",
42
- "percent": 24,
43
- "poolAddresses": ["0x35644fb61afbc458bf92b15add6abc1996be5014"],
44
- "data": {
45
- "path": [
46
- {
47
- "tokenIn": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
48
- "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
49
- "fee": "500",
50
- "currentFee": "500"
51
- }
52
- ],
53
- "gasUSD": "29.225912"
54
- }
55
- },
56
- {
57
- "exchange": "BalancerV1",
58
- "srcAmount": "8800000000",
59
- "destAmount": "3900351358364594234",
60
- "percent": 44,
61
- "poolAddresses": [
62
- "0x69d460e01070a7ba1bc363885bc8f4f0daa19bf5",
63
- "0x2257aaac34bcb27900291f7b84ee2565a6cbac57",
64
- "0x8a649274e4d777ffc6851f13d23a86bbfa2f2fbf",
65
- "0x9b208194acc0a8ccb2a8dcafeacfbb7dcc093f81"
66
- ],
67
- "data": {
68
- "swaps": [
69
- {
70
- "pool": "0x69d460e01070a7ba1bc363885bc8f4f0daa19bf5",
71
- "tokenInParam": "5600000000",
72
- "tokenOutParam": "0",
73
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
74
- },
75
- {
76
- "pool": "0x2257aaac34bcb27900291f7b84ee2565a6cbac57",
77
- "tokenInParam": "1200000000",
78
- "tokenOutParam": "0",
79
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
80
- },
81
- {
82
- "pool": "0x8a649274e4d777ffc6851f13d23a86bbfa2f2fbf",
83
- "tokenInParam": "1200000000",
84
- "tokenOutParam": "0",
85
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
86
- },
87
- {
88
- "pool": "0x9b208194acc0a8ccb2a8dcafeacfbb7dcc093f81",
89
- "tokenInParam": "800000000",
90
- "tokenOutParam": "0",
91
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
92
- }
93
- ],
94
- "gasUSD": "105.476976"
95
- }
96
- }
97
- ]
98
- }
99
- ]
100
- }
101
- ],
102
- "gasCostUSD": "173.861215",
103
- "gasCost": "791200",
104
- "side": "SELL",
105
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
106
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
107
- "contractMethod": "simpleSwap",
108
- "partnerFee": 0,
109
- "srcUSD": "20000.0000000000",
110
- "destUSD": "19061.3000874670",
111
- "partner": "any",
112
- "maxImpactReached": false,
113
- "hmac": "23d86ccff7cebd1ff83f5981e0a4b5868f1fc1c7"
114
- }
@@ -1,55 +0,0 @@
1
- {
2
- "blockNumber": 18813324,
3
- "network": 1,
4
- "srcToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
5
- "srcDecimals": 18,
6
- "srcAmount": "3000000000000000000000",
7
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
8
- "destDecimals": 18,
9
- "destAmount": "1462165766112784720",
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": "SushiSwapV3",
22
- "srcAmount": "3000000000000000000000",
23
- "destAmount": "1462165766112784720",
24
- "percent": 100,
25
- "poolAddresses": ["0x87c7056bbe6084f03304196be51c6b90b6d85aa2"],
26
- "data": {
27
- "path": [
28
- {
29
- "tokenIn": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
30
- "tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
31
- "fee": "3000",
32
- "currentFee": "3000"
33
- }
34
- ],
35
- "gasUSD": "26.076336"
36
- }
37
- }
38
- ]
39
- }
40
- ]
41
- }
42
- ],
43
- "gasCostUSD": "37.569854",
44
- "gasCost": "226200",
45
- "side": "SELL",
46
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
47
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
48
- "contractMethod": "simpleSwap",
49
- "partnerFee": 0,
50
- "srcUSD": "3330.0000000000",
51
- "destUSD": "3153.9354224783",
52
- "partner": "any",
53
- "maxImpactReached": false,
54
- "hmac": "74d10f84bc9f54e07bc2a642011ccd335f90bc34"
55
- }