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.

minter5 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. Forwards the call to game3.ClearPendingMints to clear the player's pending balance.

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 and issues real tokens via the coins realm.

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