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.36 Kb · 36 lines

gno.land/r/nym-moultest123/x/pairs/aaabbb/v0

One AMM pair, AAA/BBB, and nothing else: the worked example of an instance realm.

Read the file, it is the point. Two constants, an init that builds the pair and registers it, and one-line re-exports forwarding cur into p/moul/x/pair/v0. It is tools/pairgen output, differing only in its doc comment and in two blank imports that force the in-repo test tokens to initialise first (an instance deployed against already-deployed tokens needs neither).

1go -C tools run ./pairgen gno.land/r/nym-moultest123/x/pairs/aaa/v0.AAA \
2    gno.land/r/nym-moultest123/x/pairs/bbb/v0.BBB -o /tmp/out -namespace moul/x/pairs
3diff /tmp/out/aaabbb/aaabbb.gno r/moul/x/pairs/aaabbb/aaabbb.gno

Trades against the two throwaway faucet tokens r/moul/x/pairs/aaa/v0 and r/moul/x/pairs/bbb/v0. Neither has any value.


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/pairs/aaabbb/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.