Cosmic Bull

Realm on pearl-1

cointest2

gno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/cointest2

realmvalidation-helperprobe

RenderedSourceCall builderState

curated

Throwaway probe for realm-issued denominations (fully-qualified denom). Not a product and never audited as one.

Identity

Import pathgno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/cointest2
Kindrealm (/r/)
Chainpearl-1
Namespaceg1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3
Realm addressg1s4hnxmryhaxzq2vkhvlxdrzk30j7ac826l8yvh derived, never confirmed against the realm

Provenance

chain-attested
Deployed at height572,561
Deploy transaction7ce72ecd16ffb822d7e1a42aed7aaad573475d028321d309eb81b8a339be2eeb look it up on the RPC
Deployerg1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3
Gas used5,055,633
Storage2,456 bytes, deposit 245600ugnot
Files on chaincointest2.gno gnomod.toml
Deployed bytescointest2.gno — 866 bytes
sha256402d44df89951e4d4996206a69b0c0f83ce4d27dd83ce0f7718d7e278abb6b77

Do not take the hash above on trust. $download returns the bytes pearl-1 is actually running; this command fetches them and prints their digest, which should equal the one in the table:

curl -sS 'https://pearl.testnets.gno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/cointest2$download&file=cointest2.gno' | shasum -a 256

Expected: 402d44df89951e4d4996206a69b0c0f83ce4d27dd83ce0f7718d7e278abb6b77 — 866 bytes. This was checked for all 21 packages while building this site's architecture record; every one matched. Use curl: pearl's edge answers Python's default user-agent with HTTP 403.

API

chain-derived 1 exported function.

Every function below deep-links to gnoweb's call builder, which generates a ready-to-run gnokey maketx call for it:

MintAndSend

Overview

Realm cointest2 corrects cointest's MintAndSend: on-chain, IssueCoin requires the fully-qualified denom "/<pkgpath>:<sub>" (the local test harness accepted a bare subdenom — documented harness/chain discrepancy). Throwaway validation helper; safe to abandon.

Imports

Constants and variables

FullDenom is the chain-qualified denomination this realm issues.

const FullDenom = "/gno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/cointest2:junk"

Functions

MintAndSend

func MintAndSend(cur realm, target address, amount int64)

Crossing function. Callable from a transaction via MsgCall, and from another realm as MintAndSend(cross(cur), ...).

MintAndSend issues amount of FullDenom and force-sends it to target.


Doc text is reproduced as vm/qdoc returns it. The node markdown-escapes doc comments, so a bracket or angle bracket may carry a backslash the committed source does not have. The source itself is at source and in this repository.

Dependencies

chain-attested
Importschain, chain/banker
First-party dependenciesnone
Used bynone

Known limitations

Recorded by the people who built and deployed it. This list is deliberately not empty where honesty costs something.

curated

Source and records

Matches the deployed bytesno — deliberate divergence
WhyNo committed source; throwaway validation helper.
Recorded incatalog/README.md
Recordscatalog/primitives.md#validation-helpers