@katanaperps/katana-perps-sdk 0.0.0-placeholder

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 (428) hide show
  1. package/.nvmrc +1 -0
  2. package/LICENSE +21 -0
  3. package/README.md +90 -0
  4. package/dist/abis/ERC20.json +288 -0
  5. package/dist/abis/EarningsEscrow.json +468 -0
  6. package/dist/abis/Exchange_v1.json +3644 -0
  7. package/dist/abis/IOFT.json +447 -0
  8. package/dist/bridge/config.d.ts +262 -0
  9. package/dist/bridge/config.d.ts.map +1 -0
  10. package/dist/bridge/config.js +221 -0
  11. package/dist/bridge/deposit.d.ts +107 -0
  12. package/dist/bridge/deposit.d.ts.map +1 -0
  13. package/dist/bridge/deposit.js +284 -0
  14. package/dist/bridge/index.d.ts +5 -0
  15. package/dist/bridge/index.d.ts.map +1 -0
  16. package/dist/bridge/index.js +7 -0
  17. package/dist/bridge/utils.d.ts +140 -0
  18. package/dist/bridge/utils.d.ts.map +1 -0
  19. package/dist/bridge/utils.js +66 -0
  20. package/dist/bridge/withdraw.d.ts +42 -0
  21. package/dist/bridge/withdraw.d.ts.map +1 -0
  22. package/dist/bridge/withdraw.js +86 -0
  23. package/dist/client/index.d.ts +4 -0
  24. package/dist/client/index.d.ts.map +1 -0
  25. package/dist/client/index.js +6 -0
  26. package/dist/client/orderBook/index.d.ts +2 -0
  27. package/dist/client/orderBook/index.d.ts.map +1 -0
  28. package/dist/client/orderBook/index.js +4 -0
  29. package/dist/client/orderBook/realTime.d.ts +180 -0
  30. package/dist/client/orderBook/realTime.d.ts.map +1 -0
  31. package/dist/client/orderBook/realTime.js +344 -0
  32. package/dist/client/orderBook/utils.d.ts +15 -0
  33. package/dist/client/orderBook/utils.d.ts.map +1 -0
  34. package/dist/client/orderBook/utils.js +77 -0
  35. package/dist/client/rest/authenticated.d.ts +1199 -0
  36. package/dist/client/rest/authenticated.d.ts.map +1 -0
  37. package/dist/client/rest/authenticated.js +1311 -0
  38. package/dist/client/rest/index.d.ts +3 -0
  39. package/dist/client/rest/index.d.ts.map +1 -0
  40. package/dist/client/rest/index.js +5 -0
  41. package/dist/client/rest/public.d.ts +436 -0
  42. package/dist/client/rest/public.d.ts.map +1 -0
  43. package/dist/client/rest/public.js +502 -0
  44. package/dist/client/webSocket/guards.d.ts +15 -0
  45. package/dist/client/webSocket/guards.d.ts.map +1 -0
  46. package/dist/client/webSocket/guards.js +37 -0
  47. package/dist/client/webSocket/index.d.ts +632 -0
  48. package/dist/client/webSocket/index.d.ts.map +1 -0
  49. package/dist/client/webSocket/index.js +1048 -0
  50. package/dist/client/webSocket/transform.d.ts +3 -0
  51. package/dist/client/webSocket/transform.d.ts.map +1 -0
  52. package/dist/client/webSocket/transform.js +244 -0
  53. package/dist/constants.d.ts +34 -0
  54. package/dist/constants.d.ts.map +1 -0
  55. package/dist/constants.js +38 -0
  56. package/dist/index.d.ts +9 -0
  57. package/dist/index.d.ts.map +1 -0
  58. package/dist/index.js +14 -0
  59. package/dist/orderbook/apiConversions.d.ts +8 -0
  60. package/dist/orderbook/apiConversions.d.ts.map +1 -0
  61. package/dist/orderbook/apiConversions.js +100 -0
  62. package/dist/orderbook/demo.d.ts +2 -0
  63. package/dist/orderbook/demo.d.ts.map +1 -0
  64. package/dist/orderbook/demo.js +68 -0
  65. package/dist/orderbook/index.d.ts +3 -0
  66. package/dist/orderbook/index.d.ts.map +1 -0
  67. package/dist/orderbook/index.js +5 -0
  68. package/dist/orderbook/quantities.d.ts +112 -0
  69. package/dist/orderbook/quantities.d.ts.map +1 -0
  70. package/dist/orderbook/quantities.js +257 -0
  71. package/dist/orderbook/utils.d.ts +8 -0
  72. package/dist/orderbook/utils.d.ts.map +1 -0
  73. package/dist/orderbook/utils.js +28 -0
  74. package/dist/pipmath.d.ts +21 -0
  75. package/dist/pipmath.d.ts.map +1 -0
  76. package/dist/pipmath.js +110 -0
  77. package/dist/signatures.d.ts +37 -0
  78. package/dist/signatures.d.ts.map +1 -0
  79. package/dist/signatures.js +450 -0
  80. package/dist/tests/orderbook/quantities/calculateInitialMarginFractionWithOverride.test.d.ts +2 -0
  81. package/dist/tests/orderbook/quantities/calculateInitialMarginFractionWithOverride.test.d.ts.map +1 -0
  82. package/dist/tests/orderbook/quantities/calculateInitialMarginFractionWithOverride.test.js +49 -0
  83. package/dist/tests/orderbook/quantities/calculateMaximumInitialMarginFractionOverride.test.d.ts +2 -0
  84. package/dist/tests/orderbook/quantities/calculateMaximumInitialMarginFractionOverride.test.d.ts.map +1 -0
  85. package/dist/tests/orderbook/quantities/calculateMaximumInitialMarginFractionOverride.test.js +122 -0
  86. package/dist/tests/orderbook/quantities/determineMaximumReduceOnlyQuantityAvailableAtPriceLevel.test.d.ts +2 -0
  87. package/dist/tests/orderbook/quantities/determineMaximumReduceOnlyQuantityAvailableAtPriceLevel.test.d.ts.map +1 -0
  88. package/dist/tests/orderbook/quantities/determineMaximumReduceOnlyQuantityAvailableAtPriceLevel.test.js +138 -0
  89. package/dist/tests/orderbook/quantities.test.d.ts +2 -0
  90. package/dist/tests/orderbook/quantities.test.d.ts.map +1 -0
  91. package/dist/tests/orderbook/quantities.test.js +310 -0
  92. package/dist/tests/testHelpers.d.ts +2 -0
  93. package/dist/tests/testHelpers.d.ts.map +1 -0
  94. package/dist/tests/testHelpers.js +16 -0
  95. package/dist/tests/utils/deriveBaseURL.test.d.ts +2 -0
  96. package/dist/tests/utils/deriveBaseURL.test.d.ts.map +1 -0
  97. package/dist/tests/utils/deriveBaseURL.test.js +46 -0
  98. package/dist/typechain-types/ERC20.d.ts +170 -0
  99. package/dist/typechain-types/ERC20.d.ts.map +1 -0
  100. package/dist/typechain-types/ERC20.js +2 -0
  101. package/dist/typechain-types/EarningsEscrow.d.ts +210 -0
  102. package/dist/typechain-types/EarningsEscrow.d.ts.map +1 -0
  103. package/dist/typechain-types/EarningsEscrow.js +2 -0
  104. package/dist/typechain-types/ExchangeLayerZeroAdapter.d.ts +253 -0
  105. package/dist/typechain-types/ExchangeLayerZeroAdapter.d.ts.map +1 -0
  106. package/dist/typechain-types/ExchangeLayerZeroAdapter.js +2 -0
  107. package/dist/typechain-types/ExchangeLayerZeroAdapter_v2.d.ts +338 -0
  108. package/dist/typechain-types/ExchangeLayerZeroAdapter_v2.d.ts.map +1 -0
  109. package/dist/typechain-types/ExchangeLayerZeroAdapter_v2.js +2 -0
  110. package/dist/typechain-types/ExchangeLayerZeroAdapter_v3.d.ts +413 -0
  111. package/dist/typechain-types/ExchangeLayerZeroAdapter_v3.d.ts.map +1 -0
  112. package/dist/typechain-types/ExchangeLayerZeroAdapter_v3.js +2 -0
  113. package/dist/typechain-types/Exchange_v1.d.ts +2172 -0
  114. package/dist/typechain-types/Exchange_v1.d.ts.map +1 -0
  115. package/dist/typechain-types/Exchange_v1.js +2 -0
  116. package/dist/typechain-types/Exchange_v2.d.ts +2148 -0
  117. package/dist/typechain-types/Exchange_v2.d.ts.map +1 -0
  118. package/dist/typechain-types/Exchange_v2.js +2 -0
  119. package/dist/typechain-types/FixedIncomeVaultProviderStateAggregator_v1.d.ts +148 -0
  120. package/dist/typechain-types/FixedIncomeVaultProviderStateAggregator_v1.d.ts.map +1 -0
  121. package/dist/typechain-types/FixedIncomeVaultProviderStateAggregator_v1.js +2 -0
  122. package/dist/typechain-types/FixedIncomeVaultProvider_v1.d.ts +1204 -0
  123. package/dist/typechain-types/FixedIncomeVaultProvider_v1.d.ts.map +1 -0
  124. package/dist/typechain-types/FixedIncomeVaultProvider_v1.js +2 -0
  125. package/dist/typechain-types/IOFT.d.ts +247 -0
  126. package/dist/typechain-types/IOFT.d.ts.map +1 -0
  127. package/dist/typechain-types/IOFT.js +2 -0
  128. package/dist/typechain-types/IRewardVault.d.ts +649 -0
  129. package/dist/typechain-types/IRewardVault.d.ts.map +1 -0
  130. package/dist/typechain-types/IRewardVault.js +2 -0
  131. package/dist/typechain-types/KumaOFTAdapterUSDC.d.ts +638 -0
  132. package/dist/typechain-types/KumaOFTAdapterUSDC.d.ts.map +1 -0
  133. package/dist/typechain-types/KumaOFTAdapterUSDC.js +2 -0
  134. package/dist/typechain-types/KumaOFTUSDC.d.ts +756 -0
  135. package/dist/typechain-types/KumaOFTUSDC.d.ts.map +1 -0
  136. package/dist/typechain-types/KumaOFTUSDC.js +2 -0
  137. package/dist/typechain-types/KumaStargateForwarder_v1.d.ts +252 -0
  138. package/dist/typechain-types/KumaStargateForwarder_v1.d.ts.map +1 -0
  139. package/dist/typechain-types/KumaStargateForwarder_v1.js +2 -0
  140. package/dist/typechain-types/KumaStargateForwarder_v2.d.ts +252 -0
  141. package/dist/typechain-types/KumaStargateForwarder_v2.d.ts.map +1 -0
  142. package/dist/typechain-types/KumaStargateForwarder_v2.js +2 -0
  143. package/dist/typechain-types/ProfitShareVaultProvider_v1.d.ts +1095 -0
  144. package/dist/typechain-types/ProfitShareVaultProvider_v1.d.ts.map +1 -0
  145. package/dist/typechain-types/ProfitShareVaultProvider_v1.js +2 -0
  146. package/dist/typechain-types/StargatePoolUSDC.d.ts +956 -0
  147. package/dist/typechain-types/StargatePoolUSDC.d.ts.map +1 -0
  148. package/dist/typechain-types/StargatePoolUSDC.js +2 -0
  149. package/dist/typechain-types/common.d.ts +51 -0
  150. package/dist/typechain-types/common.d.ts.map +1 -0
  151. package/dist/typechain-types/common.js +2 -0
  152. package/dist/typechain-types/factories/ERC20__factory.d.ts +226 -0
  153. package/dist/typechain-types/factories/ERC20__factory.d.ts.map +1 -0
  154. package/dist/typechain-types/factories/ERC20__factory.js +305 -0
  155. package/dist/typechain-types/factories/EarningsEscrow__factory.d.ts +370 -0
  156. package/dist/typechain-types/factories/EarningsEscrow__factory.d.ts.map +1 -0
  157. package/dist/typechain-types/factories/EarningsEscrow__factory.js +485 -0
  158. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter__factory.d.ts +359 -0
  159. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter__factory.d.ts.map +1 -0
  160. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter__factory.js +471 -0
  161. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v2__factory.d.ts +419 -0
  162. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v2__factory.d.ts.map +1 -0
  163. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v2__factory.js +545 -0
  164. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v3__factory.d.ts +546 -0
  165. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v3__factory.d.ts.map +1 -0
  166. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v3__factory.js +710 -0
  167. package/dist/typechain-types/factories/Exchange_v1__factory.d.ts +2852 -0
  168. package/dist/typechain-types/factories/Exchange_v1__factory.d.ts.map +1 -0
  169. package/dist/typechain-types/factories/Exchange_v1__factory.js +3661 -0
  170. package/dist/typechain-types/factories/Exchange_v2__factory.d.ts +2832 -0
  171. package/dist/typechain-types/factories/Exchange_v2__factory.d.ts.map +1 -0
  172. package/dist/typechain-types/factories/Exchange_v2__factory.js +3636 -0
  173. package/dist/typechain-types/factories/FixedIncomeVaultProviderStateAggregator_v1__factory.d.ts +180 -0
  174. package/dist/typechain-types/factories/FixedIncomeVaultProviderStateAggregator_v1__factory.d.ts.map +1 -0
  175. package/dist/typechain-types/factories/FixedIncomeVaultProviderStateAggregator_v1__factory.js +246 -0
  176. package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.d.ts +2092 -0
  177. package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.d.ts.map +1 -0
  178. package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.js +2702 -0
  179. package/dist/typechain-types/factories/IOFT__factory.d.ts +352 -0
  180. package/dist/typechain-types/factories/IOFT__factory.d.ts.map +1 -0
  181. package/dist/typechain-types/factories/IOFT__factory.js +464 -0
  182. package/dist/typechain-types/factories/IRewardVault__factory.d.ts +1019 -0
  183. package/dist/typechain-types/factories/IRewardVault__factory.d.ts.map +1 -0
  184. package/dist/typechain-types/factories/IRewardVault__factory.js +1311 -0
  185. package/dist/typechain-types/factories/KumaOFTAdapterUSDC__factory.d.ts +996 -0
  186. package/dist/typechain-types/factories/KumaOFTAdapterUSDC__factory.d.ts.map +1 -0
  187. package/dist/typechain-types/factories/KumaOFTAdapterUSDC__factory.js +1306 -0
  188. package/dist/typechain-types/factories/KumaOFTUSDC__factory.d.ts +1234 -0
  189. package/dist/typechain-types/factories/KumaOFTUSDC__factory.d.ts.map +1 -0
  190. package/dist/typechain-types/factories/KumaOFTUSDC__factory.js +1619 -0
  191. package/dist/typechain-types/factories/KumaStargateForwarder_v1__factory.d.ts +354 -0
  192. package/dist/typechain-types/factories/KumaStargateForwarder_v1__factory.d.ts.map +1 -0
  193. package/dist/typechain-types/factories/KumaStargateForwarder_v1__factory.js +464 -0
  194. package/dist/typechain-types/factories/KumaStargateForwarder_v2__factory.d.ts +370 -0
  195. package/dist/typechain-types/factories/KumaStargateForwarder_v2__factory.d.ts.map +1 -0
  196. package/dist/typechain-types/factories/KumaStargateForwarder_v2__factory.js +486 -0
  197. package/dist/typechain-types/factories/ProfitShareVaultProvider_v1__factory.d.ts +1914 -0
  198. package/dist/typechain-types/factories/ProfitShareVaultProvider_v1__factory.d.ts.map +1 -0
  199. package/dist/typechain-types/factories/ProfitShareVaultProvider_v1__factory.js +2475 -0
  200. package/dist/typechain-types/factories/StargatePoolUSDC__factory.d.ts +1557 -0
  201. package/dist/typechain-types/factories/StargatePoolUSDC__factory.d.ts.map +1 -0
  202. package/dist/typechain-types/factories/StargatePoolUSDC__factory.js +2019 -0
  203. package/dist/typechain-types/factories/index.d.ts +5 -0
  204. package/dist/typechain-types/factories/index.d.ts.map +1 -0
  205. package/dist/typechain-types/factories/index.js +13 -0
  206. package/dist/typechain-types/index.d.ts +10 -0
  207. package/dist/typechain-types/index.d.ts.map +1 -0
  208. package/dist/typechain-types/index.js +15 -0
  209. package/dist/types/delegatedKeys.d.ts +44 -0
  210. package/dist/types/delegatedKeys.d.ts.map +1 -0
  211. package/dist/types/delegatedKeys.js +2 -0
  212. package/dist/types/enums/index.d.ts +4 -0
  213. package/dist/types/enums/index.d.ts.map +1 -0
  214. package/dist/types/enums/index.js +6 -0
  215. package/dist/types/enums/request.d.ts +980 -0
  216. package/dist/types/enums/request.d.ts.map +1 -0
  217. package/dist/types/enums/request.js +906 -0
  218. package/dist/types/enums/response.d.ts +329 -0
  219. package/dist/types/enums/response.d.ts.map +1 -0
  220. package/dist/types/enums/response.js +296 -0
  221. package/dist/types/enums/signature.d.ts +118 -0
  222. package/dist/types/enums/signature.d.ts.map +1 -0
  223. package/dist/types/enums/signature.js +131 -0
  224. package/dist/types/errors.d.ts +5 -0
  225. package/dist/types/errors.d.ts.map +1 -0
  226. package/dist/types/errors.js +2 -0
  227. package/dist/types/index.d.ts +9 -0
  228. package/dist/types/index.d.ts.map +1 -0
  229. package/dist/types/index.js +10 -0
  230. package/dist/types/orderBook.d.ts +72 -0
  231. package/dist/types/orderBook.d.ts.map +1 -0
  232. package/dist/types/orderBook.js +2 -0
  233. package/dist/types/rest/common/common.d.ts +118 -0
  234. package/dist/types/rest/common/common.d.ts.map +1 -0
  235. package/dist/types/rest/common/common.js +2 -0
  236. package/dist/types/rest/common/guards.d.ts +8 -0
  237. package/dist/types/rest/common/guards.d.ts.map +1 -0
  238. package/dist/types/rest/common/guards.js +14 -0
  239. package/dist/types/rest/endpoints/AssociateWallet.d.ts +40 -0
  240. package/dist/types/rest/endpoints/AssociateWallet.d.ts.map +1 -0
  241. package/dist/types/rest/endpoints/AssociateWallet.js +2 -0
  242. package/dist/types/rest/endpoints/CancelOrders.d.ts +134 -0
  243. package/dist/types/rest/endpoints/CancelOrders.d.ts.map +1 -0
  244. package/dist/types/rest/endpoints/CancelOrders.js +2 -0
  245. package/dist/types/rest/endpoints/CreateOrder.d.ts +401 -0
  246. package/dist/types/rest/endpoints/CreateOrder.d.ts.map +1 -0
  247. package/dist/types/rest/endpoints/CreateOrder.js +2 -0
  248. package/dist/types/rest/endpoints/GetAuthenticationToken.d.ts +39 -0
  249. package/dist/types/rest/endpoints/GetAuthenticationToken.d.ts.map +1 -0
  250. package/dist/types/rest/endpoints/GetAuthenticationToken.js +2 -0
  251. package/dist/types/rest/endpoints/GetCandles.d.ts +115 -0
  252. package/dist/types/rest/endpoints/GetCandles.d.ts.map +1 -0
  253. package/dist/types/rest/endpoints/GetCandles.js +2 -0
  254. package/dist/types/rest/endpoints/GetDeposits.d.ts +109 -0
  255. package/dist/types/rest/endpoints/GetDeposits.d.ts.map +1 -0
  256. package/dist/types/rest/endpoints/GetDeposits.js +2 -0
  257. package/dist/types/rest/endpoints/GetExchange.d.ts +78 -0
  258. package/dist/types/rest/endpoints/GetExchange.d.ts.map +1 -0
  259. package/dist/types/rest/endpoints/GetExchange.js +9 -0
  260. package/dist/types/rest/endpoints/GetFills.d.ts +178 -0
  261. package/dist/types/rest/endpoints/GetFills.d.ts.map +1 -0
  262. package/dist/types/rest/endpoints/GetFills.js +2 -0
  263. package/dist/types/rest/endpoints/GetFundingPayments.d.ts +52 -0
  264. package/dist/types/rest/endpoints/GetFundingPayments.d.ts.map +1 -0
  265. package/dist/types/rest/endpoints/GetFundingPayments.js +2 -0
  266. package/dist/types/rest/endpoints/GetFundingRates.d.ts +34 -0
  267. package/dist/types/rest/endpoints/GetFundingRates.d.ts.map +1 -0
  268. package/dist/types/rest/endpoints/GetFundingRates.js +2 -0
  269. package/dist/types/rest/endpoints/GetGasFees.d.ts +23 -0
  270. package/dist/types/rest/endpoints/GetGasFees.d.ts.map +1 -0
  271. package/dist/types/rest/endpoints/GetGasFees.js +2 -0
  272. package/dist/types/rest/endpoints/GetHistoricalPnL.d.ts +39 -0
  273. package/dist/types/rest/endpoints/GetHistoricalPnL.d.ts.map +1 -0
  274. package/dist/types/rest/endpoints/GetHistoricalPnL.js +2 -0
  275. package/dist/types/rest/endpoints/GetInitialMarginFractionOverride.d.ts +31 -0
  276. package/dist/types/rest/endpoints/GetInitialMarginFractionOverride.d.ts.map +1 -0
  277. package/dist/types/rest/endpoints/GetInitialMarginFractionOverride.js +2 -0
  278. package/dist/types/rest/endpoints/GetLiquidations.d.ts +52 -0
  279. package/dist/types/rest/endpoints/GetLiquidations.d.ts.map +1 -0
  280. package/dist/types/rest/endpoints/GetLiquidations.js +2 -0
  281. package/dist/types/rest/endpoints/GetMarketMakerRewardsEpochs.d.ts +534 -0
  282. package/dist/types/rest/endpoints/GetMarketMakerRewardsEpochs.d.ts.map +1 -0
  283. package/dist/types/rest/endpoints/GetMarketMakerRewardsEpochs.js +2 -0
  284. package/dist/types/rest/endpoints/GetMarkets.d.ts +161 -0
  285. package/dist/types/rest/endpoints/GetMarkets.d.ts.map +1 -0
  286. package/dist/types/rest/endpoints/GetMarkets.js +2 -0
  287. package/dist/types/rest/endpoints/GetOrderBook.d.ts +176 -0
  288. package/dist/types/rest/endpoints/GetOrderBook.d.ts.map +1 -0
  289. package/dist/types/rest/endpoints/GetOrderBook.js +2 -0
  290. package/dist/types/rest/endpoints/GetOrders.d.ts +188 -0
  291. package/dist/types/rest/endpoints/GetOrders.d.ts.map +1 -0
  292. package/dist/types/rest/endpoints/GetOrders.js +2 -0
  293. package/dist/types/rest/endpoints/GetPing.d.ts +8 -0
  294. package/dist/types/rest/endpoints/GetPing.d.ts.map +1 -0
  295. package/dist/types/rest/endpoints/GetPing.js +2 -0
  296. package/dist/types/rest/endpoints/GetPositions.d.ts +104 -0
  297. package/dist/types/rest/endpoints/GetPositions.d.ts.map +1 -0
  298. package/dist/types/rest/endpoints/GetPositions.js +2 -0
  299. package/dist/types/rest/endpoints/GetTickers.d.ts +129 -0
  300. package/dist/types/rest/endpoints/GetTickers.d.ts.map +1 -0
  301. package/dist/types/rest/endpoints/GetTickers.js +2 -0
  302. package/dist/types/rest/endpoints/GetTime.d.ts +14 -0
  303. package/dist/types/rest/endpoints/GetTime.d.ts.map +1 -0
  304. package/dist/types/rest/endpoints/GetTime.js +2 -0
  305. package/dist/types/rest/endpoints/GetTrades.d.ts +62 -0
  306. package/dist/types/rest/endpoints/GetTrades.d.ts.map +1 -0
  307. package/dist/types/rest/endpoints/GetTrades.js +2 -0
  308. package/dist/types/rest/endpoints/GetWallets.d.ts +121 -0
  309. package/dist/types/rest/endpoints/GetWallets.d.ts.map +1 -0
  310. package/dist/types/rest/endpoints/GetWallets.js +2 -0
  311. package/dist/types/rest/endpoints/GetWithdrawals.d.ts +98 -0
  312. package/dist/types/rest/endpoints/GetWithdrawals.d.ts.map +1 -0
  313. package/dist/types/rest/endpoints/GetWithdrawals.js +2 -0
  314. package/dist/types/rest/endpoints/GetWithdrawalsFromManagedAccount.d.ts +98 -0
  315. package/dist/types/rest/endpoints/GetWithdrawalsFromManagedAccount.d.ts.map +1 -0
  316. package/dist/types/rest/endpoints/GetWithdrawalsFromManagedAccount.js +2 -0
  317. package/dist/types/rest/endpoints/Payouts.d.ts +199 -0
  318. package/dist/types/rest/endpoints/Payouts.d.ts.map +1 -0
  319. package/dist/types/rest/endpoints/Payouts.js +2 -0
  320. package/dist/types/rest/endpoints/SetInitialMarginFractionOverride.d.ts +83 -0
  321. package/dist/types/rest/endpoints/SetInitialMarginFractionOverride.d.ts.map +1 -0
  322. package/dist/types/rest/endpoints/SetInitialMarginFractionOverride.js +2 -0
  323. package/dist/types/rest/endpoints/WithdrawFunds.d.ts +144 -0
  324. package/dist/types/rest/endpoints/WithdrawFunds.d.ts.map +1 -0
  325. package/dist/types/rest/endpoints/WithdrawFunds.js +2 -0
  326. package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByQuantity.d.ts +161 -0
  327. package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByQuantity.d.ts.map +1 -0
  328. package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByQuantity.js +2 -0
  329. package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByShares.d.ts +160 -0
  330. package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByShares.d.ts.map +1 -0
  331. package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByShares.js +2 -0
  332. package/dist/types/rest/endpoints/index.d.ts +33 -0
  333. package/dist/types/rest/endpoints/index.d.ts.map +1 -0
  334. package/dist/types/rest/endpoints/index.js +35 -0
  335. package/dist/types/rest/endpoints/internal.d.ts +329 -0
  336. package/dist/types/rest/endpoints/internal.d.ts.map +1 -0
  337. package/dist/types/rest/endpoints/internal.js +14 -0
  338. package/dist/types/rest/index.d.ts +4 -0
  339. package/dist/types/rest/index.d.ts.map +1 -0
  340. package/dist/types/rest/index.js +6 -0
  341. package/dist/types/swaps.d.ts +11 -0
  342. package/dist/types/swaps.d.ts.map +1 -0
  343. package/dist/types/swaps.js +2 -0
  344. package/dist/types/utils.d.ts +67 -0
  345. package/dist/types/utils.d.ts.map +1 -0
  346. package/dist/types/utils.js +3 -0
  347. package/dist/types/webSocket/base.d.ts +83 -0
  348. package/dist/types/webSocket/base.d.ts.map +1 -0
  349. package/dist/types/webSocket/base.js +2 -0
  350. package/dist/types/webSocket/constants.d.ts +41 -0
  351. package/dist/types/webSocket/constants.d.ts.map +1 -0
  352. package/dist/types/webSocket/constants.js +54 -0
  353. package/dist/types/webSocket/index.d.ts +6 -0
  354. package/dist/types/webSocket/index.d.ts.map +1 -0
  355. package/dist/types/webSocket/index.js +8 -0
  356. package/dist/types/webSocket/options.d.ts +276 -0
  357. package/dist/types/webSocket/options.d.ts.map +1 -0
  358. package/dist/types/webSocket/options.js +2 -0
  359. package/dist/types/webSocket/request/index.d.ts +3 -0
  360. package/dist/types/webSocket/request/index.d.ts.map +1 -0
  361. package/dist/types/webSocket/request/index.js +5 -0
  362. package/dist/types/webSocket/request/request.d.ts +137 -0
  363. package/dist/types/webSocket/request/request.d.ts.map +1 -0
  364. package/dist/types/webSocket/request/request.js +2 -0
  365. package/dist/types/webSocket/request/subscriptions.d.ts +498 -0
  366. package/dist/types/webSocket/request/subscriptions.d.ts.map +1 -0
  367. package/dist/types/webSocket/request/subscriptions.js +2 -0
  368. package/dist/types/webSocket/response/candles.d.ts +138 -0
  369. package/dist/types/webSocket/response/candles.d.ts.map +1 -0
  370. package/dist/types/webSocket/response/candles.js +2 -0
  371. package/dist/types/webSocket/response/deposits.d.ts +80 -0
  372. package/dist/types/webSocket/response/deposits.d.ts.map +1 -0
  373. package/dist/types/webSocket/response/deposits.js +2 -0
  374. package/dist/types/webSocket/response/fundingPayments.d.ts +78 -0
  375. package/dist/types/webSocket/response/fundingPayments.d.ts.map +1 -0
  376. package/dist/types/webSocket/response/fundingPayments.js +2 -0
  377. package/dist/types/webSocket/response/index.d.ts +13 -0
  378. package/dist/types/webSocket/response/index.d.ts.map +1 -0
  379. package/dist/types/webSocket/response/index.js +15 -0
  380. package/dist/types/webSocket/response/liquidations.d.ts +78 -0
  381. package/dist/types/webSocket/response/liquidations.d.ts.map +1 -0
  382. package/dist/types/webSocket/response/liquidations.js +2 -0
  383. package/dist/types/webSocket/response/orderbook.d.ts +214 -0
  384. package/dist/types/webSocket/response/orderbook.d.ts.map +1 -0
  385. package/dist/types/webSocket/response/orderbook.js +2 -0
  386. package/dist/types/webSocket/response/orders.d.ts +355 -0
  387. package/dist/types/webSocket/response/orders.d.ts.map +1 -0
  388. package/dist/types/webSocket/response/orders.js +2 -0
  389. package/dist/types/webSocket/response/ordersFill.d.ts +138 -0
  390. package/dist/types/webSocket/response/ordersFill.d.ts.map +1 -0
  391. package/dist/types/webSocket/response/ordersFill.js +2 -0
  392. package/dist/types/webSocket/response/positions.d.ts +120 -0
  393. package/dist/types/webSocket/response/positions.d.ts.map +1 -0
  394. package/dist/types/webSocket/response/positions.js +2 -0
  395. package/dist/types/webSocket/response/tickers.d.ts +131 -0
  396. package/dist/types/webSocket/response/tickers.d.ts.map +1 -0
  397. package/dist/types/webSocket/response/tickers.js +2 -0
  398. package/dist/types/webSocket/response/trades.d.ts +90 -0
  399. package/dist/types/webSocket/response/trades.d.ts.map +1 -0
  400. package/dist/types/webSocket/response/trades.js +2 -0
  401. package/dist/types/webSocket/response/webclient/base.d.ts +24 -0
  402. package/dist/types/webSocket/response/webclient/base.d.ts.map +1 -0
  403. package/dist/types/webSocket/response/webclient/base.js +2 -0
  404. package/dist/types/webSocket/response/webclient/events/exchangeStatus.d.ts +31 -0
  405. package/dist/types/webSocket/response/webclient/events/exchangeStatus.d.ts.map +1 -0
  406. package/dist/types/webSocket/response/webclient/events/exchangeStatus.js +2 -0
  407. package/dist/types/webSocket/response/webclient/events/index.d.ts +4 -0
  408. package/dist/types/webSocket/response/webclient/events/index.d.ts.map +1 -0
  409. package/dist/types/webSocket/response/webclient/events/index.js +6 -0
  410. package/dist/types/webSocket/response/webclient/events/reloadBanners.d.ts +17 -0
  411. package/dist/types/webSocket/response/webclient/events/reloadBanners.d.ts.map +1 -0
  412. package/dist/types/webSocket/response/webclient/events/reloadBanners.js +2 -0
  413. package/dist/types/webSocket/response/webclient/events/transactionSettled.d.ts +76 -0
  414. package/dist/types/webSocket/response/webclient/events/transactionSettled.d.ts.map +1 -0
  415. package/dist/types/webSocket/response/webclient/events/transactionSettled.js +2 -0
  416. package/dist/types/webSocket/response/webclient/index.d.ts +3 -0
  417. package/dist/types/webSocket/response/webclient/index.d.ts.map +1 -0
  418. package/dist/types/webSocket/response/webclient/index.js +5 -0
  419. package/dist/types/webSocket/response/webclient/webclient.d.ts +13 -0
  420. package/dist/types/webSocket/response/webclient/webclient.d.ts.map +1 -0
  421. package/dist/types/webSocket/response/webclient/webclient.js +2 -0
  422. package/dist/types/webSocket/response/withdrawals.d.ts +83 -0
  423. package/dist/types/webSocket/response/withdrawals.d.ts.map +1 -0
  424. package/dist/types/webSocket/response/withdrawals.js +2 -0
  425. package/dist/utils.d.ts +63 -0
  426. package/dist/utils.d.ts.map +1 -0
  427. package/dist/utils.js +136 -0
  428. package/package.json +200 -0
