package admin import ( "gno.land/p/nt/ufmt" ) func Render(path string) string { return renderHome() } func renderHome() string { operators := GetOperators() operatorList := "" for _, addr := range operators { operatorList += "* " + addr.String() + "\n" } if operatorList == "" { operatorList = "(none)\n" } output := ufmt.Sprintf(`# AKKADIA on Gno ## Introduction AKKADIA is a blockchain-based game like Minecraft. this contract is managing the admin of the AKKADIA game. ## Admin * **Address**: %s ## Operators %s ## Fee Collector * **Address**: %s ## Protocol * **Address**: %s `, admin, operatorList, feeCollectorAddr, protocolAddr) return output }