@paraswap/dex-lib 4.1.9 → 4.1.10-pubsub

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 (363) 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/Balancer.json +257 -0
  4. package/build/abi/BalancerV2.json +1179 -0
  5. package/build/abi/RamsesV2Pool.abi.json +1554 -0
  6. package/build/abi/RamsesV2Quoter.abi.json +274 -0
  7. package/build/abi/USDM.json +807 -0
  8. package/build/abi/UniswapV2Router.json +397 -0
  9. package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +1246 -0
  10. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +509 -0
  11. package/build/abi/curve-v1/CurveBUSDv2.abi.json +1356 -0
  12. package/build/abi/curve-v1/CurveTokenV1.json +305 -0
  13. package/build/abi/curve-v1/CurveTokenV2.json +318 -0
  14. package/build/abi/curve-v1/CurveV1StableNg.json +1452 -0
  15. package/build/abi/curve-v1/CurveV2Swap.json +700 -0
  16. package/build/abi/curve-v1/FactoryCryptoRegistry.json +316 -0
  17. package/build/abi/curve-v1/FactoryRegistry.json +508 -0
  18. package/build/abi/curve-v1/StableSwapAave.json +1152 -0
  19. package/build/abi/curve-v1/StableSwapBUSD.json +814 -0
  20. package/build/abi/curve-v1/StableSwapCompound.json +814 -0
  21. package/build/abi/curve-v1/StableSwapIDLE.json +1253 -0
  22. package/build/abi/curve-v1/StableSwapPax.json +865 -0
  23. package/build/abi/curve-v1/StableSwapSnow.json +900 -0
  24. package/build/abi/curve-v1/StableSwapUSDN.json +1004 -0
  25. package/build/abi/curve-v1/StableSwapUSDT.json +814 -0
  26. package/build/abi/curve-v1/StableSwapY.json +814 -0
  27. package/build/abi/ekubo/core.json +1266 -0
  28. package/build/abi/ekubo/data-fetcher.json +161 -0
  29. package/build/abi/ekubo/router.json +803 -0
  30. package/build/abi/inception/inception-ineth-pool.json +1062 -0
  31. package/build/abi/inception/inception-ineth.json +609 -0
  32. package/build/abi/inception/inception-ratio-feed.json +329 -0
  33. package/build/abi/inception/inception-vault.json +991 -0
  34. package/build/abi/kyberdmm/kyber-storage.abi.json +824 -0
  35. package/build/abi/kyberdmm.abi.json +1148 -0
  36. package/build/abi/maverick-v2/MaverickV2Quoter.json +278 -0
  37. package/build/abi/nerve/nerve-metapool.json +790 -0
  38. package/build/abi/platypus/asset.json +490 -0
  39. package/build/abi/platypus/avax-pool.json +820 -0
  40. package/build/abi/platypus/oracle.json +119 -0
  41. package/build/abi/platypus/pool.json +677 -0
  42. package/build/abi/smardex/all/smardex-router.json +648 -0
  43. package/build/abi/smardex/layer-1/smardex-factory.json +242 -0
  44. package/build/abi/smardex/layer-1/smardex-pool.json +506 -0
  45. package/build/abi/smardex/layer-2/smardex-factory.json +185 -0
  46. package/build/abi/smardex/layer-2/smardex-pool.json +578 -0
  47. package/build/abi/swaap-v1/pool.json +1346 -0
  48. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +193 -0
  49. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +267 -0
  50. package/build/dex/aave-v1/aave-v1.d.ts +34 -0
  51. package/build/dex/aave-v1/aave-v1.js +180 -0
  52. package/build/dex/aave-v1/aave-v1.js.map +1 -0
  53. package/build/dex/aave-v1/config.d.ts +11 -0
  54. package/build/dex/aave-v1/config.js +20 -0
  55. package/build/dex/aave-v1/config.js.map +1 -0
  56. package/build/dex/aave-v1/tokens-mainnet.json +134 -0
  57. package/build/dex/aave-v1/tokens.d.ts +3 -0
  58. package/build/dex/aave-v1/tokens.js +50 -0
  59. package/build/dex/aave-v1/tokens.js.map +1 -0
  60. package/build/dex/aave-v1/types.d.ts +12 -0
  61. package/build/dex/aave-v1/types.js +3 -0
  62. package/build/dex/aave-v1/types.js.map +1 -0
  63. package/build/dex/aave-v3-stata/config.js +8 -8
  64. package/build/dex/aave-v3-stata/config.js.map +1 -1
  65. package/build/dex/aave-v3-stata-v2/aave-v3-stata-v2.js +2 -2
  66. package/build/dex/aave-v3-stata-v2/aave-v3-stata-v2.js.map +1 -1
  67. package/build/dex/aave-v3-stata-v2/config.js +31 -24
  68. package/build/dex/aave-v3-stata-v2/config.js.map +1 -1
  69. package/build/dex/aave-v3-stata-v2/types.d.ts +3 -2
  70. package/build/dex/aave-v3-stata-v2/types.js.map +1 -1
  71. package/build/dex/aave-v3-stata-v2/utils.d.ts +2 -2
  72. package/build/dex/aave-v3-stata-v2/utils.js +7 -6
  73. package/build/dex/aave-v3-stata-v2/utils.js.map +1 -1
  74. package/build/dex/balancer-v1/balancer-pools.json +33333 -0
  75. package/build/dex/bebop/websocket-fetcher.d.ts +35 -0
  76. package/build/dex/bebop/websocket-fetcher.js +87 -0
  77. package/build/dex/bebop/websocket-fetcher.js.map +1 -0
  78. package/build/dex/ekubo/config.d.ts +3 -0
  79. package/build/dex/ekubo/config.js +23 -0
  80. package/build/dex/ekubo/config.js.map +1 -0
  81. package/build/dex/ekubo/ekubo.d.ts +49 -0
  82. package/build/dex/ekubo/ekubo.js +418 -0
  83. package/build/dex/ekubo/ekubo.js.map +1 -0
  84. package/build/dex/ekubo/pools/base-pool.d.ts +47 -0
  85. package/build/dex/ekubo/pools/base-pool.js +184 -0
  86. package/build/dex/ekubo/pools/base-pool.js.map +1 -0
  87. package/build/dex/ekubo/pools/math/constants.d.ts +3 -0
  88. package/build/dex/ekubo/pools/math/constants.js +7 -0
  89. package/build/dex/ekubo/pools/math/constants.js.map +1 -0
  90. package/build/dex/ekubo/pools/math/delta.d.ts +2 -0
  91. package/build/dex/ekubo/pools/math/delta.js +51 -0
  92. package/build/dex/ekubo/pools/math/delta.js.map +1 -0
  93. package/build/dex/ekubo/pools/math/price.d.ts +7 -0
  94. package/build/dex/ekubo/pools/math/price.js +116 -0
  95. package/build/dex/ekubo/pools/math/price.js.map +1 -0
  96. package/build/dex/ekubo/pools/math/swap.d.ts +18 -0
  97. package/build/dex/ekubo/pools/math/swap.js +128 -0
  98. package/build/dex/ekubo/pools/math/swap.js.map +1 -0
  99. package/build/dex/ekubo/pools/math/tick.d.ts +7 -0
  100. package/build/dex/ekubo/pools/math/tick.js +112 -0
  101. package/build/dex/ekubo/pools/math/tick.js.map +1 -0
  102. package/build/dex/ekubo/pools/oracle-pool.d.ts +10 -0
  103. package/build/dex/ekubo/pools/oracle-pool.js +19 -0
  104. package/build/dex/ekubo/pools/oracle-pool.js.map +1 -0
  105. package/build/dex/ekubo/types.d.ts +88 -0
  106. package/build/dex/ekubo/types.js +238 -0
  107. package/build/dex/ekubo/types.js.map +1 -0
  108. package/build/dex/ekubo/utils.d.ts +6 -0
  109. package/build/dex/ekubo/utils.js +30 -0
  110. package/build/dex/ekubo/utils.js.map +1 -0
  111. package/build/dex/generic-rfq/generic-rfq.js +1 -2
  112. package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
  113. package/build/dex/generic-rfq/rate-fetcher.d.ts +4 -1
  114. package/build/dex/generic-rfq/rate-fetcher.js +84 -23
  115. package/build/dex/generic-rfq/rate-fetcher.js.map +1 -1
  116. package/build/dex/hashflow/hashflow.js +4 -0
  117. package/build/dex/hashflow/hashflow.js.map +1 -1
  118. package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
  119. package/build/dex/idle-dao/idle-dao-pool.js +176 -0
  120. package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
  121. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
  122. package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
  123. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
  124. package/build/dex/idle-dao/scripts.d.ts +9 -0
  125. package/build/dex/idle-dao/scripts.js +552 -0
  126. package/build/dex/idle-dao/scripts.js.map +1 -0
  127. package/build/dex/inception/config.d.ts +4 -0
  128. package/build/dex/inception/config.js +109 -0
  129. package/build/dex/inception/config.js.map +1 -0
  130. package/build/dex/inception/inception-event-pool.d.ts +16 -0
  131. package/build/dex/inception/inception-event-pool.js +51 -0
  132. package/build/dex/inception/inception-event-pool.js.map +1 -0
  133. package/build/dex/inception/inception-native.d.ts +43 -0
  134. package/build/dex/inception/inception-native.js +131 -0
  135. package/build/dex/inception/inception-native.js.map +1 -0
  136. package/build/dex/inception/inception-pool.d.ts +18 -0
  137. package/build/dex/inception/inception-pool.js +32 -0
  138. package/build/dex/inception/inception-pool.js.map +1 -0
  139. package/build/dex/inception/inception-price-feed.d.ts +19 -0
  140. package/build/dex/inception/inception-price-feed.js +51 -0
  141. package/build/dex/inception/inception-price-feed.js.map +1 -0
  142. package/build/dex/inception/inception.d.ts +43 -0
  143. package/build/dex/inception/inception.js +204 -0
  144. package/build/dex/inception/inception.js.map +1 -0
  145. package/build/dex/inception/tokens.d.ts +9 -0
  146. package/build/dex/inception/tokens.js +28 -0
  147. package/build/dex/inception/tokens.js.map +1 -0
  148. package/build/dex/inception/types.d.ts +22 -0
  149. package/build/dex/inception/types.js +3 -0
  150. package/build/dex/inception/types.js.map +1 -0
  151. package/build/dex/inception/utils.d.ts +6 -0
  152. package/build/dex/inception/utils.js +37 -0
  153. package/build/dex/inception/utils.js.map +1 -0
  154. package/build/dex/platypus/asset.d.ts +14 -0
  155. package/build/dex/platypus/asset.js +97 -0
  156. package/build/dex/platypus/asset.js.map +1 -0
  157. package/build/dex/platypus/config.d.ts +11 -0
  158. package/build/dex/platypus/config.js +69 -0
  159. package/build/dex/platypus/config.js.map +1 -0
  160. package/build/dex/platypus/platypus.d.ts +63 -0
  161. package/build/dex/platypus/platypus.js +473 -0
  162. package/build/dex/platypus/platypus.js.map +1 -0
  163. package/build/dex/platypus/pool-avax.d.ts +8 -0
  164. package/build/dex/platypus/pool-avax.js +54 -0
  165. package/build/dex/platypus/pool-avax.js.map +1 -0
  166. package/build/dex/platypus/pool-base.d.ts +19 -0
  167. package/build/dex/platypus/pool-base.js +86 -0
  168. package/build/dex/platypus/pool-base.js.map +1 -0
  169. package/build/dex/platypus/pool-pure.d.ts +8 -0
  170. package/build/dex/platypus/pool-pure.js +37 -0
  171. package/build/dex/platypus/pool-pure.js.map +1 -0
  172. package/build/dex/platypus/pool-subscriber.d.ts +14 -0
  173. package/build/dex/platypus/pool-subscriber.js +167 -0
  174. package/build/dex/platypus/pool-subscriber.js.map +1 -0
  175. package/build/dex/platypus/pool.d.ts +8 -0
  176. package/build/dex/platypus/pool.js +58 -0
  177. package/build/dex/platypus/pool.js.map +1 -0
  178. package/build/dex/platypus/types.d.ts +92 -0
  179. package/build/dex/platypus/types.js +10 -0
  180. package/build/dex/platypus/types.js.map +1 -0
  181. package/build/dex/quickswap/spiritswap-v3.d.ts +6 -0
  182. package/build/dex/quickswap/spiritswap-v3.js +19 -0
  183. package/build/dex/quickswap/spiritswap-v3.js.map +1 -0
  184. package/build/dex/smardex/config.d.ts +4 -0
  185. package/build/dex/smardex/config.js +64 -0
  186. package/build/dex/smardex/config.js.map +1 -0
  187. package/build/dex/smardex/constants.d.ts +18 -0
  188. package/build/dex/smardex/constants.js +33 -0
  189. package/build/dex/smardex/constants.js.map +1 -0
  190. package/build/dex/smardex/sdk/constants.d.ts +6 -0
  191. package/build/dex/smardex/sdk/constants.js +13 -0
  192. package/build/dex/smardex/sdk/constants.js.map +1 -0
  193. package/build/dex/smardex/sdk/core.d.ts +113 -0
  194. package/build/dex/smardex/sdk/core.js +499 -0
  195. package/build/dex/smardex/sdk/core.js.map +1 -0
  196. package/build/dex/smardex/sdk/errors.d.ts +15 -0
  197. package/build/dex/smardex/sdk/errors.js +22 -0
  198. package/build/dex/smardex/sdk/errors.js.map +1 -0
  199. package/build/dex/smardex/sdk/types.d.ts +62 -0
  200. package/build/dex/smardex/sdk/types.js +3 -0
  201. package/build/dex/smardex/sdk/types.js.map +1 -0
  202. package/build/dex/smardex/sdk/utils.d.ts +44 -0
  203. package/build/dex/smardex/sdk/utils.js +133 -0
  204. package/build/dex/smardex/sdk/utils.js.map +1 -0
  205. package/build/dex/smardex/smardex-event-pool.d.ts +28 -0
  206. package/build/dex/smardex/smardex-event-pool.js +119 -0
  207. package/build/dex/smardex/smardex-event-pool.js.map +1 -0
  208. package/build/dex/smardex/smardex.d.ts +65 -0
  209. package/build/dex/smardex/smardex.js +519 -0
  210. package/build/dex/smardex/smardex.js.map +1 -0
  211. package/build/dex/smardex/types.d.ts +55 -0
  212. package/build/dex/smardex/types.js +3 -0
  213. package/build/dex/smardex/types.js.map +1 -0
  214. package/build/dex/solidly/forks-override/cone.d.ts +22 -0
  215. package/build/dex/solidly/forks-override/cone.js +53 -0
  216. package/build/dex/solidly/forks-override/cone.js.map +1 -0
  217. package/build/dex/solidly/forks-override/solisnek.d.ts +8 -0
  218. package/build/dex/solidly/forks-override/solisnek.js +15 -0
  219. package/build/dex/solidly/forks-override/solisnek.js.map +1 -0
  220. package/build/dex/swaap-v1/config.d.ts +17 -0
  221. package/build/dex/swaap-v1/config.js +56 -0
  222. package/build/dex/swaap-v1/config.js.map +1 -0
  223. package/build/dex/swaap-v1/constants.d.ts +6 -0
  224. package/build/dex/swaap-v1/constants.js +17 -0
  225. package/build/dex/swaap-v1/constants.js.map +1 -0
  226. package/build/dex/swaap-v1/libraries/ChainlinkUtils.d.ts +25 -0
  227. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js +62 -0
  228. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js.map +1 -0
  229. package/build/dex/swaap-v1/libraries/Const.d.ts +18 -0
  230. package/build/dex/swaap-v1/libraries/Const.js +26 -0
  231. package/build/dex/swaap-v1/libraries/Const.js.map +1 -0
  232. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.d.ts +77 -0
  233. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js +316 -0
  234. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js.map +1 -0
  235. package/build/dex/swaap-v1/libraries/LogExpMath.d.ts +75 -0
  236. package/build/dex/swaap-v1/libraries/LogExpMath.js +418 -0
  237. package/build/dex/swaap-v1/libraries/LogExpMath.js.map +1 -0
  238. package/build/dex/swaap-v1/libraries/MathMMM.d.ts +185 -0
  239. package/build/dex/swaap-v1/libraries/MathMMM.js +453 -0
  240. package/build/dex/swaap-v1/libraries/MathMMM.js.map +1 -0
  241. package/build/dex/swaap-v1/libraries/Num.d.ts +31 -0
  242. package/build/dex/swaap-v1/libraries/Num.js +167 -0
  243. package/build/dex/swaap-v1/libraries/Num.js.map +1 -0
  244. package/build/dex/swaap-v1/libraries/PoolQuotations.d.ts +23 -0
  245. package/build/dex/swaap-v1/libraries/PoolQuotations.js +131 -0
  246. package/build/dex/swaap-v1/libraries/PoolQuotations.js.map +1 -0
  247. package/build/dex/swaap-v1/libraries/Struct.d.ts +56 -0
  248. package/build/dex/swaap-v1/libraries/Struct.js +3 -0
  249. package/build/dex/swaap-v1/libraries/Struct.js.map +1 -0
  250. package/build/dex/swaap-v1/swaap-v1-pool.d.ts +45 -0
  251. package/build/dex/swaap-v1/swaap-v1-pool.js +656 -0
  252. package/build/dex/swaap-v1/swaap-v1-pool.js.map +1 -0
  253. package/build/dex/swaap-v1/swaap-v1.d.ts +62 -0
  254. package/build/dex/swaap-v1/swaap-v1.js +379 -0
  255. package/build/dex/swaap-v1/swaap-v1.js.map +1 -0
  256. package/build/dex/swaap-v1/types.d.ts +106 -0
  257. package/build/dex/swaap-v1/types.js +9 -0
  258. package/build/dex/swaap-v1/types.js.map +1 -0
  259. package/build/dex/zerox/index.d.ts +1 -1
  260. package/build/dex/zerox/index.js.map +1 -1
  261. package/build/dex-helper/dummy-dex-helper.js +3 -0
  262. package/build/dex-helper/dummy-dex-helper.js.map +1 -1
  263. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +16 -0
  264. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +16 -0
  265. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +16 -0
  266. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +16 -0
  267. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +16 -0
  268. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +16 -0
  269. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +16 -0
  270. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +16 -0
  271. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +9 -0
  272. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +9 -0
  273. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +9 -0
  274. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +9 -0
  275. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +9 -0
  276. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +9 -0
  277. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +9 -0
  278. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +9 -0
  279. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +9 -0
  280. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +12 -0
  281. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +7 -0
  282. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +7 -0
  283. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +7 -0
  284. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +7 -0
  285. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +12 -0
  286. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +7 -0
  287. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +7 -0
  288. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +78 -0
  289. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +81 -0
  290. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +78 -0
  291. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +78 -0
  292. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +81 -0
  293. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +81 -0
  294. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +81 -0
  295. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +81 -0
  296. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +64 -0
  297. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +85 -0
  298. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +64 -0
  299. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +52 -0
  300. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +52 -0
  301. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +52 -0
  302. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +55 -0
  303. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +55 -0
  304. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +55 -0
  305. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +23 -0
  306. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +37 -0
  307. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +23 -0
  308. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +23 -0
  309. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +51 -0
  310. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +58 -0
  311. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +23 -0
  312. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +23 -0
  313. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +9 -0
  314. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +16 -0
  315. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +23 -0
  316. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +12 -0
  317. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +7 -0
  318. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +12 -0
  319. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +12 -0
  320. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +7 -0
  321. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +7 -0
  322. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +7 -0
  323. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +7 -0
  324. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +7 -0
  325. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +7 -0
  326. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +130 -0
  327. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +136 -0
  328. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +100 -0
  329. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +100 -0
  330. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +166 -0
  331. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +190 -0
  332. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +114 -0
  333. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +114 -0
  334. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +55 -0
  335. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +73 -0
  336. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +82 -0
  337. package/build/lib/pub-sub.d.ts +20 -0
  338. package/build/lib/pub-sub.js +112 -4
  339. package/build/lib/pub-sub.js.map +1 -1
  340. package/package.json +2 -2
  341. package/src/abi/balancer-v3/directionalFeeHook.json +677 -677
  342. package/src/abi/balancer-v3/stableSurgeHook.json +975 -975
  343. package/src/dex/aave-v3-stata/config.ts +8 -8
  344. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-e2e.test.ts +5 -5
  345. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2.ts +2 -2
  346. package/src/dex/aave-v3-stata-v2/config.ts +31 -24
  347. package/src/dex/aave-v3-stata-v2/types.ts +3 -2
  348. package/src/dex/aave-v3-stata-v2/utils.ts +18 -10
  349. package/src/dex/generic-rfq/generic-rfq.ts +1 -6
  350. package/src/dex/generic-rfq/rate-fetcher.ts +130 -58
  351. package/src/dex/hashflow/hashflow.ts +12 -0
  352. package/src/dex-helper/dummy-dex-helper.ts +10 -0
  353. package/src/lib/pub-sub.ts +145 -5
  354. package/tests/constants-e2e.ts +10 -0
  355. package/tests/utils-e2e.ts +0 -1
  356. package/.idea/codeStyles/Project.xml +0 -59
  357. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  358. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  359. package/.idea/modules.xml +0 -8
  360. package/.idea/paraswap-dex-lib.iml +0 -12
  361. package/.idea/prettier.xml +0 -7
  362. package/.idea/vcs.xml +0 -6
  363. package/scripts/get-uniswap-v3-dexes.ts +0 -64
