pub struct DeployedExecutable {
pub instance_found: bool,
pub executable: Option<ContractExecutableRef>,
pub wasm_hash: Option<String>,
pub decode_error: Option<String>,
pub resolve_error: Option<String>,
pub error: Option<String>,
}Expand description
Outcome of a read-only deployed-executable probe.
Unlike inspect_contract, this never fetches code or ABI and never
converts a non-Wasm executable into an error: it reports exactly what the
contract instance ledger entry says, so a caller (deployment verification)
can distinguish MATCH-eligible data from an honest UNKNOWN.
Fields§
§instance_found: boolTrue when a contract-instance entry exists at this target. False means the contract does not exist here — not an error, a verdict input.
executable: Option<ContractExecutableRef>The executable as decoded from the instance entry, when decodable.
wasm_hash: Option<String>The Wasm hash, when one exists authoritatively: an inline Wasm
executable’s own hash, or a ExternalRef resolved through the existing
read-only owner lookup. None for StellarAsset (no artifact exists)
or when resolution failed.
decode_error: Option<String>Why the instance entry could not be decoded, when applicable.
resolve_error: Option<String>Why an ExternalRef could not be resolved to a hash, when applicable.
error: Option<String>Transport/RPC error; Err means the probe could not run at all.