@paraswap/dex-lib 4.1.21 → 4.1.22-cables-angle-type-errors.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/build/dex/angle-transmuter/angle-transmuter.d.ts +3 -4
  2. package/build/dex/angle-transmuter/angle-transmuter.js +7 -5
  3. package/build/dex/angle-transmuter/angle-transmuter.js.map +1 -1
  4. package/build/dex/cables/cables.js +4 -0
  5. package/build/dex/cables/cables.js.map +1 -1
  6. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +94 -0
  7. package/build/dex/uniswap-v3/uniswap-v3-new.js +923 -0
  8. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +1 -0
  9. package/build/dex/zerox/index.d.ts +1 -1
  10. package/build/dex/zerox/index.js.map +1 -1
  11. package/package.json +1 -1
  12. package/build/abi/AaveV1_lending_pool.json +0 -27
  13. package/build/abi/Aave_GSM.json +0 -751
  14. package/build/abi/Balancer.json +0 -257
  15. package/build/abi/BalancerV2.json +0 -1179
  16. package/build/abi/RamsesV2Pool.abi.json +0 -1554
  17. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  18. package/build/abi/USDM.json +0 -807
  19. package/build/abi/UniswapV2Router.json +0 -397
  20. package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +0 -1246
  21. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
  22. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  23. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  24. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  25. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  26. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  27. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  28. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  29. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  30. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  31. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  32. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  33. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  34. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  35. package/build/abi/curve-v1/StableSwapUSDN.json +0 -1004
  36. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  37. package/build/abi/curve-v1/StableSwapY.json +0 -814
  38. package/build/abi/inception/inception-ineth-pool.json +0 -1062
  39. package/build/abi/inception/inception-ineth.json +0 -609
  40. package/build/abi/inception/inception-ratio-feed.json +0 -329
  41. package/build/abi/inception/inception-vault.json +0 -991
  42. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  43. package/build/abi/kyberdmm.abi.json +0 -1148
  44. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  45. package/build/abi/nerve/nerve-metapool.json +0 -790
  46. package/build/abi/platypus/asset.json +0 -490
  47. package/build/abi/platypus/avax-pool.json +0 -820
  48. package/build/abi/platypus/oracle.json +0 -119
  49. package/build/abi/platypus/pool.json +0 -677
  50. package/build/abi/smardex/all/smardex-router.json +0 -648
  51. package/build/abi/smardex/layer-1/smardex-factory.json +0 -242
  52. package/build/abi/smardex/layer-1/smardex-pool.json +0 -506
  53. package/build/abi/smardex/layer-2/smardex-factory.json +0 -185
  54. package/build/abi/smardex/layer-2/smardex-pool.json +0 -578
  55. package/build/abi/swaap-v1/pool.json +0 -1346
  56. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  57. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  58. package/build/dex/aave-v1/aave-v1.d.ts +0 -34
  59. package/build/dex/aave-v1/aave-v1.js +0 -180
  60. package/build/dex/aave-v1/aave-v1.js.map +0 -1
  61. package/build/dex/aave-v1/config.d.ts +0 -11
  62. package/build/dex/aave-v1/config.js +0 -20
  63. package/build/dex/aave-v1/config.js.map +0 -1
  64. package/build/dex/aave-v1/tokens-mainnet.json +0 -134
  65. package/build/dex/aave-v1/tokens.d.ts +0 -3
  66. package/build/dex/aave-v1/tokens.js +0 -50
  67. package/build/dex/aave-v1/tokens.js.map +0 -1
  68. package/build/dex/aave-v1/types.d.ts +0 -12
  69. package/build/dex/aave-v1/types.js +0 -3
  70. package/build/dex/aave-v1/types.js.map +0 -1
  71. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  72. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  73. package/build/dex/bebop/websocket-fetcher.js +0 -87
  74. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  75. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  76. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  77. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  78. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  79. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  80. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  81. package/build/dex/idle-dao/scripts.d.ts +0 -9
  82. package/build/dex/idle-dao/scripts.js +0 -552
  83. package/build/dex/idle-dao/scripts.js.map +0 -1
  84. package/build/dex/inception/config.d.ts +0 -4
  85. package/build/dex/inception/config.js +0 -109
  86. package/build/dex/inception/config.js.map +0 -1
  87. package/build/dex/inception/inception-event-pool.d.ts +0 -16
  88. package/build/dex/inception/inception-event-pool.js +0 -51
  89. package/build/dex/inception/inception-event-pool.js.map +0 -1
  90. package/build/dex/inception/inception-native.d.ts +0 -43
  91. package/build/dex/inception/inception-native.js +0 -131
  92. package/build/dex/inception/inception-native.js.map +0 -1
  93. package/build/dex/inception/inception-pool.d.ts +0 -18
  94. package/build/dex/inception/inception-pool.js +0 -32
  95. package/build/dex/inception/inception-pool.js.map +0 -1
  96. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  97. package/build/dex/inception/inception-price-feed.js +0 -51
  98. package/build/dex/inception/inception-price-feed.js.map +0 -1
  99. package/build/dex/inception/inception.d.ts +0 -43
  100. package/build/dex/inception/inception.js +0 -204
  101. package/build/dex/inception/inception.js.map +0 -1
  102. package/build/dex/inception/tokens.d.ts +0 -9
  103. package/build/dex/inception/tokens.js +0 -28
  104. package/build/dex/inception/tokens.js.map +0 -1
  105. package/build/dex/inception/types.d.ts +0 -22
  106. package/build/dex/inception/types.js +0 -3
  107. package/build/dex/inception/types.js.map +0 -1
  108. package/build/dex/inception/utils.d.ts +0 -6
  109. package/build/dex/inception/utils.js +0 -37
  110. package/build/dex/inception/utils.js.map +0 -1
  111. package/build/dex/platypus/asset.d.ts +0 -14
  112. package/build/dex/platypus/asset.js +0 -97
  113. package/build/dex/platypus/asset.js.map +0 -1
  114. package/build/dex/platypus/config.d.ts +0 -11
  115. package/build/dex/platypus/config.js +0 -69
  116. package/build/dex/platypus/config.js.map +0 -1
  117. package/build/dex/platypus/platypus.d.ts +0 -63
  118. package/build/dex/platypus/platypus.js +0 -473
  119. package/build/dex/platypus/platypus.js.map +0 -1
  120. package/build/dex/platypus/pool-avax.d.ts +0 -8
  121. package/build/dex/platypus/pool-avax.js +0 -54
  122. package/build/dex/platypus/pool-avax.js.map +0 -1
  123. package/build/dex/platypus/pool-base.d.ts +0 -19
  124. package/build/dex/platypus/pool-base.js +0 -86
  125. package/build/dex/platypus/pool-base.js.map +0 -1
  126. package/build/dex/platypus/pool-pure.d.ts +0 -8
  127. package/build/dex/platypus/pool-pure.js +0 -37
  128. package/build/dex/platypus/pool-pure.js.map +0 -1
  129. package/build/dex/platypus/pool-subscriber.d.ts +0 -14
  130. package/build/dex/platypus/pool-subscriber.js +0 -167
  131. package/build/dex/platypus/pool-subscriber.js.map +0 -1
  132. package/build/dex/platypus/pool.d.ts +0 -8
  133. package/build/dex/platypus/pool.js +0 -58
  134. package/build/dex/platypus/pool.js.map +0 -1
  135. package/build/dex/platypus/types.d.ts +0 -92
  136. package/build/dex/platypus/types.js +0 -10
  137. package/build/dex/platypus/types.js.map +0 -1
  138. package/build/dex/quickswap/spiritswap-v3.d.ts +0 -6
  139. package/build/dex/quickswap/spiritswap-v3.js +0 -19
  140. package/build/dex/quickswap/spiritswap-v3.js.map +0 -1
  141. package/build/dex/smardex/config.d.ts +0 -4
  142. package/build/dex/smardex/config.js +0 -64
  143. package/build/dex/smardex/config.js.map +0 -1
  144. package/build/dex/smardex/constants.d.ts +0 -18
  145. package/build/dex/smardex/constants.js +0 -33
  146. package/build/dex/smardex/constants.js.map +0 -1
  147. package/build/dex/smardex/sdk/constants.d.ts +0 -6
  148. package/build/dex/smardex/sdk/constants.js +0 -13
  149. package/build/dex/smardex/sdk/constants.js.map +0 -1
  150. package/build/dex/smardex/sdk/core.d.ts +0 -113
  151. package/build/dex/smardex/sdk/core.js +0 -499
  152. package/build/dex/smardex/sdk/core.js.map +0 -1
  153. package/build/dex/smardex/sdk/errors.d.ts +0 -15
  154. package/build/dex/smardex/sdk/errors.js +0 -22
  155. package/build/dex/smardex/sdk/errors.js.map +0 -1
  156. package/build/dex/smardex/sdk/types.d.ts +0 -62
  157. package/build/dex/smardex/sdk/types.js +0 -3
  158. package/build/dex/smardex/sdk/types.js.map +0 -1
  159. package/build/dex/smardex/sdk/utils.d.ts +0 -44
  160. package/build/dex/smardex/sdk/utils.js +0 -133
  161. package/build/dex/smardex/sdk/utils.js.map +0 -1
  162. package/build/dex/smardex/smardex-event-pool.d.ts +0 -28
  163. package/build/dex/smardex/smardex-event-pool.js +0 -119
  164. package/build/dex/smardex/smardex-event-pool.js.map +0 -1
  165. package/build/dex/smardex/smardex.d.ts +0 -65
  166. package/build/dex/smardex/smardex.js +0 -519
  167. package/build/dex/smardex/smardex.js.map +0 -1
  168. package/build/dex/smardex/types.d.ts +0 -55
  169. package/build/dex/smardex/types.js +0 -3
  170. package/build/dex/smardex/types.js.map +0 -1
  171. package/build/dex/solidly/forks-override/cone.d.ts +0 -22
  172. package/build/dex/solidly/forks-override/cone.js +0 -53
  173. package/build/dex/solidly/forks-override/cone.js.map +0 -1
  174. package/build/dex/solidly/forks-override/solisnek.d.ts +0 -8
  175. package/build/dex/solidly/forks-override/solisnek.js +0 -15
  176. package/build/dex/solidly/forks-override/solisnek.js.map +0 -1
  177. package/build/dex/swaap-v1/config.d.ts +0 -17
  178. package/build/dex/swaap-v1/config.js +0 -56
  179. package/build/dex/swaap-v1/config.js.map +0 -1
  180. package/build/dex/swaap-v1/constants.d.ts +0 -6
  181. package/build/dex/swaap-v1/constants.js +0 -17
  182. package/build/dex/swaap-v1/constants.js.map +0 -1
  183. package/build/dex/swaap-v1/libraries/ChainlinkUtils.d.ts +0 -25
  184. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js +0 -62
  185. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js.map +0 -1
  186. package/build/dex/swaap-v1/libraries/Const.d.ts +0 -18
  187. package/build/dex/swaap-v1/libraries/Const.js +0 -26
  188. package/build/dex/swaap-v1/libraries/Const.js.map +0 -1
  189. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.d.ts +0 -77
  190. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js +0 -316
  191. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js.map +0 -1
  192. package/build/dex/swaap-v1/libraries/LogExpMath.d.ts +0 -75
  193. package/build/dex/swaap-v1/libraries/LogExpMath.js +0 -418
  194. package/build/dex/swaap-v1/libraries/LogExpMath.js.map +0 -1
  195. package/build/dex/swaap-v1/libraries/MathMMM.d.ts +0 -185
  196. package/build/dex/swaap-v1/libraries/MathMMM.js +0 -453
  197. package/build/dex/swaap-v1/libraries/MathMMM.js.map +0 -1
  198. package/build/dex/swaap-v1/libraries/Num.d.ts +0 -31
  199. package/build/dex/swaap-v1/libraries/Num.js +0 -167
  200. package/build/dex/swaap-v1/libraries/Num.js.map +0 -1
  201. package/build/dex/swaap-v1/libraries/PoolQuotations.d.ts +0 -23
  202. package/build/dex/swaap-v1/libraries/PoolQuotations.js +0 -131
  203. package/build/dex/swaap-v1/libraries/PoolQuotations.js.map +0 -1
  204. package/build/dex/swaap-v1/libraries/Struct.d.ts +0 -56
  205. package/build/dex/swaap-v1/libraries/Struct.js +0 -3
  206. package/build/dex/swaap-v1/libraries/Struct.js.map +0 -1
  207. package/build/dex/swaap-v1/swaap-v1-pool.d.ts +0 -45
  208. package/build/dex/swaap-v1/swaap-v1-pool.js +0 -656
  209. package/build/dex/swaap-v1/swaap-v1-pool.js.map +0 -1
  210. package/build/dex/swaap-v1/swaap-v1.d.ts +0 -62
  211. package/build/dex/swaap-v1/swaap-v1.js +0 -379
  212. package/build/dex/swaap-v1/swaap-v1.js.map +0 -1
  213. package/build/dex/swaap-v1/types.d.ts +0 -106
  214. package/build/dex/swaap-v1/types.js +0 -9
  215. package/build/dex/swaap-v1/types.js.map +0 -1
  216. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  217. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  218. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  219. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  220. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  221. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  222. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  223. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  224. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  225. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  226. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  227. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  228. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  229. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  230. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  231. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  232. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  233. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  234. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  235. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  236. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  237. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  238. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  239. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  240. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  241. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  242. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  243. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  244. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  245. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  246. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  247. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  248. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  249. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  250. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  251. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  252. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  253. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  254. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  255. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  256. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  257. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  258. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  259. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  260. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  261. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  262. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  263. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  264. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  265. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  266. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  267. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  268. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  269. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  270. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  271. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  272. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  273. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  274. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  275. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  276. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  277. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  278. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  279. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  280. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  281. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  282. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  283. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  284. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  285. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  286. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  287. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  288. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  289. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
