Skip to content Search Apps Documentation Source Content 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.

README.md

2.32 Kb · 34 lines

Ring Buffer

⚠️ Experimental — generated with no human supervision by the daily MCP pipeline to exercise gno tooling. Not audited. See r/moul/x/daily.


Pushes six entries into a buffer of capacity four and renders, step by step, what survived and what each overflowing push evicted.

Demo of the p/moul/x/daily/ringbuffer library — this realm holds no buffer logic of its own. Stateless, so Render is fully deterministic.

Showing the evicted value in its own column is deliberate: it is the part of the API that keeps a rolling window from dropping data silently.

Built for gno 0.9.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

On mainnet: deployment status transactions unique callers deployed revision

Dependency graph:

gno.land/r/nym-moultest123/x/daily/ringbufferdemo/v0 dependency graph

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.