Select a file to view its exact on-chain source. Sorted README → gnomod → sources → tests.
Answer(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}, choiceIdx int) string
Render
Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.
# Trivia Quiz
A rotating on-chain trivia quiz. Call `Answer(choiceIdx)` with 0-3 to answer the current question — first correct answer scores the point and a new question goes live.
## Round 1
**Who wrote the original Go proverb 'Don't communicate by sharing memory'?**
- **A** (0): Linus Torvalds
- **B** (1): Rob Pike
- **C** (2): Guido van Rossum
- **D** (3): Brendan Eich
- Attempts so far this round: 0
## Leaderboard
_No one has scored yet — be the first!_
Total questions answered correctly across all rounds: 0
## How to play
```
gnokey maketx call -pkgpath gno.land/r/g12cs4cehujpffpjpywmkqj43m6u5ya53nj69sjz/trivia \
-func Answer -args <0|1|2|3> ...
```
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.