PathrockNetwork Gno Explorer
HomeBlocksTransactionsTokensRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/r/akkadia/beta/lotto

Realm
Open in gnoweb ↗

Overview

Kind
Realm (renderable)
Name
lotto
Namespace
akkadia / beta
Files
7 (gnomod.toml)
Exported functions
5
Module
gno.land/r/akkadia/beta/lotto
gno
0.9

Files (7)

  • gnomod.tomltoml
  • lotto.gnogno
  • render.gnogno
  • validation.gnogno
  • lotto_test.gnogno
  • render_test.gnogno
  • setup_test.gnogno
validation.gnogno
1package lotto23func assertValidAddress(addr address) {4	if !addr.IsValid() {5		panic("invalid address")6	}7}89func assertListLimit(limit int) {10	if limit < 1 || limit > 100 {11		panic("limit must be between 1 and 100")12	}13}14

Functions

  • AddNumber(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}, owner string, number uint64)

  • DeleteAll(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})

  • GetNumberCount(number uint64, owner string) uint64

  • ListOwnersByNumber(number uint64, afterOwner string, limit int) []map[string]string

  • Render(path string) string

Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.

Rendered

RenderedRawgnoweb ↗

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.