@@ -0,0 +1,2702 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.FixedIncomeVaultProvider_v1__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: 'address',
13
+ name: 'exchange_',
14
+ type: 'address',
15
+ },
16
+ {
17
+ internalType: 'uint64',
18
+ name: 'withdrawalLimitWindowSizeInS_',
19
+ type: 'uint64',
20
+ },
21
+ ],
22
+ stateMutability: 'nonpayable',
23
+ type: 'constructor',
24
+ },
25
+ {
26
+ inputs: [],
27
+ name: 'AddManagedAccountDisabled',
28
+ type: 'error',
29
+ },
30
+ {
31
+ inputs: [
32
+ {
33
+ internalType: 'address',
34
+ name: 'managerWallet',
35
+ type: 'address',
36
+ },
37
+ ],
38
+ name: 'ApplyDepositDisabled',
39
+ type: 'error',
40
+ },
41
+ {
42
+ inputs: [
43
+ {
44
+ internalType: 'address',
45
+ name: 'managerWallet',
46
+ type: 'address',
47
+ },
48
+ ],
49
+ name: 'DepositDisabled',
50
+ type: 'error',
51
+ },
52
+ {
53
+ inputs: [],
54
+ name: 'DepositExceedsMax',
55
+ type: 'error',
56
+ },
57
+ {
58
+ inputs: [
59
+ {
60
+ internalType: 'uint128',
61
+ name: 'maxValue',
62
+ type: 'uint128',
63
+ },
64
+ ],
65
+ name: 'DepositQueueLengthExceedsMax',
66
+ type: 'error',
67
+ },
68
+ {
69
+ inputs: [],
70
+ name: 'Duplicate',
71
+ type: 'error',
72
+ },
73
+ {
74
+ inputs: [],
75
+ name: 'ExitFundCannotHaveOpenPosition',
76
+ type: 'error',
77
+ },
78
+ {
79
+ inputs: [],
80
+ name: 'ExitFundHasNoPositions',
81
+ type: 'error',
82
+ },
83
+ {
84
+ inputs: [
85
+ {
86
+ internalType: 'uint256',
87
+ name: 'actual',
88
+ type: 'uint256',
89
+ },
90
+ {
91
+ internalType: 'uint256',
92
+ name: 'expected',
93
+ type: 'uint256',
94
+ },
95
+ ],
96
+ name: 'InsufficientQuoteBalance',
97
+ type: 'error',
98
+ },
99
+ {
100
+ inputs: [
101
+ {
102
+ internalType: 'uint64',
103
+ name: 'value',
104
+ type: 'uint64',
105
+ },
106
+ {
107
+ internalType: 'uint64',
108
+ name: 'maxValue',
109
+ type: 'uint64',
110
+ },
111
+ {
112
+ internalType: 'uint64',
113
+ name: 'minValue',
114
+ type: 'uint64',
115
+ },
116
+ ],
117
+ name: 'InterestMultiplierOutOfRange',
118
+ type: 'error',
119
+ },
120
+ {
121
+ inputs: [],
122
+ name: 'InvalidContractAddress',
123
+ type: 'error',
124
+ },
125
+ {
126
+ inputs: [
127
+ {
128
+ internalType: 'uint64',
129
+ name: 'depositIndex',
130
+ type: 'uint64',
131
+ },
132
+ ],
133
+ name: 'InvalidDepositIndex',
134
+ type: 'error',
135
+ },
136
+ {
137
+ inputs: [],
138
+ name: 'InvalidDepositorWallet',
139
+ type: 'error',
140
+ },
141
+ {
142
+ inputs: [],
143
+ name: 'InvalidManagerWallet',
144
+ type: 'error',
145
+ },
146
+ {
147
+ inputs: [],
148
+ name: 'InvalidQuantity',
149
+ type: 'error',
150
+ },
151
+ {
152
+ inputs: [],
153
+ name: 'InvalidWalletAddress',
154
+ type: 'error',
155
+ },
156
+ {
157
+ inputs: [],
158
+ name: 'InvalidWalletSignature',
159
+ type: 'error',
160
+ },
161
+ {
162
+ inputs: [
163
+ {
164
+ internalType: 'bytes32',
165
+ name: 'withdrawalHash',
166
+ type: 'bytes32',
167
+ },
168
+ ],
169
+ name: 'InvalidWithdrawalHash',
170
+ type: 'error',
171
+ },
172
+ {
173
+ inputs: [
174
+ {
175
+ internalType: 'uint64',
176
+ name: 'maxValue',
177
+ type: 'uint64',
178
+ },
179
+ {
180
+ internalType: 'uint64',
181
+ name: 'value',
182
+ type: 'uint64',
183
+ },
184
+ ],
185
+ name: 'MaximumGasFeeExceedsQuantity',
186
+ type: 'error',
187
+ },
188
+ {
189
+ inputs: [
190
+ {
191
+ internalType: 'uint64',
192
+ name: 'minValue',
193
+ type: 'uint64',
194
+ },
195
+ {
196
+ internalType: 'uint64',
197
+ name: 'value',
198
+ type: 'uint64',
199
+ },
200
+ ],
201
+ name: 'MaximumGasFeeTooLow',
202
+ type: 'error',
203
+ },
204
+ {
205
+ inputs: [
206
+ {
207
+ internalType: 'uint64',
208
+ name: 'value',
209
+ type: 'uint64',
210
+ },
211
+ {
212
+ internalType: 'uint64',
213
+ name: 'maxValue',
214
+ type: 'uint64',
215
+ },
216
+ {
217
+ internalType: 'uint64',
218
+ name: 'minValue',
219
+ type: 'uint64',
220
+ },
221
+ ],
222
+ name: 'MaximumNetDepositsOutOfRange',
223
+ type: 'error',
224
+ },
225
+ {
226
+ inputs: [
227
+ {
228
+ internalType: 'uint64',
229
+ name: 'value',
230
+ type: 'uint64',
231
+ },
232
+ {
233
+ internalType: 'uint64',
234
+ name: 'maxValue',
235
+ type: 'uint64',
236
+ },
237
+ {
238
+ internalType: 'uint64',
239
+ name: 'minValue',
240
+ type: 'uint64',
241
+ },
242
+ ],
243
+ name: 'MaximumTotalOwedQuantityAvailableMultiplierToInitiateExitOutOfRange',
244
+ type: 'error',
245
+ },
246
+ {
247
+ inputs: [
248
+ {
249
+ internalType: 'uint64',
250
+ name: 'value',
251
+ type: 'uint64',
252
+ },
253
+ {
254
+ internalType: 'uint64',
255
+ name: 'maxValue',
256
+ type: 'uint64',
257
+ },
258
+ {
259
+ internalType: 'uint64',
260
+ name: 'minValue',
261
+ type: 'uint64',
262
+ },
263
+ ],
264
+ name: 'MinimumTotalOwedQuantityAvailableMultiplierToAllowManagerWalletWithdrawalOutOfRange',
265
+ type: 'error',
266
+ },
267
+ {
268
+ inputs: [
269
+ {
270
+ internalType: 'uint64',
271
+ name: 'value',
272
+ type: 'uint64',
273
+ },
274
+ {
275
+ internalType: 'uint64',
276
+ name: 'maxValue',
277
+ type: 'uint64',
278
+ },
279
+ {
280
+ internalType: 'uint64',
281
+ name: 'minValue',
282
+ type: 'uint64',
283
+ },
284
+ ],
285
+ name: 'MinimumUnappliedWithdrawalAgeInSToInitiateExitOutOfRange',
286
+ type: 'error',
287
+ },
288
+ {
289
+ inputs: [
290
+ {
291
+ internalType: 'uint64',
292
+ name: 'value',
293
+ type: 'uint64',
294
+ },
295
+ {
296
+ internalType: 'uint64',
297
+ name: 'maxValue',
298
+ type: 'uint64',
299
+ },
300
+ {
301
+ internalType: 'uint64',
302
+ name: 'minValue',
303
+ type: 'uint64',
304
+ },
305
+ ],
306
+ name: 'MinimumWithdrawalQuantityOutOfRange',
307
+ type: 'error',
308
+ },
309
+ {
310
+ inputs: [],
311
+ name: 'NewInsuranceFundWalletCannotBeExited',
312
+ type: 'error',
313
+ },
314
+ {
315
+ inputs: [],
316
+ name: 'NewValueExceedsMaximum',
317
+ type: 'error',
318
+ },
319
+ {
320
+ inputs: [],
321
+ name: 'NewValueMustBeDifferentFromCurrent',
322
+ type: 'error',
323
+ },
324
+ {
325
+ inputs: [
326
+ {
327
+ internalType: 'uint64',
328
+ name: 'value',
329
+ type: 'uint64',
330
+ },
331
+ {
332
+ internalType: 'uint64',
333
+ name: 'maxValue',
334
+ type: 'uint64',
335
+ },
336
+ {
337
+ internalType: 'uint64',
338
+ name: 'minValue',
339
+ type: 'uint64',
340
+ },
341
+ ],
342
+ name: 'NonceTimestampSkewOutOfRange',
343
+ type: 'error',
344
+ },
345
+ {
346
+ inputs: [],
347
+ name: 'NotImplemented',
348
+ type: 'error',
349
+ },
350
+ {
351
+ inputs: [
352
+ {
353
+ internalType: 'uint8',
354
+ name: 'bits',
355
+ type: 'uint8',
356
+ },
357
+ {
358
+ internalType: 'uint256',
359
+ name: 'value',
360
+ type: 'uint256',
361
+ },
362
+ ],
363
+ name: 'SafeCastOverflowedUintDowncast',
364
+ type: 'error',
365
+ },
366
+ {
367
+ inputs: [],
368
+ name: 'SenderMustBeAdmin',
369
+ type: 'error',
370
+ },
371
+ {
372
+ inputs: [],
373
+ name: 'SenderMustBeAdminOrDispatcher',
374
+ type: 'error',
375
+ },
376
+ {
377
+ inputs: [],
378
+ name: 'SenderMustBeDepositorWallet',
379
+ type: 'error',
380
+ },
381
+ {
382
+ inputs: [],
383
+ name: 'SenderMustBeDispatcher',
384
+ type: 'error',
385
+ },
386
+ {
387
+ inputs: [],
388
+ name: 'SenderMustBeExchange',
389
+ type: 'error',
390
+ },
391
+ {
392
+ inputs: [],
393
+ name: 'SenderMustBeExchangeBridgeAdapter',
394
+ type: 'error',
395
+ },
396
+ {
397
+ inputs: [],
398
+ name: 'SenderMustBeGovernance',
399
+ type: 'error',
400
+ },
401
+ {
402
+ inputs: [],
403
+ name: 'SenderMustBeOwner',
404
+ type: 'error',
405
+ },
406
+ {
407
+ inputs: [],
408
+ name: 'SenderMustBeWithdrawalDispatcher',
409
+ type: 'error',
410
+ },
411
+ {
412
+ inputs: [],
413
+ name: 'UnknownBaseAssetSymbol',
414
+ type: 'error',
415
+ },
416
+ {
417
+ inputs: [],
418
+ name: 'ValueCanOnlyBetSetOnce',
419
+ type: 'error',
420
+ },
421
+ {
422
+ inputs: [
423
+ {
424
+ internalType: 'uint256',
425
+ name: 'actual',
426
+ type: 'uint256',
427
+ },
428
+ {
429
+ internalType: 'uint256',
430
+ name: 'expected',
431
+ type: 'uint256',
432
+ },
433
+ ],
434
+ name: 'VaultConfigurationUpgradeBlockTimestampThresholdNotReached',
435
+ type: 'error',
436
+ },
437
+ {
438
+ inputs: [],
439
+ name: 'VaultConfigurationUpgradeNotInProgress',
440
+ type: 'error',
441
+ },
442
+ {
443
+ inputs: [],
444
+ name: 'VaultIsExitFinalized',
445
+ type: 'error',
446
+ },
447
+ {
448
+ inputs: [],
449
+ name: 'VaultIsExited',
450
+ type: 'error',
451
+ },
452
+ {
453
+ inputs: [],
454
+ name: 'VaultIsLiquidated',
455
+ type: 'error',
456
+ },
457
+ {
458
+ inputs: [],
459
+ name: 'VaultIsNotExited',
460
+ type: 'error',
461
+ },
462
+ {
463
+ inputs: [],
464
+ name: 'WalletCannotBeExited',
465
+ type: 'error',
466
+ },
467
+ {
468
+ inputs: [],
469
+ name: 'WalletHasNoOverridesForMarket',
470
+ type: 'error',
471
+ },
472
+ {
473
+ inputs: [],
474
+ name: 'WalletMustBeExited',
475
+ type: 'error',
476
+ },
477
+ {
478
+ inputs: [],
479
+ name: 'WithdrawalCancellationNotAllowed',
480
+ type: 'error',
481
+ },
482
+ {
483
+ inputs: [
484
+ {
485
+ internalType: 'uint64',
486
+ name: 'value',
487
+ type: 'uint64',
488
+ },
489
+ {
490
+ internalType: 'uint64',
491
+ name: 'maxValue',
492
+ type: 'uint64',
493
+ },
494
+ {
495
+ internalType: 'uint64',
496
+ name: 'minValue',
497
+ type: 'uint64',
498
+ },
499
+ ],
500
+ name: 'WithdrawalLimitPercentForDepositorsOutOfRange',
501
+ type: 'error',
502
+ },
503
+ {
504
+ inputs: [
505
+ {
506
+ internalType: 'uint64',
507
+ name: 'value',
508
+ type: 'uint64',
509
+ },
510
+ {
511
+ internalType: 'uint64',
512
+ name: 'maxValue',
513
+ type: 'uint64',
514
+ },
515
+ {
516
+ internalType: 'uint64',
517
+ name: 'minValue',
518
+ type: 'uint64',
519
+ },
520
+ ],
521
+ name: 'WithdrawalLimitPercentForVaultOutOfRange',
522
+ type: 'error',
523
+ },
524
+ {
525
+ inputs: [
526
+ {
527
+ internalType: 'uint64',
528
+ name: 'value',
529
+ type: 'uint64',
530
+ },
531
+ {
532
+ internalType: 'uint64',
533
+ name: 'maxValue',
534
+ type: 'uint64',
535
+ },
536
+ {
537
+ internalType: 'uint64',
538
+ name: 'minValue',
539
+ type: 'uint64',
540
+ },
541
+ ],
542
+ name: 'WithdrawalLimitWindowSizeInSOutOfRange',
543
+ type: 'error',
544
+ },
545
+ {
546
+ inputs: [
547
+ {
548
+ internalType: 'uint64',
549
+ name: 'minValue',
550
+ type: 'uint64',
551
+ },
552
+ {
553
+ internalType: 'uint64',
554
+ name: 'value',
555
+ type: 'uint64',
556
+ },
557
+ ],
558
+ name: 'WithdrawalQuantityBelowMinimum',
559
+ type: 'error',
560
+ },
561
+ {
562
+ inputs: [
563
+ {
564
+ internalType: 'uint64',
565
+ name: 'limit',
566
+ type: 'uint64',
567
+ },
568
+ {
569
+ internalType: 'uint64',
570
+ name: 'value',
571
+ type: 'uint64',
572
+ },
573
+ ],
574
+ name: 'WithdrawalQuantityExceedsLimit',
575
+ type: 'error',
576
+ },
577
+ {
578
+ anonymous: false,
579
+ inputs: [],
580
+ name: 'AddManagedAccountsDisabledAdmin',
581
+ type: 'event',
582
+ },
583
+ {
584
+ anonymous: false,
585
+ inputs: [],
586
+ name: 'AddManagedAccountsEnabledAdmin',
587
+ type: 'event',
588
+ },
589
+ {
590
+ anonymous: false,
591
+ inputs: [
592
+ {
593
+ indexed: false,
594
+ internalType: 'uint64',
595
+ name: 'depositIndex',
596
+ type: 'uint64',
597
+ },
598
+ {
599
+ indexed: false,
600
+ internalType: 'uint64',
601
+ name: 'quantity',
602
+ type: 'uint64',
603
+ },
604
+ {
605
+ indexed: false,
606
+ internalType: 'address',
607
+ name: 'sourceWallet',
608
+ type: 'address',
609
+ },
610
+ {
611
+ indexed: false,
612
+ internalType: 'address',
613
+ name: 'depositorWallet',
614
+ type: 'address',
615
+ },
616
+ {
617
+ indexed: false,
618
+ internalType: 'address',
619
+ name: 'managerWallet',
620
+ type: 'address',
621
+ },
622
+ ],
623
+ name: 'DepositToManagedAccountReadyToApply',
624
+ type: 'event',
625
+ },
626
+ {
627
+ anonymous: false,
628
+ inputs: [
629
+ {
630
+ indexed: true,
631
+ internalType: 'address',
632
+ name: 'managerWallet',
633
+ type: 'address',
634
+ },
635
+ ],
636
+ name: 'DepositsDisabled',
637
+ type: 'event',
638
+ },
639
+ {
640
+ anonymous: false,
641
+ inputs: [
642
+ {
643
+ indexed: false,
644
+ internalType: 'bool',
645
+ name: 'isDepositEnabled',
646
+ type: 'bool',
647
+ },
648
+ {
649
+ indexed: false,
650
+ internalType: 'bool',
651
+ name: 'isApplyDepositEnabled',
652
+ type: 'bool',
653
+ },
654
+ ],
655
+ name: 'DepositsDisabledAdmin',
656
+ type: 'event',
657
+ },
658
+ {
659
+ anonymous: false,
660
+ inputs: [
661
+ {
662
+ indexed: true,
663
+ internalType: 'address',
664
+ name: 'managerWallet',
665
+ type: 'address',
666
+ },
667
+ ],
668
+ name: 'DepositsEnabled',
669
+ type: 'event',
670
+ },
671
+ {
672
+ anonymous: false,
673
+ inputs: [],
674
+ name: 'DepositsEnabledAdmin',
675
+ type: 'event',
676
+ },
677
+ {
678
+ anonymous: false,
679
+ inputs: [
680
+ {
681
+ indexed: false,
682
+ internalType: 'address',
683
+ name: 'depositorWallet',
684
+ type: 'address',
685
+ },
686
+ {
687
+ indexed: false,
688
+ internalType: 'uint256',
689
+ name: 'quantityInAssetUnits',
690
+ type: 'uint256',
691
+ },
692
+ {
693
+ indexed: false,
694
+ internalType: 'bytes',
695
+ name: 'depositErrorData',
696
+ type: 'bytes',
697
+ },
698
+ ],
699
+ name: 'LiquidatedVaultPendingDepositRefundFailed',
700
+ type: 'event',
701
+ },
702
+ {
703
+ anonymous: false,
704
+ inputs: [
705
+ {
706
+ indexed: false,
707
+ internalType: 'address',
708
+ name: 'managerWallet',
709
+ type: 'address',
710
+ },
711
+ ],
712
+ name: 'ManagedAccountAdded',
713
+ type: 'event',
714
+ },
715
+ {
716
+ anonymous: false,
717
+ inputs: [
718
+ {
719
+ indexed: false,
720
+ internalType: 'uint256',
721
+ name: 'previousValue',
722
+ type: 'uint256',
723
+ },
724
+ {
725
+ indexed: false,
726
+ internalType: 'uint256',
727
+ name: 'newValue',
728
+ type: 'uint256',
729
+ },
730
+ ],
731
+ name: 'ManagedAccountUpgradeBlockTimestampDelayChanged',
732
+ type: 'event',
733
+ },
734
+ {
735
+ anonymous: false,
736
+ inputs: [
737
+ {
738
+ indexed: true,
739
+ internalType: 'address',
740
+ name: 'managerWallet',
741
+ type: 'address',
742
+ },
743
+ ],
744
+ name: 'ManagedAccountUpgradeCanceled',
745
+ type: 'event',
746
+ },
747
+ {
748
+ anonymous: false,
749
+ inputs: [
750
+ {
751
+ indexed: true,
752
+ internalType: 'address',
753
+ name: 'managerWallet',
754
+ type: 'address',
755
+ },
756
+ ],
757
+ name: 'ManagedAccountUpgradeFinalized',
758
+ type: 'event',
759
+ },
760
+ {
761
+ anonymous: false,
762
+ inputs: [
763
+ {
764
+ indexed: true,
765
+ internalType: 'address',
766
+ name: 'managerWallet',
767
+ type: 'address',
768
+ },
769
+ {
770
+ indexed: false,
771
+ internalType: 'uint256',
772
+ name: 'blockTimestampThreshold',
773
+ type: 'uint256',
774
+ },
775
+ ],
776
+ name: 'ManagedAccountUpgradeInitiated',
777
+ type: 'event',
778
+ },
779
+ {
780
+ anonymous: false,
781
+ inputs: [
782
+ {
783
+ indexed: false,
784
+ internalType: 'uint256',
785
+ name: 'previousValue',
786
+ type: 'uint256',
787
+ },
788
+ {
789
+ indexed: false,
790
+ internalType: 'uint256',
791
+ name: 'newValue',
792
+ type: 'uint256',
793
+ },
794
+ ],
795
+ name: 'MinimumWithdrawalQuantityChanged',
796
+ type: 'event',
797
+ },
798
+ {
799
+ anonymous: false,
800
+ inputs: [
801
+ {
802
+ indexed: true,
803
+ internalType: 'address',
804
+ name: 'managerWallet',
805
+ type: 'address',
806
+ },
807
+ {
808
+ indexed: false,
809
+ internalType: 'address',
810
+ name: 'depositorWallet',
811
+ type: 'address',
812
+ },
813
+ {
814
+ indexed: false,
815
+ internalType: 'uint64',
816
+ name: 'quantity',
817
+ type: 'uint64',
818
+ },
819
+ {
820
+ indexed: false,
821
+ internalType: 'uint64',
822
+ name: 'newWalletOwedQuantity',
823
+ type: 'uint64',
824
+ },
825
+ {
826
+ indexed: false,
827
+ internalType: 'uint64',
828
+ name: 'newVaultTotalOwedQuantity',
829
+ type: 'uint64',
830
+ },
831
+ ],
832
+ name: 'VaultDeposited',
833
+ type: 'event',
834
+ },
835
+ {
836
+ anonymous: false,
837
+ inputs: [
838
+ {
839
+ indexed: false,
840
+ internalType: 'address',
841
+ name: 'managerWallet',
842
+ type: 'address',
843
+ },
844
+ ],
845
+ name: 'VaultLiquidated',
846
+ type: 'event',
847
+ },
848
+ {
849
+ anonymous: false,
850
+ inputs: [
851
+ {
852
+ indexed: false,
853
+ internalType: 'address',
854
+ name: 'previousValue',
855
+ type: 'address',
856
+ },
857
+ {
858
+ indexed: false,
859
+ internalType: 'address',
860
+ name: 'newValue',
861
+ type: 'address',
862
+ },
863
+ ],
864
+ name: 'WithdrawalDispatcherChanged',
865
+ type: 'event',
866
+ },
867
+ {
868
+ anonymous: false,
869
+ inputs: [
870
+ {
871
+ indexed: true,
872
+ internalType: 'address',
873
+ name: 'managerWallet',
874
+ type: 'address',
875
+ },
876
+ {
877
+ indexed: false,
878
+ internalType: 'address',
879
+ name: 'depositorWallet',
880
+ type: 'address',
881
+ },
882
+ {
883
+ indexed: false,
884
+ internalType: 'uint64',
885
+ name: 'quantity',
886
+ type: 'uint64',
887
+ },
888
+ {
889
+ indexed: false,
890
+ internalType: 'uint64',
891
+ name: 'newWalletOwedQuantity',
892
+ type: 'uint64',
893
+ },
894
+ {
895
+ indexed: false,
896
+ internalType: 'uint64',
897
+ name: 'newVaultTotalOwedQuantity',
898
+ type: 'uint64',
899
+ },
900
+ ],
901
+ name: 'WithdrawalFromManagedAccountApplied',
902
+ type: 'event',
903
+ },
904
+ {
905
+ anonymous: false,
906
+ inputs: [
907
+ {
908
+ indexed: true,
909
+ internalType: 'address',
910
+ name: 'managerWallet',
911
+ type: 'address',
912
+ },
913
+ {
914
+ indexed: false,
915
+ internalType: 'address',
916
+ name: 'depositorWallet',
917
+ type: 'address',
918
+ },
919
+ {
920
+ indexed: false,
921
+ internalType: 'uint64',
922
+ name: 'quantity',
923
+ type: 'uint64',
924
+ },
925
+ ],
926
+ name: 'WithdrawalFromManagedAccountCanceled',
927
+ type: 'event',
928
+ },
929
+ {
930
+ anonymous: false,
931
+ inputs: [
932
+ {
933
+ components: [
934
+ {
935
+ internalType: 'enum ManagedAccountWithdrawalType',
936
+ name: 'withdrawalType',
937
+ type: 'uint8',
938
+ },
939
+ {
940
+ components: [
941
+ {
942
+ internalType: 'uint128',
943
+ name: 'nonce',
944
+ type: 'uint128',
945
+ },
946
+ {
947
+ internalType: 'address',
948
+ name: 'managerWallet',
949
+ type: 'address',
950
+ },
951
+ {
952
+ internalType: 'address',
953
+ name: 'depositorWallet',
954
+ type: 'address',
955
+ },
956
+ {
957
+ internalType: 'uint64',
958
+ name: 'grossQuantity',
959
+ type: 'uint64',
960
+ },
961
+ {
962
+ internalType: 'uint64',
963
+ name: 'maxShares',
964
+ type: 'uint64',
965
+ },
966
+ {
967
+ internalType: 'uint64',
968
+ name: 'maximumGasFee',
969
+ type: 'uint64',
970
+ },
971
+ {
972
+ internalType: 'contract IManagedAccountProvider',
973
+ name: 'managedAccountProvider',
974
+ type: 'address',
975
+ },
976
+ {
977
+ internalType: 'bytes',
978
+ name: 'managedAccountProviderPayload',
979
+ type: 'bytes',
980
+ },
981
+ {
982
+ internalType: 'address',
983
+ name: 'bridgeAdapter',
984
+ type: 'address',
985
+ },
986
+ {
987
+ internalType: 'bytes',
988
+ name: 'bridgeAdapterPayload',
989
+ type: 'bytes',
990
+ },
991
+ {
992
+ internalType: 'uint64',
993
+ name: 'gasFee',
994
+ type: 'uint64',
995
+ },
996
+ {
997
+ internalType: 'bytes',
998
+ name: 'walletSignature',
999
+ type: 'bytes',
1000
+ },
1001
+ ],
1002
+ internalType: 'struct WithdrawalFromManagedAccountByQuantity',
1003
+ name: 'withdrawalByQuantity',
1004
+ type: 'tuple',
1005
+ },
1006
+ {
1007
+ components: [
1008
+ {
1009
+ internalType: 'uint128',
1010
+ name: 'nonce',
1011
+ type: 'uint128',
1012
+ },
1013
+ {
1014
+ internalType: 'address',
1015
+ name: 'managerWallet',
1016
+ type: 'address',
1017
+ },
1018
+ {
1019
+ internalType: 'address',
1020
+ name: 'depositorWallet',
1021
+ type: 'address',
1022
+ },
1023
+ {
1024
+ internalType: 'uint64',
1025
+ name: 'shares',
1026
+ type: 'uint64',
1027
+ },
1028
+ {
1029
+ internalType: 'uint64',
1030
+ name: 'minimumQuantity',
1031
+ type: 'uint64',
1032
+ },
1033
+ {
1034
+ internalType: 'uint64',
1035
+ name: 'maximumGasFee',
1036
+ type: 'uint64',
1037
+ },
1038
+ {
1039
+ internalType: 'contract IManagedAccountProvider',
1040
+ name: 'managedAccountProvider',
1041
+ type: 'address',
1042
+ },
1043
+ {
1044
+ internalType: 'bytes',
1045
+ name: 'managedAccountProviderPayload',
1046
+ type: 'bytes',
1047
+ },
1048
+ {
1049
+ internalType: 'address',
1050
+ name: 'bridgeAdapter',
1051
+ type: 'address',
1052
+ },
1053
+ {
1054
+ internalType: 'bytes',
1055
+ name: 'bridgeAdapterPayload',
1056
+ type: 'bytes',
1057
+ },
1058
+ {
1059
+ internalType: 'uint64',
1060
+ name: 'gasFee',
1061
+ type: 'uint64',
1062
+ },
1063
+ {
1064
+ internalType: 'uint64',
1065
+ name: 'grossQuantity',
1066
+ type: 'uint64',
1067
+ },
1068
+ {
1069
+ internalType: 'bytes',
1070
+ name: 'walletSignature',
1071
+ type: 'bytes',
1072
+ },
1073
+ ],
1074
+ internalType: 'struct WithdrawalFromManagedAccountByShares',
1075
+ name: 'withdrawalByShares',
1076
+ type: 'tuple',
1077
+ },
1078
+ ],
1079
+ indexed: false,
1080
+ internalType: 'struct WithdrawalFromManagedAccount',
1081
+ name: 'withdrawal',
1082
+ type: 'tuple',
1083
+ },
1084
+ {
1085
+ indexed: false,
1086
+ internalType: 'uint64',
1087
+ name: 'totalShareSupply',
1088
+ type: 'uint64',
1089
+ },
1090
+ {
1091
+ indexed: false,
1092
+ internalType: 'uint256',
1093
+ name: 'numberOfWithdrawalsInQueue',
1094
+ type: 'uint256',
1095
+ },
1096
+ ],
1097
+ name: 'WithdrawalFromManagedAccountReadyToApply',
1098
+ type: 'event',
1099
+ },
1100
+ {
1101
+ inputs: [],
1102
+ name: 'INTEREST_PERIOD_IN_S',
1103
+ outputs: [
1104
+ {
1105
+ internalType: 'uint64',
1106
+ name: '',
1107
+ type: 'uint64',
1108
+ },
1109
+ ],
1110
+ stateMutability: 'view',
1111
+ type: 'function',
1112
+ },
1113
+ {
1114
+ inputs: [],
1115
+ name: 'MAX_INTEREST_MULTIPLIER',
1116
+ outputs: [
1117
+ {
1118
+ internalType: 'uint64',
1119
+ name: '',
1120
+ type: 'uint64',
1121
+ },
1122
+ ],
1123
+ stateMutability: 'view',
1124
+ type: 'function',
1125
+ },
1126
+ {
1127
+ inputs: [],
1128
+ name: 'MAX_MAXIMUM_NET_DEPOSITS',
1129
+ outputs: [
1130
+ {
1131
+ internalType: 'uint64',
1132
+ name: '',
1133
+ type: 'uint64',
1134
+ },
1135
+ ],
1136
+ stateMutability: 'view',
1137
+ type: 'function',
1138
+ },
1139
+ {
1140
+ inputs: [],
1141
+ name: 'MAX_MAXIMUM_TOTAL_OWED_QUANTITY_AVAILABLE_MULTIPLIER_TO_INITIATE_EXIT',
1142
+ outputs: [
1143
+ {
1144
+ internalType: 'uint64',
1145
+ name: '',
1146
+ type: 'uint64',
1147
+ },
1148
+ ],
1149
+ stateMutability: 'view',
1150
+ type: 'function',
1151
+ },
1152
+ {
1153
+ inputs: [],
1154
+ name: 'MAX_MINIMUM_TOTAL_OWED_QUANTITY_AVAILABLE_MULTIPLIER_TO_ALLOW_MANAGER_WALLET_WITHDRAWAL',
1155
+ outputs: [
1156
+ {
1157
+ internalType: 'uint64',
1158
+ name: '',
1159
+ type: 'uint64',
1160
+ },
1161
+ ],
1162
+ stateMutability: 'view',
1163
+ type: 'function',
1164
+ },
1165
+ {
1166
+ inputs: [],
1167
+ name: 'MAX_MINIMUM_UNAPPLIED_WITHDRAWAL_AGE_IN_S_TO_INITIATE_EXIT',
1168
+ outputs: [
1169
+ {
1170
+ internalType: 'uint64',
1171
+ name: '',
1172
+ type: 'uint64',
1173
+ },
1174
+ ],
1175
+ stateMutability: 'view',
1176
+ type: 'function',
1177
+ },
1178
+ {
1179
+ inputs: [],
1180
+ name: 'MAX_MINIMUM_WITHDRAWAL_QUANTITY',
1181
+ outputs: [
1182
+ {
1183
+ internalType: 'uint64',
1184
+ name: '',
1185
+ type: 'uint64',
1186
+ },
1187
+ ],
1188
+ stateMutability: 'view',
1189
+ type: 'function',
1190
+ },
1191
+ {
1192
+ inputs: [],
1193
+ name: 'MAX_WITHDRAWAL_LIMIT_PERCENT_FOR_DEPOSITORS',
1194
+ outputs: [
1195
+ {
1196
+ internalType: 'uint64',
1197
+ name: '',
1198
+ type: 'uint64',
1199
+ },
1200
+ ],
1201
+ stateMutability: 'view',
1202
+ type: 'function',
1203
+ },
1204
+ {
1205
+ inputs: [],
1206
+ name: 'MAX_WITHDRAWAL_LIMIT_PERCENT_FOR_VAULT',
1207
+ outputs: [
1208
+ {
1209
+ internalType: 'uint64',
1210
+ name: '',
1211
+ type: 'uint64',
1212
+ },
1213
+ ],
1214
+ stateMutability: 'view',
1215
+ type: 'function',
1216
+ },
1217
+ {
1218
+ inputs: [],
1219
+ name: 'MAX_WITHDRAWAL_LIMIT_WINDOW_SIZE_IN_S',
1220
+ outputs: [
1221
+ {
1222
+ internalType: 'uint64',
1223
+ name: '',
1224
+ type: 'uint64',
1225
+ },
1226
+ ],
1227
+ stateMutability: 'view',
1228
+ type: 'function',
1229
+ },
1230
+ {
1231
+ inputs: [],
1232
+ name: 'MINIMUM_WITHDRAWAL_MAXIMUM_GAS_FEE',
1233
+ outputs: [
1234
+ {
1235
+ internalType: 'uint64',
1236
+ name: '',
1237
+ type: 'uint64',
1238
+ },
1239
+ ],
1240
+ stateMutability: 'view',
1241
+ type: 'function',
1242
+ },
1243
+ {
1244
+ inputs: [],
1245
+ name: 'MIN_INTEREST_MULTIPLIER',
1246
+ outputs: [
1247
+ {
1248
+ internalType: 'uint64',
1249
+ name: '',
1250
+ type: 'uint64',
1251
+ },
1252
+ ],
1253
+ stateMutability: 'view',
1254
+ type: 'function',
1255
+ },
1256
+ {
1257
+ inputs: [],
1258
+ name: 'MIN_MAXIMUM_NET_DEPOSITS',
1259
+ outputs: [
1260
+ {
1261
+ internalType: 'uint64',
1262
+ name: '',
1263
+ type: 'uint64',
1264
+ },
1265
+ ],
1266
+ stateMutability: 'view',
1267
+ type: 'function',
1268
+ },
1269
+ {
1270
+ inputs: [],
1271
+ name: 'MIN_MAXIMUM_TOTAL_OWED_QUANTITY_AVAILABLE_MULTIPLIER_TO_INITIATE_EXIT',
1272
+ outputs: [
1273
+ {
1274
+ internalType: 'uint64',
1275
+ name: '',
1276
+ type: 'uint64',
1277
+ },
1278
+ ],
1279
+ stateMutability: 'view',
1280
+ type: 'function',
1281
+ },
1282
+ {
1283
+ inputs: [],
1284
+ name: 'MIN_MINIMUM_TOTAL_OWED_QUANTITY_AVAILABLE_MULTIPLIER_TO_ALLOW_MANAGER_WALLET_WITHDRAWAL',
1285
+ outputs: [
1286
+ {
1287
+ internalType: 'uint64',
1288
+ name: '',
1289
+ type: 'uint64',
1290
+ },
1291
+ ],
1292
+ stateMutability: 'view',
1293
+ type: 'function',
1294
+ },
1295
+ {
1296
+ inputs: [],
1297
+ name: 'MIN_MINIMUM_UNAPPLIED_WITHDRAWAL_AGE_IN_S_TO_INITIATE_EXIT',
1298
+ outputs: [
1299
+ {
1300
+ internalType: 'uint64',
1301
+ name: '',
1302
+ type: 'uint64',
1303
+ },
1304
+ ],
1305
+ stateMutability: 'view',
1306
+ type: 'function',
1307
+ },
1308
+ {
1309
+ inputs: [],
1310
+ name: 'MIN_MINIMUM_WITHDRAWAL_QUANTITY',
1311
+ outputs: [
1312
+ {
1313
+ internalType: 'uint64',
1314
+ name: '',
1315
+ type: 'uint64',
1316
+ },
1317
+ ],
1318
+ stateMutability: 'view',
1319
+ type: 'function',
1320
+ },
1321
+ {
1322
+ inputs: [],
1323
+ name: 'MIN_WITHDRAWAL_LIMIT_PERCENT_FOR_DEPOSITORS',
1324
+ outputs: [
1325
+ {
1326
+ internalType: 'uint64',
1327
+ name: '',
1328
+ type: 'uint64',
1329
+ },
1330
+ ],
1331
+ stateMutability: 'view',
1332
+ type: 'function',
1333
+ },
1334
+ {
1335
+ inputs: [],
1336
+ name: 'MIN_WITHDRAWAL_LIMIT_PERCENT_FOR_VAULT',
1337
+ outputs: [
1338
+ {
1339
+ internalType: 'uint64',
1340
+ name: '',
1341
+ type: 'uint64',
1342
+ },
1343
+ ],
1344
+ stateMutability: 'view',
1345
+ type: 'function',
1346
+ },
1347
+ {
1348
+ inputs: [],
1349
+ name: 'MIN_WITHDRAWAL_LIMIT_WINDOW_SIZE_IN_S',
1350
+ outputs: [
1351
+ {
1352
+ internalType: 'uint64',
1353
+ name: '',
1354
+ type: 'uint64',
1355
+ },
1356
+ ],
1357
+ stateMutability: 'view',
1358
+ type: 'function',
1359
+ },
1360
+ {
1361
+ inputs: [
1362
+ {
1363
+ internalType: 'address',
1364
+ name: 'managerWallet',
1365
+ type: 'address',
1366
+ },
1367
+ {
1368
+ internalType: 'bytes',
1369
+ name: 'payload',
1370
+ type: 'bytes',
1371
+ },
1372
+ ],
1373
+ name: 'addManagedAccount',
1374
+ outputs: [],
1375
+ stateMutability: 'nonpayable',
1376
+ type: 'function',
1377
+ },
1378
+ {
1379
+ inputs: [],
1380
+ name: 'adminWallet',
1381
+ outputs: [
1382
+ {
1383
+ internalType: 'address',
1384
+ name: '',
1385
+ type: 'address',
1386
+ },
1387
+ ],
1388
+ stateMutability: 'view',
1389
+ type: 'function',
1390
+ },
1391
+ {
1392
+ inputs: [
1393
+ {
1394
+ internalType: 'uint64',
1395
+ name: 'depositIndex',
1396
+ type: 'uint64',
1397
+ },
1398
+ {
1399
+ internalType: 'address',
1400
+ name: 'managerWallet',
1401
+ type: 'address',
1402
+ },
1403
+ {
1404
+ internalType: 'uint64',
1405
+ name: 'quantity',
1406
+ type: 'uint64',
1407
+ },
1408
+ ],
1409
+ name: 'applyPendingDeposit',
1410
+ outputs: [],
1411
+ stateMutability: 'nonpayable',
1412
+ type: 'function',
1413
+ },
1414
+ {
1415
+ inputs: [
1416
+ {
1417
+ internalType: 'uint64',
1418
+ name: 'gasFee',
1419
+ type: 'uint64',
1420
+ },
1421
+ {
1422
+ internalType: 'uint64',
1423
+ name: '',
1424
+ type: 'uint64',
1425
+ },
1426
+ {
1427
+ internalType: 'address',
1428
+ name: 'managerWallet',
1429
+ type: 'address',
1430
+ },
1431
+ {
1432
+ internalType: 'bytes32',
1433
+ name: 'withdrawalHash',
1434
+ type: 'bytes32',
1435
+ },
1436
+ ],
1437
+ name: 'applyPendingWithdrawal',
1438
+ outputs: [],
1439
+ stateMutability: 'nonpayable',
1440
+ type: 'function',
1441
+ },
1442
+ {
1443
+ inputs: [],
1444
+ name: 'cancelManagedAccountUpgrade',
1445
+ outputs: [],
1446
+ stateMutability: 'nonpayable',
1447
+ type: 'function',
1448
+ },
1449
+ {
1450
+ inputs: [
1451
+ {
1452
+ internalType: 'uint64',
1453
+ name: 'gasFee',
1454
+ type: 'uint64',
1455
+ },
1456
+ {
1457
+ internalType: 'address',
1458
+ name: 'managerWallet',
1459
+ type: 'address',
1460
+ },
1461
+ {
1462
+ internalType: 'bytes32',
1463
+ name: 'withdrawalHash',
1464
+ type: 'bytes32',
1465
+ },
1466
+ ],
1467
+ name: 'cancelPendingWithdrawal',
1468
+ outputs: [],
1469
+ stateMutability: 'nonpayable',
1470
+ type: 'function',
1471
+ },
1472
+ {
1473
+ inputs: [
1474
+ {
1475
+ internalType: 'uint64',
1476
+ name: 'depositIndex',
1477
+ type: 'uint64',
1478
+ },
1479
+ {
1480
+ internalType: 'uint64',
1481
+ name: 'quantity',
1482
+ type: 'uint64',
1483
+ },
1484
+ {
1485
+ internalType: 'address',
1486
+ name: 'sourceWallet',
1487
+ type: 'address',
1488
+ },
1489
+ {
1490
+ internalType: 'address',
1491
+ name: 'depositorWallet',
1492
+ type: 'address',
1493
+ },
1494
+ {
1495
+ internalType: 'address',
1496
+ name: 'managerWallet',
1497
+ type: 'address',
1498
+ },
1499
+ {
1500
+ internalType: 'bytes',
1501
+ name: 'managedAccountProviderPayload',
1502
+ type: 'bytes',
1503
+ },
1504
+ ],
1505
+ name: 'deposit',
1506
+ outputs: [],
1507
+ stateMutability: 'nonpayable',
1508
+ type: 'function',
1509
+ },
1510
+ {
1511
+ inputs: [
1512
+ {
1513
+ internalType: 'address',
1514
+ name: 'managerWallet',
1515
+ type: 'address',
1516
+ },
1517
+ ],
1518
+ name: 'emitEventsForFrontOfDepositAndWithdrawalQueues',
1519
+ outputs: [],
1520
+ stateMutability: 'nonpayable',
1521
+ type: 'function',
1522
+ },
1523
+ {
1524
+ inputs: [],
1525
+ name: 'exchange',
1526
+ outputs: [
1527
+ {
1528
+ internalType: 'contract IExchange',
1529
+ name: '',
1530
+ type: 'address',
1531
+ },
1532
+ ],
1533
+ stateMutability: 'view',
1534
+ type: 'function',
1535
+ },
1536
+ {
1537
+ inputs: [
1538
+ {
1539
+ internalType: 'address',
1540
+ name: 'managerWallet',
1541
+ type: 'address',
1542
+ },
1543
+ ],
1544
+ name: 'exitWallet',
1545
+ outputs: [],
1546
+ stateMutability: 'nonpayable',
1547
+ type: 'function',
1548
+ },
1549
+ {
1550
+ inputs: [],
1551
+ name: 'finalizeManagedAccountUpgrade',
1552
+ outputs: [],
1553
+ stateMutability: 'nonpayable',
1554
+ type: 'function',
1555
+ },
1556
+ {
1557
+ inputs: [
1558
+ {
1559
+ internalType: 'bytes',
1560
+ name: 'payload',
1561
+ type: 'bytes',
1562
+ },
1563
+ ],
1564
+ name: 'initiateManagedAccountUpgrade',
1565
+ outputs: [],
1566
+ stateMutability: 'nonpayable',
1567
+ type: 'function',
1568
+ },
1569
+ {
1570
+ inputs: [
1571
+ {
1572
+ internalType: 'bytes',
1573
+ name: '',
1574
+ type: 'bytes',
1575
+ },
1576
+ ],
1577
+ name: 'intervalTick',
1578
+ outputs: [],
1579
+ stateMutability: 'pure',
1580
+ type: 'function',
1581
+ },
1582
+ {
1583
+ inputs: [],
1584
+ name: 'isAddManagedAccountEnabled',
1585
+ outputs: [
1586
+ {
1587
+ internalType: 'bool',
1588
+ name: '',
1589
+ type: 'bool',
1590
+ },
1591
+ ],
1592
+ stateMutability: 'view',
1593
+ type: 'function',
1594
+ },
1595
+ {
1596
+ inputs: [
1597
+ {
1598
+ internalType: 'address',
1599
+ name: '',
1600
+ type: 'address',
1601
+ },
1602
+ ],
1603
+ name: 'isApplyDepositEnabled',
1604
+ outputs: [
1605
+ {
1606
+ internalType: 'bool',
1607
+ name: '',
1608
+ type: 'bool',
1609
+ },
1610
+ ],
1611
+ stateMutability: 'view',
1612
+ type: 'function',
1613
+ },
1614
+ {
1615
+ inputs: [
1616
+ {
1617
+ internalType: 'address',
1618
+ name: 'managerWallet',
1619
+ type: 'address',
1620
+ },
1621
+ ],
1622
+ name: 'isDepositEnabled',
1623
+ outputs: [
1624
+ {
1625
+ internalType: 'bool',
1626
+ name: '',
1627
+ type: 'bool',
1628
+ },
1629
+ ],
1630
+ stateMutability: 'view',
1631
+ type: 'function',
1632
+ },
1633
+ {
1634
+ inputs: [
1635
+ {
1636
+ internalType: 'address',
1637
+ name: 'managerWallet',
1638
+ type: 'address',
1639
+ },
1640
+ ],
1641
+ name: 'liquidateManagerWallet',
1642
+ outputs: [],
1643
+ stateMutability: 'nonpayable',
1644
+ type: 'function',
1645
+ },
1646
+ {
1647
+ inputs: [
1648
+ {
1649
+ internalType: 'address',
1650
+ name: 'managerWallet',
1651
+ type: 'address',
1652
+ },
1653
+ {
1654
+ internalType: 'address',
1655
+ name: 'depositorWallet',
1656
+ type: 'address',
1657
+ },
1658
+ ],
1659
+ name: 'loadVaultBalanceForWalletSummary',
1660
+ outputs: [
1661
+ {
1662
+ components: [
1663
+ {
1664
+ internalType: 'uint64',
1665
+ name: 'costBasis',
1666
+ type: 'uint64',
1667
+ },
1668
+ {
1669
+ internalType: 'uint64',
1670
+ name: 'initialDepositTimestampInS',
1671
+ type: 'uint64',
1672
+ },
1673
+ {
1674
+ internalType: 'uint64',
1675
+ name: 'lockedQuantity',
1676
+ type: 'uint64',
1677
+ },
1678
+ {
1679
+ internalType: 'uint64',
1680
+ name: 'owedQuantity',
1681
+ type: 'uint64',
1682
+ },
1683
+ {
1684
+ internalType: 'uint64',
1685
+ name: 'pendingDepositQuantity',
1686
+ type: 'uint64',
1687
+ },
1688
+ {
1689
+ internalType: 'uint64',
1690
+ name: 'quantityAvailableToWithdraw',
1691
+ type: 'uint64',
1692
+ },
1693
+ {
1694
+ internalType: 'uint64',
1695
+ name: 'withdrawalLimitWindowEndTimestampInS',
1696
+ type: 'uint64',
1697
+ },
1698
+ ],
1699
+ internalType: 'struct FixedIncomeVaultProvider_v1.VaultBalanceForWalletSummary',
1700
+ name: '',
1701
+ type: 'tuple',
1702
+ },
1703
+ ],
1704
+ stateMutability: 'view',
1705
+ type: 'function',
1706
+ },
1707
+ {
1708
+ inputs: [
1709
+ {
1710
+ internalType: 'address',
1711
+ name: 'managerWallet',
1712
+ type: 'address',
1713
+ },
1714
+ {
1715
+ internalType: 'uint256',
1716
+ name: 'index',
1717
+ type: 'uint256',
1718
+ },
1719
+ ],
1720
+ name: 'loadVaultConfiguration',
1721
+ outputs: [
1722
+ {
1723
+ components: [
1724
+ {
1725
+ internalType: 'address',
1726
+ name: 'managerWallet',
1727
+ type: 'address',
1728
+ },
1729
+ {
1730
+ internalType: 'uint64',
1731
+ name: 'effectiveTimestampInS',
1732
+ type: 'uint64',
1733
+ },
1734
+ {
1735
+ internalType: 'uint64',
1736
+ name: 'interestMultiplier',
1737
+ type: 'uint64',
1738
+ },
1739
+ {
1740
+ internalType: 'uint64',
1741
+ name: 'maximumNetDeposits',
1742
+ type: 'uint64',
1743
+ },
1744
+ {
1745
+ internalType: 'uint64',
1746
+ name: 'maximumTotalOwedQuantityAvailableMultiplierToInitiateExit',
1747
+ type: 'uint64',
1748
+ },
1749
+ {
1750
+ internalType: 'uint64',
1751
+ name: 'minimumTotalOwedQuantityAvailableMultiplierToAllowManagerWalletWithdrawal',
1752
+ type: 'uint64',
1753
+ },
1754
+ {
1755
+ internalType: 'uint64',
1756
+ name: 'minimumUnappliedWithdrawalAgeInSToInitiateExit',
1757
+ type: 'uint64',
1758
+ },
1759
+ {
1760
+ internalType: 'uint64',
1761
+ name: 'withdrawalLimitPercentForDepositors',
1762
+ type: 'uint64',
1763
+ },
1764
+ {
1765
+ internalType: 'uint64',
1766
+ name: 'withdrawalLimitPercentForVault',
1767
+ type: 'uint64',
1768
+ },
1769
+ ],
1770
+ internalType: 'struct FixedIncomeVaultProvider_v1.VaultConfigurationFields',
1771
+ name: '',
1772
+ type: 'tuple',
1773
+ },
1774
+ ],
1775
+ stateMutability: 'view',
1776
+ type: 'function',
1777
+ },
1778
+ {
1779
+ inputs: [
1780
+ {
1781
+ internalType: 'address',
1782
+ name: 'managerWallet',
1783
+ type: 'address',
1784
+ },
1785
+ ],
1786
+ name: 'loadVaultConfigurationsLength',
1787
+ outputs: [
1788
+ {
1789
+ internalType: 'uint256',
1790
+ name: '',
1791
+ type: 'uint256',
1792
+ },
1793
+ ],
1794
+ stateMutability: 'view',
1795
+ type: 'function',
1796
+ },
1797
+ {
1798
+ inputs: [
1799
+ {
1800
+ internalType: 'address',
1801
+ name: 'managerWallet',
1802
+ type: 'address',
1803
+ },
1804
+ {
1805
+ internalType: 'uint256',
1806
+ name: 'index',
1807
+ type: 'uint256',
1808
+ },
1809
+ ],
1810
+ name: 'loadVaultDepositQueueItem',
1811
+ outputs: [
1812
+ {
1813
+ components: [
1814
+ {
1815
+ internalType: 'uint64',
1816
+ name: 'index',
1817
+ type: 'uint64',
1818
+ },
1819
+ {
1820
+ internalType: 'uint64',
1821
+ name: 'quantity',
1822
+ type: 'uint64',
1823
+ },
1824
+ {
1825
+ internalType: 'address',
1826
+ name: 'sourceWallet',
1827
+ type: 'address',
1828
+ },
1829
+ {
1830
+ internalType: 'address',
1831
+ name: 'depositorWallet',
1832
+ type: 'address',
1833
+ },
1834
+ {
1835
+ internalType: 'address',
1836
+ name: 'managerWallet',
1837
+ type: 'address',
1838
+ },
1839
+ {
1840
+ internalType: 'contract IManagedAccountProvider',
1841
+ name: 'managedAccount',
1842
+ type: 'address',
1843
+ },
1844
+ {
1845
+ internalType: 'bytes',
1846
+ name: 'payload',
1847
+ type: 'bytes',
1848
+ },
1849
+ ],
1850
+ internalType: 'struct VaultDepositQueue.Item',
1851
+ name: '',
1852
+ type: 'tuple',
1853
+ },
1854
+ ],
1855
+ stateMutability: 'view',
1856
+ type: 'function',
1857
+ },
1858
+ {
1859
+ inputs: [
1860
+ {
1861
+ internalType: 'address',
1862
+ name: 'managerWallet',
1863
+ type: 'address',
1864
+ },
1865
+ ],
1866
+ name: 'loadVaultDepositQueueLength',
1867
+ outputs: [
1868
+ {
1869
+ internalType: 'uint256',
1870
+ name: '',
1871
+ type: 'uint256',
1872
+ },
1873
+ ],
1874
+ stateMutability: 'view',
1875
+ type: 'function',
1876
+ },
1877
+ {
1878
+ inputs: [
1879
+ {
1880
+ internalType: 'address',
1881
+ name: 'managerWallet',
1882
+ type: 'address',
1883
+ },
1884
+ ],
1885
+ name: 'loadVaultSummary',
1886
+ outputs: [
1887
+ {
1888
+ components: [
1889
+ {
1890
+ internalType: 'bool',
1891
+ name: 'isDepositEnabled',
1892
+ type: 'bool',
1893
+ },
1894
+ {
1895
+ internalType: 'bool',
1896
+ name: 'isExited',
1897
+ type: 'bool',
1898
+ },
1899
+ {
1900
+ internalType: 'bool',
1901
+ name: 'isLiquidated',
1902
+ type: 'bool',
1903
+ },
1904
+ {
1905
+ internalType: 'bool',
1906
+ name: 'didManagerWalletWithdrawExit',
1907
+ type: 'bool',
1908
+ },
1909
+ {
1910
+ internalType: 'uint64',
1911
+ name: 'exitedAccountValue',
1912
+ type: 'uint64',
1913
+ },
1914
+ {
1915
+ internalType: 'uint64',
1916
+ name: 'exitedAtTimestampInS',
1917
+ type: 'uint64',
1918
+ },
1919
+ {
1920
+ internalType: 'uint64',
1921
+ name: 'exitedTotalOwedQuantity',
1922
+ type: 'uint64',
1923
+ },
1924
+ {
1925
+ internalType: 'uint64',
1926
+ name: 'managerLockedQuantity',
1927
+ type: 'uint64',
1928
+ },
1929
+ {
1930
+ internalType: 'uint64',
1931
+ name: 'netDeposits',
1932
+ type: 'uint64',
1933
+ },
1934
+ {
1935
+ internalType: 'uint64',
1936
+ name: 'numDepositorWallets',
1937
+ type: 'uint64',
1938
+ },
1939
+ {
1940
+ internalType: 'uint64',
1941
+ name: 'totalLockedQuantity',
1942
+ type: 'uint64',
1943
+ },
1944
+ {
1945
+ internalType: 'uint64',
1946
+ name: 'totalOwedQuantity',
1947
+ type: 'uint64',
1948
+ },
1949
+ {
1950
+ internalType: 'uint64',
1951
+ name: 'totalPendingDepositQuantity',
1952
+ type: 'uint64',
1953
+ },
1954
+ {
1955
+ components: [
1956
+ {
1957
+ internalType: 'address',
1958
+ name: 'managerWallet',
1959
+ type: 'address',
1960
+ },
1961
+ {
1962
+ internalType: 'uint64',
1963
+ name: 'effectiveTimestampInS',
1964
+ type: 'uint64',
1965
+ },
1966
+ {
1967
+ internalType: 'uint64',
1968
+ name: 'interestMultiplier',
1969
+ type: 'uint64',
1970
+ },
1971
+ {
1972
+ internalType: 'uint64',
1973
+ name: 'maximumNetDeposits',
1974
+ type: 'uint64',
1975
+ },
1976
+ {
1977
+ internalType: 'uint64',
1978
+ name: 'maximumTotalOwedQuantityAvailableMultiplierToInitiateExit',
1979
+ type: 'uint64',
1980
+ },
1981
+ {
1982
+ internalType: 'uint64',
1983
+ name: 'minimumTotalOwedQuantityAvailableMultiplierToAllowManagerWalletWithdrawal',
1984
+ type: 'uint64',
1985
+ },
1986
+ {
1987
+ internalType: 'uint64',
1988
+ name: 'minimumUnappliedWithdrawalAgeInSToInitiateExit',
1989
+ type: 'uint64',
1990
+ },
1991
+ {
1992
+ internalType: 'uint64',
1993
+ name: 'withdrawalLimitPercentForDepositors',
1994
+ type: 'uint64',
1995
+ },
1996
+ {
1997
+ internalType: 'uint64',
1998
+ name: 'withdrawalLimitPercentForVault',
1999
+ type: 'uint64',
2000
+ },
2001
+ ],
2002
+ internalType: 'struct FixedIncomeVaultProvider_v1.VaultConfigurationFields',
2003
+ name: 'configurationFields',
2004
+ type: 'tuple',
2005
+ },
2006
+ ],
2007
+ internalType: 'struct FixedIncomeVaultProvider_v1.VaultSummary',
2008
+ name: '',
2009
+ type: 'tuple',
2010
+ },
2011
+ ],
2012
+ stateMutability: 'view',
2013
+ type: 'function',
2014
+ },
2015
+ {
2016
+ inputs: [
2017
+ {
2018
+ internalType: 'address',
2019
+ name: 'managerWallet',
2020
+ type: 'address',
2021
+ },
2022
+ {
2023
+ internalType: 'uint256',
2024
+ name: 'index',
2025
+ type: 'uint256',
2026
+ },
2027
+ ],
2028
+ name: 'loadVaultWithdrawQueueItem',
2029
+ outputs: [
2030
+ {
2031
+ components: [
2032
+ {
2033
+ internalType: 'enum ManagedAccountWithdrawalType',
2034
+ name: 'withdrawalType',
2035
+ type: 'uint8',
2036
+ },
2037
+ {
2038
+ components: [
2039
+ {
2040
+ internalType: 'uint128',
2041
+ name: 'nonce',
2042
+ type: 'uint128',
2043
+ },
2044
+ {
2045
+ internalType: 'address',
2046
+ name: 'managerWallet',
2047
+ type: 'address',
2048
+ },
2049
+ {
2050
+ internalType: 'address',
2051
+ name: 'depositorWallet',
2052
+ type: 'address',
2053
+ },
2054
+ {
2055
+ internalType: 'uint64',
2056
+ name: 'grossQuantity',
2057
+ type: 'uint64',
2058
+ },
2059
+ {
2060
+ internalType: 'uint64',
2061
+ name: 'maxShares',
2062
+ type: 'uint64',
2063
+ },
2064
+ {
2065
+ internalType: 'uint64',
2066
+ name: 'maximumGasFee',
2067
+ type: 'uint64',
2068
+ },
2069
+ {
2070
+ internalType: 'contract IManagedAccountProvider',
2071
+ name: 'managedAccountProvider',
2072
+ type: 'address',
2073
+ },
2074
+ {
2075
+ internalType: 'bytes',
2076
+ name: 'managedAccountProviderPayload',
2077
+ type: 'bytes',
2078
+ },
2079
+ {
2080
+ internalType: 'address',
2081
+ name: 'bridgeAdapter',
2082
+ type: 'address',
2083
+ },
2084
+ {
2085
+ internalType: 'bytes',
2086
+ name: 'bridgeAdapterPayload',
2087
+ type: 'bytes',
2088
+ },
2089
+ {
2090
+ internalType: 'uint64',
2091
+ name: 'gasFee',
2092
+ type: 'uint64',
2093
+ },
2094
+ {
2095
+ internalType: 'bytes',
2096
+ name: 'walletSignature',
2097
+ type: 'bytes',
2098
+ },
2099
+ ],
2100
+ internalType: 'struct WithdrawalFromManagedAccountByQuantity',
2101
+ name: 'withdrawalByQuantity',
2102
+ type: 'tuple',
2103
+ },
2104
+ {
2105
+ components: [
2106
+ {
2107
+ internalType: 'uint128',
2108
+ name: 'nonce',
2109
+ type: 'uint128',
2110
+ },
2111
+ {
2112
+ internalType: 'address',
2113
+ name: 'managerWallet',
2114
+ type: 'address',
2115
+ },
2116
+ {
2117
+ internalType: 'address',
2118
+ name: 'depositorWallet',
2119
+ type: 'address',
2120
+ },
2121
+ {
2122
+ internalType: 'uint64',
2123
+ name: 'shares',
2124
+ type: 'uint64',
2125
+ },
2126
+ {
2127
+ internalType: 'uint64',
2128
+ name: 'minimumQuantity',
2129
+ type: 'uint64',
2130
+ },
2131
+ {
2132
+ internalType: 'uint64',
2133
+ name: 'maximumGasFee',
2134
+ type: 'uint64',
2135
+ },
2136
+ {
2137
+ internalType: 'contract IManagedAccountProvider',
2138
+ name: 'managedAccountProvider',
2139
+ type: 'address',
2140
+ },
2141
+ {
2142
+ internalType: 'bytes',
2143
+ name: 'managedAccountProviderPayload',
2144
+ type: 'bytes',
2145
+ },
2146
+ {
2147
+ internalType: 'address',
2148
+ name: 'bridgeAdapter',
2149
+ type: 'address',
2150
+ },
2151
+ {
2152
+ internalType: 'bytes',
2153
+ name: 'bridgeAdapterPayload',
2154
+ type: 'bytes',
2155
+ },
2156
+ {
2157
+ internalType: 'uint64',
2158
+ name: 'gasFee',
2159
+ type: 'uint64',
2160
+ },
2161
+ {
2162
+ internalType: 'uint64',
2163
+ name: 'grossQuantity',
2164
+ type: 'uint64',
2165
+ },
2166
+ {
2167
+ internalType: 'bytes',
2168
+ name: 'walletSignature',
2169
+ type: 'bytes',
2170
+ },
2171
+ ],
2172
+ internalType: 'struct WithdrawalFromManagedAccountByShares',
2173
+ name: 'withdrawalByShares',
2174
+ type: 'tuple',
2175
+ },
2176
+ ],
2177
+ internalType: 'struct WithdrawalFromManagedAccount',
2178
+ name: '',
2179
+ type: 'tuple',
2180
+ },
2181
+ ],
2182
+ stateMutability: 'view',
2183
+ type: 'function',
2184
+ },
2185
+ {
2186
+ inputs: [
2187
+ {
2188
+ internalType: 'address',
2189
+ name: 'managerWallet',
2190
+ type: 'address',
2191
+ },
2192
+ ],
2193
+ name: 'loadVaultWithdrawQueueLength',
2194
+ outputs: [
2195
+ {
2196
+ internalType: 'uint256',
2197
+ name: '',
2198
+ type: 'uint256',
2199
+ },
2200
+ ],
2201
+ stateMutability: 'view',
2202
+ type: 'function',
2203
+ },
2204
+ {
2205
+ inputs: [],
2206
+ name: 'managedAccountUpgradeBlockTimestampDelayInS',
2207
+ outputs: [
2208
+ {
2209
+ internalType: 'uint256',
2210
+ name: '',
2211
+ type: 'uint256',
2212
+ },
2213
+ ],
2214
+ stateMutability: 'view',
2215
+ type: 'function',
2216
+ },
2217
+ {
2218
+ inputs: [],
2219
+ name: 'minimumWithdrawalQuantity',
2220
+ outputs: [
2221
+ {
2222
+ internalType: 'uint64',
2223
+ name: '',
2224
+ type: 'uint64',
2225
+ },
2226
+ ],
2227
+ stateMutability: 'view',
2228
+ type: 'function',
2229
+ },
2230
+ {
2231
+ inputs: [],
2232
+ name: 'ownerWallet',
2233
+ outputs: [
2234
+ {
2235
+ internalType: 'address',
2236
+ name: '',
2237
+ type: 'address',
2238
+ },
2239
+ ],
2240
+ stateMutability: 'view',
2241
+ type: 'function',
2242
+ },
2243
+ {
2244
+ inputs: [],
2245
+ name: 'removeAdmin',
2246
+ outputs: [],
2247
+ stateMutability: 'nonpayable',
2248
+ type: 'function',
2249
+ },
2250
+ {
2251
+ inputs: [],
2252
+ name: 'removeOwner',
2253
+ outputs: [],
2254
+ stateMutability: 'nonpayable',
2255
+ type: 'function',
2256
+ },
2257
+ {
2258
+ inputs: [
2259
+ {
2260
+ internalType: 'uint64',
2261
+ name: '',
2262
+ type: 'uint64',
2263
+ },
2264
+ ],
2265
+ name: 'seenDepositIndexes',
2266
+ outputs: [
2267
+ {
2268
+ internalType: 'bool',
2269
+ name: '',
2270
+ type: 'bool',
2271
+ },
2272
+ ],
2273
+ stateMutability: 'view',
2274
+ type: 'function',
2275
+ },
2276
+ {
2277
+ inputs: [
2278
+ {
2279
+ internalType: 'bytes32',
2280
+ name: '',
2281
+ type: 'bytes32',
2282
+ },
2283
+ ],
2284
+ name: 'seenWithdrawalHashes',
2285
+ outputs: [
2286
+ {
2287
+ internalType: 'bool',
2288
+ name: '',
2289
+ type: 'bool',
2290
+ },
2291
+ ],
2292
+ stateMutability: 'view',
2293
+ type: 'function',
2294
+ },
2295
+ {
2296
+ inputs: [
2297
+ {
2298
+ internalType: 'bool',
2299
+ name: 'isAddManagedAccountEnabled',
2300
+ type: 'bool',
2301
+ },
2302
+ ],
2303
+ name: 'setAddManagedAccountEnabledAdmin',
2304
+ outputs: [],
2305
+ stateMutability: 'nonpayable',
2306
+ type: 'function',
2307
+ },
2308
+ {
2309
+ inputs: [
2310
+ {
2311
+ internalType: 'address',
2312
+ name: 'newAdmin',
2313
+ type: 'address',
2314
+ },
2315
+ ],
2316
+ name: 'setAdmin',
2317
+ outputs: [],
2318
+ stateMutability: 'nonpayable',
2319
+ type: 'function',
2320
+ },
2321
+ {
2322
+ inputs: [
2323
+ {
2324
+ internalType: 'bool',
2325
+ name: 'isEnabled',
2326
+ type: 'bool',
2327
+ },
2328
+ ],
2329
+ name: 'setDepositEnabled',
2330
+ outputs: [],
2331
+ stateMutability: 'nonpayable',
2332
+ type: 'function',
2333
+ },
2334
+ {
2335
+ inputs: [
2336
+ {
2337
+ internalType: 'bool',
2338
+ name: 'isDepositEnabled',
2339
+ type: 'bool',
2340
+ },
2341
+ {
2342
+ internalType: 'bool',
2343
+ name: 'isApplyDepositEnabled',
2344
+ type: 'bool',
2345
+ },
2346
+ ],
2347
+ name: 'setDepositEnabledAdmin',
2348
+ outputs: [],
2349
+ stateMutability: 'nonpayable',
2350
+ type: 'function',
2351
+ },
2352
+ {
2353
+ inputs: [
2354
+ {
2355
+ internalType: 'uint256',
2356
+ name: 'newManagedAccountUpgradeBlockTimestampDelayInS',
2357
+ type: 'uint256',
2358
+ },
2359
+ ],
2360
+ name: 'setManagedAccountUpgradeBlockTimestampDelay',
2361
+ outputs: [],
2362
+ stateMutability: 'nonpayable',
2363
+ type: 'function',
2364
+ },
2365
+ {
2366
+ inputs: [
2367
+ {
2368
+ internalType: 'uint64',
2369
+ name: 'newMinimumWithdrawalQuantity',
2370
+ type: 'uint64',
2371
+ },
2372
+ ],
2373
+ name: 'setMinimumWithdrawalQuantity',
2374
+ outputs: [],
2375
+ stateMutability: 'nonpayable',
2376
+ type: 'function',
2377
+ },
2378
+ {
2379
+ inputs: [
2380
+ {
2381
+ internalType: 'address',
2382
+ name: 'newOwner',
2383
+ type: 'address',
2384
+ },
2385
+ ],
2386
+ name: 'setOwner',
2387
+ outputs: [],
2388
+ stateMutability: 'nonpayable',
2389
+ type: 'function',
2390
+ },
2391
+ {
2392
+ inputs: [
2393
+ {
2394
+ internalType: 'address',
2395
+ name: 'newWithdrawalDispatcherWallet',
2396
+ type: 'address',
2397
+ },
2398
+ ],
2399
+ name: 'setWithdrawalDispatcher',
2400
+ outputs: [],
2401
+ stateMutability: 'nonpayable',
2402
+ type: 'function',
2403
+ },
2404
+ {
2405
+ inputs: [
2406
+ {
2407
+ internalType: 'address',
2408
+ name: 'tokenAddress',
2409
+ type: 'address',
2410
+ },
2411
+ ],
2412
+ name: 'skim',
2413
+ outputs: [],
2414
+ stateMutability: 'nonpayable',
2415
+ type: 'function',
2416
+ },
2417
+ {
2418
+ inputs: [
2419
+ {
2420
+ internalType: 'address',
2421
+ name: '',
2422
+ type: 'address',
2423
+ },
2424
+ ],
2425
+ name: 'vaultConfigurationUpgradesByManagerWallet',
2426
+ outputs: [
2427
+ {
2428
+ internalType: 'bool',
2429
+ name: 'exists',
2430
+ type: 'bool',
2431
+ },
2432
+ {
2433
+ components: [
2434
+ {
2435
+ internalType: 'address',
2436
+ name: 'managerWallet',
2437
+ type: 'address',
2438
+ },
2439
+ {
2440
+ internalType: 'uint64',
2441
+ name: 'effectiveTimestampInS',
2442
+ type: 'uint64',
2443
+ },
2444
+ {
2445
+ internalType: 'uint64',
2446
+ name: 'interestMultiplier',
2447
+ type: 'uint64',
2448
+ },
2449
+ {
2450
+ internalType: 'uint64',
2451
+ name: 'maximumNetDeposits',
2452
+ type: 'uint64',
2453
+ },
2454
+ {
2455
+ internalType: 'uint64',
2456
+ name: 'maximumTotalOwedQuantityAvailableMultiplierToInitiateExit',
2457
+ type: 'uint64',
2458
+ },
2459
+ {
2460
+ internalType: 'uint64',
2461
+ name: 'minimumTotalOwedQuantityAvailableMultiplierToAllowManagerWalletWithdrawal',
2462
+ type: 'uint64',
2463
+ },
2464
+ {
2465
+ internalType: 'uint64',
2466
+ name: 'minimumUnappliedWithdrawalAgeInSToInitiateExit',
2467
+ type: 'uint64',
2468
+ },
2469
+ {
2470
+ internalType: 'uint64',
2471
+ name: 'withdrawalLimitPercentForDepositors',
2472
+ type: 'uint64',
2473
+ },
2474
+ {
2475
+ internalType: 'uint64',
2476
+ name: 'withdrawalLimitPercentForVault',
2477
+ type: 'uint64',
2478
+ },
2479
+ ],
2480
+ internalType: 'struct FixedIncomeVaultProvider_v1.VaultConfigurationFields',
2481
+ name: 'newVaultConfigurationFields',
2482
+ type: 'tuple',
2483
+ },
2484
+ {
2485
+ internalType: 'uint256',
2486
+ name: 'blockTimestampThreshold',
2487
+ type: 'uint256',
2488
+ },
2489
+ ],
2490
+ stateMutability: 'view',
2491
+ type: 'function',
2492
+ },
2493
+ {
2494
+ inputs: [
2495
+ {
2496
+ components: [
2497
+ {
2498
+ internalType: 'uint128',
2499
+ name: 'nonce',
2500
+ type: 'uint128',
2501
+ },
2502
+ {
2503
+ internalType: 'address',
2504
+ name: 'managerWallet',
2505
+ type: 'address',
2506
+ },
2507
+ {
2508
+ internalType: 'address',
2509
+ name: 'depositorWallet',
2510
+ type: 'address',
2511
+ },
2512
+ {
2513
+ internalType: 'uint64',
2514
+ name: 'grossQuantity',
2515
+ type: 'uint64',
2516
+ },
2517
+ {
2518
+ internalType: 'uint64',
2519
+ name: 'maxShares',
2520
+ type: 'uint64',
2521
+ },
2522
+ {
2523
+ internalType: 'uint64',
2524
+ name: 'maximumGasFee',
2525
+ type: 'uint64',
2526
+ },
2527
+ {
2528
+ internalType: 'contract IManagedAccountProvider',
2529
+ name: 'managedAccountProvider',
2530
+ type: 'address',
2531
+ },
2532
+ {
2533
+ internalType: 'bytes',
2534
+ name: 'managedAccountProviderPayload',
2535
+ type: 'bytes',
2536
+ },
2537
+ {
2538
+ internalType: 'address',
2539
+ name: 'bridgeAdapter',
2540
+ type: 'address',
2541
+ },
2542
+ {
2543
+ internalType: 'bytes',
2544
+ name: 'bridgeAdapterPayload',
2545
+ type: 'bytes',
2546
+ },
2547
+ {
2548
+ internalType: 'uint64',
2549
+ name: 'gasFee',
2550
+ type: 'uint64',
2551
+ },
2552
+ {
2553
+ internalType: 'bytes',
2554
+ name: 'walletSignature',
2555
+ type: 'bytes',
2556
+ },
2557
+ ],
2558
+ internalType: 'struct WithdrawalFromManagedAccountByQuantity',
2559
+ name: 'withdrawal',
2560
+ type: 'tuple',
2561
+ },
2562
+ ],
2563
+ name: 'withdrawByQuantity',
2564
+ outputs: [],
2565
+ stateMutability: 'nonpayable',
2566
+ type: 'function',
2567
+ },
2568
+ {
2569
+ inputs: [
2570
+ {
2571
+ components: [
2572
+ {
2573
+ internalType: 'uint128',
2574
+ name: 'nonce',
2575
+ type: 'uint128',
2576
+ },
2577
+ {
2578
+ internalType: 'address',
2579
+ name: 'managerWallet',
2580
+ type: 'address',
2581
+ },
2582
+ {
2583
+ internalType: 'address',
2584
+ name: 'depositorWallet',
2585
+ type: 'address',
2586
+ },
2587
+ {
2588
+ internalType: 'uint64',
2589
+ name: 'shares',
2590
+ type: 'uint64',
2591
+ },
2592
+ {
2593
+ internalType: 'uint64',
2594
+ name: 'minimumQuantity',
2595
+ type: 'uint64',
2596
+ },
2597
+ {
2598
+ internalType: 'uint64',
2599
+ name: 'maximumGasFee',
2600
+ type: 'uint64',
2601
+ },
2602
+ {
2603
+ internalType: 'contract IManagedAccountProvider',
2604
+ name: 'managedAccountProvider',
2605
+ type: 'address',
2606
+ },
2607
+ {
2608
+ internalType: 'bytes',
2609
+ name: 'managedAccountProviderPayload',
2610
+ type: 'bytes',
2611
+ },
2612
+ {
2613
+ internalType: 'address',
2614
+ name: 'bridgeAdapter',
2615
+ type: 'address',
2616
+ },
2617
+ {
2618
+ internalType: 'bytes',
2619
+ name: 'bridgeAdapterPayload',
2620
+ type: 'bytes',
2621
+ },
2622
+ {
2623
+ internalType: 'uint64',
2624
+ name: 'gasFee',
2625
+ type: 'uint64',
2626
+ },
2627
+ {
2628
+ internalType: 'uint64',
2629
+ name: 'grossQuantity',
2630
+ type: 'uint64',
2631
+ },
2632
+ {
2633
+ internalType: 'bytes',
2634
+ name: 'walletSignature',
2635
+ type: 'bytes',
2636
+ },
2637
+ ],
2638
+ internalType: 'struct WithdrawalFromManagedAccountByShares',
2639
+ name: '',
2640
+ type: 'tuple',
2641
+ },
2642
+ ],
2643
+ name: 'withdrawByShares',
2644
+ outputs: [],
2645
+ stateMutability: 'pure',
2646
+ type: 'function',
2647
+ },
2648
+ {
2649
+ inputs: [
2650
+ {
2651
+ internalType: 'address',
2652
+ name: 'managerWallet',
2653
+ type: 'address',
2654
+ },
2655
+ {
2656
+ internalType: 'address',
2657
+ name: 'depositorWallet',
2658
+ type: 'address',
2659
+ },
2660
+ ],
2661
+ name: 'withdrawExit',
2662
+ outputs: [],
2663
+ stateMutability: 'nonpayable',
2664
+ type: 'function',
2665
+ },
2666
+ {
2667
+ inputs: [],
2668
+ name: 'withdrawalDispatcherWallet',
2669
+ outputs: [
2670
+ {
2671
+ internalType: 'address',
2672
+ name: '',
2673
+ type: 'address',
2674
+ },
2675
+ ],
2676
+ stateMutability: 'view',
2677
+ type: 'function',
2678
+ },
2679
+ {
2680
+ inputs: [],
2681
+ name: 'withdrawalLimitWindowSizeInS',
2682
+ outputs: [
2683
+ {
2684
+ internalType: 'uint64',
2685
+ name: '',
2686
+ type: 'uint64',
2687
+ },
2688
+ ],
2689
+ stateMutability: 'view',
2690
+ type: 'function',
2691
+ },
2692
+ ];
2693
+ class FixedIncomeVaultProvider_v1__factory {
2694
+ static abi = _abi;
2695
+ static createInterface() {
2696
+ return new ethers_1.Interface(_abi);
2697
+ }
2698
+ static connect(address, runner) {
2699
+ return new ethers_1.Contract(address, _abi, runner);
2700
+ }
2701
+ }
2702
+ exports.FixedIncomeVaultProvider_v1__factory = FixedIncomeVaultProvider_v1__factory;