Contract Details

Explore the detailed information available for each contract. The contract details page shows everything about a specific contract: - Source code - Metadata -...

Last updated: January 14, 2026

Contract Details

Explore the detailed information available for each contract.

Overview

The contract details page shows everything about a specific contract:

  • Source code
  • Metadata
  • Scan history
  • Vulnerability summary
  • Structure analysis

Accessing Details

  1. Go to Contracts
  2. Click any contract name
  3. The details page opens

Source Code

Code Viewer

The source code viewer shows:

  • Full contract source
  • Syntax highlighting by language
  • Line numbers

Viewer Features

Feature Description
Line numbers Click to jump to line
Copy Copy entire source
Download Save file locally
Expand Full-screen view

Highlighting

Vulnerable lines are highlighted when viewing scan results:

  • Red: Critical/High findings
  • Yellow: Medium findings
  • Blue: Low findings

Contract Metadata

Basic Information

Field Description
Name Contract name
Language Solidity, Vyper, or Rust
File size Size in bytes
Lines of code Total line count
Upload date When uploaded
Last modified Last source update

Solidity-Specific

Field Description
Pragma version Solidity version constraint
License SPDX license identifier
Compiler version Detected/suggested version

Vyper-Specific

Field Description
Version Vyper version pragma
Interfaces Implemented interfaces

Scan History

All Scans

View all scans for this contract:

Column Description
Date Scan date/time
Scanners Which scanners ran
Findings Count by severity
Duration How long it took
Status Complete/failed

View Scan Results

Click any scan to see full results.

Compare Scans

  1. Select two scans (checkboxes)
  2. Click Compare
  3. See what changed between scans

Vulnerability Summary

Current State

Shows the latest scan findings:

Critical: 0 | High: 2 | Medium: 5 | Low: 10

By Status

Status Count
Open 12
Acknowledged 3
Fixed 2
False Positive 1

Trend

Sparkline chart showing findings over time:

  • Are vulnerabilities being fixed?
  • Any new issues appearing?

Structure Analysis

For Solidity

BlockSecOps analyzes contract structure:

Contracts

  • Contract names
  • Inheritance hierarchy
  • Base contracts

Functions

  • Public/external functions
  • Modifiers used
  • Visibility

State Variables

  • Variable names
  • Types
  • Visibility

Events

  • Event definitions
  • Parameters

For Vyper

Functions

  • External functions
  • View/pure functions

Storage

  • State variable declarations
  • Types

For Rust (Solana)

Program Structure

  • Instruction handlers
  • Account structures
  • Error types

Dependencies

Imports

List of imported contracts/libraries:

  • OpenZeppelin
  • Custom libraries
  • Internal imports

Dependency Graph

Visual representation of:

  • What this contract imports
  • What imports this contract (in projects)

Related Items

In Same Project

If the contract is in a project:

  • Other contracts in the project
  • Quick navigation between them

Similar Contracts

Contracts with similar:

  • Structure
  • Libraries used
  • Vulnerability patterns

Actions

From Details Page

Action Description
Scan Run a new scan
Edit Rename, change project
Replace Update source code
Download Save source file
Delete Remove contract

Export Options

Format Description
Source Raw .sol/.vy/.rs file
JSON Metadata + source
Report PDF summary

Team Collaboration

Comments

Add notes to the contract:

  1. Click Add Comment
  2. Enter your note
  3. Comment appears with timestamp

Visible to all team members.

Activity Log

See who did what:

  • Uploaded the contract
  • Ran scans
  • Updated status
  • Added comments

FAQ

Q: Can I edit the source code in BlockSecOps?
A: No. BlockSecOps is read-only. Edit in your IDE and re-upload.

Q: How often is structure analysis updated?
A: Automatically on each new upload or source replacement.

Q: Can I see gas estimates?
A: Gas analysis is available in scan results, not on the details page.


Next Steps