analyze_modifiers
Analyze custom Solidity modifiers to audit access control patterns, find modifier implementations, and understand function guards. Returns definitions with source and functions using each modifier, with pagination support.
Instructions
Analyzes custom modifier definitions and their usage across functions. Use this when auditing access control patterns, finding modifier implementations, or understanding function guards. Returns modifier definitions with their source and a list of functions that use each modifier. Supports pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| has_more | No | True if there are more results beyond this page | |
| modifiers | No | List of modifiers with their usage | |
| total_count | No | Total number of modifiers found | |
| error_message | No |