Problem
The vendor registry contract stores the admin address (storage.rs line 17) but does NOT expose it as a public function in the #[contractimpl] block. All other contracts expose get_admin(). Without it, external callers cannot determine who controls the vendor registry.
Before Starting
Read: context/architecture-context.md
Root Cause
The function was omitted when exposing the public interface.
What To Build
- Add
pub fn get_admin(env: Env) -> Address to the contract impl in lib.rs
- Delegate to
storage::get_admin()
Files To Touch
contracts/vendor-registry-contract/src/lib.rs — add get_admin
Acceptance Criteria
Mandatory Checks
Problem
The vendor registry contract stores the admin address (storage.rs line 17) but does NOT expose it as a public function in the
#[contractimpl]block. All other contracts exposeget_admin(). Without it, external callers cannot determine who controls the vendor registry.Before Starting
Read: context/architecture-context.md
Root Cause
The function was omitted when exposing the public interface.
What To Build
pub fn get_admin(env: Env) -> Addressto the contract impl in lib.rsstorage::get_admin()Files To Touch
contracts/vendor-registry-contract/src/lib.rs— add get_adminAcceptance Criteria
Mandatory Checks