From 2fc6149b18a01164eb28b186d99926eaa438957b Mon Sep 17 00:00:00 2001 From: khanavi272-spec Date: Mon, 29 Jun 2026 23:15:41 +0530 Subject: [PATCH] docs(core): expand initialization documentation --- engine-core/src/core/engine.rs | 4 ++++ 1 file changed, 4 insertions(+) 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);