@paraswap/dex-lib 2.50.4 → 2.50.5

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 (353) hide show
  1. package/build/abi/Redstone.json +739 -0
  2. package/build/abi/angle/stagToken.json +963 -0
  3. package/build/{dex/lighter-v1/abi/erc20.json → abi/angle-transmuter/MorphoOracle.json} +97 -126
  4. package/build/abi/angle-transmuter/MorphoVault.json +2506 -0
  5. package/build/abi/angle-transmuter/Pyth.json +1534 -0
  6. package/build/abi/angle-transmuter/Transmuter.json +1711 -0
  7. package/build/abi/pharaoh/PharaohPool.abi.json +1582 -0
  8. package/build/abi/smardex/smardex-factory.json +185 -0
  9. package/build/abi/smardex/smardex-pool.json +578 -0
  10. package/build/abi/smardex/smardex-router.json +648 -0
  11. package/build/abi/trader-joe-v2_1/FactoryABI.json +1208 -0
  12. package/build/abi/trader-joe-v2_1/PairABI.json +1493 -0
  13. package/build/abi/trader-joe-v2_1/RouterABI.json +1489 -0
  14. package/build/abi/trader-joe-v2_1/StateMulticall.json +193 -0
  15. package/build/abi/{integral/relayer.json → wombat/pool.json} +587 -446
  16. package/build/dex/angle-staked-stable/angle-staked-stable-pool.d.ts +55 -0
  17. package/build/dex/angle-staked-stable/angle-staked-stable-pool.js +183 -0
  18. package/build/dex/angle-staked-stable/angle-staked-stable-pool.js.map +1 -0
  19. package/build/dex/angle-staked-stable/angle-staked-stable.d.ts +50 -0
  20. package/build/dex/angle-staked-stable/angle-staked-stable.js +228 -0
  21. package/build/dex/angle-staked-stable/angle-staked-stable.js.map +1 -0
  22. package/build/dex/{woo-fi → angle-staked-stable}/config.d.ts +1 -1
  23. package/build/dex/angle-staked-stable/config.js +139 -0
  24. package/build/dex/angle-staked-stable/config.js.map +1 -0
  25. package/build/dex/angle-staked-stable/types.d.ts +15 -0
  26. package/build/dex/angle-staked-stable/types.js.map +1 -0
  27. package/build/dex/angle-transmuter/angle-transmuter-pool.d.ts +61 -0
  28. package/build/dex/angle-transmuter/angle-transmuter-pool.js +415 -0
  29. package/build/dex/angle-transmuter/angle-transmuter-pool.js.map +1 -0
  30. package/build/dex/{lighter-v1/lighter-v1.d.ts → angle-transmuter/angle-transmuter.d.ts} +31 -17
  31. package/build/dex/angle-transmuter/angle-transmuter.js +262 -0
  32. package/build/dex/angle-transmuter/angle-transmuter.js.map +1 -0
  33. package/build/dex/angle-transmuter/backedOracle.d.ts +19 -0
  34. package/build/dex/angle-transmuter/backedOracle.js +56 -0
  35. package/build/dex/angle-transmuter/backedOracle.js.map +1 -0
  36. package/build/dex/{ramses-v2 → angle-transmuter}/config.d.ts +1 -1
  37. package/build/dex/angle-transmuter/config.js +30 -0
  38. package/build/dex/angle-transmuter/config.js.map +1 -0
  39. package/build/dex/angle-transmuter/constants.d.ts +77 -0
  40. package/build/dex/angle-transmuter/constants.js +94 -0
  41. package/build/dex/angle-transmuter/constants.js.map +1 -0
  42. package/build/dex/{integral/integral-pool.d.ts → angle-transmuter/morphoOracle.d.ts} +15 -12
  43. package/build/dex/angle-transmuter/morphoOracle.js +179 -0
  44. package/build/dex/angle-transmuter/morphoOracle.js.map +1 -0
  45. package/build/dex/angle-transmuter/morphoVault.d.ts +19 -0
  46. package/build/dex/angle-transmuter/morphoVault.js +78 -0
  47. package/build/dex/angle-transmuter/morphoVault.js.map +1 -0
  48. package/build/dex/angle-transmuter/pyth.d.ts +19 -0
  49. package/build/dex/angle-transmuter/pyth.js +70 -0
  50. package/build/dex/angle-transmuter/pyth.js.map +1 -0
  51. package/build/dex/angle-transmuter/redstone.d.ts +20 -0
  52. package/build/dex/angle-transmuter/redstone.js +73 -0
  53. package/build/dex/angle-transmuter/redstone.js.map +1 -0
  54. package/build/dex/angle-transmuter/transmuter.d.ts +52 -0
  55. package/build/dex/angle-transmuter/transmuter.js +374 -0
  56. package/build/dex/angle-transmuter/transmuter.js.map +1 -0
  57. package/build/dex/angle-transmuter/types.d.ts +188 -0
  58. package/build/dex/angle-transmuter/types.js +33 -0
  59. package/build/dex/angle-transmuter/types.js.map +1 -0
  60. package/build/dex/angle-transmuter/utils.d.ts +9 -0
  61. package/build/dex/angle-transmuter/utils.js +252 -0
  62. package/build/dex/angle-transmuter/utils.js.map +1 -0
  63. package/build/dex/hashflow/constants.d.ts +27 -0
  64. package/build/dex/hashflow/constants.js +29 -1
  65. package/build/dex/hashflow/constants.js.map +1 -1
  66. package/build/dex/hashflow/hashflow.d.ts +3 -2
  67. package/build/dex/hashflow/hashflow.js +69 -12
  68. package/build/dex/hashflow/hashflow.js.map +1 -1
  69. package/build/dex/hashflow/types.d.ts +11 -0
  70. package/build/dex/hashflow/types.js +9 -0
  71. package/build/dex/hashflow/types.js.map +1 -1
  72. package/build/dex/idex.d.ts +1 -1
  73. package/build/dex/index.d.ts +2 -2
  74. package/build/dex/pancakeswap-v3/config.js +15 -0
  75. package/build/dex/pancakeswap-v3/config.js.map +1 -1
  76. package/build/dex/pancakeswap-v3/pancakeswap-v3.js +1 -1
  77. package/build/dex/pancakeswap-v3/pancakeswap-v3.js.map +1 -1
  78. package/build/dex/smardex/subgraph-queries.d.ts +1 -0
  79. package/build/dex/smardex/subgraph-queries.js +17 -0
  80. package/build/dex/smardex/subgraph-queries.js.map +1 -0
  81. package/build/dex/smardex/usd-reserves.d.ts +23 -0
  82. package/build/dex/smardex/usd-reserves.js +86 -0
  83. package/build/dex/smardex/usd-reserves.js.map +1 -0
  84. package/build/dex/{integral → trader-joe-v2-1-2}/config.d.ts +1 -1
  85. package/build/dex/trader-joe-v2-1-2/config.js +47 -0
  86. package/build/dex/trader-joe-v2-1-2/config.js.map +1 -0
  87. package/build/dex/trader-joe-v2-1-2/constants.d.ts +20 -0
  88. package/build/dex/trader-joe-v2-1-2/constants.js +22 -0
  89. package/build/dex/trader-joe-v2-1-2/constants.js.map +1 -0
  90. package/build/dex/trader-joe-v2-1-2/math/index.d.ts +37 -0
  91. package/build/dex/trader-joe-v2-1-2/math/index.js +291 -0
  92. package/build/dex/trader-joe-v2-1-2/math/index.js.map +1 -0
  93. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2-pool.d.ts +60 -0
  94. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2-pool.js +248 -0
  95. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2-pool.js.map +1 -0
  96. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2.d.ts +53 -0
  97. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2.js +307 -0
  98. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2.js.map +1 -0
  99. package/build/dex/trader-joe-v2-1-2/types.d.ts +82 -0
  100. package/build/dex/trader-joe-v2-1-2/types.js +9 -0
  101. package/build/dex/trader-joe-v2-1-2/types.js.map +1 -0
  102. package/build/dex/{lighter-v1 → trader-joe-v2_1}/config.d.ts +1 -1
  103. package/build/dex/trader-joe-v2_1/config.js +47 -0
  104. package/build/dex/trader-joe-v2_1/config.js.map +1 -0
  105. package/build/dex/trader-joe-v2_1/constants.d.ts +20 -0
  106. package/build/dex/trader-joe-v2_1/constants.js +22 -0
  107. package/build/dex/trader-joe-v2_1/constants.js.map +1 -0
  108. package/build/dex/trader-joe-v2_1/math/index.d.ts +37 -0
  109. package/build/dex/trader-joe-v2_1/math/index.js +291 -0
  110. package/build/dex/trader-joe-v2_1/math/index.js.map +1 -0
  111. package/build/dex/trader-joe-v2_1/trader-joe-v2.1.d.ts +0 -0
  112. package/build/dex/trader-joe-v2_1/trader-joe-v2.1.js +384 -0
  113. package/build/dex/trader-joe-v2_1/trader-joe-v2.1.js.map +1 -0
  114. package/build/dex/trader-joe-v2_1/trader-joe-v2_1-pool.d.ts +60 -0
  115. package/build/dex/trader-joe-v2_1/trader-joe-v2_1-pool.js +247 -0
  116. package/build/dex/trader-joe-v2_1/trader-joe-v2_1-pool.js.map +1 -0
  117. package/build/dex/trader-joe-v2_1/trader-joe-v2_1.d.ts +53 -0
  118. package/build/dex/trader-joe-v2_1/trader-joe-v2_1.js +307 -0
  119. package/build/dex/trader-joe-v2_1/trader-joe-v2_1.js.map +1 -0
  120. package/build/dex/trader-joe-v2_1/types.d.ts +82 -0
  121. package/build/dex/trader-joe-v2_1/types.js +9 -0
  122. package/build/dex/trader-joe-v2_1/types.js.map +1 -0
  123. package/build/dex/wombat/wombat-pool-poller.d.ts +22 -0
  124. package/build/dex/wombat/wombat-pool-poller.js +164 -0
  125. package/build/dex/wombat/wombat-pool-poller.js.map +1 -0
  126. package/build/dex-helper/Cache.d.ts +31 -0
  127. package/build/dex-helper/Cache.js +106 -0
  128. package/build/dex-helper/Cache.js.map +1 -0
  129. package/build/dex-helper/RedisBatcher.d.ts +20 -0
  130. package/build/dex-helper/RedisBatcher.js +75 -0
  131. package/build/dex-helper/RedisBatcher.js.map +1 -0
  132. package/build/dex-helper/RedisWrapper.d.ts +37 -0
  133. package/build/dex-helper/RedisWrapper.js +165 -0
  134. package/build/dex-helper/RedisWrapper.js.map +1 -0
  135. package/package.json +1 -1
  136. package/src/dex/hashflow/constants.ts +32 -0
  137. package/src/dex/hashflow/hashflow.ts +121 -19
  138. package/src/dex/hashflow/types.ts +20 -2
  139. package/src/dex/idex.ts +1 -1
  140. package/src/dex/index.ts +2 -2
  141. package/src/dex/pancakeswap-v3/config.ts +16 -0
  142. package/src/dex/pancakeswap-v3/pancakeswap-v3.ts +3 -1
  143. package/.idea/aws.xml +0 -17
  144. package/.idea/codeStyles/Project.xml +0 -19
  145. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  146. package/.idea/misc.xml +0 -6
  147. package/.idea/modules.xml +0 -8
  148. package/.idea/paraswap-dex-lib.iml +0 -9
  149. package/.idea/prettier.xml +0 -7
  150. package/.idea/vcs.xml +0 -6
  151. package/build/abi/AugustusV6.abi.json +0 -395
  152. package/build/abi/algebra/AlgebraPool.abi.json +0 -727
  153. package/build/abi/curve-v1/StableSwapFRXETH.json +0 -889
  154. package/build/abi/curve-v1/StableSwapWBETH.json +0 -1223
  155. package/build/abi/sushiswap-v3/QuoterV2.json +0 -267
  156. package/build/abi/sushiswap-v3/RouterProcessor3.json +0 -289
  157. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  158. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3QuoterV2.abi.json +0 -285
  159. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3Router.abi.json +0 -583
  160. package/build/abi/wBETH.json +0 -1527
  161. package/build/abi/woo-fi/WooFeeManager.abi.json +0 -318
  162. package/build/abi/woo-fi/WooPP.abi.json +0 -548
  163. package/build/abi/woo-fi/Wooracle.abi.json +0 -260
  164. package/build/dex/aave-v3/tokens/arbitrum.json +0 -50
  165. package/build/dex/aave-v3/tokens/avalanche.json +0 -74
  166. package/build/dex/aave-v3/tokens/fantom.json +0 -62
  167. package/build/dex/aave-v3/tokens/optimism.json +0 -50
  168. package/build/dex/aave-v3/tokens/polygon.json +0 -116
  169. package/build/dex/algebra/algebra-pool.d.ts +0 -114
  170. package/build/dex/algebra/algebra-pool.js +0 -448
  171. package/build/dex/algebra/algebra-pool.js.map +0 -1
  172. package/build/dex/balancer-v2/Gyro3Pool.d.ts +0 -43
  173. package/build/dex/balancer-v2/Gyro3Pool.js +0 -160
  174. package/build/dex/balancer-v2/Gyro3Pool.js.map +0 -1
  175. package/build/dex/balancer-v2/LinearMath.d.ts +0 -88
  176. package/build/dex/balancer-v2/LinearMath.js +0 -285
  177. package/build/dex/balancer-v2/LinearMath.js.map +0 -1
  178. package/build/dex/balancer-v2/LinearPool.d.ts +0 -81
  179. package/build/dex/balancer-v2/LinearPool.js +0 -444
  180. package/build/dex/balancer-v2/LinearPool.js.map +0 -1
  181. package/build/dex/balancer-v2/PhantomStablePool.d.ts +0 -90
  182. package/build/dex/balancer-v2/PhantomStablePool.js +0 -418
  183. package/build/dex/balancer-v2/PhantomStablePool.js.map +0 -1
  184. package/build/dex/balancer-v2/StableMath.d.ts +0 -9
  185. package/build/dex/balancer-v2/StableMath.js +0 -272
  186. package/build/dex/balancer-v2/StableMath.js.map +0 -1
  187. package/build/dex/balancer-v2/balancer-v2-pool.d.ts +0 -140
  188. package/build/dex/balancer-v2/balancer-v2-pool.js +0 -647
  189. package/build/dex/balancer-v2/balancer-v2-pool.js.map +0 -1
  190. package/build/dex/curve-v1/pools/frxETHpool.d.ts +0 -7
  191. package/build/dex/curve-v1/pools/frxETHpool.js +0 -27
  192. package/build/dex/curve-v1/pools/frxETHpool.js.map +0 -1
  193. package/build/dex/curve-v1/pools/wbETHpool.d.ts +0 -29
  194. package/build/dex/curve-v1/pools/wbETHpool.js +0 -408
  195. package/build/dex/curve-v1/pools/wbETHpool.js.map +0 -1
  196. package/build/dex/integral/config.js +0 -18
  197. package/build/dex/integral/config.js.map +0 -1
  198. package/build/dex/integral/integral-pool.js +0 -67
  199. package/build/dex/integral/integral-pool.js.map +0 -1
  200. package/build/dex/integral/integral.d.ts +0 -48
  201. package/build/dex/integral/integral.js +0 -402
  202. package/build/dex/integral/integral.js.map +0 -1
  203. package/build/dex/integral/types.d.ts +0 -25
  204. package/build/dex/integral/types.js +0 -9
  205. package/build/dex/integral/types.js.map +0 -1
  206. package/build/dex/lighter-v1/abi/factory.json +0 -291
  207. package/build/dex/lighter-v1/abi/order_book.json +0 -594
  208. package/build/dex/lighter-v1/abi/order_book_helper.json +0 -176
  209. package/build/dex/lighter-v1/abi/router.json +0 -488
  210. package/build/dex/lighter-v1/config.js +0 -17
  211. package/build/dex/lighter-v1/config.js.map +0 -1
  212. package/build/dex/lighter-v1/constants.d.ts +0 -2
  213. package/build/dex/lighter-v1/constants.js +0 -13
  214. package/build/dex/lighter-v1/constants.js.map +0 -1
  215. package/build/dex/lighter-v1/lighter-v1-pool.d.ts +0 -57
  216. package/build/dex/lighter-v1/lighter-v1-pool.js +0 -310
  217. package/build/dex/lighter-v1/lighter-v1-pool.js.map +0 -1
  218. package/build/dex/lighter-v1/lighter-v1.js +0 -331
  219. package/build/dex/lighter-v1/lighter-v1.js.map +0 -1
  220. package/build/dex/lighter-v1/types.d.ts +0 -40
  221. package/build/dex/lighter-v1/types.js.map +0 -1
  222. package/build/dex/pancakeswap-v3/types.d.ts +0 -14
  223. package/build/dex/pancakeswap-v3/types.js +0 -3
  224. package/build/dex/pancakeswap-v3/types.js.map +0 -1
  225. package/build/dex/quickswap/camelot-v3.d.ts +0 -6
  226. package/build/dex/quickswap/camelot-v3.js +0 -19
  227. package/build/dex/quickswap/camelot-v3.js.map +0 -1
  228. package/build/dex/quickswap/zyberswap-v3.d.ts +0 -6
  229. package/build/dex/quickswap/zyberswap-v3.js +0 -19
  230. package/build/dex/quickswap/zyberswap-v3.js.map +0 -1
  231. package/build/dex/quickswap-v3.d.ts +0 -21
  232. package/build/dex/quickswap-v3.js +0 -40
  233. package/build/dex/quickswap-v3.js.map +0 -1
  234. package/build/dex/ramses-v2/config.js +0 -28
  235. package/build/dex/ramses-v2/config.js.map +0 -1
  236. package/build/dex/ramses-v2/constants.d.ts +0 -28
  237. package/build/dex/ramses-v2/constants.js +0 -35
  238. package/build/dex/ramses-v2/constants.js.map +0 -1
  239. package/build/dex/ramses-v2/contract-math/BitMath.d.ts +0 -4
  240. package/build/dex/ramses-v2/contract-math/BitMath.js +0 -93
  241. package/build/dex/ramses-v2/contract-math/BitMath.js.map +0 -1
  242. package/build/dex/ramses-v2/contract-math/FixedPoint128.d.ts +0 -3
  243. package/build/dex/ramses-v2/contract-math/FixedPoint128.js +0 -8
  244. package/build/dex/ramses-v2/contract-math/FixedPoint128.js.map +0 -1
  245. package/build/dex/ramses-v2/contract-math/FixedPoint96.d.ts +0 -4
  246. package/build/dex/ramses-v2/contract-math/FixedPoint96.js +0 -9
  247. package/build/dex/ramses-v2/contract-math/FixedPoint96.js.map +0 -1
  248. package/build/dex/ramses-v2/contract-math/FullMath.d.ts +0 -4
  249. package/build/dex/ramses-v2/contract-math/FullMath.js +0 -19
  250. package/build/dex/ramses-v2/contract-math/FullMath.js.map +0 -1
  251. package/build/dex/ramses-v2/contract-math/LiquidityMath.d.ts +0 -3
  252. package/build/dex/ramses-v2/contract-math/LiquidityMath.js +0 -22
  253. package/build/dex/ramses-v2/contract-math/LiquidityMath.js.map +0 -1
  254. package/build/dex/ramses-v2/contract-math/Oracle.d.ts +0 -10
  255. package/build/dex/ramses-v2/contract-math/Oracle.js +0 -133
  256. package/build/dex/ramses-v2/contract-math/Oracle.js.map +0 -1
  257. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.d.ts +0 -10
  258. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js +0 -91
  259. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js.map +0 -1
  260. package/build/dex/ramses-v2/contract-math/SwapMath.d.ts +0 -8
  261. package/build/dex/ramses-v2/contract-math/SwapMath.js +0 -70
  262. package/build/dex/ramses-v2/contract-math/SwapMath.js.map +0 -1
  263. package/build/dex/ramses-v2/contract-math/Tick.d.ts +0 -7
  264. package/build/dex/ramses-v2/contract-math/Tick.js +0 -45
  265. package/build/dex/ramses-v2/contract-math/Tick.js.map +0 -1
  266. package/build/dex/ramses-v2/contract-math/TickBitMap.d.ts +0 -8
  267. package/build/dex/ramses-v2/contract-math/TickBitMap.js +0 -87
  268. package/build/dex/ramses-v2/contract-math/TickBitMap.js.map +0 -1
  269. package/build/dex/ramses-v2/contract-math/TickMath.d.ts +0 -8
  270. package/build/dex/ramses-v2/contract-math/TickMath.js +0 -162
  271. package/build/dex/ramses-v2/contract-math/TickMath.js.map +0 -1
  272. package/build/dex/ramses-v2/contract-math/UnsafeMath.d.ts +0 -3
  273. package/build/dex/ramses-v2/contract-math/UnsafeMath.js +0 -10
  274. package/build/dex/ramses-v2/contract-math/UnsafeMath.js.map +0 -1
  275. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.d.ts +0 -18
  276. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js +0 -392
  277. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js.map +0 -1
  278. package/build/dex/ramses-v2/contract-math/utils.d.ts +0 -3
  279. package/build/dex/ramses-v2/contract-math/utils.js +0 -16
  280. package/build/dex/ramses-v2/contract-math/utils.js.map +0 -1
  281. package/build/dex/ramses-v2/ramses-v2-pool.d.ts +0 -42
  282. package/build/dex/ramses-v2/ramses-v2-pool.js +0 -307
  283. package/build/dex/ramses-v2/ramses-v2-pool.js.map +0 -1
  284. package/build/dex/ramses-v2/ramses-v2.d.ts +0 -61
  285. package/build/dex/ramses-v2/ramses-v2.js +0 -690
  286. package/build/dex/ramses-v2/ramses-v2.js.map +0 -1
  287. package/build/dex/ramses-v2/types.d.ts +0 -154
  288. package/build/dex/ramses-v2/types.js +0 -9
  289. package/build/dex/ramses-v2/types.js.map +0 -1
  290. package/build/dex/ramses-v2/utils.d.ts +0 -6
  291. package/build/dex/ramses-v2/utils.js +0 -71
  292. package/build/dex/ramses-v2/utils.js.map +0 -1
  293. package/build/dex/solidly/forks-override/fvm.d.ts +0 -20
  294. package/build/dex/solidly/forks-override/fvm.js +0 -42
  295. package/build/dex/solidly/forks-override/fvm.js.map +0 -1
  296. package/build/dex/sushiswap-v3/config.d.ts +0 -4
  297. package/build/dex/sushiswap-v3/config.js +0 -132
  298. package/build/dex/sushiswap-v3/config.js.map +0 -1
  299. package/build/dex/sushiswap-v3/constants.d.ts +0 -4
  300. package/build/dex/sushiswap-v3/constants.js +0 -32
  301. package/build/dex/sushiswap-v3/constants.js.map +0 -1
  302. package/build/dex/sushiswap-v3/sushiswap-v3-original.d.ts +0 -56
  303. package/build/dex/sushiswap-v3/sushiswap-v3-original.js +0 -598
  304. package/build/dex/sushiswap-v3/sushiswap-v3-original.js.map +0 -1
  305. package/build/dex/sushiswap-v3/sushiswap-v3-pool.d.ts +0 -1
  306. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js +0 -6
  307. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js.map +0 -1
  308. package/build/dex/sushiswap-v3/sushiswap-v3.d.ts +0 -21
  309. package/build/dex/sushiswap-v3/sushiswap-v3.js +0 -58
  310. package/build/dex/sushiswap-v3/sushiswap-v3.js.map +0 -1
  311. package/build/dex/sushiswap-v3/token.d.ts +0 -6
  312. package/build/dex/sushiswap-v3/token.js +0 -23
  313. package/build/dex/sushiswap-v3/token.js.map +0 -1
  314. package/build/dex/sushiswap-v3/types.d.ts +0 -15
  315. package/build/dex/sushiswap-v3/types.js +0 -18
  316. package/build/dex/sushiswap-v3/types.js.map +0 -1
  317. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.d.ts +0 -12
  318. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js +0 -23
  319. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js.map +0 -1
  320. package/build/dex/woo-fi/config.js +0 -141
  321. package/build/dex/woo-fi/config.js.map +0 -1
  322. package/build/dex/woo-fi/constants.d.ts +0 -5
  323. package/build/dex/woo-fi/constants.js +0 -20
  324. package/build/dex/woo-fi/constants.js.map +0 -1
  325. package/build/dex/woo-fi/types.d.ts +0 -48
  326. package/build/dex/woo-fi/types.js +0 -3
  327. package/build/dex/woo-fi/types.js.map +0 -1
  328. package/build/dex/woo-fi/woo-fi-decimal-math.d.ts +0 -14
  329. package/build/dex/woo-fi/woo-fi-decimal-math.js +0 -42
  330. package/build/dex/woo-fi/woo-fi-decimal-math.js.map +0 -1
  331. package/build/dex/woo-fi/woo-fi-math.d.ts +0 -31
  332. package/build/dex/woo-fi/woo-fi-math.js +0 -300
  333. package/build/dex/woo-fi/woo-fi-math.js.map +0 -1
  334. package/build/dex/woo-fi/woo-fi.d.ts +0 -65
  335. package/build/dex/woo-fi/woo-fi.js +0 -480
  336. package/build/dex/woo-fi/woo-fi.js.map +0 -1
  337. package/build/executor/Executor01BytecodeBuilder.d.ts +0 -77
  338. package/build/executor/Executor01BytecodeBuilder.js +0 -359
  339. package/build/executor/Executor01BytecodeBuilder.js.map +0 -1
  340. package/build/executor/Executor02BytecodeBuilder.d.ts +0 -12
  341. package/build/executor/Executor02BytecodeBuilder.js +0 -14
  342. package/build/executor/Executor02BytecodeBuilder.js.map +0 -1
  343. package/build/executor/ExecutorDetector.d.ts +0 -28
  344. package/build/executor/ExecutorDetector.js +0 -89
  345. package/build/executor/ExecutorDetector.js.map +0 -1
  346. package/build/executor/IExecutorBytecodeBuilder.d.ts +0 -6
  347. package/build/executor/IExecutorBytecodeBuilder.js +0 -3
  348. package/build/executor/IExecutorBytecodeBuilder.js.map +0 -1
  349. package/build/generic-swap-transaction-builder.d.ts +0 -39
  350. package/build/generic-swap-transaction-builder.js +0 -156
  351. package/build/generic-swap-transaction-builder.js.map +0 -1
  352. package/src/abi/uniswap-v3/AlienBaseV3Router.abi.json +0 -52
  353. /package/build/dex/{lighter-v1 → angle-staked-stable}/types.js +0 -0
