@lidofinance/lsv-cli 1.6.0 → 1.8.0
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 +15 -9
- package/dist/abi/defi-wrapper/GenericStrategy.d.ts +308 -0
- package/dist/abi/defi-wrapper/GenericStrategy.js +409 -0
- package/dist/abi/defi-wrapper/GenericStrategy.js.map +1 -0
- package/dist/abi/defi-wrapper/{StvStETHPool.js → StvStEthPool.js} +1 -1
- package/dist/abi/defi-wrapper/{StvStETHPool.js.map → StvStEthPool.js.map} +1 -1
- package/dist/abi/defi-wrapper/index.d.ts +2 -1
- package/dist/abi/defi-wrapper/index.js +2 -1
- package/dist/abi/defi-wrapper/index.js.map +1 -1
- package/dist/abi/defi-wrapper/sources.d.ts +103 -0
- package/dist/abi/defi-wrapper/sources.js +104 -0
- package/dist/abi/defi-wrapper/sources.js.map +1 -0
- package/dist/command/index.js.map +1 -1
- package/dist/configs/constants.d.ts +21 -6
- package/dist/configs/deployed.d.ts +5 -0
- package/dist/configs/deployed.js +29 -10
- package/dist/configs/deployed.js.map +1 -1
- package/dist/configs/envs.js +2 -0
- package/dist/configs/envs.js.map +1 -1
- package/dist/configs/utils.js +1 -1
- package/dist/configs/utils.js.map +1 -1
- package/dist/contracts/dashboard-impl.d.ts +1 -1
- package/dist/contracts/dashboard-impl.js +1 -1
- package/dist/contracts/defi-wrapper/distributor.d.ts +1 -1
- package/dist/contracts/defi-wrapper/distributor.js +1 -1
- package/dist/contracts/defi-wrapper/factory.d.ts +1 -1
- package/dist/contracts/defi-wrapper/factory.js +1 -1
- package/dist/contracts/defi-wrapper/generic-strategy.d.ts +5 -0
- package/dist/contracts/defi-wrapper/generic-strategy.js +12 -0
- package/dist/contracts/defi-wrapper/generic-strategy.js.map +1 -0
- package/dist/contracts/defi-wrapper/index.d.ts +1 -0
- package/dist/contracts/defi-wrapper/index.js +1 -0
- package/dist/contracts/defi-wrapper/index.js.map +1 -1
- package/dist/contracts/defi-wrapper/ossifiable-proxy.d.ts +1 -1
- package/dist/contracts/defi-wrapper/ossifiable-proxy.js +1 -1
- package/dist/contracts/defi-wrapper/strategy-factory.d.ts +1 -1
- package/dist/contracts/defi-wrapper/strategy-factory.js +1 -1
- package/dist/contracts/defi-wrapper/stv-pool.d.ts +1 -1
- package/dist/contracts/defi-wrapper/stv-pool.js +1 -1
- package/dist/contracts/defi-wrapper/stv-steth-pool.d.ts +1 -1
- package/dist/contracts/defi-wrapper/stv-steth-pool.js +1 -1
- package/dist/contracts/defi-wrapper/timelock.d.ts +1 -1
- package/dist/contracts/defi-wrapper/timelock.js +1 -1
- package/dist/contracts/defi-wrapper/withdrawal-queue.d.ts +1 -1
- package/dist/contracts/defi-wrapper/withdrawal-queue.js +1 -1
- package/dist/contracts/lazy-oracle.d.ts +2 -2
- package/dist/contracts/lazy-oracle.js +3 -3
- package/dist/contracts/lazy-oracle.js.map +1 -1
- package/dist/contracts/locator.d.ts +1 -1
- package/dist/contracts/locator.js +1 -1
- package/dist/contracts/operator-grid.d.ts +2 -2
- package/dist/contracts/operator-grid.js +3 -3
- package/dist/contracts/operator-grid.js.map +1 -1
- package/dist/contracts/pdg.d.ts +2 -2
- package/dist/contracts/pdg.js +3 -3
- package/dist/contracts/pdg.js.map +1 -1
- package/dist/contracts/steth.d.ts +2 -2
- package/dist/contracts/steth.js +3 -3
- package/dist/contracts/steth.js.map +1 -1
- package/dist/contracts/vault-factory.d.ts +2 -2
- package/dist/contracts/vault-factory.js +2 -2
- package/dist/contracts/vault-hub.d.ts +2 -2
- package/dist/contracts/vault-hub.js +3 -3
- package/dist/contracts/vault-hub.js.map +1 -1
- package/dist/contracts/vault-viewer.d.ts +1 -1
- package/dist/contracts/vault-viewer.js +2 -3
- package/dist/contracts/vault-viewer.js.map +1 -1
- package/dist/contracts/vault.d.ts +1 -1
- package/dist/contracts/vault.js +1 -1
- package/dist/contracts/wsteth.d.ts +2 -2
- package/dist/contracts/wsteth.js +3 -3
- package/dist/contracts/wsteth.js.map +1 -1
- package/dist/features/consolidation.d.ts +1 -1
- package/dist/features/defi-wrapper/defi-wrapper-factory.d.ts +4 -1
- package/dist/features/defi-wrapper/defi-wrapper-factory.js +7 -4
- package/dist/features/defi-wrapper/defi-wrapper-factory.js.map +1 -1
- package/dist/features/defi-wrapper/distributor.d.ts +3 -1
- package/dist/features/defi-wrapper/distributor.js +31 -16
- package/dist/features/defi-wrapper/distributor.js.map +1 -1
- package/dist/features/defi-wrapper/index.d.ts +1 -0
- package/dist/features/defi-wrapper/index.js +1 -0
- package/dist/features/defi-wrapper/index.js.map +1 -1
- package/dist/features/defi-wrapper/pool-info.d.ts +18 -1
- package/dist/features/defi-wrapper/pool-info.js +52 -8
- package/dist/features/defi-wrapper/pool-info.js.map +1 -1
- package/dist/features/defi-wrapper/timelock-roles.d.ts +5 -0
- package/dist/features/defi-wrapper/timelock-roles.js +43 -0
- package/dist/features/defi-wrapper/timelock-roles.js.map +1 -0
- package/dist/features/defi-wrapper/timelock.d.ts +2 -7
- package/dist/features/defi-wrapper/timelock.js +6 -53
- package/dist/features/defi-wrapper/timelock.js.map +1 -1
- package/dist/features/defi-wrapper/verify-contracts.d.ts +20 -0
- package/dist/features/defi-wrapper/verify-contracts.js +145 -0
- package/dist/features/defi-wrapper/verify-contracts.js.map +1 -0
- package/dist/features/deposits/make-pdg-proof.js +1 -1
- package/dist/features/metrics.d.ts +2 -2
- package/dist/features/metrics.js +1 -1
- package/dist/features/mint-burn/mint-limit.js +1 -1
- package/dist/features/mint-burn/mint-limit.js.map +1 -1
- package/dist/features/utils/minting-capacity.js +1 -1
- package/dist/features/utils/try-fetch.js +4 -2
- package/dist/features/utils/try-fetch.js.map +1 -1
- package/dist/features/vault-factory.js +6 -5
- package/dist/features/vault-factory.js.map +1 -1
- package/dist/features/vault-operations/dashboard-by-vault.js +3 -7
- package/dist/features/vault-operations/dashboard-by-vault.js.map +1 -1
- package/dist/features/vault-operations/vault-info.js +1 -1
- package/dist/features/vault-operations/vault-info.js.map +1 -1
- package/dist/features/vault-operations/vault-overview.js +1 -1
- package/dist/features/vault-operations/vault-overview.js.map +1 -1
- package/dist/features/with-report.d.ts +1 -1
- package/dist/features/with-report.js +1 -1
- package/dist/features/with-report.js.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/programs/account/write.js +2 -1
- package/dist/programs/account/write.js.map +1 -1
- package/dist/programs/config.js +4 -2
- package/dist/programs/config.js.map +1 -1
- package/dist/programs/contracts/dashboard/read.js +3 -6
- package/dist/programs/contracts/dashboard/read.js.map +1 -1
- package/dist/programs/contracts/dashboard/write.js +2 -2
- package/dist/programs/contracts/dashboard/write.js.map +1 -1
- package/dist/programs/contracts/lazy-oracle/config.js +2 -2
- package/dist/programs/contracts/lazy-oracle/config.js.map +1 -1
- package/dist/programs/contracts/pdg/write.js +1 -1
- package/dist/programs/contracts/vault/config.js +1 -1
- package/dist/programs/contracts/vault/config.js.map +1 -1
- package/dist/programs/contracts/vault-factory/write.js +8 -9
- package/dist/programs/contracts/vault-factory/write.js.map +1 -1
- package/dist/programs/contracts/vault-viewer/config.js +8 -8
- package/dist/programs/contracts/vault-viewer/config.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/distributor/config.d.ts +1 -1
- package/dist/programs/defi-wrapper/contracts/distributor/read.js +2 -2
- package/dist/programs/defi-wrapper/contracts/distributor/write.js +1 -1
- package/dist/programs/defi-wrapper/contracts/factory/config.d.ts +1 -1
- package/dist/programs/defi-wrapper/contracts/factory/read.js +2 -2
- package/dist/programs/defi-wrapper/contracts/factory/write.js +79 -8
- package/dist/programs/defi-wrapper/contracts/factory/write.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/index.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/index.js +1 -0
- package/dist/programs/defi-wrapper/contracts/index.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/strategy/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/strategy/config.js +40 -0
- package/dist/programs/defi-wrapper/contracts/strategy/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/strategy/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/strategy/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/strategy/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/strategy/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/strategy/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/strategy/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/strategy/read.js +30 -0
- package/dist/programs/defi-wrapper/contracts/strategy/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/strategy/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/strategy/write.js +34 -0
- package/dist/programs/defi-wrapper/contracts/strategy/write.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/config.d.ts +1 -1
- package/dist/programs/defi-wrapper/contracts/stv-pool/read.js +2 -2
- package/dist/programs/defi-wrapper/contracts/stv-pool/write.js +1 -1
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/config.d.ts +1 -1
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.js +2 -2
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js +58 -22
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.d.ts +1 -1
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.js +1 -1
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.js +2 -2
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js +4 -5
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/distributor/read.js +2 -2
- package/dist/programs/defi-wrapper/use-cases/distributor/write.js +139 -31
- package/dist/programs/defi-wrapper/use-cases/distributor/write.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/health/read.js +2 -2
- package/dist/programs/defi-wrapper/use-cases/health/utils.js +2 -2
- package/dist/programs/defi-wrapper/use-cases/health/utils.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/health/write.js +3 -3
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/read.js +7 -12
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/read.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/write.js +6 -10
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/write.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/write.js +5 -5
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/write.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/index.d.ts +1 -0
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/index.js +1 -0
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/index.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/write.js +6 -6
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/write.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/read.js +1 -1
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/write.js +5 -5
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/write.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/index.d.ts +2 -0
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/index.js +3 -0
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/index.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/main.js +6 -0
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/main.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/write.js +57 -0
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/write.js.map +1 -0
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/write.js +5 -5
- package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/write.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js +37 -16
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js.map +1 -1
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.js +18 -17
- package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.js.map +1 -1
- package/dist/programs/dev-tools/anvil/write.js +2 -2
- package/dist/programs/dev-tools/anvil/write.js.map +1 -1
- package/dist/programs/dev-tools/defi-wrapper/write.js +1 -1
- package/dist/programs/pdg-helpers.js +4 -0
- package/dist/programs/pdg-helpers.js.map +1 -1
- package/dist/programs/use-cases/consolidation/write.js +4 -3
- package/dist/programs/use-cases/consolidation/write.js.map +1 -1
- package/dist/programs/use-cases/deposits/read.js +1 -2
- package/dist/programs/use-cases/deposits/read.js.map +1 -1
- package/dist/programs/use-cases/metrics/read.js +115 -1
- package/dist/programs/use-cases/metrics/read.js.map +1 -1
- package/dist/programs/use-cases/report/write.js +1 -3
- package/dist/programs/use-cases/report/write.js.map +1 -1
- package/dist/programs/use-cases/vault-operations/create-vault.js +8 -9
- package/dist/programs/use-cases/vault-operations/create-vault.js.map +1 -1
- package/dist/programs/use-cases/vault-operations/write.js +2 -14
- package/dist/programs/use-cases/vault-operations/write.js.map +1 -1
- package/dist/providers/wallet.d.ts +687 -10399
- package/dist/providers/wallet.js +80 -9
- package/dist/providers/wallet.js.map +1 -1
- package/dist/tests/fixtures/consolidation-fixtures.d.ts +64 -0
- package/dist/tests/fixtures/consolidation-fixtures.js +56 -0
- package/dist/tests/fixtures/consolidation-fixtures.js.map +1 -0
- package/dist/tests/integration/deposits.test.js +1 -1
- package/dist/tests/integration/gas-estimation.test.d.ts +1 -0
- package/dist/tests/integration/gas-estimation.test.js +76 -0
- package/dist/tests/integration/gas-estimation.test.js.map +1 -0
- package/dist/tests/integration/{globalSetup.js → global-setup.js} +2 -2
- package/dist/tests/integration/global-setup.js.map +1 -0
- package/dist/tests/integration/helpers/test-client.d.ts +586 -7068
- package/dist/tests/integration/helpers/test-config.js +4 -4
- package/dist/tests/integration/helpers/test-config.js.map +1 -1
- package/dist/tests/integration/metrics.test.js +1 -2
- package/dist/tests/integration/metrics.test.js.map +1 -1
- package/dist/tests/integration/mint-burn.test.js +1 -2
- package/dist/tests/integration/mint-burn.test.js.map +1 -1
- package/dist/tests/integration/minting-capacity.test.d.ts +1 -0
- package/dist/tests/integration/minting-capacity.test.js +52 -0
- package/dist/tests/integration/minting-capacity.test.js.map +1 -0
- package/dist/tests/integration/quarantine.test.d.ts +1 -0
- package/dist/tests/integration/quarantine.test.js +32 -0
- package/dist/tests/integration/quarantine.test.js.map +1 -0
- package/dist/tests/integration/report-fresh.test.d.ts +1 -0
- package/dist/tests/integration/report-fresh.test.js +47 -0
- package/dist/tests/integration/report-fresh.test.js.map +1 -0
- package/dist/tests/utils/arguments-security.test.d.ts +1 -0
- package/dist/tests/utils/arguments-security.test.js +34 -0
- package/dist/tests/utils/arguments-security.test.js.map +1 -0
- package/dist/tests/utils/arguments.test.js +5 -24
- package/dist/tests/utils/arguments.test.js.map +1 -1
- package/dist/tests/utils/big-int.test.d.ts +1 -0
- package/dist/tests/utils/{bigInt.test.js → big-int.test.js} +2 -2
- package/dist/tests/utils/big-int.test.js.map +1 -0
- package/dist/tests/utils/cache-security.test.d.ts +1 -0
- package/dist/tests/utils/cache-security.test.js +62 -0
- package/dist/tests/utils/cache-security.test.js.map +1 -0
- package/dist/tests/utils/cache.test.d.ts +1 -0
- package/dist/tests/utils/cache.test.js +233 -0
- package/dist/tests/utils/cache.test.js.map +1 -0
- package/dist/tests/utils/calculate-overview-v2.test.js +1 -1
- package/dist/tests/utils/calculate-overview.test.js +4 -2
- package/dist/tests/utils/calculate-overview.test.js.map +1 -1
- package/dist/tests/utils/confirmations.test.d.ts +1 -0
- package/dist/tests/utils/confirmations.test.js +35 -0
- package/dist/tests/utils/confirmations.test.js.map +1 -0
- package/dist/tests/utils/consolidation-checks.test.d.ts +1 -0
- package/dist/tests/utils/consolidation-checks.test.js +77 -0
- package/dist/tests/utils/consolidation-checks.test.js.map +1 -0
- package/dist/tests/utils/consolidation-pubkeys.test.d.ts +1 -0
- package/dist/tests/utils/consolidation-pubkeys.test.js +101 -0
- package/dist/tests/utils/consolidation-pubkeys.test.js.map +1 -0
- package/dist/tests/utils/consolidation-validator-info.test.d.ts +1 -0
- package/dist/tests/utils/consolidation-validator-info.test.js +101 -0
- package/dist/tests/utils/consolidation-validator-info.test.js.map +1 -0
- package/dist/tests/utils/consolidation-validators-checks.test.d.ts +1 -0
- package/dist/tests/utils/consolidation-validators-checks.test.js +156 -0
- package/dist/tests/utils/consolidation-validators-checks.test.js.map +1 -0
- package/dist/tests/utils/consts.test.d.ts +1 -0
- package/dist/tests/utils/consts.test.js +24 -0
- package/dist/tests/utils/consts.test.js.map +1 -0
- package/dist/tests/utils/contract-write-stateoverride.test.d.ts +1 -0
- package/dist/tests/utils/contract-write-stateoverride.test.js +135 -0
- package/dist/tests/utils/contract-write-stateoverride.test.js.map +1 -0
- package/dist/tests/utils/csv-file.test.js +1 -1
- package/dist/tests/utils/data-validators.test.js +22 -6
- package/dist/tests/utils/data-validators.test.js.map +1 -1
- package/dist/tests/utils/deployed-security.test.d.ts +1 -0
- package/dist/tests/utils/deployed-security.test.js +51 -0
- package/dist/tests/utils/deployed-security.test.js.map +1 -0
- package/dist/tests/utils/get-commands.test.js +1 -1
- package/dist/tests/utils/get-commands.test.js.map +1 -1
- package/dist/tests/utils/get-confirmations.test.d.ts +1 -0
- package/dist/tests/utils/get-confirmations.test.js +40 -0
- package/dist/tests/utils/get-confirmations.test.js.map +1 -0
- package/dist/tests/utils/ipfs-security.test.d.ts +1 -0
- package/dist/tests/utils/ipfs-security.test.js +105 -0
- package/dist/tests/utils/ipfs-security.test.js.map +1 -0
- package/dist/tests/utils/ipfs.test.js +10 -9
- package/dist/tests/utils/ipfs.test.js.map +1 -1
- package/dist/tests/utils/lido-apr.test.js +1 -1
- package/dist/tests/utils/logging.test.js +1 -1
- package/dist/tests/utils/logging.test.js.map +1 -1
- package/dist/tests/utils/merkle-utils.test.js +1 -0
- package/dist/tests/utils/merkle-utils.test.js.map +1 -1
- package/dist/tests/utils/public-client-gas-estimation.test.d.ts +1 -0
- package/dist/tests/utils/public-client-gas-estimation.test.js +231 -0
- package/dist/tests/utils/public-client-gas-estimation.test.js.map +1 -0
- package/dist/tests/utils/rate-limit-security.test.d.ts +1 -0
- package/dist/tests/utils/rate-limit-security.test.js +82 -0
- package/dist/tests/utils/rate-limit-security.test.js.map +1 -0
- package/dist/tests/utils/rebase-rewards.test.js +1 -1
- package/dist/tests/utils/report-statistic.test.js +1 -1
- package/dist/tests/utils/resove-path.test.js +2 -2
- package/dist/tests/utils/resove-path.test.js.map +1 -1
- package/dist/tests/utils/salt.test.d.ts +1 -0
- package/dist/tests/utils/salt.test.js +20 -0
- package/dist/tests/utils/salt.test.js.map +1 -0
- package/dist/tests/utils/snake-to-camel.test.js +1 -1
- package/dist/tests/utils/timestamp.test.js +1 -1
- package/dist/tests/utils/with-error.test.d.ts +1 -0
- package/dist/tests/utils/with-error.test.js +42 -0
- package/dist/tests/utils/with-error.test.js.map +1 -0
- package/dist/utils/arguments.d.ts +2 -7
- package/dist/utils/arguments.js +34 -34
- package/dist/utils/arguments.js.map +1 -1
- package/dist/utils/big-int.js +7 -0
- package/dist/utils/big-int.js.map +1 -0
- package/dist/utils/cache.js +25 -22
- package/dist/utils/cache.js.map +1 -1
- package/dist/utils/calculate-overview-v2.js +1 -1
- package/dist/utils/calculate-overview-v2.js.map +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 +2 -2
- package/dist/utils/charts/blessed/charts-apr.js.map +1 -1
- package/dist/utils/charts/blessed/charts-rewards.js +2 -2
- package/dist/utils/charts/blessed/charts-rewards.js.map +1 -1
- package/dist/utils/charts/blessed/datasets/prepare-metrics.js +1 -2
- package/dist/utils/charts/blessed/datasets/prepare-metrics.js.map +1 -1
- package/dist/utils/charts/blessed/utils.js +1 -0
- package/dist/utils/charts/blessed/utils.js.map +1 -1
- package/dist/utils/charts/overview.js +3 -3
- package/dist/utils/charts/overview.js.map +1 -1
- package/dist/utils/commands/confirmations.js +15 -8
- package/dist/utils/commands/confirmations.js.map +1 -1
- package/dist/utils/consolidation/validator-info.d.ts +1 -1
- package/dist/utils/consolidation/validator-info.js +4 -4
- package/dist/utils/consolidation/validator-info.js.map +1 -1
- package/dist/utils/consolidation/validators-checks.d.ts +1 -1
- package/dist/utils/consolidation/validators-checks.js +5 -5
- package/dist/utils/consolidation/validators-checks.js.map +1 -1
- package/dist/utils/csv-file.js +1 -1
- package/dist/utils/csv-file.js.map +1 -1
- package/dist/utils/data-validators.d.ts +3 -2
- package/dist/utils/data-validators.js +11 -14
- package/dist/utils/data-validators.js.map +1 -1
- package/dist/utils/{fetchCL.d.ts → fetch-cl.d.ts} +15 -17
- package/dist/utils/{fetchCL.js → fetch-cl.js} +5 -3
- package/dist/utils/fetch-cl.js.map +1 -0
- package/dist/utils/get-commands.js +3 -2
- package/dist/utils/get-commands.js.map +1 -1
- package/dist/utils/get-value.js +1 -1
- package/dist/utils/get-value.js.map +1 -1
- package/dist/utils/index.d.ts +7 -6
- package/dist/utils/index.js +7 -6
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/interrupt-handler.js +1 -1
- package/dist/utils/interrupt-handler.js.map +1 -1
- package/dist/utils/ipfs.d.ts +11 -2
- package/dist/utils/ipfs.js +52 -12
- package/dist/utils/ipfs.js.map +1 -1
- package/dist/utils/logging/console.d.ts +1 -0
- package/dist/utils/logging/console.js +35 -7
- package/dist/utils/logging/console.js.map +1 -1
- package/dist/utils/prompts/account.d.ts +1 -0
- package/dist/utils/prompts/account.js +13 -0
- package/dist/utils/prompts/account.js.map +1 -0
- package/dist/utils/prompts/index.d.ts +3 -0
- package/dist/utils/prompts/index.js +3 -0
- package/dist/utils/prompts/index.js.map +1 -1
- package/dist/utils/prompts/predeposit-guarantee.js +1 -1
- package/dist/utils/prompts/strategy.d.ts +15398 -0
- package/dist/utils/prompts/strategy.js +10 -0
- package/dist/utils/prompts/strategy.js.map +1 -0
- package/dist/utils/prompts/timelock-roles.d.ts +1 -0
- package/dist/utils/prompts/timelock-roles.js +13 -0
- package/dist/utils/prompts/timelock-roles.js.map +1 -0
- package/dist/utils/proof/create-proof.js +1 -1
- package/dist/utils/proof/create-proof.js.map +1 -1
- package/dist/utils/proof/merkle-utils.js +1 -1
- package/dist/utils/proof/merkle-utils.js.map +1 -1
- package/dist/utils/rate-limit.d.ts +6 -9
- package/dist/utils/rate-limit.js +27 -5
- package/dist/utils/rate-limit.js.map +1 -1
- package/dist/utils/read-programs-by-abi.d.ts +1 -1
- package/dist/utils/read-programs-by-abi.js +11 -12
- package/dist/utils/read-programs-by-abi.js.map +1 -1
- package/dist/utils/report/report-proof.js +1 -1
- package/dist/utils/report/report-proof.js.map +1 -1
- package/dist/utils/report/report.js +2 -2
- package/dist/utils/report/report.js.map +1 -1
- package/dist/utils/report/statistic-data.js +1 -1
- package/dist/utils/resolve-path.js +2 -2
- package/dist/utils/resolve-path.js.map +1 -1
- package/dist/utils/salt.d.ts +3 -0
- package/dist/utils/salt.js +8 -0
- package/dist/utils/salt.js.map +1 -0
- package/dist/utils/share-rate.js +1 -1
- package/dist/utils/share-rate.js.map +1 -1
- package/dist/utils/snake-to-camel.js +1 -1
- package/dist/utils/snake-to-camel.js.map +1 -1
- package/dist/utils/spinner/spinners.js +2 -1
- package/dist/utils/spinner/spinners.js.map +1 -1
- package/dist/utils/statistic/report-statistic.d.ts +1 -1
- package/dist/utils/transactions/tx-private-key.d.ts +2 -1
- package/dist/utils/transactions/tx-private-key.js +5 -8
- package/dist/utils/transactions/tx-private-key.js.map +1 -1
- package/dist/utils/transactions/tx-wc.d.ts +2 -2
- package/dist/utils/transactions/tx-wc.js +11 -15
- package/dist/utils/transactions/tx-wc.js.map +1 -1
- package/dist/utils/transactions/utils.d.ts +1 -0
- package/dist/utils/transactions/utils.js +12 -0
- package/dist/utils/transactions/utils.js.map +1 -1
- package/dist/utils/wallet-connect.js +2 -3
- package/dist/utils/wallet-connect.js.map +1 -1
- package/dist/version/index.js +1 -1
- package/dist/vitest.config.js +1 -1
- package/dist/vitest.config.js.map +1 -1
- package/dist/vitest.integration.config.js +2 -2
- package/dist/vitest.integration.config.js.map +1 -1
- package/package.json +18 -24
- package/dist/tests/integration/globalSetup.js.map +0 -1
- package/dist/tests/utils/bigInt.test.js.map +0 -1
- package/dist/utils/bigInt.js +0 -3
- package/dist/utils/bigInt.js.map +0 -1
- package/dist/utils/fetchCL.js.map +0 -1
- /package/dist/abi/defi-wrapper/{StvStETHPool.d.ts → StvStEthPool.d.ts} +0 -0
- /package/dist/{tests/utils/bigInt.test.d.ts → programs/defi-wrapper/contracts/strategy/read.d.ts} +0 -0
- /package/dist/tests/integration/{globalSetup.d.ts → global-setup.d.ts} +0 -0
- /package/dist/utils/{bigInt.d.ts → big-int.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ For changes between versions see [Changelog](./CHANGELOG.md)
|
|
|
27
27
|
## Prerequisites
|
|
28
28
|
|
|
29
29
|
- **Node.js**: Ensure you have Node.js (v20 or later) installed.
|
|
30
|
-
- **
|
|
30
|
+
- **Yarn**: Yarn package manager is required to install dependencies.
|
|
31
31
|
|
|
32
32
|
## Installation
|
|
33
33
|
|
|
@@ -36,6 +36,7 @@ For changes between versions see [Changelog](./CHANGELOG.md)
|
|
|
36
36
|
```bash
|
|
37
37
|
git clone git@github.com:lidofinance/lido-staking-vault-cli.git
|
|
38
38
|
cd lido-staking-vault-cli
|
|
39
|
+
yarn install
|
|
39
40
|
```
|
|
40
41
|
|
|
41
42
|
### Branch Selection
|
|
@@ -57,13 +58,14 @@ git checkout develop
|
|
|
57
58
|
|
|
58
59
|
Before using the CLI, configure your environment variables. You can set them in a `.env` file in your project root.
|
|
59
60
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
```env
|
|
62
|
+
# Network Configuration (Required)
|
|
63
|
+
CHAIN_ID=560048
|
|
64
|
+
CL_URL=https://your-consensus-layer-endpoint
|
|
65
|
+
EL_URL=https://your-execution-layer-endpoint
|
|
64
66
|
|
|
65
|
-
# Contract addresses
|
|
66
|
-
DEPLOYED=deployed-hoodi-vaults.json
|
|
67
|
+
# Contract addresses (Required)
|
|
68
|
+
DEPLOYED=deployed-hoodi-vaults.json
|
|
67
69
|
|
|
68
70
|
# Wallet
|
|
69
71
|
PRIVATE_KEY=0x
|
|
@@ -78,8 +80,8 @@ PRIVATE_KEY=0x
|
|
|
78
80
|
WALLET_CONNECT_PROJECT_ID=ee928c025792b10a6daa97d85328c433
|
|
79
81
|
```
|
|
80
82
|
|
|
81
|
-
If you plan to manage contracts,
|
|
82
|
-
|
|
83
|
+
If you plan to manage contracts, **PRIVATE_KEY** (or an encrypted account file) is required for write operations.
|
|
84
|
+
Ensure your **EL_URL** matches the configured **CHAIN_ID**.
|
|
83
85
|
|
|
84
86
|
## Usage
|
|
85
87
|
|
|
@@ -110,20 +112,24 @@ yarn start contracts hub r v-count
|
|
|
110
112
|
## Programs
|
|
111
113
|
|
|
112
114
|
- [Get Started](https://lidofinance.github.io/lido-staking-vault-cli/category/get-started)
|
|
115
|
+
- [Global Flags](https://lidofinance.github.io/lido-staking-vault-cli/commands/global-flags)
|
|
113
116
|
- [Account](https://lidofinance.github.io/lido-staking-vault-cli/commands/account)
|
|
114
117
|
- [Vault Operations](https://lidofinance.github.io/lido-staking-vault-cli/commands/vault-operations)
|
|
115
118
|
- [Deposits](https://lidofinance.github.io/lido-staking-vault-cli/commands/deposits)
|
|
116
119
|
- [Metrics](https://lidofinance.github.io/lido-staking-vault-cli/commands/metrics)
|
|
117
120
|
- [Report](https://lidofinance.github.io/lido-staking-vault-cli/commands/report)
|
|
121
|
+
- [Consolidation](https://lidofinance.github.io/lido-staking-vault-cli/commands/consolidation)
|
|
118
122
|
- [PredepositGuarantee Helpers](https://lidofinance.github.io/lido-staking-vault-cli/commands/pdg-helpers)
|
|
119
123
|
- Contracts:
|
|
120
124
|
- [Dashboard](https://lidofinance.github.io/lido-staking-vault-cli/commands/contracts/dashboard)
|
|
125
|
+
- [LazyOracle](https://lidofinance.github.io/lido-staking-vault-cli/commands/contracts/lazy-oracle)
|
|
121
126
|
- [OperatorGrid](https://lidofinance.github.io/lido-staking-vault-cli/commands/contracts/operator-grid)
|
|
122
127
|
- [PredepositGuarantee](https://lidofinance.github.io/lido-staking-vault-cli/commands/contracts/predeposit-guarantee)
|
|
123
128
|
- [VaultFactory](https://lidofinance.github.io/lido-staking-vault-cli/commands/contracts/vault-factory)
|
|
124
129
|
- [VaultHub](https://lidofinance.github.io/lido-staking-vault-cli/commands/contracts/vault-hub)
|
|
125
130
|
- [VaultViewer](https://lidofinance.github.io/lido-staking-vault-cli/commands/contracts/vault-viewer)
|
|
126
131
|
- [Vault](https://lidofinance.github.io/lido-staking-vault-cli/commands/contracts/vault)
|
|
132
|
+
- [DeFi Wrapper](https://lidofinance.github.io/lido-staking-vault-cli/category/defi-wrapper)
|
|
127
133
|
|
|
128
134
|
## Testing
|
|
129
135
|
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
export declare const GenericStrategyAbi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "ALLOW_LIST_ENABLED";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "bool";
|
|
8
|
+
readonly internalType: "bool";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
}, {
|
|
12
|
+
readonly type: "function";
|
|
13
|
+
readonly name: "isAllowListed";
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly name: "_user";
|
|
16
|
+
readonly type: "address";
|
|
17
|
+
readonly internalType: "address";
|
|
18
|
+
}];
|
|
19
|
+
readonly outputs: readonly [{
|
|
20
|
+
readonly name: "";
|
|
21
|
+
readonly type: "bool";
|
|
22
|
+
readonly internalType: "bool";
|
|
23
|
+
}];
|
|
24
|
+
readonly stateMutability: "view";
|
|
25
|
+
}, {
|
|
26
|
+
readonly type: "function";
|
|
27
|
+
readonly name: "safeTransferERC20";
|
|
28
|
+
readonly inputs: readonly [{
|
|
29
|
+
readonly name: "_token";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
readonly internalType: "address";
|
|
32
|
+
}, {
|
|
33
|
+
readonly name: "_recipient";
|
|
34
|
+
readonly type: "address";
|
|
35
|
+
readonly internalType: "address";
|
|
36
|
+
}, {
|
|
37
|
+
readonly name: "_amount";
|
|
38
|
+
readonly type: "uint256";
|
|
39
|
+
readonly internalType: "uint256";
|
|
40
|
+
}];
|
|
41
|
+
readonly outputs: readonly [];
|
|
42
|
+
readonly stateMutability: "nonpayable";
|
|
43
|
+
}, {
|
|
44
|
+
readonly type: "function";
|
|
45
|
+
readonly name: "STRATEGY_ID";
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly outputs: readonly [{
|
|
48
|
+
readonly name: "";
|
|
49
|
+
readonly type: "bytes32";
|
|
50
|
+
readonly internalType: "bytes32";
|
|
51
|
+
}];
|
|
52
|
+
readonly stateMutability: "view";
|
|
53
|
+
}, {
|
|
54
|
+
readonly type: "function";
|
|
55
|
+
readonly name: "WSTETH";
|
|
56
|
+
readonly inputs: readonly [];
|
|
57
|
+
readonly outputs: readonly [{
|
|
58
|
+
readonly name: "";
|
|
59
|
+
readonly type: "address";
|
|
60
|
+
readonly internalType: "contract IWstETH";
|
|
61
|
+
}];
|
|
62
|
+
readonly stateMutability: "view";
|
|
63
|
+
}, {
|
|
64
|
+
readonly type: "function";
|
|
65
|
+
readonly name: "burnWsteth";
|
|
66
|
+
readonly inputs: readonly [{
|
|
67
|
+
readonly name: "_wstethToBurn";
|
|
68
|
+
readonly type: "uint256";
|
|
69
|
+
readonly internalType: "uint256";
|
|
70
|
+
}];
|
|
71
|
+
readonly outputs: readonly [];
|
|
72
|
+
readonly stateMutability: "nonpayable";
|
|
73
|
+
}, {
|
|
74
|
+
readonly type: "function";
|
|
75
|
+
readonly name: "mintedStethSharesOf";
|
|
76
|
+
readonly inputs: readonly [{
|
|
77
|
+
readonly name: "_user";
|
|
78
|
+
readonly type: "address";
|
|
79
|
+
readonly internalType: "address";
|
|
80
|
+
}];
|
|
81
|
+
readonly outputs: readonly [{
|
|
82
|
+
readonly name: "mintedStethShares";
|
|
83
|
+
readonly type: "uint256";
|
|
84
|
+
readonly internalType: "uint256";
|
|
85
|
+
}];
|
|
86
|
+
readonly stateMutability: "view";
|
|
87
|
+
}, {
|
|
88
|
+
readonly type: "function";
|
|
89
|
+
readonly name: "requestWithdrawalFromPool";
|
|
90
|
+
readonly inputs: readonly [{
|
|
91
|
+
readonly name: "_recipient";
|
|
92
|
+
readonly type: "address";
|
|
93
|
+
readonly internalType: "address";
|
|
94
|
+
}, {
|
|
95
|
+
readonly name: "_stvToWithdraw";
|
|
96
|
+
readonly type: "uint256";
|
|
97
|
+
readonly internalType: "uint256";
|
|
98
|
+
}, {
|
|
99
|
+
readonly name: "_stethSharesToRebalance";
|
|
100
|
+
readonly type: "uint256";
|
|
101
|
+
readonly internalType: "uint256";
|
|
102
|
+
}];
|
|
103
|
+
readonly outputs: readonly [{
|
|
104
|
+
readonly name: "requestId";
|
|
105
|
+
readonly type: "uint256";
|
|
106
|
+
readonly internalType: "uint256";
|
|
107
|
+
}];
|
|
108
|
+
readonly stateMutability: "nonpayable";
|
|
109
|
+
}, {
|
|
110
|
+
readonly type: "function";
|
|
111
|
+
readonly name: "supply";
|
|
112
|
+
readonly inputs: readonly [{
|
|
113
|
+
readonly name: "_referral";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
readonly internalType: "address";
|
|
116
|
+
}, {
|
|
117
|
+
readonly name: "_wstethToMint";
|
|
118
|
+
readonly type: "uint256";
|
|
119
|
+
readonly internalType: "uint256";
|
|
120
|
+
}, {
|
|
121
|
+
readonly name: "_params";
|
|
122
|
+
readonly type: "bytes";
|
|
123
|
+
readonly internalType: "bytes";
|
|
124
|
+
}];
|
|
125
|
+
readonly outputs: readonly [{
|
|
126
|
+
readonly name: "stv";
|
|
127
|
+
readonly type: "uint256";
|
|
128
|
+
readonly internalType: "uint256";
|
|
129
|
+
}];
|
|
130
|
+
readonly stateMutability: "payable";
|
|
131
|
+
}, {
|
|
132
|
+
readonly type: "function";
|
|
133
|
+
readonly name: "wstethOf";
|
|
134
|
+
readonly inputs: readonly [{
|
|
135
|
+
readonly name: "_user";
|
|
136
|
+
readonly type: "address";
|
|
137
|
+
readonly internalType: "address";
|
|
138
|
+
}];
|
|
139
|
+
readonly outputs: readonly [{
|
|
140
|
+
readonly name: "";
|
|
141
|
+
readonly type: "uint256";
|
|
142
|
+
readonly internalType: "uint256";
|
|
143
|
+
}];
|
|
144
|
+
readonly stateMutability: "view";
|
|
145
|
+
}, {
|
|
146
|
+
readonly type: "function";
|
|
147
|
+
readonly name: "getStrategyCallForwarderAddress";
|
|
148
|
+
readonly inputs: readonly [{
|
|
149
|
+
readonly name: "_user";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
readonly internalType: "address";
|
|
152
|
+
}];
|
|
153
|
+
readonly outputs: readonly [{
|
|
154
|
+
readonly name: "callForwarder";
|
|
155
|
+
readonly type: "address";
|
|
156
|
+
readonly internalType: "contract IStrategyCallForwarder";
|
|
157
|
+
}];
|
|
158
|
+
readonly stateMutability: "view";
|
|
159
|
+
}, {
|
|
160
|
+
readonly type: "error";
|
|
161
|
+
readonly name: "ZeroArgument";
|
|
162
|
+
readonly inputs: readonly [{
|
|
163
|
+
readonly name: "name";
|
|
164
|
+
readonly type: "string";
|
|
165
|
+
readonly internalType: "string";
|
|
166
|
+
}];
|
|
167
|
+
}, {
|
|
168
|
+
readonly inputs: readonly [];
|
|
169
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
170
|
+
readonly outputs: readonly [{
|
|
171
|
+
readonly internalType: "bytes32";
|
|
172
|
+
readonly name: "";
|
|
173
|
+
readonly type: "bytes32";
|
|
174
|
+
}];
|
|
175
|
+
readonly stateMutability: "view";
|
|
176
|
+
readonly type: "function";
|
|
177
|
+
}, {
|
|
178
|
+
readonly type: "function";
|
|
179
|
+
readonly name: "ALLOW_LIST_MANAGER_ROLE";
|
|
180
|
+
readonly inputs: readonly [];
|
|
181
|
+
readonly outputs: readonly [{
|
|
182
|
+
readonly name: "";
|
|
183
|
+
readonly type: "bytes32";
|
|
184
|
+
readonly internalType: "bytes32";
|
|
185
|
+
}];
|
|
186
|
+
readonly stateMutability: "view";
|
|
187
|
+
}, {
|
|
188
|
+
readonly inputs: readonly [{
|
|
189
|
+
readonly internalType: "bytes32";
|
|
190
|
+
readonly name: "role";
|
|
191
|
+
readonly type: "bytes32";
|
|
192
|
+
}, {
|
|
193
|
+
readonly internalType: "address";
|
|
194
|
+
readonly name: "account";
|
|
195
|
+
readonly type: "address";
|
|
196
|
+
}];
|
|
197
|
+
readonly name: "grantRole";
|
|
198
|
+
readonly outputs: readonly [];
|
|
199
|
+
readonly stateMutability: "nonpayable";
|
|
200
|
+
readonly type: "function";
|
|
201
|
+
}, {
|
|
202
|
+
readonly inputs: readonly [{
|
|
203
|
+
readonly internalType: "bytes32";
|
|
204
|
+
readonly name: "role";
|
|
205
|
+
readonly type: "bytes32";
|
|
206
|
+
}, {
|
|
207
|
+
readonly internalType: "address";
|
|
208
|
+
readonly name: "account";
|
|
209
|
+
readonly type: "address";
|
|
210
|
+
}];
|
|
211
|
+
readonly name: "hasRole";
|
|
212
|
+
readonly outputs: readonly [{
|
|
213
|
+
readonly internalType: "bool";
|
|
214
|
+
readonly name: "";
|
|
215
|
+
readonly type: "bool";
|
|
216
|
+
}];
|
|
217
|
+
readonly stateMutability: "view";
|
|
218
|
+
readonly type: "function";
|
|
219
|
+
}, {
|
|
220
|
+
readonly inputs: readonly [{
|
|
221
|
+
readonly internalType: "bytes32";
|
|
222
|
+
readonly name: "role";
|
|
223
|
+
readonly type: "bytes32";
|
|
224
|
+
}, {
|
|
225
|
+
readonly internalType: "address";
|
|
226
|
+
readonly name: "callerConfirmation";
|
|
227
|
+
readonly type: "address";
|
|
228
|
+
}];
|
|
229
|
+
readonly name: "renounceRole";
|
|
230
|
+
readonly outputs: readonly [];
|
|
231
|
+
readonly stateMutability: "nonpayable";
|
|
232
|
+
readonly type: "function";
|
|
233
|
+
}, {
|
|
234
|
+
readonly inputs: readonly [{
|
|
235
|
+
readonly internalType: "bytes32";
|
|
236
|
+
readonly name: "role";
|
|
237
|
+
readonly type: "bytes32";
|
|
238
|
+
}, {
|
|
239
|
+
readonly internalType: "address";
|
|
240
|
+
readonly name: "account";
|
|
241
|
+
readonly type: "address";
|
|
242
|
+
}];
|
|
243
|
+
readonly name: "revokeRole";
|
|
244
|
+
readonly outputs: readonly [];
|
|
245
|
+
readonly stateMutability: "nonpayable";
|
|
246
|
+
readonly type: "function";
|
|
247
|
+
}, {
|
|
248
|
+
readonly type: "function";
|
|
249
|
+
readonly name: "getRoleAdmin";
|
|
250
|
+
readonly inputs: readonly [{
|
|
251
|
+
readonly name: "role";
|
|
252
|
+
readonly type: "bytes32";
|
|
253
|
+
readonly internalType: "bytes32";
|
|
254
|
+
}];
|
|
255
|
+
readonly outputs: readonly [{
|
|
256
|
+
readonly name: "";
|
|
257
|
+
readonly type: "bytes32";
|
|
258
|
+
readonly internalType: "bytes32";
|
|
259
|
+
}];
|
|
260
|
+
readonly stateMutability: "view";
|
|
261
|
+
}, {
|
|
262
|
+
readonly type: "function";
|
|
263
|
+
readonly name: "getRoleMember";
|
|
264
|
+
readonly inputs: readonly [{
|
|
265
|
+
readonly name: "role";
|
|
266
|
+
readonly type: "bytes32";
|
|
267
|
+
readonly internalType: "bytes32";
|
|
268
|
+
}, {
|
|
269
|
+
readonly name: "index";
|
|
270
|
+
readonly type: "uint256";
|
|
271
|
+
readonly internalType: "uint256";
|
|
272
|
+
}];
|
|
273
|
+
readonly outputs: readonly [{
|
|
274
|
+
readonly name: "";
|
|
275
|
+
readonly type: "address";
|
|
276
|
+
readonly internalType: "address";
|
|
277
|
+
}];
|
|
278
|
+
readonly stateMutability: "view";
|
|
279
|
+
}, {
|
|
280
|
+
readonly type: "function";
|
|
281
|
+
readonly name: "getRoleMemberCount";
|
|
282
|
+
readonly inputs: readonly [{
|
|
283
|
+
readonly name: "role";
|
|
284
|
+
readonly type: "bytes32";
|
|
285
|
+
readonly internalType: "bytes32";
|
|
286
|
+
}];
|
|
287
|
+
readonly outputs: readonly [{
|
|
288
|
+
readonly name: "";
|
|
289
|
+
readonly type: "uint256";
|
|
290
|
+
readonly internalType: "uint256";
|
|
291
|
+
}];
|
|
292
|
+
readonly stateMutability: "view";
|
|
293
|
+
}, {
|
|
294
|
+
readonly type: "function";
|
|
295
|
+
readonly name: "getRoleMembers";
|
|
296
|
+
readonly inputs: readonly [{
|
|
297
|
+
readonly name: "role";
|
|
298
|
+
readonly type: "bytes32";
|
|
299
|
+
readonly internalType: "bytes32";
|
|
300
|
+
}];
|
|
301
|
+
readonly outputs: readonly [{
|
|
302
|
+
readonly name: "";
|
|
303
|
+
readonly type: "address[]";
|
|
304
|
+
readonly internalType: "address[]";
|
|
305
|
+
}];
|
|
306
|
+
readonly stateMutability: "view";
|
|
307
|
+
}];
|
|
308
|
+
export type GenericStrategyAbiType = typeof GenericStrategyAbi;
|