- Fix token assignment bug in discovery and floor position calculations - Correct economic model: Floor holds ETH, Discovery holds KRAIKEN - Update scenario visualizer labels and token assignments - Add comprehensive CSV generation with realistic token distributions - Consolidate analysis tools into SimpleAnalysis.s.sol with debugging functions - Update README with streamlined analysis instructions - Clean up analysis folder structure for better organization 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
978 B
978 B
KRAIKEN Liquidity Analysis
Quick analysis tools for testing the three-position anti-arbitrage strategy.
Usage
-
Run sentiment analysis to find profitable scenarios:
forge script analysis/SimpleAnalysis.s.sol:SimpleAnalysis -s "runSentimentFuzzingAnalysis()" --ffi --via-ir -
Start visualization server:
./view-scenarios.sh -
View results at
http://localhost:8001/scenario-visualizer.html
Files
SimpleAnalysis.s.sol- Main analysis script with sentiment fuzzingscenario-visualizer.html- Web-based position visualizationview-scenarios.sh- HTTP server launcherprofitable_scenario.csv- Generated results (if profitable scenarios found)
Analysis Output
The sentiment analysis tests bull/neutral/bear market conditions and generates CSV data for any profitable trading scenarios found. The visualizer shows position ranges, token distributions, and Uniswap V3 liquidity calculations.