Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

moves/v2 package

Overview

Package moves is the book of move recipes for the Code Arena brawler.

A recipe is a special move written as data, like "Blink Thief/84/D82S11": a name, a cooldown and up to three effects (see recipe.gno in the brawl package for the format and the budget). Anyone can publish one; the browser lets you equip any published move for practice, and the chain's rules run it exactly like the browser does.

Built to be cheap: a recipe is stored as one short string, "author recipe", and bucketSize recipes share one tree node, so most publishes only pay for their own few dozen bytes. Each author also has one string listing their ids.

Function

List

func List(skip, n int) string
Ask AI Claude ChatGPT

List returns up to n moves as a JSON array, newest first, skipping the newest skip.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ftppd2jpfx0p8cy08th4u9whwvqcpychhlad28/moves/v2.List(,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g1ftppd2jpfx0p8cy08th4u9whwvqcpychhlad28/moves/v2, for example a function call with arguments.