@@ -0,0 +1,803 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "core",
7
+ "type": "address",
8
+ "internalType": "contract ICore"
9
+ }
10
+ ],
11
+ "stateMutability": "nonpayable"
12
+ },
13
+ {
14
+ "type": "function",
15
+ "name": "checkDeadline",
16
+ "inputs": [
17
+ {
18
+ "name": "deadline",
19
+ "type": "uint256",
20
+ "internalType": "uint256"
21
+ }
22
+ ],
23
+ "outputs": [],
24
+ "stateMutability": "payable"
25
+ },
26
+ {
27
+ "type": "function",
28
+ "name": "checkMaximumInputNotExceeded",
29
+ "inputs": [
30
+ {
31
+ "name": "token",
32
+ "type": "address",
33
+ "internalType": "address"
34
+ },
35
+ {
36
+ "name": "maximumInput",
37
+ "type": "uint256",
38
+ "internalType": "uint256"
39
+ }
40
+ ],
41
+ "outputs": [],
42
+ "stateMutability": "payable"
43
+ },
44
+ {
45
+ "type": "function",
46
+ "name": "checkMinimumOutputReceived",
47
+ "inputs": [
48
+ {
49
+ "name": "token",
50
+ "type": "address",
51
+ "internalType": "address"
52
+ },
53
+ {
54
+ "name": "minimumOutput",
55
+ "type": "uint256",
56
+ "internalType": "uint256"
57
+ }
58
+ ],
59
+ "outputs": [],
60
+ "stateMutability": "payable"
61
+ },
62
+ {
63
+ "type": "function",
64
+ "name": "locked",
65
+ "inputs": [
66
+ {
67
+ "name": "id",
68
+ "type": "uint256",
69
+ "internalType": "uint256"
70
+ }
71
+ ],
72
+ "outputs": [],
73
+ "stateMutability": "nonpayable"
74
+ },
75
+ {
76
+ "type": "function",
77
+ "name": "multiMultihopSwap",
78
+ "inputs": [
79
+ {
80
+ "name": "swaps",
81
+ "type": "tuple[]",
82
+ "internalType": "struct Swap[]",
83
+ "components": [
84
+ {
85
+ "name": "route",
86
+ "type": "tuple[]",
87
+ "internalType": "struct RouteNode[]",
88
+ "components": [
89
+ {
90
+ "name": "poolKey",
91
+ "type": "tuple",
92
+ "internalType": "struct PoolKey",
93
+ "components": [
94
+ {
95
+ "name": "token0",
96
+ "type": "address",
97
+ "internalType": "address"
98
+ },
99
+ {
100
+ "name": "token1",
101
+ "type": "address",
102
+ "internalType": "address"
103
+ },
104
+ {
105
+ "name": "config",
106
+ "type": "bytes32",
107
+ "internalType": "Config"
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ "name": "sqrtRatioLimit",
113
+ "type": "uint96",
114
+ "internalType": "SqrtRatio"
115
+ },
116
+ {
117
+ "name": "skipAhead",
118
+ "type": "uint256",
119
+ "internalType": "uint256"
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "name": "tokenAmount",
125
+ "type": "tuple",
126
+ "internalType": "struct TokenAmount",
127
+ "components": [
128
+ {
129
+ "name": "token",
130
+ "type": "address",
131
+ "internalType": "address"
132
+ },
133
+ {
134
+ "name": "amount",
135
+ "type": "int128",
136
+ "internalType": "int128"
137
+ }
138
+ ]
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "name": "calculatedAmountThreshold",
144
+ "type": "int256",
145
+ "internalType": "int256"
146
+ }
147
+ ],
148
+ "outputs": [
149
+ {
150
+ "name": "results",
151
+ "type": "tuple[][]",
152
+ "internalType": "struct Delta[][]",
153
+ "components": [
154
+ {
155
+ "name": "amount0",
156
+ "type": "int128",
157
+ "internalType": "int128"
158
+ },
159
+ {
160
+ "name": "amount1",
161
+ "type": "int128",
162
+ "internalType": "int128"
163
+ }
164
+ ]
165
+ }
166
+ ],
167
+ "stateMutability": "payable"
168
+ },
169
+ {
170
+ "type": "function",
171
+ "name": "multicall",
172
+ "inputs": [
173
+ {
174
+ "name": "data",
175
+ "type": "bytes[]",
176
+ "internalType": "bytes[]"
177
+ }
178
+ ],
179
+ "outputs": [
180
+ {
181
+ "name": "",
182
+ "type": "bytes[]",
183
+ "internalType": "bytes[]"
184
+ }
185
+ ],
186
+ "stateMutability": "payable"
187
+ },
188
+ {
189
+ "type": "function",
190
+ "name": "multihopSwap",
191
+ "inputs": [
192
+ {
193
+ "name": "s",
194
+ "type": "tuple",
195
+ "internalType": "struct Swap",
196
+ "components": [
197
+ {
198
+ "name": "route",
199
+ "type": "tuple[]",
200
+ "internalType": "struct RouteNode[]",
201
+ "components": [
202
+ {
203
+ "name": "poolKey",
204
+ "type": "tuple",
205
+ "internalType": "struct PoolKey",
206
+ "components": [
207
+ {
208
+ "name": "token0",
209
+ "type": "address",
210
+ "internalType": "address"
211
+ },
212
+ {
213
+ "name": "token1",
214
+ "type": "address",
215
+ "internalType": "address"
216
+ },
217
+ {
218
+ "name": "config",
219
+ "type": "bytes32",
220
+ "internalType": "Config"
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ "name": "sqrtRatioLimit",
226
+ "type": "uint96",
227
+ "internalType": "SqrtRatio"
228
+ },
229
+ {
230
+ "name": "skipAhead",
231
+ "type": "uint256",
232
+ "internalType": "uint256"
233
+ }
234
+ ]
235
+ },
236
+ {
237
+ "name": "tokenAmount",
238
+ "type": "tuple",
239
+ "internalType": "struct TokenAmount",
240
+ "components": [
241
+ {
242
+ "name": "token",
243
+ "type": "address",
244
+ "internalType": "address"
245
+ },
246
+ {
247
+ "name": "amount",
248
+ "type": "int128",
249
+ "internalType": "int128"
250
+ }
251
+ ]
252
+ }
253
+ ]
254
+ },
255
+ {
256
+ "name": "calculatedAmountThreshold",
257
+ "type": "int256",
258
+ "internalType": "int256"
259
+ }
260
+ ],
261
+ "outputs": [
262
+ {
263
+ "name": "result",
264
+ "type": "tuple[]",
265
+ "internalType": "struct Delta[]",
266
+ "components": [
267
+ {
268
+ "name": "amount0",
269
+ "type": "int128",
270
+ "internalType": "int128"
271
+ },
272
+ {
273
+ "name": "amount1",
274
+ "type": "int128",
275
+ "internalType": "int128"
276
+ }
277
+ ]
278
+ }
279
+ ],
280
+ "stateMutability": "payable"
281
+ },
282
+ {
283
+ "type": "function",
284
+ "name": "payCallback",
285
+ "inputs": [
286
+ {
287
+ "name": "",
288
+ "type": "uint256",
289
+ "internalType": "uint256"
290
+ },
291
+ {
292
+ "name": "token",
293
+ "type": "address",
294
+ "internalType": "address"
295
+ }
296
+ ],
297
+ "outputs": [],
298
+ "stateMutability": "nonpayable"
299
+ },
300
+ {
301
+ "type": "function",
302
+ "name": "permit",
303
+ "inputs": [
304
+ {
305
+ "name": "token",
306
+ "type": "address",
307
+ "internalType": "address"
308
+ },
309
+ {
310
+ "name": "amount",
311
+ "type": "uint256",
312
+ "internalType": "uint256"
313
+ },
314
+ {
315
+ "name": "deadline",
316
+ "type": "uint256",
317
+ "internalType": "uint256"
318
+ },
319
+ {
320
+ "name": "v",
321
+ "type": "uint8",
322
+ "internalType": "uint8"
323
+ },
324
+ {
325
+ "name": "r",
326
+ "type": "bytes32",
327
+ "internalType": "bytes32"
328
+ },
329
+ {
330
+ "name": "s",
331
+ "type": "bytes32",
332
+ "internalType": "bytes32"
333
+ }
334
+ ],
335
+ "outputs": [],
336
+ "stateMutability": "payable"
337
+ },
338
+ {
339
+ "type": "function",
340
+ "name": "quote",
341
+ "inputs": [
342
+ {
343
+ "name": "poolKey",
344
+ "type": "tuple",
345
+ "internalType": "struct PoolKey",
346
+ "components": [
347
+ {
348
+ "name": "token0",
349
+ "type": "address",
350
+ "internalType": "address"
351
+ },
352
+ {
353
+ "name": "token1",
354
+ "type": "address",
355
+ "internalType": "address"
356
+ },
357
+ {
358
+ "name": "config",
359
+ "type": "bytes32",
360
+ "internalType": "Config"
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "name": "isToken1",
366
+ "type": "bool",
367
+ "internalType": "bool"
368
+ },
369
+ {
370
+ "name": "amount",
371
+ "type": "int128",
372
+ "internalType": "int128"
373
+ },
374
+ {
375
+ "name": "sqrtRatioLimit",
376
+ "type": "uint96",
377
+ "internalType": "SqrtRatio"
378
+ },
379
+ {
380
+ "name": "skipAhead",
381
+ "type": "uint256",
382
+ "internalType": "uint256"
383
+ }
384
+ ],
385
+ "outputs": [
386
+ {
387
+ "name": "delta0",
388
+ "type": "int128",
389
+ "internalType": "int128"
390
+ },
391
+ {
392
+ "name": "delta1",
393
+ "type": "int128",
394
+ "internalType": "int128"
395
+ }
396
+ ],
397
+ "stateMutability": "nonpayable"
398
+ },
399
+ {
400
+ "type": "function",
401
+ "name": "recordBalanceForSlippageCheck",
402
+ "inputs": [
403
+ {
404
+ "name": "token",
405
+ "type": "address",
406
+ "internalType": "address"
407
+ }
408
+ ],
409
+ "outputs": [],
410
+ "stateMutability": "payable"
411
+ },
412
+ {
413
+ "type": "function",
414
+ "name": "refundNativeToken",
415
+ "inputs": [],
416
+ "outputs": [],
417
+ "stateMutability": "payable"
418
+ },
419
+ {
420
+ "type": "function",
421
+ "name": "swap",
422
+ "inputs": [
423
+ {
424
+ "name": "poolKey",
425
+ "type": "tuple",
426
+ "internalType": "struct PoolKey",
427
+ "components": [
428
+ {
429
+ "name": "token0",
430
+ "type": "address",
431
+ "internalType": "address"
432
+ },
433
+ {
434
+ "name": "token1",
435
+ "type": "address",
436
+ "internalType": "address"
437
+ },
438
+ {
439
+ "name": "config",
440
+ "type": "bytes32",
441
+ "internalType": "Config"
442
+ }
443
+ ]
444
+ },
445
+ {
446
+ "name": "isToken1",
447
+ "type": "bool",
448
+ "internalType": "bool"
449
+ },
450
+ {
451
+ "name": "amount",
452
+ "type": "int128",
453
+ "internalType": "int128"
454
+ },
455
+ {
456
+ "name": "sqrtRatioLimit",
457
+ "type": "uint96",
458
+ "internalType": "SqrtRatio"
459
+ },
460
+ {
461
+ "name": "skipAhead",
462
+ "type": "uint256",
463
+ "internalType": "uint256"
464
+ }
465
+ ],
466
+ "outputs": [
467
+ {
468
+ "name": "delta0",
469
+ "type": "int128",
470
+ "internalType": "int128"
471
+ },
472
+ {
473
+ "name": "delta1",
474
+ "type": "int128",
475
+ "internalType": "int128"
476
+ }
477
+ ],
478
+ "stateMutability": "payable"
479
+ },
480
+ {
481
+ "type": "function",
482
+ "name": "swap",
483
+ "inputs": [
484
+ {
485
+ "name": "poolKey",
486
+ "type": "tuple",
487
+ "internalType": "struct PoolKey",
488
+ "components": [
489
+ {
490
+ "name": "token0",
491
+ "type": "address",
492
+ "internalType": "address"
493
+ },
494
+ {
495
+ "name": "token1",
496
+ "type": "address",
497
+ "internalType": "address"
498
+ },
499
+ {
500
+ "name": "config",
501
+ "type": "bytes32",
502
+ "internalType": "Config"
503
+ }
504
+ ]
505
+ },
506
+ {
507
+ "name": "isToken1",
508
+ "type": "bool",
509
+ "internalType": "bool"
510
+ },
511
+ {
512
+ "name": "amount",
513
+ "type": "int128",
514
+ "internalType": "int128"
515
+ },
516
+ {
517
+ "name": "sqrtRatioLimit",
518
+ "type": "uint96",
519
+ "internalType": "SqrtRatio"
520
+ },
521
+ {
522
+ "name": "skipAhead",
523
+ "type": "uint256",
524
+ "internalType": "uint256"
525
+ },
526
+ {
527
+ "name": "calculatedAmountThreshold",
528
+ "type": "int256",
529
+ "internalType": "int256"
530
+ }
531
+ ],
532
+ "outputs": [
533
+ {
534
+ "name": "delta0",
535
+ "type": "int128",
536
+ "internalType": "int128"
537
+ },
538
+ {
539
+ "name": "delta1",
540
+ "type": "int128",
541
+ "internalType": "int128"
542
+ }
543
+ ],
544
+ "stateMutability": "payable"
545
+ },
546
+ {
547
+ "type": "function",
548
+ "name": "swap",
549
+ "inputs": [
550
+ {
551
+ "name": "node",
552
+ "type": "tuple",
553
+ "internalType": "struct RouteNode",
554
+ "components": [
555
+ {
556
+ "name": "poolKey",
557
+ "type": "tuple",
558
+ "internalType": "struct PoolKey",
559
+ "components": [
560
+ {
561
+ "name": "token0",
562
+ "type": "address",
563
+ "internalType": "address"
564
+ },
565
+ {
566
+ "name": "token1",
567
+ "type": "address",
568
+ "internalType": "address"
569
+ },
570
+ {
571
+ "name": "config",
572
+ "type": "bytes32",
573
+ "internalType": "Config"
574
+ }
575
+ ]
576
+ },
577
+ {
578
+ "name": "sqrtRatioLimit",
579
+ "type": "uint96",
580
+ "internalType": "SqrtRatio"
581
+ },
582
+ {
583
+ "name": "skipAhead",
584
+ "type": "uint256",
585
+ "internalType": "uint256"
586
+ }
587
+ ]
588
+ },
589
+ {
590
+ "name": "tokenAmount",
591
+ "type": "tuple",
592
+ "internalType": "struct TokenAmount",
593
+ "components": [
594
+ {
595
+ "name": "token",
596
+ "type": "address",
597
+ "internalType": "address"
598
+ },
599
+ {
600
+ "name": "amount",
601
+ "type": "int128",
602
+ "internalType": "int128"
603
+ }
604
+ ]
605
+ },
606
+ {
607
+ "name": "calculatedAmountThreshold",
608
+ "type": "int256",
609
+ "internalType": "int256"
610
+ }
611
+ ],
612
+ "outputs": [
613
+ {
614
+ "name": "delta0",
615
+ "type": "int128",
616
+ "internalType": "int128"
617
+ },
618
+ {
619
+ "name": "delta1",
620
+ "type": "int128",
621
+ "internalType": "int128"
622
+ }
623
+ ],
624
+ "stateMutability": "payable"
625
+ },
626
+ {
627
+ "type": "function",
628
+ "name": "swap",
629
+ "inputs": [
630
+ {
631
+ "name": "poolKey",
632
+ "type": "tuple",
633
+ "internalType": "struct PoolKey",
634
+ "components": [
635
+ {
636
+ "name": "token0",
637
+ "type": "address",
638
+ "internalType": "address"
639
+ },
640
+ {
641
+ "name": "token1",
642
+ "type": "address",
643
+ "internalType": "address"
644
+ },
645
+ {
646
+ "name": "config",
647
+ "type": "bytes32",
648
+ "internalType": "Config"
649
+ }
650
+ ]
651
+ },
652
+ {
653
+ "name": "isToken1",
654
+ "type": "bool",
655
+ "internalType": "bool"
656
+ },
657
+ {
658
+ "name": "amount",
659
+ "type": "int128",
660
+ "internalType": "int128"
661
+ },
662
+ {
663
+ "name": "sqrtRatioLimit",
664
+ "type": "uint96",
665
+ "internalType": "SqrtRatio"
666
+ },
667
+ {
668
+ "name": "skipAhead",
669
+ "type": "uint256",
670
+ "internalType": "uint256"
671
+ },
672
+ {
673
+ "name": "calculatedAmountThreshold",
674
+ "type": "int256",
675
+ "internalType": "int256"
676
+ },
677
+ {
678
+ "name": "recipient",
679
+ "type": "address",
680
+ "internalType": "address"
681
+ }
682
+ ],
683
+ "outputs": [
684
+ {
685
+ "name": "delta0",
686
+ "type": "int128",
687
+ "internalType": "int128"
688
+ },
689
+ {
690
+ "name": "delta1",
691
+ "type": "int128",
692
+ "internalType": "int128"
693
+ }
694
+ ],
695
+ "stateMutability": "payable"
696
+ },
697
+ {
698
+ "type": "error",
699
+ "name": "BaseLockerAccountantOnly",
700
+ "inputs": []
701
+ },
702
+ {
703
+ "type": "error",
704
+ "name": "CoreOnly",
705
+ "inputs": []
706
+ },
707
+ {
708
+ "type": "error",
709
+ "name": "ExpectedRevertWithinLock",
710
+ "inputs": []
711
+ },
712
+ {
713
+ "type": "error",
714
+ "name": "MaximumInputExceeded",
715
+ "inputs": [
716
+ {
717
+ "name": "token",
718
+ "type": "address",
719
+ "internalType": "address"
720
+ },
721
+ {
722
+ "name": "maximumInput",
723
+ "type": "uint256",
724
+ "internalType": "uint256"
725
+ }
726
+ ]
727
+ },
728
+ {
729
+ "type": "error",
730
+ "name": "MinimumOutputNotReceived",
731
+ "inputs": [
732
+ {
733
+ "name": "token",
734
+ "type": "address",
735
+ "internalType": "address"
736
+ },
737
+ {
738
+ "name": "minimumOutput",
739
+ "type": "uint256",
740
+ "internalType": "uint256"
741
+ }
742
+ ]
743
+ },
744
+ {
745
+ "type": "error",
746
+ "name": "PartialSwapsDisallowed",
747
+ "inputs": []
748
+ },
749
+ {
750
+ "type": "error",
751
+ "name": "QuoteReturnValue",
752
+ "inputs": [
753
+ {
754
+ "name": "delta0",
755
+ "type": "int128",
756
+ "internalType": "int128"
757
+ },
758
+ {
759
+ "name": "delta1",
760
+ "type": "int128",
761
+ "internalType": "int128"
762
+ }
763
+ ]
764
+ },
765
+ {
766
+ "type": "error",
767
+ "name": "SlippageCheckFailed",
768
+ "inputs": [
769
+ {
770
+ "name": "expectedAmount",
771
+ "type": "int256",
772
+ "internalType": "int256"
773
+ },
774
+ {
775
+ "name": "calculatedAmount",
776
+ "type": "int256",
777
+ "internalType": "int256"
778
+ }
779
+ ]
780
+ },
781
+ {
782
+ "type": "error",
783
+ "name": "TokensMismatch",
784
+ "inputs": [
785
+ {
786
+ "name": "index",
787
+ "type": "uint256",
788
+ "internalType": "uint256"
789
+ }
790
+ ]
791
+ },
792
+ {
793
+ "type": "error",
794
+ "name": "TransactionExpired",
795
+ "inputs": [
796
+ {
797
+ "name": "deadline",
798
+ "type": "uint256",
799
+ "internalType": "uint256"
800
+ }
801
+ ]
802
+ }
803
+ ]