@paraswap/dex-lib 4.8.21 → 4.8.23-deth.0

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 (610) hide show
  1. package/build/abi/AaveV2_lending_pool.json +53 -0
  2. package/build/abi/BProtocol.json +1155 -0
  3. package/build/abi/Bancor.json +392 -0
  4. package/build/abi/Compound_CETH.json +12 -0
  5. package/build/abi/Jarvis.json +1172 -0
  6. package/build/abi/MStableAsset.json +1545 -0
  7. package/build/abi/OneInchLp.json +1304 -0
  8. package/build/abi/Onebit.json +736 -0
  9. package/build/abi/SSPM.json +829 -0
  10. package/build/abi/Shell.json +1294 -0
  11. package/build/abi/Smoothy.json +1049 -0
  12. package/build/abi/StaderOracle.json +2170 -0
  13. package/build/abi/TraderJoeV2Router.json +50 -0
  14. package/build/abi/aave-weth-gateway-avalanche.json +242 -0
  15. package/build/abi/aave-weth-gateway-polygon.json +242 -0
  16. package/build/abi/aave-weth-gateway.json +24 -0
  17. package/build/abi/bunni-v2/BunniHook.abi.json +1921 -0
  18. package/build/abi/bunni-v2/BunniHub.abi.json +1598 -0
  19. package/build/abi/bunni-v2/BunniToken.abi.json +833 -0
  20. package/build/abi/bunni-v2/FeeOverrideHooklet.abi.json +1947 -0
  21. package/build/abi/bunni-v2/FloodPlain.abi.json +1195 -0
  22. package/build/abi/bunni-v2/PoolManager.abi.json +1366 -0
  23. package/build/abi/bunni-v2/V4Quoter.abi.json +637 -0
  24. package/build/abi/concentrator/arUSD.json +568 -0
  25. package/build/abi/concentrator/arUSD5115.json +1746 -0
  26. package/build/abi/deth/delta.abi.json +22 -0
  27. package/build/abi/gmx/fast-price-events.json +70 -0
  28. package/build/abi/gmx/fast-price-feed.json +748 -0
  29. package/build/abi/gmx/reader.json +337 -0
  30. package/build/abi/gmx/vault-price-feed.json +477 -0
  31. package/build/abi/gmx/vault.json +2002 -0
  32. package/build/abi/idle-dao/idle-cdo-factory.json +38 -0
  33. package/build/abi/idle-dao/idle-cdo.json +1245 -0
  34. package/build/abi/infusion/InfusionFactory.json +147 -0
  35. package/build/abi/infusion/InfusionPair.json +658 -0
  36. package/build/abi/infusion/InfusionRouter.json +442 -0
  37. package/build/abi/jarvis/ChainlinkAccessControlledOffchainAggregator.json +1009 -0
  38. package/build/abi/jarvis/SynthereumPriceFeed.json +381 -0
  39. package/build/abi/jarvis/jarvis-v6-pool.json +1041 -0
  40. package/build/abi/kyberdmm/kyber-dmm-exchange-router.abi.json +1148 -0
  41. package/build/abi/kyberdmm/kyber-dmm-factory.abi.json +335 -0
  42. package/build/abi/kyberdmm/kyber-dmm-pool.abi.json +803 -0
  43. package/build/abi/maker-psm/pot.json +322 -0
  44. package/build/abi/maker-psm/psm.json +243 -0
  45. package/build/abi/maker-psm/vat.json +363 -0
  46. package/build/abi/nomiswap-v2/nomiswap-v2-pool.json +773 -0
  47. package/build/abi/quick-perps/fast-price-events.json +70 -0
  48. package/build/abi/quick-perps/fast-price-feed.json +741 -0
  49. package/build/abi/quick-perps/reader.json +313 -0
  50. package/build/abi/quick-perps/vault-price-feed.json +323 -0
  51. package/build/abi/quick-perps/vault.json +1953 -0
  52. package/build/abi/synthetix/CombinedSynthetix.abi.json +442 -0
  53. package/build/abi/uniswap-v2/excalibur-pool.json +881 -0
  54. package/build/abi/uniswap-v2/mdex-factory.json +759 -0
  55. package/build/abi/wUSDM.json +757 -0
  56. package/build/abi/wombat/asset.json +743 -0
  57. package/build/abi/wombat/bmw.json +1247 -0
  58. package/build/abi/wombat/pool-v2.json +1289 -0
  59. package/build/abi/wombat/pool-v3.json +2013 -0
  60. package/build/abi/zrx.v2.json +1967 -0
  61. package/build/abi/zrx.v3.json +3454 -0
  62. package/build/abi/zrx.v4.json +2193 -0
  63. package/build/dex/OneInchLp.d.ts +24 -0
  64. package/build/dex/OneInchLp.js +43 -0
  65. package/build/dex/OneInchLp.js.map +1 -0
  66. package/build/dex/aave-v2/aave-v2.d.ts +33 -0
  67. package/build/dex/aave-v2/aave-v2.js +328 -0
  68. package/build/dex/aave-v2/aave-v2.js.map +1 -0
  69. package/build/dex/aave-v2/config.d.ts +14 -0
  70. package/build/dex/aave-v2/config.js +49 -0
  71. package/build/dex/aave-v2/config.js.map +1 -0
  72. package/build/dex/aave-v2/tokenlist.json +904 -0
  73. package/build/dex/aave-v2/tokens.d.ts +8 -0
  74. package/build/dex/aave-v2/tokens.js +65 -0
  75. package/build/dex/aave-v2/tokens.js.map +1 -0
  76. package/build/dex/aave-v2/types.d.ts +33 -0
  77. package/build/dex/aave-v2/types.js +11 -0
  78. package/build/dex/aave-v2/types.js.map +1 -0
  79. package/build/dex/bProtocol/bProtocol.d.ts +15 -0
  80. package/build/dex/bProtocol/bProtocol.js +56 -0
  81. package/build/dex/bProtocol/bProtocol.js.map +1 -0
  82. package/build/dex/bProtocol/types.d.ts +11 -0
  83. package/build/dex/bProtocol/types.js +8 -0
  84. package/build/dex/bProtocol/types.js.map +1 -0
  85. package/build/dex/bancor/bancor.d.ts +15 -0
  86. package/build/dex/bancor/bancor.js +74 -0
  87. package/build/dex/bancor/bancor.js.map +1 -0
  88. package/build/dex/bancor/config.d.ts +6 -0
  89. package/build/dex/bancor/config.js +11 -0
  90. package/build/dex/bancor/config.js.map +1 -0
  91. package/build/dex/bancor/types.d.ts +16 -0
  92. package/build/dex/bancor/types.js +8 -0
  93. package/build/dex/bancor/types.js.map +1 -0
  94. package/build/dex/bunni-v2/bunni-v2-pool.d.ts +62 -0
  95. package/build/dex/bunni-v2/bunni-v2-pool.js +505 -0
  96. package/build/dex/bunni-v2/bunni-v2-pool.js.map +1 -0
  97. package/build/dex/bunni-v2/bunni-v2.d.ts +51 -0
  98. package/build/dex/bunni-v2/bunni-v2.js +460 -0
  99. package/build/dex/bunni-v2/bunni-v2.js.map +1 -0
  100. package/build/dex/{renegade → bunni-v2}/config.d.ts +1 -1
  101. package/build/dex/bunni-v2/config.js +130 -0
  102. package/build/dex/bunni-v2/config.js.map +1 -0
  103. package/build/dex/bunni-v2/encoder.d.ts +19 -0
  104. package/build/dex/bunni-v2/encoder.js +400 -0
  105. package/build/dex/bunni-v2/encoder.js.map +1 -0
  106. package/build/dex/bunni-v2/getOnChainState.d.ts +26 -0
  107. package/build/dex/bunni-v2/getOnChainState.js +493 -0
  108. package/build/dex/bunni-v2/getOnChainState.js.map +1 -0
  109. package/build/dex/bunni-v2/hook/BunniSwapMath.d.ts +7 -0
  110. package/build/dex/bunni-v2/hook/BunniSwapMath.js +198 -0
  111. package/build/dex/bunni-v2/hook/BunniSwapMath.js.map +1 -0
  112. package/build/dex/bunni-v2/hook/SwapMath.d.ts +8 -0
  113. package/build/dex/bunni-v2/hook/SwapMath.js +65 -0
  114. package/build/dex/bunni-v2/hook/SwapMath.js.map +1 -0
  115. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.d.ts +33 -0
  116. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.js +33 -0
  117. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.js.map +1 -0
  118. package/build/dex/bunni-v2/hooklet/index.d.ts +21 -0
  119. package/build/dex/bunni-v2/hooklet/index.js +64 -0
  120. package/build/dex/bunni-v2/hooklet/index.js.map +1 -0
  121. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.d.ts +70 -0
  122. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.js +277 -0
  123. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.js.map +1 -0
  124. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.d.ts +64 -0
  125. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.js +262 -0
  126. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.js.map +1 -0
  127. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.d.ts +60 -0
  128. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.js +224 -0
  129. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.js.map +1 -0
  130. package/build/dex/bunni-v2/ldf/GeometricDistribution.d.ts +56 -0
  131. package/build/dex/bunni-v2/ldf/GeometricDistribution.js +489 -0
  132. package/build/dex/bunni-v2/ldf/GeometricDistribution.js.map +1 -0
  133. package/build/dex/bunni-v2/ldf/LDFType.d.ts +5 -0
  134. package/build/dex/bunni-v2/ldf/LDFType.js +10 -0
  135. package/build/dex/bunni-v2/ldf/LDFType.js.map +1 -0
  136. package/build/dex/bunni-v2/ldf/ShiftMode.d.ts +7 -0
  137. package/build/dex/bunni-v2/ldf/ShiftMode.js +19 -0
  138. package/build/dex/bunni-v2/ldf/ShiftMode.js.map +1 -0
  139. package/build/dex/bunni-v2/ldf/UniformDistribution.d.ts +55 -0
  140. package/build/dex/bunni-v2/ldf/UniformDistribution.js +291 -0
  141. package/build/dex/bunni-v2/ldf/UniformDistribution.js.map +1 -0
  142. package/build/dex/bunni-v2/ldf/index.d.ts +15 -0
  143. package/build/dex/bunni-v2/ldf/index.js +21 -0
  144. package/build/dex/bunni-v2/ldf/index.js.map +1 -0
  145. package/build/dex/bunni-v2/lib/AmAmmPayload.d.ts +4 -0
  146. package/build/dex/bunni-v2/lib/AmAmmPayload.js +10 -0
  147. package/build/dex/bunni-v2/lib/AmAmmPayload.js.map +1 -0
  148. package/build/dex/bunni-v2/lib/BitMath.d.ts +4 -0
  149. package/build/dex/bunni-v2/lib/BitMath.js +24 -0
  150. package/build/dex/bunni-v2/lib/BitMath.js.map +1 -0
  151. package/build/dex/bunni-v2/lib/Constants.d.ts +15 -0
  152. package/build/dex/bunni-v2/lib/Constants.js +19 -0
  153. package/build/dex/bunni-v2/lib/Constants.js.map +1 -0
  154. package/build/dex/bunni-v2/lib/ExpMath.d.ts +5 -0
  155. package/build/dex/bunni-v2/lib/ExpMath.js +121 -0
  156. package/build/dex/bunni-v2/lib/ExpMath.js.map +1 -0
  157. package/build/dex/bunni-v2/lib/FeeMath.d.ts +2 -0
  158. package/build/dex/bunni-v2/lib/FeeMath.js +27 -0
  159. package/build/dex/bunni-v2/lib/FeeMath.js.map +1 -0
  160. package/build/dex/bunni-v2/lib/FixedPointMath.d.ts +3 -0
  161. package/build/dex/bunni-v2/lib/FixedPointMath.js +15 -0
  162. package/build/dex/bunni-v2/lib/FixedPointMath.js.map +1 -0
  163. package/build/dex/bunni-v2/lib/FullMathX96.d.ts +4 -0
  164. package/build/dex/bunni-v2/lib/FullMathX96.js +21 -0
  165. package/build/dex/bunni-v2/lib/FullMathX96.js.map +1 -0
  166. package/build/dex/bunni-v2/lib/IdleBalance.d.ts +11 -0
  167. package/build/dex/bunni-v2/lib/IdleBalance.js +33 -0
  168. package/build/dex/bunni-v2/lib/IdleBalance.js.map +1 -0
  169. package/build/dex/bunni-v2/lib/LiquidityAmounts.d.ts +6 -0
  170. package/build/dex/bunni-v2/lib/LiquidityAmounts.js +25 -0
  171. package/build/dex/bunni-v2/lib/LiquidityAmounts.js.map +1 -0
  172. package/build/dex/bunni-v2/lib/Math.d.ts +28 -0
  173. package/build/dex/bunni-v2/lib/Math.js +169 -0
  174. package/build/dex/bunni-v2/lib/Math.js.map +1 -0
  175. package/build/dex/bunni-v2/lib/Oracle.d.ts +27 -0
  176. package/build/dex/bunni-v2/lib/Oracle.js +180 -0
  177. package/build/dex/bunni-v2/lib/Oracle.js.map +1 -0
  178. package/build/dex/bunni-v2/lib/QueryLDF.d.ts +12 -0
  179. package/build/dex/bunni-v2/lib/QueryLDF.js +90 -0
  180. package/build/dex/bunni-v2/lib/QueryLDF.js.map +1 -0
  181. package/build/dex/bunni-v2/lib/QueryTwap.d.ts +2 -0
  182. package/build/dex/bunni-v2/lib/QueryTwap.js +13 -0
  183. package/build/dex/bunni-v2/lib/QueryTwap.js.map +1 -0
  184. package/build/dex/bunni-v2/lib/SqrtPriceMath.d.ts +8 -0
  185. package/build/dex/bunni-v2/lib/SqrtPriceMath.js +84 -0
  186. package/build/dex/bunni-v2/lib/SqrtPriceMath.js.map +1 -0
  187. package/build/dex/bunni-v2/lib/TickMath.d.ts +11 -0
  188. package/build/dex/bunni-v2/lib/TickMath.js +100 -0
  189. package/build/dex/bunni-v2/lib/TickMath.js.map +1 -0
  190. package/build/dex/bunni-v2/lib/VaultMath.d.ts +2 -0
  191. package/build/dex/bunni-v2/lib/VaultMath.js +11 -0
  192. package/build/dex/bunni-v2/lib/VaultMath.js.map +1 -0
  193. package/build/dex/bunni-v2/logic/AmAmm.d.ts +11 -0
  194. package/build/dex/bunni-v2/logic/AmAmm.js +156 -0
  195. package/build/dex/bunni-v2/logic/AmAmm.js.map +1 -0
  196. package/build/dex/bunni-v2/logic/BunniHookLogic.d.ts +10 -0
  197. package/build/dex/bunni-v2/logic/BunniHookLogic.js +298 -0
  198. package/build/dex/bunni-v2/logic/BunniHookLogic.js.map +1 -0
  199. package/build/dex/bunni-v2/logic/BunniHubLogic.d.ts +5 -0
  200. package/build/dex/bunni-v2/logic/BunniHubLogic.js +245 -0
  201. package/build/dex/bunni-v2/logic/BunniHubLogic.js.map +1 -0
  202. package/build/dex/bunni-v2/logic/BunniQuoter.d.ts +12 -0
  203. package/build/dex/bunni-v2/logic/BunniQuoter.js +201 -0
  204. package/build/dex/bunni-v2/logic/BunniQuoter.js.map +1 -0
  205. package/build/dex/bunni-v2/subgraph.d.ts +7 -0
  206. package/build/dex/bunni-v2/subgraph.js +184 -0
  207. package/build/dex/bunni-v2/subgraph.js.map +1 -0
  208. package/build/dex/bunni-v2/types.d.ts +257 -0
  209. package/build/dex/{renegade/api → bunni-v2}/types.js.map +1 -1
  210. package/build/dex/bunni-v2/utils.d.ts +12 -0
  211. package/build/dex/bunni-v2/utils.js +182 -0
  212. package/build/dex/bunni-v2/utils.js.map +1 -0
  213. package/build/dex/compound/compound.d.ts +15 -0
  214. package/build/dex/compound/compound.js +57 -0
  215. package/build/dex/compound/compound.js.map +1 -0
  216. package/build/dex/compound/types.d.ts +8 -0
  217. package/build/dex/compound/types.js +9 -0
  218. package/build/dex/compound/types.js.map +1 -0
  219. package/build/dex/concentrator-arusd/concentrator-arusd-event.d.ts +17 -0
  220. package/build/dex/concentrator-arusd/concentrator-arusd-event.js +69 -0
  221. package/build/dex/concentrator-arusd/concentrator-arusd-event.js.map +1 -0
  222. package/build/dex/concentrator-arusd/concentrator-arusd.d.ts +41 -0
  223. package/build/dex/concentrator-arusd/concentrator-arusd.js +202 -0
  224. package/build/dex/concentrator-arusd/concentrator-arusd.js.map +1 -0
  225. package/build/dex/concentrator-arusd/config.d.ts +3 -0
  226. package/build/dex/concentrator-arusd/config.js +14 -0
  227. package/build/dex/concentrator-arusd/config.js.map +1 -0
  228. package/build/dex/concentrator-arusd/types.d.ts +14 -0
  229. package/build/dex/concentrator-arusd/types.js +3 -0
  230. package/build/dex/concentrator-arusd/types.js.map +1 -0
  231. package/build/dex/concentrator-arusd/utils.d.ts +4 -0
  232. package/build/dex/concentrator-arusd/utils.js +26 -0
  233. package/build/dex/concentrator-arusd/utils.js.map +1 -0
  234. package/build/dex/curve-v1/forks/swerve/config.d.ts +4 -0
  235. package/build/dex/curve-v1/forks/swerve/config.js +47 -0
  236. package/build/dex/curve-v1/forks/swerve/config.js.map +1 -0
  237. package/build/dex/curve-v1/forks/swerve/swerve.d.ts +16 -0
  238. package/build/dex/curve-v1/forks/swerve/swerve.js +46 -0
  239. package/build/dex/curve-v1/forks/swerve/swerve.js.map +1 -0
  240. package/build/dex/deth/config.d.ts +6 -0
  241. package/build/dex/deth/config.js +41 -0
  242. package/build/dex/deth/config.js.map +1 -0
  243. package/build/dex/deth/dETH.d.ts +29 -0
  244. package/build/dex/deth/dETH.js +130 -0
  245. package/build/dex/deth/dETH.js.map +1 -0
  246. package/build/dex/ekubo/pools/base-pool.d.ts +47 -0
  247. package/build/dex/ekubo/pools/base-pool.js +184 -0
  248. package/build/dex/ekubo/pools/base-pool.js.map +1 -0
  249. package/build/dex/ekubo/pools/iface.d.ts +46 -0
  250. package/build/dex/ekubo/pools/iface.js +75 -0
  251. package/build/dex/ekubo/pools/iface.js.map +1 -0
  252. package/build/dex/ekubo/pools/math/price.d.ts +7 -0
  253. package/build/dex/ekubo/pools/math/price.js +112 -0
  254. package/build/dex/ekubo/pools/math/price.js.map +1 -0
  255. package/build/dex/ekubo/pools/oracle-pool.d.ts +10 -0
  256. package/build/dex/ekubo/pools/oracle-pool.js +19 -0
  257. package/build/dex/ekubo/pools/oracle-pool.js.map +1 -0
  258. package/build/dex/ekubo/pools/pool-utils.d.ts +44 -0
  259. package/build/dex/ekubo/pools/pool-utils.js +240 -0
  260. package/build/dex/ekubo/pools/pool-utils.js.map +1 -0
  261. package/build/dex/gmx/config.d.ts +11 -0
  262. package/build/dex/gmx/config.js +61 -0
  263. package/build/dex/gmx/config.js.map +1 -0
  264. package/build/dex/gmx/fast-price-feed.d.ts +26 -0
  265. package/build/dex/gmx/fast-price-feed.js +184 -0
  266. package/build/dex/gmx/fast-price-feed.js.map +1 -0
  267. package/build/dex/gmx/gmx.d.ts +54 -0
  268. package/build/dex/gmx/gmx.js +247 -0
  269. package/build/dex/gmx/gmx.js.map +1 -0
  270. package/build/dex/gmx/pool.d.ts +21 -0
  271. package/build/dex/gmx/pool.js +212 -0
  272. package/build/dex/gmx/pool.js.map +1 -0
  273. package/build/dex/gmx/types.d.ts +100 -0
  274. package/build/dex/gmx/types.js +3 -0
  275. package/build/dex/gmx/types.js.map +1 -0
  276. package/build/dex/gmx/usdg.d.ts +15 -0
  277. package/build/dex/gmx/usdg.js +62 -0
  278. package/build/dex/gmx/usdg.js.map +1 -0
  279. package/build/dex/gmx/vault-price-feed.d.ts +47 -0
  280. package/build/dex/gmx/vault-price-feed.js +245 -0
  281. package/build/dex/gmx/vault-price-feed.js.map +1 -0
  282. package/build/dex/gmx/vault-utils.d.ts +8 -0
  283. package/build/dex/gmx/vault-utils.js +42 -0
  284. package/build/dex/gmx/vault-utils.js.map +1 -0
  285. package/build/dex/gmx/vault.d.ts +46 -0
  286. package/build/dex/gmx/vault.js +182 -0
  287. package/build/dex/gmx/vault.js.map +1 -0
  288. package/build/dex/idle-dao/config.d.ts +5 -0
  289. package/build/dex/idle-dao/config.js +24 -0
  290. package/build/dex/idle-dao/config.js.map +1 -0
  291. package/build/dex/idle-dao/idle-dao.d.ts +42 -0
  292. package/build/dex/idle-dao/idle-dao.js +279 -0
  293. package/build/dex/idle-dao/idle-dao.js.map +1 -0
  294. package/build/dex/idle-dao/token_list.d.ts +4 -0
  295. package/build/dex/idle-dao/token_list.js +289 -0
  296. package/build/dex/idle-dao/token_list.js.map +1 -0
  297. package/build/dex/idle-dao/tokens.d.ts +9 -0
  298. package/build/dex/idle-dao/tokens.js +68 -0
  299. package/build/dex/idle-dao/tokens.js.map +1 -0
  300. package/build/dex/idle-dao/types.d.ts +35 -0
  301. package/build/dex/idle-dao/types.js +11 -0
  302. package/build/dex/idle-dao/types.js.map +1 -0
  303. package/build/dex/idle-dao/utils.d.ts +8 -0
  304. package/build/dex/idle-dao/utils.js +149 -0
  305. package/build/dex/idle-dao/utils.js.map +1 -0
  306. package/build/dex/index.js +2 -0
  307. package/build/dex/index.js.map +1 -1
  308. package/build/dex/infusion/config.d.ts +3 -0
  309. package/build/dex/infusion/config.js +20 -0
  310. package/build/dex/infusion/config.js.map +1 -0
  311. package/build/dex/infusion/infusion-stable-pool.d.ts +4 -0
  312. package/build/dex/infusion/infusion-stable-pool.js +74 -0
  313. package/build/dex/infusion/infusion-stable-pool.js.map +1 -0
  314. package/build/dex/infusion/infusion.d.ts +51 -0
  315. package/build/dex/infusion/infusion.js +500 -0
  316. package/build/dex/infusion/infusion.js.map +1 -0
  317. package/build/dex/infusion/types.d.ts +45 -0
  318. package/build/dex/infusion/types.js +3 -0
  319. package/build/dex/infusion/types.js.map +1 -0
  320. package/build/dex/infusion/utils/isStablePair.d.ts +2 -0
  321. package/build/dex/infusion/utils/isStablePair.js +18 -0
  322. package/build/dex/infusion/utils/isStablePair.js.map +1 -0
  323. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.d.ts +15 -0
  324. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.js +51 -0
  325. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.js.map +1 -0
  326. package/build/dex/jarvis-v6/config.d.ts +4 -0
  327. package/build/dex/jarvis-v6/config.js +244 -0
  328. package/build/dex/jarvis-v6/config.js.map +1 -0
  329. package/build/dex/jarvis-v6/jarvis-v6-events.d.ts +27 -0
  330. package/build/dex/jarvis-v6/jarvis-v6-events.js +54 -0
  331. package/build/dex/jarvis-v6/jarvis-v6-events.js.map +1 -0
  332. package/build/dex/jarvis-v6/jarvis-v6.d.ts +49 -0
  333. package/build/dex/jarvis-v6/jarvis-v6.js +321 -0
  334. package/build/dex/jarvis-v6/jarvis-v6.js.map +1 -0
  335. package/build/dex/jarvis-v6/syntheteumPool-event.d.ts +15 -0
  336. package/build/dex/jarvis-v6/syntheteumPool-event.js +49 -0
  337. package/build/dex/jarvis-v6/syntheteumPool-event.js.map +1 -0
  338. package/build/dex/jarvis-v6/types.d.ts +48 -0
  339. package/build/dex/jarvis-v6/types.js +9 -0
  340. package/build/dex/jarvis-v6/types.js.map +1 -0
  341. package/build/dex/jarvis-v6/utils.d.ts +13 -0
  342. package/build/dex/jarvis-v6/utils.js +75 -0
  343. package/build/dex/jarvis-v6/utils.js.map +1 -0
  344. package/build/dex/jarvis.d.ts +56 -0
  345. package/build/dex/jarvis.js +163 -0
  346. package/build/dex/jarvis.js.map +1 -0
  347. package/build/dex/kyberdmm/config.d.ts +9 -0
  348. package/build/dex/kyberdmm/config.js +59 -0
  349. package/build/dex/kyberdmm/config.js.map +1 -0
  350. package/build/dex/kyberdmm/fee-formula.d.ts +15 -0
  351. package/build/dex/kyberdmm/fee-formula.js +88 -0
  352. package/build/dex/kyberdmm/fee-formula.js.map +1 -0
  353. package/build/dex/kyberdmm/kyberdmm.d.ts +55 -0
  354. package/build/dex/kyberdmm/kyberdmm.js +447 -0
  355. package/build/dex/kyberdmm/kyberdmm.js.map +1 -0
  356. package/build/dex/kyberdmm/math-ext.d.ts +2 -0
  357. package/build/dex/kyberdmm/math-ext.js +27 -0
  358. package/build/dex/kyberdmm/math-ext.js.map +1 -0
  359. package/build/dex/kyberdmm/pool.d.ts +50 -0
  360. package/build/dex/kyberdmm/pool.js +157 -0
  361. package/build/dex/kyberdmm/pool.js.map +1 -0
  362. package/build/dex/kyberdmm/types.d.ts +81 -0
  363. package/build/dex/kyberdmm/types.js +9 -0
  364. package/build/dex/kyberdmm/types.js.map +1 -0
  365. package/build/dex/mStable.d.ts +44 -0
  366. package/build/dex/mStable.js +75 -0
  367. package/build/dex/mStable.js.map +1 -0
  368. package/build/dex/maker-psm/config.d.ts +11 -0
  369. package/build/dex/maker-psm/config.js +53 -0
  370. package/build/dex/maker-psm/config.js.map +1 -0
  371. package/build/dex/maker-psm/maker-psm.d.ts +103 -0
  372. package/build/dex/maker-psm/maker-psm.js +493 -0
  373. package/build/dex/maker-psm/maker-psm.js.map +1 -0
  374. package/build/dex/maker-psm/types.d.ts +39 -0
  375. package/build/dex/maker-psm/types.js +3 -0
  376. package/build/dex/maker-psm/types.js.map +1 -0
  377. package/build/dex/onebit/onebit.d.ts +16 -0
  378. package/build/dex/onebit/onebit.js +61 -0
  379. package/build/dex/onebit/onebit.js.map +1 -0
  380. package/build/dex/onebit/types.d.ts +14 -0
  381. package/build/dex/onebit/types.js +8 -0
  382. package/build/dex/onebit/types.js.map +1 -0
  383. package/build/dex/quick-perps/config.d.ts +11 -0
  384. package/build/dex/quick-perps/config.js +27 -0
  385. package/build/dex/quick-perps/config.js.map +1 -0
  386. package/build/dex/quick-perps/fast-price-feed.d.ts +26 -0
  387. package/build/dex/quick-perps/fast-price-feed.js +184 -0
  388. package/build/dex/quick-perps/fast-price-feed.js.map +1 -0
  389. package/build/dex/quick-perps/pool.d.ts +21 -0
  390. package/build/dex/quick-perps/pool.js +229 -0
  391. package/build/dex/quick-perps/pool.js.map +1 -0
  392. package/build/dex/quick-perps/quick-perps.d.ts +53 -0
  393. package/build/dex/quick-perps/quick-perps.js +247 -0
  394. package/build/dex/quick-perps/quick-perps.js.map +1 -0
  395. package/build/dex/quick-perps/types.d.ts +98 -0
  396. package/build/dex/quick-perps/types.js +3 -0
  397. package/build/dex/quick-perps/types.js.map +1 -0
  398. package/build/dex/quick-perps/usdq.d.ts +15 -0
  399. package/build/dex/quick-perps/usdq.js +62 -0
  400. package/build/dex/quick-perps/usdq.js.map +1 -0
  401. package/build/dex/quick-perps/vault-price-feed.d.ts +43 -0
  402. package/build/dex/quick-perps/vault-price-feed.js +203 -0
  403. package/build/dex/quick-perps/vault-price-feed.js.map +1 -0
  404. package/build/dex/quick-perps/vault-utils.d.ts +8 -0
  405. package/build/dex/quick-perps/vault-utils.js +42 -0
  406. package/build/dex/quick-perps/vault-utils.js.map +1 -0
  407. package/build/dex/quick-perps/vault.d.ts +46 -0
  408. package/build/dex/quick-perps/vault.js +182 -0
  409. package/build/dex/quick-perps/vault.js.map +1 -0
  410. package/build/dex/quickswap/thena-fusion.d.ts +6 -0
  411. package/build/dex/quickswap/thena-fusion.js +19 -0
  412. package/build/dex/quickswap/thena-fusion.js.map +1 -0
  413. package/build/dex/se-vlr/config.d.ts +3 -0
  414. package/build/dex/se-vlr/config.js +24 -0
  415. package/build/dex/se-vlr/config.js.map +1 -0
  416. package/build/dex/se-vlr/se-vlr-pool.d.ts +39 -0
  417. package/build/dex/se-vlr/se-vlr-pool.js +70 -0
  418. package/build/dex/se-vlr/se-vlr-pool.js.map +1 -0
  419. package/build/dex/se-vlr/se-vlr.d.ts +35 -0
  420. package/build/dex/se-vlr/se-vlr.js +131 -0
  421. package/build/dex/se-vlr/se-vlr.js.map +1 -0
  422. package/build/dex/se-vlr/types.d.ts +6 -0
  423. package/build/dex/se-vlr/types.js +3 -0
  424. package/build/dex/se-vlr/types.js.map +1 -0
  425. package/build/dex/shell.d.ts +25 -0
  426. package/build/dex/shell.js +41 -0
  427. package/build/dex/shell.js.map +1 -0
  428. package/build/dex/smoothy/smoothy.d.ts +16 -0
  429. package/build/dex/smoothy/smoothy.js +60 -0
  430. package/build/dex/smoothy/smoothy.js.map +1 -0
  431. package/build/dex/smoothy/types.d.ts +15 -0
  432. package/build/dex/smoothy/types.js +8 -0
  433. package/build/dex/smoothy/types.js.map +1 -0
  434. package/build/dex/solidly/forks-override/aerodrome.d.ts +14 -0
  435. package/build/dex/solidly/forks-override/aerodrome.js +46 -0
  436. package/build/dex/solidly/forks-override/aerodrome.js.map +1 -0
  437. package/build/dex/solidly/forks-override/chronos.d.ts +23 -0
  438. package/build/dex/solidly/forks-override/chronos.js +141 -0
  439. package/build/dex/solidly/forks-override/chronos.js.map +1 -0
  440. package/build/dex/solidly/forks-override/usdfi.d.ts +8 -0
  441. package/build/dex/solidly/forks-override/usdfi.js +15 -0
  442. package/build/dex/solidly/forks-override/usdfi.js.map +1 -0
  443. package/build/dex/solidly/forks-override/velocimeter.d.ts +23 -0
  444. package/build/dex/solidly/forks-override/velocimeter.js +77 -0
  445. package/build/dex/solidly/forks-override/velocimeter.js.map +1 -0
  446. package/build/dex/stader/config.d.ts +3 -0
  447. package/build/dex/stader/config.js +14 -0
  448. package/build/dex/stader/config.js.map +1 -0
  449. package/build/dex/stader/stader-pool.d.ts +19 -0
  450. package/build/dex/stader/stader-pool.js +56 -0
  451. package/build/dex/stader/stader-pool.js.map +1 -0
  452. package/build/dex/stader/stader.d.ts +42 -0
  453. package/build/dex/stader/stader.js +195 -0
  454. package/build/dex/stader/stader.js.map +1 -0
  455. package/build/dex/stader/types.d.ts +13 -0
  456. package/build/dex/stader/types.js +8 -0
  457. package/build/dex/stader/types.js.map +1 -0
  458. package/build/dex/stader/utils.d.ts +4 -0
  459. package/build/dex/stader/utils.js +23 -0
  460. package/build/dex/stader/utils.js.map +1 -0
  461. package/build/dex/synthetix/config.d.ts +4 -0
  462. package/build/dex/synthetix/config.js +53 -0
  463. package/build/dex/synthetix/config.js.map +1 -0
  464. package/build/dex/synthetix/constants.d.ts +23 -0
  465. package/build/dex/synthetix/constants.js +32 -0
  466. package/build/dex/synthetix/constants.js.map +1 -0
  467. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.d.ts +17 -0
  468. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.js +102 -0
  469. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.js.map +1 -0
  470. package/build/dex/synthetix/contract-math/ExchangeRates.d.ts +8 -0
  471. package/build/dex/synthetix/contract-math/ExchangeRates.js +77 -0
  472. package/build/dex/synthetix/contract-math/ExchangeRates.js.map +1 -0
  473. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.d.ts +17 -0
  474. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.js +126 -0
  475. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.js.map +1 -0
  476. package/build/dex/synthetix/contract-math/FullMath.d.ts +3 -0
  477. package/build/dex/synthetix/contract-math/FullMath.js +14 -0
  478. package/build/dex/synthetix/contract-math/FullMath.js.map +1 -0
  479. package/build/dex/synthetix/contract-math/OracleLibrary.d.ts +8 -0
  480. package/build/dex/synthetix/contract-math/OracleLibrary.js +60 -0
  481. package/build/dex/synthetix/contract-math/OracleLibrary.js.map +1 -0
  482. package/build/dex/synthetix/contract-math/SafeDecimalMath.d.ts +9 -0
  483. package/build/dex/synthetix/contract-math/SafeDecimalMath.js +41 -0
  484. package/build/dex/synthetix/contract-math/SafeDecimalMath.js.map +1 -0
  485. package/build/dex/synthetix/contract-math/TickMath.d.ts +7 -0
  486. package/build/dex/synthetix/contract-math/TickMath.js +63 -0
  487. package/build/dex/synthetix/contract-math/TickMath.js.map +1 -0
  488. package/build/dex/synthetix/contract-math/synthetix-math.d.ts +17 -0
  489. package/build/dex/synthetix/contract-math/synthetix-math.js +127 -0
  490. package/build/dex/synthetix/contract-math/synthetix-math.js.map +1 -0
  491. package/build/dex/synthetix/synthetix-state.d.ts +36 -0
  492. package/build/dex/synthetix/synthetix-state.js +615 -0
  493. package/build/dex/synthetix/synthetix-state.js.map +1 -0
  494. package/build/dex/synthetix/synthetix.d.ts +45 -0
  495. package/build/dex/synthetix/synthetix.js +304 -0
  496. package/build/dex/synthetix/synthetix.js.map +1 -0
  497. package/build/dex/synthetix/types.d.ts +90 -0
  498. package/build/dex/synthetix/types.js +3 -0
  499. package/build/dex/synthetix/types.js.map +1 -0
  500. package/build/dex/synthetix/utils.d.ts +10 -0
  501. package/build/dex/synthetix/utils.js +91 -0
  502. package/build/dex/synthetix/utils.js.map +1 -0
  503. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.d.ts +7 -0
  504. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.js +20 -0
  505. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.js.map +1 -0
  506. package/build/dex/trader-joe-v2.d.ts +40 -0
  507. package/build/dex/trader-joe-v2.js +74 -0
  508. package/build/dex/trader-joe-v2.js.map +1 -0
  509. package/build/dex/uniswap-v2/dfyn.d.ts +19 -0
  510. package/build/dex/uniswap-v2/dfyn.js +61 -0
  511. package/build/dex/uniswap-v2/dfyn.js.map +1 -0
  512. package/build/dex/uniswap-v2/excalibur.d.ts +24 -0
  513. package/build/dex/uniswap-v2/excalibur.js +47 -0
  514. package/build/dex/uniswap-v2/excalibur.js.map +1 -0
  515. package/build/dex/uniswap-v2/mdex.d.ts +24 -0
  516. package/build/dex/uniswap-v2/mdex.js +50 -0
  517. package/build/dex/uniswap-v2/mdex.js.map +1 -0
  518. package/build/dex/uniswap-v2/nomiswap-v2.d.ts +24 -0
  519. package/build/dex/uniswap-v2/nomiswap-v2.js +57 -0
  520. package/build/dex/uniswap-v2/nomiswap-v2.js.map +1 -0
  521. package/build/dex/uniswap-v3/config.js +1 -1
  522. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +94 -0
  523. package/build/dex/uniswap-v3/uniswap-v3-new.js +923 -0
  524. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +1 -0
  525. package/build/dex/uniswap-v4/contract-math/Position.d.ts +3 -0
  526. package/build/dex/uniswap-v4/contract-math/Position.js +10 -0
  527. package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -0
  528. package/build/dex/usual-bond/config.d.ts +3 -0
  529. package/build/dex/usual-bond/config.js +13 -0
  530. package/build/dex/usual-bond/config.js.map +1 -0
  531. package/build/dex/usual-bond/types.d.ts +7 -0
  532. package/build/dex/usual-bond/types.js +3 -0
  533. package/build/dex/usual-bond/types.js.map +1 -0
  534. package/build/dex/usual-bond/usual-bond.d.ts +35 -0
  535. package/build/dex/usual-bond/usual-bond.js +176 -0
  536. package/build/dex/usual-bond/usual-bond.js.map +1 -0
  537. package/build/dex/wombat/config.d.ts +4 -0
  538. package/build/dex/wombat/config.js +77 -0
  539. package/build/dex/wombat/config.js.map +1 -0
  540. package/build/dex/wombat/types.d.ts +34 -0
  541. package/build/dex/wombat/types.js +3 -0
  542. package/build/dex/wombat/types.js.map +1 -0
  543. package/build/dex/wombat/utils.d.ts +10 -0
  544. package/build/dex/wombat/utils.js +79 -0
  545. package/build/dex/wombat/utils.js.map +1 -0
  546. package/build/dex/wombat/wombat-bmw.d.ts +40 -0
  547. package/build/dex/wombat/wombat-bmw.js +136 -0
  548. package/build/dex/wombat/wombat-bmw.js.map +1 -0
  549. package/build/dex/wombat/wombat-pool.d.ts +60 -0
  550. package/build/dex/wombat/wombat-pool.js +488 -0
  551. package/build/dex/wombat/wombat-pool.js.map +1 -0
  552. package/build/dex/wombat/wombat-quoter.d.ts +17 -0
  553. package/build/dex/wombat/wombat-quoter.js +192 -0
  554. package/build/dex/wombat/wombat-quoter.js.map +1 -0
  555. package/build/dex/wombat/wombat.d.ts +58 -0
  556. package/build/dex/wombat/wombat.js +298 -0
  557. package/build/dex/wombat/wombat.js.map +1 -0
  558. package/build/dex/wusdm/config.d.ts +3 -0
  559. package/build/dex/wusdm/config.js +43 -0
  560. package/build/dex/wusdm/config.js.map +1 -0
  561. package/build/dex/wusdm/constants.d.ts +2 -0
  562. package/build/dex/wusdm/constants.js +6 -0
  563. package/build/dex/wusdm/constants.js.map +1 -0
  564. package/build/dex/wusdm/types.d.ts +18 -0
  565. package/build/dex/wusdm/types.js +11 -0
  566. package/build/dex/wusdm/types.js.map +1 -0
  567. package/build/dex/wusdm/wusdm-pool.d.ts +21 -0
  568. package/build/dex/wusdm/wusdm-pool.js +74 -0
  569. package/build/dex/wusdm/wusdm-pool.js.map +1 -0
  570. package/build/dex/wusdm/wusdm.d.ts +46 -0
  571. package/build/dex/wusdm/wusdm.js +243 -0
  572. package/build/dex/wusdm/wusdm.js.map +1 -0
  573. package/build/dex/zerox/config.d.ts +2 -0
  574. package/build/dex/zerox/config.js +33 -0
  575. package/build/dex/zerox/config.js.map +1 -0
  576. package/build/dex/zerox/index.d.ts +22 -0
  577. package/build/dex/zerox/index.js +225 -0
  578. package/build/dex/zerox/index.js.map +1 -0
  579. package/build/dex/zerox/order.d.ts +88 -0
  580. package/build/dex/zerox/order.js +53 -0
  581. package/build/dex/zerox/order.js.map +1 -0
  582. package/build/dex/zerox/types.d.ts +73 -0
  583. package/build/dex/zerox/types.js +21 -0
  584. package/build/dex/zerox/types.js.map +1 -0
  585. package/package.json +1 -1
  586. package/build/dex/renegade/api/auth.d.ts +0 -1
  587. package/build/dex/renegade/api/auth.js +0 -63
  588. package/build/dex/renegade/api/auth.js.map +0 -1
  589. package/build/dex/renegade/api/renegade-client.d.ts +0 -18
  590. package/build/dex/renegade/api/renegade-client.js +0 -82
  591. package/build/dex/renegade/api/renegade-client.js.map +0 -1
  592. package/build/dex/renegade/api/types.d.ts +0 -110
  593. package/build/dex/renegade/config.js +0 -16
  594. package/build/dex/renegade/config.js.map +0 -1
  595. package/build/dex/renegade/constants.d.ts +0 -25
  596. package/build/dex/renegade/constants.js +0 -47
  597. package/build/dex/renegade/constants.js.map +0 -1
  598. package/build/dex/renegade/rate-fetcher.d.ts +0 -23
  599. package/build/dex/renegade/rate-fetcher.js +0 -135
  600. package/build/dex/renegade/rate-fetcher.js.map +0 -1
  601. package/build/dex/renegade/renegade-levels-response.d.ts +0 -22
  602. package/build/dex/renegade/renegade-levels-response.js +0 -99
  603. package/build/dex/renegade/renegade-levels-response.js.map +0 -1
  604. package/build/dex/renegade/renegade.d.ts +0 -57
  605. package/build/dex/renegade/renegade.js +0 -499
  606. package/build/dex/renegade/renegade.js.map +0 -1
  607. package/build/dex/renegade/types.d.ts +0 -38
  608. package/build/dex/renegade/types.js +0 -4
  609. package/build/dex/renegade/types.js.map +0 -1
  610. /package/build/dex/{renegade/api → bunni-v2}/types.js +0 -0
