circles-types 0.3.1

Core type definitions for the Circles protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

/// Decoded contract error information
/// Contains parsed error data from failed contract transactions
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DecodedContractError {
    pub error_name: String,
    pub args: Option<Vec<serde_json::Value>>,
    pub selector: String,
    pub raw_data: String,
    pub formatted_message: String,
}