func AddAdmin
crossing ActionAddAdmin grants admin rights (existing admin only).
Package hubv2 is the multi-admin module router for gnomemepad (Phase 3F).
Package hubv2 is the multi-admin module router for gnomemepad (Phase 3F).
Diff vs hub v1:
Migrate: deploy hubv2 → re-SetModule all paths → point UI HUB=hubv2
AddAdmin grants admin rights (existing admin only).
Admin returns first admin (compat) — first key in tree iteration order.
AdminCount returns number of admins.
GetModule returns the package path for name, or "".
Init sets the first admin (deployer EOA). Call once.
Inited reports Init.
IsAdmin reports whether addr is an admin.
ListAdmins returns newline-separated admin addresses.
ListModules returns newline-separated "name|path".
ModuleCount for ops.
RemoveAdmin revokes admin. Cannot remove last admin.
SetModule registers or updates a module path (any admin).