@lidofinance/lsv-cli 1.0.0-alpha.28 → 1.0.0-alpha.29

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 (154) hide show
  1. package/dist/abi/BlsHarness.d.ts +178 -0
  2. package/dist/abi/CLProofVerifier.d.ts +188 -0
  3. package/dist/abi/Dashboard.d.ts +1486 -0
  4. package/dist/abi/LidoLocator.d.ts +330 -0
  5. package/dist/abi/OperatorGrid.d.ts +914 -0
  6. package/dist/abi/PredepositGuarantee.d.ts +1382 -0
  7. package/dist/abi/ReportChecker.d.ts +83 -0
  8. package/dist/abi/StEth.d.ts +372 -0
  9. package/dist/abi/StakingVault.d.ts +864 -0
  10. package/dist/abi/TokenManager.d.ts +577 -0
  11. package/dist/abi/VaultFactory.d.ts +160 -0
  12. package/dist/abi/VaultHub.d.ts +1309 -0
  13. package/dist/abi/VaultViewer.d.ts +223 -0
  14. package/dist/abi/Voting.d.ts +676 -0
  15. package/dist/abi/WstEth.d.ts +362 -0
  16. package/dist/abi/index.d.ts +15 -0
  17. package/dist/command/index.d.ts +2 -0
  18. package/dist/configs/constants.d.ts +36 -0
  19. package/dist/configs/deployed.d.ts +17 -0
  20. package/dist/configs/envs.d.ts +2 -0
  21. package/dist/configs/index.d.ts +3 -0
  22. package/dist/configs/utils.d.ts +4 -0
  23. package/dist/contracts/blsHarness.d.ts +947 -0
  24. package/dist/contracts/clProofVerifier.d.ts +2647 -0
  25. package/dist/contracts/dashboard.d.ts +4 -0
  26. package/dist/contracts/dashboard.js +1 -1
  27. package/dist/contracts/dashboard.js.map +1 -1
  28. package/dist/contracts/index.d.ts +15 -0
  29. package/dist/contracts/locator.d.ts +6935 -0
  30. package/dist/contracts/operator-grid.d.ts +3 -0
  31. package/dist/contracts/operator-grid.js +1 -1
  32. package/dist/contracts/operator-grid.js.map +1 -1
  33. package/dist/contracts/pdg.d.ts +3 -0
  34. package/dist/contracts/pdg.js +1 -1
  35. package/dist/contracts/pdg.js.map +1 -1
  36. package/dist/contracts/reportChecker.d.ts +758 -0
  37. package/dist/contracts/steth.d.ts +27706 -0
  38. package/dist/contracts/token-manager.d.ts +3 -0
  39. package/dist/contracts/token-manager.js +4 -7
  40. package/dist/contracts/token-manager.js.map +1 -1
  41. package/dist/contracts/vault-factory.d.ts +2678 -0
  42. package/dist/contracts/vault-hub.d.ts +3 -0
  43. package/dist/contracts/vault-hub.js +1 -1
  44. package/dist/contracts/vault-hub.js.map +1 -1
  45. package/dist/contracts/vault-viewer.d.ts +2681 -0
  46. package/dist/contracts/vault.d.ts +3 -0
  47. package/dist/contracts/vault.js +3 -6
  48. package/dist/contracts/vault.js.map +1 -1
  49. package/dist/contracts/voting.d.ts +6 -0
  50. package/dist/contracts/voting.js +1 -1
  51. package/dist/contracts/voting.js.map +1 -1
  52. package/dist/contracts/wsteth.d.ts +24690 -0
  53. package/dist/features/advanced-config.d.ts +5 -0
  54. package/dist/features/dashboard.d.ts +5 -0
  55. package/dist/features/index.d.ts +8 -0
  56. package/dist/features/operator-grid.d.ts +2 -0
  57. package/dist/features/pdg.d.ts +2 -0
  58. package/dist/features/token-manager.d.ts +1 -0
  59. package/dist/features/vault-factory.d.ts +8 -0
  60. package/dist/features/vault-hub.d.ts +2 -0
  61. package/dist/features/vault.d.ts +2 -0
  62. package/dist/features/voting.d.ts +7 -0
  63. package/dist/index.d.ts +3 -0
  64. package/dist/index.js +1 -0
  65. package/dist/index.js.map +1 -1
  66. package/dist/programs/account.d.ts +1 -0
  67. package/dist/programs/account.js +5 -1
  68. package/dist/programs/account.js.map +1 -1
  69. package/dist/programs/config.d.ts +1 -0
  70. package/dist/programs/dashboard/config.d.ts +2 -0
  71. package/dist/programs/dashboard/index.d.ts +3 -0
  72. package/dist/programs/dashboard/main.d.ts +1 -0
  73. package/dist/programs/dashboard/read.d.ts +1 -0
  74. package/dist/programs/dashboard/write.d.ts +1 -0
  75. package/dist/programs/hub/config.d.ts +2 -0
  76. package/dist/programs/hub/index.d.ts +3 -0
  77. package/dist/programs/hub/main.d.ts +1 -0
  78. package/dist/programs/hub/read.d.ts +1 -0
  79. package/dist/programs/hub/write.d.ts +1 -0
  80. package/dist/programs/index.d.ts +11 -0
  81. package/dist/programs/operator-grid/config.d.ts +2 -0
  82. package/dist/programs/operator-grid/index.d.ts +3 -0
  83. package/dist/programs/operator-grid/main.d.ts +1 -0
  84. package/dist/programs/operator-grid/read.d.ts +1 -0
  85. package/dist/programs/operator-grid/write.d.ts +1 -0
  86. package/dist/programs/pdg/config.d.ts +2 -0
  87. package/dist/programs/pdg/index.d.ts +3 -0
  88. package/dist/programs/pdg/main.d.ts +1 -0
  89. package/dist/programs/pdg/read.d.ts +1 -0
  90. package/dist/programs/pdg/write.d.ts +1 -0
  91. package/dist/programs/pdg-helpers.d.ts +1 -0
  92. package/dist/programs/report.d.ts +1 -0
  93. package/dist/programs/vault/config.d.ts +2 -0
  94. package/dist/programs/vault/index.d.ts +3 -0
  95. package/dist/programs/vault/main.d.ts +1 -0
  96. package/dist/programs/vault/read.d.ts +1 -0
  97. package/dist/programs/vault/write.d.ts +1 -0
  98. package/dist/programs/vault-factory/config.d.ts +2 -0
  99. package/dist/programs/vault-factory/index.d.ts +3 -0
  100. package/dist/programs/vault-factory/main.d.ts +1 -0
  101. package/dist/programs/vault-factory/read.d.ts +1 -0
  102. package/dist/programs/vault-factory/write.d.ts +1 -0
  103. package/dist/programs/vault-viewer/config.d.ts +2 -0
  104. package/dist/programs/vault-viewer/index.d.ts +2 -0
  105. package/dist/programs/vault-viewer/main.d.ts +1 -0
  106. package/dist/programs/vault-viewer/read.d.ts +1 -0
  107. package/dist/programs/voting.d.ts +1 -0
  108. package/dist/providers/index.d.ts +1 -0
  109. package/dist/providers/wallet.d.ts +6897 -0
  110. package/dist/providers/wallet.js +1 -1
  111. package/dist/providers/wallet.js.map +1 -1
  112. package/dist/types/common.d.ts +31 -0
  113. package/dist/types/config.d.ts +23 -0
  114. package/dist/types/index.d.ts +2 -0
  115. package/dist/utils/arguments.d.ts +13 -0
  116. package/dist/utils/bls.d.ts +21 -0
  117. package/dist/utils/calculate-overview.d.ts +19 -0
  118. package/dist/utils/commands/dashboard.d.ts +6 -0
  119. package/dist/utils/commands/index.d.ts +1 -0
  120. package/dist/utils/contract.d.ts +25 -0
  121. package/dist/utils/data-validators.d.ts +6 -0
  122. package/dist/utils/error-handler.d.ts +1 -0
  123. package/dist/utils/fetchCL.d.ts +14 -0
  124. package/dist/utils/get-commands.d.ts +2 -0
  125. package/dist/utils/get-deposit-data-root.d.ts +7 -0
  126. package/dist/utils/get-value.d.ts +1 -0
  127. package/dist/utils/health.d.ts +27748 -0
  128. package/dist/utils/index.d.ts +22 -0
  129. package/dist/utils/ipfs.d.ts +6 -0
  130. package/dist/utils/logging/console.d.ts +7 -0
  131. package/dist/utils/logging/constants.d.ts +2 -0
  132. package/dist/utils/logging/index.d.ts +1 -0
  133. package/dist/utils/prompts/dashboard.d.ts +29 -0
  134. package/dist/utils/prompts/default.d.ts +3 -0
  135. package/dist/utils/prompts/index.d.ts +5 -0
  136. package/dist/utils/prompts/operations.d.ts +9 -0
  137. package/dist/utils/prompts/predeposit-guarantee.d.ts +3 -0
  138. package/dist/utils/prompts/vault.d.ts +2 -0
  139. package/dist/utils/proof/create-proof.d.ts +12 -0
  140. package/dist/utils/proof/first-validator-gindex.d.ts +1 -0
  141. package/dist/utils/proof/index.d.ts +4 -0
  142. package/dist/utils/proof/merkle-utils.d.ts +55 -0
  143. package/dist/utils/proof/proofs.d.ts +305 -0
  144. package/dist/utils/proof/report-proof.d.ts +5 -0
  145. package/dist/utils/read-programs-by-abi.d.ts +18 -0
  146. package/dist/utils/report.d.ts +75 -0
  147. package/dist/utils/required-lock.d.ts +5 -0
  148. package/dist/utils/resolve-path.d.ts +1 -0
  149. package/dist/utils/sleep.d.ts +1 -0
  150. package/dist/utils/spinner/index.d.ts +1 -0
  151. package/dist/utils/spinner/spinners.d.ts +7 -0
  152. package/dist/version/index.d.ts +1 -0
  153. package/dist/version/index.js +1 -1
  154. package/package.json +1 -1
