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