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.

v1 state

Back to all declarations

self

.uverse.address

Value

<gnolang.StringValue>

owner

.uverse.address

Value

<gnolang.StringValue>

Deposit

func()

Deposit credits the caller with the ugnot sent with the call.

Open
OID
0deb71…fd51:10
Deposit details

Inspect func

Withdraw

func(amount int64)

Withdraw pays the caller back up to their balance.

Open
OID
0deb71…fd51:11
Withdraw details

Inspect func

BalanceOf

func(addr .uverse.address) int64

BalanceOf returns addr's balance in ugnot.

Open
OID
0deb71…fd51:12
BalanceOf details

Inspect func

Ledger

func() *v0.Tree

Ledger returns the balances, for frontends that list depositors.

Open
OID
0deb71…fd51:13
Ledger details

Inspect func

balanceOf

func(key string) int64
Open
OID
0deb71…fd51:14
balanceOf details

Inspect func
self : .uverse.address =<gnolang.StringValue>
owner : .uverse.address =<gnolang.StringValue>
ledger : *v0.Tree Inspect
init.3 : func() Inspect
Deposit : func() Inspect
Withdraw : func(amount int64) Inspect
BalanceOf : func(addr .uverse.address) int64 Inspect
Ledger : func() *v0.Tree Inspect
balanceOf : func(key string) int64 Inspect
Render : func(string) string Inspect