@paraswap/dex-lib 3.11.1 → 3.11.2

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 (280) hide show
  1. package/build/abi/Aave_GSM.json +751 -0
  2. package/build/abi/Balancer.json +257 -0
  3. package/build/abi/BalancerV2.json +1179 -0
  4. package/build/abi/RamsesV2Pool.abi.json +1554 -0
  5. package/build/abi/RamsesV2Quoter.abi.json +274 -0
  6. package/build/abi/USDM.json +807 -0
  7. package/build/abi/UniswapV2Router.json +397 -0
  8. package/build/abi/{wombat/pool.json → angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json} +594 -637
  9. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +509 -0
  10. package/build/abi/cables/CablesMainnetRFQ.json +1083 -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/inception/inception-ineth.json +609 -0
  28. package/build/abi/kyberdmm/kyber-storage.abi.json +824 -0
  29. package/build/abi/kyberdmm.abi.json +1148 -0
  30. package/build/abi/maverick-v2/MaverickV2Quoter.json +278 -0
  31. package/build/abi/nerve/nerve-metapool.json +790 -0
  32. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +193 -0
  33. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +267 -0
  34. package/build/config.js +1 -0
  35. package/build/config.js.map +1 -1
  36. package/build/dex/aave-v1/aave-v1.js +0 -1
  37. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  38. package/build/dex/balancer-v1/balancer-pools.json +33333 -0
  39. package/build/dex/bebop/bebop.js +1 -1
  40. package/build/dex/bebop/bebop.js.map +1 -1
  41. package/build/dex/bebop/config.js +5 -0
  42. package/build/dex/bebop/config.js.map +1 -1
  43. package/build/dex/bebop/rate-fetcher.d.ts +3 -1
  44. package/build/dex/bebop/rate-fetcher.js +42 -2
  45. package/build/dex/bebop/rate-fetcher.js.map +1 -1
  46. package/build/dex/bebop/validators.d.ts +2 -0
  47. package/build/dex/bebop/validators.js +9 -1
  48. package/build/dex/bebop/validators.js.map +1 -1
  49. package/build/dex/bebop/websocket-fetcher.d.ts +35 -0
  50. package/build/dex/bebop/websocket-fetcher.js +87 -0
  51. package/build/dex/bebop/websocket-fetcher.js.map +1 -0
  52. package/build/dex/cables/cables.d.ts +57 -0
  53. package/build/dex/cables/cables.js +471 -0
  54. package/build/dex/cables/cables.js.map +1 -0
  55. package/build/dex/cables/config.d.ts +4 -0
  56. package/build/dex/cables/config.js +15 -0
  57. package/build/dex/cables/config.js.map +1 -0
  58. package/build/dex/cables/constants.d.ts +19 -0
  59. package/build/dex/cables/constants.js +26 -0
  60. package/build/dex/cables/constants.js.map +1 -0
  61. package/build/dex/cables/rate-fetcher.d.ts +34 -0
  62. package/build/dex/cables/rate-fetcher.js +106 -0
  63. package/build/dex/cables/rate-fetcher.js.map +1 -0
  64. package/build/dex/cables/types.d.ts +106 -0
  65. package/build/dex/cables/types.js +12 -0
  66. package/build/dex/cables/types.js.map +1 -0
  67. package/build/dex/cables/validators.d.ts +5 -0
  68. package/build/dex/cables/validators.js +49 -0
  69. package/build/dex/cables/validators.js.map +1 -0
  70. package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
  71. package/build/dex/idle-dao/idle-dao-pool.js +176 -0
  72. package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
  73. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
  74. package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
  75. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
  76. package/build/dex/idle-dao/scripts.d.ts +9 -0
  77. package/build/dex/idle-dao/scripts.js +552 -0
  78. package/build/dex/idle-dao/scripts.js.map +1 -0
  79. package/build/dex/inception/inception-event-pool.d.ts +4 -4
  80. package/build/dex/inception/inception-event-pool.js +9 -7
  81. package/build/dex/inception/inception-event-pool.js.map +1 -1
  82. package/build/dex/inception/inception-native.d.ts +43 -0
  83. package/build/dex/inception/inception-native.js +131 -0
  84. package/build/dex/inception/inception-native.js.map +1 -0
  85. package/build/dex/inception/inception-pool.d.ts +18 -0
  86. package/build/dex/inception/inception-pool.js +32 -0
  87. package/build/dex/inception/inception-pool.js.map +1 -0
  88. package/build/dex/inception/inception-price-feed.d.ts +19 -0
  89. package/build/dex/inception/inception-price-feed.js +51 -0
  90. package/build/dex/inception/inception-price-feed.js.map +1 -0
  91. package/build/dex/inception/inception.d.ts +6 -6
  92. package/build/dex/inception/inception.js +40 -16
  93. package/build/dex/inception/inception.js.map +1 -1
  94. package/build/dex/inception/utils.d.ts +0 -1
  95. package/build/dex/inception/utils.js +1 -22
  96. package/build/dex/inception/utils.js.map +1 -1
  97. package/build/dex/platypus/platypus.js +3 -17
  98. package/build/dex/platypus/platypus.js.map +1 -1
  99. package/build/dex/swaap-v1/swaap-v1.js +0 -4
  100. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  101. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +16 -0
  102. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +16 -0
  103. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +16 -0
  104. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +16 -0
  105. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +16 -0
  106. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +16 -0
  107. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +16 -0
  108. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +16 -0
  109. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +9 -0
  110. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +9 -0
  111. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +9 -0
  112. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +9 -0
  113. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +9 -0
  114. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +9 -0
  115. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +9 -0
  116. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +9 -0
  117. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +9 -0
  118. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +12 -0
  119. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +7 -0
  120. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +7 -0
  121. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +7 -0
  122. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +7 -0
  123. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +12 -0
  124. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +7 -0
  125. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +7 -0
  126. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +78 -0
  127. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +81 -0
  128. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +78 -0
  129. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +78 -0
  130. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +81 -0
  131. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +81 -0
  132. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +81 -0
  133. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +81 -0
  134. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +64 -0
  135. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +85 -0
  136. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +64 -0
  137. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +52 -0
  138. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +52 -0
  139. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +52 -0
  140. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +55 -0
  141. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +55 -0
  142. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +55 -0
  143. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +23 -0
  144. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +37 -0
  145. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +23 -0
  146. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +23 -0
  147. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +51 -0
  148. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +58 -0
  149. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +23 -0
  150. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +23 -0
  151. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +9 -0
  152. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +16 -0
  153. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +23 -0
  154. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +12 -0
  155. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +7 -0
  156. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +12 -0
  157. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +12 -0
  158. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +7 -0
  159. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +7 -0
  160. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +7 -0
  161. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +7 -0
  162. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +7 -0
  163. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +7 -0
  164. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +130 -0
  165. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +136 -0
  166. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +100 -0
  167. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +100 -0
  168. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +166 -0
  169. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +190 -0
  170. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +114 -0
  171. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +114 -0
  172. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +55 -0
  173. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +73 -0
  174. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +82 -0
  175. package/build/lib/fetcher/wsFetcher.d.ts +7 -3
  176. package/build/lib/fetcher/wsFetcher.js +64 -51
  177. package/build/lib/fetcher/wsFetcher.js.map +1 -1
  178. package/package.json +4 -2
  179. package/src/config.ts +1 -0
  180. package/src/dex/bebop/bebop-e2e.test.ts +21 -0
  181. package/src/dex/bebop/bebop.json +72 -0
  182. package/src/dex/bebop/bebop.proto +15 -0
  183. package/src/dex/bebop/bebop.ts +1 -1
  184. package/src/dex/bebop/config.ts +5 -0
  185. package/src/dex/bebop/rate-fetcher.ts +51 -6
  186. package/src/dex/bebop/validators.ts +10 -0
  187. package/src/lib/fetcher/wsFetcher.ts +79 -66
  188. package/.vscode/launch.json +0 -53
  189. package/.vscode/settings.json +0 -2
  190. package/.vscode/tasks.json +0 -15
  191. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +0 -52
  192. package/build/dex/aave-v2/tokens-avalanche.json +0 -44
  193. package/build/dex/aave-v2/tokens-mainnet.json +0 -188
  194. package/build/dex/aave-v2/tokens-polygon.json +0 -44
  195. package/build/dex/bProtocol.d.ts +0 -18
  196. package/build/dex/bProtocol.js +0 -39
  197. package/build/dex/bProtocol.js.map +0 -1
  198. package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +0 -729
  199. package/build/dex/balancer-v3/abi/balancerBatchRouter.js +0 -732
  200. package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +0 -1
  201. package/build/dex/balancer-v3/abi/balancerRouter.d.ts +0 -1406
  202. package/build/dex/balancer-v3/abi/balancerRouter.js +0 -1175
  203. package/build/dex/balancer-v3/abi/balancerRouter.js.map +0 -1
  204. package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +0 -2081
  205. package/build/dex/balancer-v3/abi/vaultExtension.V3.js +0 -1851
  206. package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +0 -1
  207. package/build/dex/balancer-v3/balancer-v3-pool.d.ts +0 -76
  208. package/build/dex/balancer-v3/balancer-v3-pool.js +0 -383
  209. package/build/dex/balancer-v3/balancer-v3-pool.js.map +0 -1
  210. package/build/dex/balancer-v3/balancer-v3.d.ts +0 -57
  211. package/build/dex/balancer-v3/balancer-v3.js +0 -373
  212. package/build/dex/balancer-v3/balancer-v3.js.map +0 -1
  213. package/build/dex/balancer-v3/config.d.ts +0 -8
  214. package/build/dex/balancer-v3/config.js +0 -24
  215. package/build/dex/balancer-v3/config.js.map +0 -1
  216. package/build/dex/balancer-v3/getOnChainState.d.ts +0 -10
  217. package/build/dex/balancer-v3/getOnChainState.js +0 -158
  218. package/build/dex/balancer-v3/getOnChainState.js.map +0 -1
  219. package/build/dex/balancer-v3/getPoolsApi.d.ts +0 -2
  220. package/build/dex/balancer-v3/getPoolsApi.js +0 -81
  221. package/build/dex/balancer-v3/getPoolsApi.js.map +0 -1
  222. package/build/dex/balancer-v3/getTopPoolsApi.d.ts +0 -13
  223. package/build/dex/balancer-v3/getTopPoolsApi.js +0 -62
  224. package/build/dex/balancer-v3/getTopPoolsApi.js.map +0 -1
  225. package/build/dex/balancer-v3/types.d.ts +0 -63
  226. package/build/dex/balancer-v3/types.js +0 -3
  227. package/build/dex/balancer-v3/types.js.map +0 -1
  228. package/build/dex/bancor.d.ts +0 -26
  229. package/build/dex/bancor.js +0 -58
  230. package/build/dex/bancor.js.map +0 -1
  231. package/build/dex/compound.d.ts +0 -18
  232. package/build/dex/compound.js +0 -46
  233. package/build/dex/compound.js.map +0 -1
  234. package/build/dex/curve-v2.d.ts +0 -58
  235. package/build/dex/curve-v2.js +0 -180
  236. package/build/dex/curve-v2.js.map +0 -1
  237. package/build/dex/dodo-v1.d.ts +0 -33
  238. package/build/dex/dodo-v1.js +0 -63
  239. package/build/dex/dodo-v1.js.map +0 -1
  240. package/build/dex/fluid-dex/fluid-dex-pool.d.ts +0 -47
  241. package/build/dex/fluid-dex/fluid-dex-pool.js +0 -119
  242. package/build/dex/fluid-dex/fluid-dex-pool.js.map +0 -1
  243. package/build/dex/lido.d.ts +0 -19
  244. package/build/dex/lido.js +0 -42
  245. package/build/dex/lido.js.map +0 -1
  246. package/build/dex/maker-psm/scripts/gem.abi.json +0 -136
  247. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  248. package/build/dex/maker-psm/scripts/validate-state.js +0 -185
  249. package/build/dex/maker-psm/scripts/validate-state.js.map +0 -1
  250. package/build/dex/maker-psm/scripts/vat.abi.json +0 -243
  251. package/build/dex/onebit.d.ts +0 -25
  252. package/build/dex/onebit.js +0 -42
  253. package/build/dex/onebit.js.map +0 -1
  254. package/build/dex/smoothy.d.ts +0 -26
  255. package/build/dex/smoothy.js +0 -48
  256. package/build/dex/smoothy.js.map +0 -1
  257. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +0 -1
  258. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +0 -53
  259. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +0 -1
  260. package/build/dex/stable-pool.d.ts +0 -28
  261. package/build/dex/stable-pool.js +0 -55
  262. package/build/dex/stable-pool.js.map +0 -1
  263. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +0 -7
  264. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +0 -20
  265. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +0 -1
  266. package/build/dex/trader-joe-v2.1.d.ts +0 -43
  267. package/build/dex/trader-joe-v2.1.js +0 -79
  268. package/build/dex/trader-joe-v2.1.js.map +0 -1
  269. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +0 -17
  270. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +0 -64
  271. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +0 -1
  272. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +0 -17
  273. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +0 -79
  274. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +0 -1
  275. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +0 -4
  276. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +0 -43
  277. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +0 -1
  278. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +0 -1
  279. package/build/dex/uniswap-v3/uniswap-v3-worker.js +0 -10
  280. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +0 -1