@@ -0,0 +1,178 @@
1
+ export declare const BLSHarnessAbi: readonly [{
2
+ readonly inputs: readonly [];
3
+ readonly stateMutability: "nonpayable";
4
+ readonly type: "constructor";
5
+ }, {
6
+ readonly inputs: readonly [];
7
+ readonly name: "InputHasInfinityPoints";
8
+ readonly type: "error";
9
+ }, {
10
+ readonly inputs: readonly [];
11
+ readonly name: "InvalidPubkeyLength";
12
+ readonly type: "error";
13
+ }, {
14
+ readonly inputs: readonly [];
15
+ readonly name: "InvalidSignature";
16
+ readonly type: "error";
17
+ }, {
18
+ readonly inputs: readonly [];
19
+ readonly name: "LOCAL_MESSAGE_1";
20
+ readonly outputs: readonly [{
21
+ readonly components: readonly [{
22
+ readonly components: readonly [{
23
+ readonly internalType: "bytes";
24
+ readonly name: "pubkey";
25
+ readonly type: "bytes";
26
+ }, {
27
+ readonly internalType: "bytes";
28
+ readonly name: "signature";
29
+ readonly type: "bytes";
30
+ }, {
31
+ readonly internalType: "uint256";
32
+ readonly name: "amount";
33
+ readonly type: "uint256";
34
+ }, {
35
+ readonly internalType: "bytes32";
36
+ readonly name: "depositDataRoot";
37
+ readonly type: "bytes32";
38
+ }];
39
+ readonly internalType: "struct StakingVaultDeposit";
40
+ readonly name: "deposit";
41
+ readonly type: "tuple";
42
+ }, {
43
+ readonly components: readonly [{
44
+ readonly components: readonly [{
45
+ readonly internalType: "bytes32";
46
+ readonly name: "a";
47
+ readonly type: "bytes32";
48
+ }, {
49
+ readonly internalType: "bytes32";
50
+ readonly name: "b";
51
+ readonly type: "bytes32";
52
+ }];
53
+ readonly internalType: "struct BLS12_381.Fp";
54
+ readonly name: "pubkeyY";
55
+ readonly type: "tuple";
56
+ }, {
57
+ readonly components: readonly [{
58
+ readonly internalType: "bytes32";
59
+ readonly name: "c0_a";
60
+ readonly type: "bytes32";
61
+ }, {
62
+ readonly internalType: "bytes32";
63
+ readonly name: "c0_b";
64
+ readonly type: "bytes32";
65
+ }, {
66
+ readonly internalType: "bytes32";
67
+ readonly name: "c1_a";
68
+ readonly type: "bytes32";
69
+ }, {
70
+ readonly internalType: "bytes32";
71
+ readonly name: "c1_b";
72
+ readonly type: "bytes32";
73
+ }];
74
+ readonly internalType: "struct BLS12_381.Fp2";
75
+ readonly name: "signatureY";
76
+ readonly type: "tuple";
77
+ }];
78
+ readonly internalType: "struct BLS12_381.DepositY";
79
+ readonly name: "depositYComponents";
80
+ readonly type: "tuple";
81
+ }, {
82
+ readonly internalType: "bytes32";
83
+ readonly name: "withdrawalCredentials";
84
+ readonly type: "bytes32";
85
+ }];
86
+ readonly internalType: "struct PrecomputedDepositMessage";
87
+ readonly name: "";
88
+ readonly type: "tuple";
89
+ }];
90
+ readonly stateMutability: "pure";
91
+ readonly type: "function";
92
+ }, {
93
+ readonly inputs: readonly [];
94
+ readonly name: "verifier";
95
+ readonly outputs: readonly [{
96
+ readonly internalType: "contract BLS__HarnessVerifier";
97
+ readonly name: "";
98
+ readonly type: "address";
99
+ }];
100
+ readonly stateMutability: "view";
101
+ readonly type: "function";
102
+ }, {
103
+ readonly inputs: readonly [];
104
+ readonly name: "verifyBLSSupport";
105
+ readonly outputs: readonly [];
106
+ readonly stateMutability: "view";
107
+ readonly type: "function";
108
+ }, {
109
+ readonly inputs: readonly [{
110
+ readonly components: readonly [{
111
+ readonly internalType: "bytes";
112
+ readonly name: "pubkey";
113
+ readonly type: "bytes";
114
+ }, {
115
+ readonly internalType: "bytes";
116
+ readonly name: "signature";
117
+ readonly type: "bytes";
118
+ }, {
119
+ readonly internalType: "uint256";
120
+ readonly name: "amount";
121
+ readonly type: "uint256";
122
+ }, {
123
+ readonly internalType: "bytes32";
124
+ readonly name: "depositDataRoot";
125
+ readonly type: "bytes32";
126
+ }];
127
+ readonly internalType: "struct StakingVaultDeposit";
128
+ readonly name: "deposit";
129
+ readonly type: "tuple";
130
+ }, {
131
+ readonly components: readonly [{
132
+ readonly components: readonly [{
133
+ readonly internalType: "bytes32";
134
+ readonly name: "a";
135
+ readonly type: "bytes32";
136
+ }, {
137
+ readonly internalType: "bytes32";
138
+ readonly name: "b";
139
+ readonly type: "bytes32";
140
+ }];
141
+ readonly internalType: "struct BLS12_381.Fp";
142
+ readonly name: "pubkeyY";
143
+ readonly type: "tuple";
144
+ }, {
145
+ readonly components: readonly [{
146
+ readonly internalType: "bytes32";
147
+ readonly name: "c0_a";
148
+ readonly type: "bytes32";
149
+ }, {
150
+ readonly internalType: "bytes32";
151
+ readonly name: "c0_b";
152
+ readonly type: "bytes32";
153
+ }, {
154
+ readonly internalType: "bytes32";
155
+ readonly name: "c1_a";
156
+ readonly type: "bytes32";
157
+ }, {
158
+ readonly internalType: "bytes32";
159
+ readonly name: "c1_b";
160
+ readonly type: "bytes32";
161
+ }];
162
+ readonly internalType: "struct BLS12_381.Fp2";
163
+ readonly name: "signatureY";
164
+ readonly type: "tuple";
165
+ }];
166
+ readonly internalType: "struct BLS12_381.DepositY";
167
+ readonly name: "depositY";
168
+ readonly type: "tuple";
169
+ }, {
170
+ readonly internalType: "bytes32";
171
+ readonly name: "withdrawalCredentials";
172
+ readonly type: "bytes32";
173
+ }];
174
+ readonly name: "verifyDepositMessage";
175
+ readonly outputs: readonly [];
176
+ readonly stateMutability: "view";
177
+ readonly type: "function";
178
+ }];
@@ -0,0 +1,188 @@
1
+ export declare const CLProofVerifierAbi: readonly [{
2
+ readonly inputs: readonly [{
3
+ readonly internalType: "GIndex";
4
+ readonly name: "_gIFirstValidator";
5
+ readonly type: "bytes32";
6
+ }, {
7
+ readonly internalType: "GIndex";
8
+ readonly name: "_gIFirstValidatorAfterChange";
9
+ readonly type: "bytes32";
10
+ }, {
11
+ readonly internalType: "uint64";
12
+ readonly name: "_changeSlot";
13
+ readonly type: "uint64";
14
+ }];
15
+ readonly stateMutability: "nonpayable";
16
+ readonly type: "constructor";
17
+ }, {
18
+ readonly inputs: readonly [];
19
+ readonly name: "IndexOutOfRange";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly inputs: readonly [];
23
+ readonly name: "InvalidPubkeyLength";
24
+ readonly type: "error";
25
+ }, {
26
+ readonly inputs: readonly [];
27
+ readonly name: "RootNotFound";
28
+ readonly type: "error";
29
+ }, {
30
+ readonly inputs: readonly [];
31
+ readonly name: "BEACON_ROOTS";
32
+ readonly outputs: readonly [{
33
+ readonly internalType: "address";
34
+ readonly name: "";
35
+ readonly type: "address";
36
+ }];
37
+ readonly stateMutability: "view";
38
+ readonly type: "function";
39
+ }, {
40
+ readonly inputs: readonly [];
41
+ readonly name: "GI_FIRST_VALIDATOR";
42
+ readonly outputs: readonly [{
43
+ readonly internalType: "GIndex";
44
+ readonly name: "";
45
+ readonly type: "bytes32";
46
+ }];
47
+ readonly stateMutability: "view";
48
+ readonly type: "function";
49
+ }, {
50
+ readonly inputs: readonly [];
51
+ readonly name: "GI_FIRST_VALIDATOR_AFTER_CHANGE";
52
+ readonly outputs: readonly [{
53
+ readonly internalType: "GIndex";
54
+ readonly name: "";
55
+ readonly type: "bytes32";
56
+ }];
57
+ readonly stateMutability: "view";
58
+ readonly type: "function";
59
+ }, {
60
+ readonly inputs: readonly [];
61
+ readonly name: "GI_PUBKEY_WC_PARENT";
62
+ readonly outputs: readonly [{
63
+ readonly internalType: "GIndex";
64
+ readonly name: "";
65
+ readonly type: "bytes32";
66
+ }];
67
+ readonly stateMutability: "view";
68
+ readonly type: "function";
69
+ }, {
70
+ readonly inputs: readonly [];
71
+ readonly name: "GI_STATE_ROOT";
72
+ readonly outputs: readonly [{
73
+ readonly internalType: "GIndex";
74
+ readonly name: "";
75
+ readonly type: "bytes32";
76
+ }];
77
+ readonly stateMutability: "view";
78
+ readonly type: "function";
79
+ }, {
80
+ readonly inputs: readonly [];
81
+ readonly name: "SLOT_CHANGE_GI_FIRST_VALIDATOR";
82
+ readonly outputs: readonly [{
83
+ readonly internalType: "uint64";
84
+ readonly name: "";
85
+ readonly type: "uint64";
86
+ }];
87
+ readonly stateMutability: "view";
88
+ readonly type: "function";
89
+ }, {
90
+ readonly inputs: readonly [];
91
+ readonly name: "STATE_ROOT_DEPTH";
92
+ readonly outputs: readonly [{
93
+ readonly internalType: "uint8";
94
+ readonly name: "";
95
+ readonly type: "uint8";
96
+ }];
97
+ readonly stateMutability: "view";
98
+ readonly type: "function";
99
+ }, {
100
+ readonly inputs: readonly [];
101
+ readonly name: "STATE_ROOT_POSITION";
102
+ readonly outputs: readonly [{
103
+ readonly internalType: "uint256";
104
+ readonly name: "";
105
+ readonly type: "uint256";
106
+ }];
107
+ readonly stateMutability: "view";
108
+ readonly type: "function";
109
+ }, {
110
+ readonly inputs: readonly [{
111
+ readonly internalType: "uint64";
112
+ readonly name: "parentBlockTimestamp";
113
+ readonly type: "uint64";
114
+ }];
115
+ readonly name: "TEST_getParentBlockRoot";
116
+ readonly outputs: readonly [{
117
+ readonly internalType: "bytes32";
118
+ readonly name: "";
119
+ readonly type: "bytes32";
120
+ }];
121
+ readonly stateMutability: "view";
122
+ readonly type: "function";
123
+ }, {
124
+ readonly inputs: readonly [{
125
+ readonly internalType: "uint256";
126
+ readonly name: "offset";
127
+ readonly type: "uint256";
128
+ }];
129
+ readonly name: "TEST_getValidatorGI";
130
+ readonly outputs: readonly [{
131
+ readonly internalType: "GIndex";
132
+ readonly name: "";
133
+ readonly type: "bytes32";
134
+ }];
135
+ readonly stateMutability: "view";
136
+ readonly type: "function";
137
+ }, {
138
+ readonly inputs: readonly [{
139
+ readonly components: readonly [{
140
+ readonly internalType: "bytes32[]";
141
+ readonly name: "proof";
142
+ readonly type: "bytes32[]";
143
+ }, {
144
+ readonly internalType: "bytes";
145
+ readonly name: "pubkey";
146
+ readonly type: "bytes";
147
+ }, {
148
+ readonly internalType: "uint256";
149
+ readonly name: "validatorIndex";
150
+ readonly type: "uint256";
151
+ }, {
152
+ readonly internalType: "uint64";
153
+ readonly name: "childBlockTimestamp";
154
+ readonly type: "uint64";
155
+ }];
156
+ readonly internalType: "struct IPredepositGuarantee.ValidatorWitness";
157
+ readonly name: "_witness";
158
+ readonly type: "tuple";
159
+ }, {
160
+ readonly internalType: "bytes32";
161
+ readonly name: "_withdrawalCredentials";
162
+ readonly type: "bytes32";
163
+ }];
164
+ readonly name: "TEST_validatePubKeyWCProof";
165
+ readonly outputs: readonly [];
166
+ readonly stateMutability: "view";
167
+ readonly type: "function";
168
+ }, {
169
+ readonly inputs: readonly [];
170
+ readonly name: "WC_PUBKEY_PARENT_DEPTH";
171
+ readonly outputs: readonly [{
172
+ readonly internalType: "uint8";
173
+ readonly name: "";
174
+ readonly type: "uint8";
175
+ }];
176
+ readonly stateMutability: "view";
177
+ readonly type: "function";
178
+ }, {
179
+ readonly inputs: readonly [];
180
+ readonly name: "WC_PUBKEY_PARENT_POSITION";
181
+ readonly outputs: readonly [{
182
+ readonly internalType: "uint256";
183
+ readonly name: "";
184
+ readonly type: "uint256";
185
+ }];
186
+ readonly stateMutability: "view";
187
+ readonly type: "function";
188
+ }];