Realm
gno.land/r/moul/x/daily/counter/v1
Rendered output
Counter Club
A shared counter anyone can Inc, Dec, or Reset. The last 20 changes are logged below.
Current value
0
Total changes: 0
Recent history
No changes yet — be the first to count!
Query (read-only)
non-crossing functions · no tx, no wallet neededTotal() → int
Value() → int
Call functions (state-changing)
signs a tx via AdenaDec()
Inc()
Reset()
All exported functions (6)
show raw signatures
| Name | Params | Returns |
|---|---|---|
| Inc | [{"Name": "cur", "Type": "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}", "Value": ""}] | [{"Name": ".res.0", "Type": "int", "Value": ""}] |
| Dec | [{"Name": "cur", "Type": "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}", "Value": ""}] | [{"Name": ".res.0", "Type": "int", "Value": ""}] |
| Reset | [{"Name": "cur", "Type": "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}", "Value": ""}] | [{"Name": ".res.0", "Type": "int", "Value": ""}] |
| Value | — | [{"Name": ".res.0", "Type": "int", "Value": ""}] |
| Total | — | [{"Name": ".res.0", "Type": "int", "Value": ""}] |
| Render | [{"Name": "path", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
Files
Storage
{
"raw": "storage: 8744, deposit: 874400"
}