@@ -0,0 +1,865 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": true,
7
+ "name": "buyer",
8
+ "type": "address"
9
+ },
10
+ {
11
+ "indexed": false,
12
+ "name": "sold_id",
13
+ "type": "int128"
14
+ },
15
+ {
16
+ "indexed": false,
17
+ "name": "tokens_sold",
18
+ "type": "uint256"
19
+ },
20
+ {
21
+ "indexed": false,
22
+ "name": "bought_id",
23
+ "type": "int128"
24
+ },
25
+ {
26
+ "indexed": false,
27
+ "name": "tokens_bought",
28
+ "type": "uint256"
29
+ }
30
+ ],
31
+ "name": "TokenExchange",
32
+ "type": "event"
33
+ },
34
+ {
35
+ "anonymous": false,
36
+ "inputs": [
37
+ {
38
+ "indexed": true,
39
+ "name": "buyer",
40
+ "type": "address"
41
+ },
42
+ {
43
+ "indexed": false,
44
+ "name": "sold_id",
45
+ "type": "int128"
46
+ },
47
+ {
48
+ "indexed": false,
49
+ "name": "tokens_sold",
50
+ "type": "uint256"
51
+ },
52
+ {
53
+ "indexed": false,
54
+ "name": "bought_id",
55
+ "type": "int128"
56
+ },
57
+ {
58
+ "indexed": false,
59
+ "name": "tokens_bought",
60
+ "type": "uint256"
61
+ }
62
+ ],
63
+ "name": "TokenExchangeUnderlying",
64
+ "type": "event"
65
+ },
66
+ {
67
+ "anonymous": false,
68
+ "inputs": [
69
+ {
70
+ "indexed": true,
71
+ "name": "provider",
72
+ "type": "address"
73
+ },
74
+ {
75
+ "indexed": false,
76
+ "name": "token_amounts",
77
+ "type": "uint256[4]"
78
+ },
79
+ {
80
+ "indexed": false,
81
+ "name": "fees",
82
+ "type": "uint256[4]"
83
+ },
84
+ {
85
+ "indexed": false,
86
+ "name": "invariant",
87
+ "type": "uint256"
88
+ },
89
+ {
90
+ "indexed": false,
91
+ "name": "token_supply",
92
+ "type": "uint256"
93
+ }
94
+ ],
95
+ "name": "AddLiquidity",
96
+ "type": "event"
97
+ },
98
+ {
99
+ "anonymous": false,
100
+ "inputs": [
101
+ {
102
+ "indexed": true,
103
+ "name": "provider",
104
+ "type": "address"
105
+ },
106
+ {
107
+ "indexed": false,
108
+ "name": "token_amounts",
109
+ "type": "uint256[4]"
110
+ },
111
+ {
112
+ "indexed": false,
113
+ "name": "fees",
114
+ "type": "uint256[4]"
115
+ },
116
+ {
117
+ "indexed": false,
118
+ "name": "token_supply",
119
+ "type": "uint256"
120
+ }
121
+ ],
122
+ "name": "RemoveLiquidity",
123
+ "type": "event"
124
+ },
125
+ {
126
+ "anonymous": false,
127
+ "inputs": [
128
+ {
129
+ "indexed": true,
130
+ "name": "provider",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "indexed": false,
135
+ "name": "token_amounts",
136
+ "type": "uint256[4]"
137
+ },
138
+ {
139
+ "indexed": false,
140
+ "name": "fees",
141
+ "type": "uint256[4]"
142
+ },
143
+ {
144
+ "indexed": false,
145
+ "name": "invariant",
146
+ "type": "uint256"
147
+ },
148
+ {
149
+ "indexed": false,
150
+ "name": "token_supply",
151
+ "type": "uint256"
152
+ }
153
+ ],
154
+ "name": "RemoveLiquidityImbalance",
155
+ "type": "event"
156
+ },
157
+ {
158
+ "anonymous": false,
159
+ "inputs": [
160
+ {
161
+ "indexed": true,
162
+ "name": "deadline",
163
+ "type": "uint256",
164
+ "unit": "sec"
165
+ },
166
+ {
167
+ "indexed": true,
168
+ "name": "admin",
169
+ "type": "address"
170
+ }
171
+ ],
172
+ "name": "CommitNewAdmin",
173
+ "type": "event"
174
+ },
175
+ {
176
+ "anonymous": false,
177
+ "inputs": [
178
+ {
179
+ "indexed": true,
180
+ "name": "admin",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "NewAdmin",
185
+ "type": "event"
186
+ },
187
+ {
188
+ "anonymous": false,
189
+ "inputs": [
190
+ {
191
+ "indexed": true,
192
+ "name": "deadline",
193
+ "type": "uint256",
194
+ "unit": "sec"
195
+ },
196
+ {
197
+ "indexed": false,
198
+ "name": "fee",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "indexed": false,
203
+ "name": "admin_fee",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "name": "CommitNewFee",
208
+ "type": "event"
209
+ },
210
+ {
211
+ "anonymous": false,
212
+ "inputs": [
213
+ {
214
+ "indexed": false,
215
+ "name": "fee",
216
+ "type": "uint256"
217
+ },
218
+ {
219
+ "indexed": false,
220
+ "name": "admin_fee",
221
+ "type": "uint256"
222
+ }
223
+ ],
224
+ "name": "NewFee",
225
+ "type": "event"
226
+ },
227
+ {
228
+ "anonymous": false,
229
+ "inputs": [
230
+ {
231
+ "indexed": false,
232
+ "name": "old_A",
233
+ "type": "uint256"
234
+ },
235
+ {
236
+ "indexed": false,
237
+ "name": "new_A",
238
+ "type": "uint256"
239
+ },
240
+ {
241
+ "indexed": false,
242
+ "name": "initial_time",
243
+ "type": "uint256",
244
+ "unit": "sec"
245
+ },
246
+ {
247
+ "indexed": false,
248
+ "name": "future_time",
249
+ "type": "uint256",
250
+ "unit": "sec"
251
+ }
252
+ ],
253
+ "name": "RampA",
254
+ "type": "event"
255
+ },
256
+ {
257
+ "anonymous": false,
258
+ "inputs": [
259
+ {
260
+ "indexed": false,
261
+ "name": "A",
262
+ "type": "uint256"
263
+ },
264
+ {
265
+ "indexed": false,
266
+ "name": "t",
267
+ "type": "uint256",
268
+ "unit": "sec"
269
+ }
270
+ ],
271
+ "name": "StopRampA",
272
+ "type": "event"
273
+ },
274
+ {
275
+ "constant": false,
276
+ "inputs": [
277
+ {
278
+ "name": "_coins",
279
+ "type": "address[4]"
280
+ },
281
+ {
282
+ "name": "_underlying_coins",
283
+ "type": "address[4]"
284
+ },
285
+ {
286
+ "name": "_pool_token",
287
+ "type": "address"
288
+ },
289
+ {
290
+ "name": "_A",
291
+ "type": "uint256"
292
+ },
293
+ {
294
+ "name": "_fee",
295
+ "type": "uint256"
296
+ }
297
+ ],
298
+ "outputs": [],
299
+ "payable": false,
300
+ "type": "constructor"
301
+ },
302
+ {
303
+ "constant": true,
304
+ "gas": 5227,
305
+ "inputs": [],
306
+ "name": "A",
307
+ "outputs": [
308
+ {
309
+ "name": "",
310
+ "type": "uint256"
311
+ }
312
+ ],
313
+ "payable": false,
314
+ "type": "function"
315
+ },
316
+ {
317
+ "constant": true,
318
+ "gas": 1333259,
319
+ "inputs": [],
320
+ "name": "get_virtual_price",
321
+ "outputs": [
322
+ {
323
+ "name": "",
324
+ "type": "uint256"
325
+ }
326
+ ],
327
+ "payable": false,
328
+ "type": "function"
329
+ },
330
+ {
331
+ "constant": true,
332
+ "gas": 5242977,
333
+ "inputs": [
334
+ {
335
+ "name": "amounts",
336
+ "type": "uint256[4]"
337
+ },
338
+ {
339
+ "name": "deposit",
340
+ "type": "bool"
341
+ }
342
+ ],
343
+ "name": "calc_token_amount",
344
+ "outputs": [
345
+ {
346
+ "name": "",
347
+ "type": "uint256"
348
+ }
349
+ ],
350
+ "payable": false,
351
+ "type": "function"
352
+ },
353
+ {
354
+ "constant": false,
355
+ "gas": 8088077,
356
+ "inputs": [
357
+ {
358
+ "name": "amounts",
359
+ "type": "uint256[4]"
360
+ },
361
+ {
362
+ "name": "min_mint_amount",
363
+ "type": "uint256"
364
+ }
365
+ ],
366
+ "name": "add_liquidity",
367
+ "outputs": [],
368
+ "payable": false,
369
+ "type": "function"
370
+ },
371
+ {
372
+ "constant": true,
373
+ "gas": 3048740,
374
+ "inputs": [
375
+ {
376
+ "name": "i",
377
+ "type": "int128"
378
+ },
379
+ {
380
+ "name": "j",
381
+ "type": "int128"
382
+ },
383
+ {
384
+ "name": "dx",
385
+ "type": "uint256"
386
+ }
387
+ ],
388
+ "name": "get_dy",
389
+ "outputs": [
390
+ {
391
+ "name": "",
392
+ "type": "uint256"
393
+ }
394
+ ],
395
+ "payable": false,
396
+ "type": "function"
397
+ },
398
+ {
399
+ "constant": true,
400
+ "gas": 3048570,
401
+ "inputs": [
402
+ {
403
+ "name": "i",
404
+ "type": "int128"
405
+ },
406
+ {
407
+ "name": "j",
408
+ "type": "int128"
409
+ },
410
+ {
411
+ "name": "dx",
412
+ "type": "uint256"
413
+ }
414
+ ],
415
+ "name": "get_dy_underlying",
416
+ "outputs": [
417
+ {
418
+ "name": "",
419
+ "type": "uint256"
420
+ }
421
+ ],
422
+ "payable": false,
423
+ "type": "function"
424
+ },
425
+ {
426
+ "constant": false,
427
+ "gas": 6218629,
428
+ "inputs": [
429
+ {
430
+ "name": "i",
431
+ "type": "int128"
432
+ },
433
+ {
434
+ "name": "j",
435
+ "type": "int128"
436
+ },
437
+ {
438
+ "name": "dx",
439
+ "type": "uint256"
440
+ },
441
+ {
442
+ "name": "min_dy",
443
+ "type": "uint256"
444
+ }
445
+ ],
446
+ "name": "exchange",
447
+ "outputs": [],
448
+ "payable": false,
449
+ "type": "function"
450
+ },
451
+ {
452
+ "constant": false,
453
+ "gas": 6238369,
454
+ "inputs": [
455
+ {
456
+ "name": "i",
457
+ "type": "int128"
458
+ },
459
+ {
460
+ "name": "j",
461
+ "type": "int128"
462
+ },
463
+ {
464
+ "name": "dx",
465
+ "type": "uint256"
466
+ },
467
+ {
468
+ "name": "min_dy",
469
+ "type": "uint256"
470
+ }
471
+ ],
472
+ "name": "exchange_underlying",
473
+ "outputs": [],
474
+ "payable": false,
475
+ "type": "function"
476
+ },
477
+ {
478
+ "constant": false,
479
+ "gas": 241221,
480
+ "inputs": [
481
+ {
482
+ "name": "_amount",
483
+ "type": "uint256"
484
+ },
485
+ {
486
+ "name": "min_amounts",
487
+ "type": "uint256[4]"
488
+ }
489
+ ],
490
+ "name": "remove_liquidity",
491
+ "outputs": [],
492
+ "payable": false,
493
+ "type": "function"
494
+ },
495
+ {
496
+ "constant": false,
497
+ "gas": 8087316,
498
+ "inputs": [
499
+ {
500
+ "name": "amounts",
501
+ "type": "uint256[4]"
502
+ },
503
+ {
504
+ "name": "max_burn_amount",
505
+ "type": "uint256"
506
+ }
507
+ ],
508
+ "name": "remove_liquidity_imbalance",
509
+ "outputs": [],
510
+ "payable": false,
511
+ "type": "function"
512
+ },
513
+ {
514
+ "constant": false,
515
+ "gas": 151847,
516
+ "inputs": [
517
+ {
518
+ "name": "_future_A",
519
+ "type": "uint256"
520
+ },
521
+ {
522
+ "name": "_future_time",
523
+ "type": "uint256",
524
+ "unit": "sec"
525
+ }
526
+ ],
527
+ "name": "ramp_A",
528
+ "outputs": [],
529
+ "payable": false,
530
+ "type": "function"
531
+ },
532
+ {
533
+ "constant": false,
534
+ "gas": 148607,
535
+ "inputs": [],
536
+ "name": "stop_ramp_A",
537
+ "outputs": [],
538
+ "payable": false,
539
+ "type": "function"
540
+ },
541
+ {
542
+ "constant": false,
543
+ "gas": 110431,
544
+ "inputs": [
545
+ {
546
+ "name": "new_fee",
547
+ "type": "uint256"
548
+ },
549
+ {
550
+ "name": "new_admin_fee",
551
+ "type": "uint256"
552
+ }
553
+ ],
554
+ "name": "commit_new_fee",
555
+ "outputs": [],
556
+ "payable": false,
557
+ "type": "function"
558
+ },
559
+ {
560
+ "constant": false,
561
+ "gas": 97130,
562
+ "inputs": [],
563
+ "name": "apply_new_fee",
564
+ "outputs": [],
565
+ "payable": false,
566
+ "type": "function"
567
+ },
568
+ {
569
+ "constant": false,
570
+ "gas": 21865,
571
+ "inputs": [],
572
+ "name": "revert_new_parameters",
573
+ "outputs": [],
574
+ "payable": false,
575
+ "type": "function"
576
+ },
577
+ {
578
+ "constant": false,
579
+ "gas": 74542,
580
+ "inputs": [
581
+ {
582
+ "name": "_owner",
583
+ "type": "address"
584
+ }
585
+ ],
586
+ "name": "commit_transfer_ownership",
587
+ "outputs": [],
588
+ "payable": false,
589
+ "type": "function"
590
+ },
591
+ {
592
+ "constant": false,
593
+ "gas": 60598,
594
+ "inputs": [],
595
+ "name": "apply_transfer_ownership",
596
+ "outputs": [],
597
+ "payable": false,
598
+ "type": "function"
599
+ },
600
+ {
601
+ "constant": false,
602
+ "gas": 21955,
603
+ "inputs": [],
604
+ "name": "revert_transfer_ownership",
605
+ "outputs": [],
606
+ "payable": false,
607
+ "type": "function"
608
+ },
609
+ {
610
+ "constant": false,
611
+ "gas": 23538,
612
+ "inputs": [],
613
+ "name": "withdraw_admin_fees",
614
+ "outputs": [],
615
+ "payable": false,
616
+ "type": "function"
617
+ },
618
+ {
619
+ "constant": false,
620
+ "gas": 37908,
621
+ "inputs": [],
622
+ "name": "kill_me",
623
+ "outputs": [],
624
+ "payable": false,
625
+ "type": "function"
626
+ },
627
+ {
628
+ "constant": false,
629
+ "gas": 22045,
630
+ "inputs": [],
631
+ "name": "unkill_me",
632
+ "outputs": [],
633
+ "payable": false,
634
+ "type": "function"
635
+ },
636
+ {
637
+ "constant": true,
638
+ "gas": 2220,
639
+ "inputs": [
640
+ {
641
+ "name": "arg0",
642
+ "type": "int128"
643
+ }
644
+ ],
645
+ "name": "coins",
646
+ "outputs": [
647
+ {
648
+ "name": "",
649
+ "type": "address"
650
+ }
651
+ ],
652
+ "payable": false,
653
+ "type": "function"
654
+ },
655
+ {
656
+ "constant": true,
657
+ "gas": 2250,
658
+ "inputs": [
659
+ {
660
+ "name": "arg0",
661
+ "type": "int128"
662
+ }
663
+ ],
664
+ "name": "underlying_coins",
665
+ "outputs": [
666
+ {
667
+ "name": "",
668
+ "type": "address"
669
+ }
670
+ ],
671
+ "payable": false,
672
+ "type": "function"
673
+ },
674
+ {
675
+ "constant": true,
676
+ "gas": 2280,
677
+ "inputs": [
678
+ {
679
+ "name": "arg0",
680
+ "type": "int128"
681
+ }
682
+ ],
683
+ "name": "balances",
684
+ "outputs": [
685
+ {
686
+ "name": "",
687
+ "type": "uint256"
688
+ }
689
+ ],
690
+ "payable": false,
691
+ "type": "function"
692
+ },
693
+ {
694
+ "constant": true,
695
+ "gas": 2111,
696
+ "inputs": [],
697
+ "name": "fee",
698
+ "outputs": [
699
+ {
700
+ "name": "",
701
+ "type": "uint256"
702
+ }
703
+ ],
704
+ "payable": false,
705
+ "type": "function"
706
+ },
707
+ {
708
+ "constant": true,
709
+ "gas": 2141,
710
+ "inputs": [],
711
+ "name": "admin_fee",
712
+ "outputs": [
713
+ {
714
+ "name": "",
715
+ "type": "uint256"
716
+ }
717
+ ],
718
+ "payable": false,
719
+ "type": "function"
720
+ },
721
+ {
722
+ "constant": true,
723
+ "gas": 2171,
724
+ "inputs": [],
725
+ "name": "owner",
726
+ "outputs": [
727
+ {
728
+ "name": "",
729
+ "type": "address"
730
+ }
731
+ ],
732
+ "payable": false,
733
+ "type": "function"
734
+ },
735
+ {
736
+ "constant": true,
737
+ "gas": 2201,
738
+ "inputs": [],
739
+ "name": "initial_A",
740
+ "outputs": [
741
+ {
742
+ "name": "",
743
+ "type": "uint256"
744
+ }
745
+ ],
746
+ "payable": false,
747
+ "type": "function"
748
+ },
749
+ {
750
+ "constant": true,
751
+ "gas": 2231,
752
+ "inputs": [],
753
+ "name": "future_A",
754
+ "outputs": [
755
+ {
756
+ "name": "",
757
+ "type": "uint256"
758
+ }
759
+ ],
760
+ "payable": false,
761
+ "type": "function"
762
+ },
763
+ {
764
+ "constant": true,
765
+ "gas": 2261,
766
+ "inputs": [],
767
+ "name": "initial_A_time",
768
+ "outputs": [
769
+ {
770
+ "name": "",
771
+ "type": "uint256",
772
+ "unit": "sec"
773
+ }
774
+ ],
775
+ "payable": false,
776
+ "type": "function"
777
+ },
778
+ {
779
+ "constant": true,
780
+ "gas": 2291,
781
+ "inputs": [],
782
+ "name": "future_A_time",
783
+ "outputs": [
784
+ {
785
+ "name": "",
786
+ "type": "uint256",
787
+ "unit": "sec"
788
+ }
789
+ ],
790
+ "payable": false,
791
+ "type": "function"
792
+ },
793
+ {
794
+ "constant": true,
795
+ "gas": 2321,
796
+ "inputs": [],
797
+ "name": "admin_actions_deadline",
798
+ "outputs": [
799
+ {
800
+ "name": "",
801
+ "type": "uint256",
802
+ "unit": "sec"
803
+ }
804
+ ],
805
+ "payable": false,
806
+ "type": "function"
807
+ },
808
+ {
809
+ "constant": true,
810
+ "gas": 2351,
811
+ "inputs": [],
812
+ "name": "transfer_ownership_deadline",
813
+ "outputs": [
814
+ {
815
+ "name": "",
816
+ "type": "uint256",
817
+ "unit": "sec"
818
+ }
819
+ ],
820
+ "payable": false,
821
+ "type": "function"
822
+ },
823
+ {
824
+ "constant": true,
825
+ "gas": 2381,
826
+ "inputs": [],
827
+ "name": "future_fee",
828
+ "outputs": [
829
+ {
830
+ "name": "",
831
+ "type": "uint256"
832
+ }
833
+ ],
834
+ "payable": false,
835
+ "type": "function"
836
+ },
837
+ {
838
+ "constant": true,
839
+ "gas": 2411,
840
+ "inputs": [],
841
+ "name": "future_admin_fee",
842
+ "outputs": [
843
+ {
844
+ "name": "",
845
+ "type": "uint256"
846
+ }
847
+ ],
848
+ "payable": false,
849
+ "type": "function"
850
+ },
851
+ {
852
+ "constant": true,
853
+ "gas": 2441,
854
+ "inputs": [],
855
+ "name": "future_owner",
856
+ "outputs": [
857
+ {
858
+ "name": "",
859
+ "type": "address"
860
+ }
861
+ ],
862
+ "payable": false,
863
+ "type": "function"
864
+ }
865
+ ]