@lidofinance/lsv-cli 1.0.0-alpha.54 → 1.0.0-alpha.56

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