원클릭으로
check-vault-health
Check the health and state of a deployed SmartVault by querying on-chain data
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Check the health and state of a deployed SmartVault by querying on-chain data
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Build all project components (Solidity contracts and Rust WASM)
DeFi conventions, decimal handling, and protocol integration patterns used in this project. Load when working with token amounts, price conversions, or protocol interactions.
Deploy smart vault contracts to a local Anvil fork
Run the full end-to-end integration test suite
Run all linting and formatting checks across the project
Deep-dive review of the Solidity smart contract architecture
| name | check-vault-health |
| description | Check the health and state of a deployed SmartVault by querying on-chain data |
| disable-model-invocation | true |
| argument-hint | [vault-address] |
Check the health of a deployed SmartVault.
Steps:
Determine RPC URL and vault address:
$ARGUMENTS provides a vault address, use itconfig/vaults.production.json or .env.env (default: http://127.0.0.1:8545)Query vault state using cast call:
# Total assets (USDC)
cast call $VAULT "totalAssets()(uint256)" --rpc-url $RPC
# Position state
cast call $VAULT "getPositionState()((uint256,int24,int24,uint128,uint256,uint128,uint256,uint256))" --rpc-url $RPC
# Current delta (net ETH exposure, signed)
cast call $VAULT "getCurrentDelta()(int256)" --rpc-url $RPC
# Total value USD (18 decimals)
cast call $VAULT "getTotalValueUSD()(uint256)" --rpc-url $RPC
# Risk params
cast call $VAULT "riskParams()((uint256,uint256,uint256,uint256,uint256))" --rpc-url $RPC
# NAV snapshot (full breakdown)
cast call $VAULT "getNAVSnapshot()((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,int256,uint256,int256,uint256))" --rpc-url $RPC