@lidofinance/lsv-cli 1.4.0 → 1.5.1

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 (309) hide show
  1. package/dist/abi/Dashboard.d.ts +24 -0
  2. package/dist/abi/PredepositGuarantee.d.ts +48 -0
  3. package/dist/abi/PredepositGuarantee.js +32 -0
  4. package/dist/abi/PredepositGuarantee.js.map +1 -1
  5. package/dist/abi/StEth.d.ts +1175 -59
  6. package/dist/abi/StEth.js +885 -320
  7. package/dist/abi/StEth.js.map +1 -1
  8. package/dist/abi/defi-wrapper/Factory.d.ts +532 -657
  9. package/dist/abi/defi-wrapper/Factory.js +1083 -647
  10. package/dist/abi/defi-wrapper/Factory.js.map +1 -1
  11. package/dist/abi/defi-wrapper/OssifiableProxy.d.ts +71 -0
  12. package/dist/abi/defi-wrapper/OssifiableProxy.js +93 -0
  13. package/dist/abi/defi-wrapper/OssifiableProxy.js.map +1 -0
  14. package/dist/abi/defi-wrapper/StvStETHPool.d.ts +38 -32
  15. package/dist/abi/defi-wrapper/StvStETHPool.js +50 -42
  16. package/dist/abi/defi-wrapper/StvStETHPool.js.map +1 -1
  17. package/dist/abi/defi-wrapper/TimeLock.d.ts +770 -0
  18. package/dist/abi/defi-wrapper/TimeLock.js +999 -0
  19. package/dist/abi/defi-wrapper/TimeLock.js.map +1 -0
  20. package/dist/abi/defi-wrapper/index.d.ts +2 -0
  21. package/dist/abi/defi-wrapper/index.js +2 -0
  22. package/dist/abi/defi-wrapper/index.js.map +1 -1
  23. package/dist/contracts/defi-wrapper/index.d.ts +2 -0
  24. package/dist/contracts/defi-wrapper/index.js +2 -0
  25. package/dist/contracts/defi-wrapper/index.js.map +1 -1
  26. package/dist/contracts/defi-wrapper/ossifiable-proxy.d.ts +4 -0
  27. package/dist/contracts/defi-wrapper/ossifiable-proxy.js +12 -0
  28. package/dist/contracts/defi-wrapper/ossifiable-proxy.js.map +1 -0
  29. package/dist/contracts/defi-wrapper/timelock.d.ts +4 -0
  30. package/dist/contracts/defi-wrapper/timelock.js +12 -0
  31. package/dist/contracts/defi-wrapper/timelock.js.map +1 -0
  32. package/dist/contracts/steth.d.ts +4 -27706
  33. package/dist/contracts/steth.js +2 -2
  34. package/dist/contracts/steth.js.map +1 -1
  35. package/dist/features/consolidation.js +19 -3
  36. package/dist/features/consolidation.js.map +1 -1
  37. package/dist/features/defi-wrapper/create-vault.js +16 -13
  38. package/dist/features/defi-wrapper/create-vault.js.map +1 -1
  39. package/dist/features/defi-wrapper/defi-wrapper-factory.d.ts +10 -27
  40. package/dist/features/defi-wrapper/defi-wrapper-factory.js +105 -15
  41. package/dist/features/defi-wrapper/defi-wrapper-factory.js.map +1 -1
  42. package/dist/features/defi-wrapper/distributor.d.ts +24 -0
  43. package/dist/features/defi-wrapper/distributor.js +300 -0
  44. package/dist/features/defi-wrapper/distributor.js.map +1 -0
  45. package/dist/features/defi-wrapper/index.d.ts +1 -0
  46. package/dist/features/defi-wrapper/index.js +1 -0
  47. package/dist/features/defi-wrapper/index.js.map +1 -1
  48. package/dist/features/defi-wrapper/pool-info.d.ts +17 -2
  49. package/dist/features/defi-wrapper/pool-info.js +63 -13
  50. package/dist/features/defi-wrapper/pool-info.js.map +1 -1
  51. package/dist/features/defi-wrapper/timelock.d.ts +19 -0
  52. package/dist/features/defi-wrapper/timelock.js +198 -0
  53. package/dist/features/defi-wrapper/timelock.js.map +1 -0
  54. package/dist/features/deposits/check-bls-deposits.js +15 -3
  55. package/dist/features/deposits/check-bls-deposits.js.map +1 -1
  56. package/dist/features/deposits/make-pdg-proof.js +15 -3
  57. package/dist/features/deposits/make-pdg-proof.js.map +1 -1
  58. package/dist/features/deposits/no-pdg.js +50 -14
  59. package/dist/features/deposits/no-pdg.js.map +1 -1
  60. package/dist/features/deposits/pdg.js +5 -1
  61. package/dist/features/deposits/pdg.js.map +1 -1
  62. package/dist/features/dev-tools/impersonate.js +5 -1
  63. package/dist/features/dev-tools/impersonate.js.map +1 -1
  64. package/dist/features/metrics.js +24 -6
  65. package/dist/features/metrics.js.map +1 -1
  66. package/dist/features/mint-burn/allowance.js +15 -6
  67. package/dist/features/mint-burn/allowance.js.map +1 -1
  68. package/dist/features/mint-burn/burn-steth.js +5 -1
  69. package/dist/features/mint-burn/burn-steth.js.map +1 -1
  70. package/dist/features/mint-burn/index.d.ts +1 -0
  71. package/dist/features/mint-burn/index.js +1 -0
  72. package/dist/features/mint-burn/index.js.map +1 -1
  73. package/dist/features/mint-burn/mint-limit.d.ts +9 -0
  74. package/dist/features/mint-burn/mint-limit.js +31 -0
  75. package/dist/features/mint-burn/mint-limit.js.map +1 -0
  76. package/dist/features/mint-burn/mint-steth.js +5 -1
  77. package/dist/features/mint-burn/mint-steth.js.map +1 -1
  78. package/dist/features/pdg.js +5 -1
  79. package/dist/features/pdg.js.map +1 -1
  80. package/dist/features/utils/connection.js +5 -1
  81. package/dist/features/utils/connection.js.map +1 -1
  82. package/dist/features/utils/index.d.ts +1 -0
  83. package/dist/features/utils/index.js +1 -0
  84. package/dist/features/utils/index.js.map +1 -1
  85. package/dist/features/utils/liability-shares.js +5 -1
  86. package/dist/features/utils/liability-shares.js.map +1 -1
  87. package/dist/features/utils/minting-capacity.js +4 -3
  88. package/dist/features/utils/minting-capacity.js.map +1 -1
  89. package/dist/features/utils/quarantine.js +5 -1
  90. package/dist/features/utils/quarantine.js.map +1 -1
  91. package/dist/features/utils/report-fresh.js +15 -3
  92. package/dist/features/utils/report-fresh.js.map +1 -1
  93. package/dist/features/utils/try-fetch.d.ts +5 -0
  94. package/dist/features/utils/try-fetch.js +26 -0
  95. package/dist/features/utils/try-fetch.js.map +1 -0
  96. package/dist/features/vault-factory.js +15 -3
  97. package/dist/features/vault-factory.js.map +1 -1
  98. package/dist/features/vault-operations/connect-vault.js +10 -2
  99. package/dist/features/vault-operations/connect-vault.js.map +1 -1
  100. package/dist/features/vault-operations/dashboard-by-vault.js +10 -2
  101. package/dist/features/vault-operations/dashboard-by-vault.js.map +1 -1
  102. package/dist/features/vault-operations/roles.js +10 -2
  103. package/dist/features/vault-operations/roles.js.map +1 -1
  104. package/dist/features/vault-operations/vault-health.js +5 -1
  105. package/dist/features/vault-operations/vault-health.js.map +1 -1
  106. package/dist/features/vault-operations/vault-info.js +10 -2
  107. package/dist/features/vault-operations/vault-info.js.map +1 -1
  108. package/dist/features/vault-operations/vault-overview.js +25 -5
  109. package/dist/features/vault-operations/vault-overview.js.map +1 -1
  110. package/dist/features/vault-operations/vault-roles.js +10 -2
  111. package/dist/features/vault-operations/vault-roles.js.map +1 -1
  112. package/dist/features/vault-operations/vaults-by-role.d.ts +24 -0
  113. package/dist/features/vault-operations/vaults-by-role.js +78 -27
  114. package/dist/features/vault-operations/vaults-by-role.js.map +1 -1
  115. package/dist/index.js +9 -5
  116. package/dist/index.js.map +1 -1
  117. package/dist/programs/account/read.js +10 -5
  118. package/dist/programs/account/read.js.map +1 -1
  119. package/dist/programs/contracts/dashboard/read.js +15 -3
  120. package/dist/programs/contracts/dashboard/read.js.map +1 -1
  121. package/dist/programs/contracts/dashboard/write.js +212 -38
  122. package/dist/programs/contracts/dashboard/write.js.map +1 -1
  123. package/dist/programs/contracts/hub/read.js +15 -5
  124. package/dist/programs/contracts/hub/read.js.map +1 -1
  125. package/dist/programs/contracts/hub/write.js +10 -2
  126. package/dist/programs/contracts/hub/write.js.map +1 -1
  127. package/dist/programs/contracts/operator-grid/read.js +5 -1
  128. package/dist/programs/contracts/operator-grid/read.js.map +1 -1
  129. package/dist/programs/contracts/operator-grid/write.js +5 -1
  130. package/dist/programs/contracts/operator-grid/write.js.map +1 -1
  131. package/dist/programs/contracts/pdg/read.js +5 -1
  132. package/dist/programs/contracts/pdg/read.js.map +1 -1
  133. package/dist/programs/contracts/pdg/write.js +33 -3
  134. package/dist/programs/contracts/pdg/write.js.map +1 -1
  135. package/dist/programs/contracts/vault/write.js +5 -1
  136. package/dist/programs/contracts/vault/write.js.map +1 -1
  137. package/dist/programs/defi-wrapper/contracts/distributor/read.js +17 -5
  138. package/dist/programs/defi-wrapper/contracts/distributor/read.js.map +1 -1
  139. package/dist/programs/defi-wrapper/contracts/factory/read.js +73 -13
  140. package/dist/programs/defi-wrapper/contracts/factory/read.js.map +1 -1
  141. package/dist/programs/defi-wrapper/contracts/factory/write.js +171 -65
  142. package/dist/programs/defi-wrapper/contracts/factory/write.js.map +1 -1
  143. package/dist/programs/defi-wrapper/contracts/stv-pool/read.js +62 -18
  144. package/dist/programs/defi-wrapper/contracts/stv-pool/read.js.map +1 -1
  145. package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.js +62 -18
  146. package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.js.map +1 -1
  147. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.js +64 -16
  148. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.js.map +1 -1
  149. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js +33 -6
  150. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js.map +1 -1
  151. package/dist/programs/defi-wrapper/use-cases/distributor/index.d.ts +3 -0
  152. package/dist/programs/defi-wrapper/use-cases/distributor/index.js +4 -0
  153. package/dist/programs/defi-wrapper/use-cases/distributor/index.js.map +1 -0
  154. package/dist/programs/defi-wrapper/use-cases/distributor/main.d.ts +1 -0
  155. package/dist/programs/defi-wrapper/use-cases/distributor/main.js +6 -0
  156. package/dist/programs/defi-wrapper/use-cases/distributor/main.js.map +1 -0
  157. package/dist/programs/defi-wrapper/use-cases/distributor/read.js +86 -0
  158. package/dist/programs/defi-wrapper/use-cases/distributor/read.js.map +1 -0
  159. package/dist/programs/defi-wrapper/use-cases/distributor/write.d.ts +1 -0
  160. package/dist/programs/defi-wrapper/use-cases/distributor/write.js +191 -0
  161. package/dist/programs/defi-wrapper/use-cases/distributor/write.js.map +1 -0
  162. package/dist/programs/defi-wrapper/use-cases/health/read.js +71 -21
  163. package/dist/programs/defi-wrapper/use-cases/health/read.js.map +1 -1
  164. package/dist/programs/defi-wrapper/use-cases/health/utils.js +10 -2
  165. package/dist/programs/defi-wrapper/use-cases/health/utils.js.map +1 -1
  166. package/dist/programs/defi-wrapper/use-cases/health/write.js +65 -22
  167. package/dist/programs/defi-wrapper/use-cases/health/write.js.map +1 -1
  168. package/dist/programs/defi-wrapper/use-cases/index.d.ts +2 -0
  169. package/dist/programs/defi-wrapper/use-cases/index.js +2 -0
  170. package/dist/programs/defi-wrapper/use-cases/index.js.map +1 -1
  171. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/index.d.ts +3 -0
  172. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/index.js +4 -0
  173. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/index.js.map +1 -0
  174. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/main.d.ts +1 -0
  175. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/main.js +6 -0
  176. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/main.js.map +1 -0
  177. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/read.d.ts +1 -0
  178. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/read.js +362 -0
  179. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/read.js.map +1 -0
  180. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/write.d.ts +1 -0
  181. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/write.js +86 -0
  182. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/write.js.map +1 -0
  183. package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/index.d.ts +2 -0
  184. package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/index.js +3 -0
  185. package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/index.js.map +1 -0
  186. package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/main.d.ts +1 -0
  187. package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/main.js +6 -0
  188. package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/main.js.map +1 -0
  189. package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/write.d.ts +1 -0
  190. package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/write.js +369 -0
  191. package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/write.js.map +1 -0
  192. package/dist/programs/defi-wrapper/use-cases/timelock-governance/index.d.ts +6 -0
  193. package/dist/programs/defi-wrapper/use-cases/timelock-governance/index.js +7 -0
  194. package/dist/programs/defi-wrapper/use-cases/timelock-governance/index.js.map +1 -0
  195. package/dist/programs/defi-wrapper/use-cases/timelock-governance/main.d.ts +1 -0
  196. package/dist/programs/defi-wrapper/use-cases/timelock-governance/main.js +6 -0
  197. package/dist/programs/defi-wrapper/use-cases/timelock-governance/main.js.map +1 -0
  198. package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/index.d.ts +2 -0
  199. package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/index.js +3 -0
  200. package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/index.js.map +1 -0
  201. package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/main.d.ts +1 -0
  202. package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/main.js +6 -0
  203. package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/main.js.map +1 -0
  204. package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/write.d.ts +1 -0
  205. package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/write.js +184 -0
  206. package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/write.js.map +1 -0
  207. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/index.d.ts +3 -0
  208. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/index.js +4 -0
  209. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/index.js.map +1 -0
  210. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/main.d.ts +1 -0
  211. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/main.js +6 -0
  212. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/main.js.map +1 -0
  213. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/read.d.ts +1 -0
  214. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/read.js +80 -0
  215. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/read.js.map +1 -0
  216. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/write.d.ts +1 -0
  217. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/write.js +139 -0
  218. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/write.js.map +1 -0
  219. package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/index.d.ts +2 -0
  220. package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/index.js +3 -0
  221. package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/index.js.map +1 -0
  222. package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/main.d.ts +1 -0
  223. package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/main.js +6 -0
  224. package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/main.js.map +1 -0
  225. package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/write.d.ts +1 -0
  226. package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/write.js +118 -0
  227. package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/write.js.map +1 -0
  228. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/index.d.ts +1 -1
  229. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/index.js +1 -2
  230. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/index.js.map +1 -1
  231. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js +333 -11
  232. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js.map +1 -1
  233. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.js +463 -2
  234. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.js.map +1 -1
  235. package/dist/programs/dev-tools/defi-wrapper/write.js +41 -11
  236. package/dist/programs/dev-tools/defi-wrapper/write.js.map +1 -1
  237. package/dist/programs/pdg-helpers.js +55 -19
  238. package/dist/programs/pdg-helpers.js.map +1 -1
  239. package/dist/programs/use-cases/consolidation/write.js +5 -1
  240. package/dist/programs/use-cases/consolidation/write.js.map +1 -1
  241. package/dist/programs/use-cases/deposits/read.js +40 -8
  242. package/dist/programs/use-cases/deposits/read.js.map +1 -1
  243. package/dist/programs/use-cases/deposits/write.js +15 -3
  244. package/dist/programs/use-cases/deposits/write.js.map +1 -1
  245. package/dist/programs/use-cases/metrics/read.js +25 -5
  246. package/dist/programs/use-cases/metrics/read.js.map +1 -1
  247. package/dist/programs/use-cases/report/read.js +25 -5
  248. package/dist/programs/use-cases/report/read.js.map +1 -1
  249. package/dist/programs/use-cases/report/write.js +10 -2
  250. package/dist/programs/use-cases/report/write.js.map +1 -1
  251. package/dist/programs/use-cases/vault-operations/write.js +30 -6
  252. package/dist/programs/use-cases/vault-operations/write.js.map +1 -1
  253. package/dist/providers/index.d.ts +1 -1
  254. package/dist/providers/index.js +1 -1
  255. package/dist/tests/utils/rate-limit.test.d.ts +1 -0
  256. package/dist/tests/utils/rate-limit.test.js +246 -0
  257. package/dist/tests/utils/rate-limit.test.js.map +1 -0
  258. package/dist/types/index.d.ts +2 -2
  259. package/dist/types/index.js +2 -2
  260. package/dist/utils/arguments.d.ts +14 -0
  261. package/dist/utils/arguments.js +28 -0
  262. package/dist/utils/arguments.js.map +1 -1
  263. package/dist/utils/cache.d.ts +6 -4
  264. package/dist/utils/cache.js +14 -11
  265. package/dist/utils/cache.js.map +1 -1
  266. package/dist/utils/charts/blessed/charts-apr.js +5 -1
  267. package/dist/utils/charts/blessed/charts-apr.js.map +1 -1
  268. package/dist/utils/charts/blessed/charts-rewards.js +5 -1
  269. package/dist/utils/charts/blessed/charts-rewards.js.map +1 -1
  270. package/dist/utils/charts/simple/simple-charts.js +5 -1
  271. package/dist/utils/charts/simple/simple-charts.js.map +1 -1
  272. package/dist/utils/commands/report.d.ts +5 -2
  273. package/dist/utils/commands/report.js +21 -7
  274. package/dist/utils/commands/report.js.map +1 -1
  275. package/dist/utils/consts.d.ts +1 -0
  276. package/dist/utils/consts.js +5 -0
  277. package/dist/utils/consts.js.map +1 -1
  278. package/dist/utils/fetchCL.d.ts +10 -0
  279. package/dist/utils/fetchCL.js +19 -0
  280. package/dist/utils/fetchCL.js.map +1 -1
  281. package/dist/utils/health/health-utils.d.ts +2 -27707
  282. package/dist/utils/health/health-utils.js +26 -8
  283. package/dist/utils/health/health-utils.js.map +1 -1
  284. package/dist/utils/index.d.ts +1 -0
  285. package/dist/utils/index.js +1 -0
  286. package/dist/utils/index.js.map +1 -1
  287. package/dist/utils/prompts/operations.js +1 -3
  288. package/dist/utils/prompts/operations.js.map +1 -1
  289. package/dist/utils/rate-limit.d.ts +10 -0
  290. package/dist/utils/rate-limit.js +30 -0
  291. package/dist/utils/rate-limit.js.map +1 -0
  292. package/dist/utils/read-programs-by-abi.js +22 -4
  293. package/dist/utils/read-programs-by-abi.js.map +1 -1
  294. package/dist/utils/report/statistic-data.js +8 -2
  295. package/dist/utils/report/statistic-data.js.map +1 -1
  296. package/dist/utils/share-rate.js +16 -4
  297. package/dist/utils/share-rate.js.map +1 -1
  298. package/dist/utils/sleep.js.map +1 -1
  299. package/dist/utils/transactions/tx-private-key.d.ts +3 -5
  300. package/dist/utils/transactions/tx-private-key.js +13 -10
  301. package/dist/utils/transactions/tx-private-key.js.map +1 -1
  302. package/dist/utils/transactions/types.d.ts +7 -0
  303. package/dist/utils/transactions/utils.js +2 -2
  304. package/dist/utils/transactions/utils.js.map +1 -1
  305. package/dist/version/index.js +1 -1
  306. package/package.json +3 -12
  307. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/create-pool.js +0 -180
  308. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/create-pool.js.map +0 -1
  309. /package/dist/programs/defi-wrapper/use-cases/{wrapper-operations/create-pool.d.ts → distributor/read.d.ts} +0 -0