@@ -0,0 +1,2013 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "POOL__CREDIT_NOT_ENOUGH",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "POOL__REACH_MAXIMUM_BURNED_CREDIT",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "POOL__REACH_MAXIMUM_MINTED_CREDIT",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "POOL__SWAP_CREDIT_FOR_TOKENS_DISABLED",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "POOL__SWAP_TOKENS_FOR_CREDIT_DISABLED",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "WOMBAT_AMOUNT_TOO_LOW",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "WOMBAT_ASSET_ALREADY_EXIST",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "inputs": [],
39
+ "name": "WOMBAT_ASSET_ALREADY_PAUSED",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "WOMBAT_ASSET_NOT_EXISTS",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [],
49
+ "name": "WOMBAT_ASSET_NOT_PAUSED",
50
+ "type": "error"
51
+ },
52
+ {
53
+ "inputs": [],
54
+ "name": "WOMBAT_CASH_NOT_ENOUGH",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [],
59
+ "name": "WOMBAT_COV_RATIO_LIMIT_EXCEEDED",
60
+ "type": "error"
61
+ },
62
+ {
63
+ "inputs": [],
64
+ "name": "WOMBAT_EXPIRED",
65
+ "type": "error"
66
+ },
67
+ {
68
+ "inputs": [],
69
+ "name": "WOMBAT_FORBIDDEN",
70
+ "type": "error"
71
+ },
72
+ {
73
+ "inputs": [],
74
+ "name": "WOMBAT_INVALID_VALUE",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [],
79
+ "name": "WOMBAT_SAME_ADDRESS",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "WOMBAT_ZERO_ADDRESS",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "WOMBAT_ZERO_AMOUNT",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "WOMBAT_ZERO_CREDIT_AMOUNT",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "WOMBAT_ZERO_LIQUIDITY",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": true,
107
+ "internalType": "address",
108
+ "name": "token",
109
+ "type": "address"
110
+ },
111
+ {
112
+ "indexed": true,
113
+ "internalType": "address",
114
+ "name": "asset",
115
+ "type": "address"
116
+ }
117
+ ],
118
+ "name": "AssetAdded",
119
+ "type": "event"
120
+ },
121
+ {
122
+ "anonymous": false,
123
+ "inputs": [
124
+ {
125
+ "indexed": true,
126
+ "internalType": "address",
127
+ "name": "token",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "indexed": true,
132
+ "internalType": "address",
133
+ "name": "asset",
134
+ "type": "address"
135
+ }
136
+ ],
137
+ "name": "AssetRemoved",
138
+ "type": "event"
139
+ },
140
+ {
141
+ "anonymous": false,
142
+ "inputs": [
143
+ {
144
+ "indexed": true,
145
+ "internalType": "address",
146
+ "name": "sender",
147
+ "type": "address"
148
+ },
149
+ {
150
+ "indexed": false,
151
+ "internalType": "address",
152
+ "name": "token",
153
+ "type": "address"
154
+ },
155
+ {
156
+ "indexed": false,
157
+ "internalType": "uint256",
158
+ "name": "amount",
159
+ "type": "uint256"
160
+ },
161
+ {
162
+ "indexed": false,
163
+ "internalType": "uint256",
164
+ "name": "liquidity",
165
+ "type": "uint256"
166
+ },
167
+ {
168
+ "indexed": true,
169
+ "internalType": "address",
170
+ "name": "to",
171
+ "type": "address"
172
+ }
173
+ ],
174
+ "name": "Deposit",
175
+ "type": "event"
176
+ },
177
+ {
178
+ "anonymous": false,
179
+ "inputs": [
180
+ {
181
+ "indexed": false,
182
+ "internalType": "address",
183
+ "name": "token",
184
+ "type": "address"
185
+ },
186
+ {
187
+ "indexed": false,
188
+ "internalType": "uint256",
189
+ "name": "amount",
190
+ "type": "uint256"
191
+ }
192
+ ],
193
+ "name": "FillPool",
194
+ "type": "event"
195
+ },
196
+ {
197
+ "anonymous": false,
198
+ "inputs": [
199
+ {
200
+ "indexed": false,
201
+ "internalType": "uint8",
202
+ "name": "version",
203
+ "type": "uint8"
204
+ }
205
+ ],
206
+ "name": "Initialized",
207
+ "type": "event"
208
+ },
209
+ {
210
+ "anonymous": false,
211
+ "inputs": [
212
+ {
213
+ "indexed": true,
214
+ "internalType": "address",
215
+ "name": "receiver",
216
+ "type": "address"
217
+ },
218
+ {
219
+ "indexed": false,
220
+ "internalType": "uint256",
221
+ "name": "creditAmount",
222
+ "type": "uint256"
223
+ }
224
+ ],
225
+ "name": "MintCredit",
226
+ "type": "event"
227
+ },
228
+ {
229
+ "anonymous": false,
230
+ "inputs": [
231
+ {
232
+ "indexed": true,
233
+ "internalType": "address",
234
+ "name": "previousOwner",
235
+ "type": "address"
236
+ },
237
+ {
238
+ "indexed": true,
239
+ "internalType": "address",
240
+ "name": "newOwner",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "OwnershipTransferred",
245
+ "type": "event"
246
+ },
247
+ {
248
+ "anonymous": false,
249
+ "inputs": [
250
+ {
251
+ "indexed": false,
252
+ "internalType": "address",
253
+ "name": "account",
254
+ "type": "address"
255
+ }
256
+ ],
257
+ "name": "Paused",
258
+ "type": "event"
259
+ },
260
+ {
261
+ "anonymous": false,
262
+ "inputs": [
263
+ {
264
+ "indexed": false,
265
+ "internalType": "address",
266
+ "name": "token",
267
+ "type": "address"
268
+ },
269
+ {
270
+ "indexed": false,
271
+ "internalType": "address",
272
+ "name": "account",
273
+ "type": "address"
274
+ }
275
+ ],
276
+ "name": "PausedAsset",
277
+ "type": "event"
278
+ },
279
+ {
280
+ "anonymous": false,
281
+ "inputs": [
282
+ {
283
+ "indexed": false,
284
+ "internalType": "uint256",
285
+ "name": "value",
286
+ "type": "uint256"
287
+ }
288
+ ],
289
+ "name": "SetAmpFactor",
290
+ "type": "event"
291
+ },
292
+ {
293
+ "anonymous": false,
294
+ "inputs": [
295
+ {
296
+ "indexed": false,
297
+ "internalType": "address",
298
+ "name": "addr",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "name": "SetDev",
303
+ "type": "event"
304
+ },
305
+ {
306
+ "anonymous": false,
307
+ "inputs": [
308
+ {
309
+ "indexed": false,
310
+ "internalType": "uint256",
311
+ "name": "lpDividendRatio",
312
+ "type": "uint256"
313
+ },
314
+ {
315
+ "indexed": false,
316
+ "internalType": "uint256",
317
+ "name": "retentionRatio",
318
+ "type": "uint256"
319
+ }
320
+ ],
321
+ "name": "SetFee",
322
+ "type": "event"
323
+ },
324
+ {
325
+ "anonymous": false,
326
+ "inputs": [
327
+ {
328
+ "indexed": false,
329
+ "internalType": "address",
330
+ "name": "addr",
331
+ "type": "address"
332
+ }
333
+ ],
334
+ "name": "SetFeeTo",
335
+ "type": "event"
336
+ },
337
+ {
338
+ "anonymous": false,
339
+ "inputs": [
340
+ {
341
+ "indexed": false,
342
+ "internalType": "uint256",
343
+ "name": "value",
344
+ "type": "uint256"
345
+ }
346
+ ],
347
+ "name": "SetHaircutRate",
348
+ "type": "event"
349
+ },
350
+ {
351
+ "anonymous": false,
352
+ "inputs": [
353
+ {
354
+ "indexed": false,
355
+ "internalType": "address",
356
+ "name": "addr",
357
+ "type": "address"
358
+ }
359
+ ],
360
+ "name": "SetMasterWombat",
361
+ "type": "event"
362
+ },
363
+ {
364
+ "anonymous": false,
365
+ "inputs": [
366
+ {
367
+ "indexed": false,
368
+ "internalType": "uint256",
369
+ "name": "value",
370
+ "type": "uint256"
371
+ }
372
+ ],
373
+ "name": "SetMintFeeThreshold",
374
+ "type": "event"
375
+ },
376
+ {
377
+ "anonymous": false,
378
+ "inputs": [
379
+ {
380
+ "indexed": false,
381
+ "internalType": "uint256",
382
+ "name": "value",
383
+ "type": "uint256"
384
+ }
385
+ ],
386
+ "name": "SetWithdrawalHaircutRate",
387
+ "type": "event"
388
+ },
389
+ {
390
+ "anonymous": false,
391
+ "inputs": [
392
+ {
393
+ "indexed": false,
394
+ "internalType": "uint256",
395
+ "name": "creditAmount",
396
+ "type": "uint256"
397
+ },
398
+ {
399
+ "indexed": true,
400
+ "internalType": "address",
401
+ "name": "toToken",
402
+ "type": "address"
403
+ },
404
+ {
405
+ "indexed": false,
406
+ "internalType": "uint256",
407
+ "name": "toAmount",
408
+ "type": "uint256"
409
+ },
410
+ {
411
+ "indexed": false,
412
+ "internalType": "uint256",
413
+ "name": "toTokenFee",
414
+ "type": "uint256"
415
+ },
416
+ {
417
+ "indexed": true,
418
+ "internalType": "address",
419
+ "name": "receiver",
420
+ "type": "address"
421
+ }
422
+ ],
423
+ "name": "SwapCreditForTokens",
424
+ "type": "event"
425
+ },
426
+ {
427
+ "anonymous": false,
428
+ "inputs": [
429
+ {
430
+ "indexed": true,
431
+ "internalType": "address",
432
+ "name": "sender",
433
+ "type": "address"
434
+ },
435
+ {
436
+ "indexed": true,
437
+ "internalType": "address",
438
+ "name": "fromToken",
439
+ "type": "address"
440
+ },
441
+ {
442
+ "indexed": false,
443
+ "internalType": "uint256",
444
+ "name": "fromAmount",
445
+ "type": "uint256"
446
+ },
447
+ {
448
+ "indexed": false,
449
+ "internalType": "uint256",
450
+ "name": "fromTokenFee",
451
+ "type": "uint256"
452
+ },
453
+ {
454
+ "indexed": false,
455
+ "internalType": "uint256",
456
+ "name": "creditAmount",
457
+ "type": "uint256"
458
+ }
459
+ ],
460
+ "name": "SwapTokensForCredit",
461
+ "type": "event"
462
+ },
463
+ {
464
+ "anonymous": false,
465
+ "inputs": [
466
+ {
467
+ "indexed": true,
468
+ "internalType": "address",
469
+ "name": "sender",
470
+ "type": "address"
471
+ },
472
+ {
473
+ "indexed": false,
474
+ "internalType": "address",
475
+ "name": "fromToken",
476
+ "type": "address"
477
+ },
478
+ {
479
+ "indexed": false,
480
+ "internalType": "address",
481
+ "name": "toToken",
482
+ "type": "address"
483
+ },
484
+ {
485
+ "indexed": false,
486
+ "internalType": "uint256",
487
+ "name": "fromAmount",
488
+ "type": "uint256"
489
+ },
490
+ {
491
+ "indexed": false,
492
+ "internalType": "uint256",
493
+ "name": "toAmount",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "indexed": false,
498
+ "internalType": "uint256",
499
+ "name": "toTokenFee",
500
+ "type": "uint256"
501
+ },
502
+ {
503
+ "indexed": true,
504
+ "internalType": "address",
505
+ "name": "to",
506
+ "type": "address"
507
+ }
508
+ ],
509
+ "name": "SwapV2",
510
+ "type": "event"
511
+ },
512
+ {
513
+ "anonymous": false,
514
+ "inputs": [
515
+ {
516
+ "indexed": false,
517
+ "internalType": "address",
518
+ "name": "token",
519
+ "type": "address"
520
+ },
521
+ {
522
+ "indexed": false,
523
+ "internalType": "uint256",
524
+ "name": "amount",
525
+ "type": "uint256"
526
+ },
527
+ {
528
+ "indexed": false,
529
+ "internalType": "address",
530
+ "name": "to",
531
+ "type": "address"
532
+ }
533
+ ],
534
+ "name": "TransferTipBucket",
535
+ "type": "event"
536
+ },
537
+ {
538
+ "anonymous": false,
539
+ "inputs": [
540
+ {
541
+ "indexed": false,
542
+ "internalType": "address",
543
+ "name": "account",
544
+ "type": "address"
545
+ }
546
+ ],
547
+ "name": "Unpaused",
548
+ "type": "event"
549
+ },
550
+ {
551
+ "anonymous": false,
552
+ "inputs": [
553
+ {
554
+ "indexed": false,
555
+ "internalType": "address",
556
+ "name": "token",
557
+ "type": "address"
558
+ },
559
+ {
560
+ "indexed": false,
561
+ "internalType": "address",
562
+ "name": "account",
563
+ "type": "address"
564
+ }
565
+ ],
566
+ "name": "UnpausedAsset",
567
+ "type": "event"
568
+ },
569
+ {
570
+ "anonymous": false,
571
+ "inputs": [
572
+ {
573
+ "indexed": true,
574
+ "internalType": "address",
575
+ "name": "sender",
576
+ "type": "address"
577
+ },
578
+ {
579
+ "indexed": false,
580
+ "internalType": "address",
581
+ "name": "token",
582
+ "type": "address"
583
+ },
584
+ {
585
+ "indexed": false,
586
+ "internalType": "uint256",
587
+ "name": "amount",
588
+ "type": "uint256"
589
+ },
590
+ {
591
+ "indexed": false,
592
+ "internalType": "uint256",
593
+ "name": "liquidity",
594
+ "type": "uint256"
595
+ },
596
+ {
597
+ "indexed": true,
598
+ "internalType": "address",
599
+ "name": "to",
600
+ "type": "address"
601
+ }
602
+ ],
603
+ "name": "Withdraw",
604
+ "type": "event"
605
+ },
606
+ {
607
+ "inputs": [],
608
+ "name": "adaptor",
609
+ "outputs": [
610
+ {
611
+ "internalType": "contract IAdaptor",
612
+ "name": "",
613
+ "type": "address"
614
+ }
615
+ ],
616
+ "stateMutability": "view",
617
+ "type": "function"
618
+ },
619
+ {
620
+ "inputs": [
621
+ {
622
+ "internalType": "address",
623
+ "name": "token",
624
+ "type": "address"
625
+ },
626
+ {
627
+ "internalType": "address",
628
+ "name": "asset",
629
+ "type": "address"
630
+ }
631
+ ],
632
+ "name": "addAsset",
633
+ "outputs": [],
634
+ "stateMutability": "nonpayable",
635
+ "type": "function"
636
+ },
637
+ {
638
+ "inputs": [
639
+ {
640
+ "internalType": "address",
641
+ "name": "token",
642
+ "type": "address"
643
+ }
644
+ ],
645
+ "name": "addressOfAsset",
646
+ "outputs": [
647
+ {
648
+ "internalType": "address",
649
+ "name": "",
650
+ "type": "address"
651
+ }
652
+ ],
653
+ "stateMutability": "view",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [],
658
+ "name": "ampFactor",
659
+ "outputs": [
660
+ {
661
+ "internalType": "uint256",
662
+ "name": "",
663
+ "type": "uint256"
664
+ }
665
+ ],
666
+ "stateMutability": "view",
667
+ "type": "function"
668
+ },
669
+ {
670
+ "inputs": [
671
+ {
672
+ "internalType": "address",
673
+ "name": "toToken",
674
+ "type": "address"
675
+ },
676
+ {
677
+ "internalType": "uint256",
678
+ "name": "fromAmount",
679
+ "type": "uint256"
680
+ },
681
+ {
682
+ "internalType": "uint256",
683
+ "name": "minimumToAmount",
684
+ "type": "uint256"
685
+ },
686
+ {
687
+ "internalType": "address",
688
+ "name": "receiver",
689
+ "type": "address"
690
+ }
691
+ ],
692
+ "name": "completeSwapCreditForTokens",
693
+ "outputs": [
694
+ {
695
+ "internalType": "uint256",
696
+ "name": "actualToAmount",
697
+ "type": "uint256"
698
+ },
699
+ {
700
+ "internalType": "uint256",
701
+ "name": "toTokenFee",
702
+ "type": "uint256"
703
+ }
704
+ ],
705
+ "stateMutability": "nonpayable",
706
+ "type": "function"
707
+ },
708
+ {
709
+ "inputs": [
710
+ {
711
+ "internalType": "address",
712
+ "name": "",
713
+ "type": "address"
714
+ }
715
+ ],
716
+ "name": "creditBalance",
717
+ "outputs": [
718
+ {
719
+ "internalType": "uint256",
720
+ "name": "",
721
+ "type": "uint256"
722
+ }
723
+ ],
724
+ "stateMutability": "view",
725
+ "type": "function"
726
+ },
727
+ {
728
+ "inputs": [],
729
+ "name": "creditForTokensHaircut",
730
+ "outputs": [
731
+ {
732
+ "internalType": "uint128",
733
+ "name": "",
734
+ "type": "uint128"
735
+ }
736
+ ],
737
+ "stateMutability": "view",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [
742
+ {
743
+ "internalType": "address",
744
+ "name": "token",
745
+ "type": "address"
746
+ },
747
+ {
748
+ "internalType": "uint256",
749
+ "name": "amount",
750
+ "type": "uint256"
751
+ },
752
+ {
753
+ "internalType": "uint256",
754
+ "name": "minimumLiquidity",
755
+ "type": "uint256"
756
+ },
757
+ {
758
+ "internalType": "address",
759
+ "name": "to",
760
+ "type": "address"
761
+ },
762
+ {
763
+ "internalType": "uint256",
764
+ "name": "deadline",
765
+ "type": "uint256"
766
+ },
767
+ {
768
+ "internalType": "bool",
769
+ "name": "shouldStake",
770
+ "type": "bool"
771
+ }
772
+ ],
773
+ "name": "deposit",
774
+ "outputs": [
775
+ {
776
+ "internalType": "uint256",
777
+ "name": "liquidity",
778
+ "type": "uint256"
779
+ }
780
+ ],
781
+ "stateMutability": "nonpayable",
782
+ "type": "function"
783
+ },
784
+ {
785
+ "inputs": [],
786
+ "name": "dev",
787
+ "outputs": [
788
+ {
789
+ "internalType": "address",
790
+ "name": "",
791
+ "type": "address"
792
+ }
793
+ ],
794
+ "stateMutability": "view",
795
+ "type": "function"
796
+ },
797
+ {
798
+ "inputs": [],
799
+ "name": "endCovRatio",
800
+ "outputs": [
801
+ {
802
+ "internalType": "uint128",
803
+ "name": "",
804
+ "type": "uint128"
805
+ }
806
+ ],
807
+ "stateMutability": "view",
808
+ "type": "function"
809
+ },
810
+ {
811
+ "inputs": [
812
+ {
813
+ "internalType": "address",
814
+ "name": "token",
815
+ "type": "address"
816
+ }
817
+ ],
818
+ "name": "exchangeRate",
819
+ "outputs": [
820
+ {
821
+ "internalType": "uint256",
822
+ "name": "xr",
823
+ "type": "uint256"
824
+ }
825
+ ],
826
+ "stateMutability": "view",
827
+ "type": "function"
828
+ },
829
+ {
830
+ "inputs": [],
831
+ "name": "feeTo",
832
+ "outputs": [
833
+ {
834
+ "internalType": "address",
835
+ "name": "",
836
+ "type": "address"
837
+ }
838
+ ],
839
+ "stateMutability": "view",
840
+ "type": "function"
841
+ },
842
+ {
843
+ "inputs": [
844
+ {
845
+ "internalType": "address",
846
+ "name": "token",
847
+ "type": "address"
848
+ },
849
+ {
850
+ "internalType": "uint256",
851
+ "name": "amount",
852
+ "type": "uint256"
853
+ }
854
+ ],
855
+ "name": "fillPool",
856
+ "outputs": [],
857
+ "stateMutability": "nonpayable",
858
+ "type": "function"
859
+ },
860
+ {
861
+ "inputs": [],
862
+ "name": "getTokens",
863
+ "outputs": [
864
+ {
865
+ "internalType": "address[]",
866
+ "name": "",
867
+ "type": "address[]"
868
+ }
869
+ ],
870
+ "stateMutability": "view",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "inputs": [],
875
+ "name": "globalEquilCovRatio",
876
+ "outputs": [
877
+ {
878
+ "internalType": "int256",
879
+ "name": "equilCovRatio",
880
+ "type": "int256"
881
+ },
882
+ {
883
+ "internalType": "int256",
884
+ "name": "invariant",
885
+ "type": "int256"
886
+ }
887
+ ],
888
+ "stateMutability": "view",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "inputs": [],
893
+ "name": "globalEquilCovRatioWithCredit",
894
+ "outputs": [
895
+ {
896
+ "internalType": "uint256",
897
+ "name": "equilCovRatio",
898
+ "type": "uint256"
899
+ },
900
+ {
901
+ "internalType": "uint256",
902
+ "name": "invariantInUint",
903
+ "type": "uint256"
904
+ }
905
+ ],
906
+ "stateMutability": "view",
907
+ "type": "function"
908
+ },
909
+ {
910
+ "inputs": [],
911
+ "name": "haircutRate",
912
+ "outputs": [
913
+ {
914
+ "internalType": "uint256",
915
+ "name": "",
916
+ "type": "uint256"
917
+ }
918
+ ],
919
+ "stateMutability": "view",
920
+ "type": "function"
921
+ },
922
+ {
923
+ "inputs": [
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "ampFactor_",
927
+ "type": "uint256"
928
+ },
929
+ {
930
+ "internalType": "uint256",
931
+ "name": "haircutRate_",
932
+ "type": "uint256"
933
+ }
934
+ ],
935
+ "name": "initialize",
936
+ "outputs": [],
937
+ "stateMutability": "nonpayable",
938
+ "type": "function"
939
+ },
940
+ {
941
+ "inputs": [
942
+ {
943
+ "internalType": "address",
944
+ "name": "token",
945
+ "type": "address"
946
+ }
947
+ ],
948
+ "name": "isPaused",
949
+ "outputs": [
950
+ {
951
+ "internalType": "bool",
952
+ "name": "",
953
+ "type": "bool"
954
+ }
955
+ ],
956
+ "stateMutability": "view",
957
+ "type": "function"
958
+ },
959
+ {
960
+ "inputs": [],
961
+ "name": "lpDividendRatio",
962
+ "outputs": [
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "",
966
+ "type": "uint256"
967
+ }
968
+ ],
969
+ "stateMutability": "view",
970
+ "type": "function"
971
+ },
972
+ {
973
+ "inputs": [],
974
+ "name": "masterWombat",
975
+ "outputs": [
976
+ {
977
+ "internalType": "address",
978
+ "name": "",
979
+ "type": "address"
980
+ }
981
+ ],
982
+ "stateMutability": "view",
983
+ "type": "function"
984
+ },
985
+ {
986
+ "inputs": [],
987
+ "name": "maximumInboundCredit",
988
+ "outputs": [
989
+ {
990
+ "internalType": "uint128",
991
+ "name": "",
992
+ "type": "uint128"
993
+ }
994
+ ],
995
+ "stateMutability": "view",
996
+ "type": "function"
997
+ },
998
+ {
999
+ "inputs": [],
1000
+ "name": "maximumOutboundCredit",
1001
+ "outputs": [
1002
+ {
1003
+ "internalType": "uint128",
1004
+ "name": "",
1005
+ "type": "uint128"
1006
+ }
1007
+ ],
1008
+ "stateMutability": "view",
1009
+ "type": "function"
1010
+ },
1011
+ {
1012
+ "inputs": [
1013
+ {
1014
+ "internalType": "uint256",
1015
+ "name": "creditAmount",
1016
+ "type": "uint256"
1017
+ },
1018
+ {
1019
+ "internalType": "address",
1020
+ "name": "receiver",
1021
+ "type": "address"
1022
+ }
1023
+ ],
1024
+ "name": "mintCredit",
1025
+ "outputs": [],
1026
+ "stateMutability": "nonpayable",
1027
+ "type": "function"
1028
+ },
1029
+ {
1030
+ "inputs": [
1031
+ {
1032
+ "internalType": "address",
1033
+ "name": "token",
1034
+ "type": "address"
1035
+ }
1036
+ ],
1037
+ "name": "mintFee",
1038
+ "outputs": [
1039
+ {
1040
+ "internalType": "uint256",
1041
+ "name": "feeCollected",
1042
+ "type": "uint256"
1043
+ }
1044
+ ],
1045
+ "stateMutability": "nonpayable",
1046
+ "type": "function"
1047
+ },
1048
+ {
1049
+ "inputs": [],
1050
+ "name": "mintFeeThreshold",
1051
+ "outputs": [
1052
+ {
1053
+ "internalType": "uint256",
1054
+ "name": "",
1055
+ "type": "uint256"
1056
+ }
1057
+ ],
1058
+ "stateMutability": "view",
1059
+ "type": "function"
1060
+ },
1061
+ {
1062
+ "inputs": [],
1063
+ "name": "owner",
1064
+ "outputs": [
1065
+ {
1066
+ "internalType": "address",
1067
+ "name": "",
1068
+ "type": "address"
1069
+ }
1070
+ ],
1071
+ "stateMutability": "view",
1072
+ "type": "function"
1073
+ },
1074
+ {
1075
+ "inputs": [],
1076
+ "name": "pause",
1077
+ "outputs": [],
1078
+ "stateMutability": "nonpayable",
1079
+ "type": "function"
1080
+ },
1081
+ {
1082
+ "inputs": [
1083
+ {
1084
+ "internalType": "address",
1085
+ "name": "token",
1086
+ "type": "address"
1087
+ }
1088
+ ],
1089
+ "name": "pauseAsset",
1090
+ "outputs": [],
1091
+ "stateMutability": "nonpayable",
1092
+ "type": "function"
1093
+ },
1094
+ {
1095
+ "inputs": [],
1096
+ "name": "paused",
1097
+ "outputs": [
1098
+ {
1099
+ "internalType": "bool",
1100
+ "name": "",
1101
+ "type": "bool"
1102
+ }
1103
+ ],
1104
+ "stateMutability": "view",
1105
+ "type": "function"
1106
+ },
1107
+ {
1108
+ "inputs": [
1109
+ {
1110
+ "internalType": "address",
1111
+ "name": "fromToken",
1112
+ "type": "address"
1113
+ },
1114
+ {
1115
+ "internalType": "address",
1116
+ "name": "toToken",
1117
+ "type": "address"
1118
+ },
1119
+ {
1120
+ "internalType": "int256",
1121
+ "name": "toAmount",
1122
+ "type": "int256"
1123
+ }
1124
+ ],
1125
+ "name": "quoteAmountIn",
1126
+ "outputs": [
1127
+ {
1128
+ "internalType": "uint256",
1129
+ "name": "amountIn",
1130
+ "type": "uint256"
1131
+ },
1132
+ {
1133
+ "internalType": "uint256",
1134
+ "name": "haircut",
1135
+ "type": "uint256"
1136
+ }
1137
+ ],
1138
+ "stateMutability": "view",
1139
+ "type": "function"
1140
+ },
1141
+ {
1142
+ "inputs": [
1143
+ {
1144
+ "internalType": "address",
1145
+ "name": "token",
1146
+ "type": "address"
1147
+ },
1148
+ {
1149
+ "internalType": "uint256",
1150
+ "name": "amount",
1151
+ "type": "uint256"
1152
+ }
1153
+ ],
1154
+ "name": "quotePotentialDeposit",
1155
+ "outputs": [
1156
+ {
1157
+ "internalType": "uint256",
1158
+ "name": "liquidity",
1159
+ "type": "uint256"
1160
+ }
1161
+ ],
1162
+ "stateMutability": "view",
1163
+ "type": "function"
1164
+ },
1165
+ {
1166
+ "inputs": [
1167
+ {
1168
+ "internalType": "address",
1169
+ "name": "fromToken",
1170
+ "type": "address"
1171
+ },
1172
+ {
1173
+ "internalType": "address",
1174
+ "name": "toToken",
1175
+ "type": "address"
1176
+ },
1177
+ {
1178
+ "internalType": "int256",
1179
+ "name": "fromAmount",
1180
+ "type": "int256"
1181
+ }
1182
+ ],
1183
+ "name": "quotePotentialSwap",
1184
+ "outputs": [
1185
+ {
1186
+ "internalType": "uint256",
1187
+ "name": "potentialOutcome",
1188
+ "type": "uint256"
1189
+ },
1190
+ {
1191
+ "internalType": "uint256",
1192
+ "name": "haircut",
1193
+ "type": "uint256"
1194
+ }
1195
+ ],
1196
+ "stateMutability": "view",
1197
+ "type": "function"
1198
+ },
1199
+ {
1200
+ "inputs": [
1201
+ {
1202
+ "internalType": "address",
1203
+ "name": "token",
1204
+ "type": "address"
1205
+ },
1206
+ {
1207
+ "internalType": "uint256",
1208
+ "name": "liquidity",
1209
+ "type": "uint256"
1210
+ }
1211
+ ],
1212
+ "name": "quotePotentialWithdraw",
1213
+ "outputs": [
1214
+ {
1215
+ "internalType": "uint256",
1216
+ "name": "amount",
1217
+ "type": "uint256"
1218
+ }
1219
+ ],
1220
+ "stateMutability": "view",
1221
+ "type": "function"
1222
+ },
1223
+ {
1224
+ "inputs": [
1225
+ {
1226
+ "internalType": "address",
1227
+ "name": "fromToken",
1228
+ "type": "address"
1229
+ },
1230
+ {
1231
+ "internalType": "address",
1232
+ "name": "toToken",
1233
+ "type": "address"
1234
+ },
1235
+ {
1236
+ "internalType": "uint256",
1237
+ "name": "liquidity",
1238
+ "type": "uint256"
1239
+ }
1240
+ ],
1241
+ "name": "quotePotentialWithdrawFromOtherAsset",
1242
+ "outputs": [
1243
+ {
1244
+ "internalType": "uint256",
1245
+ "name": "finalAmount",
1246
+ "type": "uint256"
1247
+ },
1248
+ {
1249
+ "internalType": "uint256",
1250
+ "name": "withdrewAmount",
1251
+ "type": "uint256"
1252
+ }
1253
+ ],
1254
+ "stateMutability": "view",
1255
+ "type": "function"
1256
+ },
1257
+ {
1258
+ "inputs": [
1259
+ {
1260
+ "internalType": "address",
1261
+ "name": "toToken",
1262
+ "type": "address"
1263
+ },
1264
+ {
1265
+ "internalType": "uint256",
1266
+ "name": "fromCreditAmount",
1267
+ "type": "uint256"
1268
+ }
1269
+ ],
1270
+ "name": "quoteSwapCreditForTokens",
1271
+ "outputs": [
1272
+ {
1273
+ "internalType": "uint256",
1274
+ "name": "actualToAmount",
1275
+ "type": "uint256"
1276
+ },
1277
+ {
1278
+ "internalType": "uint256",
1279
+ "name": "toTokenFee",
1280
+ "type": "uint256"
1281
+ }
1282
+ ],
1283
+ "stateMutability": "view",
1284
+ "type": "function"
1285
+ },
1286
+ {
1287
+ "inputs": [
1288
+ {
1289
+ "internalType": "address",
1290
+ "name": "fromToken",
1291
+ "type": "address"
1292
+ },
1293
+ {
1294
+ "internalType": "uint256",
1295
+ "name": "fromAmount",
1296
+ "type": "uint256"
1297
+ }
1298
+ ],
1299
+ "name": "quoteSwapTokensForCredit",
1300
+ "outputs": [
1301
+ {
1302
+ "internalType": "uint256",
1303
+ "name": "creditAmount",
1304
+ "type": "uint256"
1305
+ },
1306
+ {
1307
+ "internalType": "uint256",
1308
+ "name": "fromTokenFee",
1309
+ "type": "uint256"
1310
+ }
1311
+ ],
1312
+ "stateMutability": "view",
1313
+ "type": "function"
1314
+ },
1315
+ {
1316
+ "inputs": [
1317
+ {
1318
+ "internalType": "address",
1319
+ "name": "token",
1320
+ "type": "address"
1321
+ }
1322
+ ],
1323
+ "name": "removeAsset",
1324
+ "outputs": [],
1325
+ "stateMutability": "nonpayable",
1326
+ "type": "function"
1327
+ },
1328
+ {
1329
+ "inputs": [],
1330
+ "name": "renounceOwnership",
1331
+ "outputs": [],
1332
+ "stateMutability": "nonpayable",
1333
+ "type": "function"
1334
+ },
1335
+ {
1336
+ "inputs": [],
1337
+ "name": "retentionRatio",
1338
+ "outputs": [
1339
+ {
1340
+ "internalType": "uint256",
1341
+ "name": "",
1342
+ "type": "uint256"
1343
+ }
1344
+ ],
1345
+ "stateMutability": "view",
1346
+ "type": "function"
1347
+ },
1348
+ {
1349
+ "inputs": [
1350
+ {
1351
+ "internalType": "contract IAdaptor",
1352
+ "name": "_adaptor",
1353
+ "type": "address"
1354
+ }
1355
+ ],
1356
+ "name": "setAdaptorAddr",
1357
+ "outputs": [],
1358
+ "stateMutability": "nonpayable",
1359
+ "type": "function"
1360
+ },
1361
+ {
1362
+ "inputs": [
1363
+ {
1364
+ "internalType": "uint256",
1365
+ "name": "ampFactor_",
1366
+ "type": "uint256"
1367
+ }
1368
+ ],
1369
+ "name": "setAmpFactor",
1370
+ "outputs": [],
1371
+ "stateMutability": "nonpayable",
1372
+ "type": "function"
1373
+ },
1374
+ {
1375
+ "inputs": [
1376
+ {
1377
+ "internalType": "uint128",
1378
+ "name": "startCovRatio_",
1379
+ "type": "uint128"
1380
+ },
1381
+ {
1382
+ "internalType": "uint128",
1383
+ "name": "endCovRatio_",
1384
+ "type": "uint128"
1385
+ }
1386
+ ],
1387
+ "name": "setCovRatioFeeParam",
1388
+ "outputs": [],
1389
+ "stateMutability": "nonpayable",
1390
+ "type": "function"
1391
+ },
1392
+ {
1393
+ "inputs": [
1394
+ {
1395
+ "internalType": "uint128",
1396
+ "name": "_tokensForCreditHaircut",
1397
+ "type": "uint128"
1398
+ },
1399
+ {
1400
+ "internalType": "uint128",
1401
+ "name": "_creditForTokensHaircut",
1402
+ "type": "uint128"
1403
+ }
1404
+ ],
1405
+ "name": "setCrossChainHaircut",
1406
+ "outputs": [],
1407
+ "stateMutability": "nonpayable",
1408
+ "type": "function"
1409
+ },
1410
+ {
1411
+ "inputs": [
1412
+ {
1413
+ "internalType": "address",
1414
+ "name": "dev_",
1415
+ "type": "address"
1416
+ }
1417
+ ],
1418
+ "name": "setDev",
1419
+ "outputs": [],
1420
+ "stateMutability": "nonpayable",
1421
+ "type": "function"
1422
+ },
1423
+ {
1424
+ "inputs": [
1425
+ {
1426
+ "internalType": "uint256",
1427
+ "name": "lpDividendRatio_",
1428
+ "type": "uint256"
1429
+ },
1430
+ {
1431
+ "internalType": "uint256",
1432
+ "name": "retentionRatio_",
1433
+ "type": "uint256"
1434
+ }
1435
+ ],
1436
+ "name": "setFee",
1437
+ "outputs": [],
1438
+ "stateMutability": "nonpayable",
1439
+ "type": "function"
1440
+ },
1441
+ {
1442
+ "inputs": [
1443
+ {
1444
+ "internalType": "address",
1445
+ "name": "feeTo_",
1446
+ "type": "address"
1447
+ }
1448
+ ],
1449
+ "name": "setFeeTo",
1450
+ "outputs": [],
1451
+ "stateMutability": "nonpayable",
1452
+ "type": "function"
1453
+ },
1454
+ {
1455
+ "inputs": [
1456
+ {
1457
+ "internalType": "uint256",
1458
+ "name": "haircutRate_",
1459
+ "type": "uint256"
1460
+ }
1461
+ ],
1462
+ "name": "setHaircutRate",
1463
+ "outputs": [],
1464
+ "stateMutability": "nonpayable",
1465
+ "type": "function"
1466
+ },
1467
+ {
1468
+ "inputs": [
1469
+ {
1470
+ "internalType": "address",
1471
+ "name": "masterWombat_",
1472
+ "type": "address"
1473
+ }
1474
+ ],
1475
+ "name": "setMasterWombat",
1476
+ "outputs": [],
1477
+ "stateMutability": "nonpayable",
1478
+ "type": "function"
1479
+ },
1480
+ {
1481
+ "inputs": [
1482
+ {
1483
+ "internalType": "uint128",
1484
+ "name": "_maximumInboundCredit",
1485
+ "type": "uint128"
1486
+ }
1487
+ ],
1488
+ "name": "setMaximumInboundCredit",
1489
+ "outputs": [],
1490
+ "stateMutability": "nonpayable",
1491
+ "type": "function"
1492
+ },
1493
+ {
1494
+ "inputs": [
1495
+ {
1496
+ "internalType": "uint128",
1497
+ "name": "_maximumOutboundCredit",
1498
+ "type": "uint128"
1499
+ }
1500
+ ],
1501
+ "name": "setMaximumOutboundCredit",
1502
+ "outputs": [],
1503
+ "stateMutability": "nonpayable",
1504
+ "type": "function"
1505
+ },
1506
+ {
1507
+ "inputs": [
1508
+ {
1509
+ "internalType": "uint256",
1510
+ "name": "mintFeeThreshold_",
1511
+ "type": "uint256"
1512
+ }
1513
+ ],
1514
+ "name": "setMintFeeThreshold",
1515
+ "outputs": [],
1516
+ "stateMutability": "nonpayable",
1517
+ "type": "function"
1518
+ },
1519
+ {
1520
+ "inputs": [
1521
+ {
1522
+ "internalType": "bool",
1523
+ "name": "enable",
1524
+ "type": "bool"
1525
+ }
1526
+ ],
1527
+ "name": "setSwapCreditForTokensEnabled",
1528
+ "outputs": [],
1529
+ "stateMutability": "nonpayable",
1530
+ "type": "function"
1531
+ },
1532
+ {
1533
+ "inputs": [
1534
+ {
1535
+ "internalType": "bool",
1536
+ "name": "enable",
1537
+ "type": "bool"
1538
+ }
1539
+ ],
1540
+ "name": "setSwapTokensForCreditEnabled",
1541
+ "outputs": [],
1542
+ "stateMutability": "nonpayable",
1543
+ "type": "function"
1544
+ },
1545
+ {
1546
+ "inputs": [
1547
+ {
1548
+ "internalType": "uint256",
1549
+ "name": "withdrawalHaircutRate_",
1550
+ "type": "uint256"
1551
+ }
1552
+ ],
1553
+ "name": "setWithdrawalHaircutRate",
1554
+ "outputs": [],
1555
+ "stateMutability": "nonpayable",
1556
+ "type": "function"
1557
+ },
1558
+ {
1559
+ "inputs": [],
1560
+ "name": "startCovRatio",
1561
+ "outputs": [
1562
+ {
1563
+ "internalType": "uint128",
1564
+ "name": "",
1565
+ "type": "uint128"
1566
+ }
1567
+ ],
1568
+ "stateMutability": "view",
1569
+ "type": "function"
1570
+ },
1571
+ {
1572
+ "inputs": [
1573
+ {
1574
+ "internalType": "address",
1575
+ "name": "fromToken",
1576
+ "type": "address"
1577
+ },
1578
+ {
1579
+ "internalType": "address",
1580
+ "name": "toToken",
1581
+ "type": "address"
1582
+ },
1583
+ {
1584
+ "internalType": "uint256",
1585
+ "name": "fromAmount",
1586
+ "type": "uint256"
1587
+ },
1588
+ {
1589
+ "internalType": "uint256",
1590
+ "name": "minimumToAmount",
1591
+ "type": "uint256"
1592
+ },
1593
+ {
1594
+ "internalType": "address",
1595
+ "name": "to",
1596
+ "type": "address"
1597
+ },
1598
+ {
1599
+ "internalType": "uint256",
1600
+ "name": "deadline",
1601
+ "type": "uint256"
1602
+ }
1603
+ ],
1604
+ "name": "swap",
1605
+ "outputs": [
1606
+ {
1607
+ "internalType": "uint256",
1608
+ "name": "actualToAmount",
1609
+ "type": "uint256"
1610
+ },
1611
+ {
1612
+ "internalType": "uint256",
1613
+ "name": "haircut",
1614
+ "type": "uint256"
1615
+ }
1616
+ ],
1617
+ "stateMutability": "nonpayable",
1618
+ "type": "function"
1619
+ },
1620
+ {
1621
+ "inputs": [
1622
+ {
1623
+ "internalType": "address",
1624
+ "name": "toToken",
1625
+ "type": "address"
1626
+ },
1627
+ {
1628
+ "internalType": "uint256",
1629
+ "name": "fromAmount",
1630
+ "type": "uint256"
1631
+ },
1632
+ {
1633
+ "internalType": "uint256",
1634
+ "name": "minimumToAmount",
1635
+ "type": "uint256"
1636
+ },
1637
+ {
1638
+ "internalType": "address",
1639
+ "name": "receiver",
1640
+ "type": "address"
1641
+ }
1642
+ ],
1643
+ "name": "swapCreditForTokens",
1644
+ "outputs": [
1645
+ {
1646
+ "internalType": "uint256",
1647
+ "name": "actualToAmount",
1648
+ "type": "uint256"
1649
+ },
1650
+ {
1651
+ "internalType": "uint256",
1652
+ "name": "toTokenFee",
1653
+ "type": "uint256"
1654
+ }
1655
+ ],
1656
+ "stateMutability": "nonpayable",
1657
+ "type": "function"
1658
+ },
1659
+ {
1660
+ "inputs": [
1661
+ {
1662
+ "internalType": "address",
1663
+ "name": "toToken",
1664
+ "type": "address"
1665
+ },
1666
+ {
1667
+ "internalType": "uint256",
1668
+ "name": "toChain",
1669
+ "type": "uint256"
1670
+ },
1671
+ {
1672
+ "internalType": "uint256",
1673
+ "name": "fromAmount",
1674
+ "type": "uint256"
1675
+ },
1676
+ {
1677
+ "internalType": "uint256",
1678
+ "name": "minimumToAmount",
1679
+ "type": "uint256"
1680
+ },
1681
+ {
1682
+ "internalType": "address",
1683
+ "name": "receiver",
1684
+ "type": "address"
1685
+ },
1686
+ {
1687
+ "internalType": "uint256",
1688
+ "name": "receiverValue",
1689
+ "type": "uint256"
1690
+ },
1691
+ {
1692
+ "internalType": "uint256",
1693
+ "name": "deliveryGasLimit",
1694
+ "type": "uint256"
1695
+ }
1696
+ ],
1697
+ "name": "swapCreditForTokensCrossChain",
1698
+ "outputs": [
1699
+ {
1700
+ "internalType": "uint256",
1701
+ "name": "trackingId",
1702
+ "type": "uint256"
1703
+ }
1704
+ ],
1705
+ "stateMutability": "payable",
1706
+ "type": "function"
1707
+ },
1708
+ {
1709
+ "inputs": [],
1710
+ "name": "swapCreditForTokensEnabled",
1711
+ "outputs": [
1712
+ {
1713
+ "internalType": "bool",
1714
+ "name": "",
1715
+ "type": "bool"
1716
+ }
1717
+ ],
1718
+ "stateMutability": "view",
1719
+ "type": "function"
1720
+ },
1721
+ {
1722
+ "inputs": [],
1723
+ "name": "swapTokensForCreditEnabled",
1724
+ "outputs": [
1725
+ {
1726
+ "internalType": "bool",
1727
+ "name": "",
1728
+ "type": "bool"
1729
+ }
1730
+ ],
1731
+ "stateMutability": "view",
1732
+ "type": "function"
1733
+ },
1734
+ {
1735
+ "inputs": [
1736
+ {
1737
+ "internalType": "address",
1738
+ "name": "fromToken",
1739
+ "type": "address"
1740
+ },
1741
+ {
1742
+ "internalType": "address",
1743
+ "name": "toToken",
1744
+ "type": "address"
1745
+ },
1746
+ {
1747
+ "internalType": "uint256",
1748
+ "name": "toChain",
1749
+ "type": "uint256"
1750
+ },
1751
+ {
1752
+ "internalType": "uint256",
1753
+ "name": "fromAmount",
1754
+ "type": "uint256"
1755
+ },
1756
+ {
1757
+ "internalType": "uint256",
1758
+ "name": "minimumCreditAmount",
1759
+ "type": "uint256"
1760
+ },
1761
+ {
1762
+ "internalType": "uint256",
1763
+ "name": "minimumToAmount",
1764
+ "type": "uint256"
1765
+ },
1766
+ {
1767
+ "internalType": "address",
1768
+ "name": "receiver",
1769
+ "type": "address"
1770
+ },
1771
+ {
1772
+ "internalType": "uint256",
1773
+ "name": "receiverValue",
1774
+ "type": "uint256"
1775
+ },
1776
+ {
1777
+ "internalType": "uint256",
1778
+ "name": "deliveryGasLimit",
1779
+ "type": "uint256"
1780
+ }
1781
+ ],
1782
+ "name": "swapTokensForTokensCrossChain",
1783
+ "outputs": [
1784
+ {
1785
+ "internalType": "uint256",
1786
+ "name": "creditAmount",
1787
+ "type": "uint256"
1788
+ },
1789
+ {
1790
+ "internalType": "uint256",
1791
+ "name": "fromTokenFee",
1792
+ "type": "uint256"
1793
+ },
1794
+ {
1795
+ "internalType": "uint256",
1796
+ "name": "sequence",
1797
+ "type": "uint256"
1798
+ }
1799
+ ],
1800
+ "stateMutability": "payable",
1801
+ "type": "function"
1802
+ },
1803
+ {
1804
+ "inputs": [
1805
+ {
1806
+ "internalType": "address",
1807
+ "name": "token",
1808
+ "type": "address"
1809
+ }
1810
+ ],
1811
+ "name": "tipBucketBalance",
1812
+ "outputs": [
1813
+ {
1814
+ "internalType": "uint256",
1815
+ "name": "balance",
1816
+ "type": "uint256"
1817
+ }
1818
+ ],
1819
+ "stateMutability": "view",
1820
+ "type": "function"
1821
+ },
1822
+ {
1823
+ "inputs": [],
1824
+ "name": "tokensForCreditHaircut",
1825
+ "outputs": [
1826
+ {
1827
+ "internalType": "uint128",
1828
+ "name": "",
1829
+ "type": "uint128"
1830
+ }
1831
+ ],
1832
+ "stateMutability": "view",
1833
+ "type": "function"
1834
+ },
1835
+ {
1836
+ "inputs": [],
1837
+ "name": "totalCreditBurned",
1838
+ "outputs": [
1839
+ {
1840
+ "internalType": "uint128",
1841
+ "name": "",
1842
+ "type": "uint128"
1843
+ }
1844
+ ],
1845
+ "stateMutability": "view",
1846
+ "type": "function"
1847
+ },
1848
+ {
1849
+ "inputs": [],
1850
+ "name": "totalCreditMinted",
1851
+ "outputs": [
1852
+ {
1853
+ "internalType": "uint128",
1854
+ "name": "",
1855
+ "type": "uint128"
1856
+ }
1857
+ ],
1858
+ "stateMutability": "view",
1859
+ "type": "function"
1860
+ },
1861
+ {
1862
+ "inputs": [
1863
+ {
1864
+ "internalType": "address",
1865
+ "name": "newOwner",
1866
+ "type": "address"
1867
+ }
1868
+ ],
1869
+ "name": "transferOwnership",
1870
+ "outputs": [],
1871
+ "stateMutability": "nonpayable",
1872
+ "type": "function"
1873
+ },
1874
+ {
1875
+ "inputs": [
1876
+ {
1877
+ "internalType": "address",
1878
+ "name": "token",
1879
+ "type": "address"
1880
+ },
1881
+ {
1882
+ "internalType": "uint256",
1883
+ "name": "amount",
1884
+ "type": "uint256"
1885
+ },
1886
+ {
1887
+ "internalType": "address",
1888
+ "name": "to",
1889
+ "type": "address"
1890
+ }
1891
+ ],
1892
+ "name": "transferTipBucket",
1893
+ "outputs": [],
1894
+ "stateMutability": "nonpayable",
1895
+ "type": "function"
1896
+ },
1897
+ {
1898
+ "inputs": [],
1899
+ "name": "unpause",
1900
+ "outputs": [],
1901
+ "stateMutability": "nonpayable",
1902
+ "type": "function"
1903
+ },
1904
+ {
1905
+ "inputs": [
1906
+ {
1907
+ "internalType": "address",
1908
+ "name": "token",
1909
+ "type": "address"
1910
+ }
1911
+ ],
1912
+ "name": "unpauseAsset",
1913
+ "outputs": [],
1914
+ "stateMutability": "nonpayable",
1915
+ "type": "function"
1916
+ },
1917
+ {
1918
+ "inputs": [
1919
+ {
1920
+ "internalType": "address",
1921
+ "name": "token",
1922
+ "type": "address"
1923
+ },
1924
+ {
1925
+ "internalType": "uint256",
1926
+ "name": "liquidity",
1927
+ "type": "uint256"
1928
+ },
1929
+ {
1930
+ "internalType": "uint256",
1931
+ "name": "minimumAmount",
1932
+ "type": "uint256"
1933
+ },
1934
+ {
1935
+ "internalType": "address",
1936
+ "name": "to",
1937
+ "type": "address"
1938
+ },
1939
+ {
1940
+ "internalType": "uint256",
1941
+ "name": "deadline",
1942
+ "type": "uint256"
1943
+ }
1944
+ ],
1945
+ "name": "withdraw",
1946
+ "outputs": [
1947
+ {
1948
+ "internalType": "uint256",
1949
+ "name": "amount",
1950
+ "type": "uint256"
1951
+ }
1952
+ ],
1953
+ "stateMutability": "nonpayable",
1954
+ "type": "function"
1955
+ },
1956
+ {
1957
+ "inputs": [
1958
+ {
1959
+ "internalType": "address",
1960
+ "name": "fromToken",
1961
+ "type": "address"
1962
+ },
1963
+ {
1964
+ "internalType": "address",
1965
+ "name": "toToken",
1966
+ "type": "address"
1967
+ },
1968
+ {
1969
+ "internalType": "uint256",
1970
+ "name": "liquidity",
1971
+ "type": "uint256"
1972
+ },
1973
+ {
1974
+ "internalType": "uint256",
1975
+ "name": "minimumAmount",
1976
+ "type": "uint256"
1977
+ },
1978
+ {
1979
+ "internalType": "address",
1980
+ "name": "to",
1981
+ "type": "address"
1982
+ },
1983
+ {
1984
+ "internalType": "uint256",
1985
+ "name": "deadline",
1986
+ "type": "uint256"
1987
+ }
1988
+ ],
1989
+ "name": "withdrawFromOtherAsset",
1990
+ "outputs": [
1991
+ {
1992
+ "internalType": "uint256",
1993
+ "name": "toAmount",
1994
+ "type": "uint256"
1995
+ }
1996
+ ],
1997
+ "stateMutability": "nonpayable",
1998
+ "type": "function"
1999
+ },
2000
+ {
2001
+ "inputs": [],
2002
+ "name": "withdrawalHaircutRate",
2003
+ "outputs": [
2004
+ {
2005
+ "internalType": "uint256",
2006
+ "name": "",
2007
+ "type": "uint256"
2008
+ }
2009
+ ],
2010
+ "stateMutability": "view",
2011
+ "type": "function"
2012
+ }
2013
+ ]