@lidofinance/lsv-cli 1.0.0 → 1.1.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/AccessControlConfirmable.d.ts +3 -2
- package/dist/abi/AccessControlConfirmable.js +3 -1
- package/dist/abi/AccessControlConfirmable.js.map +1 -1
- package/dist/abi/Dashboard.d.ts +64 -27
- package/dist/abi/Dashboard.js +38 -29
- package/dist/abi/Dashboard.js.map +1 -1
- package/dist/abi/LazyOracle.d.ts +44 -3
- package/dist/abi/LazyOracle.js +57 -3
- package/dist/abi/LazyOracle.js.map +1 -1
- package/dist/abi/OperatorGrid.d.ts +28 -0
- package/dist/abi/PredepositGuarantee.d.ts +28 -0
- package/dist/abi/StakingVault.d.ts +56 -0
- package/dist/abi/StakingVault.js +2 -0
- package/dist/abi/StakingVault.js.map +1 -1
- package/dist/abi/VaultFactory.d.ts +32 -4
- package/dist/abi/VaultHub.d.ts +38 -0
- package/dist/abi/VaultHub.js +13 -0
- package/dist/abi/VaultHub.js.map +1 -1
- package/dist/abi/VaultViewer.d.ts +144 -196
- package/dist/abi/VaultViewer.js +188 -257
- package/dist/abi/VaultViewer.js.map +1 -1
- package/dist/abi/defi-wrapper/Distributor.d.ts +448 -0
- package/dist/abi/defi-wrapper/Distributor.js +583 -0
- package/dist/abi/defi-wrapper/Distributor.js.map +1 -0
- package/dist/abi/defi-wrapper/Factory.d.ts +761 -0
- package/dist/abi/defi-wrapper/Factory.js +975 -0
- package/dist/abi/defi-wrapper/Factory.js.map +1 -0
- package/dist/abi/defi-wrapper/StvPool.d.ts +1283 -0
- package/dist/abi/defi-wrapper/StvPool.js +1680 -0
- package/dist/abi/defi-wrapper/StvPool.js.map +1 -0
- package/dist/abi/defi-wrapper/StvStETHPool.d.ts +1755 -0
- package/dist/abi/defi-wrapper/StvStETHPool.js +2301 -0
- package/dist/abi/defi-wrapper/StvStETHPool.js.map +1 -0
- package/dist/abi/defi-wrapper/StvStrategyPool.d.ts +1769 -0
- package/dist/abi/defi-wrapper/StvStrategyPool.js +2319 -0
- package/dist/abi/defi-wrapper/StvStrategyPool.js.map +1 -0
- package/dist/abi/defi-wrapper/WithdrawalQueue.d.ts +1131 -0
- package/dist/abi/defi-wrapper/WithdrawalQueue.js +1472 -0
- package/dist/abi/defi-wrapper/WithdrawalQueue.js.map +1 -0
- package/dist/abi/defi-wrapper/index.d.ts +6 -0
- package/dist/abi/defi-wrapper/index.js +7 -0
- package/dist/abi/defi-wrapper/index.js.map +1 -0
- package/dist/configs/utils.d.ts +1 -0
- package/dist/configs/utils.js +4 -0
- package/dist/configs/utils.js.map +1 -1
- package/dist/contracts/dashboard-impl.d.ts +4 -0
- package/dist/contracts/dashboard-impl.js +16 -0
- package/dist/contracts/dashboard-impl.js.map +1 -0
- package/dist/contracts/defi-wrapper/distributor.d.ts +4 -0
- package/dist/contracts/defi-wrapper/distributor.js +11 -0
- package/dist/contracts/defi-wrapper/distributor.js.map +1 -0
- package/dist/contracts/defi-wrapper/factory.d.ts +4 -0
- package/dist/contracts/defi-wrapper/factory.js +11 -0
- package/dist/contracts/defi-wrapper/factory.js.map +1 -0
- package/dist/contracts/defi-wrapper/index.d.ts +6 -0
- package/dist/contracts/defi-wrapper/index.js +7 -0
- package/dist/contracts/defi-wrapper/index.js.map +1 -0
- package/dist/contracts/defi-wrapper/stv-pool.d.ts +4 -0
- package/dist/contracts/defi-wrapper/stv-pool.js +11 -0
- package/dist/contracts/defi-wrapper/stv-pool.js.map +1 -0
- package/dist/contracts/defi-wrapper/stv-steth-pool.d.ts +4 -0
- package/dist/contracts/defi-wrapper/stv-steth-pool.js +11 -0
- package/dist/contracts/defi-wrapper/stv-steth-pool.js.map +1 -0
- package/dist/contracts/defi-wrapper/stv-strategy-pool.d.ts +4 -0
- package/dist/contracts/defi-wrapper/stv-strategy-pool.js +11 -0
- package/dist/contracts/defi-wrapper/stv-strategy-pool.js.map +1 -0
- package/dist/contracts/defi-wrapper/withdrawal-queue.d.ts +4 -0
- package/dist/contracts/defi-wrapper/withdrawal-queue.js +11 -0
- package/dist/contracts/defi-wrapper/withdrawal-queue.js.map +1 -0
- 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/vault-factory.d.ts +774 -102
- package/dist/contracts/vault-viewer.d.ts +2765 -4893
- package/dist/contracts/vault-viewer.js +1 -1
- package/dist/features/defi-wrapper-factory.d.ts +18 -0
- package/dist/features/defi-wrapper-factory.js +28 -0
- package/dist/features/defi-wrapper-factory.js.map +1 -0
- package/dist/features/deposits/check-bls-deposits.d.ts +2 -1
- package/dist/features/deposits/check-bls-deposits.js +10 -1
- package/dist/features/deposits/check-bls-deposits.js.map +1 -1
- package/dist/features/deposits/make-pdg-proof.d.ts +8 -0
- package/dist/features/deposits/make-pdg-proof.js +17 -1
- package/dist/features/deposits/make-pdg-proof.js.map +1 -1
- package/dist/features/index.d.ts +1 -0
- package/dist/features/index.js +1 -0
- package/dist/features/index.js.map +1 -1
- package/dist/features/mint-burn/allowance.js +1 -1
- package/dist/features/mint-burn/allowance.js.map +1 -1
- package/dist/features/pdg.d.ts +7 -0
- package/dist/features/pdg.js +5 -5
- package/dist/features/pdg.js.map +1 -1
- package/dist/features/utils/quarantine.d.ts +2 -0
- package/dist/features/utils/report-fresh.js +17 -0
- package/dist/features/utils/report-fresh.js.map +1 -1
- package/dist/features/vault-factory.d.ts +2 -2
- package/dist/features/vault-factory.js +6 -1
- package/dist/features/vault-factory.js.map +1 -1
- package/dist/features/vault-operations/create-vault.js +2 -2
- package/dist/features/vault-operations/create-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 +9 -11
- package/dist/features/vault-operations/vault-overview.js.map +1 -1
- package/dist/features/vault-operations/vault-roles.d.ts +2 -1
- package/dist/features/vault-operations/vault-roles.js +22 -23
- package/dist/features/vault-operations/vault-roles.js.map +1 -1
- package/dist/features/vault-operations/vaults-by-role.d.ts +5 -0
- package/dist/features/vault-operations/vaults-by-role.js +103 -35
- package/dist/features/vault-operations/vaults-by-role.js.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/programs/contracts/dashboard/config.js +4 -0
- package/dist/programs/contracts/dashboard/config.js.map +1 -1
- package/dist/programs/contracts/dashboard/write.js +45 -21
- package/dist/programs/contracts/dashboard/write.js.map +1 -1
- package/dist/programs/contracts/lazy-oracle/config.js +33 -0
- package/dist/programs/contracts/lazy-oracle/config.js.map +1 -1
- package/dist/programs/contracts/operator-grid/write.js +2 -75
- package/dist/programs/contracts/operator-grid/write.js.map +1 -1
- package/dist/programs/contracts/pdg/read.js +2 -5
- package/dist/programs/contracts/pdg/read.js.map +1 -1
- package/dist/programs/contracts/pdg/write.js +39 -7
- package/dist/programs/contracts/pdg/write.js.map +1 -1
- package/dist/programs/contracts/vault/write.js +18 -7
- package/dist/programs/contracts/vault/write.js.map +1 -1
- package/dist/programs/contracts/vault-factory/write.js +25 -15
- package/dist/programs/contracts/vault-factory/write.js.map +1 -1
- package/dist/programs/contracts/vault-viewer/config.js +102 -59
- package/dist/programs/contracts/vault-viewer/config.js.map +1 -1
- package/dist/programs/contracts/vault-viewer/read.js +22 -76
- package/dist/programs/contracts/vault-viewer/read.js.map +1 -1
- package/dist/programs/defi-wrapper/contracts/distributor/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/distributor/config.js +44 -0
- package/dist/programs/defi-wrapper/contracts/distributor/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/distributor/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/distributor/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/main.js +5 -0
- package/dist/programs/defi-wrapper/contracts/distributor/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/read.js +40 -0
- package/dist/programs/defi-wrapper/contracts/distributor/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/distributor/write.js +70 -0
- package/dist/programs/defi-wrapper/contracts/distributor/write.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/factory/config.js +2 -0
- package/dist/programs/defi-wrapper/contracts/factory/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/factory/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/factory/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/factory/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/read.js +56 -0
- package/dist/programs/defi-wrapper/contracts/factory/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/factory/write.js +327 -0
- package/dist/programs/defi-wrapper/contracts/factory/write.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/index.d.ts +7 -0
- package/dist/programs/defi-wrapper/contracts/index.js +8 -0
- package/dist/programs/defi-wrapper/contracts/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/config.js +83 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/read.js +77 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/write.js +287 -0
- package/dist/programs/defi-wrapper/contracts/stv-pool/write.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/config.js +210 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.js +77 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js +370 -0
- package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/config.js +214 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/read.js +77 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/write.js +370 -0
- package/dist/programs/defi-wrapper/contracts/stv-strategy-pool/write.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.js +156 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/config.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/index.d.ts +3 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/index.js +4 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/index.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/main.js +6 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/main.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.js +84 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/read.js.map +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.d.ts +1 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js +140 -0
- package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js.map +1 -0
- package/dist/programs/defi-wrapper/index.d.ts +2 -0
- package/dist/programs/defi-wrapper/index.js +3 -0
- package/dist/programs/defi-wrapper/index.js.map +1 -0
- package/dist/programs/defi-wrapper/main.d.ts +1 -0
- package/dist/programs/defi-wrapper/main.js +6 -0
- package/dist/programs/defi-wrapper/main.js.map +1 -0
- package/dist/programs/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 +3 -3
- package/dist/programs/pdg-helpers.js.map +1 -1
- package/dist/programs/use-cases/deposits/read.js +4 -4
- package/dist/programs/use-cases/deposits/read.js.map +1 -1
- package/dist/programs/use-cases/deposits/write.js +103 -8
- package/dist/programs/use-cases/deposits/write.js.map +1 -1
- package/dist/programs/use-cases/metrics/read.js +29 -13
- package/dist/programs/use-cases/metrics/read.js.map +1 -1
- package/dist/programs/use-cases/report/write.js +3 -0
- package/dist/programs/use-cases/report/write.js.map +1 -1
- package/dist/programs/use-cases/vault-operations/create-vault.js +11 -5
- package/dist/programs/use-cases/vault-operations/create-vault.js.map +1 -1
- package/dist/providers/wallet.d.ts +2 -7663
- package/dist/providers/wallet.js +1 -1
- package/dist/providers/wallet.js.map +1 -1
- package/dist/utils/arguments.d.ts +4 -0
- package/dist/utils/arguments.js +16 -3
- package/dist/utils/arguments.js.map +1 -1
- package/dist/utils/fetchCL.d.ts +1 -5
- package/dist/utils/fetchCL.js +5 -7
- package/dist/utils/fetchCL.js.map +1 -1
- package/dist/utils/health/health-utils.js +1 -1
- package/dist/utils/health/health-utils.js.map +1 -1
- package/dist/utils/proof/constants.d.ts +6 -0
- package/dist/utils/proof/constants.js +7 -0
- package/dist/utils/proof/constants.js.map +1 -0
- package/dist/utils/proof/first-validator-gindex.js +0 -4
- package/dist/utils/proof/first-validator-gindex.js.map +1 -1
- package/dist/utils/proof/proofs.d.ts +7 -8
- package/dist/utils/proof/proofs.js +36 -28
- package/dist/utils/proof/proofs.js.map +1 -1
- package/dist/utils/transactions/tx-private-key.d.ts +2 -2
- package/dist/utils/transactions/tx-private-key.js.map +1 -1
- package/dist/utils/transactions/tx-wc.d.ts +29 -1
- package/dist/utils/transactions/tx-wc.js +41 -24
- package/dist/utils/transactions/tx-wc.js.map +1 -1
- package/dist/utils/wallet-connect.d.ts +4 -7664
- package/dist/utils/wallet-connect.js +14 -2
- package/dist/utils/wallet-connect.js.map +1 -1
- package/dist/version/index.js +1 -1
- package/package.json +4 -5
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { stringToAddress, stringToBigInt, } from '../../../../utils/index.js';
|
|
2
|
+
export const readCommandConfig = {
|
|
3
|
+
wrapperType: {
|
|
4
|
+
name: 'wrapper-type',
|
|
5
|
+
description: 'get the wrapper type of the pool',
|
|
6
|
+
},
|
|
7
|
+
withdrawableStvOf: {
|
|
8
|
+
name: 'withdrawable-stv-of',
|
|
9
|
+
description: 'get calculated amount of stv that can be withdrawn by an account',
|
|
10
|
+
arguments: {
|
|
11
|
+
_account: {
|
|
12
|
+
name: 'account',
|
|
13
|
+
description: 'the address of the account',
|
|
14
|
+
modifier: stringToAddress,
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
withdrawableEthOf: {
|
|
19
|
+
name: 'withdrawable-eth-of',
|
|
20
|
+
description: 'get calculated the amount of ETH that can be withdrawn by an account',
|
|
21
|
+
arguments: {
|
|
22
|
+
_account: {
|
|
23
|
+
name: 'account',
|
|
24
|
+
description: 'the address of the account',
|
|
25
|
+
modifier: stringToAddress,
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
vaultDisconnected: {
|
|
30
|
+
name: 'vault-disconnected',
|
|
31
|
+
description: 'get whether the vault is disconnected',
|
|
32
|
+
},
|
|
33
|
+
totalUnassignedLiabilityShares: {
|
|
34
|
+
name: 'total-unassigned-liability-shares',
|
|
35
|
+
aliases: ['tuls'],
|
|
36
|
+
description: 'get the total liability stETH shares that are not assigned to any users',
|
|
37
|
+
},
|
|
38
|
+
totalAssets: {
|
|
39
|
+
name: 'total-assets',
|
|
40
|
+
aliases: ['ta'],
|
|
41
|
+
description: 'get the total assets managed by the pool',
|
|
42
|
+
},
|
|
43
|
+
totalLiabilityShares: {
|
|
44
|
+
name: 'total-liability-shares',
|
|
45
|
+
aliases: ['tls'],
|
|
46
|
+
description: 'get the total liability stETH shares issued to the vault',
|
|
47
|
+
},
|
|
48
|
+
totalExceedingMintedSteth: {
|
|
49
|
+
name: 'total-exceeding-minted-steth',
|
|
50
|
+
aliases: ['tems'],
|
|
51
|
+
description: "get the amount of minted stETH exceeding the Staking Vault's liability",
|
|
52
|
+
},
|
|
53
|
+
previewWithdraw: {
|
|
54
|
+
name: 'preview-withdraw',
|
|
55
|
+
description: 'get preview the amount of stv that would be burned for a given asset withdrawal',
|
|
56
|
+
arguments: {
|
|
57
|
+
_assets: {
|
|
58
|
+
name: 'assets',
|
|
59
|
+
description: 'the amount of assets to withdraw (18 decimals)',
|
|
60
|
+
modifier: stringToBigInt,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
previewRedeem: {
|
|
65
|
+
name: 'preview-redeem',
|
|
66
|
+
description: 'get preview the amount of assets that would be received for a given stv amount',
|
|
67
|
+
arguments: {
|
|
68
|
+
_stv: {
|
|
69
|
+
name: 'stv',
|
|
70
|
+
description: 'the amount of stv to redeem (27 decimals)',
|
|
71
|
+
modifier: stringToBigInt,
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
previewDeposit: {
|
|
76
|
+
name: 'preview-deposit',
|
|
77
|
+
description: 'get preview the amount of stv that would be received for a given asset amount',
|
|
78
|
+
arguments: {
|
|
79
|
+
_assets: {
|
|
80
|
+
name: 'assets',
|
|
81
|
+
description: 'the amount of assets to deposit (18 decimals)',
|
|
82
|
+
modifier: stringToBigInt,
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
calcAssetsToLockForStethShares: {
|
|
87
|
+
name: 'calc-assets-to-lock-for-steth-shares',
|
|
88
|
+
description: 'get calculated the min amount of assets to lock for a given amount of stETH shares',
|
|
89
|
+
arguments: {
|
|
90
|
+
_stethShares: {
|
|
91
|
+
name: 'stethShares',
|
|
92
|
+
description: 'the amount of stETH shares (18 decimals)',
|
|
93
|
+
modifier: stringToBigInt,
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
calcStethSharesToMintForAssets: {
|
|
98
|
+
name: 'calc-steth-shares-to-mint-for-assets',
|
|
99
|
+
description: 'get calculated the amount of stETH shares to mint for a given amount of assets',
|
|
100
|
+
arguments: {
|
|
101
|
+
_assets: {
|
|
102
|
+
name: 'assets',
|
|
103
|
+
description: 'the amount of assets (18 decimals)',
|
|
104
|
+
modifier: stringToBigInt,
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
calcStethSharesToMintForStv: {
|
|
109
|
+
name: 'calc-steth-shares-to-mint-for-stv',
|
|
110
|
+
description: 'get calculated amount of stETH shares to mint for a given amount of stv',
|
|
111
|
+
arguments: {
|
|
112
|
+
_stv: {
|
|
113
|
+
name: 'stv',
|
|
114
|
+
description: 'the amount of stv (27 decimals)',
|
|
115
|
+
modifier: stringToBigInt,
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
calcStvToLockForStethShares: {
|
|
120
|
+
name: 'calc-stv-to-lock-for-steth-shares',
|
|
121
|
+
description: 'get calculated min amount of stv to lock for a given amount of stETH shares',
|
|
122
|
+
arguments: {
|
|
123
|
+
_stethShares: {
|
|
124
|
+
name: 'stethShares',
|
|
125
|
+
description: 'the amount of stETH shares (18 decimals)',
|
|
126
|
+
modifier: stringToBigInt,
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
totalMintedStethShares: {
|
|
131
|
+
name: 'total-minted-steth-shares',
|
|
132
|
+
description: 'get the total stETH shares minted by the pool',
|
|
133
|
+
},
|
|
134
|
+
totalMintingCapacityShares: {
|
|
135
|
+
name: 'total-minting-capacity-shares',
|
|
136
|
+
description: 'get the total Staking Vault minting capacity in stETH shares',
|
|
137
|
+
},
|
|
138
|
+
stethSharesForWithdrawal: {
|
|
139
|
+
name: 'steth-shares-for-withdrawal',
|
|
140
|
+
description: 'get the calculated amount of stETH shares required for a given amount of stv to withdraw',
|
|
141
|
+
arguments: {
|
|
142
|
+
_account: {
|
|
143
|
+
name: 'account',
|
|
144
|
+
description: 'the address of the account',
|
|
145
|
+
modifier: stringToAddress,
|
|
146
|
+
},
|
|
147
|
+
_stv: {
|
|
148
|
+
name: 'stv',
|
|
149
|
+
description: 'the amount of stv to withdraw',
|
|
150
|
+
modifier: stringToBigInt,
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
remainingMintingCapacityShares: {
|
|
155
|
+
name: 'remaining-minting-capacity-shares',
|
|
156
|
+
description: 'get the remaining Staking Vault minting capacity in stETH shares',
|
|
157
|
+
arguments: {
|
|
158
|
+
_ethToFund: {
|
|
159
|
+
name: 'ethToFund',
|
|
160
|
+
description: 'the amount of ETH to fund',
|
|
161
|
+
modifier: stringToBigInt,
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
mintingCapacitySharesOf: {
|
|
166
|
+
name: 'minting-capacity-shares-of',
|
|
167
|
+
description: 'get the calculated minting capacity in stETH shares for a specific account',
|
|
168
|
+
arguments: {
|
|
169
|
+
_account: {
|
|
170
|
+
name: 'account',
|
|
171
|
+
description: 'the address of the account',
|
|
172
|
+
modifier: stringToAddress,
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
mintedStethSharesOf: {
|
|
177
|
+
name: 'minted-steth-shares-of',
|
|
178
|
+
description: 'get the amount of stETH shares minted by the pool for a specific account',
|
|
179
|
+
arguments: {
|
|
180
|
+
_account: {
|
|
181
|
+
name: 'account',
|
|
182
|
+
description: 'the address of the account',
|
|
183
|
+
modifier: stringToAddress,
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
exceedingMintedStethSharesOf: {
|
|
188
|
+
name: 'exceeding-minted-steth-shares-of',
|
|
189
|
+
description: "get the amount of stETH shares exceeding the Staking Vault's liability for a specific account",
|
|
190
|
+
arguments: {
|
|
191
|
+
_account: {
|
|
192
|
+
name: 'account',
|
|
193
|
+
description: 'the address of the account',
|
|
194
|
+
modifier: stringToAddress,
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
exceedingMintedStethOf: {
|
|
199
|
+
name: 'exceeding-minted-steth-of',
|
|
200
|
+
description: "get the amount of stETH exceeding the Staking Vault's liability for a specific account",
|
|
201
|
+
arguments: {
|
|
202
|
+
_account: {
|
|
203
|
+
name: 'account',
|
|
204
|
+
description: 'the address of the account',
|
|
205
|
+
modifier: stringToAddress,
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
totalExceedingMintedStethShares: {
|
|
210
|
+
name: 'total-exceeding-minted-steth-shares',
|
|
211
|
+
description: "get the amount of minted stETH shares exceeding the Staking Vault's liability",
|
|
212
|
+
},
|
|
213
|
+
};
|
|
214
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../programs/defi-wrapper/contracts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EAAE;YACT,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,4BAA4B;gBACzC,QAAQ,EAAE,eAAe;aAC1B;SACF;KACF;IACD,sBAAsB,EAAE;QACtB,IAAI,EAAE,2BAA2B;QACjC,WAAW,EACT,wFAAwF;QAC1F,SAAS,EAAE;YACT,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,4BAA4B;gBACzC,QAAQ,EAAE,eAAe;aAC1B;SACF;KACF;IACD,+BAA+B,EAAE;QAC/B,IAAI,EAAE,qCAAqC;QAC3C,WAAW,EACT,+EAA+E;KAClF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../programs/defi-wrapper/contracts/stv-strategy-pool/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const stvStrategyPool: import("commander").Command;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../../../programs/defi-wrapper/contracts/stv-strategy-pool/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,CAAC,MAAM,eAAe,GAAG,oBAAoB;KAChD,OAAO,CAAC,mBAAmB,CAAC;KAC5B,KAAK,CAAC,cAAc,CAAC;KACrB,WAAW,CAAC,4BAA4B,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Option } from 'commander';
|
|
2
|
+
import { StvStrategyPoolAbi } from '../../../../abi/defi-wrapper/index.js';
|
|
3
|
+
import { getStvStrategyPoolContract } from '../../../../contracts/defi-wrapper/index.js';
|
|
4
|
+
import { generateReadCommands, logInfo, getCommandsJson, stringToAddress, callReadMethodSilent, logResult, } from '../../../../utils/index.js';
|
|
5
|
+
import { stvStrategyPool } from './main.js';
|
|
6
|
+
import { readCommandConfig } from './config.js';
|
|
7
|
+
const stvStrategyPoolRead = stvStrategyPool
|
|
8
|
+
.command('read')
|
|
9
|
+
.alias('r')
|
|
10
|
+
.description('read commands');
|
|
11
|
+
stvStrategyPoolRead.addOption(new Option('-cmd2json'));
|
|
12
|
+
stvStrategyPoolRead.on('option:-cmd2json', function () {
|
|
13
|
+
logInfo(getCommandsJson(stvStrategyPoolRead));
|
|
14
|
+
process.exit();
|
|
15
|
+
});
|
|
16
|
+
stvStrategyPoolRead
|
|
17
|
+
.command('info')
|
|
18
|
+
.description('get stv pool base info')
|
|
19
|
+
.argument('<address>', 'stv pool address', stringToAddress)
|
|
20
|
+
.action(async (address) => {
|
|
21
|
+
const contract = getStvStrategyPoolContract(address);
|
|
22
|
+
const [wrapperType, DEFAULT_ADMIN_ROLE, DEPOSIT_ROLE, REQUEST_VALIDATOR_EXIT_ROLE, TRIGGER_VALIDATOR_WITHDRAWAL_ROLE, ALLOW_LIST_MANAGER_ROLE, DASHBOARD, STAKING_VAULT, STETH, VAULT_HUB, WITHDRAWAL_QUEUE, ALLOW_LIST_ENABLED, name, symbol, totalAssets, totalExceedingMintedSteth, totalLiabilityShares, totalNominalAssets, totalSupply, totalUnassignedLiabilityShares, vaultDisconnected, withdrawalQueue,] = await Promise.all([
|
|
23
|
+
callReadMethodSilent(contract, 'wrapperType'),
|
|
24
|
+
callReadMethodSilent(contract, 'DEFAULT_ADMIN_ROLE'),
|
|
25
|
+
callReadMethodSilent(contract, 'DEPOSIT_ROLE'),
|
|
26
|
+
callReadMethodSilent(contract, 'REQUEST_VALIDATOR_EXIT_ROLE'),
|
|
27
|
+
callReadMethodSilent(contract, 'TRIGGER_VALIDATOR_WITHDRAWAL_ROLE'),
|
|
28
|
+
callReadMethodSilent(contract, 'ALLOW_LIST_MANAGER_ROLE'),
|
|
29
|
+
callReadMethodSilent(contract, 'DASHBOARD'),
|
|
30
|
+
callReadMethodSilent(contract, 'STAKING_VAULT'),
|
|
31
|
+
callReadMethodSilent(contract, 'STETH'),
|
|
32
|
+
callReadMethodSilent(contract, 'VAULT_HUB'),
|
|
33
|
+
callReadMethodSilent(contract, 'WITHDRAWAL_QUEUE'),
|
|
34
|
+
callReadMethodSilent(contract, 'ALLOW_LIST_ENABLED'),
|
|
35
|
+
callReadMethodSilent(contract, 'name'),
|
|
36
|
+
callReadMethodSilent(contract, 'symbol'),
|
|
37
|
+
callReadMethodSilent(contract, 'totalAssets'),
|
|
38
|
+
callReadMethodSilent(contract, 'totalExceedingMintedSteth'),
|
|
39
|
+
callReadMethodSilent(contract, 'totalLiabilityShares'),
|
|
40
|
+
callReadMethodSilent(contract, 'totalNominalAssets'),
|
|
41
|
+
callReadMethodSilent(contract, 'totalSupply'),
|
|
42
|
+
callReadMethodSilent(contract, 'totalUnassignedLiabilityShares'),
|
|
43
|
+
callReadMethodSilent(contract, 'vaultDisconnected'),
|
|
44
|
+
callReadMethodSilent(contract, 'withdrawalQueue'),
|
|
45
|
+
]);
|
|
46
|
+
logResult({
|
|
47
|
+
data: [
|
|
48
|
+
['wrapperType', wrapperType],
|
|
49
|
+
['DEFAULT_ADMIN_ROLE', DEFAULT_ADMIN_ROLE],
|
|
50
|
+
['DEPOSIT_ROLE', DEPOSIT_ROLE],
|
|
51
|
+
['REQUEST_VALIDATOR_EXIT_ROLE', REQUEST_VALIDATOR_EXIT_ROLE],
|
|
52
|
+
[
|
|
53
|
+
'TRIGGER_VALIDATOR_WITHDRAWAL_ROLE',
|
|
54
|
+
TRIGGER_VALIDATOR_WITHDRAWAL_ROLE,
|
|
55
|
+
],
|
|
56
|
+
['ALLOW_LIST_MANAGER_ROLE', ALLOW_LIST_MANAGER_ROLE],
|
|
57
|
+
['DASHBOARD', DASHBOARD],
|
|
58
|
+
['STAKING_VAULT', STAKING_VAULT],
|
|
59
|
+
['STETH', STETH],
|
|
60
|
+
['VAULT_HUB', VAULT_HUB],
|
|
61
|
+
['WITHDRAWAL_QUEUE', WITHDRAWAL_QUEUE],
|
|
62
|
+
['ALLOW_LIST_ENABLED', ALLOW_LIST_ENABLED],
|
|
63
|
+
['name', name],
|
|
64
|
+
['symbol', symbol],
|
|
65
|
+
['totalAssets', totalAssets],
|
|
66
|
+
['totalExceedingMintedSteth', totalExceedingMintedSteth],
|
|
67
|
+
['totalLiabilityShares', totalLiabilityShares],
|
|
68
|
+
['totalNominalAssets', totalNominalAssets],
|
|
69
|
+
['totalSupply', totalSupply],
|
|
70
|
+
['totalUnassignedLiabilityShares', totalUnassignedLiabilityShares],
|
|
71
|
+
['vaultDisconnected', vaultDisconnected],
|
|
72
|
+
['withdrawalQueue', withdrawalQueue],
|
|
73
|
+
],
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
generateReadCommands(StvStrategyPoolAbi, getStvStrategyPoolContract, stvStrategyPoolRead, readCommandConfig);
|
|
77
|
+
//# sourceMappingURL=read.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read.js","sourceRoot":"","sources":["../../../../../programs/defi-wrapper/contracts/stv-strategy-pool/read.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EACL,oBAAoB,EACpB,OAAO,EACP,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,SAAS,GACV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,mBAAmB,GAAG,eAAe;KACxC,OAAO,CAAC,MAAM,CAAC;KACf,KAAK,CAAC,GAAG,CAAC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