package/dist/abi/StEth.js CHANGED
@@ -1,56 +1,30 @@
1
1
  export const StEthAbi = [
2
2
  {
3
3
  constant: true,
4
- inputs: [
5
- {
6
- name: '_sharesAmount',
7
- type: 'uint256',
8
- },
9
- ],
4
+ inputs: [{ name: '_sharesAmount', type: 'uint256' }],
10
5
  name: 'getPooledEthBySharesRoundUp',
11
- outputs: [
12
- {
13
- name: '',
14
- type: 'uint256',
15
- },
16
- ],
6
+ outputs: [{ name: '', type: 'uint256' }],
17
7
  payable: false,
18
8
  stateMutability: 'view',
19
9
  type: 'function',
20
10
  },
21
11
  {
22
- constant: true,
12
+ constant: false,
23
13
  inputs: [],
24
- name: 'name',
25
- outputs: [
26
- {
27
- name: '',
28
- type: 'string',
29
- },
30
- ],
14
+ name: 'resume',
15
+ outputs: [],
31
16
  payable: false,
32
- stateMutability: 'pure',
17
+ stateMutability: 'nonpayable',
33
18
  type: 'function',
34
19
  },
35
20
  {
36
21
  constant: false,
37
22
  inputs: [
38
- {
39
- name: '_spender',
40
- type: 'address',
41
- },
42
- {
43
- name: '_amount',
44
- type: 'uint256',
45
- },
46
- ],
47
- name: 'approve',
48
- outputs: [
49
- {
50
- name: '',
51
- type: 'bool',
52
- },
23
+ { name: '_recipient', type: 'address' },
24
+ { name: '_amountOfShares', type: 'uint256' },
53
25
  ],
26
+ name: 'mintExternalShares',
27
+ outputs: [],
54
28
  payable: false,
55
29
  stateMutability: 'nonpayable',
56
30
  type: 'function',
@@ -58,32 +32,26 @@ export const StEthAbi = [
58
32
  {
59
33
  constant: true,
60
34
  inputs: [],
61
- name: 'totalSupply',
62
- outputs: [
63
- {
64
- name: '',
65
- type: 'uint256',
66
- },
67
- ],
35
+ name: 'name',
36
+ outputs: [{ name: '', type: 'string' }],
68
37
  payable: false,
69
- stateMutability: 'view',
38
+ stateMutability: 'pure',
39
+ type: 'function',
40
+ },
41
+ {
42
+ constant: false,
43
+ inputs: [],
44
+ name: 'stop',
45
+ outputs: [],
46
+ payable: false,
47
+ stateMutability: 'nonpayable',
70
48
  type: 'function',
71
49
  },
72
50
  {
73
51
  constant: true,
74
- inputs: [
75
- {
76
- name: '_ethAmount',
77
- type: 'uint256',
78
- },
79
- ],
80
- name: 'getSharesByPooledEth',
81
- outputs: [
82
- {
83
- name: '',
84
- type: 'uint256',
85
- },
86
- ],
52
+ inputs: [],
53
+ name: 'hasInitialized',
54
+ outputs: [{ name: '', type: 'bool' }],
87
55
  payable: false,
88
56
  stateMutability: 'view',
89
57
  type: 'function',
@@ -91,26 +59,11 @@ export const StEthAbi = [
91
59
  {
92
60
  constant: false,
93
61
  inputs: [
94
- {
95
- name: '_sender',
96
- type: 'address',
97
- },
98
- {
99
- name: '_recipient',
100
- type: 'address',
101
- },
102
- {
103
- name: '_amount',
104
- type: 'uint256',
105
- },
106
- ],
107
- name: 'transferFrom',
108
- outputs: [
109
- {
110
- name: '',
111
- type: 'bool',
112
- },
62
+ { name: '_spender', type: 'address' },
63
+ { name: '_amount', type: 'uint256' },
113
64
  ],
65
+ name: 'approve',
66
+ outputs: [{ name: '', type: 'bool' }],
114
67
  payable: false,
115
68
  stateMutability: 'nonpayable',
116
69
  type: 'function',
@@ -118,27 +71,26 @@ export const StEthAbi = [
118
71
  {
119
72
  constant: true,
120
73
  inputs: [],
121
- name: 'decimals',
122
- outputs: [
123
- {
124
- name: '',
125
- type: 'uint8',
126
- },
127
- ],
74
+ name: 'STAKING_CONTROL_ROLE',
75
+ outputs: [{ name: '', type: 'bytes32' }],
128
76
  payable: false,
129
- stateMutability: 'pure',
77
+ stateMutability: 'view',
130
78
  type: 'function',
131
79
  },
132
80
  {
133
81
  constant: true,
134
82
  inputs: [],
135
- name: 'getTotalPooledEther',
136
- outputs: [
137
- {
138
- name: '',
139
- type: 'uint256',
140
- },
141
- ],
83
+ name: 'totalSupply',
84
+ outputs: [{ name: '', type: 'uint256' }],
85
+ payable: false,
86
+ stateMutability: 'view',
87
+ type: 'function',
88
+ },
89
+ {
90
+ constant: true,
91
+ inputs: [{ name: '_ethAmount', type: 'uint256' }],
92
+ name: 'getSharesByPooledEth',
93
+ outputs: [{ name: '', type: 'uint256' }],
142
94
  payable: false,
143
95
  stateMutability: 'view',
144
96
  type: 'function',
@@ -146,22 +98,18 @@ export const StEthAbi = [
146
98
  {
147
99
  constant: false,
148
100
  inputs: [
149
- {
150
- name: '_spender',
151
- type: 'address',
152
- },
153
- {
154
- name: '_addedValue',
155
- type: 'uint256',
156
- },
157
- ],
158
- name: 'increaseAllowance',
159
- outputs: [
160
- {
161
- name: '',
162
- type: 'bool',
163
- },
101
+ { name: '_reportTimestamp', type: 'uint256' },
102
+ { name: '_timeElapsed', type: 'uint256' },
103
+ { name: '_preTotalShares', type: 'uint256' },
104
+ { name: '_preTotalEther', type: 'uint256' },
105
+ { name: '_postTotalShares', type: 'uint256' },
106
+ { name: '_postTotalEther', type: 'uint256' },
107
+ { name: '_postInternalShares', type: 'uint256' },
108
+ { name: '_postInternalEther', type: 'uint256' },
109
+ { name: '_sharesMintedAsFees', type: 'uint256' },
164
110
  ],
111
+ name: 'emitTokenRebase',
112
+ outputs: [],
165
113
  payable: false,
166
114
  stateMutability: 'nonpayable',
167
115
  type: 'function',
@@ -169,13 +117,8 @@ export const StEthAbi = [
169
117
  {
170
118
  constant: true,
171
119
  inputs: [],
172
- name: 'isStopped',
173
- outputs: [
174
- {
175
- name: '',
176
- type: 'bool',
177
- },
178
- ],
120
+ name: 'isStakingPaused',
121
+ outputs: [{ name: '', type: 'bool' }],
179
122
  payable: false,
180
123
  stateMutability: 'view',
181
124
  type: 'function',
@@ -183,147 +126,108 @@ export const StEthAbi = [
183
126
  {
184
127
  constant: false,
185
128
  inputs: [
186
- {
187
- name: '_sender',
188
- type: 'address',
189
- },
190
- {
191
- name: '_recipient',
192
- type: 'address',
193
- },
194
- {
195
- name: '_sharesAmount',
196
- type: 'uint256',
197
- },
198
- ],
199
- name: 'transferSharesFrom',
200
- outputs: [
201
- {
202
- name: '',
203
- type: 'uint256',
204
- },
129
+ { name: '_sender', type: 'address' },
130
+ { name: '_recipient', type: 'address' },
131
+ { name: '_amount', type: 'uint256' },
205
132
  ],
133
+ name: 'transferFrom',
134
+ outputs: [{ name: '', type: 'bool' }],
206
135
  payable: false,
207
136
  stateMutability: 'nonpayable',
208
137
  type: 'function',
209
138
  },
210
139
  {
211
140
  constant: true,
141
+ inputs: [{ name: '_script', type: 'bytes' }],
142
+ name: 'getEVMScriptExecutor',
143
+ outputs: [{ name: '', type: 'address' }],
144
+ payable: false,
145
+ stateMutability: 'view',
146
+ type: 'function',
147
+ },
148
+ {
149
+ constant: false,
212
150
  inputs: [
213
- {
214
- name: '_account',
215
- type: 'address',
216
- },
217
- ],
218
- name: 'balanceOf',
219
- outputs: [
220
- {
221
- name: '',
222
- type: 'uint256',
223
- },
151
+ { name: '_maxStakeLimit', type: 'uint256' },
152
+ { name: '_stakeLimitIncreasePerBlock', type: 'uint256' },
224
153
  ],
154
+ name: 'setStakingLimit',
155
+ outputs: [],
156
+ payable: false,
157
+ stateMutability: 'nonpayable',
158
+ type: 'function',
159
+ },
160
+ {
161
+ constant: true,
162
+ inputs: [],
163
+ name: 'RESUME_ROLE',
164
+ outputs: [{ name: '', type: 'bytes32' }],
225
165
  payable: false,
226
166
  stateMutability: 'view',
227
167
  type: 'function',
228
168
  },
229
169
  {
230
170
  constant: true,
231
- inputs: [
232
- {
233
- name: '_sharesAmount',
234
- type: 'uint256',
235
- },
236
- ],
237
- name: 'getPooledEthByShares',
238
- outputs: [
239
- {
240
- name: '',
241
- type: 'uint256',
242
- },
243
- ],
171
+ inputs: [],
172
+ name: 'decimals',
173
+ outputs: [{ name: '', type: 'uint8' }],
174
+ payable: false,
175
+ stateMutability: 'pure',
176
+ type: 'function',
177
+ },
178
+ {
179
+ constant: true,
180
+ inputs: [],
181
+ name: 'getRecoveryVault',
182
+ outputs: [{ name: '', type: 'address' }],
244
183
  payable: false,
245
184
  stateMutability: 'view',
246
185
  type: 'function',
247
186
  },
248
187
  {
249
- constant: false,
250
- inputs: [
251
- {
252
- name: '_recipient',
253
- type: 'address',
254
- },
255
- {
256
- name: '_sharesAmount',
257
- type: 'uint256',
258
- },
259
- ],
260
- name: 'transferShares',
261
- outputs: [
262
- {
263
- name: '',
264
- type: 'uint256',
265
- },
266
- ],
188
+ constant: true,
189
+ inputs: [],
190
+ name: 'DOMAIN_SEPARATOR',
191
+ outputs: [{ name: '', type: 'bytes32' }],
267
192
  payable: false,
268
- stateMutability: 'nonpayable',
193
+ stateMutability: 'view',
269
194
  type: 'function',
270
195
  },
271
196
  {
272
197
  constant: true,
273
198
  inputs: [],
274
- name: 'symbol',
275
- outputs: [
276
- {
277
- name: '',
278
- type: 'string',
279
- },
280
- ],
199
+ name: 'getTotalPooledEther',
200
+ outputs: [{ name: '', type: 'uint256' }],
281
201
  payable: false,
282
- stateMutability: 'pure',
202
+ stateMutability: 'view',
283
203
  type: 'function',
284
204
  },
285
205
  {
286
206
  constant: false,
287
- inputs: [
288
- {
289
- name: '_spender',
290
- type: 'address',
291
- },
292
- {
293
- name: '_subtractedValue',
294
- type: 'uint256',
295
- },
296
- ],
297
- name: 'decreaseAllowance',
298
- outputs: [
299
- {
300
- name: '',
301
- type: 'bool',
302
- },
303
- ],
207
+ inputs: [{ name: '_newDepositedValidators', type: 'uint256' }],
208
+ name: 'unsafeChangeDepositedValidators',
209
+ outputs: [],
304
210
  payable: false,
305
211
  stateMutability: 'nonpayable',
306
212
  type: 'function',
307
213
  },
214
+ {
215
+ constant: true,
216
+ inputs: [],
217
+ name: 'PAUSE_ROLE',
218
+ outputs: [{ name: '', type: 'bytes32' }],
219
+ payable: false,
220
+ stateMutability: 'view',
221
+ type: 'function',
222
+ },
308
223
  {
309
224
  constant: false,
310
225
  inputs: [
311
- {
312
- name: '_recipient',
313
- type: 'address',
314
- },
315
- {
316
- name: '_amount',
317
- type: 'uint256',
318
- },
319
- ],
320
- name: 'transfer',
321
- outputs: [
322
- {
323
- name: '',
324
- type: 'bool',
325
- },
226
+ { name: '_spender', type: 'address' },
227
+ { name: '_addedValue', type: 'uint256' },
326
228
  ],
229
+ name: 'increaseAllowance',
230
+ outputs: [{ name: '', type: 'bool' }],
327
231
  payable: false,
328
232
  stateMutability: 'nonpayable',
329
233
  type: 'function',
@@ -331,138 +235,805 @@ export const StEthAbi = [
331
235
  {
332
236
  constant: true,
333
237
  inputs: [],
334
- name: 'getTotalShares',
335
- outputs: [
336
- {
337
- name: '',
338
- type: 'uint256',
339
- },
340
- ],
238
+ name: 'getTreasury',
239
+ outputs: [{ name: '', type: 'address' }],
341
240
  payable: false,
342
241
  stateMutability: 'view',
343
242
  type: 'function',
344
243
  },
345
244
  {
346
245
  constant: true,
347
- inputs: [
348
- {
349
- name: '_owner',
350
- type: 'address',
351
- },
352
- {
353
- name: '_spender',
354
- type: 'address',
355
- },
356
- ],
357
- name: 'allowance',
358
- outputs: [
359
- {
360
- name: '',
361
- type: 'uint256',
362
- },
363
- ],
246
+ inputs: [],
247
+ name: 'isStopped',
248
+ outputs: [{ name: '', type: 'bool' }],
364
249
  payable: false,
365
250
  stateMutability: 'view',
366
251
  type: 'function',
367
252
  },
368
253
  {
369
254
  constant: true,
370
- inputs: [
371
- {
372
- name: '_account',
373
- type: 'address',
374
- },
375
- ],
376
- name: 'sharesOf',
377
- outputs: [
378
- {
379
- name: '',
380
- type: 'uint256',
381
- },
382
- ],
255
+ inputs: [],
256
+ name: 'getBufferedEther',
257
+ outputs: [{ name: '', type: 'uint256' }],
383
258
  payable: false,
384
259
  stateMutability: 'view',
385
260
  type: 'function',
386
261
  },
387
262
  {
388
- anonymous: false,
263
+ constant: false,
389
264
  inputs: [
390
- {
391
- indexed: true,
392
- name: 'from',
393
- type: 'address',
394
- },
395
- {
396
- indexed: true,
397
- name: 'to',
398
- type: 'address',
399
- },
400
- {
401
- indexed: false,
402
- name: 'sharesValue',
403
- type: 'uint256',
404
- },
265
+ { name: '_lidoLocator', type: 'address' },
266
+ { name: '_eip712StETH', type: 'address' },
267
+ ],
268
+ name: 'initialize',
269
+ outputs: [],
270
+ payable: true,
271
+ stateMutability: 'payable',
272
+ type: 'function',
273
+ },
274
+ {
275
+ constant: false,
276
+ inputs: [],
277
+ name: 'receiveELRewards',
278
+ outputs: [],
279
+ payable: true,
280
+ stateMutability: 'payable',
281
+ type: 'function',
282
+ },
283
+ {
284
+ constant: false,
285
+ inputs: [
286
+ { name: '_recipient', type: 'address' },
287
+ { name: '_amountOfShares', type: 'uint256' },
288
+ ],
289
+ name: 'mintShares',
290
+ outputs: [],
291
+ payable: false,
292
+ stateMutability: 'nonpayable',
293
+ type: 'function',
294
+ },
295
+ {
296
+ constant: true,
297
+ inputs: [],
298
+ name: 'getWithdrawalCredentials',
299
+ outputs: [{ name: '', type: 'bytes32' }],
300
+ payable: false,
301
+ stateMutability: 'view',
302
+ type: 'function',
303
+ },
304
+ {
305
+ constant: false,
306
+ inputs: [
307
+ { name: '_reportTimestamp', type: 'uint256' },
308
+ { name: '_preClValidators', type: 'uint256' },
309
+ { name: '_reportClValidators', type: 'uint256' },
310
+ { name: '_reportClBalance', type: 'uint256' },
311
+ ],
312
+ name: 'processClStateUpdate',
313
+ outputs: [],
314
+ payable: false,
315
+ stateMutability: 'nonpayable',
316
+ type: 'function',
317
+ },
318
+ {
319
+ constant: true,
320
+ inputs: [],
321
+ name: 'getCurrentStakeLimit',
322
+ outputs: [{ name: '', type: 'uint256' }],
323
+ payable: false,
324
+ stateMutability: 'view',
325
+ type: 'function',
326
+ },
327
+ {
328
+ constant: true,
329
+ inputs: [],
330
+ name: 'getExternalShares',
331
+ outputs: [{ name: '', type: 'uint256' }],
332
+ payable: false,
333
+ stateMutability: 'view',
334
+ type: 'function',
335
+ },
336
+ {
337
+ constant: false,
338
+ inputs: [{ name: '_amountOfShares', type: 'uint256' }],
339
+ name: 'internalizeExternalBadDebt',
340
+ outputs: [],
341
+ payable: false,
342
+ stateMutability: 'nonpayable',
343
+ type: 'function',
344
+ },
345
+ {
346
+ constant: true,
347
+ inputs: [],
348
+ name: 'getStakeLimitFullInfo',
349
+ outputs: [
350
+ { name: 'isStakingPaused_', type: 'bool' },
351
+ { name: 'isStakingLimitSet', type: 'bool' },
352
+ { name: 'currentStakeLimit', type: 'uint256' },
353
+ { name: 'maxStakeLimit', type: 'uint256' },
354
+ { name: 'maxStakeLimitGrowthBlocks', type: 'uint256' },
355
+ { name: 'prevStakeLimit', type: 'uint256' },
356
+ { name: 'prevStakeBlockNumber', type: 'uint256' },
357
+ ],
358
+ payable: false,
359
+ stateMutability: 'view',
360
+ type: 'function',
361
+ },
362
+ {
363
+ constant: false,
364
+ inputs: [
365
+ { name: '_sender', type: 'address' },
366
+ { name: '_recipient', type: 'address' },
367
+ { name: '_sharesAmount', type: 'uint256' },
368
+ ],
369
+ name: 'transferSharesFrom',
370
+ outputs: [{ name: '', type: 'uint256' }],
371
+ payable: false,
372
+ stateMutability: 'nonpayable',
373
+ type: 'function',
374
+ },
375
+ {
376
+ constant: true,
377
+ inputs: [{ name: '_account', type: 'address' }],
378
+ name: 'balanceOf',
379
+ outputs: [{ name: '', type: 'uint256' }],
380
+ payable: false,
381
+ stateMutability: 'view',
382
+ type: 'function',
383
+ },
384
+ {
385
+ constant: false,
386
+ inputs: [{ name: '_amountOfShares', type: 'uint256' }],
387
+ name: 'burnExternalShares',
388
+ outputs: [],
389
+ payable: false,
390
+ stateMutability: 'nonpayable',
391
+ type: 'function',
392
+ },
393
+ {
394
+ constant: false,
395
+ inputs: [],
396
+ name: 'resumeStaking',
397
+ outputs: [],
398
+ payable: false,
399
+ stateMutability: 'nonpayable',
400
+ type: 'function',
401
+ },
402
+ {
403
+ constant: true,
404
+ inputs: [],
405
+ name: 'getFeeDistribution',
406
+ outputs: [
407
+ { name: 'treasuryFeeBasisPoints', type: 'uint16' },
408
+ { name: 'insuranceFeeBasisPoints', type: 'uint16' },
409
+ { name: 'operatorsFeeBasisPoints', type: 'uint16' },
410
+ ],
411
+ payable: false,
412
+ stateMutability: 'view',
413
+ type: 'function',
414
+ },
415
+ {
416
+ constant: false,
417
+ inputs: [],
418
+ name: 'receiveWithdrawals',
419
+ outputs: [],
420
+ payable: true,
421
+ stateMutability: 'payable',
422
+ type: 'function',
423
+ },
424
+ {
425
+ constant: true,
426
+ inputs: [{ name: '_sharesAmount', type: 'uint256' }],
427
+ name: 'getPooledEthByShares',
428
+ outputs: [{ name: '', type: 'uint256' }],
429
+ payable: false,
430
+ stateMutability: 'view',
431
+ type: 'function',
432
+ },
433
+ {
434
+ constant: false,
435
+ inputs: [{ name: '_amountOfShares', type: 'uint256' }],
436
+ name: 'rebalanceExternalEtherToInternal',
437
+ outputs: [],
438
+ payable: true,
439
+ stateMutability: 'payable',
440
+ type: 'function',
441
+ },
442
+ {
443
+ constant: true,
444
+ inputs: [{ name: 'token', type: 'address' }],
445
+ name: 'allowRecoverability',
446
+ outputs: [{ name: '', type: 'bool' }],
447
+ payable: false,
448
+ stateMutability: 'view',
449
+ type: 'function',
450
+ },
451
+ {
452
+ constant: true,
453
+ inputs: [{ name: 'owner', type: 'address' }],
454
+ name: 'nonces',
455
+ outputs: [{ name: '', type: 'uint256' }],
456
+ payable: false,
457
+ stateMutability: 'view',
458
+ type: 'function',
459
+ },
460
+ {
461
+ constant: true,
462
+ inputs: [],
463
+ name: 'appId',
464
+ outputs: [{ name: '', type: 'bytes32' }],
465
+ payable: false,
466
+ stateMutability: 'view',
467
+ type: 'function',
468
+ },
469
+ {
470
+ constant: true,
471
+ inputs: [],
472
+ name: 'eip712Domain',
473
+ outputs: [
474
+ { name: 'name', type: 'string' },
475
+ { name: 'version', type: 'string' },
476
+ { name: 'chainId', type: 'uint256' },
477
+ { name: 'verifyingContract', type: 'address' },
478
+ ],
479
+ payable: false,
480
+ stateMutability: 'view',
481
+ type: 'function',
482
+ },
483
+ {
484
+ constant: false,
485
+ inputs: [{ name: '_amountOfShares', type: 'uint256' }],
486
+ name: 'burnShares',
487
+ outputs: [],
488
+ payable: false,
489
+ stateMutability: 'nonpayable',
490
+ type: 'function',
491
+ },
492
+ {
493
+ constant: false,
494
+ inputs: [
495
+ { name: '_oldBurner', type: 'address' },
496
+ { name: '_contractsWithBurnerAllowances', type: 'address[]' },
497
+ { name: '_initialMaxExternalRatioBP', type: 'uint256' },
498
+ ],
499
+ name: 'finalizeUpgrade_v3',
500
+ outputs: [],
501
+ payable: false,
502
+ stateMutability: 'nonpayable',
503
+ type: 'function',
504
+ },
505
+ {
506
+ constant: true,
507
+ inputs: [],
508
+ name: 'getMaxMintableExternalShares',
509
+ outputs: [{ name: '', type: 'uint256' }],
510
+ payable: false,
511
+ stateMutability: 'view',
512
+ type: 'function',
513
+ },
514
+ {
515
+ constant: true,
516
+ inputs: [],
517
+ name: 'getContractVersion',
518
+ outputs: [{ name: '', type: 'uint256' }],
519
+ payable: false,
520
+ stateMutability: 'view',
521
+ type: 'function',
522
+ },
523
+ {
524
+ constant: true,
525
+ inputs: [],
526
+ name: 'getInitializationBlock',
527
+ outputs: [{ name: '', type: 'uint256' }],
528
+ payable: false,
529
+ stateMutability: 'view',
530
+ type: 'function',
531
+ },
532
+ {
533
+ constant: false,
534
+ inputs: [
535
+ { name: '_recipient', type: 'address' },
536
+ { name: '_sharesAmount', type: 'uint256' },
537
+ ],
538
+ name: 'transferShares',
539
+ outputs: [{ name: '', type: 'uint256' }],
540
+ payable: false,
541
+ stateMutability: 'nonpayable',
542
+ type: 'function',
543
+ },
544
+ {
545
+ constant: false,
546
+ inputs: [
547
+ { name: '_reportTimestamp', type: 'uint256' },
548
+ { name: '_reportClBalance', type: 'uint256' },
549
+ { name: '_principalCLBalance', type: 'uint256' },
550
+ { name: '_withdrawalsToWithdraw', type: 'uint256' },
551
+ { name: '_elRewardsToWithdraw', type: 'uint256' },
552
+ { name: '_lastWithdrawalRequestToFinalize', type: 'uint256' },
553
+ { name: '_withdrawalsShareRate', type: 'uint256' },
554
+ { name: '_etherToLockOnWithdrawalQueue', type: 'uint256' },
555
+ ],
556
+ name: 'collectRewardsAndProcessWithdrawals',
557
+ outputs: [],
558
+ payable: false,
559
+ stateMutability: 'nonpayable',
560
+ type: 'function',
561
+ },
562
+ {
563
+ constant: true,
564
+ inputs: [],
565
+ name: 'symbol',
566
+ outputs: [{ name: '', type: 'string' }],
567
+ payable: false,
568
+ stateMutability: 'pure',
569
+ type: 'function',
570
+ },
571
+ {
572
+ constant: true,
573
+ inputs: [],
574
+ name: 'getEIP712StETH',
575
+ outputs: [{ name: '', type: 'address' }],
576
+ payable: false,
577
+ stateMutability: 'view',
578
+ type: 'function',
579
+ },
580
+ {
581
+ constant: true,
582
+ inputs: [],
583
+ name: 'getMaxExternalRatioBP',
584
+ outputs: [{ name: '', type: 'uint256' }],
585
+ payable: false,
586
+ stateMutability: 'view',
587
+ type: 'function',
588
+ },
589
+ {
590
+ constant: false,
591
+ inputs: [{ name: '', type: 'address' }],
592
+ name: 'transferToVault',
593
+ outputs: [],
594
+ payable: false,
595
+ stateMutability: 'nonpayable',
596
+ type: 'function',
597
+ },
598
+ {
599
+ constant: true,
600
+ inputs: [
601
+ { name: '_sender', type: 'address' },
602
+ { name: '_role', type: 'bytes32' },
603
+ { name: '_params', type: 'uint256[]' },
604
+ ],
605
+ name: 'canPerform',
606
+ outputs: [{ name: '', type: 'bool' }],
607
+ payable: false,
608
+ stateMutability: 'view',
609
+ type: 'function',
610
+ },
611
+ {
612
+ constant: false,
613
+ inputs: [{ name: '_referral', type: 'address' }],
614
+ name: 'submit',
615
+ outputs: [{ name: '', type: 'uint256' }],
616
+ payable: true,
617
+ stateMutability: 'payable',
618
+ type: 'function',
619
+ },
620
+ {
621
+ constant: false,
622
+ inputs: [
623
+ { name: '_spender', type: 'address' },
624
+ { name: '_subtractedValue', type: 'uint256' },
625
+ ],
626
+ name: 'decreaseAllowance',
627
+ outputs: [{ name: '', type: 'bool' }],
628
+ payable: false,
629
+ stateMutability: 'nonpayable',
630
+ type: 'function',
631
+ },
632
+ {
633
+ constant: true,
634
+ inputs: [],
635
+ name: 'getEVMScriptRegistry',
636
+ outputs: [{ name: '', type: 'address' }],
637
+ payable: false,
638
+ stateMutability: 'view',
639
+ type: 'function',
640
+ },
641
+ {
642
+ constant: false,
643
+ inputs: [
644
+ { name: '_recipient', type: 'address' },
645
+ { name: '_amount', type: 'uint256' },
646
+ ],
647
+ name: 'transfer',
648
+ outputs: [{ name: '', type: 'bool' }],
649
+ payable: false,
650
+ stateMutability: 'nonpayable',
651
+ type: 'function',
652
+ },
653
+ {
654
+ constant: false,
655
+ inputs: [
656
+ { name: '_maxDepositsCount', type: 'uint256' },
657
+ { name: '_stakingModuleId', type: 'uint256' },
658
+ { name: '_depositCalldata', type: 'bytes' },
659
+ ],
660
+ name: 'deposit',
661
+ outputs: [],
662
+ payable: false,
663
+ stateMutability: 'nonpayable',
664
+ type: 'function',
665
+ },
666
+ {
667
+ constant: true,
668
+ inputs: [],
669
+ name: 'UNSAFE_CHANGE_DEPOSITED_VALIDATORS_ROLE',
670
+ outputs: [{ name: '', type: 'bytes32' }],
671
+ payable: false,
672
+ stateMutability: 'view',
673
+ type: 'function',
674
+ },
675
+ {
676
+ constant: true,
677
+ inputs: [],
678
+ name: 'getBeaconStat',
679
+ outputs: [
680
+ { name: 'depositedValidators', type: 'uint256' },
681
+ { name: 'beaconValidators', type: 'uint256' },
682
+ { name: 'beaconBalance', type: 'uint256' },
405
683
  ],
406
- name: 'TransferShares',
684
+ payable: false,
685
+ stateMutability: 'view',
686
+ type: 'function',
687
+ },
688
+ {
689
+ constant: false,
690
+ inputs: [],
691
+ name: 'removeStakingLimit',
692
+ outputs: [],
693
+ payable: false,
694
+ stateMutability: 'nonpayable',
695
+ type: 'function',
696
+ },
697
+ {
698
+ constant: true,
699
+ inputs: [],
700
+ name: 'getFee',
701
+ outputs: [{ name: 'totalFee', type: 'uint16' }],
702
+ payable: false,
703
+ stateMutability: 'view',
704
+ type: 'function',
705
+ },
706
+ {
707
+ constant: true,
708
+ inputs: [],
709
+ name: 'kernel',
710
+ outputs: [{ name: '', type: 'address' }],
711
+ payable: false,
712
+ stateMutability: 'view',
713
+ type: 'function',
714
+ },
715
+ {
716
+ constant: true,
717
+ inputs: [],
718
+ name: 'getTotalShares',
719
+ outputs: [{ name: '', type: 'uint256' }],
720
+ payable: false,
721
+ stateMutability: 'view',
722
+ type: 'function',
723
+ },
724
+ {
725
+ constant: false,
726
+ inputs: [
727
+ { name: '_owner', type: 'address' },
728
+ { name: '_spender', type: 'address' },
729
+ { name: '_value', type: 'uint256' },
730
+ { name: '_deadline', type: 'uint256' },
731
+ { name: '_v', type: 'uint8' },
732
+ { name: '_r', type: 'bytes32' },
733
+ { name: '_s', type: 'bytes32' },
734
+ ],
735
+ name: 'permit',
736
+ outputs: [],
737
+ payable: false,
738
+ stateMutability: 'nonpayable',
739
+ type: 'function',
740
+ },
741
+ {
742
+ constant: true,
743
+ inputs: [
744
+ { name: '_owner', type: 'address' },
745
+ { name: '_spender', type: 'address' },
746
+ ],
747
+ name: 'allowance',
748
+ outputs: [{ name: '', type: 'uint256' }],
749
+ payable: false,
750
+ stateMutability: 'view',
751
+ type: 'function',
752
+ },
753
+ {
754
+ constant: true,
755
+ inputs: [],
756
+ name: 'isPetrified',
757
+ outputs: [{ name: '', type: 'bool' }],
758
+ payable: false,
759
+ stateMutability: 'view',
760
+ type: 'function',
761
+ },
762
+ {
763
+ constant: true,
764
+ inputs: [],
765
+ name: 'getExternalEther',
766
+ outputs: [{ name: '', type: 'uint256' }],
767
+ payable: false,
768
+ stateMutability: 'view',
769
+ type: 'function',
770
+ },
771
+ {
772
+ constant: true,
773
+ inputs: [],
774
+ name: 'getLidoLocator',
775
+ outputs: [{ name: '', type: 'address' }],
776
+ payable: false,
777
+ stateMutability: 'view',
778
+ type: 'function',
779
+ },
780
+ {
781
+ constant: true,
782
+ inputs: [],
783
+ name: 'canDeposit',
784
+ outputs: [{ name: '', type: 'bool' }],
785
+ payable: false,
786
+ stateMutability: 'view',
787
+ type: 'function',
788
+ },
789
+ {
790
+ constant: true,
791
+ inputs: [],
792
+ name: 'STAKING_PAUSE_ROLE',
793
+ outputs: [{ name: '', type: 'bytes32' }],
794
+ payable: false,
795
+ stateMutability: 'view',
796
+ type: 'function',
797
+ },
798
+ {
799
+ constant: true,
800
+ inputs: [],
801
+ name: 'getDepositableEther',
802
+ outputs: [{ name: '', type: 'uint256' }],
803
+ payable: false,
804
+ stateMutability: 'view',
805
+ type: 'function',
806
+ },
807
+ {
808
+ constant: false,
809
+ inputs: [{ name: '_maxExternalRatioBP', type: 'uint256' }],
810
+ name: 'setMaxExternalRatioBP',
811
+ outputs: [],
812
+ payable: false,
813
+ stateMutability: 'nonpayable',
814
+ type: 'function',
815
+ },
816
+ {
817
+ constant: true,
818
+ inputs: [{ name: '_account', type: 'address' }],
819
+ name: 'sharesOf',
820
+ outputs: [{ name: '', type: 'uint256' }],
821
+ payable: false,
822
+ stateMutability: 'view',
823
+ type: 'function',
824
+ },
825
+ {
826
+ constant: false,
827
+ inputs: [],
828
+ name: 'pauseStaking',
829
+ outputs: [],
830
+ payable: false,
831
+ stateMutability: 'nonpayable',
832
+ type: 'function',
833
+ },
834
+ {
835
+ constant: true,
836
+ inputs: [],
837
+ name: 'getTotalELRewardsCollected',
838
+ outputs: [{ name: '', type: 'uint256' }],
839
+ payable: false,
840
+ stateMutability: 'view',
841
+ type: 'function',
842
+ },
843
+ { payable: true, stateMutability: 'payable', type: 'fallback' },
844
+ { anonymous: false, inputs: [], name: 'StakingPaused', type: 'event' },
845
+ { anonymous: false, inputs: [], name: 'StakingResumed', type: 'event' },
846
+ {
847
+ anonymous: false,
848
+ inputs: [
849
+ { indexed: false, name: 'maxStakeLimit', type: 'uint256' },
850
+ { indexed: false, name: 'stakeLimitIncreasePerBlock', type: 'uint256' },
851
+ ],
852
+ name: 'StakingLimitSet',
407
853
  type: 'event',
408
854
  },
855
+ { anonymous: false, inputs: [], name: 'StakingLimitRemoved', type: 'event' },
409
856
  {
410
857
  anonymous: false,
411
858
  inputs: [
412
- {
413
- indexed: true,
414
- name: 'account',
415
- type: 'address',
416
- },
417
- {
418
- indexed: false,
419
- name: 'preRebaseTokenAmount',
420
- type: 'uint256',
421
- },
422
- {
423
- indexed: false,
424
- name: 'postRebaseTokenAmount',
425
- type: 'uint256',
426
- },
859
+ { indexed: true, name: 'reportTimestamp', type: 'uint256' },
860
+ { indexed: false, name: 'preCLValidators', type: 'uint256' },
861
+ { indexed: false, name: 'postCLValidators', type: 'uint256' },
862
+ ],
863
+ name: 'CLValidatorsUpdated',
864
+ type: 'event',
865
+ },
866
+ {
867
+ anonymous: false,
868
+ inputs: [{ indexed: false, name: 'depositedValidators', type: 'uint256' }],
869
+ name: 'DepositedValidatorsChanged',
870
+ type: 'event',
871
+ },
872
+ {
873
+ anonymous: false,
874
+ inputs: [
875
+ { indexed: true, name: 'reportTimestamp', type: 'uint256' },
876
+ { indexed: false, name: 'preCLBalance', type: 'uint256' },
877
+ { indexed: false, name: 'postCLBalance', type: 'uint256' },
878
+ { indexed: false, name: 'withdrawalsWithdrawn', type: 'uint256' },
427
879
  {
428
880
  indexed: false,
429
- name: 'sharesAmount',
881
+ name: 'executionLayerRewardsWithdrawn',
430
882
  type: 'uint256',
431
883
  },
884
+ { indexed: false, name: 'postBufferedEther', type: 'uint256' },
432
885
  ],
433
- name: 'SharesBurnt',
886
+ name: 'ETHDistributed',
434
887
  type: 'event',
435
888
  },
436
889
  {
437
890
  anonymous: false,
438
- inputs: [],
439
- name: 'Stopped',
891
+ inputs: [
892
+ { indexed: true, name: 'reportTimestamp', type: 'uint256' },
893
+ { indexed: false, name: 'timeElapsed', type: 'uint256' },
894
+ { indexed: false, name: 'preTotalShares', type: 'uint256' },
895
+ { indexed: false, name: 'preTotalEther', type: 'uint256' },
896
+ { indexed: false, name: 'postTotalShares', type: 'uint256' },
897
+ { indexed: false, name: 'postTotalEther', type: 'uint256' },
898
+ { indexed: false, name: 'sharesMintedAsFees', type: 'uint256' },
899
+ ],
900
+ name: 'TokenRebased',
440
901
  type: 'event',
441
902
  },
442
903
  {
443
904
  anonymous: false,
444
- inputs: [],
445
- name: 'Resumed',
905
+ inputs: [{ indexed: false, name: 'lidoLocator', type: 'address' }],
906
+ name: 'LidoLocatorSet',
907
+ type: 'event',
908
+ },
909
+ {
910
+ anonymous: false,
911
+ inputs: [{ indexed: false, name: 'amount', type: 'uint256' }],
912
+ name: 'ELRewardsReceived',
913
+ type: 'event',
914
+ },
915
+ {
916
+ anonymous: false,
917
+ inputs: [{ indexed: false, name: 'amount', type: 'uint256' }],
918
+ name: 'WithdrawalsReceived',
446
919
  type: 'event',
447
920
  },
448
921
  {
449
922
  anonymous: false,
450
923
  inputs: [
451
- {
452
- indexed: true,
453
- name: 'from',
454
- type: 'address',
455
- },
456
- {
457
- indexed: true,
458
- name: 'to',
459
- type: 'address',
460
- },
461
- {
462
- indexed: false,
463
- name: 'value',
464
- type: 'uint256',
465
- },
924
+ { indexed: true, name: 'sender', type: 'address' },
925
+ { indexed: false, name: 'amount', type: 'uint256' },
926
+ { indexed: false, name: 'referral', type: 'address' },
927
+ ],
928
+ name: 'Submitted',
929
+ type: 'event',
930
+ },
931
+ {
932
+ anonymous: false,
933
+ inputs: [{ indexed: false, name: 'amount', type: 'uint256' }],
934
+ name: 'Unbuffered',
935
+ type: 'event',
936
+ },
937
+ {
938
+ anonymous: false,
939
+ inputs: [
940
+ { indexed: true, name: 'reportTimestamp', type: 'uint256' },
941
+ { indexed: false, name: 'postInternalShares', type: 'uint256' },
942
+ { indexed: false, name: 'postInternalEther', type: 'uint256' },
943
+ { indexed: false, name: 'sharesMintedAsFees', type: 'uint256' },
944
+ ],
945
+ name: 'InternalShareRateUpdated',
946
+ type: 'event',
947
+ },
948
+ {
949
+ anonymous: false,
950
+ inputs: [
951
+ { indexed: true, name: 'receiver', type: 'address' },
952
+ { indexed: false, name: 'amountOfShares', type: 'uint256' },
953
+ ],
954
+ name: 'ExternalSharesMinted',
955
+ type: 'event',
956
+ },
957
+ {
958
+ anonymous: false,
959
+ inputs: [{ indexed: false, name: 'amountOfShares', type: 'uint256' }],
960
+ name: 'ExternalSharesBurnt',
961
+ type: 'event',
962
+ },
963
+ {
964
+ anonymous: false,
965
+ inputs: [{ indexed: false, name: 'maxExternalRatioBP', type: 'uint256' }],
966
+ name: 'MaxExternalRatioBPSet',
967
+ type: 'event',
968
+ },
969
+ {
970
+ anonymous: false,
971
+ inputs: [{ indexed: false, name: 'amount', type: 'uint256' }],
972
+ name: 'ExternalEtherTransferredToBuffer',
973
+ type: 'event',
974
+ },
975
+ {
976
+ anonymous: false,
977
+ inputs: [{ indexed: false, name: 'amountOfShares', type: 'uint256' }],
978
+ name: 'ExternalBadDebtInternalized',
979
+ type: 'event',
980
+ },
981
+ {
982
+ anonymous: false,
983
+ inputs: [
984
+ { indexed: true, name: 'executor', type: 'address' },
985
+ { indexed: false, name: 'script', type: 'bytes' },
986
+ { indexed: false, name: 'input', type: 'bytes' },
987
+ { indexed: false, name: 'returnData', type: 'bytes' },
988
+ ],
989
+ name: 'ScriptResult',
990
+ type: 'event',
991
+ },
992
+ {
993
+ anonymous: false,
994
+ inputs: [
995
+ { indexed: true, name: 'vault', type: 'address' },
996
+ { indexed: true, name: 'token', type: 'address' },
997
+ { indexed: false, name: 'amount', type: 'uint256' },
998
+ ],
999
+ name: 'RecoverToVault',
1000
+ type: 'event',
1001
+ },
1002
+ {
1003
+ anonymous: false,
1004
+ inputs: [{ indexed: false, name: 'eip712StETH', type: 'address' }],
1005
+ name: 'EIP712StETHInitialized',
1006
+ type: 'event',
1007
+ },
1008
+ {
1009
+ anonymous: false,
1010
+ inputs: [
1011
+ { indexed: true, name: 'from', type: 'address' },
1012
+ { indexed: true, name: 'to', type: 'address' },
1013
+ { indexed: false, name: 'sharesValue', type: 'uint256' },
1014
+ ],
1015
+ name: 'TransferShares',
1016
+ type: 'event',
1017
+ },
1018
+ {
1019
+ anonymous: false,
1020
+ inputs: [
1021
+ { indexed: true, name: 'account', type: 'address' },
1022
+ { indexed: false, name: 'preRebaseTokenAmount', type: 'uint256' },
1023
+ { indexed: false, name: 'postRebaseTokenAmount', type: 'uint256' },
1024
+ { indexed: false, name: 'sharesAmount', type: 'uint256' },
1025
+ ],
1026
+ name: 'SharesBurnt',
1027
+ type: 'event',
1028
+ },
1029
+ { anonymous: false, inputs: [], name: 'Stopped', type: 'event' },
1030
+ { anonymous: false, inputs: [], name: 'Resumed', type: 'event' },
1031
+ {
1032
+ anonymous: false,
1033
+ inputs: [
1034
+ { indexed: true, name: 'from', type: 'address' },
1035
+ { indexed: true, name: 'to', type: 'address' },
1036
+ { indexed: false, name: 'value', type: 'uint256' },
466
1037
  ],
467
1038
  name: 'Transfer',
468
1039
  type: 'event',
@@ -470,24 +1041,18 @@ export const StEthAbi = [
470
1041
  {
471
1042
  anonymous: false,
472
1043
  inputs: [
473
- {
474
- indexed: true,
475
- name: 'owner',
476
- type: 'address',
477
- },
478
- {
479
- indexed: true,
480
- name: 'spender',
481
- type: 'address',
482
- },
483
- {
484
- indexed: false,
485
- name: 'value',
486
- type: 'uint256',
487
- },
1044
+ { indexed: true, name: 'owner', type: 'address' },
1045
+ { indexed: true, name: 'spender', type: 'address' },
1046
+ { indexed: false, name: 'value', type: 'uint256' },
488
1047
  ],
489
1048
  name: 'Approval',
490
1049
  type: 'event',
491
1050
  },
1051
+ {
1052
+ anonymous: false,
1053
+ inputs: [{ indexed: false, name: 'version', type: 'uint256' }],
1054
+ name: 'ContractVersionSet',
1055
+ type: 'event',
1056
+ },
492
1057
  ];
493
1058
  //# sourceMappingURL=StEth.js.map