Realm on pearl-1
cointest
gno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/cointest
realmvalidation-helperprobe
Throwaway probe for out-of-band coin forwarding. Not a product and never audited as one.
Identity
| Import path | gno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/cointest |
|---|---|
| Kind | realm (/r/) |
| Chain | pearl-1 |
| Namespace | g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3 |
| Realm address | g1qr9xg2zkawddyw67rnwh5c7emkp4hxdlfq8vxc derived, never confirmed against the realm |
Provenance
chain-attested| Deployed at height | 572,543 |
|---|---|
| Deploy transaction | b19f57d705b450f1a022b1b6bb760b9015cb4cc4a72c491857d9ab5c53f7ccf6 look it up on the RPC |
| Deployer | g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3 |
| Gas used | 8,038,173 |
| Storage | 5,254 bytes, deposit 525400ugnot |
| Files on chain | cointest.gno gnomod.toml |
| Deployed bytes | cointest.gno — 1,915 bytes |
| sha256 | feb2a70388eea5b0b197fffb28074e5dca930ce5d22001fc864d886ba4028da2 |
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/cointest$download&file=cointest.gno' | shasum -a 256Expected: feb2a70388eea5b0b197fffb28074e5dca930ce5d22001fc864d886ba4028da2 — 1,915 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 4 exported functions.
Every function below deep-links to gnoweb's call builder, which generates a ready-to-run gnokey maketx call for it:
Overview
Realm cointest is a throwaway deployment-validation helper for the vault realm. It creates the two out-of-band conditions the vault's surplus machinery must handle — a direct bank send of ugnot and a foreign denomination — and exercises the vault's realm-caller rejection. Not part of the product; safe to abandon after validation.
Imports
chainchain/bankerchain/runtime/unsafegno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/vault
Functions
ForwardUgnot
func ForwardUgnot(cur realm, target address)
Crossing function. Callable from a transaction via
MsgCall, and from another realm asForwardUgnot(cross(cur), ...).
ForwardUgnot forwards the ugnot attached to this call to target via a plain bank send — out-of-band relative to target's own deposit flow.
Issued
func Issued() string
Issued returns the denom minted by MintAndSend.
MintAndSend
func MintAndSend(cur realm, target address, amount int64)
Crossing function. Callable from a transaction via
MsgCall, and from another realm asMintAndSend(cross(cur), ...).
MintAndSend issues amount of this realm's own denomination and force-sends it to target, recording the chain-qualified denom.
TryDeposit
func TryDeposit(cur realm)
Crossing function. Callable from a transaction via
MsgCall, and from another realm asTryDeposit(cross(cur), ...).
TryDeposit attempts a realm-to-realm call of vault.Deposit. The vault must reject it (IsUserCall guard), aborting this whole transaction — success of this function would be a security regression.
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| Imports | chain, chain/banker, chain/runtime/unsafe, gno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/vault |
|---|---|
| First-party dependencies | gno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/vault |
| Used by | none |
Known limitations
Recorded by the people who built and deployed it. This list is deliberately not empty where honesty costs something.
curated- No committed source in this repository; it was deployed from an ad-hoc working copy that was not retained.
Source and records
| Matches the deployed bytes | no — deliberate divergence |
|---|---|
| Why | No committed source; throwaway validation helper. |
| Recorded in | catalog/README.md |
| Records | catalog/primitives.md#validation-helpers |