@lidofinance/lsv-cli 1.1.0 → 1.2.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 (421) hide show
  1. package/dist/abi/Dashboard.d.ts +23 -3
  2. package/dist/abi/Dashboard.js +8 -3
  3. package/dist/abi/Dashboard.js.map +1 -1
  4. package/dist/abi/LazyOracle.d.ts +364 -0
  5. package/dist/abi/LazyOracle.js +2 -0
  6. package/dist/abi/LazyOracle.js.map +1 -1
  7. package/dist/abi/OperatorGrid.d.ts +24 -0
  8. package/dist/abi/OperatorGrid.js +16 -0
  9. package/dist/abi/OperatorGrid.js.map +1 -1
  10. package/dist/abi/ValidatorConsolidationRequests.d.ts +121 -0
  11. package/dist/abi/ValidatorConsolidationRequests.js +159 -0
  12. package/dist/abi/ValidatorConsolidationRequests.js.map +1 -0
  13. package/dist/abi/VaultFactory.d.ts +16 -0
  14. package/dist/abi/VaultViewer.d.ts +0 -14
  15. package/dist/abi/VaultViewer.js +0 -19
  16. package/dist/abi/VaultViewer.js.map +1 -1
  17. package/dist/abi/defi-wrapper/Distributor.d.ts +40 -2
  18. package/dist/abi/defi-wrapper/Distributor.js +52 -2
  19. package/dist/abi/defi-wrapper/Distributor.js.map +1 -1
  20. package/dist/abi/defi-wrapper/Factory.d.ts +973 -550
  21. package/dist/abi/defi-wrapper/Factory.js +720 -763
  22. package/dist/abi/defi-wrapper/Factory.js.map +1 -1
  23. package/dist/abi/defi-wrapper/StvPool.d.ts +121 -325
  24. package/dist/abi/defi-wrapper/StvPool.js +143 -413
  25. package/dist/abi/defi-wrapper/StvPool.js.map +1 -1
  26. package/dist/abi/defi-wrapper/StvStETHPool.d.ts +398 -381
  27. package/dist/abi/defi-wrapper/StvStETHPool.js +448 -433
  28. package/dist/abi/defi-wrapper/StvStETHPool.js.map +1 -1
  29. package/dist/abi/defi-wrapper/WithdrawalQueue.d.ts +309 -175
  30. package/dist/abi/defi-wrapper/WithdrawalQueue.js +381 -206
  31. package/dist/abi/defi-wrapper/WithdrawalQueue.js.map +1 -1
  32. package/dist/abi/defi-wrapper/index.d.ts +0 -1
  33. package/dist/abi/defi-wrapper/index.js +0 -1
  34. package/dist/abi/defi-wrapper/index.js.map +1 -1
  35. package/dist/abi/index.d.ts +1 -0
  36. package/dist/abi/index.js +1 -0
  37. package/dist/abi/index.js.map +1 -1
  38. package/dist/configs/constants.d.ts +44 -2
  39. package/dist/configs/constants.js +2 -2
  40. package/dist/configs/constants.js.map +1 -1
  41. package/dist/configs/deployed.d.ts +2 -2
  42. package/dist/configs/deployed.js +48 -6
  43. package/dist/configs/deployed.js.map +1 -1
  44. package/dist/configs/utils.d.ts +1 -0
  45. package/dist/configs/utils.js +8 -0
  46. package/dist/configs/utils.js.map +1 -1
  47. package/dist/contracts/dashboard-impl.d.ts +2 -2
  48. package/dist/contracts/dashboard-impl.js +3 -2
  49. package/dist/contracts/dashboard-impl.js.map +1 -1
  50. package/dist/contracts/dashboard.d.ts +2 -2
  51. package/dist/contracts/dashboard.js +3 -2
  52. package/dist/contracts/dashboard.js.map +1 -1
  53. package/dist/contracts/defi-wrapper/distributor.d.ts +1 -1
  54. package/dist/contracts/defi-wrapper/distributor.js +3 -2
  55. package/dist/contracts/defi-wrapper/distributor.js.map +1 -1
  56. package/dist/contracts/defi-wrapper/factory.d.ts +1 -1
  57. package/dist/contracts/defi-wrapper/factory.js +3 -2
  58. package/dist/contracts/defi-wrapper/factory.js.map +1 -1
  59. package/dist/contracts/defi-wrapper/index.d.ts +0 -1
  60. package/dist/contracts/defi-wrapper/index.js +0 -1
  61. package/dist/contracts/defi-wrapper/index.js.map +1 -1
  62. package/dist/contracts/defi-wrapper/stv-pool.d.ts +2 -2
  63. package/dist/contracts/defi-wrapper/stv-pool.js +3 -2
  64. package/dist/contracts/defi-wrapper/stv-pool.js.map +1 -1
  65. package/dist/contracts/defi-wrapper/stv-steth-pool.d.ts +1 -1
  66. package/dist/contracts/defi-wrapper/stv-steth-pool.js +3 -2
  67. package/dist/contracts/defi-wrapper/stv-steth-pool.js.map +1 -1
  68. package/dist/contracts/defi-wrapper/withdrawal-queue.d.ts +1 -1
  69. package/dist/contracts/defi-wrapper/withdrawal-queue.js +3 -2
  70. package/dist/contracts/defi-wrapper/withdrawal-queue.js.map +1 -1
  71. package/dist/contracts/index.d.ts +1 -0
  72. package/dist/contracts/index.js +1 -0
  73. package/dist/contracts/index.js.map +1 -1
  74. package/dist/contracts/lazy-oracle.js +3 -2
  75. package/dist/contracts/lazy-oracle.js.map +1 -1
  76. package/dist/contracts/locator.d.ts +3 -9655
  77. package/dist/contracts/locator.js +4 -3
  78. package/dist/contracts/locator.js.map +1 -1
  79. package/dist/contracts/operator-grid.d.ts +1 -1
  80. package/dist/contracts/operator-grid.js +3 -2
  81. package/dist/contracts/operator-grid.js.map +1 -1
  82. package/dist/contracts/pdg.js +3 -2
  83. package/dist/contracts/pdg.js.map +1 -1
  84. package/dist/contracts/steth.d.ts +54 -54
  85. package/dist/contracts/steth.js +3 -2
  86. package/dist/contracts/steth.js.map +1 -1
  87. package/dist/contracts/validator-consolidation-requests.d.ts +5 -0
  88. package/dist/contracts/validator-consolidation-requests.js +13 -0
  89. package/dist/contracts/validator-consolidation-requests.js.map +1 -0
  90. package/dist/contracts/vault-factory.d.ts +3 -28346
  91. package/dist/contracts/vault-factory.js +4 -3
  92. package/dist/contracts/vault-factory.js.map +1 -1
  93. package/dist/contracts/vault-hub.js +3 -2
  94. package/dist/contracts/vault-hub.js.map +1 -1
  95. package/dist/contracts/vault-viewer.d.ts +3 -9661
  96. package/dist/contracts/vault-viewer.js +9 -7
  97. package/dist/contracts/vault-viewer.js.map +1 -1
  98. package/dist/contracts/vault.d.ts +2 -2
  99. package/dist/contracts/vault.js +3 -2
  100. package/dist/contracts/vault.js.map +1 -1
  101. package/dist/contracts/wsteth.d.ts +3 -24690
  102. package/dist/contracts/wsteth.js +4 -3
  103. package/dist/contracts/wsteth.js.map +1 -1
  104. package/dist/features/consolidation.d.ts +18 -0
  105. package/dist/features/consolidation.js +199 -0
  106. package/dist/features/consolidation.js.map +1 -0
  107. package/dist/features/defi-wrapper/create-vault.d.ts +17 -0
  108. package/dist/features/defi-wrapper/create-vault.js +137 -0
  109. package/dist/features/defi-wrapper/create-vault.js.map +1 -0
  110. package/dist/features/defi-wrapper/defi-wrapper-factory.d.ts +112 -0
  111. package/dist/features/defi-wrapper/defi-wrapper-factory.js +228 -0
  112. package/dist/features/defi-wrapper/defi-wrapper-factory.js.map +1 -0
  113. package/dist/features/defi-wrapper/index.d.ts +3 -0
  114. package/dist/features/defi-wrapper/index.js +4 -0
  115. package/dist/features/defi-wrapper/index.js.map +1 -0
  116. package/dist/features/defi-wrapper/pool-info.d.ts +35 -0
  117. package/dist/features/defi-wrapper/pool-info.js +97 -0
  118. package/dist/features/defi-wrapper/pool-info.js.map +1 -0
  119. package/dist/features/deposits/check-bls-deposits.js +2 -2
  120. package/dist/features/deposits/check-bls-deposits.js.map +1 -1
  121. package/dist/features/deposits/index.d.ts +1 -0
  122. package/dist/features/deposits/index.js +1 -0
  123. package/dist/features/deposits/index.js.map +1 -1
  124. package/dist/features/deposits/make-pdg-proof.js +1 -1
  125. package/dist/features/deposits/make-pdg-proof.js.map +1 -1
  126. package/dist/features/deposits/no-pdg.d.ts +1 -1
  127. package/dist/features/deposits/no-pdg.js +6 -3
  128. package/dist/features/deposits/no-pdg.js.map +1 -1
  129. package/dist/features/deposits/pdg.d.ts +2 -0
  130. package/dist/features/deposits/pdg.js +18 -0
  131. package/dist/features/deposits/pdg.js.map +1 -0
  132. package/dist/features/dev-tools/impersonate.d.ts +14 -0
  133. package/dist/features/dev-tools/impersonate.js +64 -0
  134. package/dist/features/dev-tools/impersonate.js.map +1 -0
  135. package/dist/features/dev-tools/index.d.ts +1 -0
  136. package/dist/features/dev-tools/index.js +2 -0
  137. package/dist/features/dev-tools/index.js.map +1 -0
  138. package/dist/features/index.d.ts +4 -1
  139. package/dist/features/index.js +4 -1
  140. package/dist/features/index.js.map +1 -1
  141. package/dist/features/metrics.d.ts +4 -0
  142. package/dist/features/metrics.js +48 -0
  143. package/dist/features/metrics.js.map +1 -0
  144. package/dist/features/pdg.js +4 -0
  145. package/dist/features/pdg.js.map +1 -1
  146. package/dist/features/utils/get-boolean.d.ts +1 -0
  147. package/dist/features/utils/get-boolean.js +13 -0
  148. package/dist/features/utils/get-boolean.js.map +1 -0
  149. package/dist/features/utils/index.d.ts +1 -0
  150. package/dist/features/utils/index.js +1 -0
  151. package/dist/features/utils/index.js.map +1 -1
  152. package/dist/features/utils/quarantine.js +2 -0
  153. package/dist/features/utils/quarantine.js.map +1 -1
  154. package/dist/features/utils/report-fresh.js +2 -3
  155. package/dist/features/utils/report-fresh.js.map +1 -1
  156. package/dist/features/vault-factory.js +2 -2
  157. package/dist/features/vault-factory.js.map +1 -1
  158. package/dist/features/vault-operations/create-vault.d.ts +4 -2
  159. package/dist/features/vault-operations/create-vault.js +11 -3
  160. package/dist/features/vault-operations/create-vault.js.map +1 -1
  161. package/dist/features/vault-operations/dashboard-by-vault.js +4 -4
  162. package/dist/features/vault-operations/dashboard-by-vault.js.map +1 -1
  163. package/dist/features/vault-operations/vault-info.js +1 -1
  164. package/dist/features/vault-operations/vault-info.js.map +1 -1
  165. package/dist/features/vault-operations/vault-overview.js +1 -1
  166. package/dist/features/vault-operations/vault-overview.js.map +1 -1
  167. package/dist/features/vault-operations/vault-roles.js +3 -0
  168. package/dist/features/vault-operations/vault-roles.js.map +1 -1
  169. package/dist/features/vault-operations/vaults-by-role.js +29 -10
  170. package/dist/features/vault-operations/vaults-by-role.js.map +1 -1
  171. package/dist/features/vault.js +4 -2
  172. package/dist/features/vault.js.map +1 -1
  173. package/dist/index.js +7 -2
  174. package/dist/index.js.map +1 -1
  175. package/dist/programs/account/read.js +1 -1
  176. package/dist/programs/account/read.js.map +1 -1
  177. package/dist/programs/account/write.js +14 -0
  178. package/dist/programs/account/write.js.map +1 -1
  179. package/dist/programs/contracts/dashboard/read.js +7 -7
  180. package/dist/programs/contracts/dashboard/read.js.map +1 -1
  181. package/dist/programs/contracts/dashboard/write.js +42 -42
  182. package/dist/programs/contracts/dashboard/write.js.map +1 -1
  183. package/dist/programs/contracts/hub/config.js +0 -10
  184. package/dist/programs/contracts/hub/config.js.map +1 -1
  185. package/dist/programs/contracts/hub/read.js +63 -2
  186. package/dist/programs/contracts/hub/read.js.map +1 -1
  187. package/dist/programs/contracts/hub/write.js +1 -1
  188. package/dist/programs/contracts/hub/write.js.map +1 -1
  189. package/dist/programs/contracts/pdg/read.js +2 -1
  190. package/dist/programs/contracts/pdg/read.js.map +1 -1
  191. package/dist/programs/contracts/pdg/write.js +37 -3
  192. package/dist/programs/contracts/pdg/write.js.map +1 -1
  193. package/dist/programs/contracts/vault/write.js +16 -16
  194. package/dist/programs/contracts/vault/write.js.map +1 -1
  195. package/dist/programs/contracts/vault-factory/write.js +2 -2
  196. package/dist/programs/contracts/vault-factory/write.js.map +1 -1
  197. package/dist/programs/defi-wrapper/contracts/distributor/read.js +1 -1
  198. package/dist/programs/defi-wrapper/contracts/distributor/read.js.map +1 -1
  199. package/dist/programs/defi-wrapper/contracts/distributor/write.js +3 -3
  200. package/dist/programs/defi-wrapper/contracts/distributor/write.js.map +1 -1
  201. package/dist/programs/defi-wrapper/contracts/factory/read.js +2 -8
  202. package/dist/programs/defi-wrapper/contracts/factory/read.js.map +1 -1
  203. package/dist/programs/defi-wrapper/contracts/factory/write.js +90 -273
  204. package/dist/programs/defi-wrapper/contracts/factory/write.js.map +1 -1
  205. package/dist/programs/defi-wrapper/contracts/index.d.ts +0 -1
  206. package/dist/programs/defi-wrapper/contracts/index.js +0 -1
  207. package/dist/programs/defi-wrapper/contracts/index.js.map +1 -1
  208. package/dist/programs/defi-wrapper/contracts/stv-pool/config.js +22 -32
  209. package/dist/programs/defi-wrapper/contracts/stv-pool/config.js.map +1 -1
  210. package/dist/programs/defi-wrapper/contracts/stv-pool/read.js +17 -24
  211. package/dist/programs/defi-wrapper/contracts/stv-pool/read.js.map +1 -1
  212. package/dist/programs/defi-wrapper/contracts/stv-pool/write.js +25 -174
  213. package/dist/programs/defi-wrapper/contracts/stv-pool/write.js.map +1 -1
  214. package/dist/programs/defi-wrapper/contracts/stv-steth-pool/config.js +0 -90
  215. package/dist/programs/defi-wrapper/contracts/stv-steth-pool/config.js.map +1 -1
  216. package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.js +16 -23
  217. package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.js.map +1 -1
  218. package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js +34 -231
  219. package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js.map +1 -1
  220. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.js +1 -91
  221. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.js.map +1 -1
  222. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.js +8 -27
  223. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.js.map +1 -1
  224. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js +55 -24
  225. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js.map +1 -1
  226. package/dist/programs/defi-wrapper/index.d.ts +1 -0
  227. package/dist/programs/defi-wrapper/index.js +1 -0
  228. package/dist/programs/defi-wrapper/index.js.map +1 -1
  229. package/dist/programs/defi-wrapper/use-cases/health/index.js.map +1 -0
  230. package/dist/programs/defi-wrapper/use-cases/health/main.d.ts +1 -0
  231. package/dist/programs/defi-wrapper/use-cases/health/main.js +6 -0
  232. package/dist/programs/defi-wrapper/use-cases/health/main.js.map +1 -0
  233. package/dist/programs/defi-wrapper/use-cases/health/read.js +338 -0
  234. package/dist/programs/defi-wrapper/use-cases/health/read.js.map +1 -0
  235. package/dist/programs/defi-wrapper/use-cases/health/utils.d.ts +56 -0
  236. package/dist/programs/defi-wrapper/use-cases/health/utils.js +389 -0
  237. package/dist/programs/defi-wrapper/use-cases/health/utils.js.map +1 -0
  238. package/dist/programs/defi-wrapper/use-cases/health/write.js +254 -0
  239. package/dist/programs/defi-wrapper/use-cases/health/write.js.map +1 -0
  240. package/dist/programs/defi-wrapper/use-cases/index.d.ts +3 -0
  241. package/dist/programs/defi-wrapper/use-cases/index.js +4 -0
  242. package/dist/programs/defi-wrapper/use-cases/index.js.map +1 -0
  243. package/dist/programs/defi-wrapper/use-cases/main.d.ts +1 -0
  244. package/dist/programs/defi-wrapper/use-cases/main.js +6 -0
  245. package/dist/programs/defi-wrapper/use-cases/main.js.map +1 -0
  246. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/create-pool.d.ts +1 -0
  247. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/create-pool.js +143 -0
  248. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/create-pool.js.map +1 -0
  249. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/index.d.ts +3 -0
  250. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/index.js +5 -0
  251. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/index.js.map +1 -0
  252. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/main.d.ts +1 -0
  253. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/main.js +6 -0
  254. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/main.js.map +1 -0
  255. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.d.ts +1 -0
  256. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js +130 -0
  257. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js.map +1 -0
  258. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.d.ts +1 -0
  259. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.js +13 -0
  260. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.js.map +1 -0
  261. package/dist/programs/dev-tools/anvil/index.d.ts +2 -0
  262. package/dist/programs/dev-tools/anvil/index.js +3 -0
  263. package/dist/programs/dev-tools/anvil/index.js.map +1 -0
  264. package/dist/programs/dev-tools/anvil/main.d.ts +1 -0
  265. package/dist/programs/dev-tools/anvil/main.js +5 -0
  266. package/dist/programs/dev-tools/anvil/main.js.map +1 -0
  267. package/dist/programs/dev-tools/anvil/write.d.ts +1 -0
  268. package/dist/programs/dev-tools/anvil/write.js +122 -0
  269. package/dist/programs/dev-tools/anvil/write.js.map +1 -0
  270. package/dist/programs/dev-tools/defi-wrapper/index.d.ts +2 -0
  271. package/dist/programs/dev-tools/defi-wrapper/index.js +3 -0
  272. package/dist/programs/dev-tools/defi-wrapper/index.js.map +1 -0
  273. package/dist/programs/dev-tools/defi-wrapper/main.d.ts +1 -0
  274. package/dist/programs/dev-tools/defi-wrapper/main.js +6 -0
  275. package/dist/programs/dev-tools/defi-wrapper/main.js.map +1 -0
  276. package/dist/programs/dev-tools/defi-wrapper/write.d.ts +1 -0
  277. package/dist/programs/dev-tools/defi-wrapper/write.js +77 -0
  278. package/dist/programs/dev-tools/defi-wrapper/write.js.map +1 -0
  279. package/dist/programs/dev-tools/index.d.ts +3 -0
  280. package/dist/programs/dev-tools/index.js +4 -0
  281. package/dist/programs/dev-tools/index.js.map +1 -0
  282. package/dist/programs/dev-tools/main.d.ts +1 -0
  283. package/dist/programs/dev-tools/main.js +6 -0
  284. package/dist/programs/dev-tools/main.js.map +1 -0
  285. package/dist/programs/index.d.ts +1 -0
  286. package/dist/programs/index.js +1 -0
  287. package/dist/programs/index.js.map +1 -1
  288. package/dist/programs/pdg-helpers.js +19 -15
  289. package/dist/programs/pdg-helpers.js.map +1 -1
  290. package/dist/programs/use-cases/consolidation/index.d.ts +2 -0
  291. package/dist/programs/use-cases/consolidation/index.js +3 -0
  292. package/dist/programs/use-cases/consolidation/index.js.map +1 -0
  293. package/dist/programs/use-cases/consolidation/main.d.ts +1 -0
  294. package/dist/programs/use-cases/consolidation/main.js +5 -0
  295. package/dist/programs/use-cases/consolidation/main.js.map +1 -0
  296. package/dist/programs/use-cases/consolidation/write.d.ts +1 -0
  297. package/dist/programs/use-cases/consolidation/write.js +78 -0
  298. package/dist/programs/use-cases/consolidation/write.js.map +1 -0
  299. package/dist/programs/use-cases/deposits/read.js +4 -0
  300. package/dist/programs/use-cases/deposits/read.js.map +1 -1
  301. package/dist/programs/use-cases/deposits/write.js +41 -11
  302. package/dist/programs/use-cases/deposits/write.js.map +1 -1
  303. package/dist/programs/use-cases/index.d.ts +1 -0
  304. package/dist/programs/use-cases/index.js +1 -0
  305. package/dist/programs/use-cases/index.js.map +1 -1
  306. package/dist/programs/use-cases/metrics/read.js +9 -20
  307. package/dist/programs/use-cases/metrics/read.js.map +1 -1
  308. package/dist/programs/use-cases/vault-operations/create-vault.js +2 -2
  309. package/dist/programs/use-cases/vault-operations/create-vault.js.map +1 -1
  310. package/dist/providers/wallet.d.ts +14539 -63
  311. package/dist/providers/wallet.js +14 -4
  312. package/dist/providers/wallet.js.map +1 -1
  313. package/dist/tests/utils/bigInt.test.d.ts +1 -0
  314. package/dist/tests/utils/bigInt.test.js +61 -0
  315. package/dist/tests/utils/bigInt.test.js.map +1 -0
  316. package/dist/types/config.d.ts +1 -0
  317. package/dist/utils/arguments.d.ts +4 -0
  318. package/dist/utils/arguments.js +40 -1
  319. package/dist/utils/arguments.js.map +1 -1
  320. package/dist/utils/bigInt.d.ts +2 -0
  321. package/dist/utils/bigInt.js +3 -0
  322. package/dist/utils/bigInt.js.map +1 -0
  323. package/dist/utils/bls.d.ts +2 -2
  324. package/dist/utils/bls.js +8 -7
  325. package/dist/utils/bls.js.map +1 -1
  326. package/dist/utils/cache.d.ts +30 -0
  327. package/dist/utils/cache.js +140 -3
  328. package/dist/utils/cache.js.map +1 -1
  329. package/dist/utils/calculate-overview-v2.js +1 -2
  330. package/dist/utils/calculate-overview-v2.js.map +1 -1
  331. package/dist/utils/calculate-overview.js +1 -2
  332. package/dist/utils/calculate-overview.js.map +1 -1
  333. package/dist/utils/charts/blessed/charts-apr.js +8 -18
  334. package/dist/utils/charts/blessed/charts-apr.js.map +1 -1
  335. package/dist/utils/charts/blessed/charts-rewards.js +7 -17
  336. package/dist/utils/charts/blessed/charts-rewards.js.map +1 -1
  337. package/dist/utils/charts/blessed/datasets/prepare-metrics.d.ts +5 -5
  338. package/dist/utils/charts/blessed/datasets/prepare-metrics.js +11 -11
  339. package/dist/utils/charts/blessed/datasets/prepare-metrics.js.map +1 -1
  340. package/dist/utils/charts/simple/simple-charts.js +8 -18
  341. package/dist/utils/charts/simple/simple-charts.js.map +1 -1
  342. package/dist/utils/commands/confirmations.js +1 -1
  343. package/dist/utils/commands/confirmations.js.map +1 -1
  344. package/dist/utils/commands/report.d.ts +1 -1
  345. package/dist/utils/commands/report.js +3 -2
  346. package/dist/utils/commands/report.js.map +1 -1
  347. package/dist/utils/consolidation/checks.d.ts +7 -0
  348. package/dist/utils/consolidation/checks.js +40 -0
  349. package/dist/utils/consolidation/checks.js.map +1 -0
  350. package/dist/utils/consolidation/confirms.d.ts +4 -0
  351. package/dist/utils/consolidation/confirms.js +41 -0
  352. package/dist/utils/consolidation/confirms.js.map +1 -0
  353. package/dist/utils/consolidation/index.d.ts +6 -0
  354. package/dist/utils/consolidation/index.js +7 -0
  355. package/dist/utils/consolidation/index.js.map +1 -0
  356. package/dist/utils/consolidation/logs.d.ts +3 -0
  357. package/dist/utils/consolidation/logs.js +41 -0
  358. package/dist/utils/consolidation/logs.js.map +1 -0
  359. package/dist/utils/consolidation/pubkeys.d.ts +8 -0
  360. package/dist/utils/consolidation/pubkeys.js +40 -0
  361. package/dist/utils/consolidation/pubkeys.js.map +1 -0
  362. package/dist/utils/consolidation/types.d.ts +11 -0
  363. package/dist/utils/consolidation/types.js +2 -0
  364. package/dist/utils/consolidation/types.js.map +1 -0
  365. package/dist/utils/consolidation/validator-info.d.ts +4 -0
  366. package/dist/utils/consolidation/validator-info.js +34 -0
  367. package/dist/utils/consolidation/validator-info.js.map +1 -0
  368. package/dist/utils/consolidation/validators-checks.d.ts +10 -0
  369. package/dist/utils/consolidation/validators-checks.js +58 -0
  370. package/dist/utils/consolidation/validators-checks.js.map +1 -0
  371. package/dist/utils/fetchCL.d.ts +35 -14
  372. package/dist/utils/fetchCL.js +78 -5
  373. package/dist/utils/fetchCL.js.map +1 -1
  374. package/dist/utils/health/health-utils.d.ts +54 -54
  375. package/dist/utils/index.d.ts +1 -0
  376. package/dist/utils/index.js +1 -0
  377. package/dist/utils/index.js.map +1 -1
  378. package/dist/utils/read-programs-by-abi.d.ts +1 -1
  379. package/dist/utils/read-programs-by-abi.js +4 -18
  380. package/dist/utils/read-programs-by-abi.js.map +1 -1
  381. package/dist/utils/report/report.js +1 -1
  382. package/dist/utils/report/report.js.map +1 -1
  383. package/dist/utils/report/statistic-data.js +3 -3
  384. package/dist/utils/report/statistic-data.js.map +1 -1
  385. package/dist/utils/statistic/report-statistic.d.ts +6 -5
  386. package/dist/utils/statistic/report-statistic.js +15 -16
  387. package/dist/utils/statistic/report-statistic.js.map +1 -1
  388. package/dist/utils/transactions/tx-private-key.js +14 -9
  389. package/dist/utils/transactions/tx-private-key.js.map +1 -1
  390. package/dist/utils/transactions/tx-wc.d.ts +5 -3
  391. package/dist/utils/transactions/tx-wc.js +21 -10
  392. package/dist/utils/transactions/tx-wc.js.map +1 -1
  393. package/dist/utils/transactions/types.d.ts +4 -2
  394. package/dist/utils/wallet-connect.js +3 -3
  395. package/dist/utils/wallet-connect.js.map +1 -1
  396. package/dist/version/index.js +1 -1
  397. package/package.json +2 -2
  398. package/dist/abi/defi-wrapper/StvStrategyPool.d.ts +0 -1769
  399. package/dist/abi/defi-wrapper/StvStrategyPool.js +0 -2319
  400. package/dist/abi/defi-wrapper/StvStrategyPool.js.map +0 -1
  401. package/dist/contracts/defi-wrapper/stv-strategy-pool.d.ts +0 -4
  402. package/dist/contracts/defi-wrapper/stv-strategy-pool.js +0 -11
  403. package/dist/contracts/defi-wrapper/stv-strategy-pool.js.map +0 -1
  404. package/dist/features/defi-wrapper-factory.d.ts +0 -18
  405. package/dist/features/defi-wrapper-factory.js +0 -28
  406. package/dist/features/defi-wrapper-factory.js.map +0 -1
  407. package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/config.d.ts +0 -3
  408. package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/config.js +0 -214
  409. package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/config.js.map +0 -1
  410. package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/index.js.map +0 -1
  411. package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/main.d.ts +0 -1
  412. package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/main.js +0 -6
  413. package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/main.js.map +0 -1
  414. package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/read.js +0 -77
  415. package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/read.js.map +0 -1
  416. package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/write.js +0 -370
  417. package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/write.js.map +0 -1
  418. /package/dist/programs/defi-wrapper/{contracts/stv-strategy-pool → use-cases/health}/index.d.ts +0 -0
  419. /package/dist/programs/defi-wrapper/{contracts/stv-strategy-pool → use-cases/health}/index.js +0 -0
  420. /package/dist/programs/defi-wrapper/{contracts/stv-strategy-pool → use-cases/health}/read.d.ts +0 -0
  421. /package/dist/programs/defi-wrapper/{contracts/stv-strategy-pool → use-cases/health}/write.d.ts +0 -0
