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.

v0 state

Back to all declarations

capsule

type

Value

v0.capsule

capsules

v0.Tree

// key: zero-padded id -> \*capsule

Open
OID
0162db…56ac:4
capsules details

Inspect ref

nextID

int64

Value

0

maxDelayBlocks

int64

Value

1000000

maxMessageLen

int

Value

500

Leave

func(message string, delayBlocks int64) int64

Leave seals a new message that stays hidden until \`delayBlocks\` blocks from now, then becomes publicly readable forever. Returns the capsule id.

Open
OID
0162db…56ac:6
Leave details

Inspect func

renderCapsule

func(idStr string) string
Open
OID
0162db…56ac:12
renderCapsule details

Inspect func

renderEntry

func(c *v0.capsule) string
Open
OID
0162db…56ac:13
renderEntry details

Inspect func
capsule : type =v0.capsule
capsules : v0.Tree Inspect
nextID : int64 =0
maxDelayBlocks : int64 =1000000
maxMessageLen : int =500
Leave : func(message string, delayBlocks int64) int64 Inspect
idKey : func(id int64) string Inspect
Render : func(path string) string Inspect
renderHome : func() string Inspect
renderSealed : func() string Inspect
renderCapsule : func(idStr string) string Inspect
renderEntry : func(c *v0.capsule) string Inspect