Select a file to view its exact on-chain source. Sorted README → gnomod → sources → tests.
Clear(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})
Depth() int
Push(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}, token string)
Render(path string) string
Top() (int, bool)
Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.
# RPN Calculator
## Result
_(empty stack)_
## Stack (bottom → top)
_empty_
## Usage
Reverse Polish Notation: operands first, operator last.
- `Push("5")` then `Push("3")` then `Push("+")` → `8`
- Supported operators: `+`, `-`, `*`, `/` (integer division)
- An operator pops the top two values (a, b) and pushes `a op b`.
- `Clear()` empties the stack.
- Divide-by-zero and underflow abort the transaction.
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.