@@ -0,0 +1,963 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "stateMutability": "nonpayable",
5
+ "type": "constructor"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "InvalidRate",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "NotGovernor",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "NotGovernorOrGuardian",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "Paused",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "ZeroAddress",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [
35
+ {
36
+ "indexed": false,
37
+ "internalType": "uint256",
38
+ "name": "interest",
39
+ "type": "uint256"
40
+ }
41
+ ],
42
+ "name": "Accrued",
43
+ "type": "event"
44
+ },
45
+ {
46
+ "anonymous": false,
47
+ "inputs": [
48
+ {
49
+ "indexed": true,
50
+ "internalType": "address",
51
+ "name": "owner",
52
+ "type": "address"
53
+ },
54
+ {
55
+ "indexed": true,
56
+ "internalType": "address",
57
+ "name": "spender",
58
+ "type": "address"
59
+ },
60
+ {
61
+ "indexed": false,
62
+ "internalType": "uint256",
63
+ "name": "value",
64
+ "type": "uint256"
65
+ }
66
+ ],
67
+ "name": "Approval",
68
+ "type": "event"
69
+ },
70
+ {
71
+ "anonymous": false,
72
+ "inputs": [
73
+ {
74
+ "indexed": true,
75
+ "internalType": "address",
76
+ "name": "caller",
77
+ "type": "address"
78
+ },
79
+ {
80
+ "indexed": true,
81
+ "internalType": "address",
82
+ "name": "owner",
83
+ "type": "address"
84
+ },
85
+ {
86
+ "indexed": false,
87
+ "internalType": "uint256",
88
+ "name": "assets",
89
+ "type": "uint256"
90
+ },
91
+ {
92
+ "indexed": false,
93
+ "internalType": "uint256",
94
+ "name": "shares",
95
+ "type": "uint256"
96
+ }
97
+ ],
98
+ "name": "Deposit",
99
+ "type": "event"
100
+ },
101
+ {
102
+ "anonymous": false,
103
+ "inputs": [
104
+ {
105
+ "indexed": false,
106
+ "internalType": "uint8",
107
+ "name": "version",
108
+ "type": "uint8"
109
+ }
110
+ ],
111
+ "name": "Initialized",
112
+ "type": "event"
113
+ },
114
+ {
115
+ "anonymous": false,
116
+ "inputs": [
117
+ {
118
+ "indexed": false,
119
+ "internalType": "uint256",
120
+ "name": "newMaxRate",
121
+ "type": "uint256"
122
+ }
123
+ ],
124
+ "name": "MaxRateUpdated",
125
+ "type": "event"
126
+ },
127
+ {
128
+ "anonymous": false,
129
+ "inputs": [
130
+ {
131
+ "indexed": false,
132
+ "internalType": "uint256",
133
+ "name": "newRate",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "RateUpdated",
138
+ "type": "event"
139
+ },
140
+ {
141
+ "anonymous": false,
142
+ "inputs": [
143
+ {
144
+ "indexed": false,
145
+ "internalType": "uint128",
146
+ "name": "pauseStatus",
147
+ "type": "uint128"
148
+ }
149
+ ],
150
+ "name": "ToggledPause",
151
+ "type": "event"
152
+ },
153
+ {
154
+ "anonymous": false,
155
+ "inputs": [
156
+ {
157
+ "indexed": true,
158
+ "internalType": "address",
159
+ "name": "from",
160
+ "type": "address"
161
+ },
162
+ {
163
+ "indexed": true,
164
+ "internalType": "address",
165
+ "name": "to",
166
+ "type": "address"
167
+ },
168
+ {
169
+ "indexed": false,
170
+ "internalType": "uint256",
171
+ "name": "value",
172
+ "type": "uint256"
173
+ }
174
+ ],
175
+ "name": "Transfer",
176
+ "type": "event"
177
+ },
178
+ {
179
+ "anonymous": false,
180
+ "inputs": [
181
+ {
182
+ "indexed": true,
183
+ "internalType": "address",
184
+ "name": "caller",
185
+ "type": "address"
186
+ },
187
+ {
188
+ "indexed": true,
189
+ "internalType": "address",
190
+ "name": "receiver",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "indexed": true,
195
+ "internalType": "address",
196
+ "name": "owner",
197
+ "type": "address"
198
+ },
199
+ {
200
+ "indexed": false,
201
+ "internalType": "uint256",
202
+ "name": "assets",
203
+ "type": "uint256"
204
+ },
205
+ {
206
+ "indexed": false,
207
+ "internalType": "uint256",
208
+ "name": "shares",
209
+ "type": "uint256"
210
+ }
211
+ ],
212
+ "name": "Withdraw",
213
+ "type": "event"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "accessControlManager",
218
+ "outputs": [
219
+ {
220
+ "internalType": "contract IAccessControlManager",
221
+ "name": "",
222
+ "type": "address"
223
+ }
224
+ ],
225
+ "stateMutability": "view",
226
+ "type": "function"
227
+ },
228
+ {
229
+ "inputs": [
230
+ {
231
+ "internalType": "address",
232
+ "name": "owner",
233
+ "type": "address"
234
+ },
235
+ {
236
+ "internalType": "address",
237
+ "name": "spender",
238
+ "type": "address"
239
+ }
240
+ ],
241
+ "name": "allowance",
242
+ "outputs": [
243
+ {
244
+ "internalType": "uint256",
245
+ "name": "",
246
+ "type": "uint256"
247
+ }
248
+ ],
249
+ "stateMutability": "view",
250
+ "type": "function"
251
+ },
252
+ {
253
+ "inputs": [
254
+ {
255
+ "internalType": "address",
256
+ "name": "spender",
257
+ "type": "address"
258
+ },
259
+ {
260
+ "internalType": "uint256",
261
+ "name": "amount",
262
+ "type": "uint256"
263
+ }
264
+ ],
265
+ "name": "approve",
266
+ "outputs": [
267
+ {
268
+ "internalType": "bool",
269
+ "name": "",
270
+ "type": "bool"
271
+ }
272
+ ],
273
+ "stateMutability": "nonpayable",
274
+ "type": "function"
275
+ },
276
+ {
277
+ "inputs": [],
278
+ "name": "asset",
279
+ "outputs": [
280
+ {
281
+ "internalType": "address",
282
+ "name": "",
283
+ "type": "address"
284
+ }
285
+ ],
286
+ "stateMutability": "view",
287
+ "type": "function"
288
+ },
289
+ {
290
+ "inputs": [
291
+ {
292
+ "internalType": "address",
293
+ "name": "account",
294
+ "type": "address"
295
+ }
296
+ ],
297
+ "name": "balanceOf",
298
+ "outputs": [
299
+ {
300
+ "internalType": "uint256",
301
+ "name": "",
302
+ "type": "uint256"
303
+ }
304
+ ],
305
+ "stateMutability": "view",
306
+ "type": "function"
307
+ },
308
+ {
309
+ "inputs": [
310
+ {
311
+ "internalType": "uint256",
312
+ "name": "_totalAssets",
313
+ "type": "uint256"
314
+ },
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "exp",
318
+ "type": "uint256"
319
+ }
320
+ ],
321
+ "name": "computeUpdatedAssets",
322
+ "outputs": [
323
+ {
324
+ "internalType": "uint256",
325
+ "name": "",
326
+ "type": "uint256"
327
+ }
328
+ ],
329
+ "stateMutability": "view",
330
+ "type": "function"
331
+ },
332
+ {
333
+ "inputs": [
334
+ {
335
+ "internalType": "uint256",
336
+ "name": "shares",
337
+ "type": "uint256"
338
+ }
339
+ ],
340
+ "name": "convertToAssets",
341
+ "outputs": [
342
+ {
343
+ "internalType": "uint256",
344
+ "name": "assets",
345
+ "type": "uint256"
346
+ }
347
+ ],
348
+ "stateMutability": "view",
349
+ "type": "function"
350
+ },
351
+ {
352
+ "inputs": [
353
+ {
354
+ "internalType": "uint256",
355
+ "name": "assets",
356
+ "type": "uint256"
357
+ }
358
+ ],
359
+ "name": "convertToShares",
360
+ "outputs": [
361
+ {
362
+ "internalType": "uint256",
363
+ "name": "shares",
364
+ "type": "uint256"
365
+ }
366
+ ],
367
+ "stateMutability": "view",
368
+ "type": "function"
369
+ },
370
+ {
371
+ "inputs": [],
372
+ "name": "decimals",
373
+ "outputs": [
374
+ {
375
+ "internalType": "uint8",
376
+ "name": "",
377
+ "type": "uint8"
378
+ }
379
+ ],
380
+ "stateMutability": "view",
381
+ "type": "function"
382
+ },
383
+ {
384
+ "inputs": [
385
+ {
386
+ "internalType": "address",
387
+ "name": "spender",
388
+ "type": "address"
389
+ },
390
+ {
391
+ "internalType": "uint256",
392
+ "name": "subtractedValue",
393
+ "type": "uint256"
394
+ }
395
+ ],
396
+ "name": "decreaseAllowance",
397
+ "outputs": [
398
+ {
399
+ "internalType": "bool",
400
+ "name": "",
401
+ "type": "bool"
402
+ }
403
+ ],
404
+ "stateMutability": "nonpayable",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [
409
+ {
410
+ "internalType": "uint256",
411
+ "name": "assets",
412
+ "type": "uint256"
413
+ },
414
+ {
415
+ "internalType": "address",
416
+ "name": "receiver",
417
+ "type": "address"
418
+ }
419
+ ],
420
+ "name": "deposit",
421
+ "outputs": [
422
+ {
423
+ "internalType": "uint256",
424
+ "name": "shares",
425
+ "type": "uint256"
426
+ }
427
+ ],
428
+ "stateMutability": "nonpayable",
429
+ "type": "function"
430
+ },
431
+ {
432
+ "inputs": [],
433
+ "name": "estimatedAPR",
434
+ "outputs": [
435
+ {
436
+ "internalType": "uint256",
437
+ "name": "apr",
438
+ "type": "uint256"
439
+ }
440
+ ],
441
+ "stateMutability": "view",
442
+ "type": "function"
443
+ },
444
+ {
445
+ "inputs": [
446
+ {
447
+ "internalType": "address",
448
+ "name": "spender",
449
+ "type": "address"
450
+ },
451
+ {
452
+ "internalType": "uint256",
453
+ "name": "addedValue",
454
+ "type": "uint256"
455
+ }
456
+ ],
457
+ "name": "increaseAllowance",
458
+ "outputs": [
459
+ {
460
+ "internalType": "bool",
461
+ "name": "",
462
+ "type": "bool"
463
+ }
464
+ ],
465
+ "stateMutability": "nonpayable",
466
+ "type": "function"
467
+ },
468
+ {
469
+ "inputs": [
470
+ {
471
+ "internalType": "contract IAccessControlManager",
472
+ "name": "_accessControlManager",
473
+ "type": "address"
474
+ },
475
+ {
476
+ "internalType": "contract IERC20MetadataUpgradeable",
477
+ "name": "asset_",
478
+ "type": "address"
479
+ },
480
+ {
481
+ "internalType": "string",
482
+ "name": "name_",
483
+ "type": "string"
484
+ },
485
+ {
486
+ "internalType": "string",
487
+ "name": "symbol_",
488
+ "type": "string"
489
+ },
490
+ {
491
+ "internalType": "uint256",
492
+ "name": "divizer",
493
+ "type": "uint256"
494
+ }
495
+ ],
496
+ "name": "initialize",
497
+ "outputs": [],
498
+ "stateMutability": "nonpayable",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "inputs": [
503
+ {
504
+ "internalType": "address",
505
+ "name": "admin",
506
+ "type": "address"
507
+ }
508
+ ],
509
+ "name": "isGovernor",
510
+ "outputs": [
511
+ {
512
+ "internalType": "bool",
513
+ "name": "",
514
+ "type": "bool"
515
+ }
516
+ ],
517
+ "stateMutability": "view",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "inputs": [
522
+ {
523
+ "internalType": "address",
524
+ "name": "admin",
525
+ "type": "address"
526
+ }
527
+ ],
528
+ "name": "isGovernorOrGuardian",
529
+ "outputs": [
530
+ {
531
+ "internalType": "bool",
532
+ "name": "",
533
+ "type": "bool"
534
+ }
535
+ ],
536
+ "stateMutability": "view",
537
+ "type": "function"
538
+ },
539
+ {
540
+ "inputs": [],
541
+ "name": "lastUpdate",
542
+ "outputs": [
543
+ {
544
+ "internalType": "uint40",
545
+ "name": "",
546
+ "type": "uint40"
547
+ }
548
+ ],
549
+ "stateMutability": "view",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [
554
+ {
555
+ "internalType": "address",
556
+ "name": "",
557
+ "type": "address"
558
+ }
559
+ ],
560
+ "name": "maxDeposit",
561
+ "outputs": [
562
+ {
563
+ "internalType": "uint256",
564
+ "name": "",
565
+ "type": "uint256"
566
+ }
567
+ ],
568
+ "stateMutability": "view",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [
573
+ {
574
+ "internalType": "address",
575
+ "name": "",
576
+ "type": "address"
577
+ }
578
+ ],
579
+ "name": "maxMint",
580
+ "outputs": [
581
+ {
582
+ "internalType": "uint256",
583
+ "name": "",
584
+ "type": "uint256"
585
+ }
586
+ ],
587
+ "stateMutability": "view",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "inputs": [],
592
+ "name": "maxRate",
593
+ "outputs": [
594
+ {
595
+ "internalType": "uint256",
596
+ "name": "",
597
+ "type": "uint256"
598
+ }
599
+ ],
600
+ "stateMutability": "view",
601
+ "type": "function"
602
+ },
603
+ {
604
+ "inputs": [
605
+ {
606
+ "internalType": "address",
607
+ "name": "owner",
608
+ "type": "address"
609
+ }
610
+ ],
611
+ "name": "maxRedeem",
612
+ "outputs": [
613
+ {
614
+ "internalType": "uint256",
615
+ "name": "",
616
+ "type": "uint256"
617
+ }
618
+ ],
619
+ "stateMutability": "view",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [
624
+ {
625
+ "internalType": "address",
626
+ "name": "owner",
627
+ "type": "address"
628
+ }
629
+ ],
630
+ "name": "maxWithdraw",
631
+ "outputs": [
632
+ {
633
+ "internalType": "uint256",
634
+ "name": "",
635
+ "type": "uint256"
636
+ }
637
+ ],
638
+ "stateMutability": "view",
639
+ "type": "function"
640
+ },
641
+ {
642
+ "inputs": [
643
+ {
644
+ "internalType": "uint256",
645
+ "name": "shares",
646
+ "type": "uint256"
647
+ },
648
+ {
649
+ "internalType": "address",
650
+ "name": "receiver",
651
+ "type": "address"
652
+ }
653
+ ],
654
+ "name": "mint",
655
+ "outputs": [
656
+ {
657
+ "internalType": "uint256",
658
+ "name": "assets",
659
+ "type": "uint256"
660
+ }
661
+ ],
662
+ "stateMutability": "nonpayable",
663
+ "type": "function"
664
+ },
665
+ {
666
+ "inputs": [],
667
+ "name": "name",
668
+ "outputs": [
669
+ {
670
+ "internalType": "string",
671
+ "name": "",
672
+ "type": "string"
673
+ }
674
+ ],
675
+ "stateMutability": "view",
676
+ "type": "function"
677
+ },
678
+ {
679
+ "inputs": [],
680
+ "name": "paused",
681
+ "outputs": [
682
+ {
683
+ "internalType": "uint8",
684
+ "name": "",
685
+ "type": "uint8"
686
+ }
687
+ ],
688
+ "stateMutability": "view",
689
+ "type": "function"
690
+ },
691
+ {
692
+ "inputs": [
693
+ {
694
+ "internalType": "uint256",
695
+ "name": "assets",
696
+ "type": "uint256"
697
+ }
698
+ ],
699
+ "name": "previewDeposit",
700
+ "outputs": [
701
+ {
702
+ "internalType": "uint256",
703
+ "name": "",
704
+ "type": "uint256"
705
+ }
706
+ ],
707
+ "stateMutability": "view",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [
712
+ {
713
+ "internalType": "uint256",
714
+ "name": "shares",
715
+ "type": "uint256"
716
+ }
717
+ ],
718
+ "name": "previewMint",
719
+ "outputs": [
720
+ {
721
+ "internalType": "uint256",
722
+ "name": "",
723
+ "type": "uint256"
724
+ }
725
+ ],
726
+ "stateMutability": "view",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "inputs": [
731
+ {
732
+ "internalType": "uint256",
733
+ "name": "shares",
734
+ "type": "uint256"
735
+ }
736
+ ],
737
+ "name": "previewRedeem",
738
+ "outputs": [
739
+ {
740
+ "internalType": "uint256",
741
+ "name": "",
742
+ "type": "uint256"
743
+ }
744
+ ],
745
+ "stateMutability": "view",
746
+ "type": "function"
747
+ },
748
+ {
749
+ "inputs": [
750
+ {
751
+ "internalType": "uint256",
752
+ "name": "assets",
753
+ "type": "uint256"
754
+ }
755
+ ],
756
+ "name": "previewWithdraw",
757
+ "outputs": [
758
+ {
759
+ "internalType": "uint256",
760
+ "name": "",
761
+ "type": "uint256"
762
+ }
763
+ ],
764
+ "stateMutability": "view",
765
+ "type": "function"
766
+ },
767
+ {
768
+ "inputs": [],
769
+ "name": "rate",
770
+ "outputs": [
771
+ {
772
+ "internalType": "uint208",
773
+ "name": "",
774
+ "type": "uint208"
775
+ }
776
+ ],
777
+ "stateMutability": "view",
778
+ "type": "function"
779
+ },
780
+ {
781
+ "inputs": [
782
+ {
783
+ "internalType": "uint256",
784
+ "name": "shares",
785
+ "type": "uint256"
786
+ },
787
+ {
788
+ "internalType": "address",
789
+ "name": "receiver",
790
+ "type": "address"
791
+ },
792
+ {
793
+ "internalType": "address",
794
+ "name": "owner",
795
+ "type": "address"
796
+ }
797
+ ],
798
+ "name": "redeem",
799
+ "outputs": [
800
+ {
801
+ "internalType": "uint256",
802
+ "name": "assets",
803
+ "type": "uint256"
804
+ }
805
+ ],
806
+ "stateMutability": "nonpayable",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [
811
+ {
812
+ "internalType": "uint256",
813
+ "name": "newMaxRate",
814
+ "type": "uint256"
815
+ }
816
+ ],
817
+ "name": "setMaxRate",
818
+ "outputs": [],
819
+ "stateMutability": "nonpayable",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [
824
+ {
825
+ "internalType": "uint208",
826
+ "name": "newRate",
827
+ "type": "uint208"
828
+ }
829
+ ],
830
+ "name": "setRate",
831
+ "outputs": [],
832
+ "stateMutability": "nonpayable",
833
+ "type": "function"
834
+ },
835
+ {
836
+ "inputs": [],
837
+ "name": "symbol",
838
+ "outputs": [
839
+ {
840
+ "internalType": "string",
841
+ "name": "",
842
+ "type": "string"
843
+ }
844
+ ],
845
+ "stateMutability": "view",
846
+ "type": "function"
847
+ },
848
+ {
849
+ "inputs": [],
850
+ "name": "togglePause",
851
+ "outputs": [],
852
+ "stateMutability": "nonpayable",
853
+ "type": "function"
854
+ },
855
+ {
856
+ "inputs": [],
857
+ "name": "totalAssets",
858
+ "outputs": [
859
+ {
860
+ "internalType": "uint256",
861
+ "name": "",
862
+ "type": "uint256"
863
+ }
864
+ ],
865
+ "stateMutability": "view",
866
+ "type": "function"
867
+ },
868
+ {
869
+ "inputs": [],
870
+ "name": "totalSupply",
871
+ "outputs": [
872
+ {
873
+ "internalType": "uint256",
874
+ "name": "",
875
+ "type": "uint256"
876
+ }
877
+ ],
878
+ "stateMutability": "view",
879
+ "type": "function"
880
+ },
881
+ {
882
+ "inputs": [
883
+ {
884
+ "internalType": "address",
885
+ "name": "to",
886
+ "type": "address"
887
+ },
888
+ {
889
+ "internalType": "uint256",
890
+ "name": "amount",
891
+ "type": "uint256"
892
+ }
893
+ ],
894
+ "name": "transfer",
895
+ "outputs": [
896
+ {
897
+ "internalType": "bool",
898
+ "name": "",
899
+ "type": "bool"
900
+ }
901
+ ],
902
+ "stateMutability": "nonpayable",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [
907
+ {
908
+ "internalType": "address",
909
+ "name": "from",
910
+ "type": "address"
911
+ },
912
+ {
913
+ "internalType": "address",
914
+ "name": "to",
915
+ "type": "address"
916
+ },
917
+ {
918
+ "internalType": "uint256",
919
+ "name": "amount",
920
+ "type": "uint256"
921
+ }
922
+ ],
923
+ "name": "transferFrom",
924
+ "outputs": [
925
+ {
926
+ "internalType": "bool",
927
+ "name": "",
928
+ "type": "bool"
929
+ }
930
+ ],
931
+ "stateMutability": "nonpayable",
932
+ "type": "function"
933
+ },
934
+ {
935
+ "inputs": [
936
+ {
937
+ "internalType": "uint256",
938
+ "name": "assets",
939
+ "type": "uint256"
940
+ },
941
+ {
942
+ "internalType": "address",
943
+ "name": "receiver",
944
+ "type": "address"
945
+ },
946
+ {
947
+ "internalType": "address",
948
+ "name": "owner",
949
+ "type": "address"
950
+ }
951
+ ],
952
+ "name": "withdraw",
953
+ "outputs": [
954
+ {
955
+ "internalType": "uint256",
956
+ "name": "shares",
957
+ "type": "uint256"
958
+ }
959
+ ],
960
+ "stateMutability": "nonpayable",
961
+ "type": "function"
962
+ }
963
+ ]