neo-decompiler 0.8.1

Neo N3 NEF decompiler: parse, disassemble, lift bytecode to high-level pseudocode and C# skeletons, with a CLI, JSON reports, and optional WebAssembly bindings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Deserialize;
use serde_json::Value;

/// Manifest trust configuration controlling which contracts are trusted.
#[derive(Debug, Clone, Deserialize)]
#[serde(untagged)]
pub enum ManifestTrusts {
    /// Wildcard trusts configuration (typically `"*"`).
    Wildcard(String),
    /// Explicit list of trusted contracts.
    Contracts(Vec<String>),
    /// Any other value not covered by the known variants.
    Other(Value),
}