@@ -1,11 +0,0 @@
1
- import { DexParams } from './types';
2
- import { DexConfigMap } from '../../types';
3
- export declare const AaveV1Config: DexConfigMap<DexParams>;
4
- export declare const Adapters: {
5
- [chainId: number]: {
6
- [side: string]: {
7
- name: string;
8
- index: number;
9
- }[];
10
- };
11
- };
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Adapters = exports.AaveV1Config = void 0;
4
- const constants_1 = require("../../constants");
5
- exports.AaveV1Config = {
6
- AaveV1: {
7
- [constants_1.Network.MAINNET]: {},
8
- },
9
- };
10
- exports.Adapters = {
11
- [constants_1.Network.MAINNET]: {
12
- [constants_1.SwapSide.SELL]: [
13
- {
14
- name: 'Adapter03',
15
- index: 5,
16
- },
17
- ],
18
- },
19
- };
20
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/dex/aave-v1/config.ts"],"names":[],"mappings":";;;AAEA,+CAAoD;AAEvC,QAAA,YAAY,GAA4B;IACnD,MAAM,EAAE;QACN,CAAC,mBAAO,CAAC,OAAO,CAAC,EAAE,EAAE;KACtB;CACF,CAAC;AAEW,QAAA,QAAQ,GAEjB;IACF,CAAC,mBAAO,CAAC,OAAO,CAAC,EAAE;QACjB,CAAC,oBAAQ,CAAC,IAAI,CAAC,EAAE;YACf;gBACE,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,CAAC;aACT;SACF;KACF;CACF,CAAC"}
@@ -1,134 +0,0 @@
1
- [
2
- {
3
- "aSymbol": "aETH",
4
- "aAddress": "0x3a3a65aab0dd2a17e3f1947ba16138cd37d08c04",
5
- "address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
6
- "decimals": 18
7
- },
8
- {
9
- "aSymbol": "aDAI",
10
- "aAddress": "0xfc1e690f61efd961294b3e1ce3313fbd8aa4f85d",
11
- "address": "0x6b175474e89094c44da98b954eedeac495271d0f",
12
- "decimals": 18
13
- },
14
- {
15
- "aSymbol": "aUSDC",
16
- "aAddress": "0x9ba00d6856a4edf4665bca2c2309936572473b7e",
17
- "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
18
- "decimals": 6
19
- },
20
- {
21
- "aSymbol": "aSUSD",
22
- "aAddress": "0x625ae63000f46200499120b906716420bd059240",
23
- "address": "0x57ab1e02fee23774580c119740129eac7081e9d3",
24
- "decimals": 18
25
- },
26
- {
27
- "aSymbol": "aTUSD",
28
- "aAddress": "0x4da9b813057d04baef4e5800e36083717b4a0341",
29
- "address": "0x8dd5fbce2f6a956c3022ba3663759011dd51e73e",
30
- "decimals": 18
31
- },
32
- {
33
- "aSymbol": "aUSDT",
34
- "aAddress": "0x71fc860f7d3a592a4a98740e39db31d25db65ae8",
35
- "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
36
- "decimals": 6
37
- },
38
- {
39
- "aSymbol": "aBUSD",
40
- "aAddress": "0x6ee0f7bb50a54ab5253da0667b0dc2ee526c30a8",
41
- "address": "0x4fabb145d64652a948d72533023f6e7a623c7c53",
42
- "decimals": 18
43
- },
44
- {
45
- "aSymbol": "aBAT",
46
- "aAddress": "0xe1ba0fb44ccb0d11b80f92f4f8ed94ca3ff51d00",
47
- "address": "0x0d8775f648430679a709e98d2b0cb6250d2887ef",
48
- "decimals": 18
49
- },
50
- {
51
- "aSymbol": "aENJ",
52
- "aAddress": "0x712db54daa836b53ef1ecbb9c6ba3b9efb073f40",
53
- "address": "0xf629cbd94d3791c9250152bd8dfbdf380e2a3b9c",
54
- "decimals": 18
55
- },
56
- {
57
- "aSymbol": "aKNC",
58
- "aAddress": "0x9d91be44c06d373a8a226e1f3b146956083803eb",
59
- "address": "0xdd974d5c2e2928dea5f71b9825b8b646686bd200",
60
- "decimals": 18
61
- },
62
- {
63
- "aSymbol": "aAAVE",
64
- "aAddress": "0xba3d9687cf50fe253cd2e1cfeede1d6787344ed5",
65
- "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
66
- "decimals": 18
67
- },
68
- {
69
- "aSymbol": "aLINK",
70
- "aAddress": "0xa64bd6c70cb9051f6a9ba1f163fdc07e0dfb5f84",
71
- "address": "0x514910771af9ca656af840dff83e8264ecf986ca",
72
- "decimals": 18
73
- },
74
- {
75
- "aSymbol": "aMANA",
76
- "aAddress": "0x6fce4a401b6b80ace52baaefe4421bd188e76f6f",
77
- "address": "0x0f5d2fb29fb7d3cfee444a200298f468908cc942",
78
- "decimals": 18
79
- },
80
- {
81
- "aSymbol": "aMKR",
82
- "aAddress": "0x7deb5e830be29f91e298ba5ff1356bb7f8146998",
83
- "address": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
84
- "decimals": 18
85
- },
86
- {
87
- "aSymbol": "aREN",
88
- "aAddress": "0x69948cc03f478b95283f7dbf1ce764d0fc7ec54c",
89
- "address": "0x408e41876cccdc0f92210600ef50372656052a38",
90
- "decimals": 18
91
- },
92
- {
93
- "aSymbol": "aREP",
94
- "aAddress": "0x71010a9d003445ac60c4e6a7017c1e89a477b438",
95
- "address": "0xe94327d07fc17907b4db788e5adf2ed424addff6",
96
- "decimals": 18
97
- },
98
- {
99
- "aSymbol": "aSNX",
100
- "aAddress": "0x328c4c80bc7aca0834db37e6600a6c49e12da4de",
101
- "address": "0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",
102
- "decimals": 18
103
- },
104
- {
105
- "aSymbol": "aUNI",
106
- "aAddress": "0xb124541127a0a657f056d9dd06188c4f1b0e5aab",
107
- "address": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
108
- "decimals": 18
109
- },
110
- {
111
- "aSymbol": "aWBTC",
112
- "aAddress": "0xfc4b8ed459e00e5400be803a9bb3954234fd50e3",
113
- "address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
114
- "decimals": 8
115
- },
116
- {
117
- "aSymbol": "aYFI",
118
- "aAddress": "0x12e51e77daaa58aa0e9247db7510ea4b46f9bead",
119
- "address": "0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e",
120
- "decimals": 18
121
- },
122
- {
123
- "aSymbol": "aZRX",
124
- "aAddress": "0x6fb0855c404e09c47c3fbca25f08d4e41f9f062f",
125
- "address": "0xe41d2489571d322189246dafa5ebde1f4699f498",
126
- "decimals": 18
127
- },
128
- {
129
- "aSymbol": "aLEND",
130
- "aAddress": "0x7d2d3688df45ce7c552e19c27e007673da9204b8",
131
- "address": "0x80fb784b7ed66730e8b1dbd9820afd29931aab03",
132
- "decimals": 18
133
- }
134
- ]
@@ -1,3 +0,0 @@
1
- import { Token } from '../../types';
2
- export declare function isAAVEPair(network: number, src: Token, dst: Token): Token | null;
3
- export declare function aaveV1GetToken(network: number, symbol: string): Token | null;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.aaveV1GetToken = exports.isAAVEPair = void 0;
7
- const constants_1 = require("../../constants");
8
- const tokens_mainnet_json_1 = __importDefault(require("./tokens-mainnet.json"));
9
- const Tokens = {};
10
- const TokensByAddress = {};
11
- const tokensByNetwork = {
12
- [constants_1.Network.MAINNET]: tokens_mainnet_json_1.default,
13
- };
14
- for (const [key, tokens] of Object.entries(tokensByNetwork)) {
15
- const network = +key;
16
- Tokens[network] = {};
17
- TokensByAddress[network] = {};
18
- for (const token of tokens) {
19
- Tokens[network][token.aSymbol] = token;
20
- TokensByAddress[network][token.aAddress.toLowerCase()] = token;
21
- }
22
- }
23
- // return null if pair does not exists otherwise return the aToken
24
- function isAAVEPair(network, src, dst) {
25
- const srcAddr = src.address.toLowerCase();
26
- const dstAddr = dst.address.toLowerCase();
27
- const _src = TokensByAddress[network][srcAddr];
28
- const _dst = TokensByAddress[network][dstAddr];
29
- if (_src && _src.address == dstAddr) {
30
- return src;
31
- }
32
- if (_dst && _dst.address == srcAddr) {
33
- return dst;
34
- }
35
- return null;
36
- }
37
- exports.isAAVEPair = isAAVEPair;
38
- function aaveV1GetToken(network, symbol) {
39
- const aToken = Tokens[network][symbol];
40
- if (!aToken) {
41
- return null;
42
- }
43
- return {
44
- address: aToken.aAddress,
45
- decimals: aToken.decimals,
46
- symbol: aToken.aSymbol,
47
- };
48
- }
49
- exports.aaveV1GetToken = aaveV1GetToken;
50
- //# sourceMappingURL=tokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../src/dex/aave-v1/tokens.ts"],"names":[],"mappings":";;;;;;AACA,+CAA0C;AAE1C,gFAAkD;AAElD,MAAM,MAAM,GAAwD,EAAE,CAAC;AACvE,MAAM,eAAe,GACnB,EAAE,CAAC;AAEL,MAAM,eAAe,GAA+B;IAClD,CAAC,mBAAO,CAAC,OAAO,CAAC,EAAE,6BAAa;CACjC,CAAC;AAEF,KAAK,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE;IAC3D,MAAM,OAAO,GAAG,CAAC,GAAG,CAAC;IACrB,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IACrB,eAAe,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IAC9B,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;QAC1B,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACvC,eAAe,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,GAAG,KAAK,CAAC;KAChE;CACF;AAED,kEAAkE;AAClE,SAAgB,UAAU,CACxB,OAAe,EACf,GAAU,EACV,GAAU;IAEV,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;IAC1C,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;IAE1C,MAAM,IAAI,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;IAC/C,MAAM,IAAI,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;IAE/C,IAAI,IAAI,IAAI,IAAI,CAAC,OAAO,IAAI,OAAO,EAAE;QACnC,OAAO,GAAG,CAAC;KACZ;IAED,IAAI,IAAI,IAAI,IAAI,CAAC,OAAO,IAAI,OAAO,EAAE;QACnC,OAAO,GAAG,CAAC;KACZ;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AApBD,gCAoBC;AAED,SAAgB,cAAc,CAAC,OAAe,EAAE,MAAc;IAC5D,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;IACvC,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,IAAI,CAAC;KACb;IAED,OAAO;QACL,OAAO,EAAE,MAAM,CAAC,QAAQ;QACxB,QAAQ,EAAE,MAAM,CAAC,QAAQ;QACzB,MAAM,EAAE,MAAM,CAAC,OAAO;KACvB,CAAC;AACJ,CAAC;AAXD,wCAWC"}
@@ -1,12 +0,0 @@
1
- export declare type AaveV1Data = {
2
- fromAToken: boolean;
3
- isV2: boolean;
4
- };
5
- export declare type DexParams = {};
6
- export declare type AaveV1RedeemParams = [
7
- _reserve: string,
8
- _amount: string,
9
- _referralCode: number
10
- ];
11
- export declare type AaveV1DepositParams = [token: string];
12
- export declare type AaveV1Param = AaveV1RedeemParams | AaveV1DepositParams;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/dex/aave-v1/types.ts"],"names":[],"mappings":""}