glin_types/
contract.rs

1//! Contract-related types
2
3use serde::{Deserialize, Serialize};
4
5/// Contract information
6#[derive(Debug, Clone, Serialize, Deserialize)]
7pub struct ContractInfo {
8    /// Contract address
9    pub address: String,
10    /// Code hash
11    pub code_hash: String,
12    /// Deployer address
13    pub deployer: String,
14    /// Deploy block number
15    pub deploy_block: u64,
16    /// Whether contract is verified
17    pub verified: bool,
18}