Realm

gno.land/r/g1gn6t0q9wenwhdda47rkrpfd63kcxjvyp7eqwku/pixelfeetest3

Rendered output

GNO Pixels (sandbox)

A 64x64 collaborative on-chain canvas (grows toward a 128x128 max as it fills). SetPixel(x, y, colorIndex) takes no address -- the pixel always belongs to whoever signs, and there's a 1-block cooldown per address between placements.

Total placements: 4 | Cells painted: 4 / 4096 | Expansions so far: 0

canvas

Palette

Index Color
0 #000000
1 #ffffff
2 #808080
3 #ef4444
4 #fb923c
5 #facc15
6 #4ade80
7 #3b82f6
8 #a855f7

Query (read-only)

non-crossing functions · no tx, no wallet needed
BoardHeight() → int64
BoardWidth() → int64
Bounds() → int64, int64, int64, int64
CooldownRemaining(addr string) → int64
ExpansionsCount() → int64
FeePerPixel() → int64
GetPixel(x int64, y int64) → int64
IsOfficialTarget(x int64, y int64, colorIndex int64) → bool
MaxBulkPixelsPerTx() → int64
MigrationOpen() → bool
OccupiedCells() → int64
PaletteCSV() → string
PlacedBy(x int64, y int64) → string, int64
Snapshot() → string
TopPlacers(n int64) → string
TotalPlacements() → int64

Call functions (state-changing)

signs a tx via Adena
CloseMigrationWindow()
ForceExpand()
ImportHistoricalPixel(x int64, y int64, colorIndex int64, originalPlacer string, originalHeight int64)
SetOfficialTarget(encoded string)
SetPixel(x int64, y int64, colorIndex int64)
SetPixels(encoded string)

All exported functions (23)

show raw signatures
NameParamsReturns
ForceExpand [{"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": ""}]
IsOfficialTarget [{"Name": "x", "Type": "int64", "Value": ""}, {"Name": "y", "Type": "int64", "Value": ""}, {"Name": "colorIndex", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "bool", "Value": ""}]
FeePerPixel [{"Name": ".res.0", "Type": "int64", "Value": ""}]
MaxBulkPixelsPerTx [{"Name": ".res.0", "Type": "int64", "Value": ""}]
SetOfficialTarget [{"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": "encoded", "Type": "string", "Value": ""}]
SetPixel [{"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": "x", "Type": "int64", "Value": ""}, {"Name": "y", "Type": "int64", "Value": ""}, {"Name": "colorIndex", "Type": "int64", "Value": ""}]
SetPixels [{"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": "encoded", "Type": "string", "Value": ""}]
ImportHistoricalPixel [{"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": "x", "Type": "int64", "Value": ""}, {"Name": "y", "Type": "int64", "Value": ""}, {"Name": "colorIndex", "Type": "int64", "Value": ""}, {"Name": "originalPlacer", "Type": "string", "Value": ""}, {"Name": "originalHeight", "Type": "int64", "Value": ""}]
CloseMigrationWindow [{"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": ""}]
MigrationOpen [{"Name": ".res.0", "Type": "bool", "Value": ""}]
GetPixel [{"Name": "x", "Type": "int64", "Value": ""}, {"Name": "y", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
PlacedBy [{"Name": "x", "Type": "int64", "Value": ""}, {"Name": "y", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}, {"Name": ".res.1", "Type": "int64", "Value": ""}]
Bounds [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "int64", "Value": ""}, {"Name": ".res.2", "Type": "int64", "Value": ""}, {"Name": ".res.3", "Type": "int64", "Value": ""}]
BoardWidth [{"Name": ".res.0", "Type": "int64", "Value": ""}]
BoardHeight [{"Name": ".res.0", "Type": "int64", "Value": ""}]
TotalPlacements [{"Name": ".res.0", "Type": "int64", "Value": ""}]
OccupiedCells [{"Name": ".res.0", "Type": "int64", "Value": ""}]
ExpansionsCount [{"Name": ".res.0", "Type": "int64", "Value": ""}]
PaletteCSV [{"Name": ".res.0", "Type": "string", "Value": ""}]
TopPlacers [{"Name": "n", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]
CooldownRemaining [{"Name": "addr", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
Snapshot [{"Name": ".res.0", "Type": "string", "Value": ""}]
Render [{"Name": "path", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]

Files

Storage

{
  "raw": "storage: 65825, deposit: 6582500"
}