Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

hubv2 package

Overview

Package hubv2 is the multi-admin module router for gnomemepad (Phase 3F).

Diff vs hub v1:

  • Multiple admins (AddAdmin / RemoveAdmin / ListAdmins)
  • Any admin may SetModule / TransferAdmin rights via AddAdmin
  • Ops helpers: AdminCount, IsAdmin

Migrate: deploy hubv2 → re-SetModule all paths → point UI HUB=hubv2

Function

GetModule

func GetModule(name string) string

GetModule returns the package path for name, or "".

Param

Command

gnokey query vm/qeval -remote "https://rpc.sapphire.testnets.gno.land" -data "gno.land/r/g1mv0052e7r6s09f5t9xsqf00nj3tqsgt9dg52jr/gnomemepad/hubv2.GetModule()"

Result