diff --git a/engine-core/src/core/engine.rs b/engine-core/src/core/engine.rs index 0a3e7a3..dccde0e 100644 --- a/engine-core/src/core/engine.rs +++ b/engine-core/src/core/engine.rs @@ -26,6 +26,10 @@ pub struct CoreEngine; #[contractimpl] impl CoreEngine { /// Initialize the core engine with an admin and an optional list of operators. +/// +/// This establishes the initial contract interaction layer by authenticating +/// the administrator, registering optional operators, and emitting the initial +/// initialization event. pub fn initialize(env: Env, admin: Address, operators: Vec
) { if env.storage().persistent().has(&INIT_FLAG) { panic_with_error!(&env, CoreError::AlreadyInitialized);