@@ -33,14 +33,14 @@ export const WithdrawalQueueAbi = [
33
33
  internalType: 'address',
34
34
  },
35
35
  {
36
- name: '_maxAcceptableWQFinalizationTimeInSeconds',
36
+ name: '_minWithdrawalDelayTimeInSeconds',
37
37
  type: 'uint256',
38
38
  internalType: 'uint256',
39
39
  },
40
40
  {
41
- name: '_minWithdrawalDelayTimeInSeconds',
42
- type: 'uint256',
43
- internalType: 'uint256',
41
+ name: '_isRebalancingSupported',
42
+ type: 'bool',
43
+ internalType: 'bool',
44
44
  },
45
45
  ],
46
46
  stateMutability: 'nonpayable',
@@ -101,6 +101,45 @@ export const WithdrawalQueueAbi = [
101
101
  ],
102
102
  stateMutability: 'view',
103
103
  },
104
+ {
105
+ type: 'function',
106
+ name: 'FINALIZE_FEATURE',
107
+ inputs: [],
108
+ outputs: [
109
+ {
110
+ name: '',
111
+ type: 'bytes32',
112
+ internalType: 'bytes32',
113
+ },
114
+ ],
115
+ stateMutability: 'view',
116
+ },
117
+ {
118
+ type: 'function',
119
+ name: 'FINALIZE_PAUSE_ROLE',
120
+ inputs: [],
121
+ outputs: [
122
+ {
123
+ name: '',
124
+ type: 'bytes32',
125
+ internalType: 'bytes32',
126
+ },
127
+ ],
128
+ stateMutability: 'view',
129
+ },
130
+ {
131
+ type: 'function',
132
+ name: 'FINALIZE_RESUME_ROLE',
133
+ inputs: [],
134
+ outputs: [
135
+ {
136
+ name: '',
137
+ type: 'bytes32',
138
+ internalType: 'bytes32',
139
+ },
140
+ ],
141
+ stateMutability: 'view',
142
+ },
104
143
  {
105
144
  type: 'function',
106
145
  name: 'FINALIZE_ROLE',
@@ -114,6 +153,19 @@ export const WithdrawalQueueAbi = [
114
153
  ],
115
154
  stateMutability: 'view',
116
155
  },
