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

cointest2 source realm

Realm cointest2 corrects cointest's MintAndSend: on-chain, IssueCoin requires the fully-qualified denom "/\<pkgpath>:...

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.

Constants 1

const FullDenom

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

FullDenom is the chain-qualified denomination this realm issues.

Functions 1

func MintAndSend

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

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

Imports 2

  • chain stdlib
  • chain/banker stdlib

Source Files 2