Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

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
050273…ccdd: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
050273…ccdd: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
050273…ccdd: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
050273…ccdd:10
Payout details

Inspect func

Paid

func() int64

Paid is what this module has moved in total.

Open
OID
050273…ccdd: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