156
+ {
157
+ type: 'function',
158
+ name: 'IS_REBALANCING_SUPPORTED',
159
+ inputs: [],
160
+ outputs: [
161
+ {
162
+ name: '',
163
+ type: 'bool',
164
+ internalType: 'bool',
165
+ },
166
+ ],
167
+ stateMutability: 'view',
168
+ },
117
169
  {
118
170
  type: 'function',
119
171
  name: 'LAZY_ORACLE',
@@ -129,7 +181,7 @@ export const WithdrawalQueueAbi = [
129
181
  },
130
182
  {
131
183
  type: 'function',
132
- name: 'MAX_ACCEPTABLE_WQ_FINALIZATION_TIME_IN_SECONDS',
184
+ name: 'MAX_GAS_COST_COVERAGE',
133
185
  inputs: [],
134
186
  outputs: [
135
187
  {
@@ -142,7 +194,7 @@ export const WithdrawalQueueAbi = [
142
194
  },
143
195
  {
144
196
  type: 'function',
145
- name: 'MAX_WITHDRAWAL_AMOUNT',
197
+ name: 'MAX_WITHDRAWAL_ASSETS',
146
198
  inputs: [],
147
199
  outputs: [
148
200
  {
@@ -155,7 +207,7 @@ export const WithdrawalQueueAbi = [
155
207
  },
156
208
  {
157
209
  type: 'function',
158
- name: 'MIN_WITHDRAWAL_AMOUNT',
210
+ name: 'MIN_WITHDRAWAL_DELAY_TIME_IN_SECONDS',
159
211
  inputs: [],
160
212
  outputs: [
161
213
  {
@@ -168,7 +220,7 @@ export const WithdrawalQueueAbi = [
168
220
  },
169
221
  {
170
222
  type: 'function',
171
- name: 'MIN_WITHDRAWAL_DELAY_TIME_IN_SECONDS',
223
+ name: 'MIN_WITHDRAWAL_VALUE',
172
224
  inputs: [],
173
225
  outputs: [
174
226
  {
@@ -181,33 +233,33 @@ export const WithdrawalQueueAbi = [
181
233
  },
182
234
  {
183
235
  type: 'function',
184
- name: 'PAUSE_ROLE',
236
+ name: 'POOL',
185
237
  inputs: [],
186
238
  outputs: [
187
239
  {
188
240
  name: '',
189
- type: 'bytes32',
190
- internalType: 'bytes32',
241
+ type: 'address',
242
+ internalType: 'contract IStvStETHPool',
191
243
  },
192
244
  ],
193
245
  stateMutability: 'view',
194
246
  },
195
247
  {
196
248
  type: 'function',
197
- name: 'RESUME_ROLE',
249
+ name: 'STETH',
198
250
  inputs: [],
199
251
  outputs: [
200
252
  {
201
253
  name: '',
202
- type: 'bytes32',
203
- internalType: 'bytes32',
254
+ type: 'address',
255
+ internalType: 'contract IStETH',
204
256
  },
205
257
  ],
206
258
  stateMutability: 'view',
207
259
  },
208
260
  {
209
261
  type: 'function',
210
- name: 'STAKING_VAULT',
262
+ name: 'VAULT',
211
263
  inputs: [],
212
264
  outputs: [
213
265
  {
@@ -220,49 +272,55 @@ export const WithdrawalQueueAbi = [
220
272
  },
221
273
  {
222
274
  type: 'function',
223
- name: 'STETH',
275
+ name: 'VAULT_HUB',
224
276
  inputs: [],
225
277
  outputs: [
226
278
  {
227
279
  name: '',
228
280
  type: 'address',
229
- internalType: 'contract IStETH',
281
+ internalType: 'contract IVaultHub',
230
282
  },
231
283
  ],
232
284
  stateMutability: 'view',
233
285
  },
234
286
  {
235
287
  type: 'function',
236
- name: 'VAULT_HUB',
288
+ name: 'WITHDRAWALS_FEATURE',
237
289
  inputs: [],
238
290
  outputs: [
239
291
  {
240
292
  name: '',
241
- type: 'address',
242
- internalType: 'contract IVaultHub',
293
+ type: 'bytes32',
294
+ internalType: 'bytes32',
243
295
  },
244
296
  ],
245
297
  stateMutability: 'view',
246
298
  },
247
299
  {
248
300
  type: 'function',
249
- name: 'WRAPPER',
301
+ name: 'WITHDRAWALS_PAUSE_ROLE',
250
302
  inputs: [],
251
303
  outputs: [
252
304
  {
253
305
  name: '',
254
- type: 'address',
255
- internalType: 'contract IWrapper',
306
+ type: 'bytes32',
307
+ internalType: 'bytes32',
256
308
  },
257
309
  ],
258
310
  stateMutability: 'view',
259
311
  },
260
312
  {
261
313
  type: 'function',
262
- name: 'activateEmergencyExit',
314
+ name: 'WITHDRAWALS_RESUME_ROLE',
263
315
  inputs: [],
264
- outputs: [],
265
- stateMutability: 'nonpayable',
316
+ outputs: [
317
+ {
318
+ name: '',
319
+ type: 'bytes32',
320
+ internalType: 'bytes32',
321
+ },
322
+ ],
323
+ stateMutability: 'view',
266
324
  },
267
325
  {
268
326
  type: 'function',
@@ -295,19 +353,14 @@ export const WithdrawalQueueAbi = [
295
353
  name: 'claimWithdrawal',
296
354
  inputs: [
297
355
  {
298
- name: '_requestId',
299
- type: 'uint256',
300
- internalType: 'uint256',
301
- },
302
- {
303
- name: '_requestor',
356
+ name: '_recipient',
304
357
  type: 'address',
305
358
  internalType: 'address',
306
359
  },
307
360
  {
308
- name: '_recipient',
309
- type: 'address',
310
- internalType: 'address',
361
+ name: '_requestId',
362
+ type: 'uint256',
363
+ internalType: 'uint256',
311
364
  },
312
365
  ],
313
366
  outputs: [
@@ -321,8 +374,13 @@ export const WithdrawalQueueAbi = [
321
374
  },
322
375
  {
323
376
  type: 'function',
324
- name: 'claimWithdrawals',
377
+ name: 'claimWithdrawalBatch',
325
378
  inputs: [
379
+ {
380
+ name: '_recipient',
381
+ type: 'address',
382
+ internalType: 'address',
383
+ },
326
384
  {
327
385
  name: '_requestIds',
328
386
  type: 'uint256[]',
@@ -333,16 +391,6 @@ export const WithdrawalQueueAbi = [
333
391
  type: 'uint256[]',
334
392
  internalType: 'uint256[]',
335
393
  },
336
- {
337
- name: '_requestor',
338
- type: 'address',
339
- internalType: 'address',
340
- },
341
- {
342
- name: '_recipient',
343
- type: 'address',
344
- internalType: 'address',
345
- },
346
394
  ],
347
395
  outputs: [
348
396
  {
@@ -362,6 +410,11 @@ export const WithdrawalQueueAbi = [
362
410
  type: 'uint256',
363
411
  internalType: 'uint256',
364
412
  },
413
+ {
414
+ name: '_gasCostCoverageRecipient',
415
+ type: 'address',
416
+ internalType: 'address',
417
+ },
365
418
  ],
366
419
  outputs: [
367
420
  {
@@ -374,7 +427,36 @@ export const WithdrawalQueueAbi = [
374
427
  },
375
428
  {
376
429
  type: 'function',
377
- name: 'findCheckpointHints',
430
+ name: 'findCheckpointHint',
431
+ inputs: [
432
+ {
433
+ name: '_requestId',
434
+ type: 'uint256',
435
+ internalType: 'uint256',
436
+ },
437
+ {
438
+ name: '_start',
439
+ type: 'uint256',
440
+ internalType: 'uint256',
441
+ },
442
+ {
443
+ name: '_end',
444
+ type: 'uint256',
445
+ internalType: 'uint256',
446
+ },
447
+ ],
448
+ outputs: [
449
+ {
450
+ name: '',
451
+ type: 'uint256',
452
+ internalType: 'uint256',
453
+ },
454
+ ],
455
+ stateMutability: 'view',
456
+ },
457
+ {
458
+ type: 'function',
459
+ name: 'findCheckpointHintBatch',
378
460
  inputs: [
379
461
  {
380
462
  name: '_requestIds',
@@ -404,6 +486,25 @@ export const WithdrawalQueueAbi = [
404
486
  {
405
487
  type: 'function',
406
488
  name: 'getClaimableEther',
489
+ inputs: [
490
+ {
491
+ name: '_requestId',
492
+ type: 'uint256',
493
+ internalType: 'uint256',
494
+ },
495
+ ],
496
+ outputs: [
497
+ {
498
+ name: 'claimableEth',
499
+ type: 'uint256',
500
+ internalType: 'uint256',
501
+ },
502
+ ],
503
+ stateMutability: 'view',
504
+ },
505
+ {
506
+ type: 'function',
507
+ name: 'getClaimableEtherBatch',
407
508
  inputs: [
408
509
  {
409
510
  name: '_requestIds',
@@ -427,17 +528,11 @@ export const WithdrawalQueueAbi = [
427
528
  },
428
529
  {
429
530
  type: 'function',
430
- name: 'getClaimableEther',
431
- inputs: [
432
- {
433
- name: '_requestId',
434
- type: 'uint256',
435
- internalType: 'uint256',
436
- },
437
- ],
531
+ name: 'getFinalizationGasCostCoverage',
532
+ inputs: [],
438
533
  outputs: [
439
534
  {
440
- name: 'claimableEth',
535
+ name: 'coverage',
441
536
  type: 'uint256',
442
537
  internalType: 'uint256',
443
538
  },
@@ -564,73 +659,6 @@ export const WithdrawalQueueAbi = [
564
659
  ],
565
660
  stateMutability: 'view',
566
661
  },
567
- {
568
- type: 'function',
569
- name: 'getWithdrawalRequests',
570
- inputs: [
571
- {
572
- name: '_owner',
573
- type: 'address',
574
- internalType: 'address',
575
- },
576
- {
577
- name: '_start',
578
- type: 'uint256',
579
- internalType: 'uint256',
580
- },
581
- {
582
- name: '_end',
583
- type: 'uint256',
584
- internalType: 'uint256',
585
- },
586
- ],
587
- outputs: [
588
- {
589
- name: 'requestIds',
590
- type: 'uint256[]',
591
- internalType: 'uint256[]',
592
- },
593
- ],
594
- stateMutability: 'view',
595
- },
596
- {
597
- type: 'function',
598
- name: 'getWithdrawalRequests',
599
- inputs: [
600
- {
601
- name: '_owner',
602
- type: 'address',
603
- internalType: 'address',
604
- },
605
- ],
606
- outputs: [
607
- {
608
- name: 'requestIds',
609
- type: 'uint256[]',
610
- internalType: 'uint256[]',
611
- },
612
- ],
613
- stateMutability: 'view',
614
- },
615
- {
616
- type: 'function',
617
- name: 'getWithdrawalRequestsLength',
618
- inputs: [
619
- {
620
- name: '_owner',
621
- type: 'address',
622
- internalType: 'address',
623
- },
624
- ],
625
- outputs: [
626
- {
627
- name: 'length',
628
- type: 'uint256',
629
- internalType: 'uint256',
630
- },
631
- ],
632
- stateMutability: 'view',
633
- },
634
662
  {
635
663
  type: 'function',
636
664
  name: 'getWithdrawalStatus',
@@ -689,7 +717,7 @@ export const WithdrawalQueueAbi = [
689
717
  },
690
718
  {
691
719
  type: 'function',
692
- name: 'getWithdrawalsStatus',
720
+ name: 'getWithdrawalStatusBatch',
693
721
  inputs: [
694
722
  {
695
723
  name: '_requestIds',
@@ -795,7 +823,17 @@ export const WithdrawalQueueAbi = [
795
823
  internalType: 'address',
796
824
  },
797
825
  {
798
- name: '_finalizeRoleHolder',
826
+ name: '_finalizer',
827
+ type: 'address',
828
+ internalType: 'address',
829
+ },
830
+ {
831
+ name: '_withdrawalsPauser',
832
+ type: 'address',
833
+ internalType: 'address',
834
+ },
835
+ {
836
+ name: '_finalizePauser',
799
837
  type: 'address',
800
838
  internalType: 'address',
801
839
  },
@@ -805,24 +843,17 @@ export const WithdrawalQueueAbi = [
805
843
  },
806
844
  {
807
845
  type: 'function',
808
- name: 'isEmergencyExitActivated',
809
- inputs: [],
810
- outputs: [
846
+ name: 'isFeaturePaused',
847
+ inputs: [
811
848
  {
812
- name: 'isActivate',
813
- type: 'bool',
814
- internalType: 'bool',
849
+ name: '_featureId',
850
+ type: 'bytes32',
851
+ internalType: 'bytes32',
815
852
  },
816
853
  ],
817
- stateMutability: 'view',
818
- },
819
- {
820
- type: 'function',
821
- name: 'isWithdrawalQueueStuck',
822
- inputs: [],
823
854
  outputs: [
824
855
  {
825
- name: 'isStuck',
856
+ name: 'isPaused',
826
857
  type: 'bool',
827
858
  internalType: 'bool',
828
859
  },
@@ -831,23 +862,17 @@ export const WithdrawalQueueAbi = [
831
862
  },
832
863
  {
833
864
  type: 'function',
834
- name: 'pause',
865
+ name: 'pauseFinalization',
835
866
  inputs: [],
836
867
  outputs: [],
837
868
  stateMutability: 'nonpayable',
838
869
  },
839
870
  {
840
871
  type: 'function',
841
- name: 'paused',
872
+ name: 'pauseWithdrawals',
842
873
  inputs: [],
843
- outputs: [
844
- {
845
- name: '',
846
- type: 'bool',
847
- internalType: 'bool',
848
- },
849
- ],
850
- stateMutability: 'view',
874
+ outputs: [],
875
+ stateMutability: 'nonpayable',
851
876
  },
852
877
  {
853
878
  type: 'function',
@@ -871,6 +896,11 @@ export const WithdrawalQueueAbi = [
871
896
  type: 'function',
872
897
  name: 'requestWithdrawal',
873
898
  inputs: [
899
+ {
900
+ name: '_owner',
901
+ type: 'address',
902
+ internalType: 'address',
903
+ },
874
904
  {
875
905
  name: '_stvToWithdraw',
876
906
  type: 'uint256',
@@ -881,11 +911,6 @@ export const WithdrawalQueueAbi = [
881
911
  type: 'uint256',
882
912
  internalType: 'uint256',
883
913
  },
884
- {
885
- name: '_owner',
886
- type: 'address',
887
- internalType: 'address',
888
- },
889
914
  ],
890
915
  outputs: [
891
916
  {
@@ -898,8 +923,13 @@ export const WithdrawalQueueAbi = [
898
923
  },
899
924
  {
900
925
  type: 'function',
901
- name: 'requestWithdrawals',
926
+ name: 'requestWithdrawalBatch',
902
927
  inputs: [
928
+ {
929
+ name: '_owner',
930
+ type: 'address',
931
+ internalType: 'address',
932
+ },
903
933
  {
904
934
  name: '_stvToWithdraw',
905
935
  type: 'uint256[]',
@@ -910,11 +940,6 @@ export const WithdrawalQueueAbi = [
910
940
  type: 'uint256[]',
911
941
  internalType: 'uint256[]',
912
942
  },
913
- {
914
- name: '_owner',
915
- type: 'address',
916
- internalType: 'address',
917
- },
918
943
  ],
919
944
  outputs: [
920
945
  {
@@ -927,7 +952,14 @@ export const WithdrawalQueueAbi = [
927
952
  },
928
953
  {
929
954
  type: 'function',
930
- name: 'resume',
955
+ name: 'resumeFinalization',
956
+ inputs: [],
957
+ outputs: [],
958
+ stateMutability: 'nonpayable',
959
+ },
960
+ {
961
+ type: 'function',
962
+ name: 'resumeWithdrawals',
931
963
  inputs: [],
932
964
  outputs: [],
933
965
  stateMutability: 'nonpayable',
@@ -950,6 +982,19 @@ export const WithdrawalQueueAbi = [
950
982
  outputs: [],
951
983
  stateMutability: 'nonpayable',
952
984
  },
985
+ {
986
+ type: 'function',
987
+ name: 'setFinalizationGasCostCoverage',
988
+ inputs: [
989
+ {
990
+ name: '_coverage',
991
+ type: 'uint256',
992
+ internalType: 'uint256',
993
+ },
994
+ ],
995
+ outputs: [],
996
+ stateMutability: 'nonpayable',
997
+ },
953
998
  {
954
999
  type: 'function',
955
1000
  name: 'supportsInterface',
@@ -984,11 +1029,24 @@ export const WithdrawalQueueAbi = [
984
1029
  },
985
1030
  {
986
1031
  type: 'function',
987
- name: 'unfinalizedRequestNumber',
1032
+ name: 'unfinalizedRequestsNumber',
988
1033
  inputs: [],
989
1034
  outputs: [
990
1035
  {
991
- name: 'requestNumber',
1036
+ name: 'requestsNumber',
1037
+ type: 'uint256',
1038
+ internalType: 'uint256',
1039
+ },
1040
+ ],
1041
+ stateMutability: 'view',
1042
+ },
1043
+ {
1044
+ type: 'function',
1045
+ name: 'unfinalizedStethShares',
1046
+ inputs: [],
1047
+ outputs: [
1048
+ {
1049
+ name: 'stethShares',
992
1050
  type: 'uint256',
993
1051
  internalType: 'uint256',
994
1052
  },
@@ -1009,31 +1067,123 @@ export const WithdrawalQueueAbi = [
1009
1067
  stateMutability: 'view',
1010
1068
  },
1011
1069
  {
1012
- type: 'event',
1013
- name: 'EmergencyExitActivated',
1070
+ type: 'function',
1071
+ name: 'withdrawalRequestsInRangeOf',
1014
1072
  inputs: [
1015
1073
  {
1016
- name: 'timestamp',
1074
+ name: '_owner',
1075
+ type: 'address',
1076
+ internalType: 'address',
1077
+ },
1078
+ {
1079
+ name: '_start',
1080
+ type: 'uint256',
1081
+ internalType: 'uint256',
1082
+ },
1083
+ {
1084
+ name: '_end',
1085
+ type: 'uint256',
1086
+ internalType: 'uint256',
1087
+ },
1088
+ ],
1089
+ outputs: [
1090
+ {
1091
+ name: 'requestIds',
1092
+ type: 'uint256[]',
1093
+ internalType: 'uint256[]',
1094
+ },
1095
+ ],
1096
+ stateMutability: 'view',
1097
+ },
1098
+ {
1099
+ type: 'function',
1100
+ name: 'withdrawalRequestsLengthOf',
1101
+ inputs: [
1102
+ {
1103
+ name: '_owner',
1104
+ type: 'address',
1105
+ internalType: 'address',
1106
+ },
1107
+ ],
1108
+ outputs: [
1109
+ {
1110
+ name: 'length',
1017
1111
  type: 'uint256',
1018
- indexed: false,
1019
1112
  internalType: 'uint256',
1020
1113
  },
1021
1114
  ],
1115
+ stateMutability: 'view',
1116
+ },
1117
+ {
1118
+ type: 'function',
1119
+ name: 'withdrawalRequestsOf',
1120
+ inputs: [
1121
+ {
1122
+ name: '_owner',
1123
+ type: 'address',
1124
+ internalType: 'address',
1125
+ },
1126
+ ],
1127
+ outputs: [
1128
+ {
1129
+ name: 'requestIds',
1130
+ type: 'uint256[]',
1131
+ internalType: 'uint256[]',
1132
+ },
1133
+ ],
1134
+ stateMutability: 'view',
1135
+ },
1136
+ {
1137
+ type: 'event',
1138
+ name: 'FeaturePaused',
1139
+ inputs: [
1140
+ {
1141
+ name: 'featureId',
1142
+ type: 'bytes32',
1143
+ indexed: true,
1144
+ internalType: 'bytes32',
1145
+ },
1146
+ {
1147
+ name: 'account',
1148
+ type: 'address',
1149
+ indexed: true,
1150
+ internalType: 'address',
1151
+ },
1152
+ ],
1022
1153
  anonymous: false,
1023
1154
  },
1024
1155
  {
1025
1156
  type: 'event',
1026
- name: 'ImplementationUpgraded',
1157
+ name: 'FeatureUnpaused',
1027
1158
  inputs: [
1028
1159
  {
1029
- name: 'newImplementation',
1160
+ name: 'featureId',
1161
+ type: 'bytes32',
1162
+ indexed: true,
1163
+ internalType: 'bytes32',
1164
+ },
1165
+ {
1166
+ name: 'account',
1030
1167
  type: 'address',
1031
- indexed: false,
1168
+ indexed: true,
1032
1169
  internalType: 'address',
1033
1170
  },
1034
1171
  ],
1035
1172
  anonymous: false,
1036
1173
  },
1174
+ {
1175
+ type: 'event',
1176
+ name: 'GasCostCoverageSet',
1177
+ inputs: [
1178
+ {
1179
+ name: 'newCoverage',
1180
+ type: 'uint256',
1181
+ indexed: false,
1182
+ internalType: 'uint256',
1183
+ },
1184
+ ],
1185
+ anonymous: false,
1186
+ },
1037
1187
  {
1038
1188
  type: 'event',
1039
1189
  name: 'Initialized',
@@ -1057,17 +1207,10 @@ export const WithdrawalQueueAbi = [
1057
1207
  indexed: true,
1058
1208
  internalType: 'address',
1059
1209
  },
1060
- ],
1061
- anonymous: false,
1062
- },
1063
- {
1064
- type: 'event',
1065
- name: 'Paused',
1066
- inputs: [
1067
1210
  {
1068
- name: 'account',
1211
+ name: 'finalizer',
1069
1212
  type: 'address',
1070
- indexed: false,
1213
+ indexed: true,
1071
1214
  internalType: 'address',
1072
1215
  },
1073
1216
  ],
@@ -1148,19 +1291,6 @@ export const WithdrawalQueueAbi = [
1148
1291
  ],
1149
1292
  anonymous: false,
1150
1293
  },
1151
- {
1152
- type: 'event',
1153
- name: 'Unpaused',
1154
- inputs: [
1155
- {
1156
- name: 'account',
1157
- type: 'address',
1158
- indexed: false,
1159
- internalType: 'address',
1160
- },
1161
- ],
1162
- anonymous: false,
1163
- },
1164
1294
  {
1165
1295
  type: 'event',
1166
1296
  name: 'WithdrawalClaimed',
@@ -1178,7 +1308,7 @@ export const WithdrawalQueueAbi = [
1178
1308
  internalType: 'address',
1179
1309
  },
1180
1310
  {
1181
- name: 'receiver',
1311
+ name: 'recipient',
1182
1312
  type: 'address',
1183
1313
  indexed: true,
1184
1314
  internalType: 'address',
@@ -1251,6 +1381,12 @@ export const WithdrawalQueueAbi = [
1251
1381
  indexed: false,
1252
1382
  internalType: 'uint256',
1253
1383
  },
1384
+ {
1385
+ name: 'ethForGasCoverage',
1386
+ type: 'uint256',
1387
+ indexed: false,
1388
+ internalType: 'uint256',
1389
+ },
1254
1390
  {
1255
1391
  name: 'stvBurned',
1256
1392
  type: 'uint256',
@@ -1322,18 +1458,36 @@ export const WithdrawalQueueAbi = [
1322
1458
  },
1323
1459
  {
1324
1460
  type: 'error',
1325
- name: 'EnforcedPause',
1326
- inputs: [],
1461
+ name: 'FeaturePauseEnforced',
1462
+ inputs: [
1463
+ {
1464
+ name: 'featureId',
1465
+ type: 'bytes32',
1466
+ internalType: 'bytes32',
1467
+ },
1468
+ ],
1327
1469
  },
1328
1470
  {
1329
1471
  type: 'error',
1330
- name: 'ExpectedPause',
1331
- inputs: [],
1472
+ name: 'FeaturePauseExpected',
1473
+ inputs: [
1474
+ {
1475
+ name: 'featureId',
1476
+ type: 'bytes32',
1477
+ internalType: 'bytes32',
1478
+ },
1479
+ ],
1332
1480
  },
1333
1481
  {
1334
1482
  type: 'error',
1335
- name: 'InvalidEmergencyExitActivation',
1336
- inputs: [],
1483
+ name: 'GasCostCoverageTooLarge',
1484
+ inputs: [
1485
+ {
1486
+ name: 'amount',
1487
+ type: 'uint256',
1488
+ internalType: 'uint256',
1489
+ },
1490
+ ],
1337
1491
  },
1338
1492
  {
1339
1493
  type: 'error',
@@ -1378,6 +1532,11 @@ export const WithdrawalQueueAbi = [
1378
1532
  },
1379
1533
  ],
1380
1534
  },
1535
+ {
1536
+ type: 'error',
1537
+ name: 'InvalidWithdrawalDelay',
1538
+ inputs: [],
1539
+ },
1381
1540
  {
1382
1541
  type: 'error',
1383
1542
  name: 'NoRequestsToFinalize',
@@ -1406,7 +1565,7 @@ export const WithdrawalQueueAbi = [
1406
1565
  },
1407
1566
  {
1408
1567
  type: 'error',
1409
- name: 'OnlyStvStrategyPoolan',
1568
+ name: 'RebalancingIsNotSupported',
1410
1569
  inputs: [],
1411
1570
  },
1412
1571
  {
@@ -1422,7 +1581,7 @@ export const WithdrawalQueueAbi = [
1422
1581
  },
1423
1582
  {
1424
1583
  type: 'error',
1425
- name: 'RequestAmountTooLarge',
1584
+ name: 'RequestAssetsTooLarge',
1426
1585
  inputs: [
1427
1586
  {
1428
1587
  name: 'amount',
@@ -1433,10 +1592,15 @@ export const WithdrawalQueueAbi = [
1433
1592
  },
1434
1593
  {
1435
1594
  type: 'error',
1436
- name: 'RequestAmountTooSmall',
1595
+ name: 'RequestIdsNotSorted',
1596
+ inputs: [],
1597
+ },
1598
+ {
1599
+ type: 'error',
1600
+ name: 'RequestNotFoundOrNotFinalized',
1437
1601
  inputs: [
1438
1602
  {
1439
- name: 'amount',
1603
+ name: 'requestId',
1440
1604
  type: 'uint256',
1441
1605
  internalType: 'uint256',
1442
1606
  },
@@ -1444,15 +1608,26 @@ export const WithdrawalQueueAbi = [
1444
1608
  },
1445
1609
  {
1446
1610
  type: 'error',
1447
- name: 'RequestIdsNotSorted',
1448
- inputs: [],
1611
+ name: 'RequestValueTooSmall',
1612
+ inputs: [
1613
+ {
1614
+ name: 'amount',
1615
+ type: 'uint256',
1616
+ internalType: 'uint256',
1617
+ },
1618
+ ],
1449
1619
  },
1450
1620
  {
1451
1621
  type: 'error',
1452
- name: 'RequestNotFoundOrNotFinalized',
1622
+ name: 'SafeCastOverflowedUintDowncast',
1453
1623
  inputs: [
1454
1624
  {
1455
- name: 'requestId',
1625
+ name: 'bits',
1626
+ type: 'uint8',
1627
+ internalType: 'uint8',
1628
+ },
1629
+ {
1630
+ name: 'value',
1456
1631
  type: 'uint256',
1457
1632
  internalType: 'uint256',
1458
1633
  },