Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

million/v0 package

Overview

Package million is a pay-per-pixel collaborative canvas: anyone can paint any pixel of a Width x Height grid in one of 15 colors by sending exactly Price() ugnot per pixel along with the call. Pixels can be repainted by anyone, for the same price. Payments are forwarded to the admin wallet as they arrive, and the admin paints for free.

The grid logic lives in gno.land/p/g19t6f4f4ptt3m949jznalfsx2h8aj696llul0nj/canvas/v0; this realm adds the payment guard, the owner controls and the read API used by the web client.

Function

Revenue

func Revenue() int64

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/g19t6f4f4ptt3m949jznalfsx2h8aj696llul0nj/million/v0.Revenue()"

Result