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.

home state

Back to all declarations

appURL

untyped string

appURL is the exchange interface, where Adena signs purchases and claims.

Value

"https://the67.click"

tick

untyped string

Value

"`"

homePath

string

homePath and marketsPath are gnoweb paths, captured at deployment.

Value

"/r/nym-sixseven067/home"

marketsPath

string

homePath and marketsPath are gnoweb paths, captured at deployment.

Value

"/r/nym-sixseven067/markets"

Render

func(path string) string

Render serves three pages: the home page, ":how" and ":contract".

Open
OID
0a7766…1940:5
Render details

Inspect func

call

type

Value

home.call

renderContract

func() string
Open
OID
0a7766…1940:27
renderContract details

Inspect func

status

func(m markets.Market) string
Open
OID
0a7766…1940:29
status details

Inspect func

priceText

func(value int64) string

priceText formats millionths like the app: at least two decimals, no trailing zeros beyond them (420000 is "0.42", 425000 is "0.425").

Open
OID
0a7766…1940:30
priceText details

Inspect func

escapeText

func(s string) string

escapeText keeps question text literal in Markdown, tables included.

Open
OID
0a7766…1940:32
escapeText details

Inspect func
appURL : untyped string ="https://the67.click"
tick : untyped string ="`"
homePath : string ="/r/nym-sixseven067/home"
marketsPath : string ="/r/nym-sixseven067/markets"
Render : func(path string) string Inspect
renderHome : func() string Inspect
renderHow : func() string Inspect
call : type =home.call
calls : []home.call (len=8) Inspect
renderContract : func() string Inspect
status : func(m markets.Market) string Inspect
priceText : func(value int64) string Inspect
itoa : func(n int64) string Inspect
escapeText : func(s string) string Inspect