admins
v0.Tree- OID
- 0448bf…5b7d:26
admins details
inited
boolValue
true
modules
v0.Tree- OID
- 0448bf…5b7d:29
modules details
Init
func()Init sets the first admin (deployer EOA). Call once.
- OID
- 0448bf…5b7d:8
Init details
requireInit
func()- OID
- 0448bf…5b7d:10
requireInit details
isAdminAddr
func(addr .uverse.address) bool- OID
- 0448bf…5b7d:11
isAdminAddr details
requireAdmin
func()- OID
- 0448bf…5b7d:12
requireAdmin details
IsAdmin
func(addr string) boolIsAdmin reports whether addr is an admin.
- OID
- 0448bf…5b7d:13
IsAdmin details
AdminCount
func() intAdminCount returns number of admins.
- OID
- 0448bf…5b7d:14
AdminCount details
ListAdmins
func() stringListAdmins returns newline-separated admin addresses.
- OID
- 0448bf…5b7d:15
ListAdmins details
AddAdmin
func(newAdmin .uverse.address)AddAdmin grants admin rights (existing admin only).
- OID
- 0448bf…5b7d:16
AddAdmin details
RemoveAdmin
func(who .uverse.address)RemoveAdmin revokes admin. Cannot remove last admin.
- OID
- 0448bf…5b7d:17
RemoveAdmin details
SetModule
func(name string, path string)SetModule registers or updates a module path (any admin).
- OID
- 0448bf…5b7d:18
SetModule details
GetModule
func(name string) stringGetModule returns the package path for name, or "".
- OID
- 0448bf…5b7d:19
GetModule details
ListModules
func() stringListModules returns newline-separated "name|path".
- OID
- 0448bf…5b7d:20
ListModules details
ModuleCount
func() intModuleCount for ops.
- OID
- 0448bf…5b7d:21
ModuleCount details
Inited
func() boolInited reports Init.
- OID
- 0448bf…5b7d:22
Inited details
Admin
func() stringAdmin returns first admin (compat) — first key in tree iteration order.
- OID
- 0448bf…5b7d:23
Admin details
Render
func(path string) string- OID
- 0448bf…5b7d:24
Render details
resetForTest
func()- OID
- 0448bf…5b7d:25
resetForTest details
admins : v0.Tree Inspect
inited
:
bool
=true