Skip to content Search Apps Documentation Source Content 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.

minter source realm

Functions 7

func ClearPendingMints

crossing Action
1func ClearPendingMints(cur realm, playerAddr string, coinsJson string)
source

ClearPendingMints notifies the game realm that coins have been minted.

func Mint

crossing Action
1func Mint(cur realm, coinId string, toAddr string, amountStr string)
source

Mint credits coinId tokens to a player address. Records in internal audit log. Uncomment GRC20 cross-realm call once coin realms are deployed at gno.land/r/gnomoji/coins/{coinId}.

func MintTool

crossing Action
1func MintTool(cur realm, toolId string, toAddr string, _ string)
source

MintTool records tool ownership for a player on-chain.

func UpdateAdmin

crossing Action
1func UpdateAdmin(cur realm, newAdmin string)
source

UpdateAdmin transfers the admin role to a new address.

Dependencies

Source Files 2