use crate::;
/// Unified interface for cross-plugin calls.
///
/// Each plugin registers one or more services that other plugins can call
/// through `Service::call()`.
///
/// # Example
///
/// ```rust
/// use openstranded_common_wasmcontract::{Service, Value, ServiceError};
///
/// struct HealthService;
///
/// impl Service for HealthService {
/// fn call(&self, method: &str, args: &[Value]) -> Result<Value, ServiceError> {
/// match method {
/// "get_max" => Ok(Value::U32(100)),
/// _ => Err(ServiceError::UnknownMethod(method.into())),
/// }
/// }
/// }
/// ```