midnight_analyze_contract
Analyze Compact smart contracts for security flaws, gas inefficiencies, and best practice violations to optimize contract design and reduce deployment risks.
Instructions
Perform static analysis on a Compact smart contract.
Analyzes:
Contract structure and patterns
Potential security issues
Gas/complexity estimates
Best practice violations
Privacy considerations
Use this tool to:
Review contracts before deployment
Identify potential issues
Learn Compact best practices
Optimize contract design
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Compact contract source code to analyze | |
| check_security | No | ||
| check_gas | No |