@lidofinance/lsv-cli 1.0.0-alpha.61 → 1.0.0-alpha.63
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/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/abi/AccessControlConfirmable.d.ts +4 -3
- package/dist/abi/AccessControlConfirmable.js +4 -2
- package/dist/abi/AccessControlConfirmable.js.map +1 -1
- package/dist/abi/Dashboard.d.ts +731 -437
- package/dist/abi/Dashboard.js +322 -302
- package/dist/abi/Dashboard.js.map +1 -1
- package/dist/abi/LazyOracle.d.ts +319 -27
- package/dist/abi/LazyOracle.js +406 -27
- package/dist/abi/LazyOracle.js.map +1 -1
- 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 +879 -100
- package/dist/abi/OperatorGrid.js +224 -2
- package/dist/abi/OperatorGrid.js.map +1 -1
- package/dist/abi/PredepositGuarantee.d.ts +210 -169
- package/dist/abi/PredepositGuarantee.js +192 -198
- package/dist/abi/PredepositGuarantee.js.map +1 -1
- package/dist/abi/StEth.d.ts +1 -1
- package/dist/abi/StEth.js +1 -1
- package/dist/abi/StEth.js.map +1 -1
- package/dist/abi/StakingVault.d.ts +241 -41
- package/dist/abi/StakingVault.js +206 -43
- package/dist/abi/StakingVault.js.map +1 -1
- package/dist/abi/VaultFactory.d.ts +524 -72
- package/dist/abi/VaultFactory.js +42 -1
- package/dist/abi/VaultFactory.js.map +1 -1
- package/dist/abi/VaultHub.d.ts +439 -409
- package/dist/abi/VaultHub.js +363 -399
- package/dist/abi/VaultHub.js.map +1 -1
- package/dist/abi/VaultViewer.d.ts +204 -238
- package/dist/abi/VaultViewer.js +251 -299
- package/dist/abi/VaultViewer.js.map +1 -1
- package/dist/abi/defi-wrapper/Distributor.d.ts +486 -0
- package/dist/abi/defi-wrapper/Distributor.js +633 -0
- package/dist/abi/defi-wrapper/Distributor.js.map +1 -0
- package/dist/abi/defi-wrapper/Factory.d.ts +1184 -0
- package/dist/abi/defi-wrapper/Factory.js +932 -0
- package/dist/abi/defi-wrapper/Factory.js.map +1 -0
- package/dist/abi/defi-wrapper/StvPool.d.ts +1079 -0
- package/dist/abi/defi-wrapper/StvPool.js +1410 -0
- package/dist/abi/defi-wrapper/StvPool.js.map +1 -0
- package/dist/abi/defi-wrapper/StvStETHPool.d.ts +1772 -0
- package/dist/abi/defi-wrapper/StvStETHPool.js +2316 -0
- package/dist/abi/defi-wrapper/StvStETHPool.js.map +1 -0
- package/dist/abi/defi-wrapper/WithdrawalQueue.d.ts +1265 -0
- package/dist/abi/defi-wrapper/WithdrawalQueue.js +1647 -0
- package/dist/abi/defi-wrapper/WithdrawalQueue.js.map +1 -0
- package/dist/abi/defi-wrapper/index.d.ts +5 -0
- package/dist/abi/defi-wrapper/index.js +6 -0
- package/dist/abi/defi-wrapper/index.js.map +1 -0
- package/dist/abi/index.d.ts +0 -2
- package/dist/abi/index.js +0 -2
- package/dist/abi/index.js.map +1 -1
- package/dist/configs/constants.d.ts +44 -2
- package/dist/configs/constants.js +2 -2
- package/dist/configs/constants.js.map +1 -1
- package/dist/configs/deployed.d.ts +2 -2
- package/dist/configs/deployed.js +48 -6
- package/dist/configs/deployed.js.map +1 -1
- package/dist/configs/utils.d.ts +1 -0
- package/dist/configs/utils.js +4 -0
- package/dist/configs/utils.js.map +1 -1
- package/dist/contracts/dashboard-impl.d.ts +4 -0
- package/dist/contracts/dashboard-impl.js +17 -0
- package/dist/contracts/dashboard-impl.js.map +1 -0
- package/dist/contracts/dashboard.d.ts +2 -2
- package/dist/contracts/dashboard.js +3 -2
- package/dist/contracts/dashboard.js.map +1 -1
- package/dist/contracts/defi-wrapper/distributor.d.ts +4 -0
- package/dist/contracts/defi-wrapper/distributor.js +12 -0
- package/dist/contracts/defi-wrapper/distributor.js.map +1 -0
- package/dist/contracts/defi-wrapper/factory.d.ts +4 -0
- package/dist/contracts/defi-wrapper/factory.js +12 -0
- package/dist/contracts/defi-wrapper/factory.js.map +1 -0
- package/dist/contracts/defi-wrapper/index.d.ts +5 -0
- package/dist/contracts/defi-wrapper/index.js +6 -0
- package/dist/contracts/defi-wrapper/index.js.map +1 -0
- package/dist/contracts/defi-wrapper/stv-pool.d.ts +4 -0
- package/dist/contracts/defi-wrapper/stv-pool.js +12 -0
- package/dist/contracts/defi-wrapper/stv-pool.js.map +1 -0
- package/dist/contracts/defi-wrapper/stv-steth-pool.d.ts +4 -0
- package/dist/contracts/defi-wrapper/stv-steth-pool.js +12 -0
- package/dist/contracts/defi-wrapper/stv-steth-pool.js.map +1 -0
- package/dist/contracts/defi-wrapper/withdrawal-queue.d.ts +4 -0
- package/dist/contracts/defi-wrapper/withdrawal-queue.js +12 -0
- package/dist/contracts/defi-wrapper/withdrawal-queue.js.map +1 -0
- package/dist/contracts/index.d.ts +1 -1
- package/dist/contracts/index.js +1 -1
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/lazy-oracle.js +3 -2
- package/dist/contracts/lazy-oracle.js.map +1 -1
- package/dist/contracts/locator.d.ts +3 -8239
- package/dist/contracts/locator.js +4 -3
- package/dist/contracts/locator.js.map +1 -1
- package/dist/contracts/operator-grid.d.ts +1 -1
- package/dist/contracts/operator-grid.js +3 -2
- package/dist/contracts/operator-grid.js.map +1 -1
- package/dist/contracts/pdg.js +3 -2
- package/dist/contracts/pdg.js.map +1 -1
- package/dist/contracts/steth.d.ts +128 -128
- package/dist/contracts/steth.js +3 -2
- package/dist/contracts/steth.js.map +1 -1
- package/dist/contracts/vault-factory.d.ts +3 -16404
- package/dist/contracts/vault-factory.js +4 -3
- package/dist/contracts/vault-factory.js.map +1 -1
- package/dist/contracts/vault-hub.js +3 -2
- package/dist/contracts/vault-hub.js.map +1 -1
- package/dist/contracts/vault-viewer.d.ts +3 -11197
- package/dist/contracts/vault-viewer.js +9 -7
- package/dist/contracts/vault-viewer.js.map +1 -1
- package/dist/contracts/vault.d.ts +2 -2
- package/dist/contracts/vault.js +3 -2
- package/dist/contracts/vault.js.map +1 -1
- package/dist/contracts/wsteth.d.ts +3 -24690
- package/dist/contracts/wsteth.js +4 -3
- package/dist/contracts/wsteth.js.map +1 -1
- package/dist/features/defi-wrapper/create-vault.d.ts +17 -0
- package/dist/features/defi-wrapper/create-vault.js +137 -0
- package/dist/features/defi-wrapper/create-vault.js.map +1 -0
- package/dist/features/defi-wrapper/defi-wrapper-factory.d.ts +112 -0
- package/dist/features/defi-wrapper/defi-wrapper-factory.js +228 -0
- package/dist/features/defi-wrapper/defi-wrapper-factory.js.map +1 -0
- package/dist/features/defi-wrapper/index.d.ts +3 -0
- package/dist/features/defi-wrapper/index.js +4 -0
- package/dist/features/defi-wrapper/index.js.map +1 -0
- package/dist/features/defi-wrapper/pool-info.d.ts +35 -0
- package/dist/features/defi-wrapper/pool-info.js +97 -0
- package/dist/features/defi-wrapper/pool-info.js.map +1 -0
- package/dist/features/deposits/check-bls-deposits.d.ts +2 -1
- package/dist/features/deposits/check-bls-deposits.js +11 -2
- package/dist/features/deposits/check-bls-deposits.js.map +1 -1
- package/dist/features/deposits/make-pdg-proof.d.ts +8 -0
- package/dist/features/deposits/make-pdg-proof.js +17 -1
- package/dist/features/deposits/make-pdg-proof.js.map +1 -1
- package/dist/features/deposits/no-pdg.d.ts +1 -1
- package/dist/features/deposits/no-pdg.js +6 -3
- package/dist/features/deposits/no-pdg.js.map +1 -1
- package/dist/features/dev-tools/impersonate.d.ts +14 -0
- package/dist/features/dev-tools/impersonate.js +64 -0
- package/dist/features/dev-tools/impersonate.js.map +1 -0
- package/dist/features/dev-tools/index.d.ts +1 -0
- package/dist/features/dev-tools/index.js +2 -0
- package/dist/features/dev-tools/index.js.map +1 -0
- package/dist/features/index.d.ts +3 -0
- package/dist/features/index.js +3 -0
- package/dist/features/index.js.map +1 -1
- package/dist/features/lazy-oracle.d.ts +1 -0
- package/dist/features/lazy-oracle.js +42 -0
- package/dist/features/lazy-oracle.js.map +1 -0
- package/dist/features/mint-burn/allowance.js +1 -1
- package/dist/features/mint-burn/allowance.js.map +1 -1
- package/dist/features/pdg.d.ts +7 -0
- package/dist/features/pdg.js +5 -5
- package/dist/features/pdg.js.map +1 -1
- package/dist/features/utils/get-boolean.d.ts +1 -0
- package/dist/features/utils/get-boolean.js +13 -0
- package/dist/features/utils/get-boolean.js.map +1 -0
- package/dist/features/utils/index.d.ts +2 -0
- package/dist/features/utils/index.js +2 -0
- package/dist/features/utils/index.js.map +1 -1
- package/dist/features/utils/quarantine.d.ts +2 -0
- package/dist/features/utils/quarantine.js +2 -0
- package/dist/features/utils/quarantine.js.map +1 -1
- package/dist/features/utils/report-fresh.js +17 -1
- package/dist/features/utils/report-fresh.js.map +1 -1
- package/dist/features/utils/settled-growth.d.ts +1 -0
- package/dist/features/utils/settled-growth.js +16 -0
- package/dist/features/utils/settled-growth.js.map +1 -0
- package/dist/features/vault-factory.d.ts +2 -2
- package/dist/features/vault-factory.js +8 -3
- package/dist/features/vault-factory.js.map +1 -1
- package/dist/features/vault-hub.js +0 -4
- package/dist/features/vault-hub.js.map +1 -1
- package/dist/features/vault-operations/create-vault.d.ts +4 -2
- package/dist/features/vault-operations/create-vault.js +13 -5
- package/dist/features/vault-operations/create-vault.js.map +1 -1
- package/dist/features/vault-operations/dashboard-by-vault.d.ts +2 -1
- package/dist/features/vault-operations/dashboard-by-vault.js +6 -4
- package/dist/features/vault-operations/dashboard-by-vault.js.map +1 -1
- package/dist/features/vault-operations/vault-health.js +2 -2
- package/dist/features/vault-operations/vault-health.js.map +1 -1
- package/dist/features/vault-operations/vault-info.js +32 -33
- package/dist/features/vault-operations/vault-info.js.map +1 -1
- package/dist/features/vault-operations/vault-overview.js +46 -39
- package/dist/features/vault-operations/vault-overview.js.map +1 -1
- package/dist/features/vault-operations/vault-roles.d.ts +2 -1
- package/dist/features/vault-operations/vault-roles.js +22 -23
- package/dist/features/vault-operations/vault-roles.js.map +1 -1
- package/dist/features/vault-operations/vaults-by-role.d.ts +5 -0
- package/dist/features/vault-operations/vaults-by-role.js +123 -36
- package/dist/features/vault-operations/vaults-by-role.js.map +1 -1
- package/dist/features/vault.js +8 -4
- package/dist/features/vault.js.map +1 -1
- package/dist/index.js +18 -6
- package/dist/index.js.map +1 -1
- package/dist/programs/account/read.js +1 -1
- package/dist/programs/account/read.js.map +1 -1
- package/dist/programs/account/write.js +14 -0
- package/dist/programs/account/write.js.map +1 -1
- package/dist/programs/contracts/dashboard/config.js +49 -40
- package/dist/programs/contracts/dashboard/config.js.map +1 -1
- package/dist/programs/contracts/dashboard/read.js +44 -9
- package/dist/programs/contracts/dashboard/read.js.map +1 -1
- package/dist/programs/contracts/dashboard/write.js +236 -127
- package/dist/programs/contracts/dashboard/write.js.map +1 -1
- package/dist/programs/contracts/hub/config.js +7 -27
- package/dist/programs/contracts/hub/config.js.map +1 -1
- package/dist/programs/contracts/hub/read.js +63 -2
- package/dist/programs/contracts/hub/read.js.map +1 -1
- package/dist/programs/contracts/hub/write.js +8 -70
- package/dist/programs/contracts/hub/write.js.map +1 -1
- package/dist/programs/contracts/lazy-oracle/config.js +38 -0
- package/dist/programs/contracts/lazy-oracle/config.js.map +1 -1
- package/dist/programs/contracts/lazy-oracle/read.js +7 -0
- package/dist/programs/contracts/lazy-oracle/read.js.map +1 -1
- package/dist/programs/contracts/operator-grid/config.js +21 -10
- package/dist/programs/contracts/operator-grid/config.js.map +1 -1
- package/dist/programs/contracts/operator-grid/read.js +21 -1
- package/dist/programs/contracts/operator-grid/read.js.map +1 -1
- package/dist/programs/contracts/operator-grid/write.js +40 -71
- package/dist/programs/contracts/operator-grid/write.js.map +1 -1
- package/dist/programs/contracts/pdg/config.js +9 -2
- package/dist/programs/contracts/pdg/config.js.map +1 -1
- package/dist/programs/contracts/pdg/read.js +13 -1
- package/dist/programs/contracts/pdg/read.js.map +1 -1
- package/dist/programs/contracts/pdg/write.js +55 -86
- package/dist/programs/contracts/pdg/write.js.map +1 -1
- package/dist/programs/contracts/vault/config.js +12 -0
- package/dist/programs/contracts/vault/config.js.map +1 -1
- package/dist/programs/contracts/vault/write.js +110 -35
- package/dist/programs/contracts/vault/write.js.map +1 -1
- package/dist/programs/contracts/vault-factory/config.js +14 -1
- package/dist/programs/contracts/vault-factory/config.js.map +1 -1
- package/dist/programs/contracts/vault-factory/write.js +25 -15
- package/dist/programs/contracts/vault-factory/write.js.map +1 -1
- package/dist/programs/contracts/vault-viewer/config.js +102 -59
- package/dist/programs/contracts/vault-viewer/config.js.map +1 -1
- package/dist/programs/contracts/vault-viewer/read.js +22 -76
- package/dist/programs/contracts/vault-viewer/read.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/distributor/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/distributor/config.js +44 -0
- package/dist/programs/defi-wrapper/contracts/distributor/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/distributor/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/distributor/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/main.js +5 -0
- package/dist/programs/defi-wrapper/contracts/distributor/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/read.js +40 -0
- package/dist/programs/defi-wrapper/contracts/distributor/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/write.js +70 -0
- package/dist/programs/defi-wrapper/contracts/distributor/write.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/factory/config.js +2 -0
- package/dist/programs/defi-wrapper/contracts/factory/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/factory/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/factory/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/factory/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/read.js +50 -0
- package/dist/programs/defi-wrapper/contracts/factory/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/write.js +144 -0
- package/dist/programs/defi-wrapper/contracts/factory/write.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/index.d.ts +6 -0
- package/dist/programs/defi-wrapper/contracts/index.js +7 -0
- package/dist/programs/defi-wrapper/contracts/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/config.js +73 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/read.js +70 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/write.js +138 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/write.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/config.js +120 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.js +70 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js +173 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.js +66 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.js +65 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js +171 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js.map +1 -0
- package/dist/programs/defi-wrapper/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/index.js +4 -0
- package/dist/programs/defi-wrapper/index.js.map +1 -0
- package/dist/programs/defi-wrapper/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/main.js +6 -0
- package/dist/programs/defi-wrapper/main.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/health/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/use-cases/health/index.js +4 -0
- package/dist/programs/defi-wrapper/use-cases/health/index.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/health/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/use-cases/health/main.js +6 -0
- package/dist/programs/defi-wrapper/use-cases/health/main.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/health/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/use-cases/health/read.js +338 -0
- package/dist/programs/defi-wrapper/use-cases/health/read.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/health/utils.d.ts +56 -0
- package/dist/programs/defi-wrapper/use-cases/health/utils.js +389 -0
- package/dist/programs/defi-wrapper/use-cases/health/utils.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/health/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/use-cases/health/write.js +254 -0
- package/dist/programs/defi-wrapper/use-cases/health/write.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/use-cases/index.js +4 -0
- package/dist/programs/defi-wrapper/use-cases/index.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/use-cases/main.js +6 -0
- package/dist/programs/defi-wrapper/use-cases/main.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/create-pool.d.ts +1 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/create-pool.js +143 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/create-pool.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/index.js +5 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/index.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/main.js +6 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/main.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js +130 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.js +13 -0
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.js.map +1 -0
- package/dist/programs/dev-tools/anvil/index.d.ts +2 -0
- package/dist/programs/dev-tools/anvil/index.js +3 -0
- package/dist/programs/dev-tools/anvil/index.js.map +1 -0
- package/dist/programs/dev-tools/anvil/main.d.ts +1 -0
- package/dist/programs/dev-tools/anvil/main.js +5 -0
- package/dist/programs/dev-tools/anvil/main.js.map +1 -0
- package/dist/programs/dev-tools/anvil/write.d.ts +1 -0
- package/dist/programs/dev-tools/anvil/write.js +122 -0
- package/dist/programs/dev-tools/anvil/write.js.map +1 -0
- package/dist/programs/dev-tools/defi-wrapper/index.d.ts +2 -0
- package/dist/programs/dev-tools/defi-wrapper/index.js +3 -0
- package/dist/programs/dev-tools/defi-wrapper/index.js.map +1 -0
- package/dist/programs/dev-tools/defi-wrapper/main.d.ts +1 -0
- package/dist/programs/dev-tools/defi-wrapper/main.js +6 -0
- package/dist/programs/dev-tools/defi-wrapper/main.js.map +1 -0
- package/dist/programs/dev-tools/defi-wrapper/write.d.ts +1 -0
- package/dist/programs/dev-tools/defi-wrapper/write.js +77 -0
- package/dist/programs/dev-tools/defi-wrapper/write.js.map +1 -0
- package/dist/programs/dev-tools/index.d.ts +3 -0
- package/dist/programs/dev-tools/index.js +4 -0
- package/dist/programs/dev-tools/index.js.map +1 -0
- package/dist/programs/dev-tools/main.d.ts +1 -0
- package/dist/programs/dev-tools/main.js +6 -0
- package/dist/programs/dev-tools/main.js.map +1 -0
- package/dist/programs/index.d.ts +2 -0
- package/dist/programs/index.js +2 -0
- package/dist/programs/index.js.map +1 -1
- package/dist/programs/pdg-helpers.js +5 -5
- package/dist/programs/pdg-helpers.js.map +1 -1
- package/dist/programs/use-cases/deposits/read.js +19 -2
- package/dist/programs/use-cases/deposits/read.js.map +1 -1
- package/dist/programs/use-cases/deposits/write.js +130 -45
- package/dist/programs/use-cases/deposits/write.js.map +1 -1
- package/dist/programs/use-cases/metrics/read.js +36 -19
- package/dist/programs/use-cases/metrics/read.js.map +1 -1
- package/dist/programs/use-cases/report/read.js +14 -7
- package/dist/programs/use-cases/report/read.js.map +1 -1
- package/dist/programs/use-cases/report/write.js +7 -2
- package/dist/programs/use-cases/report/write.js.map +1 -1
- package/dist/programs/use-cases/vault-operations/create-vault.js +18 -8
- package/dist/programs/use-cases/vault-operations/create-vault.js.map +1 -1
- package/dist/programs/use-cases/vault-operations/write.js +103 -8
- package/dist/programs/use-cases/vault-operations/write.js.map +1 -1
- package/dist/providers/wallet.d.ts +6984 -169
- package/dist/providers/wallet.js +15 -5
- package/dist/providers/wallet.js.map +1 -1
- package/dist/tests/utils/calculate-overview.test.js +1 -1
- package/dist/tests/utils/calculate-overview.test.js.map +1 -1
- package/dist/tests/utils/health.test.js +2 -2
- package/dist/tests/utils/health.test.js.map +1 -1
- package/dist/types/common.d.ts +4 -0
- package/dist/utils/arguments.d.ts +8 -1
- package/dist/utils/arguments.js +61 -1
- package/dist/utils/arguments.js.map +1 -1
- package/dist/utils/bls.d.ts +2 -2
- package/dist/utils/bls.js +8 -7
- package/dist/utils/bls.js.map +1 -1
- package/dist/utils/cache.d.ts +26 -0
- package/dist/utils/cache.js +88 -3
- package/dist/utils/cache.js.map +1 -1
- package/dist/utils/calculate-overview-v2.d.ts +4 -2
- package/dist/utils/calculate-overview-v2.js +5 -8
- package/dist/utils/calculate-overview-v2.js.map +1 -1
- package/dist/utils/calculate-overview.d.ts +1 -1
- package/dist/utils/calculate-overview.js +2 -2
- package/dist/utils/calculate-overview.js.map +1 -1
- package/dist/utils/charts/blessed/charts-apr.js +3 -2
- package/dist/utils/charts/blessed/charts-apr.js.map +1 -1
- package/dist/utils/charts/blessed/charts-rewards.js +3 -2
- package/dist/utils/charts/blessed/charts-rewards.js.map +1 -1
- package/dist/utils/charts/overview.d.ts +1 -1
- package/dist/utils/charts/overview.js +1 -1
- package/dist/utils/charts/overview.js.map +1 -1
- package/dist/utils/charts/simple/simple-charts.js +3 -2
- package/dist/utils/charts/simple/simple-charts.js.map +1 -1
- package/dist/utils/commands/confirmations.d.ts +8 -4
- package/dist/utils/commands/confirmations.js +44 -34
- package/dist/utils/commands/confirmations.js.map +1 -1
- package/dist/utils/commands/report.js +2 -1
- package/dist/utils/commands/report.js.map +1 -1
- package/dist/utils/fetchCL.d.ts +1 -5
- package/dist/utils/fetchCL.js +5 -7
- package/dist/utils/fetchCL.js.map +1 -1
- package/dist/utils/health/calculate-health.d.ts +1 -1
- package/dist/utils/health/calculate-health.js +2 -2
- package/dist/utils/health/calculate-health.js.map +1 -1
- package/dist/utils/health/health-utils.d.ts +131 -131
- package/dist/utils/health/health-utils.js +12 -11
- package/dist/utils/health/health-utils.js.map +1 -1
- package/dist/utils/prompts/confirmations.js +1 -1
- package/dist/utils/prompts/confirmations.js.map +1 -1
- package/dist/utils/proof/constants.d.ts +6 -0
- package/dist/utils/proof/constants.js +7 -0
- package/dist/utils/proof/constants.js.map +1 -0
- package/dist/utils/proof/first-validator-gindex.js +0 -4
- package/dist/utils/proof/first-validator-gindex.js.map +1 -1
- package/dist/utils/proof/proofs.d.ts +7 -8
- package/dist/utils/proof/proofs.js +36 -28
- package/dist/utils/proof/proofs.js.map +1 -1
- package/dist/utils/read-programs-by-abi.d.ts +1 -1
- package/dist/utils/read-programs-by-abi.js +4 -18
- package/dist/utils/read-programs-by-abi.js.map +1 -1
- package/dist/utils/report/report.js +2 -1
- package/dist/utils/report/report.js.map +1 -1
- package/dist/utils/report/statistic-data.js +3 -3
- package/dist/utils/report/statistic-data.js.map +1 -1
- package/dist/utils/report/types.d.ts +10 -2
- package/dist/utils/statistic/report-statistic.js +13 -14
- package/dist/utils/statistic/report-statistic.js.map +1 -1
- package/dist/utils/transactions/tx-private-key.d.ts +2 -2
- package/dist/utils/transactions/tx-private-key.js +6 -6
- package/dist/utils/transactions/tx-private-key.js.map +1 -1
- package/dist/utils/transactions/tx-wc.d.ts +29 -1
- package/dist/utils/transactions/tx-wc.js +58 -28
- package/dist/utils/transactions/tx-wc.js.map +1 -1
- package/dist/utils/wallet-connect.d.ts +4 -7664
- package/dist/utils/wallet-connect.js +17 -5
- package/dist/utils/wallet-connect.js.map +1 -1
- package/dist/version/index.js +1 -1
- package/package.json +16 -7
- package/dist/abi/TokenManager.d.ts +0 -577
- package/dist/abi/TokenManager.js +0 -756
- package/dist/abi/TokenManager.js.map +0 -1
- package/dist/abi/Voting.d.ts +0 -676
- package/dist/abi/Voting.js +0 -884
- package/dist/abi/Voting.js.map +0 -1
- package/dist/contracts/token-manager.d.ts +0 -3
- package/dist/contracts/token-manager.js +0 -13
- package/dist/contracts/token-manager.js.map +0 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { formatEther } from 'viem';
|
|
2
|
+
import { mainnet } from 'viem/chains';
|
|
2
3
|
import { generatePrivateKey, privateKeyToAccount } from 'viem/accounts';
|
|
3
4
|
import { Option } from 'commander';
|
|
4
5
|
import { Keystore } from 'ox';
|
|
5
6
|
import { getStethContract, getWstethContract } from '../../contracts/index.js';
|
|
7
|
+
import { getChain } from '../../configs/index.js';
|
|
6
8
|
import { getCommandsJson, logInfo, callWriteMethodWithReceipt, stringToAddress, confirmOperation, etherToWei, } from '../../utils/index.js';
|
|
7
9
|
import { account } from './main.js';
|
|
8
10
|
const accountWrite = account
|
|
@@ -18,6 +20,12 @@ accountWrite
|
|
|
18
20
|
.command('generate-key')
|
|
19
21
|
.description('generate a new key. Disclaimer: this command is not recommended for production use.')
|
|
20
22
|
.action(async () => {
|
|
23
|
+
const chainId = (await getChain()).id;
|
|
24
|
+
const isMainnet = chainId === mainnet.id;
|
|
25
|
+
if (isMainnet) {
|
|
26
|
+
logInfo('⚠️⚠️ This command is not recommended for production use. ⚠️⚠️');
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
21
29
|
const privateKey = generatePrivateKey();
|
|
22
30
|
logInfo(`Private key: ${privateKey}`);
|
|
23
31
|
});
|
|
@@ -26,6 +34,12 @@ accountWrite
|
|
|
26
34
|
.description('generate a new encrypted account')
|
|
27
35
|
.argument('<password>', 'password for the encrypted account')
|
|
28
36
|
.action(async (password) => {
|
|
37
|
+
const chainId = (await getChain()).id;
|
|
38
|
+
const isMainnet = chainId === mainnet.id;
|
|
39
|
+
if (isMainnet) {
|
|
40
|
+
logInfo('⚠️⚠️ This command is not recommended for production use. ⚠️⚠️');
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
29
43
|
const randomPrivateKey = generatePrivateKey();
|
|
30
44
|
const account = privateKeyToAccount(randomPrivateKey);
|
|
31
45
|
const [key, opts] = Keystore.scrypt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,EAAE,UAAU,CAAC;KACzE,MAAM,CAAC,KAAK,EAAE,OAAgB,EAAE,MAAc,EAAE,EAAE;IACjD,MAAM,cAAc,GAAG,MAAM,iBAAiB,EAAE,CAAC;IAEjD,MAAM,OAAO,GAAG,MAAM,gBAAgB,CACpC,0CAA0C,WAAW,CAAC,MAAM,CAAC,eAAe,OAAO,GAAG,CACvF,CAAC;IACF,IAAI,CAAC,OAAO;QAAE,OAAO;IAErB,MAAM,0BAA0B,CAAC;QAC/B,QAAQ,EAAE,cAAc;QACxB,UAAU,EAAE,SAAS;QACrB,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;KAC3B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -16,18 +16,6 @@ export const readCommandConfig = {
|
|
|
16
16
|
name: 'total-value',
|
|
17
17
|
description: 'get the total value of the vault in ether',
|
|
18
18
|
},
|
|
19
|
-
infraFeeBP: {
|
|
20
|
-
name: 'infra-fee',
|
|
21
|
-
description: 'get infra fee basis points.',
|
|
22
|
-
},
|
|
23
|
-
liquidityFeeBP: {
|
|
24
|
-
name: 'liquidity-fee',
|
|
25
|
-
description: 'get liquidity fee basis points',
|
|
26
|
-
},
|
|
27
|
-
reservationFeeBP: {
|
|
28
|
-
name: 'reservation-fee',
|
|
29
|
-
description: 'get reservation fee basis points',
|
|
30
|
-
},
|
|
31
19
|
totalMintingCapacityShares: {
|
|
32
20
|
name: 'total-minting-capacity',
|
|
33
21
|
description: 'get the overall capacity for stETH shares that can be minted by the vault',
|
|
@@ -40,18 +28,6 @@ export const readCommandConfig = {
|
|
|
40
28
|
name: 'liability-shares',
|
|
41
29
|
description: 'get the number of stETHshares minted',
|
|
42
30
|
},
|
|
43
|
-
shareLimit: {
|
|
44
|
-
name: 's-limit',
|
|
45
|
-
description: 'get the stETH share limit of the vault',
|
|
46
|
-
},
|
|
47
|
-
reserveRatioBP: {
|
|
48
|
-
name: 'reserve-ratio',
|
|
49
|
-
description: 'get reserve ratio in basis points',
|
|
50
|
-
},
|
|
51
|
-
forcedRebalanceThresholdBP: {
|
|
52
|
-
name: 'force-rebalance-threshold',
|
|
53
|
-
description: 'get the rebalance threshold of the vault in basis points',
|
|
54
|
-
},
|
|
55
31
|
remainingMintingCapacityShares: {
|
|
56
32
|
name: 'remaining-minting-capacity',
|
|
57
33
|
description: 'get the remaining capacity for stETH shares that can be minted by the vault if additional ether is funded',
|
|
@@ -71,22 +47,14 @@ export const readCommandConfig = {
|
|
|
71
47
|
name: 'has-role',
|
|
72
48
|
description: 'get has role by role and account',
|
|
73
49
|
},
|
|
74
|
-
|
|
75
|
-
name: 'no-
|
|
76
|
-
description: 'get the node operator`s
|
|
77
|
-
},
|
|
78
|
-
feePeriodStartReport: {
|
|
79
|
-
name: 'no-fee-report',
|
|
80
|
-
description: 'get last report for which node operator fee was disbursed. Updated on each disbursement',
|
|
50
|
+
accruedFee: {
|
|
51
|
+
name: 'no-accrued-fee',
|
|
52
|
+
description: 'get the node operator`s accrued fee',
|
|
81
53
|
},
|
|
82
|
-
|
|
54
|
+
feeRate: {
|
|
83
55
|
name: 'no-fee-rate',
|
|
84
56
|
description: 'get node operator fee rate in basis points',
|
|
85
57
|
},
|
|
86
|
-
rewardsAdjustment: {
|
|
87
|
-
name: 'rewards-adjustment',
|
|
88
|
-
description: 'get rewards offset that excludes side deposits and consolidations',
|
|
89
|
-
},
|
|
90
58
|
confirmation: {
|
|
91
59
|
name: 'confirmation',
|
|
92
60
|
description: 'get the confirmation expiry for a given call data and confirmer',
|
|
@@ -95,10 +63,6 @@ export const readCommandConfig = {
|
|
|
95
63
|
name: 'get-confirm-expiry',
|
|
96
64
|
description: 'get the confirmation expiry',
|
|
97
65
|
},
|
|
98
|
-
MANUAL_REWARDS_ADJUSTMENT_LIMIT: {
|
|
99
|
-
name: 'manual-rewards-adjustment-limit',
|
|
100
|
-
description: 'get the maximum value that can be set via manual adjustment',
|
|
101
|
-
},
|
|
102
66
|
MAX_CONFIRM_EXPIRY: {
|
|
103
67
|
name: 'MAX_CONFIRM_EXPIRY',
|
|
104
68
|
description: 'get the max confirm expiry',
|
|
@@ -111,5 +75,50 @@ export const readCommandConfig = {
|
|
|
111
75
|
name: 'supports-interface',
|
|
112
76
|
description: 'get supports interface by id',
|
|
113
77
|
},
|
|
78
|
+
healthShortfallShares: {
|
|
79
|
+
name: 'health-shortfall-shares',
|
|
80
|
+
description: 'get the amount of shares to rebalance to restore vault healthiness or to cover redemptions',
|
|
81
|
+
},
|
|
82
|
+
minimalReserve: {
|
|
83
|
+
name: 'minimal-reserve',
|
|
84
|
+
description: 'get the amount of ether that is locked on the vault only as a reserve',
|
|
85
|
+
},
|
|
86
|
+
obligations: {
|
|
87
|
+
name: 'obligations',
|
|
88
|
+
description: 'get the amount of shares to burn to restore vault healthiness or to cover redemptions and the amount of outstanding Lido fees',
|
|
89
|
+
},
|
|
90
|
+
feeRecipient: {
|
|
91
|
+
name: 'node-operator-fee-recipient',
|
|
92
|
+
description: 'get the address of the node operator fee recipient',
|
|
93
|
+
},
|
|
94
|
+
maxLockableValue: {
|
|
95
|
+
name: 'max-lockable-value',
|
|
96
|
+
description: 'get the max total lockable amount of ether for the vault (excluding the Lido and node operator fees)',
|
|
97
|
+
},
|
|
98
|
+
latestReport: {
|
|
99
|
+
name: 'latest-report',
|
|
100
|
+
aliases: ['lr'],
|
|
101
|
+
description: 'get the latest report data containing the total value and in-out delta',
|
|
102
|
+
},
|
|
103
|
+
settledGrowth: {
|
|
104
|
+
name: 'settled-growth',
|
|
105
|
+
description: 'get settled growth of the vault not subject to fees',
|
|
106
|
+
},
|
|
107
|
+
pdgPolicy: {
|
|
108
|
+
name: 'pdg-policy',
|
|
109
|
+
description: 'get the current active PDG policy set by `DEFAULT_ADMIN_ROLE`',
|
|
110
|
+
},
|
|
111
|
+
latestCorrectionTimestamp: {
|
|
112
|
+
name: 'latest-correction-timestamp',
|
|
113
|
+
description: 'get the timestamp of the most recent settled growth correction',
|
|
114
|
+
},
|
|
115
|
+
obligationsShortfallValue: {
|
|
116
|
+
name: 'obligations-shortfall-value',
|
|
117
|
+
description: 'get the amount of ether required to cover obligations shortfall of the vault',
|
|
118
|
+
},
|
|
119
|
+
feeLeftover: {
|
|
120
|
+
name: 'fee-leftover',
|
|
121
|
+
description: 'get the amount of node operator fees accrued on the moment of disconnection and secured to be recovered to the `feeRecipient` address using `recoverFeeLeftover` method',
|
|
122
|
+
},
|
|
114
123
|
};
|
|
115
124
|
//# sourceMappingURL=config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../programs/contracts/dashboard/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,CAAC,MAAM,iBAAiB,GAC5B;IACE,iBAAiB,EAAE;QACjB,IAAI,EAAE,SAAS;QACf,WAAW,EACT,kEAAkE;KACrE;IACD,eAAe,EAAE;QACf,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,sBAAsB;KACpC;IACD,SAAS,EAAE;QACT,IAAI,EAAE,KAAK;QACX,WAAW,EAAE,sBAAsB;KACpC;IACD,UAAU,EAAE;QACV,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,2CAA2C;KACzD;IACD,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../programs/contracts/dashboard/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,CAAC,MAAM,iBAAiB,GAC5B;IACE,iBAAiB,EAAE;QACjB,IAAI,EAAE,SAAS;QACf,WAAW,EACT,kEAAkE;KACrE;IACD,eAAe,EAAE;QACf,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,sBAAsB;KACpC;IACD,SAAS,EAAE;QACT,IAAI,EAAE,KAAK;QACX,WAAW,EAAE,sBAAsB;KACpC;IACD,UAAU,EAAE;QACV,IAAI,EAAE,aAAa;Q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ACD,cAAc,EAAE;QACd,IAAI,EAAE,iBAAiB;QACvB,WAAW,EACT,uEAAuE;KAC1E;IACD,WAAW,EAAE;QACX,IAAI,EAAE,aAAa;QACnB,WAAW,EACT,+HAA+H;KAClI;IACD,YAAY,EAAE;QACZ,IAAI,EAAE,6BAA6B;QACnC,WAAW,EAAE,oDAAoD;KAClE;IACD,gBAAgB,EAAE;QAChB,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EACT,sGAAsG;KACzG;IACD,YAAY,EAAE;QACZ,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,CAAC,IAAI,CAAC;QACf,WAAW,EACT,wEAAwE;KAC3E;IACD,aAAa,EAAE;QACb,IAAI,EAAE,gBAAgB;QACtB,WAAW,EAAE,qDAAqD;KACnE;IACD,SAAS,EAAE;QACT,IAAI,EAAE,YAAY;QAClB,WAAW,EACT,+DAA+D;KAClE;IACD,yBAAyB,EAAE;QACzB,IAAI,EAAE,6BAA6B;QACnC,WAAW,EACT,gEAAgE;KACnE;IACD,yBAAyB,EAAE;QACzB,IAAI,EAAE,6BAA6B;QACnC,WAAW,EACT,8EAA8E;KACjF;IACD,WAAW,EAAE;QACX,IAAI,EAAE,cAAc;QACpB,WAAW,EACT,yKAAyK;KAC5K;CACF,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { Option } from 'commander';
|
|
|
2
2
|
import { DashboardAbi } from '../../../abi/index.js';
|
|
3
3
|
import { getDashboardBaseInfo, getDashboardRoles, getDashboardHealth, getDashboardOverview, } from '../../../features/index.js';
|
|
4
4
|
import { getDashboardContract, getVaultHubContract } from '../../../contracts/index.js';
|
|
5
|
-
import { generateReadCommands, logResult, logInfo, getCommandsJson, stringToAddress, callReadMethodSilent, getConfirmationsInfo, } from '../../../utils/index.js';
|
|
5
|
+
import { generateReadCommands, logResult, logInfo, getCommandsJson, stringToAddress, callReadMethodSilent, getConfirmationsInfo, logTable, } from '../../../utils/index.js';
|
|
6
6
|
import { dashboard } from './main.js';
|
|
7
7
|
import { readCommandConfig } from './config.js';
|
|
8
8
|
const dashboardRead = dashboard
|
|
@@ -19,7 +19,7 @@ dashboardRead
|
|
|
19
19
|
.description('get dashboard base info')
|
|
20
20
|
.argument('<address>', 'dashboard address', stringToAddress)
|
|
21
21
|
.action(async (address) => {
|
|
22
|
-
const contract = getDashboardContract(address);
|
|
22
|
+
const contract = await getDashboardContract(address);
|
|
23
23
|
await getDashboardBaseInfo(contract);
|
|
24
24
|
});
|
|
25
25
|
dashboardRead
|
|
@@ -27,7 +27,7 @@ dashboardRead
|
|
|
27
27
|
.description('get dashboard overview')
|
|
28
28
|
.argument('<address>', 'dashboard address', stringToAddress)
|
|
29
29
|
.action(async (address) => {
|
|
30
|
-
const contract = getDashboardContract(address);
|
|
30
|
+
const contract = await getDashboardContract(address);
|
|
31
31
|
await getDashboardOverview(contract);
|
|
32
32
|
});
|
|
33
33
|
dashboardRead
|
|
@@ -35,7 +35,7 @@ dashboardRead
|
|
|
35
35
|
.description('get dashboard roles')
|
|
36
36
|
.argument('<address>', 'dashboard address', stringToAddress)
|
|
37
37
|
.action(async (address) => {
|
|
38
|
-
const contract = getDashboardContract(address);
|
|
38
|
+
const contract = await getDashboardContract(address);
|
|
39
39
|
await getDashboardRoles(contract);
|
|
40
40
|
});
|
|
41
41
|
dashboardRead
|
|
@@ -43,7 +43,7 @@ dashboardRead
|
|
|
43
43
|
.description('get vault health info')
|
|
44
44
|
.argument('<address>', 'dashboard address', stringToAddress)
|
|
45
45
|
.action(async (address) => {
|
|
46
|
-
const contract = getDashboardContract(address);
|
|
46
|
+
const contract = await getDashboardContract(address);
|
|
47
47
|
await getDashboardHealth(contract);
|
|
48
48
|
});
|
|
49
49
|
dashboardRead
|
|
@@ -58,20 +58,55 @@ dashboardRead
|
|
|
58
58
|
data: [['Dashboard Address', vaultConnection.owner]],
|
|
59
59
|
});
|
|
60
60
|
});
|
|
61
|
+
dashboardRead
|
|
62
|
+
.command('vault-by-dashboard')
|
|
63
|
+
.description('get vault address by dashboard')
|
|
64
|
+
.argument('<dashboard>', 'dashboard address', stringToAddress)
|
|
65
|
+
.action(async (dashboard) => {
|
|
66
|
+
const dashboardContract = await getDashboardContract(dashboard);
|
|
67
|
+
const vault = await callReadMethodSilent(dashboardContract, 'stakingVault');
|
|
68
|
+
logResult({
|
|
69
|
+
data: [['Vault Address', vault]],
|
|
70
|
+
});
|
|
71
|
+
});
|
|
61
72
|
dashboardRead
|
|
62
73
|
.command('confirmations-log')
|
|
63
74
|
.description('get pending confirmations')
|
|
64
75
|
.argument('<address>', 'dashboard address', stringToAddress)
|
|
65
76
|
.action(async (address) => {
|
|
66
|
-
const contract = getDashboardContract(address);
|
|
67
|
-
await getConfirmationsInfo(contract, contract.abi);
|
|
77
|
+
const contract = await getDashboardContract(address);
|
|
78
|
+
const confirmations = await getConfirmationsInfo(contract, contract.abi);
|
|
79
|
+
if (!confirmations)
|
|
80
|
+
return console.error('No confirmations found');
|
|
81
|
+
logResult({});
|
|
82
|
+
Object.entries(confirmations).forEach(([data, { member, roleOrAddress, expiryTimestamp, expiryDate, decodedData },], idx) => {
|
|
83
|
+
console.info(`\nEvent ${idx + 1}`);
|
|
84
|
+
logTable({
|
|
85
|
+
data: [
|
|
86
|
+
['Member', member],
|
|
87
|
+
['Role/Address', roleOrAddress],
|
|
88
|
+
[
|
|
89
|
+
'Expiry Timestamp',
|
|
90
|
+
`${expiryTimestamp.toString()} (${expiryDate})`,
|
|
91
|
+
],
|
|
92
|
+
['Data', data],
|
|
93
|
+
],
|
|
94
|
+
});
|
|
95
|
+
console.info('Decoded data:');
|
|
96
|
+
logTable({
|
|
97
|
+
data: [
|
|
98
|
+
['Function', decodedData.functionName],
|
|
99
|
+
['Argument', decodedData.args[0]],
|
|
100
|
+
],
|
|
101
|
+
});
|
|
102
|
+
});
|
|
68
103
|
});
|
|
69
104
|
dashboardRead
|
|
70
105
|
.command('confirming-roles')
|
|
71
|
-
.description('get
|
|
106
|
+
.description('get the roles that can:change the confirm expiry, set the node operator fee, set a new owner of the StakingVault')
|
|
72
107
|
.argument('<address>', 'dashboard address', stringToAddress)
|
|
73
108
|
.action(async (address) => {
|
|
74
|
-
const contract = getDashboardContract(address);
|
|
109
|
+
const contract = await getDashboardContract(address);
|
|
75
110
|
const confirmingRoles = await callReadMethodSilent(contract, 'confirmingRoles');
|
|
76
111
|
const confirmingRolesNames = [
|
|
77
112
|
'DEFAULT_ADMIN_ROLE',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read.js","sourceRoot":"","sources":["../../../../programs/contracts/dashboard/read.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,GAErB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACtE,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,OAAO,EACP,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"read.js","sourceRoot":"","sources":["../../../../programs/contracts/dashboard/read.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,GAErB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACtE,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,OAAO,EACP,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,SAAS,EAAE,MAA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