@lidofinance/lsv-cli 1.0.0-alpha.54 → 1.0.0-alpha.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/abi/AccessControlConfirmable.d.ts +331 -0
- package/dist/abi/AccessControlConfirmable.js +430 -0
- package/dist/abi/AccessControlConfirmable.js.map +1 -0
- package/dist/abi/Dashboard.d.ts +813 -374
- package/dist/abi/Dashboard.js +458 -277
- package/dist/abi/Dashboard.js.map +1 -1
- package/dist/abi/LazyOracle.d.ts +604 -0
- package/dist/abi/LazyOracle.js +782 -0
- package/dist/abi/LazyOracle.js.map +1 -0
- package/dist/abi/LidoLocator.d.ts +28 -0
- package/dist/abi/LidoLocator.js +36 -0
- package/dist/abi/LidoLocator.js.map +1 -1
- package/dist/abi/OperatorGrid.d.ts +340 -169
- package/dist/abi/OperatorGrid.js +344 -164
- package/dist/abi/OperatorGrid.js.map +1 -1
- package/dist/abi/PredepositGuarantee.d.ts +371 -56
- package/dist/abi/PredepositGuarantee.js +290 -69
- package/dist/abi/PredepositGuarantee.js.map +1 -1
- package/dist/abi/StakingVault.d.ts +97 -425
- package/dist/abi/StakingVault.js +94 -419
- package/dist/abi/StakingVault.js.map +1 -1
- package/dist/abi/VaultFactory.d.ts +209 -134
- package/dist/abi/VaultFactory.js +66 -10
- package/dist/abi/VaultFactory.js.map +1 -1
- package/dist/abi/VaultHub.d.ts +1109 -445
- package/dist/abi/VaultHub.js +1502 -559
- package/dist/abi/VaultHub.js.map +1 -1
- package/dist/abi/VaultViewer.d.ts +308 -1
- package/dist/abi/VaultViewer.js +399 -1
- package/dist/abi/VaultViewer.js.map +1 -1
- package/dist/abi/index.d.ts +2 -3
- package/dist/abi/index.js +2 -4
- package/dist/abi/index.js.map +1 -1
- package/dist/command/index.js +1 -1
- package/dist/command/index.js.map +1 -1
- package/dist/contracts/index.d.ts +1 -4
- package/dist/contracts/index.js +1 -4
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/lazy-oracle.d.ts +3 -0
- package/dist/contracts/lazy-oracle.js +18 -0
- package/dist/contracts/lazy-oracle.js.map +1 -0
- package/dist/contracts/locator.d.ts +1342 -38
- package/dist/contracts/operator-grid.d.ts +1 -0
- package/dist/contracts/pdg.d.ts +1 -0
- package/dist/contracts/vault-factory.d.ts +8849 -3187
- package/dist/contracts/vault-viewer.d.ts +6467 -73
- package/dist/contracts/vault-viewer.js +1 -1
- package/dist/contracts/vault.d.ts +1 -0
- package/dist/features/dashboard.js +5 -250
- package/dist/features/dashboard.js.map +1 -1
- package/dist/features/deposits/check-bls-deposits.d.ts +3 -0
- package/dist/features/deposits/check-bls-deposits.js +15 -0
- package/dist/features/deposits/check-bls-deposits.js.map +1 -0
- package/dist/features/deposits/index.d.ts +3 -0
- package/dist/features/deposits/index.js +4 -0
- package/dist/features/deposits/index.js.map +1 -0
- package/dist/features/deposits/make-pdg-proof.d.ts +3 -0
- package/dist/features/deposits/make-pdg-proof.js +52 -0
- package/dist/features/deposits/make-pdg-proof.js.map +1 -0
- package/dist/features/deposits/no-pdg.d.ts +21 -0
- package/dist/features/deposits/no-pdg.js +92 -0
- package/dist/features/deposits/no-pdg.js.map +1 -0
- package/dist/features/index.d.ts +4 -0
- package/dist/features/index.js +4 -0
- package/dist/features/index.js.map +1 -1
- package/dist/features/mint-burn/allowance.d.ts +2 -0
- package/dist/features/mint-burn/allowance.js +49 -0
- package/dist/features/mint-burn/allowance.js.map +1 -0
- package/dist/features/mint-burn/burn-shares.d.ts +3 -0
- package/dist/features/mint-burn/burn-shares.js +33 -0
- package/dist/features/mint-burn/burn-shares.js.map +1 -0
- package/dist/features/mint-burn/burn-steth.d.ts +3 -0
- package/dist/features/mint-burn/burn-steth.js +35 -0
- package/dist/features/mint-burn/burn-steth.js.map +1 -0
- package/dist/features/mint-burn/index.d.ts +5 -0
- package/dist/features/mint-burn/index.js +6 -0
- package/dist/features/mint-burn/index.js.map +1 -0
- package/dist/features/mint-burn/mint-shares.d.ts +3 -0
- package/dist/features/mint-burn/mint-shares.js +37 -0
- package/dist/features/mint-burn/mint-shares.js.map +1 -0
- package/dist/features/mint-burn/mint-steth.d.ts +3 -0
- package/dist/features/mint-burn/mint-steth.js +39 -0
- package/dist/features/mint-burn/mint-steth.js.map +1 -0
- package/dist/features/pdg.js +17 -23
- package/dist/features/pdg.js.map +1 -1
- package/dist/features/utils/get-address.d.ts +2 -0
- package/dist/features/utils/get-address.js +16 -0
- package/dist/features/utils/get-address.js.map +1 -0
- package/dist/features/utils/index.d.ts +4 -0
- package/dist/features/utils/index.js +5 -0
- package/dist/features/utils/index.js.map +1 -0
- package/dist/features/utils/liability-shares.d.ts +2 -0
- package/dist/features/utils/liability-shares.js +10 -0
- package/dist/features/utils/liability-shares.js.map +1 -0
- package/dist/features/utils/minting-capacity.d.ts +2 -0
- package/dist/features/utils/minting-capacity.js +11 -0
- package/dist/features/utils/minting-capacity.js.map +1 -0
- package/dist/features/utils/report-fresh.d.ts +2 -0
- package/dist/features/utils/report-fresh.js +18 -0
- package/dist/features/utils/report-fresh.js.map +1 -0
- package/dist/features/vault-factory.d.ts +17 -1
- package/dist/features/vault-factory.js +44 -8
- package/dist/features/vault-factory.js.map +1 -1
- package/dist/features/vault-hub.js +6 -6
- package/dist/features/vault-hub.js.map +1 -1
- package/dist/features/vault-operations/create-vault.d.ts +2 -0
- package/dist/features/vault-operations/create-vault.js +58 -0
- package/dist/features/vault-operations/create-vault.js.map +1 -0
- package/dist/features/vault-operations/dashboard-by-vault.d.ts +11 -0
- package/dist/features/vault-operations/dashboard-by-vault.js +34 -0
- package/dist/features/vault-operations/dashboard-by-vault.js.map +1 -0
- package/dist/features/vault-operations/index.d.ts +7 -0
- package/dist/features/vault-operations/index.js +8 -0
- package/dist/features/vault-operations/index.js.map +1 -0
- package/dist/features/vault-operations/vault-health.d.ts +2 -0
- package/dist/features/vault-operations/vault-health.js +24 -0
- package/dist/features/vault-operations/vault-health.js.map +1 -0
- package/dist/features/vault-operations/vault-info.d.ts +2 -0
- package/dist/features/vault-operations/vault-info.js +107 -0
- package/dist/features/vault-operations/vault-info.js.map +1 -0
- package/dist/features/vault-operations/vault-overview.d.ts +2 -0
- package/dist/features/vault-operations/vault-overview.js +139 -0
- package/dist/features/vault-operations/vault-overview.js.map +1 -0
- package/dist/features/vault-operations/vault-roles.d.ts +6 -0
- package/dist/features/vault-operations/vault-roles.js +62 -0
- package/dist/features/vault-operations/vault-roles.js.map +1 -0
- package/dist/features/vault-operations/vaults-by-role.d.ts +3 -0
- package/dist/features/vault-operations/vaults-by-role.js +45 -0
- package/dist/features/vault-operations/vaults-by-role.js.map +1 -0
- package/dist/features/vault.js +6 -14
- package/dist/features/vault.js.map +1 -1
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/dist/programs/account/read.js +5 -1
- package/dist/programs/account/read.js.map +1 -1
- package/dist/programs/contracts/dashboard/config.d.ts +3 -0
- package/dist/programs/{dashboard → contracts/dashboard}/config.js +43 -35
- package/dist/programs/contracts/dashboard/config.js.map +1 -0
- package/dist/programs/contracts/dashboard/index.js.map +1 -0
- package/dist/programs/contracts/dashboard/main.js +5 -0
- package/dist/programs/contracts/dashboard/main.js.map +1 -0
- package/dist/programs/{dashboard → contracts/dashboard}/read.js +6 -33
- package/dist/programs/contracts/dashboard/read.js.map +1 -0
- package/dist/programs/{dashboard → contracts/dashboard}/write.js +109 -130
- package/dist/programs/contracts/dashboard/write.js.map +1 -0
- package/dist/programs/contracts/hub/config.d.ts +3 -0
- package/dist/programs/contracts/hub/config.js +165 -0
- package/dist/programs/contracts/hub/config.js.map +1 -0
- package/dist/programs/contracts/hub/index.js.map +1 -0
- package/dist/programs/contracts/hub/main.js +5 -0
- package/dist/programs/contracts/hub/main.js.map +1 -0
- package/dist/programs/{hub → contracts/hub}/read.js +13 -18
- package/dist/programs/contracts/hub/read.js.map +1 -0
- package/dist/programs/contracts/hub/write.js +425 -0
- package/dist/programs/contracts/hub/write.js.map +1 -0
- package/dist/programs/contracts/index.d.ts +8 -0
- package/dist/programs/contracts/index.js +9 -0
- package/dist/programs/contracts/index.js.map +1 -0
- package/dist/programs/contracts/main.d.ts +1 -0
- package/dist/programs/contracts/main.js +6 -0
- package/dist/programs/contracts/main.js.map +1 -0
- package/dist/programs/contracts/operator-grid/config.d.ts +3 -0
- package/dist/programs/{operator-grid → contracts/operator-grid}/config.js +40 -34
- package/dist/programs/contracts/operator-grid/config.js.map +1 -0
- package/dist/programs/contracts/operator-grid/index.js.map +1 -0
- package/dist/programs/contracts/operator-grid/main.js +5 -0
- package/dist/programs/contracts/operator-grid/main.js.map +1 -0
- package/dist/programs/{operator-grid → contracts/operator-grid}/read.js +4 -4
- package/dist/programs/contracts/operator-grid/read.js.map +1 -0
- package/dist/programs/{operator-grid → contracts/operator-grid}/write.js +27 -32
- package/dist/programs/contracts/operator-grid/write.js.map +1 -0
- package/dist/programs/contracts/pdg/config.d.ts +3 -0
- package/dist/programs/{pdg → contracts/pdg}/config.js +53 -27
- package/dist/programs/contracts/pdg/config.js.map +1 -0
- package/dist/programs/contracts/pdg/index.js.map +1 -0
- package/dist/programs/contracts/pdg/main.js +5 -0
- package/dist/programs/contracts/pdg/main.js.map +1 -0
- package/dist/programs/{pdg → contracts/pdg}/read.js +4 -4
- package/dist/programs/contracts/pdg/read.js.map +1 -0
- package/dist/programs/{pdg → contracts/pdg}/write.js +38 -20
- package/dist/programs/contracts/pdg/write.js.map +1 -0
- package/dist/programs/contracts/vault/config.d.ts +3 -0
- package/dist/programs/{vault → contracts/vault}/config.js +0 -28
- package/dist/programs/contracts/vault/config.js.map +1 -0
- package/dist/programs/contracts/vault/index.js.map +1 -0
- package/dist/programs/contracts/vault/main.js +3 -0
- package/dist/programs/contracts/vault/main.js.map +1 -0
- package/dist/programs/{vault → contracts/vault}/read.js +4 -4
- package/dist/programs/contracts/vault/read.js.map +1 -0
- package/dist/programs/{vault → contracts/vault}/write.js +37 -70
- package/dist/programs/contracts/vault/write.js.map +1 -0
- package/dist/programs/contracts/vault-factory/config.d.ts +3 -0
- package/dist/programs/contracts/vault-factory/config.js.map +1 -0
- package/dist/programs/contracts/vault-factory/index.js.map +1 -0
- package/dist/programs/contracts/vault-factory/main.js +5 -0
- package/dist/programs/contracts/vault-factory/main.js.map +1 -0
- package/dist/programs/{vault-factory → contracts/vault-factory}/read.js +4 -4
- package/dist/programs/contracts/vault-factory/read.js.map +1 -0
- package/dist/programs/contracts/vault-factory/write.js +126 -0
- package/dist/programs/contracts/vault-factory/write.js.map +1 -0
- package/dist/programs/contracts/vault-viewer/config.d.ts +3 -0
- package/dist/programs/contracts/vault-viewer/config.js.map +1 -0
- package/dist/programs/contracts/vault-viewer/index.js.map +1 -0
- package/dist/programs/contracts/vault-viewer/main.js +5 -0
- package/dist/programs/contracts/vault-viewer/main.js.map +1 -0
- package/dist/programs/contracts/vault-viewer/read.d.ts +1 -0
- package/dist/programs/{vault-viewer → contracts/vault-viewer}/read.js +20 -10
- package/dist/programs/contracts/vault-viewer/read.js.map +1 -0
- package/dist/programs/index.d.ts +2 -9
- package/dist/programs/index.js +2 -9
- package/dist/programs/index.js.map +1 -1
- package/dist/programs/pdg-helpers.js +46 -10
- package/dist/programs/pdg-helpers.js.map +1 -1
- package/dist/programs/use-cases/deposits/index.js.map +1 -0
- package/dist/programs/use-cases/deposits/main.d.ts +1 -0
- package/dist/programs/use-cases/deposits/main.js +6 -0
- package/dist/programs/use-cases/deposits/main.js.map +1 -0
- package/dist/programs/use-cases/deposits/read.js +13 -0
- package/dist/programs/use-cases/deposits/read.js.map +1 -0
- package/dist/programs/use-cases/deposits/write.js +211 -0
- package/dist/programs/use-cases/deposits/write.js.map +1 -0
- package/dist/programs/use-cases/index.d.ts +4 -0
- package/dist/programs/use-cases/index.js +5 -0
- package/dist/programs/use-cases/index.js.map +1 -0
- package/dist/programs/use-cases/metrics/index.js.map +1 -0
- package/dist/programs/use-cases/metrics/main.js +6 -0
- package/dist/programs/use-cases/metrics/main.js.map +1 -0
- package/dist/programs/{metrics → use-cases/metrics}/read.js +29 -23
- package/dist/programs/use-cases/metrics/read.js.map +1 -0
- package/dist/programs/use-cases/report/index.d.ts +3 -0
- package/dist/programs/use-cases/report/index.js +4 -0
- package/dist/programs/use-cases/report/index.js.map +1 -0
- package/dist/programs/use-cases/report/main.js +6 -0
- package/dist/programs/use-cases/report/main.js.map +1 -0
- package/dist/programs/{report → use-cases/report}/read.js +32 -41
- package/dist/programs/use-cases/report/read.js.map +1 -0
- package/dist/programs/{report → use-cases/report}/write.js +33 -42
- package/dist/programs/use-cases/report/write.js.map +1 -0
- package/dist/programs/use-cases/vault-operations/create-vault.js +129 -0
- package/dist/programs/use-cases/vault-operations/create-vault.js.map +1 -0
- package/dist/programs/use-cases/vault-operations/index.d.ts +4 -0
- package/dist/programs/use-cases/vault-operations/index.js +5 -0
- package/dist/programs/use-cases/vault-operations/index.js.map +1 -0
- package/dist/programs/use-cases/vault-operations/main.d.ts +1 -0
- package/dist/programs/use-cases/vault-operations/main.js +6 -0
- package/dist/programs/use-cases/vault-operations/main.js.map +1 -0
- package/dist/programs/use-cases/vault-operations/read.js +46 -0
- package/dist/programs/use-cases/vault-operations/read.js.map +1 -0
- package/dist/programs/use-cases/vault-operations/write.d.ts +1 -0
- package/dist/programs/use-cases/vault-operations/write.js +148 -0
- package/dist/programs/use-cases/vault-operations/write.js.map +1 -0
- package/dist/providers/wallet.d.ts +10 -10
- package/dist/tests/utils/error-handler.test.js +0 -8
- package/dist/tests/utils/error-handler.test.js.map +1 -1
- package/dist/tests/utils/ipfs.test.js +2 -2
- package/dist/tests/utils/ipfs.test.js.map +1 -1
- package/dist/types/common.d.ts +6 -2
- package/dist/utils/arguments.d.ts +1 -0
- package/dist/utils/arguments.js +3 -0
- package/dist/utils/arguments.js.map +1 -1
- package/dist/utils/cache.d.ts +2 -2
- package/dist/utils/cache.js +7 -7
- package/dist/utils/cache.js.map +1 -1
- package/dist/utils/calculate-overview-v2.d.ts +4 -7
- package/dist/utils/calculate-overview-v2.js +23 -21
- package/dist/utils/calculate-overview-v2.js.map +1 -1
- package/dist/utils/calculate-overview.d.ts +0 -1
- package/dist/utils/calculate-overview.js +1 -3
- package/dist/utils/calculate-overview.js.map +1 -1
- package/dist/utils/charts/blessed/charts-apr.js +6 -3
- package/dist/utils/charts/blessed/charts-apr.js.map +1 -1
- package/dist/utils/charts/blessed/charts-rewards.js +3 -3
- package/dist/utils/charts/blessed/charts-rewards.js.map +1 -1
- package/dist/utils/charts/blessed/datasets/prepare-metrics.js +4 -4
- package/dist/utils/charts/blessed/datasets/prepare-metrics.js.map +1 -1
- package/dist/utils/charts/simple/simple-charts.js +5 -5
- package/dist/utils/charts/simple/simple-charts.js.map +1 -1
- package/dist/utils/commands/confirmations.d.ts +20 -8
- package/dist/utils/commands/confirmations.js +30 -14
- package/dist/utils/commands/confirmations.js.map +1 -1
- package/dist/utils/commands/index.d.ts +0 -2
- package/dist/utils/commands/index.js +0 -2
- package/dist/utils/commands/index.js.map +1 -1
- package/dist/utils/commands/report.d.ts +1 -1
- package/dist/utils/commands/report.js +18 -25
- package/dist/utils/commands/report.js.map +1 -1
- package/dist/utils/consts.d.ts +3 -0
- package/dist/utils/consts.js +4 -0
- package/dist/utils/consts.js.map +1 -0
- package/dist/utils/fetchCL.d.ts +22 -0
- package/dist/utils/fetchCL.js +12 -0
- package/dist/utils/fetchCL.js.map +1 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +2 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/prompts/confirmations.js +2 -2
- package/dist/utils/prompts/confirmations.js.map +1 -1
- package/dist/utils/prompts/default.d.ts +2 -0
- package/dist/utils/prompts/default.js +7 -0
- package/dist/utils/prompts/default.js.map +1 -1
- package/dist/utils/prompts/index.d.ts +1 -1
- package/dist/utils/prompts/index.js +1 -1
- package/dist/utils/prompts/index.js.map +1 -1
- package/dist/utils/prompts/mint-burn/confirm-burn.d.ts +17 -0
- package/dist/utils/prompts/mint-burn/confirm-burn.js +23 -0
- package/dist/utils/prompts/mint-burn/confirm-burn.js.map +1 -0
- package/dist/utils/prompts/{dashboard.d.ts → mint-burn/confirm-mint.d.ts} +0 -15
- package/dist/utils/prompts/mint-burn/confirm-mint.js +23 -0
- package/dist/utils/prompts/mint-burn/confirm-mint.js.map +1 -0
- package/dist/utils/prompts/mint-burn/constants.d.ts +2 -0
- package/dist/utils/prompts/mint-burn/constants.js +6 -0
- package/dist/utils/prompts/mint-burn/constants.js.map +1 -0
- package/dist/utils/prompts/mint-burn/index.d.ts +2 -0
- package/dist/utils/prompts/mint-burn/index.js +3 -0
- package/dist/utils/prompts/mint-burn/index.js.map +1 -0
- package/dist/utils/prompts/operations.d.ts +1 -1
- package/dist/utils/prompts/operations.js +3 -3
- package/dist/utils/prompts/operations.js.map +1 -1
- package/dist/utils/prompts/predeposit-guarantee.d.ts +2 -2
- package/dist/utils/prompts/predeposit-guarantee.js.map +1 -1
- package/dist/utils/proof/create-proof.d.ts +4 -0
- package/dist/utils/proof/create-proof.js +2 -0
- package/dist/utils/proof/create-proof.js.map +1 -1
- package/dist/utils/proof/index.d.ts +0 -1
- package/dist/utils/proof/index.js +0 -1
- package/dist/utils/proof/index.js.map +1 -1
- package/dist/utils/read-programs-by-abi.d.ts +11 -4
- package/dist/utils/read-programs-by-abi.js +4 -3
- package/dist/utils/read-programs-by-abi.js.map +1 -1
- package/dist/utils/report/index.d.ts +2 -1
- package/dist/utils/report/index.js +2 -1
- package/dist/utils/report/index.js.map +1 -1
- package/dist/utils/report/report-proof.d.ts +42 -0
- package/dist/utils/report/report-proof.js +38 -0
- package/dist/utils/report/report-proof.js.map +1 -0
- package/dist/utils/report/report.d.ts +3 -60
- package/dist/utils/report/report.js +14 -8
- package/dist/utils/report/report.js.map +1 -1
- package/dist/utils/report/statistic-data.d.ts +1 -1
- package/dist/utils/report/statistic-data.js +5 -6
- package/dist/utils/report/statistic-data.js.map +1 -1
- package/dist/utils/report/types.d.ts +69 -0
- package/dist/utils/report/types.js +2 -0
- package/dist/utils/report/types.js.map +1 -0
- package/dist/utils/statistic/index.d.ts +1 -0
- package/dist/utils/statistic/index.js +2 -0
- package/dist/utils/statistic/index.js.map +1 -0
- package/dist/utils/{report → statistic}/report-statistic.d.ts +3 -3
- package/dist/utils/{report → statistic}/report-statistic.js +16 -19
- package/dist/utils/statistic/report-statistic.js.map +1 -0
- package/dist/version/index.js +1 -1
- package/package.json +2 -1
- package/dist/abi/BlsHarness.d.ts +0 -178
- package/dist/abi/BlsHarness.js +0 -232
- package/dist/abi/BlsHarness.js.map +0 -1
- package/dist/abi/CLProofVerifier.d.ts +0 -188
- package/dist/abi/CLProofVerifier.js +0 -247
- package/dist/abi/CLProofVerifier.js.map +0 -1
- package/dist/abi/ReportChecker.d.ts +0 -83
- package/dist/abi/ReportChecker.js +0 -109
- package/dist/abi/ReportChecker.js.map +0 -1
- package/dist/contracts/blsHarness.d.ts +0 -947
- package/dist/contracts/blsHarness.js +0 -24
- package/dist/contracts/blsHarness.js.map +0 -1
- package/dist/contracts/clProofVerifier.d.ts +0 -2647
- package/dist/contracts/clProofVerifier.js +0 -23
- package/dist/contracts/clProofVerifier.js.map +0 -1
- package/dist/contracts/reportChecker.d.ts +0 -758
- package/dist/contracts/reportChecker.js +0 -23
- package/dist/contracts/reportChecker.js.map +0 -1
- package/dist/contracts/voting.d.ts +0 -6
- package/dist/contracts/voting.js +0 -19
- package/dist/contracts/voting.js.map +0 -1
- package/dist/programs/dashboard/config.d.ts +0 -2
- package/dist/programs/dashboard/config.js.map +0 -1
- package/dist/programs/dashboard/index.js.map +0 -1
- package/dist/programs/dashboard/main.js +0 -5
- package/dist/programs/dashboard/main.js.map +0 -1
- package/dist/programs/dashboard/read.js.map +0 -1
- package/dist/programs/dashboard/write.js.map +0 -1
- package/dist/programs/hub/config.d.ts +0 -2
- package/dist/programs/hub/config.js +0 -123
- package/dist/programs/hub/config.js.map +0 -1
- package/dist/programs/hub/index.js.map +0 -1
- package/dist/programs/hub/main.js +0 -5
- package/dist/programs/hub/main.js.map +0 -1
- package/dist/programs/hub/read.js.map +0 -1
- package/dist/programs/hub/write.js +0 -246
- package/dist/programs/hub/write.js.map +0 -1
- package/dist/programs/metrics/index.js.map +0 -1
- package/dist/programs/metrics/main.js +0 -3
- package/dist/programs/metrics/main.js.map +0 -1
- package/dist/programs/metrics/read.js.map +0 -1
- package/dist/programs/operator-grid/config.d.ts +0 -2
- package/dist/programs/operator-grid/config.js.map +0 -1
- package/dist/programs/operator-grid/index.js.map +0 -1
- package/dist/programs/operator-grid/main.js +0 -5
- package/dist/programs/operator-grid/main.js.map +0 -1
- package/dist/programs/operator-grid/read.js.map +0 -1
- package/dist/programs/operator-grid/write.js.map +0 -1
- package/dist/programs/pdg/config.d.ts +0 -2
- package/dist/programs/pdg/config.js.map +0 -1
- package/dist/programs/pdg/index.js.map +0 -1
- package/dist/programs/pdg/main.js +0 -5
- package/dist/programs/pdg/main.js.map +0 -1
- package/dist/programs/pdg/read.js.map +0 -1
- package/dist/programs/pdg/write.js.map +0 -1
- package/dist/programs/report/index.js.map +0 -1
- package/dist/programs/report/main.js +0 -3
- package/dist/programs/report/main.js.map +0 -1
- package/dist/programs/report/read.js.map +0 -1
- package/dist/programs/report/write.js.map +0 -1
- package/dist/programs/vault/config.d.ts +0 -2
- package/dist/programs/vault/config.js.map +0 -1
- package/dist/programs/vault/index.js.map +0 -1
- package/dist/programs/vault/main.js +0 -3
- package/dist/programs/vault/main.js.map +0 -1
- package/dist/programs/vault/read.js.map +0 -1
- package/dist/programs/vault/write.js.map +0 -1
- package/dist/programs/vault-factory/config.d.ts +0 -2
- package/dist/programs/vault-factory/config.js.map +0 -1
- package/dist/programs/vault-factory/index.js.map +0 -1
- package/dist/programs/vault-factory/main.js +0 -5
- package/dist/programs/vault-factory/main.js.map +0 -1
- package/dist/programs/vault-factory/read.js.map +0 -1
- package/dist/programs/vault-factory/write.js +0 -86
- package/dist/programs/vault-factory/write.js.map +0 -1
- package/dist/programs/vault-viewer/config.d.ts +0 -2
- package/dist/programs/vault-viewer/config.js.map +0 -1
- package/dist/programs/vault-viewer/index.js.map +0 -1
- package/dist/programs/vault-viewer/main.js +0 -10
- package/dist/programs/vault-viewer/main.js.map +0 -1
- package/dist/programs/vault-viewer/read.js.map +0 -1
- package/dist/tests/__mocks__/@lodestar/types.js +0 -6
- package/dist/tests/__mocks__/@lodestar/types.js.map +0 -1
- package/dist/tests/utils/fetchCL.test.js +0 -57
- package/dist/tests/utils/fetchCL.test.js.map +0 -1
- package/dist/tests/utils/report-proof.test.js +0 -29
- package/dist/tests/utils/report-proof.test.js.map +0 -1
- package/dist/tests/utils/report-statistic.test.d.ts +0 -1
- package/dist/tests/utils/report-statistic.test.js +0 -247
- package/dist/tests/utils/report-statistic.test.js.map +0 -1
- package/dist/tests/utils/required-lock.test.d.ts +0 -1
- package/dist/tests/utils/required-lock.test.js +0 -26
- package/dist/tests/utils/required-lock.test.js.map +0 -1
- package/dist/utils/commands/dashboard.d.ts +0 -6
- package/dist/utils/commands/dashboard.js +0 -145
- package/dist/utils/commands/dashboard.js.map +0 -1
- package/dist/utils/commands/utils.d.ts +0 -6
- package/dist/utils/commands/utils.js +0 -57
- package/dist/utils/commands/utils.js.map +0 -1
- package/dist/utils/prompts/dashboard.js +0 -45
- package/dist/utils/prompts/dashboard.js.map +0 -1
- package/dist/utils/proof/report-proof.d.ts +0 -5
- package/dist/utils/proof/report-proof.js +0 -26
- package/dist/utils/proof/report-proof.js.map +0 -1
- package/dist/utils/report/report-statistic.js.map +0 -1
- package/dist/utils/required-lock.d.ts +0 -5
- package/dist/utils/required-lock.js +0 -21
- package/dist/utils/required-lock.js.map +0 -1
- /package/dist/programs/{dashboard → contracts/dashboard}/index.d.ts +0 -0
- /package/dist/programs/{dashboard → contracts/dashboard}/index.js +0 -0
- /package/dist/programs/{dashboard → contracts/dashboard}/main.d.ts +0 -0
- /package/dist/programs/{dashboard → contracts/dashboard}/read.d.ts +0 -0
- /package/dist/programs/{dashboard → contracts/dashboard}/write.d.ts +0 -0
- /package/dist/programs/{hub → contracts/hub}/index.d.ts +0 -0
- /package/dist/programs/{hub → contracts/hub}/index.js +0 -0
- /package/dist/programs/{hub → contracts/hub}/main.d.ts +0 -0
- /package/dist/programs/{hub → contracts/hub}/read.d.ts +0 -0
- /package/dist/programs/{hub → contracts/hub}/write.d.ts +0 -0
- /package/dist/programs/{operator-grid → contracts/operator-grid}/index.d.ts +0 -0
- /package/dist/programs/{operator-grid → contracts/operator-grid}/index.js +0 -0
- /package/dist/programs/{operator-grid → contracts/operator-grid}/main.d.ts +0 -0
- /package/dist/programs/{metrics → contracts/operator-grid}/read.d.ts +0 -0
- /package/dist/programs/{operator-grid → contracts/operator-grid}/write.d.ts +0 -0
- /package/dist/programs/{pdg → contracts/pdg}/index.d.ts +0 -0
- /package/dist/programs/{pdg → contracts/pdg}/index.js +0 -0
- /package/dist/programs/{pdg → contracts/pdg}/main.d.ts +0 -0
- /package/dist/programs/{operator-grid → contracts/pdg}/read.d.ts +0 -0
- /package/dist/programs/{pdg → contracts/pdg}/write.d.ts +0 -0
- /package/dist/programs/{vault-factory → contracts/vault}/index.d.ts +0 -0
- /package/dist/programs/{vault-factory → contracts/vault}/index.js +0 -0
- /package/dist/programs/{vault → contracts/vault}/main.d.ts +0 -0
- /package/dist/programs/{report → contracts/vault}/read.d.ts +0 -0
- /package/dist/programs/{vault-factory → contracts/vault}/write.d.ts +0 -0
- /package/dist/programs/{vault-factory → contracts/vault-factory}/config.js +0 -0
- /package/dist/programs/{report → contracts/vault-factory}/index.d.ts +0 -0
- /package/dist/programs/{report → contracts/vault-factory}/index.js +0 -0
- /package/dist/programs/{vault-factory → contracts/vault-factory}/main.d.ts +0 -0
- /package/dist/programs/{pdg → contracts/vault-factory}/read.d.ts +0 -0
- /package/dist/programs/{report → contracts/vault-factory}/write.d.ts +0 -0
- /package/dist/programs/{vault-viewer → contracts/vault-viewer}/config.js +0 -0
- /package/dist/programs/{metrics → contracts/vault-viewer}/index.d.ts +0 -0
- /package/dist/programs/{metrics → contracts/vault-viewer}/index.js +0 -0
- /package/dist/programs/{vault-viewer → contracts/vault-viewer}/main.d.ts +0 -0
- /package/dist/programs/{vault → use-cases/deposits}/index.d.ts +0 -0
- /package/dist/programs/{vault → use-cases/deposits}/index.js +0 -0
- /package/dist/programs/{vault-factory → use-cases/deposits}/read.d.ts +0 -0
- /package/dist/programs/{vault → use-cases/deposits}/write.d.ts +0 -0
- /package/dist/programs/{vault-viewer → use-cases/metrics}/index.d.ts +0 -0
- /package/dist/programs/{vault-viewer → use-cases/metrics}/index.js +0 -0
- /package/dist/programs/{metrics → use-cases/metrics}/main.d.ts +0 -0
- /package/dist/programs/{vault-viewer → use-cases/metrics}/read.d.ts +0 -0
- /package/dist/programs/{report → use-cases/report}/main.d.ts +0 -0
- /package/dist/programs/{vault → use-cases/report}/read.d.ts +0 -0
- /package/dist/{tests/__mocks__/@lodestar/types.d.ts → programs/use-cases/report/write.d.ts} +0 -0
- /package/dist/{tests/utils/fetchCL.test.d.ts → programs/use-cases/vault-operations/create-vault.d.ts} +0 -0
- /package/dist/{tests/utils/report-proof.test.d.ts → programs/use-cases/vault-operations/read.d.ts} +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Address, Hex } from 'viem';
|
|
2
|
+
type BigNumberType = 'bigint' | 'string';
|
|
3
|
+
export type LeafDataFields = {
|
|
4
|
+
vaultAddress: string;
|
|
5
|
+
totalValueWei: string;
|
|
6
|
+
fee: string;
|
|
7
|
+
liabilityShares: string;
|
|
8
|
+
slashingReserve: string;
|
|
9
|
+
};
|
|
10
|
+
export type ExtraDataFields = {
|
|
11
|
+
inOutDelta: string;
|
|
12
|
+
};
|
|
13
|
+
export type Report = {
|
|
14
|
+
format: 'standard-v1';
|
|
15
|
+
leafEncoding: ['address', 'uint256', 'uint256', 'uint256', 'uint256'];
|
|
16
|
+
tree: Hex[];
|
|
17
|
+
values: {
|
|
18
|
+
treeIndex: bigint;
|
|
19
|
+
value: [Address, string, string, string, string];
|
|
20
|
+
}[];
|
|
21
|
+
merkleTreeRoot: Hex;
|
|
22
|
+
refSlot: number;
|
|
23
|
+
timestamp: number;
|
|
24
|
+
blockNumber: bigint;
|
|
25
|
+
proofsCID: string;
|
|
26
|
+
prevTreeCID: string;
|
|
27
|
+
leafIndexToData: {
|
|
28
|
+
[key: string]: keyof LeafDataFields;
|
|
29
|
+
};
|
|
30
|
+
extraValues: {
|
|
31
|
+
[key: string]: ExtraDataFields;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export type VaultReport = {
|
|
35
|
+
data: LeafDataFields;
|
|
36
|
+
extraData: ExtraDataFields;
|
|
37
|
+
leaf: string;
|
|
38
|
+
refSlot: number;
|
|
39
|
+
blockNumber: number;
|
|
40
|
+
timestamp: number;
|
|
41
|
+
proofsCID: string;
|
|
42
|
+
prevTreeCID: string;
|
|
43
|
+
merkleTreeRoot: string;
|
|
44
|
+
};
|
|
45
|
+
export type ReportProof = {
|
|
46
|
+
merkleTreeRoot: string;
|
|
47
|
+
refSlot: number;
|
|
48
|
+
proofs: {
|
|
49
|
+
[key: string]: {
|
|
50
|
+
id: number;
|
|
51
|
+
totalValueWei: bigint;
|
|
52
|
+
inOutDelta: bigint;
|
|
53
|
+
fee: bigint;
|
|
54
|
+
liabilityShares: bigint;
|
|
55
|
+
leaf: string;
|
|
56
|
+
proof: string[];
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
block_number: number;
|
|
60
|
+
timestamp: number;
|
|
61
|
+
prevTreeCID: string;
|
|
62
|
+
};
|
|
63
|
+
export type VaultReportArgs = {
|
|
64
|
+
vault: Address;
|
|
65
|
+
cid: string;
|
|
66
|
+
gateway?: string;
|
|
67
|
+
bigNumberType?: BigNumberType;
|
|
68
|
+
};
|
|
69
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../utils/report/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './report-statistic.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../utils/statistic/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { VaultReport } from '
|
|
1
|
+
import type { VaultReport } from '../../utils/report/types.js';
|
|
2
2
|
export declare const getGrossStakingRewards: (current: VaultReport, previous: VaultReport) => bigint;
|
|
3
3
|
export declare const getNodeOperatorRewards: (current: VaultReport, previous: VaultReport, nodeOperatorFeeBP: bigint) => bigint;
|
|
4
|
-
export declare const getDailyLidoFees: () => bigint;
|
|
4
|
+
export declare const getDailyLidoFees: (current: VaultReport, previous: VaultReport) => bigint;
|
|
5
5
|
export declare const getNetStakingRewards: (current: VaultReport, previous: VaultReport, nodeOperatorFeeBP: bigint) => bigint;
|
|
6
6
|
export declare const getGrossStakingAPR: (current: VaultReport, previous: VaultReport) => {
|
|
7
7
|
apr: bigint;
|
|
@@ -24,7 +24,7 @@ type ReportMetricsArgs = {
|
|
|
24
24
|
current: VaultReport;
|
|
25
25
|
previous: VaultReport;
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
nodeOperatorFeeRate: bigint;
|
|
28
28
|
stEthLiabilityRebaseRewards: bigint;
|
|
29
29
|
};
|
|
30
30
|
export declare const reportMetrics: (args: ReportMetricsArgs) => {
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { BASIS_POINTS_DENOMINATOR } from '../
|
|
1
|
+
import { BASIS_POINTS_DENOMINATOR } from '../consts.js';
|
|
2
2
|
const SCALE = 1000000000n; // 1e9 for 9 decimal places precision
|
|
3
3
|
export const getGrossStakingRewards = (current, previous) => {
|
|
4
|
-
const grossStakingRewards = BigInt(current.data.
|
|
5
|
-
BigInt(previous.data.
|
|
6
|
-
(BigInt(current.
|
|
4
|
+
const grossStakingRewards = BigInt(current.data.totalValueWei) -
|
|
5
|
+
BigInt(previous.data.totalValueWei) -
|
|
6
|
+
(BigInt(current.extraData.inOutDelta) -
|
|
7
|
+
BigInt(previous.extraData.inOutDelta));
|
|
7
8
|
return grossStakingRewards;
|
|
8
9
|
};
|
|
9
10
|
export const getNodeOperatorRewards = (current, previous, nodeOperatorFeeBP) => {
|
|
10
11
|
const grossStakingRewards = getGrossStakingRewards(current, previous);
|
|
11
12
|
return (grossStakingRewards * nodeOperatorFeeBP) / BASIS_POINTS_DENOMINATOR;
|
|
12
13
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const prev_cumulativeLidoFees = 0n;
|
|
16
|
-
const current_cumulativeLidoFees = 0n;
|
|
17
|
-
return current_cumulativeLidoFees - prev_cumulativeLidoFees;
|
|
14
|
+
export const getDailyLidoFees = (current, previous) => {
|
|
15
|
+
return BigInt(current.data.fee) - BigInt(previous.data.fee);
|
|
18
16
|
};
|
|
19
17
|
export const getNetStakingRewards = (current, previous, nodeOperatorFeeBP) => {
|
|
20
18
|
const grossStakingRewards = getGrossStakingRewards(current, previous);
|
|
21
19
|
const nodeOperatorRewards = getNodeOperatorRewards(current, previous, nodeOperatorFeeBP);
|
|
22
|
-
const dailyLidoFees = getDailyLidoFees();
|
|
20
|
+
const dailyLidoFees = getDailyLidoFees(current, previous);
|
|
23
21
|
return grossStakingRewards - nodeOperatorRewards - dailyLidoFees;
|
|
24
22
|
};
|
|
25
23
|
// The APR metrics (Gross Staking APR, Net Staking APR, Efficiency) are calculated using the following general formula:
|
|
@@ -44,8 +42,7 @@ export const getNetStakingRewards = (current, previous, nodeOperatorFeeBP) => {
|
|
|
44
42
|
// Example for Gross Staking APR:
|
|
45
43
|
// grossStakingAPR = (grossStakingRewards * 100 * 31536000) / (averageTotalValue * periodSeconds)
|
|
46
44
|
const getAverageTotalValue = (current, previous) => {
|
|
47
|
-
return ((BigInt(current.data.
|
|
48
|
-
BigInt(previous.data.total_value_wei)) /
|
|
45
|
+
return ((BigInt(current.data.totalValueWei) + BigInt(previous.data.totalValueWei)) /
|
|
49
46
|
2n);
|
|
50
47
|
};
|
|
51
48
|
const getPeriodSeconds = (current, previous) => {
|
|
@@ -104,16 +101,16 @@ export const getEfficiency = (current, previous, nodeOperatorFeeBP, stEthLiabili
|
|
|
104
101
|
};
|
|
105
102
|
};
|
|
106
103
|
export const reportMetrics = (args) => {
|
|
107
|
-
const { reports,
|
|
104
|
+
const { reports, nodeOperatorFeeRate, stEthLiabilityRebaseRewards } = args;
|
|
108
105
|
const { current, previous } = reports;
|
|
109
106
|
const grossStakingRewards = getGrossStakingRewards(current, previous);
|
|
110
|
-
const nodeOperatorRewards = getNodeOperatorRewards(current, previous,
|
|
111
|
-
const dailyLidoFees = getDailyLidoFees();
|
|
112
|
-
const netStakingRewards = getNetStakingRewards(current, previous,
|
|
107
|
+
const nodeOperatorRewards = getNodeOperatorRewards(current, previous, nodeOperatorFeeRate);
|
|
108
|
+
const dailyLidoFees = getDailyLidoFees(current, previous);
|
|
109
|
+
const netStakingRewards = getNetStakingRewards(current, previous, nodeOperatorFeeRate);
|
|
113
110
|
const grossStakingAPR = getGrossStakingAPR(current, previous);
|
|
114
|
-
const netStakingAPR = getNetStakingAPR(current, previous,
|
|
115
|
-
const bottomLine = getBottomLine(current, previous,
|
|
116
|
-
const efficiency = getEfficiency(current, previous,
|
|
111
|
+
const netStakingAPR = getNetStakingAPR(current, previous, nodeOperatorFeeRate);
|
|
112
|
+
const bottomLine = getBottomLine(current, previous, nodeOperatorFeeRate, stEthLiabilityRebaseRewards);
|
|
113
|
+
const efficiency = getEfficiency(current, previous, nodeOperatorFeeRate, stEthLiabilityRebaseRewards);
|
|
117
114
|
return {
|
|
118
115
|
grossStakingRewards,
|
|
119
116
|
nodeOperatorRewards,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report-statistic.js","sourceRoot":"","sources":["../../../utils/statistic/report-statistic.ts"],"names":[],"mappings":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AAC;IACtE,MAAM,mBAAmB,GAAG,sBAAsB,CAChD,OAAO,EACP,QAAQ,EACR,mBAAmB,CACpB,CAAC;IACF,MAAM,aAAa,GAAG,gBAAgB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IAC1D,MAAM,iBAAiB,GAAG,oBAAoB,CAC5C,OAAO,EACP,QAAQ,EACR,mBAAmB,CACpB,CAAC;IAEF,MAAM,eAAe,GAAG,kBAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IAC9D,MAAM,aAAa,GAAG,gBAAgB,CACpC,OAAO,EACP,QAAQ,EACR,mBAAmB,CACpB,CAAC;IACF,MAAM,UAAU,GAAG,aAAa,CAC9B,OAAO,EACP,QAAQ,EACR,mBAAmB,EACnB,2BAA2B,CAC5B,CAAC;IACF,MAAM,UAAU,GAAG,aAAa,CAC9B,OAAO,EACP,QAAQ,EACR,mBAAmB,EACnB,2BAA2B,CAC5B,CAAC;IAEF,OAAO;QACL,mBAAmB;QACnB,mBAAmB;QACnB,aAAa;QACb,iBAAiB;QACjB,eAAe;QACf,aAAa;QACb,UAAU;QACV,UAAU;KACX,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/version/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = 'v1.0.0-alpha.
|
|
1
|
+
export const version = 'v1.0.0-alpha.56'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lidofinance/lsv-cli",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.56",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"@chainsafe/persistent-merkle-tree": "^1.0.1",
|
|
38
38
|
"@chainsafe/ssz": "^1.0.2",
|
|
39
39
|
"@lodestar/types": "^1.27.1",
|
|
40
|
+
"@openzeppelin/merkle-tree": "^1.0.8",
|
|
40
41
|
"blessed": "^0.1.81",
|
|
41
42
|
"blessed-contrib": "^4.11.0",
|
|
42
43
|
"blockstore-core": "^5.0.2",
|
package/dist/abi/BlsHarness.d.ts
DELETED
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
export declare const BLSHarnessAbi: readonly [{
|
|
2
|
-
readonly inputs: readonly [];
|
|
3
|
-
readonly stateMutability: "nonpayable";
|
|
4
|
-
readonly type: "constructor";
|
|
5
|
-
}, {
|
|
6
|
-
readonly inputs: readonly [];
|
|
7
|
-
readonly name: "InputHasInfinityPoints";
|
|
8
|
-
readonly type: "error";
|
|
9
|
-
}, {
|
|
10
|
-
readonly inputs: readonly [];
|
|
11
|
-
readonly name: "InvalidPubkeyLength";
|
|
12
|
-
readonly type: "error";
|
|
13
|
-
}, {
|
|
14
|
-
readonly inputs: readonly [];
|
|
15
|
-
readonly name: "InvalidSignature";
|
|
16
|
-
readonly type: "error";
|
|
17
|
-
}, {
|
|
18
|
-
readonly inputs: readonly [];
|
|
19
|
-
readonly name: "LOCAL_MESSAGE_1";
|
|
20
|
-
readonly outputs: readonly [{
|
|
21
|
-
readonly components: readonly [{
|
|
22
|
-
readonly components: readonly [{
|
|
23
|
-
readonly internalType: "bytes";
|
|
24
|
-
readonly name: "pubkey";
|
|
25
|
-
readonly type: "bytes";
|
|
26
|
-
}, {
|
|
27
|
-
readonly internalType: "bytes";
|
|
28
|
-
readonly name: "signature";
|
|
29
|
-
readonly type: "bytes";
|
|
30
|
-
}, {
|
|
31
|
-
readonly internalType: "uint256";
|
|
32
|
-
readonly name: "amount";
|
|
33
|
-
readonly type: "uint256";
|
|
34
|
-
}, {
|
|
35
|
-
readonly internalType: "bytes32";
|
|
36
|
-
readonly name: "depositDataRoot";
|
|
37
|
-
readonly type: "bytes32";
|
|
38
|
-
}];
|
|
39
|
-
readonly internalType: "struct StakingVaultDeposit";
|
|
40
|
-
readonly name: "deposit";
|
|
41
|
-
readonly type: "tuple";
|
|
42
|
-
}, {
|
|
43
|
-
readonly components: readonly [{
|
|
44
|
-
readonly components: readonly [{
|
|
45
|
-
readonly internalType: "bytes32";
|
|
46
|
-
readonly name: "a";
|
|
47
|
-
readonly type: "bytes32";
|
|
48
|
-
}, {
|
|
49
|
-
readonly internalType: "bytes32";
|
|
50
|
-
readonly name: "b";
|
|
51
|
-
readonly type: "bytes32";
|
|
52
|
-
}];
|
|
53
|
-
readonly internalType: "struct BLS12_381.Fp";
|
|
54
|
-
readonly name: "pubkeyY";
|
|
55
|
-
readonly type: "tuple";
|
|
56
|
-
}, {
|
|
57
|
-
readonly components: readonly [{
|
|
58
|
-
readonly internalType: "bytes32";
|
|
59
|
-
readonly name: "c0_a";
|
|
60
|
-
readonly type: "bytes32";
|
|
61
|
-
}, {
|
|
62
|
-
readonly internalType: "bytes32";
|
|
63
|
-
readonly name: "c0_b";
|
|
64
|
-
readonly type: "bytes32";
|
|
65
|
-
}, {
|
|
66
|
-
readonly internalType: "bytes32";
|
|
67
|
-
readonly name: "c1_a";
|
|
68
|
-
readonly type: "bytes32";
|
|
69
|
-
}, {
|
|
70
|
-
readonly internalType: "bytes32";
|
|
71
|
-
readonly name: "c1_b";
|
|
72
|
-
readonly type: "bytes32";
|
|
73
|
-
}];
|
|
74
|
-
readonly internalType: "struct BLS12_381.Fp2";
|
|
75
|
-
readonly name: "signatureY";
|
|
76
|
-
readonly type: "tuple";
|
|
77
|
-
}];
|
|
78
|
-
readonly internalType: "struct BLS12_381.DepositY";
|
|
79
|
-
readonly name: "depositYComponents";
|
|
80
|
-
readonly type: "tuple";
|
|
81
|
-
}, {
|
|
82
|
-
readonly internalType: "bytes32";
|
|
83
|
-
readonly name: "withdrawalCredentials";
|
|
84
|
-
readonly type: "bytes32";
|
|
85
|
-
}];
|
|
86
|
-
readonly internalType: "struct PrecomputedDepositMessage";
|
|
87
|
-
readonly name: "";
|
|
88
|
-
readonly type: "tuple";
|
|
89
|
-
}];
|
|
90
|
-
readonly stateMutability: "pure";
|
|
91
|
-
readonly type: "function";
|
|
92
|
-
}, {
|
|
93
|
-
readonly inputs: readonly [];
|
|
94
|
-
readonly name: "verifier";
|
|
95
|
-
readonly outputs: readonly [{
|
|
96
|
-
readonly internalType: "contract BLS__HarnessVerifier";
|
|
97
|
-
readonly name: "";
|
|
98
|
-
readonly type: "address";
|
|
99
|
-
}];
|
|
100
|
-
readonly stateMutability: "view";
|
|
101
|
-
readonly type: "function";
|
|
102
|
-
}, {
|
|
103
|
-
readonly inputs: readonly [];
|
|
104
|
-
readonly name: "verifyBLSSupport";
|
|
105
|
-
readonly outputs: readonly [];
|
|
106
|
-
readonly stateMutability: "view";
|
|
107
|
-
readonly type: "function";
|
|
108
|
-
}, {
|
|
109
|
-
readonly inputs: readonly [{
|
|
110
|
-
readonly components: readonly [{
|
|
111
|
-
readonly internalType: "bytes";
|
|
112
|
-
readonly name: "pubkey";
|
|
113
|
-
readonly type: "bytes";
|
|
114
|
-
}, {
|
|
115
|
-
readonly internalType: "bytes";
|
|
116
|
-
readonly name: "signature";
|
|
117
|
-
readonly type: "bytes";
|
|
118
|
-
}, {
|
|
119
|
-
readonly internalType: "uint256";
|
|
120
|
-
readonly name: "amount";
|
|
121
|
-
readonly type: "uint256";
|
|
122
|
-
}, {
|
|
123
|
-
readonly internalType: "bytes32";
|
|
124
|
-
readonly name: "depositDataRoot";
|
|
125
|
-
readonly type: "bytes32";
|
|
126
|
-
}];
|
|
127
|
-
readonly internalType: "struct StakingVaultDeposit";
|
|
128
|
-
readonly name: "deposit";
|
|
129
|
-
readonly type: "tuple";
|
|
130
|
-
}, {
|
|
131
|
-
readonly components: readonly [{
|
|
132
|
-
readonly components: readonly [{
|
|
133
|
-
readonly internalType: "bytes32";
|
|
134
|
-
readonly name: "a";
|
|
135
|
-
readonly type: "bytes32";
|
|
136
|
-
}, {
|
|
137
|
-
readonly internalType: "bytes32";
|
|
138
|
-
readonly name: "b";
|
|
139
|
-
readonly type: "bytes32";
|
|
140
|
-
}];
|
|
141
|
-
readonly internalType: "struct BLS12_381.Fp";
|
|
142
|
-
readonly name: "pubkeyY";
|
|
143
|
-
readonly type: "tuple";
|
|
144
|
-
}, {
|
|
145
|
-
readonly components: readonly [{
|
|
146
|
-
readonly internalType: "bytes32";
|
|
147
|
-
readonly name: "c0_a";
|
|
148
|
-
readonly type: "bytes32";
|
|
149
|
-
}, {
|
|
150
|
-
readonly internalType: "bytes32";
|
|
151
|
-
readonly name: "c0_b";
|
|
152
|
-
readonly type: "bytes32";
|
|
153
|
-
}, {
|
|
154
|
-
readonly internalType: "bytes32";
|
|
155
|
-
readonly name: "c1_a";
|
|
156
|
-
readonly type: "bytes32";
|
|
157
|
-
}, {
|
|
158
|
-
readonly internalType: "bytes32";
|
|
159
|
-
readonly name: "c1_b";
|
|
160
|
-
readonly type: "bytes32";
|
|
161
|
-
}];
|
|
162
|
-
readonly internalType: "struct BLS12_381.Fp2";
|
|
163
|
-
readonly name: "signatureY";
|
|
164
|
-
readonly type: "tuple";
|
|
165
|
-
}];
|
|
166
|
-
readonly internalType: "struct BLS12_381.DepositY";
|
|
167
|
-
readonly name: "depositY";
|
|
168
|
-
readonly type: "tuple";
|
|
169
|
-
}, {
|
|
170
|
-
readonly internalType: "bytes32";
|
|
171
|
-
readonly name: "withdrawalCredentials";
|
|
172
|
-
readonly type: "bytes32";
|
|
173
|
-
}];
|
|
174
|
-
readonly name: "verifyDepositMessage";
|
|
175
|
-
readonly outputs: readonly [];
|
|
176
|
-
readonly stateMutability: "view";
|
|
177
|
-
readonly type: "function";
|
|
178
|
-
}];
|
package/dist/abi/BlsHarness.js
DELETED
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
export const BLSHarnessAbi = [
|
|
2
|
-
{
|
|
3
|
-
inputs: [],
|
|
4
|
-
stateMutability: 'nonpayable',
|
|
5
|
-
type: 'constructor',
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
inputs: [],
|
|
9
|
-
name: 'InputHasInfinityPoints',
|
|
10
|
-
type: 'error',
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
inputs: [],
|
|
14
|
-
name: 'InvalidPubkeyLength',
|
|
15
|
-
type: 'error',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
inputs: [],
|
|
19
|
-
name: 'InvalidSignature',
|
|
20
|
-
type: 'error',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
inputs: [],
|
|
24
|
-
name: 'LOCAL_MESSAGE_1',
|
|
25
|
-
outputs: [
|
|
26
|
-
{
|
|
27
|
-
components: [
|
|
28
|
-
{
|
|
29
|
-
components: [
|
|
30
|
-
{
|
|
31
|
-
internalType: 'bytes',
|
|
32
|
-
name: 'pubkey',
|
|
33
|
-
type: 'bytes',
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
internalType: 'bytes',
|
|
37
|
-
name: 'signature',
|
|
38
|
-
type: 'bytes',
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
internalType: 'uint256',
|
|
42
|
-
name: 'amount',
|
|
43
|
-
type: 'uint256',
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
internalType: 'bytes32',
|
|
47
|
-
name: 'depositDataRoot',
|
|
48
|
-
type: 'bytes32',
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
internalType: 'struct StakingVaultDeposit',
|
|
52
|
-
name: 'deposit',
|
|
53
|
-
type: 'tuple',
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
components: [
|
|
57
|
-
{
|
|
58
|
-
components: [
|
|
59
|
-
{
|
|
60
|
-
internalType: 'bytes32',
|
|
61
|
-
name: 'a',
|
|
62
|
-
type: 'bytes32',
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
internalType: 'bytes32',
|
|
66
|
-
name: 'b',
|
|
67
|
-
type: 'bytes32',
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
internalType: 'struct BLS12_381.Fp',
|
|
71
|
-
name: 'pubkeyY',
|
|
72
|
-
type: 'tuple',
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
components: [
|
|
76
|
-
{
|
|
77
|
-
internalType: 'bytes32',
|
|
78
|
-
name: 'c0_a',
|
|
79
|
-
type: 'bytes32',
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
internalType: 'bytes32',
|
|
83
|
-
name: 'c0_b',
|
|
84
|
-
type: 'bytes32',
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
internalType: 'bytes32',
|
|
88
|
-
name: 'c1_a',
|
|
89
|
-
type: 'bytes32',
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
internalType: 'bytes32',
|
|
93
|
-
name: 'c1_b',
|
|
94
|
-
type: 'bytes32',
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
internalType: 'struct BLS12_381.Fp2',
|
|
98
|
-
name: 'signatureY',
|
|
99
|
-
type: 'tuple',
|
|
100
|
-
},
|
|
101
|
-
],
|
|
102
|
-
internalType: 'struct BLS12_381.DepositY',
|
|
103
|
-
name: 'depositYComponents',
|
|
104
|
-
type: 'tuple',
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
internalType: 'bytes32',
|
|
108
|
-
name: 'withdrawalCredentials',
|
|
109
|
-
type: 'bytes32',
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
internalType: 'struct PrecomputedDepositMessage',
|
|
113
|
-
name: '',
|
|
114
|
-
type: 'tuple',
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
stateMutability: 'pure',
|
|
118
|
-
type: 'function',
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
inputs: [],
|
|
122
|
-
name: 'verifier',
|
|
123
|
-
outputs: [
|
|
124
|
-
{
|
|
125
|
-
internalType: 'contract BLS__HarnessVerifier',
|
|
126
|
-
name: '',
|
|
127
|
-
type: 'address',
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
stateMutability: 'view',
|
|
131
|
-
type: 'function',
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
inputs: [],
|
|
135
|
-
name: 'verifyBLSSupport',
|
|
136
|
-
outputs: [],
|
|
137
|
-
stateMutability: 'view',
|
|
138
|
-
type: 'function',
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
inputs: [
|
|
142
|
-
{
|
|
143
|
-
components: [
|
|
144
|
-
{
|
|
145
|
-
internalType: 'bytes',
|
|
146
|
-
name: 'pubkey',
|
|
147
|
-
type: 'bytes',
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
internalType: 'bytes',
|
|
151
|
-
name: 'signature',
|
|
152
|
-
type: 'bytes',
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
internalType: 'uint256',
|
|
156
|
-
name: 'amount',
|
|
157
|
-
type: 'uint256',
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
internalType: 'bytes32',
|
|
161
|
-
name: 'depositDataRoot',
|
|
162
|
-
type: 'bytes32',
|
|
163
|
-
},
|
|
164
|
-
],
|
|
165
|
-
internalType: 'struct StakingVaultDeposit',
|
|
166
|
-
name: 'deposit',
|
|
167
|
-
type: 'tuple',
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
components: [
|
|
171
|
-
{
|
|
172
|
-
components: [
|
|
173
|
-
{
|
|
174
|
-
internalType: 'bytes32',
|
|
175
|
-
name: 'a',
|
|
176
|
-
type: 'bytes32',
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
internalType: 'bytes32',
|
|
180
|
-
name: 'b',
|
|
181
|
-
type: 'bytes32',
|
|
182
|
-
},
|
|
183
|
-
],
|
|
184
|
-
internalType: 'struct BLS12_381.Fp',
|
|
185
|
-
name: 'pubkeyY',
|
|
186
|
-
type: 'tuple',
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
components: [
|
|
190
|
-
{
|
|
191
|
-
internalType: 'bytes32',
|
|
192
|
-
name: 'c0_a',
|
|
193
|
-
type: 'bytes32',
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
internalType: 'bytes32',
|
|
197
|
-
name: 'c0_b',
|
|
198
|
-
type: 'bytes32',
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
internalType: 'bytes32',
|
|
202
|
-
name: 'c1_a',
|
|
203
|
-
type: 'bytes32',
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
internalType: 'bytes32',
|
|
207
|
-
name: 'c1_b',
|
|
208
|
-
type: 'bytes32',
|
|
209
|
-
},
|
|
210
|
-
],
|
|
211
|
-
internalType: 'struct BLS12_381.Fp2',
|
|
212
|
-
name: 'signatureY',
|
|
213
|
-
type: 'tuple',
|
|
214
|
-
},
|
|
215
|
-
],
|
|
216
|
-
internalType: 'struct BLS12_381.DepositY',
|
|
217
|
-
name: 'depositY',
|
|
218
|
-
type: 'tuple',
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
internalType: 'bytes32',
|
|
222
|
-
name: 'withdrawalCredentials',
|
|
223
|
-
type: 'bytes32',
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
name: 'verifyDepositMessage',
|
|
227
|
-
outputs: [],
|
|
228
|
-
stateMutability: 'view',
|
|
229
|
-
type: 'function',
|
|
230
|
-
},
|
|
231
|
-
];
|
|
232
|
-
//# sourceMappingURL=BlsHarness.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlsHarness.js","sourceRoot":"","sources":["../../abi/BlsHarness.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B;QACE,MAAM,EAAE,EAAE;QACV,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAA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