@lidofinance/lsv-cli 1.1.0 → 1.3.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 +58 -0
- package/dist/abi/Dashboard.d.ts +291 -3
- package/dist/abi/Dashboard.js +10 -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/PredepositGuarantee.d.ts +357 -88
- package/dist/abi/PredepositGuarantee.js +31 -28
- package/dist/abi/PredepositGuarantee.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 +8 -14
- package/dist/abi/VaultViewer.js +10 -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/command/index.js +1 -0
- package/dist/command/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 +67 -6
- package/dist/configs/deployed.js.map +1 -1
- package/dist/configs/index.d.ts +4 -3
- package/dist/configs/index.js +4 -3
- package/dist/configs/index.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 +111 -0
- package/dist/features/defi-wrapper/defi-wrapper-factory.js +231 -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 +2 -0
- package/dist/features/deposits/index.js +2 -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/deposits/validators.d.ts +12 -0
- package/dist/features/deposits/validators.js +31 -0
- package/dist/features/deposits/validators.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 +5 -1
- package/dist/features/index.js +5 -1
- package/dist/features/index.js.map +1 -1
- package/dist/features/lazy-oracle.js +2 -2
- package/dist/features/lazy-oracle.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/mint-burn/allowance.d.ts +7 -1
- package/dist/features/mint-burn/allowance.js +8 -9
- package/dist/features/mint-burn/allowance.js.map +1 -1
- package/dist/features/mint-burn/burn-shares.d.ts +2 -1
- package/dist/features/mint-burn/burn-shares.js +4 -3
- package/dist/features/mint-burn/burn-shares.js.map +1 -1
- package/dist/features/mint-burn/burn-steth.d.ts +2 -1
- package/dist/features/mint-burn/burn-steth.js +4 -3
- package/dist/features/mint-burn/burn-steth.js.map +1 -1
- package/dist/features/mint-burn/mint-shares.js +4 -6
- package/dist/features/mint-burn/mint-shares.js.map +1 -1
- package/dist/features/mint-burn/mint-steth.js +4 -6
- package/dist/features/mint-burn/mint-steth.js.map +1 -1
- package/dist/features/pdg.js +4 -0
- package/dist/features/pdg.js.map +1 -1
- package/dist/features/utils/connection.d.ts +2 -0
- package/dist/features/utils/connection.js +14 -0
- package/dist/features/utils/connection.js.map +1 -0
- package/dist/features/utils/get-boolean.d.ts +1 -0
- package/dist/features/utils/get-boolean.js +13 -0
- package/dist/features/utils/get-boolean.js.map +1 -0
- package/dist/features/utils/index.d.ts +2 -0
- package/dist/features/utils/index.js +2 -0
- package/dist/features/utils/index.js.map +1 -1
- package/dist/features/utils/liability-shares.js +2 -1
- package/dist/features/utils/liability-shares.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.d.ts +11 -1
- package/dist/features/utils/report-fresh.js +17 -15
- package/dist/features/utils/report-fresh.js.map +1 -1
- package/dist/features/vault-factory.d.ts +13 -14
- package/dist/features/vault-factory.js +32 -10
- package/dist/features/vault-factory.js.map +1 -1
- package/dist/features/vault-operations/connect-vault.d.ts +4 -0
- package/dist/features/vault-operations/connect-vault.js +21 -0
- package/dist/features/vault-operations/connect-vault.js.map +1 -0
- package/dist/features/vault-operations/create-vault.d.ts +4 -2
- package/dist/features/vault-operations/create-vault.js +17 -7
- package/dist/features/vault-operations/create-vault.js.map +1 -1
- package/dist/features/vault-operations/dashboard-by-vault.js +21 -8
- package/dist/features/vault-operations/dashboard-by-vault.js.map +1 -1
- package/dist/features/vault-operations/index.d.ts +2 -0
- package/dist/features/vault-operations/index.js +2 -0
- package/dist/features/vault-operations/index.js.map +1 -1
- package/dist/features/vault-operations/roles.d.ts +5 -0
- package/dist/features/vault-operations/roles.js +65 -0
- package/dist/features/vault-operations/roles.js.map +1 -0
- package/dist/features/vault-operations/vault-info.js +10 -4
- package/dist/features/vault-operations/vault-info.js.map +1 -1
- package/dist/features/vault-operations/vault-overview.js +6 -8
- package/dist/features/vault-operations/vault-overview.js.map +1 -1
- package/dist/features/vault-operations/vault-roles.js +4 -1
- 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/features/with-report.d.ts +6 -0
- package/dist/features/with-report.js +18 -0
- package/dist/features/with-report.js.map +1 -0
- package/dist/index.js +38 -11
- 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 +80 -61
- 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 +6 -2
- package/dist/programs/contracts/hub/write.js.map +1 -1
- package/dist/programs/contracts/operator-grid/write.js +1 -1
- package/dist/programs/contracts/operator-grid/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 +39 -25
- 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 +91 -276
- 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 +180 -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 +32 -24
- 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 +65 -29
- package/dist/programs/use-cases/vault-operations/create-vault.js.map +1 -1
- package/dist/programs/use-cases/vault-operations/write.js +124 -26
- package/dist/programs/use-cases/vault-operations/write.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/integration/deposits.test.d.ts +1 -0
- package/dist/tests/integration/deposits.test.js +67 -0
- package/dist/tests/integration/deposits.test.js.map +1 -0
- package/dist/tests/integration/globalSetup.d.ts +1 -0
- package/dist/tests/integration/globalSetup.js +55 -0
- package/dist/tests/integration/globalSetup.js.map +1 -0
- package/dist/tests/integration/helpers/index.d.ts +3 -0
- package/dist/tests/integration/helpers/index.js +4 -0
- package/dist/tests/integration/helpers/index.js.map +1 -0
- package/dist/tests/integration/helpers/test-assertions.d.ts +32 -0
- package/dist/tests/integration/helpers/test-assertions.js +92 -0
- package/dist/tests/integration/helpers/test-assertions.js.map +1 -0
- package/dist/tests/integration/helpers/test-client.d.ts +14530 -0
- package/dist/tests/integration/helpers/test-client.js +73 -0
- package/dist/tests/integration/helpers/test-client.js.map +1 -0
- package/dist/tests/integration/helpers/test-config.d.ts +14 -0
- package/dist/tests/integration/helpers/test-config.js +62 -0
- package/dist/tests/integration/helpers/test-config.js.map +1 -0
- package/dist/tests/integration/helpers/test-setup.d.ts +12 -0
- package/dist/tests/integration/helpers/test-setup.js +40 -0
- package/dist/tests/integration/helpers/test-setup.js.map +1 -0
- package/dist/tests/integration/lazy-oracle.test.d.ts +1 -0
- package/dist/tests/integration/lazy-oracle.test.js +31 -0
- package/dist/tests/integration/lazy-oracle.test.js.map +1 -0
- package/dist/tests/integration/metrics.test.d.ts +1 -0
- package/dist/tests/integration/metrics.test.js +95 -0
- package/dist/tests/integration/metrics.test.js.map +1 -0
- package/dist/tests/integration/mint-burn.test.d.ts +1 -0
- package/dist/tests/integration/mint-burn.test.js +149 -0
- package/dist/tests/integration/mint-burn.test.js.map +1 -0
- package/dist/tests/integration/operator-grid.test.d.ts +1 -0
- package/dist/tests/integration/operator-grid.test.js +41 -0
- package/dist/tests/integration/operator-grid.test.js.map +1 -0
- package/dist/tests/integration/pdg.test.d.ts +1 -0
- package/dist/tests/integration/pdg.test.js +47 -0
- package/dist/tests/integration/pdg.test.js.map +1 -0
- package/dist/tests/integration/utils.test.d.ts +1 -0
- package/dist/tests/integration/utils.test.js +70 -0
- package/dist/tests/integration/utils.test.js.map +1 -0
- package/dist/tests/integration/vault-factory.test.d.ts +1 -0
- package/dist/tests/integration/vault-factory.test.js +29 -0
- package/dist/tests/integration/vault-factory.test.js.map +1 -0
- package/dist/tests/integration/vault-hub.test.d.ts +1 -0
- package/dist/tests/integration/vault-hub.test.js +71 -0
- package/dist/tests/integration/vault-hub.test.js.map +1 -0
- package/dist/tests/integration/vault-operations.test.d.ts +1 -0
- package/dist/tests/integration/vault-operations.test.js +151 -0
- package/dist/tests/integration/vault-operations.test.js.map +1 -0
- package/dist/tests/integration/vault-roles.test.d.ts +1 -0
- package/dist/tests/integration/vault-roles.test.js +44 -0
- package/dist/tests/integration/vault-roles.test.js.map +1 -0
- package/dist/tests/integration/vault.test.d.ts +1 -0
- package/dist/tests/integration/vault.test.js +44 -0
- package/dist/tests/integration/vault.test.js.map +1 -0
- package/dist/tests/utils/arguments.test.js +85 -4
- package/dist/tests/utils/arguments.test.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/tests/utils/calculate-health.test.d.ts +1 -0
- package/dist/tests/utils/calculate-health.test.js +140 -0
- package/dist/tests/utils/calculate-health.test.js.map +1 -0
- package/dist/tests/utils/calculate-overview-v2.test.d.ts +1 -0
- package/dist/tests/utils/calculate-overview-v2.test.js +181 -0
- package/dist/tests/utils/calculate-overview-v2.test.js.map +1 -0
- package/dist/tests/utils/calculate-overview.test.js +2 -1
- package/dist/tests/utils/calculate-overview.test.js.map +1 -1
- package/dist/tests/utils/csv-file.test.d.ts +1 -0
- package/dist/tests/utils/csv-file.test.js +111 -0
- package/dist/tests/utils/csv-file.test.js.map +1 -0
- package/dist/tests/utils/data-validators.test.js +1 -1
- package/dist/tests/utils/data-validators.test.js.map +1 -1
- package/dist/tests/utils/error-handler.test.js +7 -16
- package/dist/tests/utils/error-handler.test.js.map +1 -1
- 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-deposit-data-root.test.js +1 -2
- package/dist/tests/utils/get-deposit-data-root.test.js.map +1 -1
- package/dist/tests/utils/get-value.test.js +1 -1
- package/dist/tests/utils/get-value.test.js.map +1 -1
- package/dist/tests/utils/health.test.js +1 -1
- package/dist/tests/utils/health.test.js.map +1 -1
- package/dist/tests/utils/interrupt-handler.test.js +2 -5
- package/dist/tests/utils/interrupt-handler.test.js.map +1 -1
- package/dist/tests/utils/ipfs.test.js +37 -24
- package/dist/tests/utils/ipfs.test.js.map +1 -1
- package/dist/tests/utils/lido-apr.test.d.ts +1 -0
- package/dist/tests/utils/lido-apr.test.js +95 -0
- package/dist/tests/utils/lido-apr.test.js.map +1 -0
- package/dist/tests/utils/logging.test.js +135 -15
- package/dist/tests/utils/logging.test.js.map +1 -1
- package/dist/tests/utils/merkle-utils.test.d.ts +1 -0
- package/dist/tests/utils/merkle-utils.test.js +231 -0
- package/dist/tests/utils/merkle-utils.test.js.map +1 -0
- package/dist/tests/utils/rebase-rewards.test.d.ts +1 -0
- package/dist/tests/utils/rebase-rewards.test.js +114 -0
- package/dist/tests/utils/rebase-rewards.test.js.map +1 -0
- package/dist/tests/utils/resove-path.test.js +1 -1
- package/dist/tests/utils/resove-path.test.js.map +1 -1
- package/dist/tests/utils/sleep.test.js +5 -5
- package/dist/tests/utils/sleep.test.js.map +1 -1
- package/dist/tests/utils/snake-to-camel.test.d.ts +1 -0
- package/dist/tests/utils/snake-to-camel.test.js +37 -0
- package/dist/tests/utils/snake-to-camel.test.js.map +1 -0
- package/dist/tests/utils/timestamp.test.d.ts +1 -0
- package/dist/tests/utils/timestamp.test.js +51 -0
- package/dist/tests/utils/timestamp.test.js.map +1 -0
- package/dist/types/config.d.ts +1 -0
- package/dist/utils/arguments.d.ts +6 -1
- package/dist/utils/arguments.js +46 -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.d.ts +1 -2
- package/dist/utils/calculate-overview-v2.js +4 -8
- package/dist/utils/calculate-overview-v2.js.map +1 -1
- package/dist/utils/calculate-overview.d.ts +1 -0
- 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 +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 +6 -1
- package/dist/utils/commands/report.js +6 -4
- 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 +43 -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 +42 -0
- package/dist/utils/consolidation/pubkeys.js.map +1 -0
- package/dist/utils/consolidation/types.d.ts +12 -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 +36 -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/error-handler.js +2 -9
- package/dist/utils/error-handler.js.map +1 -1
- 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/interrupt-handler.js +8 -2
- package/dist/utils/interrupt-handler.js.map +1 -1
- package/dist/utils/logging/console.js +41 -3
- package/dist/utils/logging/console.js.map +1 -1
- package/dist/utils/prompts/mint-burn/confirm-mint.js +1 -0
- package/dist/utils/prompts/mint-burn/confirm-mint.js.map +1 -1
- package/dist/utils/prompts/operations.js +4 -1
- package/dist/utils/prompts/operations.js.map +1 -1
- package/dist/utils/proof/create-proof.d.ts +5 -0
- package/dist/utils/proof/create-proof.js +5 -0
- package/dist/utils/proof/create-proof.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.d.ts +4 -0
- package/dist/utils/transactions/tx-private-key.js +65 -32
- package/dist/utils/transactions/tx-private-key.js.map +1 -1
- package/dist/utils/transactions/tx-wc.d.ts +6 -3
- package/dist/utils/transactions/tx-wc.js +28 -26
- package/dist/utils/transactions/tx-wc.js.map +1 -1
- package/dist/utils/transactions/types.d.ts +5 -2
- package/dist/utils/transactions/utils.d.ts +3 -0
- package/dist/utils/transactions/utils.js +33 -0
- package/dist/utils/transactions/utils.js.map +1 -0
- package/dist/utils/wallet-connect.js +6 -4
- package/dist/utils/wallet-connect.js.map +1 -1
- package/dist/version/index.js +1 -1
- package/dist/vitest.config.d.ts +2 -0
- package/dist/vitest.config.js +29 -0
- package/dist/vitest.config.js.map +1 -0
- package/dist/vitest.integration.config.d.ts +2 -0
- package/dist/vitest.integration.config.js +39 -0
- package/dist/vitest.integration.config.js.map +1 -0
- package/package.json +15 -10
- 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
|
@@ -377,7 +377,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
377
377
|
}];
|
|
378
378
|
readonly name: "Approval";
|
|
379
379
|
readonly type: "event";
|
|
380
|
-
}], "symbol", readonly []>, "address" | "
|
|
380
|
+
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
381
381
|
name: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
382
382
|
readonly constant: true;
|
|
383
383
|
readonly inputs: readonly [{
|
|
@@ -749,7 +749,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
749
749
|
}];
|
|
750
750
|
readonly name: "Approval";
|
|
751
751
|
readonly type: "event";
|
|
752
|
-
}], "name", readonly []>, "address" | "
|
|
752
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
753
753
|
getPooledEthBySharesRoundUp: (args: readonly [bigint], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
754
754
|
readonly constant: true;
|
|
755
755
|
readonly inputs: readonly [{
|
|
@@ -1121,7 +1121,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
1121
1121
|
}];
|
|
1122
1122
|
readonly name: "Approval";
|
|
1123
1123
|
readonly type: "event";
|
|
1124
|
-
}], "getPooledEthBySharesRoundUp", readonly [bigint]>, "address" | "
|
|
1124
|
+
}], "getPooledEthBySharesRoundUp", readonly [bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1125
1125
|
totalSupply: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
1126
1126
|
readonly constant: true;
|
|
1127
1127
|
readonly inputs: readonly [{
|
|
@@ -1493,7 +1493,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
1493
1493
|
}];
|
|
1494
1494
|
readonly name: "Approval";
|
|
1495
1495
|
readonly type: "event";
|
|
1496
|
-
}], "totalSupply", readonly []>, "address" | "
|
|
1496
|
+
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1497
1497
|
getSharesByPooledEth: (args: readonly [bigint], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
1498
1498
|
readonly constant: true;
|
|
1499
1499
|
readonly inputs: readonly [{
|
|
@@ -1865,7 +1865,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
1865
1865
|
}];
|
|
1866
1866
|
readonly name: "Approval";
|
|
1867
1867
|
readonly type: "event";
|
|
1868
|
-
}], "getSharesByPooledEth", readonly [bigint]>, "address" | "
|
|
1868
|
+
}], "getSharesByPooledEth", readonly [bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1869
1869
|
decimals: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
1870
1870
|
readonly constant: true;
|
|
1871
1871
|
readonly inputs: readonly [{
|
|
@@ -2237,7 +2237,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
2237
2237
|
}];
|
|
2238
2238
|
readonly name: "Approval";
|
|
2239
2239
|
readonly type: "event";
|
|
2240
|
-
}], "decimals", readonly []>, "address" | "
|
|
2240
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
2241
2241
|
getTotalPooledEther: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
2242
2242
|
readonly constant: true;
|
|
2243
2243
|
readonly inputs: readonly [{
|
|
@@ -2609,7 +2609,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
2609
2609
|
}];
|
|
2610
2610
|
readonly name: "Approval";
|
|
2611
2611
|
readonly type: "event";
|
|
2612
|
-
}], "getTotalPooledEther", readonly []>, "address" | "
|
|
2612
|
+
}], "getTotalPooledEther", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
2613
2613
|
isStopped: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
2614
2614
|
readonly constant: true;
|
|
2615
2615
|
readonly inputs: readonly [{
|
|
@@ -2981,7 +2981,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
2981
2981
|
}];
|
|
2982
2982
|
readonly name: "Approval";
|
|
2983
2983
|
readonly type: "event";
|
|
2984
|
-
}], "isStopped", readonly []>, "address" | "
|
|
2984
|
+
}], "isStopped", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<boolean>;
|
|
2985
2985
|
balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
2986
2986
|
readonly constant: true;
|
|
2987
2987
|
readonly inputs: readonly [{
|
|
@@ -3353,7 +3353,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
3353
3353
|
}];
|
|
3354
3354
|
readonly name: "Approval";
|
|
3355
3355
|
readonly type: "event";
|
|
3356
|
-
}], "balanceOf", readonly [`0x${string}`]>, "address" | "
|
|
3356
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
3357
3357
|
getPooledEthByShares: (args: readonly [bigint], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
3358
3358
|
readonly constant: true;
|
|
3359
3359
|
readonly inputs: readonly [{
|
|
@@ -3725,7 +3725,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
3725
3725
|
}];
|
|
3726
3726
|
readonly name: "Approval";
|
|
3727
3727
|
readonly type: "event";
|
|
3728
|
-
}], "getPooledEthByShares", readonly [bigint]>, "address" | "
|
|
3728
|
+
}], "getPooledEthByShares", readonly [bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
3729
3729
|
getTotalShares: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
3730
3730
|
readonly constant: true;
|
|
3731
3731
|
readonly inputs: readonly [{
|
|
@@ -4097,7 +4097,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
4097
4097
|
}];
|
|
4098
4098
|
readonly name: "Approval";
|
|
4099
4099
|
readonly type: "event";
|
|
4100
|
-
}], "getTotalShares", readonly []>, "address" | "
|
|
4100
|
+
}], "getTotalShares", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4101
4101
|
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
4102
4102
|
readonly constant: true;
|
|
4103
4103
|
readonly inputs: readonly [{
|
|
@@ -4469,7 +4469,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
4469
4469
|
}];
|
|
4470
4470
|
readonly name: "Approval";
|
|
4471
4471
|
readonly type: "event";
|
|
4472
|
-
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "
|
|
4472
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4473
4473
|
sharesOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
4474
4474
|
readonly constant: true;
|
|
4475
4475
|
readonly inputs: readonly [{
|
|
@@ -4841,7 +4841,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
4841
4841
|
}];
|
|
4842
4842
|
readonly name: "Approval";
|
|
4843
4843
|
readonly type: "event";
|
|
4844
|
-
}], "sharesOf", readonly [`0x${string}`]>, "address" | "
|
|
4844
|
+
}], "sharesOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4845
4845
|
};
|
|
4846
4846
|
estimateGas: {
|
|
4847
4847
|
approve: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
@@ -5215,7 +5215,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
5215
5215
|
}];
|
|
5216
5216
|
readonly name: "Approval";
|
|
5217
5217
|
readonly type: "event";
|
|
5218
|
-
}], "approve", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
5218
|
+
}], "approve", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
5219
5219
|
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
5220
5220
|
readonly constant: true;
|
|
5221
5221
|
readonly inputs: readonly [{
|
|
@@ -5587,7 +5587,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
5587
5587
|
}];
|
|
5588
5588
|
readonly name: "Approval";
|
|
5589
5589
|
readonly type: "event";
|
|
5590
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
5590
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
5591
5591
|
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
5592
5592
|
readonly constant: true;
|
|
5593
5593
|
readonly inputs: readonly [{
|
|
@@ -5959,7 +5959,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
5959
5959
|
}];
|
|
5960
5960
|
readonly name: "Approval";
|
|
5961
5961
|
readonly type: "event";
|
|
5962
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
5962
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
5963
5963
|
transferSharesFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
5964
5964
|
readonly constant: true;
|
|
5965
5965
|
readonly inputs: readonly [{
|
|
@@ -6331,7 +6331,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
6331
6331
|
}];
|
|
6332
6332
|
readonly name: "Approval";
|
|
6333
6333
|
readonly type: "event";
|
|
6334
|
-
}], "transferSharesFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
6334
|
+
}], "transferSharesFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
6335
6335
|
transferShares: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
6336
6336
|
readonly constant: true;
|
|
6337
6337
|
readonly inputs: readonly [{
|
|
@@ -6703,7 +6703,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
6703
6703
|
}];
|
|
6704
6704
|
readonly name: "Approval";
|
|
6705
6705
|
readonly type: "event";
|
|
6706
|
-
}], "transferShares", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
6706
|
+
}], "transferShares", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
6707
6707
|
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
6708
6708
|
readonly constant: true;
|
|
6709
6709
|
readonly inputs: readonly [{
|
|
@@ -7075,7 +7075,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
7075
7075
|
}];
|
|
7076
7076
|
readonly name: "Approval";
|
|
7077
7077
|
readonly type: "event";
|
|
7078
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
7078
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
7079
7079
|
transfer: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
7080
7080
|
readonly constant: true;
|
|
7081
7081
|
readonly inputs: readonly [{
|
|
@@ -7447,7 +7447,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
7447
7447
|
}];
|
|
7448
7448
|
readonly name: "Approval";
|
|
7449
7449
|
readonly type: "event";
|
|
7450
|
-
}], "transfer", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
7450
|
+
}], "transfer", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
7451
7451
|
} & {
|
|
7452
7452
|
approve: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
7453
7453
|
readonly constant: true;
|
|
@@ -7820,7 +7820,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
7820
7820
|
}];
|
|
7821
7821
|
readonly name: "Approval";
|
|
7822
7822
|
readonly type: "event";
|
|
7823
|
-
}], "approve", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
7823
|
+
}], "approve", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
7824
7824
|
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
7825
7825
|
readonly constant: true;
|
|
7826
7826
|
readonly inputs: readonly [{
|
|
@@ -8192,7 +8192,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
8192
8192
|
}];
|
|
8193
8193
|
readonly name: "Approval";
|
|
8194
8194
|
readonly type: "event";
|
|
8195
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
8195
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
8196
8196
|
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
8197
8197
|
readonly constant: true;
|
|
8198
8198
|
readonly inputs: readonly [{
|
|
@@ -8564,7 +8564,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
8564
8564
|
}];
|
|
8565
8565
|
readonly name: "Approval";
|
|
8566
8566
|
readonly type: "event";
|
|
8567
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
8567
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
8568
8568
|
transferSharesFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
8569
8569
|
readonly constant: true;
|
|
8570
8570
|
readonly inputs: readonly [{
|
|
@@ -8936,7 +8936,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
8936
8936
|
}];
|
|
8937
8937
|
readonly name: "Approval";
|
|
8938
8938
|
readonly type: "event";
|
|
8939
|
-
}], "transferSharesFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
8939
|
+
}], "transferSharesFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
8940
8940
|
transferShares: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
8941
8941
|
readonly constant: true;
|
|
8942
8942
|
readonly inputs: readonly [{
|
|
@@ -9308,7 +9308,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
9308
9308
|
}];
|
|
9309
9309
|
readonly name: "Approval";
|
|
9310
9310
|
readonly type: "event";
|
|
9311
|
-
}], "transferShares", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
9311
|
+
}], "transferShares", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
9312
9312
|
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
9313
9313
|
readonly constant: true;
|
|
9314
9314
|
readonly inputs: readonly [{
|
|
@@ -9680,7 +9680,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
9680
9680
|
}];
|
|
9681
9681
|
readonly name: "Approval";
|
|
9682
9682
|
readonly type: "event";
|
|
9683
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
9683
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
9684
9684
|
transfer: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
9685
9685
|
readonly constant: true;
|
|
9686
9686
|
readonly inputs: readonly [{
|
|
@@ -10052,7 +10052,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
10052
10052
|
}];
|
|
10053
10053
|
readonly name: "Approval";
|
|
10054
10054
|
readonly type: "event";
|
|
10055
|
-
}], "transfer", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "
|
|
10055
|
+
}], "transfer", readonly [`0x${string}`, bigint], import("viem").Chain>, "address" | "abi" | "args" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
10056
10056
|
};
|
|
10057
10057
|
simulate: {
|
|
10058
10058
|
approve: <chainOverride extends import("viem").Chain | undefined = undefined, accountOverride extends import("viem").Account | import("viem").Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<import("viem").SimulateContractParameters<readonly [{
|
|
@@ -10426,7 +10426,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
10426
10426
|
}];
|
|
10427
10427
|
readonly name: "Approval";
|
|
10428
10428
|
readonly type: "event";
|
|
10429
|
-
}], "approve", readonly [`0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "
|
|
10429
|
+
}], "approve", readonly [`0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import("viem").SimulateContractReturnType<readonly [{
|
|
10430
10430
|
readonly constant: true;
|
|
10431
10431
|
readonly inputs: readonly [{
|
|
10432
10432
|
readonly name: "_sharesAmount";
|
|
@@ -11169,7 +11169,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
11169
11169
|
}];
|
|
11170
11170
|
readonly name: "Approval";
|
|
11171
11171
|
readonly type: "event";
|
|
11172
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "
|
|
11172
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import("viem").SimulateContractReturnType<readonly [{
|
|
11173
11173
|
readonly constant: true;
|
|
11174
11174
|
readonly inputs: readonly [{
|
|
11175
11175
|
readonly name: "_sharesAmount";
|
|
@@ -11912,7 +11912,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
11912
11912
|
}];
|
|
11913
11913
|
readonly name: "Approval";
|
|
11914
11914
|
readonly type: "event";
|
|
11915
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "
|
|
11915
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import("viem").SimulateContractReturnType<readonly [{
|
|
11916
11916
|
readonly constant: true;
|
|
11917
11917
|
readonly inputs: readonly [{
|
|
11918
11918
|
readonly name: "_sharesAmount";
|
|
@@ -12655,7 +12655,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
12655
12655
|
}];
|
|
12656
12656
|
readonly name: "Approval";
|
|
12657
12657
|
readonly type: "event";
|
|
12658
|
-
}], "transferSharesFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "
|
|
12658
|
+
}], "transferSharesFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import("viem").SimulateContractReturnType<readonly [{
|
|
12659
12659
|
readonly constant: true;
|
|
12660
12660
|
readonly inputs: readonly [{
|
|
12661
12661
|
readonly name: "_sharesAmount";
|
|
@@ -13398,7 +13398,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
13398
13398
|
}];
|
|
13399
13399
|
readonly name: "Approval";
|
|
13400
13400
|
readonly type: "event";
|
|
13401
|
-
}], "transferShares", readonly [`0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "
|
|
13401
|
+
}], "transferShares", readonly [`0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import("viem").SimulateContractReturnType<readonly [{
|
|
13402
13402
|
readonly constant: true;
|
|
13403
13403
|
readonly inputs: readonly [{
|
|
13404
13404
|
readonly name: "_sharesAmount";
|
|
@@ -14141,7 +14141,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
14141
14141
|
}];
|
|
14142
14142
|
readonly name: "Approval";
|
|
14143
14143
|
readonly type: "event";
|
|
14144
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "
|
|
14144
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import("viem").SimulateContractReturnType<readonly [{
|
|
14145
14145
|
readonly constant: true;
|
|
14146
14146
|
readonly inputs: readonly [{
|
|
14147
14147
|
readonly name: "_sharesAmount";
|
|
@@ -14884,7 +14884,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
14884
14884
|
}];
|
|
14885
14885
|
readonly name: "Approval";
|
|
14886
14886
|
readonly type: "event";
|
|
14887
|
-
}], "transfer", readonly [`0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "
|
|
14887
|
+
}], "transfer", readonly [`0x${string}`, bigint], import("viem").Chain, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import("viem").SimulateContractReturnType<readonly [{
|
|
14888
14888
|
readonly constant: true;
|
|
14889
14889
|
readonly inputs: readonly [{
|
|
14890
14890
|
readonly name: "_sharesAmount";
|
|
@@ -19845,8 +19845,8 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
19845
19845
|
batch?: boolean | undefined | undefined;
|
|
19846
19846
|
pollingInterval?: number | undefined | undefined;
|
|
19847
19847
|
strict?: boolean | undefined;
|
|
19848
|
-
fromBlock?: bigint | undefined;
|
|
19849
19848
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
19849
|
+
fromBlock?: bigint | undefined;
|
|
19850
19850
|
onLogs: import("viem").WatchContractEventOnLogsFn<readonly [{
|
|
19851
19851
|
readonly constant: true;
|
|
19852
19852
|
readonly inputs: readonly [{
|
|
@@ -20228,8 +20228,8 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
20228
20228
|
batch?: boolean | undefined | undefined;
|
|
20229
20229
|
pollingInterval?: number | undefined | undefined;
|
|
20230
20230
|
strict?: boolean | undefined;
|
|
20231
|
-
fromBlock?: bigint | undefined;
|
|
20232
20231
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
20232
|
+
fromBlock?: bigint | undefined;
|
|
20233
20233
|
onLogs: import("viem").WatchContractEventOnLogsFn<readonly [{
|
|
20234
20234
|
readonly constant: true;
|
|
20235
20235
|
readonly inputs: readonly [{
|
|
@@ -20610,8 +20610,8 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
20610
20610
|
batch?: boolean | undefined | undefined;
|
|
20611
20611
|
pollingInterval?: number | undefined | undefined;
|
|
20612
20612
|
strict?: boolean | undefined;
|
|
20613
|
-
fromBlock?: bigint | undefined;
|
|
20614
20613
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
20614
|
+
fromBlock?: bigint | undefined;
|
|
20615
20615
|
onLogs: import("viem").WatchContractEventOnLogsFn<readonly [{
|
|
20616
20616
|
readonly constant: true;
|
|
20617
20617
|
readonly inputs: readonly [{
|
|
@@ -20990,8 +20990,8 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
20990
20990
|
batch?: boolean | undefined | undefined;
|
|
20991
20991
|
pollingInterval?: number | undefined | undefined;
|
|
20992
20992
|
strict?: boolean | undefined;
|
|
20993
|
-
fromBlock?: bigint | undefined;
|
|
20994
20993
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
20994
|
+
fromBlock?: bigint | undefined;
|
|
20995
20995
|
onLogs: import("viem").WatchContractEventOnLogsFn<readonly [{
|
|
20996
20996
|
readonly constant: true;
|
|
20997
20997
|
readonly inputs: readonly [{
|
|
@@ -21373,8 +21373,8 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
21373
21373
|
batch?: boolean | undefined | undefined;
|
|
21374
21374
|
pollingInterval?: number | undefined | undefined;
|
|
21375
21375
|
strict?: boolean | undefined;
|
|
21376
|
-
fromBlock?: bigint | undefined;
|
|
21377
21376
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
21377
|
+
fromBlock?: bigint | undefined;
|
|
21378
21378
|
onLogs: import("viem").WatchContractEventOnLogsFn<readonly [{
|
|
21379
21379
|
readonly constant: true;
|
|
21380
21380
|
readonly inputs: readonly [{
|
|
@@ -21756,8 +21756,8 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
21756
21756
|
batch?: boolean | undefined | undefined;
|
|
21757
21757
|
pollingInterval?: number | undefined | undefined;
|
|
21758
21758
|
strict?: boolean | undefined;
|
|
21759
|
-
fromBlock?: bigint | undefined;
|
|
21760
21759
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
21760
|
+
fromBlock?: bigint | undefined;
|
|
21761
21761
|
onLogs: import("viem").WatchContractEventOnLogsFn<readonly [{
|
|
21762
21762
|
readonly constant: true;
|
|
21763
21763
|
readonly inputs: readonly [{
|
|
@@ -22505,7 +22505,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
22505
22505
|
}];
|
|
22506
22506
|
readonly name: "Approval";
|
|
22507
22507
|
readonly type: "event";
|
|
22508
|
-
}], "approve", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
22508
|
+
}], "approve", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
22509
22509
|
readonly constant: true;
|
|
22510
22510
|
readonly inputs: readonly [{
|
|
22511
22511
|
readonly name: "_sharesAmount";
|
|
@@ -22876,7 +22876,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
22876
22876
|
}];
|
|
22877
22877
|
readonly name: "Approval";
|
|
22878
22878
|
readonly type: "event";
|
|
22879
|
-
}], "approve", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
22879
|
+
}], "approve", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise<import("viem").WriteContractReturnType>;
|
|
22880
22880
|
transferFrom: <chainOverride extends import("viem").Chain | undefined, options extends import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
22881
22881
|
readonly constant: true;
|
|
22882
22882
|
readonly inputs: readonly [{
|
|
@@ -23248,7 +23248,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
23248
23248
|
}];
|
|
23249
23249
|
readonly name: "Approval";
|
|
23250
23250
|
readonly type: "event";
|
|
23251
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
23251
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
23252
23252
|
readonly constant: true;
|
|
23253
23253
|
readonly inputs: readonly [{
|
|
23254
23254
|
readonly name: "_sharesAmount";
|
|
@@ -23619,7 +23619,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
23619
23619
|
}];
|
|
23620
23620
|
readonly name: "Approval";
|
|
23621
23621
|
readonly type: "event";
|
|
23622
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
23622
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<import("viem").WriteContractReturnType>;
|
|
23623
23623
|
increaseAllowance: <chainOverride extends import("viem").Chain | undefined, options extends import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
23624
23624
|
readonly constant: true;
|
|
23625
23625
|
readonly inputs: readonly [{
|
|
@@ -23991,7 +23991,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
23991
23991
|
}];
|
|
23992
23992
|
readonly name: "Approval";
|
|
23993
23993
|
readonly type: "event";
|
|
23994
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
23994
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
23995
23995
|
readonly constant: true;
|
|
23996
23996
|
readonly inputs: readonly [{
|
|
23997
23997
|
readonly name: "_sharesAmount";
|
|
@@ -24362,7 +24362,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
24362
24362
|
}];
|
|
24363
24363
|
readonly name: "Approval";
|
|
24364
24364
|
readonly type: "event";
|
|
24365
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
24365
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise<import("viem").WriteContractReturnType>;
|
|
24366
24366
|
transferSharesFrom: <chainOverride extends import("viem").Chain | undefined, options extends import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
24367
24367
|
readonly constant: true;
|
|
24368
24368
|
readonly inputs: readonly [{
|
|
@@ -24734,7 +24734,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
24734
24734
|
}];
|
|
24735
24735
|
readonly name: "Approval";
|
|
24736
24736
|
readonly type: "event";
|
|
24737
|
-
}], "transferSharesFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
24737
|
+
}], "transferSharesFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
24738
24738
|
readonly constant: true;
|
|
24739
24739
|
readonly inputs: readonly [{
|
|
24740
24740
|
readonly name: "_sharesAmount";
|
|
@@ -25105,7 +25105,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
25105
25105
|
}];
|
|
25106
25106
|
readonly name: "Approval";
|
|
25107
25107
|
readonly type: "event";
|
|
25108
|
-
}], "transferSharesFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
25108
|
+
}], "transferSharesFrom", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<import("viem").WriteContractReturnType>;
|
|
25109
25109
|
transferShares: <chainOverride extends import("viem").Chain | undefined, options extends import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
25110
25110
|
readonly constant: true;
|
|
25111
25111
|
readonly inputs: readonly [{
|
|
@@ -25477,7 +25477,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
25477
25477
|
}];
|
|
25478
25478
|
readonly name: "Approval";
|
|
25479
25479
|
readonly type: "event";
|
|
25480
|
-
}], "transferShares", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
25480
|
+
}], "transferShares", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
25481
25481
|
readonly constant: true;
|
|
25482
25482
|
readonly inputs: readonly [{
|
|
25483
25483
|
readonly name: "_sharesAmount";
|
|
@@ -25848,7 +25848,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
25848
25848
|
}];
|
|
25849
25849
|
readonly name: "Approval";
|
|
25850
25850
|
readonly type: "event";
|
|
25851
|
-
}], "transferShares", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
25851
|
+
}], "transferShares", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise<import("viem").WriteContractReturnType>;
|
|
25852
25852
|
decreaseAllowance: <chainOverride extends import("viem").Chain | undefined, options extends import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
25853
25853
|
readonly constant: true;
|
|
25854
25854
|
readonly inputs: readonly [{
|
|
@@ -26220,7 +26220,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
26220
26220
|
}];
|
|
26221
26221
|
readonly name: "Approval";
|
|
26222
26222
|
readonly type: "event";
|
|
26223
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
26223
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
26224
26224
|
readonly constant: true;
|
|
26225
26225
|
readonly inputs: readonly [{
|
|
26226
26226
|
readonly name: "_sharesAmount";
|
|
@@ -26591,7 +26591,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
26591
26591
|
}];
|
|
26592
26592
|
readonly name: "Approval";
|
|
26593
26593
|
readonly type: "event";
|
|
26594
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
26594
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise<import("viem").WriteContractReturnType>;
|
|
26595
26595
|
transfer: <chainOverride extends import("viem").Chain | undefined, options extends import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
26596
26596
|
readonly constant: true;
|
|
26597
26597
|
readonly inputs: readonly [{
|
|
@@ -26963,7 +26963,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
26963
26963
|
}];
|
|
26964
26964
|
readonly name: "Approval";
|
|
26965
26965
|
readonly type: "event";
|
|
26966
|
-
}], "transfer", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
26966
|
+
}], "transfer", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
26967
26967
|
readonly constant: true;
|
|
26968
26968
|
readonly inputs: readonly [{
|
|
26969
26969
|
readonly name: "_sharesAmount";
|
|
@@ -27334,7 +27334,7 @@ export declare const fetchVaultMetrics: (contract: DashboardContract) => Promise
|
|
|
27334
27334
|
}];
|
|
27335
27335
|
readonly name: "Approval";
|
|
27336
27336
|
readonly type: "event";
|
|
27337
|
-
}], "transfer", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "
|
|
27337
|
+
}], "transfer", readonly [`0x${string}`, bigint], import("viem").Chain, undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise<import("viem").WriteContractReturnType>;
|
|
27338
27338
|
};
|
|
27339
27339
|
address: `0x${string}`;
|
|
27340
27340
|
abi: readonly [{
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.js
CHANGED
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import process from 'process';
|
|
2
2
|
import { logError, logInfo } from './logging/console.js';
|
|
3
|
+
import { disconnectWalletConnect } from './wallet-connect.js';
|
|
3
4
|
export const withInterruptHandling = (action) => {
|
|
4
5
|
return async (...args) => {
|
|
5
6
|
let interrupted = false;
|
|
6
|
-
const sigintHandler = () => {
|
|
7
|
+
const sigintHandler = async () => {
|
|
7
8
|
interrupted = true;
|
|
9
|
+
await disconnectWalletConnect();
|
|
8
10
|
logInfo('\n✋ Interrupted. Exiting...');
|
|
9
11
|
process.exit(130);
|
|
10
12
|
};
|
|
@@ -17,7 +19,11 @@ export const withInterruptHandling = (action) => {
|
|
|
17
19
|
return result;
|
|
18
20
|
}
|
|
19
21
|
catch (err) {
|
|
20
|
-
|
|
22
|
+
if (err instanceof Error)
|
|
23
|
+
logError('Command failed:', err.message);
|
|
24
|
+
else
|
|
25
|
+
logError('Command failed:', err);
|
|
26
|
+
await disconnectWalletConnect();
|
|
21
27
|
process.exit(1);
|
|
22
28
|
}
|
|
23
29
|
finally {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interrupt-handler.js","sourceRoot":"","sources":["../../utils/interrupt-handler.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"interrupt-handler.js","sourceRoot":"","sources":["../../utils/interrupt-handler.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAI9D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAAqB,EAAE,EAAE;IAC7D,OAAO,KAAK,EAAE,GAAG,IAAW,EAAE,EAAE;QAC9B,IAAI,WAAW,GAAG,KAAK,CAAC;QAExB,MAAM,aAAa,GAAG,KAAK,IAAI,EAAE;YAC/B,WAAW,GAAG,IAAI,CAAC;YACnB,MAAM,uBAAuB,EAAE,CAAC;YAChC,OAAO,CAAC,6BAA6B,CAAC,CAAC;YACvC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACpB,CAAC,CAAC;QAEF,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;QAEtC,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;YAErC,IAAI,WAAW,EAAE,CAAC;gBAChB,OAAO,CAAC,sBAAsB,CAAC,CAAC;YAClC,CAAC;YAED,OAAO,MAAM,CAAC;QAChB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,GAAG,YAAY,KAAK;gBAAE,QAAQ,CAAC,iBAAiB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;;gBAC9D,QAAQ,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC;YAEtC,MAAM,uBAAuB,EAAE,CAAC;YAChC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;gBAAS,CAAC;YACT,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;QACvC,CAAC;IACH,CAAC,CAAC;AACJ,CAAC,CAAC"}
|