Realm

v0

gno.land/r/moul/x/daily/orderedmapdemo/v0

Render

Ordered Map

A map that remembers insertion order, demoing the p/moul/x/daily/orderedmap library.

Inserted

delta, alpha, charlie, bravo → order kept as inserted, not sorted:

#keyvalue
1delta4
2alpha1
3charlie3
4bravo2

After Set("alpha", "99")

Updating keeps the original position — insertion order means first insertion:

#keyvalue
1delta4
2alpha99
3charlie3
4bravo2

After deleting and re-adding charlie

Re-inserting is a new insertion, so it goes last:

#keyvalue
1delta4
2alpha99
3bravo2
4charlienew

gno map iteration order is unspecified. A realm that ranges over a built-in map to build its page can emit a different page every call — a consensus bug, not a cosmetic one. This is the fix.

Transactions

No indexed transactions for this realm yet.

Calls, deploys, and child packages in indexed history.

Call function

Calls stay disabled until vm/qfuncs lists this package. Delve only submits functions the chain publishes for gno.land/r/moul/x/daily/orderedmapdemo/v0.

Source (qfile)