Cosmic Bull

Realm on pearl-1

cointest

gno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/cointest

realmvalidation-helperprobe

RenderedSourceCall builderState

curated

Throwaway probe for out-of-band coin forwarding. Not a product and never audited as one.

Identity

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

Provenance

chain-attested
Deployed at height572,543
Deploy transactionb19f57d705b450f1a022b1b6bb760b9015cb4cc4a72c491857d9ab5c53f7ccf6 look it up on the RPC
Deployerg1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3
Gas used8,038,173
Storage5,254 bytes, deposit 525400ugnot
Files on chaincointest.gno gnomod.toml
Deployed bytescointest.gno — 1,915 bytes
sha256feb2a70388eea5b0b197fffb28074e5dca930ce5d22001fc864d886ba4028da2

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 256

Expected: 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:

ForwardUgnotIssuedMintAndSendTryDeposit

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

Functions

ForwardUgnot

func ForwardUgnot(cur realm, target address)

Crossing function. Callable from a transaction via MsgCall, and from another realm as ForwardUgnot(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 as MintAndSend(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 as TryDeposit(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
Importschain, chain/banker, chain/runtime/unsafe, gno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/vault
First-party dependenciesgno.land/r/g1ut6uspuh73e02yauxpmyt8g3wwddaq8utagvm3/vault
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