neo-decompiler 0.6.2

Minimal tooling for inspecting Neo N3 NEF bytecode
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),
}