Off-chain accounting reconciliation engine for ERC-4626 vault share pricing.
Price: $12.99 | Store: vault-forge | Product #9
vault-accounting-engine is a Python tool that independently verifies vault share pricing by comparing on-chain state against calculated expected values. It detects accounting anomalies — share price deviations, incorrect fee accrual, unexpected TVL changes — before they become exploitable.
Vault share price bugs are the #1 cause of DeFi exploits. A share price manipulation (inflation attack, rounding error, fee miscalculation) can drain a vault in a single transaction. Off-chain reconciliation catches these issues early.
| Feature | Description |
|---|---|
| Share price reconciliation | Compares on-chain share price vs independently calculated value |
| Fee accrual validation | Verifies management + performance fee shares match expected amounts |
| Invariant checking | Validates 7 vault invariants (positive supply, fee caps, etc.) |
| Time-series snapshots | Stores periodic vault state for trend analysis |
| Anomaly detection | Configurable thresholds with severity classification |
| Multi-format reports | CSV, JSON, and HTML (dark themed) audit reports |
| Continuous monitoring | Long-running monitor with configurable check interval |
| Severity | Description | Example |
|---|---|---|
| LOW | Informational | Minor rounding differences |
| MEDIUM | Investigate | TVL changed > 10%, fee deviation > 0.1% |
| HIGH | Action needed | Share price decreased, fee exceeds cap |
| CRITICAL | Emergency | Negative totalAssets, zero share price with supply |
Get the full Vault Accounting Engine 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.