@lidofinance/lsv-cli 1.1.0 → 1.2.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/dist/abi/Dashboard.d.ts +23 -3
- package/dist/abi/Dashboard.js +8 -3
- package/dist/abi/Dashboard.js.map +1 -1
- package/dist/abi/LazyOracle.d.ts +364 -0
- package/dist/abi/LazyOracle.js +2 -0
- package/dist/abi/LazyOracle.js.map +1 -1
- package/dist/abi/OperatorGrid.d.ts +24 -0
- package/dist/abi/OperatorGrid.js +16 -0
- package/dist/abi/OperatorGrid.js.map +1 -1
- package/dist/abi/ValidatorConsolidationRequests.d.ts +121 -0
- package/dist/abi/ValidatorConsolidationRequests.js +159 -0
- package/dist/abi/ValidatorConsolidationRequests.js.map +1 -0
- package/dist/abi/VaultFactory.d.ts +16 -0
- package/dist/abi/VaultViewer.d.ts +0 -14
- package/dist/abi/VaultViewer.js +0 -19
- package/dist/abi/VaultViewer.js.map +1 -1
- package/dist/abi/defi-wrapper/Distributor.d.ts +40 -2
- package/dist/abi/defi-wrapper/Distributor.js +52 -2
- package/dist/abi/defi-wrapper/Distributor.js.map +1 -1
- package/dist/abi/defi-wrapper/Factory.d.ts +973 -550
- package/dist/abi/defi-wrapper/Factory.js +720 -763
- package/dist/abi/defi-wrapper/Factory.js.map +1 -1
- package/dist/abi/defi-wrapper/StvPool.d.ts +121 -325
- package/dist/abi/defi-wrapper/StvPool.js +143 -413
- package/dist/abi/defi-wrapper/StvPool.js.map +1 -1
- package/dist/abi/defi-wrapper/StvStETHPool.d.ts +398 -381
- package/dist/abi/defi-wrapper/StvStETHPool.js +448 -433
- package/dist/abi/defi-wrapper/StvStETHPool.js.map +1 -1
- package/dist/abi/defi-wrapper/WithdrawalQueue.d.ts +309 -175
- package/dist/abi/defi-wrapper/WithdrawalQueue.js +381 -206
- package/dist/abi/defi-wrapper/WithdrawalQueue.js.map +1 -1
- package/dist/abi/defi-wrapper/index.d.ts +0 -1
- package/dist/abi/defi-wrapper/index.js +0 -1
- package/dist/abi/defi-wrapper/index.js.map +1 -1
- package/dist/abi/index.d.ts +1 -0
- package/dist/abi/index.js +1 -0
- 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 +8 -0
- package/dist/configs/utils.js.map +1 -1
- package/dist/contracts/dashboard-impl.d.ts +2 -2
- package/dist/contracts/dashboard-impl.js +3 -2
- package/dist/contracts/dashboard-impl.js.map +1 -1
- 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 +1 -1
- package/dist/contracts/defi-wrapper/distributor.js +3 -2
- package/dist/contracts/defi-wrapper/distributor.js.map +1 -1
- package/dist/contracts/defi-wrapper/factory.d.ts +1 -1
- package/dist/contracts/defi-wrapper/factory.js +3 -2
- package/dist/contracts/defi-wrapper/factory.js.map +1 -1
- package/dist/contracts/defi-wrapper/index.d.ts +0 -1
- package/dist/contracts/defi-wrapper/index.js +0 -1
- package/dist/contracts/defi-wrapper/index.js.map +1 -1
- package/dist/contracts/defi-wrapper/stv-pool.d.ts +2 -2
- package/dist/contracts/defi-wrapper/stv-pool.js +3 -2
- package/dist/contracts/defi-wrapper/stv-pool.js.map +1 -1
- package/dist/contracts/defi-wrapper/stv-steth-pool.d.ts +1 -1
- package/dist/contracts/defi-wrapper/stv-steth-pool.js +3 -2
- package/dist/contracts/defi-wrapper/stv-steth-pool.js.map +1 -1
- package/dist/contracts/defi-wrapper/withdrawal-queue.d.ts +1 -1
- package/dist/contracts/defi-wrapper/withdrawal-queue.js +3 -2
- package/dist/contracts/defi-wrapper/withdrawal-queue.js.map +1 -1
- package/dist/contracts/index.d.ts +1 -0
- package/dist/contracts/index.js +1 -0
- 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 -9655
- 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 +54 -54
- package/dist/contracts/steth.js +3 -2
- package/dist/contracts/steth.js.map +1 -1
- package/dist/contracts/validator-consolidation-requests.d.ts +5 -0
- package/dist/contracts/validator-consolidation-requests.js +13 -0
- package/dist/contracts/validator-consolidation-requests.js.map +1 -0
- package/dist/contracts/vault-factory.d.ts +3 -28346
- 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 -9661
- 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/consolidation.d.ts +18 -0
- package/dist/features/consolidation.js +199 -0
- package/dist/features/consolidation.js.map +1 -0
- 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.js +2 -2
- package/dist/features/deposits/check-bls-deposits.js.map +1 -1
- package/dist/features/deposits/index.d.ts +1 -0
- package/dist/features/deposits/index.js +1 -0
- package/dist/features/deposits/index.js.map +1 -1
- package/dist/features/deposits/make-pdg-proof.js +1 -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/deposits/pdg.d.ts +2 -0
- package/dist/features/deposits/pdg.js +18 -0
- package/dist/features/deposits/pdg.js.map +1 -0
- 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 +4 -1
- package/dist/features/index.js +4 -1
- package/dist/features/index.js.map +1 -1
- package/dist/features/metrics.d.ts +4 -0
- package/dist/features/metrics.js +48 -0
- package/dist/features/metrics.js.map +1 -0
- package/dist/features/pdg.js +4 -0
- 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 +1 -0
- package/dist/features/utils/index.js +1 -0
- package/dist/features/utils/index.js.map +1 -1
- package/dist/features/utils/quarantine.js +2 -0
- package/dist/features/utils/quarantine.js.map +1 -1
- package/dist/features/utils/report-fresh.js +2 -3
- package/dist/features/utils/report-fresh.js.map +1 -1
- package/dist/features/vault-factory.js +2 -2
- package/dist/features/vault-factory.js.map +1 -1
- package/dist/features/vault-operations/create-vault.d.ts +4 -2
- package/dist/features/vault-operations/create-vault.js +11 -3
- package/dist/features/vault-operations/create-vault.js.map +1 -1
- package/dist/features/vault-operations/dashboard-by-vault.js +4 -4
- 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/vault-operations/vault-roles.js +3 -0
- package/dist/features/vault-operations/vault-roles.js.map +1 -1
- package/dist/features/vault-operations/vaults-by-role.js +29 -10
- package/dist/features/vault-operations/vaults-by-role.js.map +1 -1
- package/dist/features/vault.js +4 -2
- package/dist/features/vault.js.map +1 -1
- package/dist/index.js +7 -2
- 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/read.js +7 -7
- package/dist/programs/contracts/dashboard/read.js.map +1 -1
- package/dist/programs/contracts/dashboard/write.js +42 -42
- package/dist/programs/contracts/dashboard/write.js.map +1 -1
- package/dist/programs/contracts/hub/config.js +0 -10
- 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 +1 -1
- package/dist/programs/contracts/hub/write.js.map +1 -1
- package/dist/programs/contracts/pdg/read.js +2 -1
- package/dist/programs/contracts/pdg/read.js.map +1 -1
- package/dist/programs/contracts/pdg/write.js +37 -3
- package/dist/programs/contracts/pdg/write.js.map +1 -1
- package/dist/programs/contracts/vault/write.js +16 -16
- package/dist/programs/contracts/vault/write.js.map +1 -1
- package/dist/programs/contracts/vault-factory/write.js +2 -2
- package/dist/programs/contracts/vault-factory/write.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/distributor/read.js +1 -1
- package/dist/programs/defi-wrapper/contracts/distributor/read.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/distributor/write.js +3 -3
- package/dist/programs/defi-wrapper/contracts/distributor/write.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/factory/read.js +2 -8
- package/dist/programs/defi-wrapper/contracts/factory/read.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/factory/write.js +90 -273
- package/dist/programs/defi-wrapper/contracts/factory/write.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/index.d.ts +0 -1
- package/dist/programs/defi-wrapper/contracts/index.js +0 -1
- package/dist/programs/defi-wrapper/contracts/index.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/stv-pool/config.js +22 -32
- package/dist/programs/defi-wrapper/contracts/stv-pool/config.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/stv-pool/read.js +17 -24
- package/dist/programs/defi-wrapper/contracts/stv-pool/read.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/stv-pool/write.js +25 -174
- package/dist/programs/defi-wrapper/contracts/stv-pool/write.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/config.js +0 -90
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/config.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.js +16 -23
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js +34 -231
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.js +1 -91
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.js +8 -27
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js +55 -24
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js.map +1 -1
- package/dist/programs/defi-wrapper/index.d.ts +1 -0
- package/dist/programs/defi-wrapper/index.js +1 -0
- package/dist/programs/defi-wrapper/index.js.map +1 -1
- 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.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.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 +1 -0
- package/dist/programs/index.js +1 -0
- package/dist/programs/index.js.map +1 -1
- package/dist/programs/pdg-helpers.js +19 -15
- package/dist/programs/pdg-helpers.js.map +1 -1
- package/dist/programs/use-cases/consolidation/index.d.ts +2 -0
- package/dist/programs/use-cases/consolidation/index.js +3 -0
- package/dist/programs/use-cases/consolidation/index.js.map +1 -0
- package/dist/programs/use-cases/consolidation/main.d.ts +1 -0
- package/dist/programs/use-cases/consolidation/main.js +5 -0
- package/dist/programs/use-cases/consolidation/main.js.map +1 -0
- package/dist/programs/use-cases/consolidation/write.d.ts +1 -0
- package/dist/programs/use-cases/consolidation/write.js +78 -0
- package/dist/programs/use-cases/consolidation/write.js.map +1 -0
- package/dist/programs/use-cases/deposits/read.js +4 -0
- package/dist/programs/use-cases/deposits/read.js.map +1 -1
- package/dist/programs/use-cases/deposits/write.js +41 -11
- package/dist/programs/use-cases/deposits/write.js.map +1 -1
- package/dist/programs/use-cases/index.d.ts +1 -0
- package/dist/programs/use-cases/index.js +1 -0
- package/dist/programs/use-cases/index.js.map +1 -1
- package/dist/programs/use-cases/metrics/read.js +9 -20
- package/dist/programs/use-cases/metrics/read.js.map +1 -1
- package/dist/programs/use-cases/vault-operations/create-vault.js +2 -2
- package/dist/programs/use-cases/vault-operations/create-vault.js.map +1 -1
- package/dist/providers/wallet.d.ts +14539 -63
- package/dist/providers/wallet.js +14 -4
- package/dist/providers/wallet.js.map +1 -1
- package/dist/tests/utils/bigInt.test.d.ts +1 -0
- package/dist/tests/utils/bigInt.test.js +61 -0
- package/dist/tests/utils/bigInt.test.js.map +1 -0
- package/dist/types/config.d.ts +1 -0
- package/dist/utils/arguments.d.ts +4 -0
- package/dist/utils/arguments.js +40 -1
- package/dist/utils/arguments.js.map +1 -1
- package/dist/utils/bigInt.d.ts +2 -0
- package/dist/utils/bigInt.js +3 -0
- package/dist/utils/bigInt.js.map +1 -0
- 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 +30 -0
- package/dist/utils/cache.js +140 -3
- package/dist/utils/cache.js.map +1 -1
- package/dist/utils/calculate-overview-v2.js +1 -2
- package/dist/utils/calculate-overview-v2.js.map +1 -1
- package/dist/utils/calculate-overview.js +1 -2
- package/dist/utils/calculate-overview.js.map +1 -1
- package/dist/utils/charts/blessed/charts-apr.js +8 -18
- package/dist/utils/charts/blessed/charts-apr.js.map +1 -1
- package/dist/utils/charts/blessed/charts-rewards.js +7 -17
- package/dist/utils/charts/blessed/charts-rewards.js.map +1 -1
- package/dist/utils/charts/blessed/datasets/prepare-metrics.d.ts +5 -5
- package/dist/utils/charts/blessed/datasets/prepare-metrics.js +11 -11
- package/dist/utils/charts/blessed/datasets/prepare-metrics.js.map +1 -1
- package/dist/utils/charts/simple/simple-charts.js +8 -18
- package/dist/utils/charts/simple/simple-charts.js.map +1 -1
- package/dist/utils/commands/confirmations.js +1 -1
- package/dist/utils/commands/confirmations.js.map +1 -1
- package/dist/utils/commands/report.d.ts +1 -1
- package/dist/utils/commands/report.js +3 -2
- package/dist/utils/commands/report.js.map +1 -1
- package/dist/utils/consolidation/checks.d.ts +7 -0
- package/dist/utils/consolidation/checks.js +40 -0
- package/dist/utils/consolidation/checks.js.map +1 -0
- package/dist/utils/consolidation/confirms.d.ts +4 -0
- package/dist/utils/consolidation/confirms.js +41 -0
- package/dist/utils/consolidation/confirms.js.map +1 -0
- package/dist/utils/consolidation/index.d.ts +6 -0
- package/dist/utils/consolidation/index.js +7 -0
- package/dist/utils/consolidation/index.js.map +1 -0
- package/dist/utils/consolidation/logs.d.ts +3 -0
- package/dist/utils/consolidation/logs.js +41 -0
- package/dist/utils/consolidation/logs.js.map +1 -0
- package/dist/utils/consolidation/pubkeys.d.ts +8 -0
- package/dist/utils/consolidation/pubkeys.js +40 -0
- package/dist/utils/consolidation/pubkeys.js.map +1 -0
- package/dist/utils/consolidation/types.d.ts +11 -0
- package/dist/utils/consolidation/types.js +2 -0
- package/dist/utils/consolidation/types.js.map +1 -0
- package/dist/utils/consolidation/validator-info.d.ts +4 -0
- package/dist/utils/consolidation/validator-info.js +34 -0
- package/dist/utils/consolidation/validator-info.js.map +1 -0
- package/dist/utils/consolidation/validators-checks.d.ts +10 -0
- package/dist/utils/consolidation/validators-checks.js +58 -0
- package/dist/utils/consolidation/validators-checks.js.map +1 -0
- package/dist/utils/fetchCL.d.ts +35 -14
- package/dist/utils/fetchCL.js +78 -5
- package/dist/utils/fetchCL.js.map +1 -1
- package/dist/utils/health/health-utils.d.ts +54 -54
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.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 +1 -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/statistic/report-statistic.d.ts +6 -5
- package/dist/utils/statistic/report-statistic.js +15 -16
- package/dist/utils/statistic/report-statistic.js.map +1 -1
- package/dist/utils/transactions/tx-private-key.js +14 -9
- package/dist/utils/transactions/tx-private-key.js.map +1 -1
- package/dist/utils/transactions/tx-wc.d.ts +5 -3
- package/dist/utils/transactions/tx-wc.js +21 -10
- package/dist/utils/transactions/tx-wc.js.map +1 -1
- package/dist/utils/transactions/types.d.ts +4 -2
- package/dist/utils/wallet-connect.js +3 -3
- package/dist/utils/wallet-connect.js.map +1 -1
- package/dist/version/index.js +1 -1
- package/package.json +2 -2
- package/dist/abi/defi-wrapper/StvStrategyPool.d.ts +0 -1769
- package/dist/abi/defi-wrapper/StvStrategyPool.js +0 -2319
- package/dist/abi/defi-wrapper/StvStrategyPool.js.map +0 -1
- package/dist/contracts/defi-wrapper/stv-strategy-pool.d.ts +0 -4
- package/dist/contracts/defi-wrapper/stv-strategy-pool.js +0 -11
- package/dist/contracts/defi-wrapper/stv-strategy-pool.js.map +0 -1
- package/dist/features/defi-wrapper-factory.d.ts +0 -18
- package/dist/features/defi-wrapper-factory.js +0 -28
- package/dist/features/defi-wrapper-factory.js.map +0 -1
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/config.d.ts +0 -3
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/config.js +0 -214
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/config.js.map +0 -1
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/index.js.map +0 -1
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/main.d.ts +0 -1
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/main.js +0 -6
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/main.js.map +0 -1
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/read.js +0 -77
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/read.js.map +0 -1
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/write.js +0 -370
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/write.js.map +0 -1
- /package/dist/programs/defi-wrapper/{contracts/stv-strategy-pool → use-cases/health}/index.d.ts +0 -0
- /package/dist/programs/defi-wrapper/{contracts/stv-strategy-pool → use-cases/health}/index.js +0 -0
- /package/dist/programs/defi-wrapper/{contracts/stv-strategy-pool → use-cases/health}/read.d.ts +0 -0
- /package/dist/programs/defi-wrapper/{contracts/stv-strategy-pool → use-cases/health}/write.d.ts +0 -0
|
@@ -24,14 +24,14 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
24
24
|
readonly name: "_lazyOracle";
|
|
25
25
|
readonly type: "address";
|
|
26
26
|
readonly internalType: "address";
|
|
27
|
-
}, {
|
|
28
|
-
readonly name: "_maxAcceptableWQFinalizationTimeInSeconds";
|
|
29
|
-
readonly type: "uint256";
|
|
30
|
-
readonly internalType: "uint256";
|
|
31
27
|
}, {
|
|
32
28
|
readonly name: "_minWithdrawalDelayTimeInSeconds";
|
|
33
29
|
readonly type: "uint256";
|
|
34
30
|
readonly internalType: "uint256";
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "_isRebalancingSupported";
|
|
33
|
+
readonly type: "bool";
|
|
34
|
+
readonly internalType: "bool";
|
|
35
35
|
}];
|
|
36
36
|
readonly stateMutability: "nonpayable";
|
|
37
37
|
}, {
|
|
@@ -77,6 +77,36 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
77
77
|
readonly internalType: "uint256";
|
|
78
78
|
}];
|
|
79
79
|
readonly stateMutability: "view";
|
|
80
|
+
}, {
|
|
81
|
+
readonly type: "function";
|
|
82
|
+
readonly name: "FINALIZE_FEATURE";
|
|
83
|
+
readonly inputs: readonly [];
|
|
84
|
+
readonly outputs: readonly [{
|
|
85
|
+
readonly name: "";
|
|
86
|
+
readonly type: "bytes32";
|
|
87
|
+
readonly internalType: "bytes32";
|
|
88
|
+
}];
|
|
89
|
+
readonly stateMutability: "view";
|
|
90
|
+
}, {
|
|
91
|
+
readonly type: "function";
|
|
92
|
+
readonly name: "FINALIZE_PAUSE_ROLE";
|
|
93
|
+
readonly inputs: readonly [];
|
|
94
|
+
readonly outputs: readonly [{
|
|
95
|
+
readonly name: "";
|
|
96
|
+
readonly type: "bytes32";
|
|
97
|
+
readonly internalType: "bytes32";
|
|
98
|
+
}];
|
|
99
|
+
readonly stateMutability: "view";
|
|
100
|
+
}, {
|
|
101
|
+
readonly type: "function";
|
|
102
|
+
readonly name: "FINALIZE_RESUME_ROLE";
|
|
103
|
+
readonly inputs: readonly [];
|
|
104
|
+
readonly outputs: readonly [{
|
|
105
|
+
readonly name: "";
|
|
106
|
+
readonly type: "bytes32";
|
|
107
|
+
readonly internalType: "bytes32";
|
|
108
|
+
}];
|
|
109
|
+
readonly stateMutability: "view";
|
|
80
110
|
}, {
|
|
81
111
|
readonly type: "function";
|
|
82
112
|
readonly name: "FINALIZE_ROLE";
|
|
@@ -87,6 +117,16 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
87
117
|
readonly internalType: "bytes32";
|
|
88
118
|
}];
|
|
89
119
|
readonly stateMutability: "view";
|
|
120
|
+
}, {
|
|
121
|
+
readonly type: "function";
|
|
122
|
+
readonly name: "IS_REBALANCING_SUPPORTED";
|
|
123
|
+
readonly inputs: readonly [];
|
|
124
|
+
readonly outputs: readonly [{
|
|
125
|
+
readonly name: "";
|
|
126
|
+
readonly type: "bool";
|
|
127
|
+
readonly internalType: "bool";
|
|
128
|
+
}];
|
|
129
|
+
readonly stateMutability: "view";
|
|
90
130
|
}, {
|
|
91
131
|
readonly type: "function";
|
|
92
132
|
readonly name: "LAZY_ORACLE";
|
|
@@ -99,7 +139,7 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
99
139
|
readonly stateMutability: "view";
|
|
100
140
|
}, {
|
|
101
141
|
readonly type: "function";
|
|
102
|
-
readonly name: "
|
|
142
|
+
readonly name: "MAX_GAS_COST_COVERAGE";
|
|
103
143
|
readonly inputs: readonly [];
|
|
104
144
|
readonly outputs: readonly [{
|
|
105
145
|
readonly name: "";
|
|
@@ -109,7 +149,7 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
109
149
|
readonly stateMutability: "view";
|
|
110
150
|
}, {
|
|
111
151
|
readonly type: "function";
|
|
112
|
-
readonly name: "
|
|
152
|
+
readonly name: "MAX_WITHDRAWAL_ASSETS";
|
|
113
153
|
readonly inputs: readonly [];
|
|
114
154
|
readonly outputs: readonly [{
|
|
115
155
|
readonly name: "";
|
|
@@ -119,7 +159,7 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
119
159
|
readonly stateMutability: "view";
|
|
120
160
|
}, {
|
|
121
161
|
readonly type: "function";
|
|
122
|
-
readonly name: "
|
|
162
|
+
readonly name: "MIN_WITHDRAWAL_DELAY_TIME_IN_SECONDS";
|
|
123
163
|
readonly inputs: readonly [];
|
|
124
164
|
readonly outputs: readonly [{
|
|
125
165
|
readonly name: "";
|
|
@@ -129,7 +169,7 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
129
169
|
readonly stateMutability: "view";
|
|
130
170
|
}, {
|
|
131
171
|
readonly type: "function";
|
|
132
|
-
readonly name: "
|
|
172
|
+
readonly name: "MIN_WITHDRAWAL_VALUE";
|
|
133
173
|
readonly inputs: readonly [];
|
|
134
174
|
readonly outputs: readonly [{
|
|
135
175
|
readonly name: "";
|
|
@@ -139,27 +179,27 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
139
179
|
readonly stateMutability: "view";
|
|
140
180
|
}, {
|
|
141
181
|
readonly type: "function";
|
|
142
|
-
readonly name: "
|
|
182
|
+
readonly name: "POOL";
|
|
143
183
|
readonly inputs: readonly [];
|
|
144
184
|
readonly outputs: readonly [{
|
|
145
185
|
readonly name: "";
|
|
146
|
-
readonly type: "
|
|
147
|
-
readonly internalType: "
|
|
186
|
+
readonly type: "address";
|
|
187
|
+
readonly internalType: "contract IStvStETHPool";
|
|
148
188
|
}];
|
|
149
189
|
readonly stateMutability: "view";
|
|
150
190
|
}, {
|
|
151
191
|
readonly type: "function";
|
|
152
|
-
readonly name: "
|
|
192
|
+
readonly name: "STETH";
|
|
153
193
|
readonly inputs: readonly [];
|
|
154
194
|
readonly outputs: readonly [{
|
|
155
195
|
readonly name: "";
|
|
156
|
-
readonly type: "
|
|
157
|
-
readonly internalType: "
|
|
196
|
+
readonly type: "address";
|
|
197
|
+
readonly internalType: "contract IStETH";
|
|
158
198
|
}];
|
|
159
199
|
readonly stateMutability: "view";
|
|
160
200
|
}, {
|
|
161
201
|
readonly type: "function";
|
|
162
|
-
readonly name: "
|
|
202
|
+
readonly name: "VAULT";
|
|
163
203
|
readonly inputs: readonly [];
|
|
164
204
|
readonly outputs: readonly [{
|
|
165
205
|
readonly name: "";
|
|
@@ -169,40 +209,44 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
169
209
|
readonly stateMutability: "view";
|
|
170
210
|
}, {
|
|
171
211
|
readonly type: "function";
|
|
172
|
-
readonly name: "
|
|
212
|
+
readonly name: "VAULT_HUB";
|
|
173
213
|
readonly inputs: readonly [];
|
|
174
214
|
readonly outputs: readonly [{
|
|
175
215
|
readonly name: "";
|
|
176
216
|
readonly type: "address";
|
|
177
|
-
readonly internalType: "contract
|
|
217
|
+
readonly internalType: "contract IVaultHub";
|
|
178
218
|
}];
|
|
179
219
|
readonly stateMutability: "view";
|
|
180
220
|
}, {
|
|
181
221
|
readonly type: "function";
|
|
182
|
-
readonly name: "
|
|
222
|
+
readonly name: "WITHDRAWALS_FEATURE";
|
|
183
223
|
readonly inputs: readonly [];
|
|
184
224
|
readonly outputs: readonly [{
|
|
185
225
|
readonly name: "";
|
|
186
|
-
readonly type: "
|
|
187
|
-
readonly internalType: "
|
|
226
|
+
readonly type: "bytes32";
|
|
227
|
+
readonly internalType: "bytes32";
|
|
188
228
|
}];
|
|
189
229
|
readonly stateMutability: "view";
|
|
190
230
|
}, {
|
|
191
231
|
readonly type: "function";
|
|
192
|
-
readonly name: "
|
|
232
|
+
readonly name: "WITHDRAWALS_PAUSE_ROLE";
|
|
193
233
|
readonly inputs: readonly [];
|
|
194
234
|
readonly outputs: readonly [{
|
|
195
235
|
readonly name: "";
|
|
196
|
-
readonly type: "
|
|
197
|
-
readonly internalType: "
|
|
236
|
+
readonly type: "bytes32";
|
|
237
|
+
readonly internalType: "bytes32";
|
|
198
238
|
}];
|
|
199
239
|
readonly stateMutability: "view";
|
|
200
240
|
}, {
|
|
201
241
|
readonly type: "function";
|
|
202
|
-
readonly name: "
|
|
242
|
+
readonly name: "WITHDRAWALS_RESUME_ROLE";
|
|
203
243
|
readonly inputs: readonly [];
|
|
204
|
-
readonly outputs: readonly [
|
|
205
|
-
|
|
244
|
+
readonly outputs: readonly [{
|
|
245
|
+
readonly name: "";
|
|
246
|
+
readonly type: "bytes32";
|
|
247
|
+
readonly internalType: "bytes32";
|
|
248
|
+
}];
|
|
249
|
+
readonly stateMutability: "view";
|
|
206
250
|
}, {
|
|
207
251
|
readonly type: "function";
|
|
208
252
|
readonly name: "calculateCurrentStethShareRate";
|
|
@@ -227,17 +271,13 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
227
271
|
readonly type: "function";
|
|
228
272
|
readonly name: "claimWithdrawal";
|
|
229
273
|
readonly inputs: readonly [{
|
|
230
|
-
readonly name: "_requestId";
|
|
231
|
-
readonly type: "uint256";
|
|
232
|
-
readonly internalType: "uint256";
|
|
233
|
-
}, {
|
|
234
|
-
readonly name: "_requestor";
|
|
235
|
-
readonly type: "address";
|
|
236
|
-
readonly internalType: "address";
|
|
237
|
-
}, {
|
|
238
274
|
readonly name: "_recipient";
|
|
239
275
|
readonly type: "address";
|
|
240
276
|
readonly internalType: "address";
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "_requestId";
|
|
279
|
+
readonly type: "uint256";
|
|
280
|
+
readonly internalType: "uint256";
|
|
241
281
|
}];
|
|
242
282
|
readonly outputs: readonly [{
|
|
243
283
|
readonly name: "claimedEth";
|
|
@@ -247,8 +287,12 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
247
287
|
readonly stateMutability: "nonpayable";
|
|
248
288
|
}, {
|
|
249
289
|
readonly type: "function";
|
|
250
|
-
readonly name: "
|
|
290
|
+
readonly name: "claimWithdrawalBatch";
|
|
251
291
|
readonly inputs: readonly [{
|
|
292
|
+
readonly name: "_recipient";
|
|
293
|
+
readonly type: "address";
|
|
294
|
+
readonly internalType: "address";
|
|
295
|
+
}, {
|
|
252
296
|
readonly name: "_requestIds";
|
|
253
297
|
readonly type: "uint256[]";
|
|
254
298
|
readonly internalType: "uint256[]";
|
|
@@ -256,14 +300,6 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
256
300
|
readonly name: "_hints";
|
|
257
301
|
readonly type: "uint256[]";
|
|
258
302
|
readonly internalType: "uint256[]";
|
|
259
|
-
}, {
|
|
260
|
-
readonly name: "_requestor";
|
|
261
|
-
readonly type: "address";
|
|
262
|
-
readonly internalType: "address";
|
|
263
|
-
}, {
|
|
264
|
-
readonly name: "_recipient";
|
|
265
|
-
readonly type: "address";
|
|
266
|
-
readonly internalType: "address";
|
|
267
303
|
}];
|
|
268
304
|
readonly outputs: readonly [{
|
|
269
305
|
readonly name: "claimedAmounts";
|
|
@@ -278,6 +314,10 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
278
314
|
readonly name: "_maxRequests";
|
|
279
315
|
readonly type: "uint256";
|
|
280
316
|
readonly internalType: "uint256";
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: "_gasCostCoverageRecipient";
|
|
319
|
+
readonly type: "address";
|
|
320
|
+
readonly internalType: "address";
|
|
281
321
|
}];
|
|
282
322
|
readonly outputs: readonly [{
|
|
283
323
|
readonly name: "finalizedRequests";
|
|
@@ -287,7 +327,29 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
287
327
|
readonly stateMutability: "nonpayable";
|
|
288
328
|
}, {
|
|
289
329
|
readonly type: "function";
|
|
290
|
-
readonly name: "
|
|
330
|
+
readonly name: "findCheckpointHint";
|
|
331
|
+
readonly inputs: readonly [{
|
|
332
|
+
readonly name: "_requestId";
|
|
333
|
+
readonly type: "uint256";
|
|
334
|
+
readonly internalType: "uint256";
|
|
335
|
+
}, {
|
|
336
|
+
readonly name: "_start";
|
|
337
|
+
readonly type: "uint256";
|
|
338
|
+
readonly internalType: "uint256";
|
|
339
|
+
}, {
|
|
340
|
+
readonly name: "_end";
|
|
341
|
+
readonly type: "uint256";
|
|
342
|
+
readonly internalType: "uint256";
|
|
343
|
+
}];
|
|
344
|
+
readonly outputs: readonly [{
|
|
345
|
+
readonly name: "";
|
|
346
|
+
readonly type: "uint256";
|
|
347
|
+
readonly internalType: "uint256";
|
|
348
|
+
}];
|
|
349
|
+
readonly stateMutability: "view";
|
|
350
|
+
}, {
|
|
351
|
+
readonly type: "function";
|
|
352
|
+
readonly name: "findCheckpointHintBatch";
|
|
291
353
|
readonly inputs: readonly [{
|
|
292
354
|
readonly name: "_requestIds";
|
|
293
355
|
readonly type: "uint256[]";
|
|
@@ -310,6 +372,20 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
310
372
|
}, {
|
|
311
373
|
readonly type: "function";
|
|
312
374
|
readonly name: "getClaimableEther";
|
|
375
|
+
readonly inputs: readonly [{
|
|
376
|
+
readonly name: "_requestId";
|
|
377
|
+
readonly type: "uint256";
|
|
378
|
+
readonly internalType: "uint256";
|
|
379
|
+
}];
|
|
380
|
+
readonly outputs: readonly [{
|
|
381
|
+
readonly name: "claimableEth";
|
|
382
|
+
readonly type: "uint256";
|
|
383
|
+
readonly internalType: "uint256";
|
|
384
|
+
}];
|
|
385
|
+
readonly stateMutability: "view";
|
|
386
|
+
}, {
|
|
387
|
+
readonly type: "function";
|
|
388
|
+
readonly name: "getClaimableEtherBatch";
|
|
313
389
|
readonly inputs: readonly [{
|
|
314
390
|
readonly name: "_requestIds";
|
|
315
391
|
readonly type: "uint256[]";
|
|
@@ -327,14 +403,10 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
327
403
|
readonly stateMutability: "view";
|
|
328
404
|
}, {
|
|
329
405
|
readonly type: "function";
|
|
330
|
-
readonly name: "
|
|
331
|
-
readonly inputs: readonly [
|
|
332
|
-
readonly name: "_requestId";
|
|
333
|
-
readonly type: "uint256";
|
|
334
|
-
readonly internalType: "uint256";
|
|
335
|
-
}];
|
|
406
|
+
readonly name: "getFinalizationGasCostCoverage";
|
|
407
|
+
readonly inputs: readonly [];
|
|
336
408
|
readonly outputs: readonly [{
|
|
337
|
-
readonly name: "
|
|
409
|
+
readonly name: "coverage";
|
|
338
410
|
readonly type: "uint256";
|
|
339
411
|
readonly internalType: "uint256";
|
|
340
412
|
}];
|
|
@@ -429,56 +501,6 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
429
501
|
readonly internalType: "address[]";
|
|
430
502
|
}];
|
|
431
503
|
readonly stateMutability: "view";
|
|
432
|
-
}, {
|
|
433
|
-
readonly type: "function";
|
|
434
|
-
readonly name: "getWithdrawalRequests";
|
|
435
|
-
readonly inputs: readonly [{
|
|
436
|
-
readonly name: "_owner";
|
|
437
|
-
readonly type: "address";
|
|
438
|
-
readonly internalType: "address";
|
|
439
|
-
}, {
|
|
440
|
-
readonly name: "_start";
|
|
441
|
-
readonly type: "uint256";
|
|
442
|
-
readonly internalType: "uint256";
|
|
443
|
-
}, {
|
|
444
|
-
readonly name: "_end";
|
|
445
|
-
readonly type: "uint256";
|
|
446
|
-
readonly internalType: "uint256";
|
|
447
|
-
}];
|
|
448
|
-
readonly outputs: readonly [{
|
|
449
|
-
readonly name: "requestIds";
|
|
450
|
-
readonly type: "uint256[]";
|
|
451
|
-
readonly internalType: "uint256[]";
|
|
452
|
-
}];
|
|
453
|
-
readonly stateMutability: "view";
|
|
454
|
-
}, {
|
|
455
|
-
readonly type: "function";
|
|
456
|
-
readonly name: "getWithdrawalRequests";
|
|
457
|
-
readonly inputs: readonly [{
|
|
458
|
-
readonly name: "_owner";
|
|
459
|
-
readonly type: "address";
|
|
460
|
-
readonly internalType: "address";
|
|
461
|
-
}];
|
|
462
|
-
readonly outputs: readonly [{
|
|
463
|
-
readonly name: "requestIds";
|
|
464
|
-
readonly type: "uint256[]";
|
|
465
|
-
readonly internalType: "uint256[]";
|
|
466
|
-
}];
|
|
467
|
-
readonly stateMutability: "view";
|
|
468
|
-
}, {
|
|
469
|
-
readonly type: "function";
|
|
470
|
-
readonly name: "getWithdrawalRequestsLength";
|
|
471
|
-
readonly inputs: readonly [{
|
|
472
|
-
readonly name: "_owner";
|
|
473
|
-
readonly type: "address";
|
|
474
|
-
readonly internalType: "address";
|
|
475
|
-
}];
|
|
476
|
-
readonly outputs: readonly [{
|
|
477
|
-
readonly name: "length";
|
|
478
|
-
readonly type: "uint256";
|
|
479
|
-
readonly internalType: "uint256";
|
|
480
|
-
}];
|
|
481
|
-
readonly stateMutability: "view";
|
|
482
504
|
}, {
|
|
483
505
|
readonly type: "function";
|
|
484
506
|
readonly name: "getWithdrawalStatus";
|
|
@@ -524,7 +546,7 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
524
546
|
readonly stateMutability: "view";
|
|
525
547
|
}, {
|
|
526
548
|
readonly type: "function";
|
|
527
|
-
readonly name: "
|
|
549
|
+
readonly name: "getWithdrawalStatusBatch";
|
|
528
550
|
readonly inputs: readonly [{
|
|
529
551
|
readonly name: "_requestIds";
|
|
530
552
|
readonly type: "uint256[]";
|
|
@@ -605,7 +627,15 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
605
627
|
readonly type: "address";
|
|
606
628
|
readonly internalType: "address";
|
|
607
629
|
}, {
|
|
608
|
-
readonly name: "
|
|
630
|
+
readonly name: "_finalizer";
|
|
631
|
+
readonly type: "address";
|
|
632
|
+
readonly internalType: "address";
|
|
633
|
+
}, {
|
|
634
|
+
readonly name: "_withdrawalsPauser";
|
|
635
|
+
readonly type: "address";
|
|
636
|
+
readonly internalType: "address";
|
|
637
|
+
}, {
|
|
638
|
+
readonly name: "_finalizePauser";
|
|
609
639
|
readonly type: "address";
|
|
610
640
|
readonly internalType: "address";
|
|
611
641
|
}];
|
|
@@ -613,40 +643,30 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
613
643
|
readonly stateMutability: "nonpayable";
|
|
614
644
|
}, {
|
|
615
645
|
readonly type: "function";
|
|
616
|
-
readonly name: "
|
|
617
|
-
readonly inputs: readonly [
|
|
618
|
-
|
|
619
|
-
readonly
|
|
620
|
-
readonly
|
|
621
|
-
readonly internalType: "bool";
|
|
646
|
+
readonly name: "isFeaturePaused";
|
|
647
|
+
readonly inputs: readonly [{
|
|
648
|
+
readonly name: "_featureId";
|
|
649
|
+
readonly type: "bytes32";
|
|
650
|
+
readonly internalType: "bytes32";
|
|
622
651
|
}];
|
|
623
|
-
readonly stateMutability: "view";
|
|
624
|
-
}, {
|
|
625
|
-
readonly type: "function";
|
|
626
|
-
readonly name: "isWithdrawalQueueStuck";
|
|
627
|
-
readonly inputs: readonly [];
|
|
628
652
|
readonly outputs: readonly [{
|
|
629
|
-
readonly name: "
|
|
653
|
+
readonly name: "isPaused";
|
|
630
654
|
readonly type: "bool";
|
|
631
655
|
readonly internalType: "bool";
|
|
632
656
|
}];
|
|
633
657
|
readonly stateMutability: "view";
|
|
634
658
|
}, {
|
|
635
659
|
readonly type: "function";
|
|
636
|
-
readonly name: "
|
|
660
|
+
readonly name: "pauseFinalization";
|
|
637
661
|
readonly inputs: readonly [];
|
|
638
662
|
readonly outputs: readonly [];
|
|
639
663
|
readonly stateMutability: "nonpayable";
|
|
640
664
|
}, {
|
|
641
665
|
readonly type: "function";
|
|
642
|
-
readonly name: "
|
|
666
|
+
readonly name: "pauseWithdrawals";
|
|
643
667
|
readonly inputs: readonly [];
|
|
644
|
-
readonly outputs: readonly [
|
|
645
|
-
|
|
646
|
-
readonly type: "bool";
|
|
647
|
-
readonly internalType: "bool";
|
|
648
|
-
}];
|
|
649
|
-
readonly stateMutability: "view";
|
|
668
|
+
readonly outputs: readonly [];
|
|
669
|
+
readonly stateMutability: "nonpayable";
|
|
650
670
|
}, {
|
|
651
671
|
readonly type: "function";
|
|
652
672
|
readonly name: "renounceRole";
|
|
@@ -665,6 +685,10 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
665
685
|
readonly type: "function";
|
|
666
686
|
readonly name: "requestWithdrawal";
|
|
667
687
|
readonly inputs: readonly [{
|
|
688
|
+
readonly name: "_owner";
|
|
689
|
+
readonly type: "address";
|
|
690
|
+
readonly internalType: "address";
|
|
691
|
+
}, {
|
|
668
692
|
readonly name: "_stvToWithdraw";
|
|
669
693
|
readonly type: "uint256";
|
|
670
694
|
readonly internalType: "uint256";
|
|
@@ -672,10 +696,6 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
672
696
|
readonly name: "_stethSharesToRebalance";
|
|
673
697
|
readonly type: "uint256";
|
|
674
698
|
readonly internalType: "uint256";
|
|
675
|
-
}, {
|
|
676
|
-
readonly name: "_owner";
|
|
677
|
-
readonly type: "address";
|
|
678
|
-
readonly internalType: "address";
|
|
679
699
|
}];
|
|
680
700
|
readonly outputs: readonly [{
|
|
681
701
|
readonly name: "requestId";
|
|
@@ -685,8 +705,12 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
685
705
|
readonly stateMutability: "nonpayable";
|
|
686
706
|
}, {
|
|
687
707
|
readonly type: "function";
|
|
688
|
-
readonly name: "
|
|
708
|
+
readonly name: "requestWithdrawalBatch";
|
|
689
709
|
readonly inputs: readonly [{
|
|
710
|
+
readonly name: "_owner";
|
|
711
|
+
readonly type: "address";
|
|
712
|
+
readonly internalType: "address";
|
|
713
|
+
}, {
|
|
690
714
|
readonly name: "_stvToWithdraw";
|
|
691
715
|
readonly type: "uint256[]";
|
|
692
716
|
readonly internalType: "uint256[]";
|
|
@@ -694,10 +718,6 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
694
718
|
readonly name: "_stethSharesToRebalance";
|
|
695
719
|
readonly type: "uint256[]";
|
|
696
720
|
readonly internalType: "uint256[]";
|
|
697
|
-
}, {
|
|
698
|
-
readonly name: "_owner";
|
|
699
|
-
readonly type: "address";
|
|
700
|
-
readonly internalType: "address";
|
|
701
721
|
}];
|
|
702
722
|
readonly outputs: readonly [{
|
|
703
723
|
readonly name: "requestIds";
|
|
@@ -707,7 +727,13 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
707
727
|
readonly stateMutability: "nonpayable";
|
|
708
728
|
}, {
|
|
709
729
|
readonly type: "function";
|
|
710
|
-
readonly name: "
|
|
730
|
+
readonly name: "resumeFinalization";
|
|
731
|
+
readonly inputs: readonly [];
|
|
732
|
+
readonly outputs: readonly [];
|
|
733
|
+
readonly stateMutability: "nonpayable";
|
|
734
|
+
}, {
|
|
735
|
+
readonly type: "function";
|
|
736
|
+
readonly name: "resumeWithdrawals";
|
|
711
737
|
readonly inputs: readonly [];
|
|
712
738
|
readonly outputs: readonly [];
|
|
713
739
|
readonly stateMutability: "nonpayable";
|
|
@@ -725,6 +751,16 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
725
751
|
}];
|
|
726
752
|
readonly outputs: readonly [];
|
|
727
753
|
readonly stateMutability: "nonpayable";
|
|
754
|
+
}, {
|
|
755
|
+
readonly type: "function";
|
|
756
|
+
readonly name: "setFinalizationGasCostCoverage";
|
|
757
|
+
readonly inputs: readonly [{
|
|
758
|
+
readonly name: "_coverage";
|
|
759
|
+
readonly type: "uint256";
|
|
760
|
+
readonly internalType: "uint256";
|
|
761
|
+
}];
|
|
762
|
+
readonly outputs: readonly [];
|
|
763
|
+
readonly stateMutability: "nonpayable";
|
|
728
764
|
}, {
|
|
729
765
|
readonly type: "function";
|
|
730
766
|
readonly name: "supportsInterface";
|
|
@@ -751,10 +787,20 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
751
787
|
readonly stateMutability: "view";
|
|
752
788
|
}, {
|
|
753
789
|
readonly type: "function";
|
|
754
|
-
readonly name: "
|
|
790
|
+
readonly name: "unfinalizedRequestsNumber";
|
|
791
|
+
readonly inputs: readonly [];
|
|
792
|
+
readonly outputs: readonly [{
|
|
793
|
+
readonly name: "requestsNumber";
|
|
794
|
+
readonly type: "uint256";
|
|
795
|
+
readonly internalType: "uint256";
|
|
796
|
+
}];
|
|
797
|
+
readonly stateMutability: "view";
|
|
798
|
+
}, {
|
|
799
|
+
readonly type: "function";
|
|
800
|
+
readonly name: "unfinalizedStethShares";
|
|
755
801
|
readonly inputs: readonly [];
|
|
756
802
|
readonly outputs: readonly [{
|
|
757
|
-
readonly name: "
|
|
803
|
+
readonly name: "stethShares";
|
|
758
804
|
readonly type: "uint256";
|
|
759
805
|
readonly internalType: "uint256";
|
|
760
806
|
}];
|
|
@@ -770,25 +816,95 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
770
816
|
}];
|
|
771
817
|
readonly stateMutability: "view";
|
|
772
818
|
}, {
|
|
773
|
-
readonly type: "
|
|
774
|
-
readonly name: "
|
|
819
|
+
readonly type: "function";
|
|
820
|
+
readonly name: "withdrawalRequestsInRangeOf";
|
|
775
821
|
readonly inputs: readonly [{
|
|
776
|
-
readonly name: "
|
|
822
|
+
readonly name: "_owner";
|
|
823
|
+
readonly type: "address";
|
|
824
|
+
readonly internalType: "address";
|
|
825
|
+
}, {
|
|
826
|
+
readonly name: "_start";
|
|
777
827
|
readonly type: "uint256";
|
|
778
|
-
readonly indexed: false;
|
|
779
828
|
readonly internalType: "uint256";
|
|
829
|
+
}, {
|
|
830
|
+
readonly name: "_end";
|
|
831
|
+
readonly type: "uint256";
|
|
832
|
+
readonly internalType: "uint256";
|
|
833
|
+
}];
|
|
834
|
+
readonly outputs: readonly [{
|
|
835
|
+
readonly name: "requestIds";
|
|
836
|
+
readonly type: "uint256[]";
|
|
837
|
+
readonly internalType: "uint256[]";
|
|
838
|
+
}];
|
|
839
|
+
readonly stateMutability: "view";
|
|
840
|
+
}, {
|
|
841
|
+
readonly type: "function";
|
|
842
|
+
readonly name: "withdrawalRequestsLengthOf";
|
|
843
|
+
readonly inputs: readonly [{
|
|
844
|
+
readonly name: "_owner";
|
|
845
|
+
readonly type: "address";
|
|
846
|
+
readonly internalType: "address";
|
|
847
|
+
}];
|
|
848
|
+
readonly outputs: readonly [{
|
|
849
|
+
readonly name: "length";
|
|
850
|
+
readonly type: "uint256";
|
|
851
|
+
readonly internalType: "uint256";
|
|
852
|
+
}];
|
|
853
|
+
readonly stateMutability: "view";
|
|
854
|
+
}, {
|
|
855
|
+
readonly type: "function";
|
|
856
|
+
readonly name: "withdrawalRequestsOf";
|
|
857
|
+
readonly inputs: readonly [{
|
|
858
|
+
readonly name: "_owner";
|
|
859
|
+
readonly type: "address";
|
|
860
|
+
readonly internalType: "address";
|
|
861
|
+
}];
|
|
862
|
+
readonly outputs: readonly [{
|
|
863
|
+
readonly name: "requestIds";
|
|
864
|
+
readonly type: "uint256[]";
|
|
865
|
+
readonly internalType: "uint256[]";
|
|
866
|
+
}];
|
|
867
|
+
readonly stateMutability: "view";
|
|
868
|
+
}, {
|
|
869
|
+
readonly type: "event";
|
|
870
|
+
readonly name: "FeaturePaused";
|
|
871
|
+
readonly inputs: readonly [{
|
|
872
|
+
readonly name: "featureId";
|
|
873
|
+
readonly type: "bytes32";
|
|
874
|
+
readonly indexed: true;
|
|
875
|
+
readonly internalType: "bytes32";
|
|
876
|
+
}, {
|
|
877
|
+
readonly name: "account";
|
|
878
|
+
readonly type: "address";
|
|
879
|
+
readonly indexed: true;
|
|
880
|
+
readonly internalType: "address";
|
|
780
881
|
}];
|
|
781
882
|
readonly anonymous: false;
|
|
782
883
|
}, {
|
|
783
884
|
readonly type: "event";
|
|
784
|
-
readonly name: "
|
|
885
|
+
readonly name: "FeatureUnpaused";
|
|
785
886
|
readonly inputs: readonly [{
|
|
786
|
-
readonly name: "
|
|
887
|
+
readonly name: "featureId";
|
|
888
|
+
readonly type: "bytes32";
|
|
889
|
+
readonly indexed: true;
|
|
890
|
+
readonly internalType: "bytes32";
|
|
891
|
+
}, {
|
|
892
|
+
readonly name: "account";
|
|
787
893
|
readonly type: "address";
|
|
788
|
-
readonly indexed:
|
|
894
|
+
readonly indexed: true;
|
|
789
895
|
readonly internalType: "address";
|
|
790
896
|
}];
|
|
791
897
|
readonly anonymous: false;
|
|
898
|
+
}, {
|
|
899
|
+
readonly type: "event";
|
|
900
|
+
readonly name: "GasCostCoverageSet";
|
|
901
|
+
readonly inputs: readonly [{
|
|
902
|
+
readonly name: "newCoverage";
|
|
903
|
+
readonly type: "uint256";
|
|
904
|
+
readonly indexed: false;
|
|
905
|
+
readonly internalType: "uint256";
|
|
906
|
+
}];
|
|
907
|
+
readonly anonymous: false;
|
|
792
908
|
}, {
|
|
793
909
|
readonly type: "event";
|
|
794
910
|
readonly name: "Initialized";
|
|
@@ -807,15 +923,10 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
807
923
|
readonly type: "address";
|
|
808
924
|
readonly indexed: true;
|
|
809
925
|
readonly internalType: "address";
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
}, {
|
|
813
|
-
readonly type: "event";
|
|
814
|
-
readonly name: "Paused";
|
|
815
|
-
readonly inputs: readonly [{
|
|
816
|
-
readonly name: "account";
|
|
926
|
+
}, {
|
|
927
|
+
readonly name: "finalizer";
|
|
817
928
|
readonly type: "address";
|
|
818
|
-
readonly indexed:
|
|
929
|
+
readonly indexed: true;
|
|
819
930
|
readonly internalType: "address";
|
|
820
931
|
}];
|
|
821
932
|
readonly anonymous: false;
|
|
@@ -879,16 +990,6 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
879
990
|
readonly internalType: "address";
|
|
880
991
|
}];
|
|
881
992
|
readonly anonymous: false;
|
|
882
|
-
}, {
|
|
883
|
-
readonly type: "event";
|
|
884
|
-
readonly name: "Unpaused";
|
|
885
|
-
readonly inputs: readonly [{
|
|
886
|
-
readonly name: "account";
|
|
887
|
-
readonly type: "address";
|
|
888
|
-
readonly indexed: false;
|
|
889
|
-
readonly internalType: "address";
|
|
890
|
-
}];
|
|
891
|
-
readonly anonymous: false;
|
|
892
993
|
}, {
|
|
893
994
|
readonly type: "event";
|
|
894
995
|
readonly name: "WithdrawalClaimed";
|
|
@@ -903,7 +1004,7 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
903
1004
|
readonly indexed: true;
|
|
904
1005
|
readonly internalType: "address";
|
|
905
1006
|
}, {
|
|
906
|
-
readonly name: "
|
|
1007
|
+
readonly name: "recipient";
|
|
907
1008
|
readonly type: "address";
|
|
908
1009
|
readonly indexed: true;
|
|
909
1010
|
readonly internalType: "address";
|
|
@@ -962,6 +1063,11 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
962
1063
|
readonly type: "uint256";
|
|
963
1064
|
readonly indexed: false;
|
|
964
1065
|
readonly internalType: "uint256";
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly name: "ethForGasCoverage";
|
|
1068
|
+
readonly type: "uint256";
|
|
1069
|
+
readonly indexed: false;
|
|
1070
|
+
readonly internalType: "uint256";
|
|
965
1071
|
}, {
|
|
966
1072
|
readonly name: "stvBurned";
|
|
967
1073
|
readonly type: "uint256";
|
|
@@ -1018,16 +1124,28 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
1018
1124
|
readonly inputs: readonly [];
|
|
1019
1125
|
}, {
|
|
1020
1126
|
readonly type: "error";
|
|
1021
|
-
readonly name: "
|
|
1022
|
-
readonly inputs: readonly [
|
|
1127
|
+
readonly name: "FeaturePauseEnforced";
|
|
1128
|
+
readonly inputs: readonly [{
|
|
1129
|
+
readonly name: "featureId";
|
|
1130
|
+
readonly type: "bytes32";
|
|
1131
|
+
readonly internalType: "bytes32";
|
|
1132
|
+
}];
|
|
1023
1133
|
}, {
|
|
1024
1134
|
readonly type: "error";
|
|
1025
|
-
readonly name: "
|
|
1026
|
-
readonly inputs: readonly [
|
|
1135
|
+
readonly name: "FeaturePauseExpected";
|
|
1136
|
+
readonly inputs: readonly [{
|
|
1137
|
+
readonly name: "featureId";
|
|
1138
|
+
readonly type: "bytes32";
|
|
1139
|
+
readonly internalType: "bytes32";
|
|
1140
|
+
}];
|
|
1027
1141
|
}, {
|
|
1028
1142
|
readonly type: "error";
|
|
1029
|
-
readonly name: "
|
|
1030
|
-
readonly inputs: readonly [
|
|
1143
|
+
readonly name: "GasCostCoverageTooLarge";
|
|
1144
|
+
readonly inputs: readonly [{
|
|
1145
|
+
readonly name: "amount";
|
|
1146
|
+
readonly type: "uint256";
|
|
1147
|
+
readonly internalType: "uint256";
|
|
1148
|
+
}];
|
|
1031
1149
|
}, {
|
|
1032
1150
|
readonly type: "error";
|
|
1033
1151
|
readonly name: "InvalidHint";
|
|
@@ -1060,6 +1178,10 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
1060
1178
|
readonly type: "uint256";
|
|
1061
1179
|
readonly internalType: "uint256";
|
|
1062
1180
|
}];
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly type: "error";
|
|
1183
|
+
readonly name: "InvalidWithdrawalDelay";
|
|
1184
|
+
readonly inputs: readonly [];
|
|
1063
1185
|
}, {
|
|
1064
1186
|
readonly type: "error";
|
|
1065
1187
|
readonly name: "NoRequestsToFinalize";
|
|
@@ -1082,7 +1204,7 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
1082
1204
|
}];
|
|
1083
1205
|
}, {
|
|
1084
1206
|
readonly type: "error";
|
|
1085
|
-
readonly name: "
|
|
1207
|
+
readonly name: "RebalancingIsNotSupported";
|
|
1086
1208
|
readonly inputs: readonly [];
|
|
1087
1209
|
}, {
|
|
1088
1210
|
readonly type: "error";
|
|
@@ -1094,7 +1216,7 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
1094
1216
|
}];
|
|
1095
1217
|
}, {
|
|
1096
1218
|
readonly type: "error";
|
|
1097
|
-
readonly name: "
|
|
1219
|
+
readonly name: "RequestAssetsTooLarge";
|
|
1098
1220
|
readonly inputs: readonly [{
|
|
1099
1221
|
readonly name: "amount";
|
|
1100
1222
|
readonly type: "uint256";
|
|
@@ -1102,21 +1224,33 @@ export declare const WithdrawalQueueAbi: readonly [{
|
|
|
1102
1224
|
}];
|
|
1103
1225
|
}, {
|
|
1104
1226
|
readonly type: "error";
|
|
1105
|
-
readonly name: "
|
|
1227
|
+
readonly name: "RequestIdsNotSorted";
|
|
1228
|
+
readonly inputs: readonly [];
|
|
1229
|
+
}, {
|
|
1230
|
+
readonly type: "error";
|
|
1231
|
+
readonly name: "RequestNotFoundOrNotFinalized";
|
|
1106
1232
|
readonly inputs: readonly [{
|
|
1107
|
-
readonly name: "
|
|
1233
|
+
readonly name: "requestId";
|
|
1108
1234
|
readonly type: "uint256";
|
|
1109
1235
|
readonly internalType: "uint256";
|
|
1110
1236
|
}];
|
|
1111
1237
|
}, {
|
|
1112
1238
|
readonly type: "error";
|
|
1113
|
-
readonly name: "
|
|
1114
|
-
readonly inputs: readonly [
|
|
1239
|
+
readonly name: "RequestValueTooSmall";
|
|
1240
|
+
readonly inputs: readonly [{
|
|
1241
|
+
readonly name: "amount";
|
|
1242
|
+
readonly type: "uint256";
|
|
1243
|
+
readonly internalType: "uint256";
|
|
1244
|
+
}];
|
|
1115
1245
|
}, {
|
|
1116
1246
|
readonly type: "error";
|
|
1117
|
-
readonly name: "
|
|
1247
|
+
readonly name: "SafeCastOverflowedUintDowncast";
|
|
1118
1248
|
readonly inputs: readonly [{
|
|
1119
|
-
readonly name: "
|
|
1249
|
+
readonly name: "bits";
|
|
1250
|
+
readonly type: "uint8";
|
|
1251
|
+
readonly internalType: "uint8";
|
|
1252
|
+
}, {
|
|
1253
|
+
readonly name: "value";
|
|
1120
1254
|
readonly type: "uint256";
|
|
1121
1255
|
readonly internalType: "uint256";
|
|
1122
1256
|
}];
|