Managing Contracts
Learn how to view, organize, and manage your uploaded contracts. 1. Click Contracts in the main navigation 2. View all uploaded contracts 3. Filter, search,...
Managing Contracts
Learn how to view, organize, and manage your uploaded contracts.
Contracts List
Accessing Your Contracts
- Click Contracts in the main navigation
- View all uploaded contracts
- Filter, search, and sort as needed
List View
Each contract shows:
- Name
- Language (Solidity, Vyper, Rust)
- Upload date
- Last scan date
- Project (if assigned)
- Tags
Viewing Contract Details
Contract Overview
Click any contract to see:
- Source Code - Full contract source
- Metadata - Size, language, pragma version
- Scan History - All scans for this contract
- Findings Summary - Vulnerability counts
Source Code Viewer
The source viewer includes:
- Syntax highlighting
- Line numbers
- Jump to line
- Copy to clipboard
Organizing Contracts
Adding to Projects
- Select contracts (checkboxes)
- Click Move to Project
- Choose or create a project
- Click Move
Or from contract details:
- Click Edit (pencil icon)
- Select a project from dropdown
- Click Save
Adding Tags
Tags help categorize contracts:
- Click a contract
- Click Add Tag
- Enter tag name
- Press Enter
Common tags:
productionaudit-readydefinft
Removing Tags
- Click the tag on the contract
- Click the X to remove
Searching and Filtering
Quick Search (New)
The contracts page now includes a real-time search input:
- Locate the search bar below the page header
- Type to filter contracts instantly
- Search works on:
- Contract name - e.g., "Token", "Vault"
- Contract address - e.g., "0x1234...", "0xabcd"
Features:
- Case-insensitive matching
- Partial matches supported
- Clear button (X) to reset
- "Select All" works with filtered results
Advanced Search
For more complex searches, use the Advanced Search page:
- Multi-filter capabilities
- Saved searches
- Export results
- Click contract results to navigate
Filters
| Filter | Options |
|---|---|
| Language | Solidity, Vyper, Rust |
| Project | Any project |
| Tags | Any tag |
| Date | Last 7/30/90 days, custom |
Sorting
Sort contracts by:
- Name (A-Z, Z-A)
- Upload date (newest, oldest)
- Last scan (newest, oldest)
- Finding count (most, least)
Editing Contracts
Rename
- Click the contract
- Click Edit (pencil icon)
- Update the name
- Click Save
Replace Source
To update the source code:
- Click the contract
- Click Replace
- Upload new file or paste code
- Confirm replacement
Note: This doesn't delete scan history. Old scans reference the old source.
Move Between Projects
- Click the contract
- Click Edit
- Select new project
- Click Save
Deleting Contracts
Single Contract
- Click the contract
- Click Delete (trash icon)
- Confirm deletion
Multiple Contracts
- Select contracts (checkboxes)
- Click Delete Selected
- Confirm deletion
What Gets Deleted
- The contract file
- Associated metadata
- Scan history and results
Warning: Deletion is permanent and cannot be undone.
Contract Actions
Quick Actions
From the contracts list, hover over a contract:
| Action | Icon | Description |
|---|---|---|
| Scan | ▶️ | Start a new scan |
| View | 👁️ | Open contract details |
| Edit | ✏️ | Edit name/project |
| Delete | 🗑️ | Delete contract |
From Contract Details
Additional actions:
- Download - Save source locally
- Copy - Copy source to clipboard
- Re-Scan - Scan with same settings
- Compare - Compare to another scan
Bulk Operations
Select Multiple
- Click checkboxes on contracts
- Or use Select All
- Bulk actions appear
Available Bulk Actions
| Action | Description |
|---|---|
| Move to Project | Assign selected to project |
| Add Tags | Apply tags to all |
| Delete | Delete all selected |
| Export | Download as archive |
Contract Storage
Retention
Contracts are retained based on your plan:
| Plan | Retention |
|---|---|
| Free | 30 days |
| Developer | 90 days |
| Startup | 180 days |
| Professional | 365 days |
| Enterprise | 730 days |
Extending Retention
- Contracts in active projects are retained longer
- Running a new scan resets the clock
- Upgrade plan for longer retention
Import/Export
Export Contracts
- Select contracts
- Click Export
- Choose format (ZIP)
- Download archive
Import from Archive
Use project upload to import multiple contracts at once.
FAQ
Q: How many contracts can I have?
A: Depends on your project limit. See Pricing.
Q: Can I recover deleted contracts?
A: No. Deletion is permanent. Export before deleting if needed.
Q: Are contracts private?
A: Yes. Only you and your team members can see your contracts.
Q: Can I share a contract publicly?
A: Not currently. Export and share the file if needed.
Next Steps
- Contract Details - Deep dive into metadata
- Creating Projects - Organize into projects
- Starting a Scan - Scan your contracts