@lidofinance/lsv-cli 1.2.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -0
- package/dist/abi/Dashboard.d.ts +268 -0
- package/dist/abi/Dashboard.js +2 -0
- package/dist/abi/Dashboard.js.map +1 -1
- package/dist/abi/PredepositGuarantee.d.ts +357 -88
- package/dist/abi/PredepositGuarantee.js +31 -28
- package/dist/abi/PredepositGuarantee.js.map +1 -1
- package/dist/abi/VaultViewer.d.ts +8 -0
- package/dist/abi/VaultViewer.js +10 -0
- package/dist/abi/VaultViewer.js.map +1 -1
- package/dist/command/index.js +1 -0
- package/dist/command/index.js.map +1 -1
- package/dist/configs/deployed.js +27 -8
- package/dist/configs/deployed.js.map +1 -1
- package/dist/configs/index.d.ts +4 -3
- package/dist/configs/index.js +4 -3
- package/dist/configs/index.js.map +1 -1
- package/dist/contracts/vault-viewer.js +2 -2
- package/dist/features/defi-wrapper/defi-wrapper-factory.d.ts +1 -2
- package/dist/features/defi-wrapper/defi-wrapper-factory.js +12 -9
- package/dist/features/defi-wrapper/defi-wrapper-factory.js.map +1 -1
- package/dist/features/deposits/index.d.ts +1 -0
- package/dist/features/deposits/index.js +1 -0
- package/dist/features/deposits/index.js.map +1 -1
- package/dist/features/deposits/validators.d.ts +12 -0
- package/dist/features/deposits/validators.js +31 -0
- package/dist/features/deposits/validators.js.map +1 -0
- package/dist/features/index.d.ts +1 -0
- package/dist/features/index.js +1 -0
- package/dist/features/index.js.map +1 -1
- package/dist/features/lazy-oracle.js +2 -2
- package/dist/features/lazy-oracle.js.map +1 -1
- package/dist/features/mint-burn/allowance.d.ts +7 -1
- package/dist/features/mint-burn/allowance.js +8 -9
- package/dist/features/mint-burn/allowance.js.map +1 -1
- package/dist/features/mint-burn/burn-shares.d.ts +2 -1
- package/dist/features/mint-burn/burn-shares.js +4 -3
- package/dist/features/mint-burn/burn-shares.js.map +1 -1
- package/dist/features/mint-burn/burn-steth.d.ts +2 -1
- package/dist/features/mint-burn/burn-steth.js +4 -3
- package/dist/features/mint-burn/burn-steth.js.map +1 -1
- package/dist/features/mint-burn/mint-shares.js +4 -6
- package/dist/features/mint-burn/mint-shares.js.map +1 -1
- package/dist/features/mint-burn/mint-steth.js +4 -6
- package/dist/features/mint-burn/mint-steth.js.map +1 -1
- package/dist/features/utils/connection.d.ts +2 -0
- package/dist/features/utils/connection.js +14 -0
- package/dist/features/utils/connection.js.map +1 -0
- package/dist/features/utils/index.d.ts +1 -0
- package/dist/features/utils/index.js +1 -0
- package/dist/features/utils/index.js.map +1 -1
- package/dist/features/utils/liability-shares.js +2 -1
- package/dist/features/utils/liability-shares.js.map +1 -1
- package/dist/features/utils/report-fresh.d.ts +11 -1
- package/dist/features/utils/report-fresh.js +17 -14
- package/dist/features/utils/report-fresh.js.map +1 -1
- package/dist/features/vault-factory.d.ts +13 -14
- package/dist/features/vault-factory.js +30 -8
- package/dist/features/vault-factory.js.map +1 -1
- package/dist/features/vault-operations/connect-vault.d.ts +4 -0
- package/dist/features/vault-operations/connect-vault.js +21 -0
- package/dist/features/vault-operations/connect-vault.js.map +1 -0
- package/dist/features/vault-operations/create-vault.js +6 -4
- package/dist/features/vault-operations/create-vault.js.map +1 -1
- package/dist/features/vault-operations/dashboard-by-vault.js +17 -4
- package/dist/features/vault-operations/dashboard-by-vault.js.map +1 -1
- package/dist/features/vault-operations/index.d.ts +2 -0
- package/dist/features/vault-operations/index.js +2 -0
- package/dist/features/vault-operations/index.js.map +1 -1
- package/dist/features/vault-operations/roles.d.ts +5 -0
- package/dist/features/vault-operations/roles.js +65 -0
- package/dist/features/vault-operations/roles.js.map +1 -0
- package/dist/features/vault-operations/vault-info.js +9 -3
- package/dist/features/vault-operations/vault-info.js.map +1 -1
- package/dist/features/vault-operations/vault-overview.js +5 -7
- package/dist/features/vault-operations/vault-overview.js.map +1 -1
- package/dist/features/vault-operations/vault-roles.js +1 -1
- package/dist/features/vault-operations/vault-roles.js.map +1 -1
- package/dist/features/with-report.d.ts +6 -0
- package/dist/features/with-report.js +18 -0
- package/dist/features/with-report.js.map +1 -0
- package/dist/index.js +32 -10
- package/dist/index.js.map +1 -1
- package/dist/programs/contracts/dashboard/write.js +39 -20
- package/dist/programs/contracts/dashboard/write.js.map +1 -1
- package/dist/programs/contracts/hub/write.js +5 -1
- package/dist/programs/contracts/hub/write.js.map +1 -1
- package/dist/programs/contracts/operator-grid/write.js +1 -1
- package/dist/programs/contracts/operator-grid/write.js.map +1 -1
- package/dist/programs/contracts/vault-factory/write.js +37 -23
- package/dist/programs/contracts/vault-factory/write.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/factory/write.js +12 -14
- package/dist/programs/defi-wrapper/contracts/factory/write.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/create-pool.js +53 -16
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/create-pool.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js +2 -2
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js.map +1 -1
- package/dist/programs/pdg-helpers.js +13 -9
- package/dist/programs/pdg-helpers.js.map +1 -1
- package/dist/programs/use-cases/consolidation/write.js +2 -2
- package/dist/programs/use-cases/consolidation/write.js.map +1 -1
- package/dist/programs/use-cases/report/write.js +3 -3
- package/dist/programs/use-cases/report/write.js.map +1 -1
- package/dist/programs/use-cases/vault-operations/create-vault.js +63 -27
- package/dist/programs/use-cases/vault-operations/create-vault.js.map +1 -1
- package/dist/programs/use-cases/vault-operations/write.js +122 -25
- package/dist/programs/use-cases/vault-operations/write.js.map +1 -1
- package/dist/tests/integration/deposits.test.d.ts +1 -0
- package/dist/tests/integration/deposits.test.js +67 -0
- package/dist/tests/integration/deposits.test.js.map +1 -0
- package/dist/tests/integration/globalSetup.d.ts +1 -0
- package/dist/tests/integration/globalSetup.js +55 -0
- package/dist/tests/integration/globalSetup.js.map +1 -0
- package/dist/tests/integration/helpers/index.d.ts +3 -0
- package/dist/tests/integration/helpers/index.js +4 -0
- package/dist/tests/integration/helpers/index.js.map +1 -0
- package/dist/tests/integration/helpers/test-assertions.d.ts +32 -0
- package/dist/tests/integration/helpers/test-assertions.js +92 -0
- package/dist/tests/integration/helpers/test-assertions.js.map +1 -0
- package/dist/tests/integration/helpers/test-client.d.ts +14530 -0
- package/dist/tests/integration/helpers/test-client.js +73 -0
- package/dist/tests/integration/helpers/test-client.js.map +1 -0
- package/dist/tests/integration/helpers/test-config.d.ts +14 -0
- package/dist/tests/integration/helpers/test-config.js +62 -0
- package/dist/tests/integration/helpers/test-config.js.map +1 -0
- package/dist/tests/integration/helpers/test-setup.d.ts +12 -0
- package/dist/tests/integration/helpers/test-setup.js +40 -0
- package/dist/tests/integration/helpers/test-setup.js.map +1 -0
- package/dist/tests/integration/lazy-oracle.test.d.ts +1 -0
- package/dist/tests/integration/lazy-oracle.test.js +31 -0
- package/dist/tests/integration/lazy-oracle.test.js.map +1 -0
- package/dist/tests/integration/metrics.test.d.ts +1 -0
- package/dist/tests/integration/metrics.test.js +95 -0
- package/dist/tests/integration/metrics.test.js.map +1 -0
- package/dist/tests/integration/mint-burn.test.d.ts +1 -0
- package/dist/tests/integration/mint-burn.test.js +149 -0
- package/dist/tests/integration/mint-burn.test.js.map +1 -0
- package/dist/tests/integration/operator-grid.test.d.ts +1 -0
- package/dist/tests/integration/operator-grid.test.js +41 -0
- package/dist/tests/integration/operator-grid.test.js.map +1 -0
- package/dist/tests/integration/pdg.test.d.ts +1 -0
- package/dist/tests/integration/pdg.test.js +47 -0
- package/dist/tests/integration/pdg.test.js.map +1 -0
- package/dist/tests/integration/utils.test.d.ts +1 -0
- package/dist/tests/integration/utils.test.js +70 -0
- package/dist/tests/integration/utils.test.js.map +1 -0
- package/dist/tests/integration/vault-factory.test.d.ts +1 -0
- package/dist/tests/integration/vault-factory.test.js +29 -0
- package/dist/tests/integration/vault-factory.test.js.map +1 -0
- package/dist/tests/integration/vault-hub.test.d.ts +1 -0
- package/dist/tests/integration/vault-hub.test.js +71 -0
- package/dist/tests/integration/vault-hub.test.js.map +1 -0
- package/dist/tests/integration/vault-operations.test.d.ts +1 -0
- package/dist/tests/integration/vault-operations.test.js +151 -0
- package/dist/tests/integration/vault-operations.test.js.map +1 -0
- package/dist/tests/integration/vault-roles.test.d.ts +1 -0
- package/dist/tests/integration/vault-roles.test.js +44 -0
- package/dist/tests/integration/vault-roles.test.js.map +1 -0
- package/dist/tests/integration/vault.test.d.ts +1 -0
- package/dist/tests/integration/vault.test.js +44 -0
- package/dist/tests/integration/vault.test.js.map +1 -0
- package/dist/tests/utils/arguments.test.js +85 -4
- package/dist/tests/utils/arguments.test.js.map +1 -1
- package/dist/tests/utils/bigInt.test.js +1 -1
- package/dist/tests/utils/bigInt.test.js.map +1 -1
- package/dist/tests/utils/calculate-health.test.d.ts +1 -0
- package/dist/tests/utils/calculate-health.test.js +140 -0
- package/dist/tests/utils/calculate-health.test.js.map +1 -0
- package/dist/tests/utils/calculate-overview-v2.test.d.ts +1 -0
- package/dist/tests/utils/calculate-overview-v2.test.js +181 -0
- package/dist/tests/utils/calculate-overview-v2.test.js.map +1 -0
- package/dist/tests/utils/calculate-overview.test.js +2 -1
- package/dist/tests/utils/calculate-overview.test.js.map +1 -1
- package/dist/tests/utils/csv-file.test.d.ts +1 -0
- package/dist/tests/utils/csv-file.test.js +111 -0
- package/dist/tests/utils/csv-file.test.js.map +1 -0
- package/dist/tests/utils/data-validators.test.js +1 -1
- package/dist/tests/utils/data-validators.test.js.map +1 -1
- package/dist/tests/utils/error-handler.test.js +7 -16
- package/dist/tests/utils/error-handler.test.js.map +1 -1
- package/dist/tests/utils/get-commands.test.js +1 -1
- package/dist/tests/utils/get-commands.test.js.map +1 -1
- package/dist/tests/utils/get-deposit-data-root.test.js +1 -2
- package/dist/tests/utils/get-deposit-data-root.test.js.map +1 -1
- package/dist/tests/utils/get-value.test.js +1 -1
- package/dist/tests/utils/get-value.test.js.map +1 -1
- package/dist/tests/utils/health.test.js +1 -1
- package/dist/tests/utils/health.test.js.map +1 -1
- package/dist/tests/utils/interrupt-handler.test.js +2 -5
- package/dist/tests/utils/interrupt-handler.test.js.map +1 -1
- package/dist/tests/utils/ipfs.test.js +37 -24
- package/dist/tests/utils/ipfs.test.js.map +1 -1
- package/dist/tests/utils/lido-apr.test.d.ts +1 -0
- package/dist/tests/utils/lido-apr.test.js +95 -0
- package/dist/tests/utils/lido-apr.test.js.map +1 -0
- package/dist/tests/utils/logging.test.js +135 -15
- package/dist/tests/utils/logging.test.js.map +1 -1
- package/dist/tests/utils/merkle-utils.test.d.ts +1 -0
- package/dist/tests/utils/merkle-utils.test.js +231 -0
- package/dist/tests/utils/merkle-utils.test.js.map +1 -0
- package/dist/tests/utils/rebase-rewards.test.d.ts +1 -0
- package/dist/tests/utils/rebase-rewards.test.js +114 -0
- package/dist/tests/utils/rebase-rewards.test.js.map +1 -0
- package/dist/tests/utils/resove-path.test.js +1 -1
- package/dist/tests/utils/resove-path.test.js.map +1 -1
- package/dist/tests/utils/sleep.test.js +5 -5
- package/dist/tests/utils/sleep.test.js.map +1 -1
- package/dist/tests/utils/snake-to-camel.test.d.ts +1 -0
- package/dist/tests/utils/snake-to-camel.test.js +37 -0
- package/dist/tests/utils/snake-to-camel.test.js.map +1 -0
- package/dist/tests/utils/timestamp.test.d.ts +1 -0
- package/dist/tests/utils/timestamp.test.js +51 -0
- package/dist/tests/utils/timestamp.test.js.map +1 -0
- package/dist/utils/arguments.d.ts +2 -1
- package/dist/utils/arguments.js +6 -0
- package/dist/utils/arguments.js.map +1 -1
- package/dist/utils/calculate-overview-v2.d.ts +1 -2
- package/dist/utils/calculate-overview-v2.js +3 -6
- package/dist/utils/calculate-overview-v2.js.map +1 -1
- package/dist/utils/calculate-overview.d.ts +1 -0
- package/dist/utils/calculate-overview.js +1 -0
- package/dist/utils/calculate-overview.js.map +1 -1
- package/dist/utils/commands/report.d.ts +6 -1
- package/dist/utils/commands/report.js +6 -5
- package/dist/utils/commands/report.js.map +1 -1
- package/dist/utils/consolidation/confirms.js +2 -2
- package/dist/utils/consolidation/confirms.js.map +1 -1
- package/dist/utils/consolidation/logs.js +4 -2
- package/dist/utils/consolidation/logs.js.map +1 -1
- package/dist/utils/consolidation/pubkeys.js +2 -0
- package/dist/utils/consolidation/pubkeys.js.map +1 -1
- package/dist/utils/consolidation/types.d.ts +1 -0
- package/dist/utils/consolidation/validator-info.js +2 -0
- package/dist/utils/consolidation/validator-info.js.map +1 -1
- package/dist/utils/error-handler.js +2 -9
- package/dist/utils/error-handler.js.map +1 -1
- package/dist/utils/interrupt-handler.js +8 -2
- package/dist/utils/interrupt-handler.js.map +1 -1
- package/dist/utils/logging/console.js +41 -3
- package/dist/utils/logging/console.js.map +1 -1
- package/dist/utils/prompts/mint-burn/confirm-mint.js +1 -0
- package/dist/utils/prompts/mint-burn/confirm-mint.js.map +1 -1
- package/dist/utils/prompts/operations.js +4 -1
- package/dist/utils/prompts/operations.js.map +1 -1
- package/dist/utils/proof/create-proof.d.ts +5 -0
- package/dist/utils/proof/create-proof.js +5 -0
- package/dist/utils/proof/create-proof.js.map +1 -1
- package/dist/utils/transactions/tx-private-key.d.ts +4 -0
- package/dist/utils/transactions/tx-private-key.js +52 -24
- package/dist/utils/transactions/tx-private-key.js.map +1 -1
- package/dist/utils/transactions/tx-wc.d.ts +1 -0
- package/dist/utils/transactions/tx-wc.js +10 -19
- package/dist/utils/transactions/tx-wc.js.map +1 -1
- package/dist/utils/transactions/types.d.ts +1 -0
- package/dist/utils/transactions/utils.d.ts +3 -0
- package/dist/utils/transactions/utils.js +33 -0
- package/dist/utils/transactions/utils.js.map +1 -0
- package/dist/utils/wallet-connect.js +3 -1
- package/dist/utils/wallet-connect.js.map +1 -1
- package/dist/version/index.js +1 -1
- package/dist/vitest.config.d.ts +2 -0
- package/dist/vitest.config.js +29 -0
- package/dist/vitest.config.js.map +1 -0
- package/dist/vitest.integration.config.d.ts +2 -0
- package/dist/vitest.integration.config.js +39 -0
- package/dist/vitest.integration.config.js.map +1 -0
- package/package.json +14 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const PredepositGuaranteeErrorsAbi: readonly [{
|
|
2
2
|
readonly inputs: readonly [];
|
|
3
3
|
readonly name: "AccessControlBadConfirmation";
|
|
4
4
|
readonly type: "error";
|
|
@@ -16,201 +16,258 @@ export declare const PredepositGuaranteeAbi: readonly [{
|
|
|
16
16
|
readonly type: "error";
|
|
17
17
|
}, {
|
|
18
18
|
readonly inputs: readonly [];
|
|
19
|
-
readonly name: "
|
|
19
|
+
readonly name: "ArrayLengthsNotMatch";
|
|
20
20
|
readonly type: "error";
|
|
21
21
|
}, {
|
|
22
22
|
readonly inputs: readonly [];
|
|
23
|
-
readonly name: "
|
|
23
|
+
readonly name: "CompensateFailed";
|
|
24
24
|
readonly type: "error";
|
|
25
25
|
}, {
|
|
26
26
|
readonly inputs: readonly [];
|
|
27
|
-
readonly name: "
|
|
27
|
+
readonly name: "EmptyDeposits";
|
|
28
28
|
readonly type: "error";
|
|
29
29
|
}, {
|
|
30
30
|
readonly inputs: readonly [];
|
|
31
|
-
readonly name: "
|
|
31
|
+
readonly name: "IndexOutOfRange";
|
|
32
32
|
readonly type: "error";
|
|
33
33
|
}, {
|
|
34
34
|
readonly inputs: readonly [];
|
|
35
|
-
readonly name: "
|
|
35
|
+
readonly name: "InputHasInfinityPoints";
|
|
36
36
|
readonly type: "error";
|
|
37
37
|
}, {
|
|
38
38
|
readonly inputs: readonly [];
|
|
39
|
-
readonly name: "
|
|
39
|
+
readonly name: "InvalidDepositYLength";
|
|
40
40
|
readonly type: "error";
|
|
41
41
|
}, {
|
|
42
42
|
readonly inputs: readonly [];
|
|
43
|
-
readonly name: "
|
|
43
|
+
readonly name: "InvalidInitialization";
|
|
44
44
|
readonly type: "error";
|
|
45
45
|
}, {
|
|
46
46
|
readonly inputs: readonly [];
|
|
47
|
-
readonly name: "
|
|
47
|
+
readonly name: "InvalidPubkeyLength";
|
|
48
|
+
readonly type: "error";
|
|
49
|
+
}, {
|
|
50
|
+
readonly inputs: readonly [];
|
|
51
|
+
readonly name: "InvalidSignature";
|
|
52
|
+
readonly type: "error";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [];
|
|
55
|
+
readonly name: "InvalidSlot";
|
|
48
56
|
readonly type: "error";
|
|
49
57
|
}, {
|
|
50
58
|
readonly inputs: readonly [{
|
|
51
59
|
readonly internalType: "uint256";
|
|
52
|
-
readonly name: "
|
|
53
|
-
readonly type: "uint256";
|
|
54
|
-
}, {
|
|
55
|
-
readonly internalType: "uint256";
|
|
56
|
-
readonly name: "_required";
|
|
60
|
+
readonly name: "amount";
|
|
57
61
|
readonly type: "uint256";
|
|
58
62
|
}];
|
|
59
|
-
readonly name: "
|
|
63
|
+
readonly name: "InvalidTopUpAmount";
|
|
60
64
|
readonly type: "error";
|
|
61
65
|
}, {
|
|
62
66
|
readonly inputs: readonly [{
|
|
63
|
-
readonly internalType: "
|
|
64
|
-
readonly name: "
|
|
65
|
-
readonly type: "
|
|
67
|
+
readonly internalType: "bytes";
|
|
68
|
+
readonly name: "validatorPubkey";
|
|
69
|
+
readonly type: "bytes";
|
|
66
70
|
}, {
|
|
71
|
+
readonly internalType: "enum IPredepositGuarantee.ValidatorStage";
|
|
72
|
+
readonly name: "stage";
|
|
73
|
+
readonly type: "uint8";
|
|
74
|
+
}];
|
|
75
|
+
readonly name: "InvalidValidatorStage";
|
|
76
|
+
readonly type: "error";
|
|
77
|
+
}, {
|
|
78
|
+
readonly inputs: readonly [{
|
|
67
79
|
readonly internalType: "uint256";
|
|
68
|
-
readonly name: "
|
|
80
|
+
readonly name: "locked";
|
|
69
81
|
readonly type: "uint256";
|
|
70
82
|
}];
|
|
71
|
-
readonly name: "
|
|
83
|
+
readonly name: "LockedIsNotZero";
|
|
84
|
+
readonly type: "error";
|
|
85
|
+
}, {
|
|
86
|
+
readonly inputs: readonly [];
|
|
87
|
+
readonly name: "NotDepositor";
|
|
72
88
|
readonly type: "error";
|
|
73
89
|
}, {
|
|
74
90
|
readonly inputs: readonly [{
|
|
75
91
|
readonly internalType: "uint256";
|
|
76
|
-
readonly name: "
|
|
92
|
+
readonly name: "unlocked";
|
|
77
93
|
readonly type: "uint256";
|
|
78
94
|
}, {
|
|
79
95
|
readonly internalType: "uint256";
|
|
80
|
-
readonly name: "
|
|
96
|
+
readonly name: "amount";
|
|
81
97
|
readonly type: "uint256";
|
|
82
98
|
}];
|
|
83
|
-
readonly name: "
|
|
99
|
+
readonly name: "NotEnoughUnlocked";
|
|
84
100
|
readonly type: "error";
|
|
85
101
|
}, {
|
|
86
102
|
readonly inputs: readonly [];
|
|
87
|
-
readonly name: "
|
|
103
|
+
readonly name: "NotGuarantor";
|
|
88
104
|
readonly type: "error";
|
|
89
105
|
}, {
|
|
90
106
|
readonly inputs: readonly [];
|
|
91
|
-
readonly name: "
|
|
107
|
+
readonly name: "NotInitializing";
|
|
92
108
|
readonly type: "error";
|
|
93
109
|
}, {
|
|
94
110
|
readonly inputs: readonly [];
|
|
95
|
-
readonly name: "
|
|
111
|
+
readonly name: "NotStakingVaultOwner";
|
|
112
|
+
readonly type: "error";
|
|
113
|
+
}, {
|
|
114
|
+
readonly inputs: readonly [];
|
|
115
|
+
readonly name: "NothingToRefund";
|
|
116
|
+
readonly type: "error";
|
|
117
|
+
}, {
|
|
118
|
+
readonly inputs: readonly [];
|
|
119
|
+
readonly name: "PauseUntilMustBeInFuture";
|
|
120
|
+
readonly type: "error";
|
|
121
|
+
}, {
|
|
122
|
+
readonly inputs: readonly [];
|
|
123
|
+
readonly name: "PausedExpected";
|
|
96
124
|
readonly type: "error";
|
|
97
125
|
}, {
|
|
98
126
|
readonly inputs: readonly [{
|
|
99
|
-
readonly internalType: "
|
|
100
|
-
readonly name: "
|
|
101
|
-
readonly type: "
|
|
127
|
+
readonly internalType: "bytes";
|
|
128
|
+
readonly name: "validatorPubkey";
|
|
129
|
+
readonly type: "bytes";
|
|
102
130
|
}, {
|
|
103
131
|
readonly internalType: "uint256";
|
|
104
|
-
readonly name: "
|
|
132
|
+
readonly name: "depositAmount";
|
|
105
133
|
readonly type: "uint256";
|
|
106
134
|
}];
|
|
107
|
-
readonly name: "
|
|
135
|
+
readonly name: "PredepositAmountInvalid";
|
|
108
136
|
readonly type: "error";
|
|
109
137
|
}, {
|
|
110
138
|
readonly inputs: readonly [];
|
|
111
|
-
readonly name: "
|
|
139
|
+
readonly name: "RefundFailed";
|
|
112
140
|
readonly type: "error";
|
|
113
141
|
}, {
|
|
114
142
|
readonly inputs: readonly [];
|
|
115
|
-
readonly name: "
|
|
143
|
+
readonly name: "ResumedExpected";
|
|
116
144
|
readonly type: "error";
|
|
117
145
|
}, {
|
|
118
146
|
readonly inputs: readonly [];
|
|
119
|
-
readonly name: "
|
|
147
|
+
readonly name: "RootNotFound";
|
|
120
148
|
readonly type: "error";
|
|
121
149
|
}, {
|
|
122
|
-
readonly inputs: readonly [
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
readonly name: "
|
|
150
|
+
readonly inputs: readonly [];
|
|
151
|
+
readonly name: "SameDepositor";
|
|
152
|
+
readonly type: "error";
|
|
153
|
+
}, {
|
|
154
|
+
readonly inputs: readonly [];
|
|
155
|
+
readonly name: "SameGuarantor";
|
|
128
156
|
readonly type: "error";
|
|
129
157
|
}, {
|
|
130
158
|
readonly inputs: readonly [{
|
|
131
|
-
readonly internalType: "
|
|
132
|
-
readonly name: "
|
|
133
|
-
readonly type: "
|
|
159
|
+
readonly internalType: "bytes";
|
|
160
|
+
readonly name: "validatorPubkey";
|
|
161
|
+
readonly type: "bytes";
|
|
162
|
+
}, {
|
|
163
|
+
readonly internalType: "enum IPredepositGuarantee.ValidatorStage";
|
|
164
|
+
readonly name: "stage";
|
|
165
|
+
readonly type: "uint8";
|
|
134
166
|
}];
|
|
135
|
-
readonly name: "
|
|
167
|
+
readonly name: "ValidatorNotActivated";
|
|
136
168
|
readonly type: "error";
|
|
137
169
|
}, {
|
|
138
|
-
readonly inputs: readonly [
|
|
139
|
-
|
|
170
|
+
readonly inputs: readonly [{
|
|
171
|
+
readonly internalType: "bytes";
|
|
172
|
+
readonly name: "validatorPubkey";
|
|
173
|
+
readonly type: "bytes";
|
|
174
|
+
}];
|
|
175
|
+
readonly name: "ValidatorNotEligibleForActivation";
|
|
140
176
|
readonly type: "error";
|
|
141
177
|
}, {
|
|
142
178
|
readonly inputs: readonly [{
|
|
143
|
-
readonly internalType: "
|
|
144
|
-
readonly name: "
|
|
145
|
-
readonly type: "
|
|
179
|
+
readonly internalType: "bytes";
|
|
180
|
+
readonly name: "validatorPubkey";
|
|
181
|
+
readonly type: "bytes";
|
|
182
|
+
}, {
|
|
183
|
+
readonly internalType: "enum IPredepositGuarantee.ValidatorStage";
|
|
184
|
+
readonly name: "stage";
|
|
185
|
+
readonly type: "uint8";
|
|
146
186
|
}];
|
|
147
|
-
readonly name: "
|
|
187
|
+
readonly name: "ValidatorNotNew";
|
|
148
188
|
readonly type: "error";
|
|
149
189
|
}, {
|
|
150
|
-
readonly inputs: readonly [
|
|
151
|
-
|
|
190
|
+
readonly inputs: readonly [{
|
|
191
|
+
readonly internalType: "bytes";
|
|
192
|
+
readonly name: "validatorPubkey";
|
|
193
|
+
readonly type: "bytes";
|
|
194
|
+
}, {
|
|
195
|
+
readonly internalType: "enum IPredepositGuarantee.ValidatorStage";
|
|
196
|
+
readonly name: "stage";
|
|
197
|
+
readonly type: "uint8";
|
|
198
|
+
}];
|
|
199
|
+
readonly name: "ValidatorNotPreDeposited";
|
|
152
200
|
readonly type: "error";
|
|
153
201
|
}, {
|
|
154
|
-
readonly inputs: readonly [
|
|
155
|
-
|
|
202
|
+
readonly inputs: readonly [{
|
|
203
|
+
readonly internalType: "bytes";
|
|
204
|
+
readonly name: "validatorPubkey";
|
|
205
|
+
readonly type: "bytes";
|
|
206
|
+
}, {
|
|
207
|
+
readonly internalType: "enum IPredepositGuarantee.ValidatorStage";
|
|
208
|
+
readonly name: "stage";
|
|
209
|
+
readonly type: "uint8";
|
|
210
|
+
}];
|
|
211
|
+
readonly name: "ValidatorNotProven";
|
|
156
212
|
readonly type: "error";
|
|
157
213
|
}, {
|
|
158
214
|
readonly inputs: readonly [{
|
|
159
|
-
readonly internalType: "address";
|
|
160
|
-
readonly name: "recipient";
|
|
161
|
-
readonly type: "address";
|
|
162
|
-
}, {
|
|
163
215
|
readonly internalType: "uint256";
|
|
164
|
-
readonly name: "
|
|
216
|
+
readonly name: "value";
|
|
165
217
|
readonly type: "uint256";
|
|
166
218
|
}];
|
|
167
|
-
readonly name: "
|
|
219
|
+
readonly name: "ValueNotMultipleOfPredepositAmount";
|
|
168
220
|
readonly type: "error";
|
|
169
221
|
}, {
|
|
170
|
-
readonly inputs: readonly [
|
|
171
|
-
|
|
222
|
+
readonly inputs: readonly [{
|
|
223
|
+
readonly internalType: "uint8";
|
|
224
|
+
readonly name: "version";
|
|
225
|
+
readonly type: "uint8";
|
|
226
|
+
}];
|
|
227
|
+
readonly name: "WithdrawalCredentialsInvalidVersion";
|
|
172
228
|
readonly type: "error";
|
|
173
229
|
}, {
|
|
174
230
|
readonly inputs: readonly [];
|
|
175
|
-
readonly name: "
|
|
231
|
+
readonly name: "WithdrawalCredentialsMatch";
|
|
176
232
|
readonly type: "error";
|
|
177
233
|
}, {
|
|
178
234
|
readonly inputs: readonly [{
|
|
179
|
-
readonly internalType: "
|
|
180
|
-
readonly name: "
|
|
181
|
-
readonly type: "
|
|
235
|
+
readonly internalType: "bytes32";
|
|
236
|
+
readonly name: "withdrawalCredentials";
|
|
237
|
+
readonly type: "bytes32";
|
|
182
238
|
}];
|
|
183
|
-
readonly name: "
|
|
239
|
+
readonly name: "WithdrawalCredentialsMisformed";
|
|
184
240
|
readonly type: "error";
|
|
185
241
|
}, {
|
|
186
242
|
readonly inputs: readonly [{
|
|
187
|
-
readonly internalType: "
|
|
188
|
-
readonly name: "
|
|
189
|
-
readonly type: "
|
|
243
|
+
readonly internalType: "address";
|
|
244
|
+
readonly name: "stakingVault";
|
|
245
|
+
readonly type: "address";
|
|
246
|
+
}, {
|
|
247
|
+
readonly internalType: "address";
|
|
248
|
+
readonly name: "withdrawalCredentialsAddress";
|
|
249
|
+
readonly type: "address";
|
|
190
250
|
}];
|
|
191
|
-
readonly name: "
|
|
251
|
+
readonly name: "WithdrawalCredentialsMismatch";
|
|
252
|
+
readonly type: "error";
|
|
253
|
+
}, {
|
|
254
|
+
readonly inputs: readonly [];
|
|
255
|
+
readonly name: "WithdrawalFailed";
|
|
192
256
|
readonly type: "error";
|
|
193
257
|
}, {
|
|
194
258
|
readonly inputs: readonly [{
|
|
195
|
-
readonly internalType: "
|
|
196
|
-
readonly name: "
|
|
197
|
-
readonly type: "
|
|
198
|
-
}, {
|
|
199
|
-
readonly internalType: "GIndex";
|
|
200
|
-
readonly name: "_gIFirstValidator";
|
|
201
|
-
readonly type: "bytes32";
|
|
202
|
-
}, {
|
|
203
|
-
readonly internalType: "GIndex";
|
|
204
|
-
readonly name: "_gIFirstValidatorAfterChange";
|
|
205
|
-
readonly type: "bytes32";
|
|
206
|
-
}, {
|
|
207
|
-
readonly internalType: "uint64";
|
|
208
|
-
readonly name: "_pivotSlot";
|
|
209
|
-
readonly type: "uint64";
|
|
259
|
+
readonly internalType: "string";
|
|
260
|
+
readonly name: "argument";
|
|
261
|
+
readonly type: "string";
|
|
210
262
|
}];
|
|
211
|
-
readonly
|
|
212
|
-
readonly type: "
|
|
263
|
+
readonly name: "ZeroArgument";
|
|
264
|
+
readonly type: "error";
|
|
213
265
|
}, {
|
|
266
|
+
readonly inputs: readonly [];
|
|
267
|
+
readonly name: "ZeroPauseDuration";
|
|
268
|
+
readonly type: "error";
|
|
269
|
+
}];
|
|
270
|
+
export declare const PredepositGuaranteeAbi: readonly [{
|
|
214
271
|
readonly inputs: readonly [];
|
|
215
272
|
readonly name: "AccessControlBadConfirmation";
|
|
216
273
|
readonly type: "error";
|
|
@@ -478,6 +535,218 @@ export declare const PredepositGuaranteeAbi: readonly [{
|
|
|
478
535
|
readonly inputs: readonly [];
|
|
479
536
|
readonly name: "ZeroPauseDuration";
|
|
480
537
|
readonly type: "error";
|
|
538
|
+
}, {
|
|
539
|
+
readonly inputs: readonly [];
|
|
540
|
+
readonly name: "AccessControlBadConfirmation";
|
|
541
|
+
readonly type: "error";
|
|
542
|
+
}, {
|
|
543
|
+
readonly inputs: readonly [{
|
|
544
|
+
readonly internalType: "address";
|
|
545
|
+
readonly name: "account";
|
|
546
|
+
readonly type: "address";
|
|
547
|
+
}, {
|
|
548
|
+
readonly internalType: "bytes32";
|
|
549
|
+
readonly name: "neededRole";
|
|
550
|
+
readonly type: "bytes32";
|
|
551
|
+
}];
|
|
552
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
553
|
+
readonly type: "error";
|
|
554
|
+
}, {
|
|
555
|
+
readonly inputs: readonly [];
|
|
556
|
+
readonly name: "ConfirmExpiryOutOfBounds";
|
|
557
|
+
readonly type: "error";
|
|
558
|
+
}, {
|
|
559
|
+
readonly inputs: readonly [];
|
|
560
|
+
readonly name: "SenderNotMember";
|
|
561
|
+
readonly type: "error";
|
|
562
|
+
}, {
|
|
563
|
+
readonly inputs: readonly [];
|
|
564
|
+
readonly name: "ZeroConfirmingRoles";
|
|
565
|
+
readonly type: "error";
|
|
566
|
+
}, {
|
|
567
|
+
readonly inputs: readonly [];
|
|
568
|
+
readonly name: "AlreadyOssified";
|
|
569
|
+
readonly type: "error";
|
|
570
|
+
}, {
|
|
571
|
+
readonly inputs: readonly [];
|
|
572
|
+
readonly name: "BeaconChainDepositsAlreadyPaused";
|
|
573
|
+
readonly type: "error";
|
|
574
|
+
}, {
|
|
575
|
+
readonly inputs: readonly [];
|
|
576
|
+
readonly name: "BeaconChainDepositsAlreadyResumed";
|
|
577
|
+
readonly type: "error";
|
|
578
|
+
}, {
|
|
579
|
+
readonly inputs: readonly [];
|
|
580
|
+
readonly name: "BeaconChainDepositsOnPause";
|
|
581
|
+
readonly type: "error";
|
|
582
|
+
}, {
|
|
583
|
+
readonly inputs: readonly [];
|
|
584
|
+
readonly name: "EthCollectionNotAllowed";
|
|
585
|
+
readonly type: "error";
|
|
586
|
+
}, {
|
|
587
|
+
readonly inputs: readonly [{
|
|
588
|
+
readonly internalType: "uint256";
|
|
589
|
+
readonly name: "_balance";
|
|
590
|
+
readonly type: "uint256";
|
|
591
|
+
}, {
|
|
592
|
+
readonly internalType: "uint256";
|
|
593
|
+
readonly name: "_required";
|
|
594
|
+
readonly type: "uint256";
|
|
595
|
+
}];
|
|
596
|
+
readonly name: "InsufficientBalance";
|
|
597
|
+
readonly type: "error";
|
|
598
|
+
}, {
|
|
599
|
+
readonly inputs: readonly [{
|
|
600
|
+
readonly internalType: "uint256";
|
|
601
|
+
readonly name: "_staged";
|
|
602
|
+
readonly type: "uint256";
|
|
603
|
+
}, {
|
|
604
|
+
readonly internalType: "uint256";
|
|
605
|
+
readonly name: "_requested";
|
|
606
|
+
readonly type: "uint256";
|
|
607
|
+
}];
|
|
608
|
+
readonly name: "InsufficientStaged";
|
|
609
|
+
readonly type: "error";
|
|
610
|
+
}, {
|
|
611
|
+
readonly inputs: readonly [{
|
|
612
|
+
readonly internalType: "uint256";
|
|
613
|
+
readonly name: "_passed";
|
|
614
|
+
readonly type: "uint256";
|
|
615
|
+
}, {
|
|
616
|
+
readonly internalType: "uint256";
|
|
617
|
+
readonly name: "_required";
|
|
618
|
+
readonly type: "uint256";
|
|
619
|
+
}];
|
|
620
|
+
readonly name: "InsufficientValidatorWithdrawalFee";
|
|
621
|
+
readonly type: "error";
|
|
622
|
+
}, {
|
|
623
|
+
readonly inputs: readonly [];
|
|
624
|
+
readonly name: "InvalidInitialization";
|
|
625
|
+
readonly type: "error";
|
|
626
|
+
}, {
|
|
627
|
+
readonly inputs: readonly [];
|
|
628
|
+
readonly name: "InvalidPubkeysLength";
|
|
629
|
+
readonly type: "error";
|
|
630
|
+
}, {
|
|
631
|
+
readonly inputs: readonly [];
|
|
632
|
+
readonly name: "MalformedPubkeysArray";
|
|
633
|
+
readonly type: "error";
|
|
634
|
+
}, {
|
|
635
|
+
readonly inputs: readonly [{
|
|
636
|
+
readonly internalType: "uint256";
|
|
637
|
+
readonly name: "keysCount";
|
|
638
|
+
readonly type: "uint256";
|
|
639
|
+
}, {
|
|
640
|
+
readonly internalType: "uint256";
|
|
641
|
+
readonly name: "amountsCount";
|
|
642
|
+
readonly type: "uint256";
|
|
643
|
+
}];
|
|
644
|
+
readonly name: "MismatchedArrayLengths";
|
|
645
|
+
readonly type: "error";
|
|
646
|
+
}, {
|
|
647
|
+
readonly inputs: readonly [];
|
|
648
|
+
readonly name: "NewDepositorSameAsPrevious";
|
|
649
|
+
readonly type: "error";
|
|
650
|
+
}, {
|
|
651
|
+
readonly inputs: readonly [];
|
|
652
|
+
readonly name: "NoWithdrawalRequests";
|
|
653
|
+
readonly type: "error";
|
|
654
|
+
}, {
|
|
655
|
+
readonly inputs: readonly [];
|
|
656
|
+
readonly name: "NotInitializing";
|
|
657
|
+
readonly type: "error";
|
|
658
|
+
}, {
|
|
659
|
+
readonly inputs: readonly [{
|
|
660
|
+
readonly internalType: "address";
|
|
661
|
+
readonly name: "owner";
|
|
662
|
+
readonly type: "address";
|
|
663
|
+
}];
|
|
664
|
+
readonly name: "OwnableInvalidOwner";
|
|
665
|
+
readonly type: "error";
|
|
666
|
+
}, {
|
|
667
|
+
readonly inputs: readonly [{
|
|
668
|
+
readonly internalType: "address";
|
|
669
|
+
readonly name: "account";
|
|
670
|
+
readonly type: "address";
|
|
671
|
+
}];
|
|
672
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
673
|
+
readonly type: "error";
|
|
674
|
+
}, {
|
|
675
|
+
readonly inputs: readonly [];
|
|
676
|
+
readonly name: "RenouncementNotAllowed";
|
|
677
|
+
readonly type: "error";
|
|
678
|
+
}, {
|
|
679
|
+
readonly inputs: readonly [{
|
|
680
|
+
readonly internalType: "address";
|
|
681
|
+
readonly name: "token";
|
|
682
|
+
readonly type: "address";
|
|
683
|
+
}];
|
|
684
|
+
readonly name: "SafeERC20FailedOperation";
|
|
685
|
+
readonly type: "error";
|
|
686
|
+
}, {
|
|
687
|
+
readonly inputs: readonly [];
|
|
688
|
+
readonly name: "SenderNotDepositor";
|
|
689
|
+
readonly type: "error";
|
|
690
|
+
}, {
|
|
691
|
+
readonly inputs: readonly [];
|
|
692
|
+
readonly name: "SenderNotNodeOperator";
|
|
693
|
+
readonly type: "error";
|
|
694
|
+
}, {
|
|
695
|
+
readonly inputs: readonly [{
|
|
696
|
+
readonly internalType: "address";
|
|
697
|
+
readonly name: "recipient";
|
|
698
|
+
readonly type: "address";
|
|
699
|
+
}, {
|
|
700
|
+
readonly internalType: "uint256";
|
|
701
|
+
readonly name: "amount";
|
|
702
|
+
readonly type: "uint256";
|
|
703
|
+
}];
|
|
704
|
+
readonly name: "TransferFailed";
|
|
705
|
+
readonly type: "error";
|
|
706
|
+
}, {
|
|
707
|
+
readonly inputs: readonly [];
|
|
708
|
+
readonly name: "WithdrawalFeeInvalidData";
|
|
709
|
+
readonly type: "error";
|
|
710
|
+
}, {
|
|
711
|
+
readonly inputs: readonly [];
|
|
712
|
+
readonly name: "WithdrawalFeeReadFailed";
|
|
713
|
+
readonly type: "error";
|
|
714
|
+
}, {
|
|
715
|
+
readonly inputs: readonly [{
|
|
716
|
+
readonly internalType: "bytes";
|
|
717
|
+
readonly name: "callData";
|
|
718
|
+
readonly type: "bytes";
|
|
719
|
+
}];
|
|
720
|
+
readonly name: "WithdrawalRequestAdditionFailed";
|
|
721
|
+
readonly type: "error";
|
|
722
|
+
}, {
|
|
723
|
+
readonly inputs: readonly [{
|
|
724
|
+
readonly internalType: "string";
|
|
725
|
+
readonly name: "name";
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
}];
|
|
728
|
+
readonly name: "ZeroArgument";
|
|
729
|
+
readonly type: "error";
|
|
730
|
+
}, {
|
|
731
|
+
readonly inputs: readonly [{
|
|
732
|
+
readonly internalType: "bytes4";
|
|
733
|
+
readonly name: "_genesisForkVersion";
|
|
734
|
+
readonly type: "bytes4";
|
|
735
|
+
}, {
|
|
736
|
+
readonly internalType: "GIndex";
|
|
737
|
+
readonly name: "_gIFirstValidator";
|
|
738
|
+
readonly type: "bytes32";
|
|
739
|
+
}, {
|
|
740
|
+
readonly internalType: "GIndex";
|
|
741
|
+
readonly name: "_gIFirstValidatorAfterChange";
|
|
742
|
+
readonly type: "bytes32";
|
|
743
|
+
}, {
|
|
744
|
+
readonly internalType: "uint64";
|
|
745
|
+
readonly name: "_pivotSlot";
|
|
746
|
+
readonly type: "uint64";
|
|
747
|
+
}];
|
|
748
|
+
readonly stateMutability: "nonpayable";
|
|
749
|
+
readonly type: "constructor";
|
|
481
750
|
}, {
|
|
482
751
|
readonly anonymous: false;
|
|
483
752
|
readonly inputs: readonly [{
|
|
@@ -1,32 +1,5 @@
|
|
|
1
1
|
import { StakingVaultErrorsAbi } from './StakingVault.js';
|
|
2
|
-
export const
|
|
3
|
-
...StakingVaultErrorsAbi,
|
|
4
|
-
{
|
|
5
|
-
inputs: [
|
|
6
|
-
{
|
|
7
|
-
internalType: 'bytes4',
|
|
8
|
-
name: '_genesisForkVersion',
|
|
9
|
-
type: 'bytes4',
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
internalType: 'GIndex',
|
|
13
|
-
name: '_gIFirstValidator',
|
|
14
|
-
type: 'bytes32',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
internalType: 'GIndex',
|
|
18
|
-
name: '_gIFirstValidatorAfterChange',
|
|
19
|
-
type: 'bytes32',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
internalType: 'uint64',
|
|
23
|
-
name: '_pivotSlot',
|
|
24
|
-
type: 'uint64',
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
stateMutability: 'nonpayable',
|
|
28
|
-
type: 'constructor',
|
|
29
|
-
},
|
|
2
|
+
export const PredepositGuaranteeErrorsAbi = [
|
|
30
3
|
{
|
|
31
4
|
inputs: [],
|
|
32
5
|
name: 'AccessControlBadConfirmation',
|
|
@@ -378,6 +351,36 @@ export const PredepositGuaranteeAbi = [
|
|
|
378
351
|
name: 'ZeroPauseDuration',
|
|
379
352
|
type: 'error',
|
|
380
353
|
},
|
|
354
|
+
];
|
|
355
|
+
export const PredepositGuaranteeAbi = [
|
|
356
|
+
...PredepositGuaranteeErrorsAbi,
|
|
357
|
+
...StakingVaultErrorsAbi,
|
|
358
|
+
{
|
|
359
|
+
inputs: [
|
|
360
|
+
{
|
|
361
|
+
internalType: 'bytes4',
|
|
362
|
+
name: '_genesisForkVersion',
|
|
363
|
+
type: 'bytes4',
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
internalType: 'GIndex',
|
|
367
|
+
name: '_gIFirstValidator',
|
|
368
|
+
type: 'bytes32',
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
internalType: 'GIndex',
|
|
372
|
+
name: '_gIFirstValidatorAfterChange',
|
|
373
|
+
type: 'bytes32',
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
internalType: 'uint64',
|
|
377
|
+
name: '_pivotSlot',
|
|
378
|
+
type: 'uint64',
|
|
379
|
+
},
|
|
380
|
+
],
|
|
381
|
+
stateMutability: 'nonpayable',
|
|
382
|
+
type: 'constructor',
|
|
383
|
+
},
|
|
381
384
|
{
|
|
382
385
|
anonymous: false,
|
|
383
386
|
inputs: [
|