PathrockNetwork Gno Explorer
HomeBlocksTransactionsRealmsPackagesValidators

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/demo/profile

Realm
Open in gnoweb ↗

Overview

Kind
Realm (renderable)
Name
profile
Namespace
demo
Files
4 (gnomod.toml)
Exported functions
7
Module
gno.land/r/demo/profile
gno
0.9

Files (4)

  • gnomod.tomltoml
  • profile.gnogno
  • render.gnogno
  • profile_test.gnogno

Select a file to view its exact on-chain source. Sorted README → gnomod → sources → tests.

Functions

  • GetBoolField(addr string, field string, def bool) bool

GetIntField
(addr string, field string, def int)
int
  • GetStringField(addr string, field string, def string) string

  • Render(path string) string

  • SetBoolField(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}, field string, value bool) bool

  • SetIntField(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}, field string, value int) bool

  • SetStringField(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}, field string, value string) bool

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

    Rendered

    RenderedRawgnoweb ↗
    ## Setters
    - [Set DisplayName](/r/demo/profile$help&func=SetStringField&field=DisplayName)
    - [Set Homepage](/r/demo/profile$help&func=SetStringField&field=Homepage)
    - [Set Bio](/r/demo/profile$help&func=SetStringField&field=Bio)
    - [Set Location](/r/demo/profile$help&func=SetStringField&field=Location)
    - [Set Avatar](/r/demo/profile$help&func=SetStringField&field=Avatar)
    - [Set GravatarEmail](/r/demo/profile$help&func=SetStringField&field=GravatarEmail)
    - [Set Age](/r/demo/profile$help&func=SetIntField&field=Age)
    - [Set AvailableForHiring Field](/r/demo/profile$help&func=SetBoolField&field=AvailableForHiring)
    
    ---
    
    

    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.