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

payout

type

Value

v0.payout

Install

func(dest .uverse.address)

Install wires this module into moul's account.

Open
OID
01e159…ced9:6
Install details

Inspect func

InstallInto

func(acct *v0.Account, dest .uverse.address)

InstallInto wires it into ANY account: a module is not bound to one instance. gno has no dynamic call, so the handle has to be passed as a value, which a \`gnokey maketx run\` script can do and a MsgCall cannot.

Open
OID
01e159…ced9:8
InstallInto details

Inspect func

Echo

func() string

Echo reports who called it. A crossing call shifts the previous-realm stack even into the same realm, so this is what the module's borrowed identity looks like from the outside.

Open
OID
01e159…ced9:9
Echo details

Inspect func

Payout

func(to .uverse.address, amount int64)

Payout spends the sub-treasury with the retained banker, reaching the bank without re-entering the account. This is the demonstration that an identity grant cannot be revoked: it keeps working after Revoke.

Open
OID
01e159…ced9:10
Payout details

Inspect func

Paid

func() int64

Paid is what this module has moved in total.

Open
OID
01e159…ced9:11
Paid details

Inspect func
payout : type =v0.payout
self : *v0.payout Inspect
Install : func(dest .uverse.address) Inspect
InstallInto : func(acct *v0.Account, dest .uverse.address) Inspect
Echo : func() string Inspect
Payout : func(to .uverse.address, amount int64) Inspect
Paid : func() int64 Inspect
Render : func(path string) string Inspect