TheGraph subgraph for indexing CryptoForge ERC-4626 vault events with a full GraphQL API.
Price: $9.99 | Store: vault-forge | Product #8
vault-subgraph is a production-ready subgraph definition for indexing all events from the CryptoForge vault system. It provides a GraphQL API for querying vault TVL, deposits, withdrawals, harvest events, fee changes, strategy allocations, user positions, and daily snapshots.
| Entity | Source | Description |
|---|---|---|
| Vault | Factory + vault events | Core vault state and aggregated metrics |
| Deposit | Deposit event | Individual deposit records |
| Withdrawal | Withdraw event | Individual withdrawal records |
| Harvest | Harvest event | Strategy yield reports |
| FeeEvent | Various events | Fee recipient + strategy changes |
| Strategy | Factory events | Approved strategy registry |
| User | Deposit/Withdraw events | Aggregated user positions |
| DailySnapshot | Derived | Daily vault state for time-series |
CryptoForgeVaultFactory ──────────────────────┐
VaultCreated → creates Vault entity │
StrategyApproved/Revoked → Strategy entity │
AssetApproved/Revoked → logged │
│
Creates dynamic data source per vault ──────┤
│
CryptoForgeVault (template) ──────────────────┤
Deposit → Deposit entity + Vault update │
Withdraw → Withdrawal entity + Vault update │
Harvest → Harvest entity + Vault update │
FeeRecipientChanged → FeeEvent entity │
StrategyChanged → FeeEvent entity │
Paused/Unpaused → Vault.paused update │
│
All events → DailySnapshot update ──────────┘
Get the full Vault Subgraph and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.