Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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.

v0 state

Back to all declarations

MinTasks

untyped bigint

Value

(1 <untyped> bigint)

MaxPitch

untyped bigint

Value

(160 <untyped> bigint)

MaxPage

untyped bigint

Value

(50 <untyped> bigint)

ErrNoProof

untyped string

Value

"builders: finish a paid task on Gild first"

ErrPitch

untyped string

Value

"builders: pitch must be 1 to 160 characters"

ErrNotIn

untyped string

Value

"builders: you are not in the directory"

Entry

type

Entry is one person in the directory. Their work stats are not stored here: they are read from Gild so they are always current.

Value

v0.Entry

entries

v0.Tree

// address string -> \*Entry

Open
OID
0e725f…b788:4
entries details

Inspect ref

webPath

string

Value

"/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v0"

Join

func(pitch string, link string)

Join adds the caller to the directory, or updates their pitch and link. It fails unless the caller has finished at least MinTasks paid Gild tasks.

Open
OID
0e725f…b788:8
Join details

Inspect func

Leave

func()

Leave removes the caller from the directory.

Open
OID
0e725f…b788:9
Leave details

Inspect func

IsListed

func(addr .uverse.address) bool

IsListed reports whether addr is in the directory.

Open
OID
0e725f…b788:10
IsListed details

Inspect func

Size

func() int

Size returns how many people are listed.

Open
OID
0e725f…b788:11
Size details

Inspect func

BuildersJSON

func(offset int, limit int) string

BuildersJSON lists entries with their live Gild stats.

Open
OID
0e725f…b788:12
BuildersJSON details

Inspect func

Render

func(path string) string

Render shows the directory on gno.land.

Open
OID
0e725f…b788:13
Render details

Inspect func

gildPath

func() string

gildPath is the Gild realm path without the gno.land/r/ prefix, derived from this realm's own namespace so it works wherever both are deployed.

Open
OID
0e725f…b788:14
gildPath details

Inspect func

hasControl

func(s string) bool
Open
OID
0e725f…b788:15
hasControl details

Inspect func

mdText

func(s string) string

mdText escapes characters that would change markdown or table layout.

Open
OID
0e725f…b788:18
mdText details

Inspect func
MinTasks : untyped bigint =(1 <untyped> bigint)
MaxPitch : untyped bigint =(160 <untyped> bigint)
MaxPage : untyped bigint =(50 <untyped> bigint)
ErrNoProof : untyped string ="builders: finish a paid task on Gild first"
ErrPitch : untyped string ="builders: pitch must be 1 to 160 characters"
ErrNotIn : untyped string ="builders: you are not in the directory"
Entry : type =v0.Entry
entries : v0.Tree Inspect
webPath : string ="/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v0"
init.11 : func() Inspect
Join : func(pitch string, link string) Inspect
Leave : func() Inspect
IsListed : func(addr .uverse.address) bool Inspect
Size : func() int Inspect
BuildersJSON : func(offset int, limit int) string Inspect
Render : func(path string) string Inspect
gildPath : func() string Inspect
hasControl : func(s string) bool Inspect
gnot : func(u int64) string Inspect
mdText : func(s string) string Inspect
jsonStr : func(s string) string Inspect