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

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

profile state

Back to all declarations

card

type

Value

profile.card

byAddr

map[.uverse.address]*profile.card
Open
OID
081eed…58bc:29
byAddr details

Inspect map

byName

map[string].uverse.address
Open
OID
081eed…58bc:32
byName details

Inspect map

admin

.uverse.address

Value

<zero>

adminSet

bool

Value

false

extraCountry

map[string]bool

Value

<zero>

extraCrest

map[string]bool

Value

<zero>

SetProfile

func(username string, country string, crest string)

SetProfile stores this caller's sailor card. The caller does not need a fish NFT. A later fact is a new function. This one keeps username, country, and crest.

Open
OID
081eed…58bc:9
SetProfile details

Inspect func

Version

func() string

Version names this local package shape. The live profile realm is unchanged.

Open
OID
081eed…58bc:11
Version details

Inspect func

ClaimAdmin

func()

ClaimAdmin records the first caller. A later caller cannot replace them here.

Open
OID
081eed…58bc:13
ClaimAdmin details

Inspect func

AddCountry

func(name string)

AddCountry lets the admin accept one more country name. Built-in names stay.

Open
OID
081eed…58bc:14
AddCountry details

Inspect func

AddCrest

func(name string)

AddCrest lets the admin accept one more crest name. Built-in names stay.

Open
OID
081eed…58bc:15
AddCrest details

Inspect func

UsernameOf

func(who .uverse.address) string
Open
OID
081eed…58bc:17
UsernameOf details

Inspect func

CountryOf

func(who .uverse.address) string
Open
OID
081eed…58bc:18
CountryOf details

Inspect func

CrestOf

func(who .uverse.address) string
Open
OID
081eed…58bc:19
CrestOf details

Inspect func

AddressOf

func(username string) .uverse.address
Open
OID
081eed…58bc:20
AddressOf details

Inspect func

requireUser

func() .uverse.address
Open
OID
081eed…58bc:21
requireUser details

Inspect func

cardOf

func(who .uverse.address) *profile.card
Open
OID
081eed…58bc:24
cardOf details

Inspect func

cleanUser

func(name string) string
Open
OID
081eed…58bc:25
cleanUser details

Inspect func

knownCountry

func(s string) bool
Open
OID
081eed…58bc:26
knownCountry details

Inspect func

knownCrest

func(s string) bool
Open
OID
081eed…58bc:27
knownCrest details

Inspect func
card : type =profile.card
byAddr : map[.uverse.address]*profile.card Inspect
byName : map[string].uverse.address Inspect
admin : .uverse.address =<zero>
adminSet : bool =false
extraCountry : map[string]bool =<zero>
extraCrest : map[string]bool =<zero>
SetProfile : func(username string, country string, crest string) Inspect
Version : func() string Inspect
Admin : func() .uverse.address Inspect
ClaimAdmin : func() Inspect
AddCountry : func(name string) Inspect
AddCrest : func(name string) Inspect
Has : func(who .uverse.address) bool Inspect
UsernameOf : func(who .uverse.address) string Inspect
CountryOf : func(who .uverse.address) string Inspect
CrestOf : func(who .uverse.address) string Inspect
AddressOf : func(username string) .uverse.address Inspect
requireUser : func() .uverse.address Inspect
takeExact : func(n int64) Inspect
ensure : func() Inspect
cardOf : func(who .uverse.address) *profile.card Inspect
cleanUser : func(name string) string Inspect
knownCountry : func(s string) bool Inspect
knownCrest : func(s string) bool Inspect
placeName : func(s string) bool Inspect