@paraswap/dex-lib 4.0.20 → 4.0.21

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 (241) hide show
  1. package/.vscode/launch.json +53 -0
  2. package/.vscode/settings.json +2 -0
  3. package/.vscode/tasks.json +15 -0
  4. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +52 -0
  5. package/build/abi/usual-m-smart-m/usualM.abi.json +483 -0
  6. package/build/abi/{angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json → wombat/pool.json} +637 -594
  7. package/build/dex/aave-v1/aave-v1.js +1 -0
  8. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  9. package/build/dex/aave-v2/tokens-avalanche.json +44 -0
  10. package/build/dex/aave-v2/tokens-mainnet.json +188 -0
  11. package/build/dex/aave-v2/tokens-polygon.json +44 -0
  12. package/build/dex/bProtocol.d.ts +18 -0
  13. package/build/dex/bProtocol.js +39 -0
  14. package/build/dex/bProtocol.js.map +1 -0
  15. package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +729 -0
  16. package/build/dex/balancer-v3/abi/balancerBatchRouter.js +732 -0
  17. package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +1 -0
  18. package/build/dex/balancer-v3/abi/balancerRouter.d.ts +1406 -0
  19. package/build/dex/balancer-v3/abi/balancerRouter.js +1175 -0
  20. package/build/dex/balancer-v3/abi/balancerRouter.js.map +1 -0
  21. package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +2081 -0
  22. package/build/dex/balancer-v3/abi/vaultExtension.V3.js +1851 -0
  23. package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +1 -0
  24. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +34 -0
  25. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +406 -0
  26. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js.map +1 -0
  27. package/build/dex/bancor.d.ts +26 -0
  28. package/build/dex/bancor.js +58 -0
  29. package/build/dex/bancor.js.map +1 -0
  30. package/build/dex/compound.d.ts +18 -0
  31. package/build/dex/compound.js +46 -0
  32. package/build/dex/compound.js.map +1 -0
  33. package/build/dex/curve-v2.d.ts +58 -0
  34. package/build/dex/curve-v2.js +180 -0
  35. package/build/dex/curve-v2.js.map +1 -0
  36. package/build/dex/dodo-v1.d.ts +33 -0
  37. package/build/dex/dodo-v1.js +63 -0
  38. package/build/dex/dodo-v1.js.map +1 -0
  39. package/build/dex/inception/inception-event-pool.d.ts +4 -4
  40. package/build/dex/inception/inception-event-pool.js +7 -9
  41. package/build/dex/inception/inception-event-pool.js.map +1 -1
  42. package/build/dex/inception/inception.d.ts +6 -6
  43. package/build/dex/inception/inception.js +16 -40
  44. package/build/dex/inception/inception.js.map +1 -1
  45. package/build/dex/inception/utils.d.ts +1 -0
  46. package/build/dex/inception/utils.js +22 -1
  47. package/build/dex/inception/utils.js.map +1 -1
  48. package/build/dex/lido.d.ts +19 -0
  49. package/build/dex/lido.js +42 -0
  50. package/build/dex/lido.js.map +1 -0
  51. package/build/dex/maker-psm/scripts/gem.abi.json +136 -0
  52. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  53. package/build/dex/maker-psm/scripts/validate-state.js +185 -0
  54. package/build/dex/maker-psm/scripts/validate-state.js.map +1 -0
  55. package/build/dex/maker-psm/scripts/vat.abi.json +243 -0
  56. package/build/dex/onebit.d.ts +25 -0
  57. package/build/dex/onebit.js +42 -0
  58. package/build/dex/onebit.js.map +1 -0
  59. package/build/dex/platypus/platypus.js +17 -3
  60. package/build/dex/platypus/platypus.js.map +1 -1
  61. package/build/dex/smoothy.d.ts +26 -0
  62. package/build/dex/smoothy.js +48 -0
  63. package/build/dex/smoothy.js.map +1 -0
  64. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +1 -0
  65. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +53 -0
  66. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +1 -0
  67. package/build/dex/stable-pool.d.ts +28 -0
  68. package/build/dex/stable-pool.js +55 -0
  69. package/build/dex/stable-pool.js.map +1 -0
  70. package/build/dex/stkgho/stkgho.js +4 -2
  71. package/build/dex/stkgho/stkgho.js.map +1 -1
  72. package/build/dex/swaap-v1/swaap-v1.js +4 -0
  73. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  74. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +7 -0
  75. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +20 -0
  76. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +1 -0
  77. package/build/dex/trader-joe-v2.1.d.ts +43 -0
  78. package/build/dex/trader-joe-v2.1.js +79 -0
  79. package/build/dex/trader-joe-v2.1.js.map +1 -0
  80. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +17 -0
  81. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +64 -0
  82. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +1 -0
  83. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +17 -0
  84. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +79 -0
  85. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +1 -0
  86. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +4 -0
  87. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +43 -0
  88. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +1 -0
  89. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +1 -0
  90. package/build/dex/uniswap-v3/uniswap-v3-worker.js +10 -0
  91. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +1 -0
  92. package/build/dex/usual/usual-m-smart-m.d.ts +17 -0
  93. package/build/dex/usual/usual-m-smart-m.js +50 -0
  94. package/build/dex/usual/usual-m-smart-m.js.map +1 -0
  95. package/build/dex/usual-m-smart-m/config.d.ts +3 -0
  96. package/build/dex/usual-m-smart-m/config.js +13 -0
  97. package/build/dex/usual-m-smart-m/config.js.map +1 -0
  98. package/build/dex/usual-m-smart-m/types.d.ts +7 -0
  99. package/build/dex/usual-m-smart-m/types.js +3 -0
  100. package/build/dex/usual-m-smart-m/types.js.map +1 -0
  101. package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +35 -0
  102. package/build/dex/usual-m-smart-m/usual-m-smart-m.js +161 -0
  103. package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +1 -0
  104. package/build/dex/usual-m-usd0/config.d.ts +3 -0
  105. package/build/dex/usual-m-usd0/config.js +14 -0
  106. package/build/dex/usual-m-usd0/config.js.map +1 -0
  107. package/build/dex/usual-m-usd0/types.d.ts +8 -0
  108. package/build/dex/usual-m-usd0/types.js +3 -0
  109. package/build/dex/usual-m-usd0/types.js.map +1 -0
  110. package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +35 -0
  111. package/build/dex/usual-m-usd0/usual-m-usd0.js +159 -0
  112. package/build/dex/usual-m-usd0/usual-m-usd0.js.map +1 -0
  113. package/package.json +1 -1
  114. package/src/dex/stkgho/stkgho.ts +4 -2
  115. package/build/abi/Aave_GSM.json +0 -751
  116. package/build/abi/Balancer.json +0 -257
  117. package/build/abi/BalancerV2.json +0 -1179
  118. package/build/abi/RamsesV2Pool.abi.json +0 -1554
  119. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  120. package/build/abi/USDM.json +0 -807
  121. package/build/abi/UniswapV2Router.json +0 -397
  122. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
  123. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  124. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  125. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  126. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  127. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  128. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  129. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  130. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  131. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  132. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  133. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  134. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  135. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  136. package/build/abi/curve-v1/StableSwapUSDN.json +0 -1004
  137. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  138. package/build/abi/curve-v1/StableSwapY.json +0 -814
  139. package/build/abi/inception/inception-ineth.json +0 -609
  140. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  141. package/build/abi/kyberdmm.abi.json +0 -1148
  142. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  143. package/build/abi/nerve/nerve-metapool.json +0 -790
  144. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  145. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  146. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  147. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  148. package/build/dex/bebop/websocket-fetcher.js +0 -87
  149. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  150. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  151. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  152. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  153. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  154. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  155. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  156. package/build/dex/idle-dao/scripts.d.ts +0 -9
  157. package/build/dex/idle-dao/scripts.js +0 -552
  158. package/build/dex/idle-dao/scripts.js.map +0 -1
  159. package/build/dex/inception/inception-native.d.ts +0 -43
  160. package/build/dex/inception/inception-native.js +0 -131
  161. package/build/dex/inception/inception-native.js.map +0 -1
  162. package/build/dex/inception/inception-pool.d.ts +0 -18
  163. package/build/dex/inception/inception-pool.js +0 -32
  164. package/build/dex/inception/inception-pool.js.map +0 -1
  165. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  166. package/build/dex/inception/inception-price-feed.js +0 -51
  167. package/build/dex/inception/inception-price-feed.js.map +0 -1
  168. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  169. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  170. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  171. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  172. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  173. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  174. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  175. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  176. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  177. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  178. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  179. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  180. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  181. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  182. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  183. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  184. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  185. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  186. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  187. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  188. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  189. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  190. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  191. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  192. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  193. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  194. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  195. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  196. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  197. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  198. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  199. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  200. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  201. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  202. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  203. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  204. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  205. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  206. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  207. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  208. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  209. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  210. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  211. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  212. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  213. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  214. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  215. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  216. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  217. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  218. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  219. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  220. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  221. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  222. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  223. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  224. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  225. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  226. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  227. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  228. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  229. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  230. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  231. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  232. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  233. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  234. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  235. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  236. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  237. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  238. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  239. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  240. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  241. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
@@ -1,1356 +0,0 @@
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
- ]