1// Realm probe is shaped exactly like a generated instance realm: it owns the2// state, and every exported function is a one-line re-export that forwards3// `cur` into the shared pure package.4package probe56import (7 "gno.land/p/moul/x/framelab/v0"8 "gno.land/p/nt/grc20/v0"9)1011var (12 Token *grc20.Token13 ledger *grc20.PrivateLedger14)1516func init(cur realm) {17 Token, ledger = grc20.NewToken("Probe", "PRB", 6, 0, cur)18}1920// Run is the instance-realm shape under test.21func Run(cur realm, from address, amount int64) address {22 return framelab.Pull(0, cur, Token, from, amount)23}2425// Frame reports what pure-package code sees as its own realm identity.26func Frame(cur realm) (string, address, bool) { return framelab.Who(0, cur) }27Frame(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}) (string, string, bool)
Run(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, from string, amount int64) string
Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.
Render unavailable
rate limit exceeded — the render query is served by the Gnoland archive RPC.
vm/qrender output, sanitized (docs/render-security.md) and displayed in an empty-sandbox iframe — scripts, forms and popups cannot run. Links stay inert in-preview; right-click to open.