@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,1356 @@
1
+ [
2
+ {
3
+ "name": "Transfer",
4
+ "inputs": [
5
+ {
6
+ "type": "address",
7
+ "name": "sender",
8
+ "indexed": true
9
+ },
10
+ {
11
+ "type": "address",
12
+ "name": "receiver",
13
+ "indexed": true
14
+ },
15
+ {
16
+ "type": "uint256",
17
+ "name": "value",
18
+ "indexed": false
19
+ }
20
+ ],
21
+ "anonymous": false,
22
+ "type": "event"
23
+ },
24
+ {
25
+ "name": "Approval",
26
+ "inputs": [
27
+ {
28
+ "type": "address",
29
+ "name": "owner",
30
+ "indexed": true
31
+ },
32
+ {
33
+ "type": "address",
34
+ "name": "spender",
35
+ "indexed": true
36
+ },
37
+ {
38
+ "type": "uint256",
39
+ "name": "value",
40
+ "indexed": false
41
+ }
42
+ ],
43
+ "anonymous": false,
44
+ "type": "event"
45
+ },
46
+ {
47
+ "name": "TokenExchange",
48
+ "inputs": [
49
+ {
50
+ "type": "address",
51
+ "name": "buyer",
52
+ "indexed": true
53
+ },
54
+ {
55
+ "type": "int128",
56
+ "name": "sold_id",
57
+ "indexed": false
58
+ },
59
+ {
60
+ "type": "uint256",
61
+ "name": "tokens_sold",
62
+ "indexed": false
63
+ },
64
+ {
65
+ "type": "int128",
66
+ "name": "bought_id",
67
+ "indexed": false
68
+ },
69
+ {
70
+ "type": "uint256",
71
+ "name": "tokens_bought",
72
+ "indexed": false
73
+ }
74
+ ],
75
+ "anonymous": false,
76
+ "type": "event"
77
+ },
78
+ {
79
+ "name": "TokenExchangeUnderlying",
80
+ "inputs": [
81
+ {
82
+ "type": "address",
83
+ "name": "buyer",
84
+ "indexed": true
85
+ },
86
+ {
87
+ "type": "int128",
88
+ "name": "sold_id",
89
+ "indexed": false
90
+ },
91
+ {
92
+ "type": "uint256",
93
+ "name": "tokens_sold",
94
+ "indexed": false
95
+ },
96
+ {
97
+ "type": "int128",
98
+ "name": "bought_id",
99
+ "indexed": false
100
+ },
101
+ {
102
+ "type": "uint256",
103
+ "name": "tokens_bought",
104
+ "indexed": false
105
+ }
106
+ ],
107
+ "anonymous": false,
108
+ "type": "event"
109
+ },
110
+ {
111
+ "name": "AddLiquidity",
112
+ "inputs": [
113
+ {
114
+ "type": "address",
115
+ "name": "provider",
116
+ "indexed": true
117
+ },
118
+ {
119
+ "type": "uint256[2]",
120
+ "name": "token_amounts",
121
+ "indexed": false
122
+ },
123
+ {
124
+ "type": "uint256[2]",
125
+ "name": "fees",
126
+ "indexed": false
127
+ },
128
+ {
129
+ "type": "uint256",
130
+ "name": "invariant",
131
+ "indexed": false
132
+ },
133
+ {
134
+ "type": "uint256",
135
+ "name": "token_supply",
136
+ "indexed": false
137
+ }
138
+ ],
139
+ "anonymous": false,
140
+ "type": "event"
141
+ },
142
+ {
143
+ "name": "RemoveLiquidity",
144
+ "inputs": [
145
+ {
146
+ "type": "address",
147
+ "name": "provider",
148
+ "indexed": true
149
+ },
150
+ {
151
+ "type": "uint256[2]",
152
+ "name": "token_amounts",
153
+ "indexed": false
154
+ },
155
+ {
156
+ "type": "uint256[2]",
157
+ "name": "fees",
158
+ "indexed": false
159
+ },
160
+ {
161
+ "type": "uint256",
162
+ "name": "token_supply",
163
+ "indexed": false
164
+ }
165
+ ],
166
+ "anonymous": false,
167
+ "type": "event"
168
+ },
169
+ {
170
+ "name": "RemoveLiquidityOne",
171
+ "inputs": [
172
+ {
173
+ "type": "address",
174
+ "name": "provider",
175
+ "indexed": true
176
+ },
177
+ {
178
+ "type": "uint256",
179
+ "name": "token_amount",
180
+ "indexed": false
181
+ },
182
+ {
183
+ "type": "uint256",
184
+ "name": "coin_amount",
185
+ "indexed": false
186
+ },
187
+ {
188
+ "type": "uint256",
189
+ "name": "token_supply",
190
+ "indexed": false
191
+ }
192
+ ],
193
+ "anonymous": false,
194
+ "type": "event"
195
+ },
196
+ {
197
+ "name": "RemoveLiquidityImbalance",
198
+ "inputs": [
199
+ {
200
+ "type": "address",
201
+ "name": "provider",
202
+ "indexed": true
203
+ },
204
+ {
205
+ "type": "uint256[2]",
206
+ "name": "token_amounts",
207
+ "indexed": false
208
+ },
209
+ {
210
+ "type": "uint256[2]",
211
+ "name": "fees",
212
+ "indexed": false
213
+ },
214
+ {
215
+ "type": "uint256",
216
+ "name": "invariant",
217
+ "indexed": false
218
+ },
219
+ {
220
+ "type": "uint256",
221
+ "name": "token_supply",
222
+ "indexed": false
223
+ }
224
+ ],
225
+ "anonymous": false,
226
+ "type": "event"
227
+ },
228
+ {
229
+ "name": "CommitNewAdmin",
230
+ "inputs": [
231
+ {
232
+ "type": "uint256",
233
+ "name": "deadline",
234
+ "indexed": true
235
+ },
236
+ {
237
+ "type": "address",
238
+ "name": "admin",
239
+ "indexed": true
240
+ }
241
+ ],
242
+ "anonymous": false,
243
+ "type": "event"
244
+ },
245
+ {
246
+ "name": "NewAdmin",
247
+ "inputs": [
248
+ {
249
+ "type": "address",
250
+ "name": "admin",
251
+ "indexed": true
252
+ }
253
+ ],
254
+ "anonymous": false,
255
+ "type": "event"
256
+ },
257
+ {
258
+ "name": "CommitNewFee",
259
+ "inputs": [
260
+ {
261
+ "type": "uint256",
262
+ "name": "deadline",
263
+ "indexed": true
264
+ },
265
+ {
266
+ "type": "uint256",
267
+ "name": "fee",
268
+ "indexed": false
269
+ },
270
+ {
271
+ "type": "uint256",
272
+ "name": "admin_fee",
273
+ "indexed": false
274
+ }
275
+ ],
276
+ "anonymous": false,
277
+ "type": "event"
278
+ },
279
+ {
280
+ "name": "NewFee",
281
+ "inputs": [
282
+ {
283
+ "type": "uint256",
284
+ "name": "fee",
285
+ "indexed": false
286
+ },
287
+ {
288
+ "type": "uint256",
289
+ "name": "admin_fee",
290
+ "indexed": false
291
+ }
292
+ ],
293
+ "anonymous": false,
294
+ "type": "event"
295
+ },
296
+ {
297
+ "name": "RampA",
298
+ "inputs": [
299
+ {
300
+ "type": "uint256",
301
+ "name": "old_A",
302
+ "indexed": false
303
+ },
304
+ {
305
+ "type": "uint256",
306
+ "name": "new_A",
307
+ "indexed": false
308
+ },
309
+ {
310
+ "type": "uint256",
311
+ "name": "initial_time",
312
+ "indexed": false
313
+ },
314
+ {
315
+ "type": "uint256",
316
+ "name": "future_time",
317
+ "indexed": false
318
+ }
319
+ ],
320
+ "anonymous": false,
321
+ "type": "event"
322
+ },
323
+ {
324
+ "name": "StopRampA",
325
+ "inputs": [
326
+ {
327
+ "type": "uint256",
328
+ "name": "A",
329
+ "indexed": false
330
+ },
331
+ {
332
+ "type": "uint256",
333
+ "name": "t",
334
+ "indexed": false
335
+ }
336
+ ],
337
+ "anonymous": false,
338
+ "type": "event"
339
+ },
340
+ {
341
+ "outputs": [],
342
+ "inputs": [],
343
+ "stateMutability": "nonpayable",
344
+ "type": "constructor"
345
+ },
346
+ {
347
+ "name": "initialize",
348
+ "outputs": [],
349
+ "inputs": [
350
+ {
351
+ "type": "string",
352
+ "name": "_name"
353
+ },
354
+ {
355
+ "type": "string",
356
+ "name": "_symbol"
357
+ },
358
+ {
359
+ "type": "address",
360
+ "name": "_coin"
361
+ },
362
+ {
363
+ "type": "uint256",
364
+ "name": "_decimals"
365
+ },
366
+ {
367
+ "type": "uint256",
368
+ "name": "_A"
369
+ },
370
+ {
371
+ "type": "uint256",
372
+ "name": "_fee"
373
+ },
374
+ {
375
+ "type": "address",
376
+ "name": "_admin"
377
+ }
378
+ ],
379
+ "stateMutability": "nonpayable",
380
+ "type": "function",
381
+ "gas": 470049
382
+ },
383
+ {
384
+ "name": "decimals",
385
+ "outputs": [
386
+ {
387
+ "type": "uint256",
388
+ "name": ""
389
+ }
390
+ ],
391
+ "inputs": [],
392
+ "stateMutability": "view",
393
+ "type": "function",
394
+ "gas": 291
395
+ },
396
+ {
397
+ "name": "transfer",
398
+ "outputs": [
399
+ {
400
+ "type": "bool",
401
+ "name": ""
402
+ }
403
+ ],
404
+ "inputs": [
405
+ {
406
+ "type": "address",
407
+ "name": "_to"
408
+ },
409
+ {
410
+ "type": "uint256",
411
+ "name": "_value"
412
+ }
413
+ ],
414
+ "stateMutability": "nonpayable",
415
+ "type": "function",
416
+ "gas": 75402
417
+ },
418
+ {
419
+ "name": "transferFrom",
420
+ "outputs": [
421
+ {
422
+ "type": "bool",
423
+ "name": ""
424
+ }
425
+ ],
426
+ "inputs": [
427
+ {
428
+ "type": "address",
429
+ "name": "_from"
430
+ },
431
+ {
432
+ "type": "address",
433
+ "name": "_to"
434
+ },
435
+ {
436
+ "type": "uint256",
437
+ "name": "_value"
438
+ }
439
+ ],
440
+ "stateMutability": "nonpayable",
441
+ "type": "function",
442
+ "gas": 112037
443
+ },
444
+ {
445
+ "name": "approve",
446
+ "outputs": [
447
+ {
448
+ "type": "bool",
449
+ "name": ""
450
+ }
451
+ ],
452
+ "inputs": [
453
+ {
454
+ "type": "address",
455
+ "name": "_spender"
456
+ },
457
+ {
458
+ "type": "uint256",
459
+ "name": "_value"
460
+ }
461
+ ],
462
+ "stateMutability": "nonpayable",
463
+ "type": "function",
464
+ "gas": 37854
465
+ },
466
+ {
467
+ "name": "get_previous_balances",
468
+ "outputs": [
469
+ {
470
+ "type": "uint256[2]",
471
+ "name": ""
472
+ }
473
+ ],
474
+ "inputs": [],
475
+ "stateMutability": "view",
476
+ "type": "function",
477
+ "gas": 2254
478
+ },
479
+ {
480
+ "name": "get_balances",
481
+ "outputs": [
482
+ {
483
+ "type": "uint256[2]",
484
+ "name": ""
485
+ }
486
+ ],
487
+ "inputs": [],
488
+ "stateMutability": "view",
489
+ "type": "function",
490
+ "gas": 2284
491
+ },
492
+ {
493
+ "name": "get_twap_balances",
494
+ "outputs": [
495
+ {
496
+ "type": "uint256[2]",
497
+ "name": ""
498
+ }
499
+ ],
500
+ "inputs": [
501
+ {
502
+ "type": "uint256[2]",
503
+ "name": "_first_balances"
504
+ },
505
+ {
506
+ "type": "uint256[2]",
507
+ "name": "_last_balances"
508
+ },
509
+ {
510
+ "type": "uint256",
511
+ "name": "_time_elapsed"
512
+ }
513
+ ],
514
+ "stateMutability": "view",
515
+ "type": "function",
516
+ "gas": 1522
517
+ },
518
+ {
519
+ "name": "get_price_cumulative_last",
520
+ "outputs": [
521
+ {
522
+ "type": "uint256[2]",
523
+ "name": ""
524
+ }
525
+ ],
526
+ "inputs": [],
527
+ "stateMutability": "view",
528
+ "type": "function",
529
+ "gas": 2344
530
+ },
531
+ {
532
+ "name": "admin_fee",
533
+ "outputs": [
534
+ {
535
+ "type": "uint256",
536
+ "name": ""
537
+ }
538
+ ],
539
+ "inputs": [],
540
+ "stateMutability": "view",
541
+ "type": "function",
542
+ "gas": 621
543
+ },
544
+ {
545
+ "name": "A",
546
+ "outputs": [
547
+ {
548
+ "type": "uint256",
549
+ "name": ""
550
+ }
551
+ ],
552
+ "inputs": [],
553
+ "stateMutability": "view",
554
+ "type": "function",
555
+ "gas": 5859
556
+ },
557
+ {
558
+ "name": "A_precise",
559
+ "outputs": [
560
+ {
561
+ "type": "uint256",
562
+ "name": ""
563
+ }
564
+ ],
565
+ "inputs": [],
566
+ "stateMutability": "view",
567
+ "type": "function",
568
+ "gas": 5821
569
+ },
570
+ {
571
+ "name": "get_virtual_price",
572
+ "outputs": [
573
+ {
574
+ "type": "uint256",
575
+ "name": ""
576
+ }
577
+ ],
578
+ "inputs": [],
579
+ "stateMutability": "view",
580
+ "type": "function",
581
+ "gas": 1011891
582
+ },
583
+ {
584
+ "name": "calc_token_amount",
585
+ "outputs": [
586
+ {
587
+ "type": "uint256",
588
+ "name": ""
589
+ }
590
+ ],
591
+ "inputs": [
592
+ {
593
+ "type": "uint256[2]",
594
+ "name": "_amounts"
595
+ },
596
+ {
597
+ "type": "bool",
598
+ "name": "_is_deposit"
599
+ }
600
+ ],
601
+ "stateMutability": "view",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "name": "calc_token_amount",
606
+ "outputs": [
607
+ {
608
+ "type": "uint256",
609
+ "name": ""
610
+ }
611
+ ],
612
+ "inputs": [
613
+ {
614
+ "type": "uint256[2]",
615
+ "name": "_amounts"
616
+ },
617
+ {
618
+ "type": "bool",
619
+ "name": "_is_deposit"
620
+ },
621
+ {
622
+ "type": "bool",
623
+ "name": "_previous"
624
+ }
625
+ ],
626
+ "stateMutability": "view",
627
+ "type": "function"
628
+ },
629
+ {
630
+ "name": "add_liquidity",
631
+ "outputs": [
632
+ {
633
+ "type": "uint256",
634
+ "name": ""
635
+ }
636
+ ],
637
+ "inputs": [
638
+ {
639
+ "type": "uint256[2]",
640
+ "name": "_amounts"
641
+ },
642
+ {
643
+ "type": "uint256",
644
+ "name": "_min_mint_amount"
645
+ }
646
+ ],
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "name": "add_liquidity",
652
+ "outputs": [
653
+ {
654
+ "type": "uint256",
655
+ "name": ""
656
+ }
657
+ ],
658
+ "inputs": [
659
+ {
660
+ "type": "uint256[2]",
661
+ "name": "_amounts"
662
+ },
663
+ {
664
+ "type": "uint256",
665
+ "name": "_min_mint_amount"
666
+ },
667
+ {
668
+ "type": "address",
669
+ "name": "_receiver"
670
+ }
671
+ ],
672
+ "stateMutability": "nonpayable",
673
+ "type": "function"
674
+ },
675
+ {
676
+ "name": "get_dy",
677
+ "outputs": [
678
+ {
679
+ "type": "uint256",
680
+ "name": ""
681
+ }
682
+ ],
683
+ "inputs": [
684
+ {
685
+ "type": "int128",
686
+ "name": "i"
687
+ },
688
+ {
689
+ "type": "int128",
690
+ "name": "j"
691
+ },
692
+ {
693
+ "type": "uint256",
694
+ "name": "dx"
695
+ }
696
+ ],
697
+ "stateMutability": "view",
698
+ "type": "function"
699
+ },
700
+ {
701
+ "name": "get_dy",
702
+ "outputs": [
703
+ {
704
+ "type": "uint256",
705
+ "name": ""
706
+ }
707
+ ],
708
+ "inputs": [
709
+ {
710
+ "type": "int128",
711
+ "name": "i"
712
+ },
713
+ {
714
+ "type": "int128",
715
+ "name": "j"
716
+ },
717
+ {
718
+ "type": "uint256",
719
+ "name": "dx"
720
+ },
721
+ {
722
+ "type": "uint256[2]",
723
+ "name": "_balances"
724
+ }
725
+ ],
726
+ "stateMutability": "view",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "name": "get_dy_underlying",
731
+ "outputs": [
732
+ {
733
+ "type": "uint256",
734
+ "name": ""
735
+ }
736
+ ],
737
+ "inputs": [
738
+ {
739
+ "type": "int128",
740
+ "name": "i"
741
+ },
742
+ {
743
+ "type": "int128",
744
+ "name": "j"
745
+ },
746
+ {
747
+ "type": "uint256",
748
+ "name": "dx"
749
+ }
750
+ ],
751
+ "stateMutability": "view",
752
+ "type": "function"
753
+ },
754
+ {
755
+ "name": "get_dy_underlying",
756
+ "outputs": [
757
+ {
758
+ "type": "uint256",
759
+ "name": ""
760
+ }
761
+ ],
762
+ "inputs": [
763
+ {
764
+ "type": "int128",
765
+ "name": "i"
766
+ },
767
+ {
768
+ "type": "int128",
769
+ "name": "j"
770
+ },
771
+ {
772
+ "type": "uint256",
773
+ "name": "dx"
774
+ },
775
+ {
776
+ "type": "uint256[2]",
777
+ "name": "_balances"
778
+ }
779
+ ],
780
+ "stateMutability": "view",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "name": "exchange",
785
+ "outputs": [
786
+ {
787
+ "type": "uint256",
788
+ "name": ""
789
+ }
790
+ ],
791
+ "inputs": [
792
+ {
793
+ "type": "int128",
794
+ "name": "i"
795
+ },
796
+ {
797
+ "type": "int128",
798
+ "name": "j"
799
+ },
800
+ {
801
+ "type": "uint256",
802
+ "name": "dx"
803
+ },
804
+ {
805
+ "type": "uint256",
806
+ "name": "min_dy"
807
+ }
808
+ ],
809
+ "stateMutability": "nonpayable",
810
+ "type": "function"
811
+ },
812
+ {
813
+ "name": "exchange",
814
+ "outputs": [
815
+ {
816
+ "type": "uint256",
817
+ "name": ""
818
+ }
819
+ ],
820
+ "inputs": [
821
+ {
822
+ "type": "int128",
823
+ "name": "i"
824
+ },
825
+ {
826
+ "type": "int128",
827
+ "name": "j"
828
+ },
829
+ {
830
+ "type": "uint256",
831
+ "name": "dx"
832
+ },
833
+ {
834
+ "type": "uint256",
835
+ "name": "min_dy"
836
+ },
837
+ {
838
+ "type": "address",
839
+ "name": "_receiver"
840
+ }
841
+ ],
842
+ "stateMutability": "nonpayable",
843
+ "type": "function"
844
+ },
845
+ {
846
+ "name": "exchange_underlying",
847
+ "outputs": [
848
+ {
849
+ "type": "uint256",
850
+ "name": ""
851
+ }
852
+ ],
853
+ "inputs": [
854
+ {
855
+ "type": "int128",
856
+ "name": "i"
857
+ },
858
+ {
859
+ "type": "int128",
860
+ "name": "j"
861
+ },
862
+ {
863
+ "type": "uint256",
864
+ "name": "dx"
865
+ },
866
+ {
867
+ "type": "uint256",
868
+ "name": "min_dy"
869
+ }
870
+ ],
871
+ "stateMutability": "nonpayable",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "name": "exchange_underlying",
876
+ "outputs": [
877
+ {
878
+ "type": "uint256",
879
+ "name": ""
880
+ }
881
+ ],
882
+ "inputs": [
883
+ {
884
+ "type": "int128",
885
+ "name": "i"
886
+ },
887
+ {
888
+ "type": "int128",
889
+ "name": "j"
890
+ },
891
+ {
892
+ "type": "uint256",
893
+ "name": "dx"
894
+ },
895
+ {
896
+ "type": "uint256",
897
+ "name": "min_dy"
898
+ },
899
+ {
900
+ "type": "address",
901
+ "name": "_receiver"
902
+ }
903
+ ],
904
+ "stateMutability": "nonpayable",
905
+ "type": "function"
906
+ },
907
+ {
908
+ "name": "remove_liquidity",
909
+ "outputs": [
910
+ {
911
+ "type": "uint256[2]",
912
+ "name": ""
913
+ }
914
+ ],
915
+ "inputs": [
916
+ {
917
+ "type": "uint256",
918
+ "name": "_burn_amount"
919
+ },
920
+ {
921
+ "type": "uint256[2]",
922
+ "name": "_min_amounts"
923
+ }
924
+ ],
925
+ "stateMutability": "nonpayable",
926
+ "type": "function"
927
+ },
928
+ {
929
+ "name": "remove_liquidity",
930
+ "outputs": [
931
+ {
932
+ "type": "uint256[2]",
933
+ "name": ""
934
+ }
935
+ ],
936
+ "inputs": [
937
+ {
938
+ "type": "uint256",
939
+ "name": "_burn_amount"
940
+ },
941
+ {
942
+ "type": "uint256[2]",
943
+ "name": "_min_amounts"
944
+ },
945
+ {
946
+ "type": "address",
947
+ "name": "_receiver"
948
+ }
949
+ ],
950
+ "stateMutability": "nonpayable",
951
+ "type": "function"
952
+ },
953
+ {
954
+ "name": "remove_liquidity_imbalance",
955
+ "outputs": [
956
+ {
957
+ "type": "uint256",
958
+ "name": ""
959
+ }
960
+ ],
961
+ "inputs": [
962
+ {
963
+ "type": "uint256[2]",
964
+ "name": "_amounts"
965
+ },
966
+ {
967
+ "type": "uint256",
968
+ "name": "_max_burn_amount"
969
+ }
970
+ ],
971
+ "stateMutability": "nonpayable",
972
+ "type": "function"
973
+ },
974
+ {
975
+ "name": "remove_liquidity_imbalance",
976
+ "outputs": [
977
+ {
978
+ "type": "uint256",
979
+ "name": ""
980
+ }
981
+ ],
982
+ "inputs": [
983
+ {
984
+ "type": "uint256[2]",
985
+ "name": "_amounts"
986
+ },
987
+ {
988
+ "type": "uint256",
989
+ "name": "_max_burn_amount"
990
+ },
991
+ {
992
+ "type": "address",
993
+ "name": "_receiver"
994
+ }
995
+ ],
996
+ "stateMutability": "nonpayable",
997
+ "type": "function"
998
+ },
999
+ {
1000
+ "name": "calc_withdraw_one_coin",
1001
+ "outputs": [
1002
+ {
1003
+ "type": "uint256",
1004
+ "name": ""
1005
+ }
1006
+ ],
1007
+ "inputs": [
1008
+ {
1009
+ "type": "uint256",
1010
+ "name": "_burn_amount"
1011
+ },
1012
+ {
1013
+ "type": "int128",
1014
+ "name": "i"
1015
+ }
1016
+ ],
1017
+ "stateMutability": "view",
1018
+ "type": "function"
1019
+ },
1020
+ {
1021
+ "name": "calc_withdraw_one_coin",
1022
+ "outputs": [
1023
+ {
1024
+ "type": "uint256",
1025
+ "name": ""
1026
+ }
1027
+ ],
1028
+ "inputs": [
1029
+ {
1030
+ "type": "uint256",
1031
+ "name": "_burn_amount"
1032
+ },
1033
+ {
1034
+ "type": "int128",
1035
+ "name": "i"
1036
+ },
1037
+ {
1038
+ "type": "bool",
1039
+ "name": "_previous"
1040
+ }
1041
+ ],
1042
+ "stateMutability": "view",
1043
+ "type": "function"
1044
+ },
1045
+ {
1046
+ "name": "remove_liquidity_one_coin",
1047
+ "outputs": [
1048
+ {
1049
+ "type": "uint256",
1050
+ "name": ""
1051
+ }
1052
+ ],
1053
+ "inputs": [
1054
+ {
1055
+ "type": "uint256",
1056
+ "name": "_burn_amount"
1057
+ },
1058
+ {
1059
+ "type": "int128",
1060
+ "name": "i"
1061
+ },
1062
+ {
1063
+ "type": "uint256",
1064
+ "name": "_min_received"
1065
+ }
1066
+ ],
1067
+ "stateMutability": "nonpayable",
1068
+ "type": "function"
1069
+ },
1070
+ {
1071
+ "name": "remove_liquidity_one_coin",
1072
+ "outputs": [
1073
+ {
1074
+ "type": "uint256",
1075
+ "name": ""
1076
+ }
1077
+ ],
1078
+ "inputs": [
1079
+ {
1080
+ "type": "uint256",
1081
+ "name": "_burn_amount"
1082
+ },
1083
+ {
1084
+ "type": "int128",
1085
+ "name": "i"
1086
+ },
1087
+ {
1088
+ "type": "uint256",
1089
+ "name": "_min_received"
1090
+ },
1091
+ {
1092
+ "type": "address",
1093
+ "name": "_receiver"
1094
+ }
1095
+ ],
1096
+ "stateMutability": "nonpayable",
1097
+ "type": "function"
1098
+ },
1099
+ {
1100
+ "name": "ramp_A",
1101
+ "outputs": [],
1102
+ "inputs": [
1103
+ {
1104
+ "type": "uint256",
1105
+ "name": "_future_A"
1106
+ },
1107
+ {
1108
+ "type": "uint256",
1109
+ "name": "_future_time"
1110
+ }
1111
+ ],
1112
+ "stateMutability": "nonpayable",
1113
+ "type": "function",
1114
+ "gas": 152464
1115
+ },
1116
+ {
1117
+ "name": "stop_ramp_A",
1118
+ "outputs": [],
1119
+ "inputs": [],
1120
+ "stateMutability": "nonpayable",
1121
+ "type": "function",
1122
+ "gas": 149225
1123
+ },
1124
+ {
1125
+ "name": "admin_balances",
1126
+ "outputs": [
1127
+ {
1128
+ "type": "uint256",
1129
+ "name": ""
1130
+ }
1131
+ ],
1132
+ "inputs": [
1133
+ {
1134
+ "type": "uint256",
1135
+ "name": "i"
1136
+ }
1137
+ ],
1138
+ "stateMutability": "view",
1139
+ "type": "function",
1140
+ "gas": 3601
1141
+ },
1142
+ {
1143
+ "name": "withdraw_admin_fees",
1144
+ "outputs": [],
1145
+ "inputs": [],
1146
+ "stateMutability": "nonpayable",
1147
+ "type": "function",
1148
+ "gas": 11347
1149
+ },
1150
+ {
1151
+ "name": "admin",
1152
+ "outputs": [
1153
+ {
1154
+ "type": "address",
1155
+ "name": ""
1156
+ }
1157
+ ],
1158
+ "inputs": [],
1159
+ "stateMutability": "view",
1160
+ "type": "function",
1161
+ "gas": 2141
1162
+ },
1163
+ {
1164
+ "name": "coins",
1165
+ "outputs": [
1166
+ {
1167
+ "type": "address",
1168
+ "name": ""
1169
+ }
1170
+ ],
1171
+ "inputs": [
1172
+ {
1173
+ "type": "uint256",
1174
+ "name": "arg0"
1175
+ }
1176
+ ],
1177
+ "stateMutability": "view",
1178
+ "type": "function",
1179
+ "gas": 2280
1180
+ },
1181
+ {
1182
+ "name": "balances",
1183
+ "outputs": [
1184
+ {
1185
+ "type": "uint256",
1186
+ "name": ""
1187
+ }
1188
+ ],
1189
+ "inputs": [
1190
+ {
1191
+ "type": "uint256",
1192
+ "name": "arg0"
1193
+ }
1194
+ ],
1195
+ "stateMutability": "view",
1196
+ "type": "function",
1197
+ "gas": 2310
1198
+ },
1199
+ {
1200
+ "name": "fee",
1201
+ "outputs": [
1202
+ {
1203
+ "type": "uint256",
1204
+ "name": ""
1205
+ }
1206
+ ],
1207
+ "inputs": [],
1208
+ "stateMutability": "view",
1209
+ "type": "function",
1210
+ "gas": 2231
1211
+ },
1212
+ {
1213
+ "name": "block_timestamp_last",
1214
+ "outputs": [
1215
+ {
1216
+ "type": "uint256",
1217
+ "name": ""
1218
+ }
1219
+ ],
1220
+ "inputs": [],
1221
+ "stateMutability": "view",
1222
+ "type": "function",
1223
+ "gas": 2261
1224
+ },
1225
+ {
1226
+ "name": "initial_A",
1227
+ "outputs": [
1228
+ {
1229
+ "type": "uint256",
1230
+ "name": ""
1231
+ }
1232
+ ],
1233
+ "inputs": [],
1234
+ "stateMutability": "view",
1235
+ "type": "function",
1236
+ "gas": 2291
1237
+ },
1238
+ {
1239
+ "name": "future_A",
1240
+ "outputs": [
1241
+ {
1242
+ "type": "uint256",
1243
+ "name": ""
1244
+ }
1245
+ ],
1246
+ "inputs": [],
1247
+ "stateMutability": "view",
1248
+ "type": "function",
1249
+ "gas": 2321
1250
+ },
1251
+ {
1252
+ "name": "initial_A_time",
1253
+ "outputs": [
1254
+ {
1255
+ "type": "uint256",
1256
+ "name": ""
1257
+ }
1258
+ ],
1259
+ "inputs": [],
1260
+ "stateMutability": "view",
1261
+ "type": "function",
1262
+ "gas": 2351
1263
+ },
1264
+ {
1265
+ "name": "future_A_time",
1266
+ "outputs": [
1267
+ {
1268
+ "type": "uint256",
1269
+ "name": ""
1270
+ }
1271
+ ],
1272
+ "inputs": [],
1273
+ "stateMutability": "view",
1274
+ "type": "function",
1275
+ "gas": 2381
1276
+ },
1277
+ {
1278
+ "name": "name",
1279
+ "outputs": [
1280
+ {
1281
+ "type": "string",
1282
+ "name": ""
1283
+ }
1284
+ ],
1285
+ "inputs": [],
1286
+ "stateMutability": "view",
1287
+ "type": "function",
1288
+ "gas": 8813
1289
+ },
1290
+ {
1291
+ "name": "symbol",
1292
+ "outputs": [
1293
+ {
1294
+ "type": "string",
1295
+ "name": ""
1296
+ }
1297
+ ],
1298
+ "inputs": [],
1299
+ "stateMutability": "view",
1300
+ "type": "function",
1301
+ "gas": 7866
1302
+ },
1303
+ {
1304
+ "name": "balanceOf",
1305
+ "outputs": [
1306
+ {
1307
+ "type": "uint256",
1308
+ "name": ""
1309
+ }
1310
+ ],
1311
+ "inputs": [
1312
+ {
1313
+ "type": "address",
1314
+ "name": "arg0"
1315
+ }
1316
+ ],
1317
+ "stateMutability": "view",
1318
+ "type": "function",
1319
+ "gas": 2686
1320
+ },
1321
+ {
1322
+ "name": "allowance",
1323
+ "outputs": [
1324
+ {
1325
+ "type": "uint256",
1326
+ "name": ""
1327
+ }
1328
+ ],
1329
+ "inputs": [
1330
+ {
1331
+ "type": "address",
1332
+ "name": "arg0"
1333
+ },
1334
+ {
1335
+ "type": "address",
1336
+ "name": "arg1"
1337
+ }
1338
+ ],
1339
+ "stateMutability": "view",
1340
+ "type": "function",
1341
+ "gas": 2931
1342
+ },
1343
+ {
1344
+ "name": "totalSupply",
1345
+ "outputs": [
1346
+ {
1347
+ "type": "uint256",
1348
+ "name": ""
1349
+ }
1350
+ ],
1351
+ "inputs": [],
1352
+ "stateMutability": "view",
1353
+ "type": "function",
1354
+ "gas": 2531
1355
+ }
1356
+ ]