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(path string) string
Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.
# Quiz Streak
Everyone plays their own trivia run at their own pace. Call `Answer(choiceIdx)` with 0-3 — a correct answer extends your streak and moves you to your next question; a wrong answer breaks your streak but leaves the same question live so you can retry.
## Best-streak leaderboard
_No one has played yet — be the first!_
## How to play
```
gnokey maketx call -pkgpath gno.land/r/g12cs4cehujpffpjpywmkqj43m6u5ya53nj69sjz/quizstreak \
-func Answer -args <0|1|2|3> ...
```
View your own dashboard at `.../quizstreak:<your-address>`.
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.