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.

Object 046b0e88…fee85c:2 state

Back to all declarations

0

untyped string

Value

"Golden Ticket"

1

untyped string

Value

"GOLD"

2

v0.TokenID

Value

<gnolang.StringValue>

3

untyped string

Value

"https://raw.githubusercontent.com/gnolang/workshops/main/assets/gno-icon-white.png"

4

untyped string

Value

"goldenticket: there is one ticket, id 1"

5

untyped string

Value

"goldenticket: caller does not hold the ticket"

6

untyped string

Value

"goldenticket: invalid recipient address"

7

untyped string

Value

"goldenticket: caller is not the admin"

8

untyped string

Value

"goldenticket: image must be an https URL, 12 to 300 characters of [A-Za-z0-9./_-:?=&%~+]"

14

func(publisher .uverse.address, rlm .uverse.realm)
Open
OID
046b0e…e85c:9
14 details

Inspect func

21

func(tid v0.TokenID) (.uverse.address, .uverse.error)
Open
OID
046b0e…e85c:16
21 details

Inspect func

22

func(addr .uverse.address) (int64, .uverse.error)
Open
OID
046b0e…e85c:17
22 details

Inspect func

23

func(tid v0.TokenID) (string, .uverse.error)
Open
OID
046b0e…e85c:18
23 details

Inspect func

24

func(tid v0.TokenID) (string, .uverse.error)
Open
OID
046b0e…e85c:19
24 details

Inspect func
0 : untyped string ="Golden Ticket"
1 : untyped string ="GOLD"
2 : v0.TokenID =<gnolang.StringValue>
3 : untyped string ="https://raw.githubusercontent.com/gnolang/workshops/main/assets/gno-icon-white.png"
4 : untyped string ="goldenticket: there is one ticket, id 1"
5 : untyped string ="goldenticket: caller does not hold the ticket"
6 : untyped string ="goldenticket: invalid recipient address"
7 : untyped string ="goldenticket: caller is not the admin"
8 : untyped string ="goldenticket: image must be an https URL, 12 to 300 characters of [A-Za-z0-9./_-:?=&%~+]"
9 : <gnolang.heapItemType> Inspect
10 : <gnolang.heapItemType> Inspect
11 : <gnolang.heapItemType> Inspect
12 : <gnolang.heapItemType> Inspect
13 : func() Inspect
14 : func(publisher .uverse.address, rlm .uverse.realm) Inspect
15 : func() string Inspect
16 : func() string Inspect
17 : func() .uverse.address Inspect
18 : func() string Inspect
19 : func(url string) Inspect
20 : func(s string) bool Inspect
21 : func(tid v0.TokenID) (.uverse.address, .uverse.error) Inspect
22 : func(addr .uverse.address) (int64, .uverse.error) Inspect
23 : func(tid v0.TokenID) (string, .uverse.error) Inspect
24 : func(tid v0.TokenID) (string, .uverse.error) Inspect
25 : func(to .uverse.address) Inspect
26 : func(string) string Inspect