Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

musd source realm

Package musd is Mimir USD (mUSD), the GRC20 test dollar Mimir markets stake on gno.land. It has 6 decimals, like USDC...

Overview

Package musd is Mimir USD (mUSD), the GRC20 test dollar Mimir markets stake on gno.land. It has 6 decimals, like USDC: 1 mUSD = 1_000_000 units.

Anyone can call Faucet once per FaucetCooldown to receive FaucetAmount. It is a testnet token: it has no value and no backing.

Constants 2

const Deployer

1const Deployer = address("g12dcsmwccgdxasqde2eumua88tlrkw83kqf6tcz")
source

Deployer owns Mint, used to seed agent and council wallets.

Variables 1

Functions 10

func Faucet

crossing Action
1func Faucet(cur realm)
source

Faucet pays FaucetAmount to the caller, at most once per FaucetCooldown.

func Mint

crossing Action
1func Mint(cur realm, to address, amount int64)
source

Mint is for the owner, to seed agent and council wallets.

func NextDrip

Action
1func NextDrip(addr address) int64
source

NextDrip is the unix time from which addr may use the faucet again (0: now).

Dependencies

Source Files 3