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.

v2 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
02a21d…891b:10
Deposit details

Inspect func

Withdraw

func(amount int64)

Withdraw pays the caller back up to their balance.

Open
OID
02a21d…891b:11
Withdraw details

Inspect func

BalanceOf

func(addr .uverse.address) int64

BalanceOf returns addr's balance in ugnot.

Open
OID
02a21d…891b:12
BalanceOf details

Inspect func

Entry

type

Entry is one depositor's balance.

Value

v2.Entry

Balances

func() []v2.Entry

Balances returns a copy of the ledger, for frontends that list depositors.

Open
OID
02a21d…891b:13
Balances details

Inspect func

balanceOf

func(key string) int64
Open
OID
02a21d…891b: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
Entry : type =v2.Entry
Balances : func() []v2.Entry Inspect
balanceOf : func(key string) int64 Inspect
Render : func(string) string Inspect