Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

cointest source realm

Realm cointest is a throwaway deployment-validation helper for the vault realm. It creates the two out-of-band condit...

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.

Functions 4

func ForwardUgnot

crossing Action
1func ForwardUgnot(cur realm, target address)
source

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.

func MintAndSend

crossing Action
1func MintAndSend(cur realm, target address, amount int64)
source

MintAndSend issues amount of this realm's own denomination and force-sends it to target, recording the chain-qualified denom.

func TryDeposit

crossing Action
1func TryDeposit(cur realm)
source

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.

Imports 4

Source Files 2