game9 source realm
45
func AllMiners
Actionfunc BanAddress
crossing ActionBanAddress bans a player address. durationSecs=0 means permanent.
func BlacklistStatus
ActionBlacklistStatus returns the ban status of an address as a JSON string.
func BuyTool
crossing Actionfunc CasinoHistory
Actionfunc CasinoRound
Actionfunc ClaimAchievement
crossing Actionfunc ClaimAndMint
crossing ActionClaimAndMint records mined coins AND immediately credits them to balances. The caller pays their own gas (~0.03 GNOT). No treasury involvement. Replaces the two-step ClaimMine → mintPending flow for new players. Phase 6: treasury burn-rate fix — at 100 players using ClaimAndMint, the treasury pays ~0 GNOT/day (down from ~12 GNOT/day with the old two-step flow).
func ClaimMine
crossing ActionClaimMine records mined coins into pending mints for the caller. coinsJson format: [["coinId","amount"],...]
func ClaimPvpTimeout
crossing ActionClaimPvpTimeout allows a lobby participant to claim a timeout win. Only the creator or challenger may call this. Phase 6: refunds the escrowed wager to all parties who contributed.
func ClearPendingMints
crossing ActionClearPendingMints is called by the treasury server after successful GRC20 minting. Removes pending balance and credits the player's spendable balances tree.
func CommitCasinoSeed
crossing Actionfunc CommitPvpMove
crossing Actionfunc CompleteTask
crossing Actionfunc CreatePvpLobby
crossing ActionCreatePvpLobby creates a new PvP lobby and escrows the creator's wager from balances. Phase 6: wager > 0 deducts from balances and records the escrow in pvpWagers.
func CreateTask
crossing ActionCreateTask registers a new task on-chain.
func DailyCheckin
crossing Actionfunc DailyCheckinStatus
Actionfunc ExpireLobbies
crossing Actionfunc GetMedals
Actionfunc JackpotPool
Actionfunc JoinPvpLobby
crossing ActionJoinPvpLobby joins an existing PvP lobby and escrows the challenger's matching wager. Phase 6: deducts challenger's matching wager from balances and updates pvpWagers.
func LifetimeMined
Actionfunc ListTasks
Actionfunc OpenLobbies
Actionfunc OwnedTools
Actionfunc PendingMints
Actionfunc PlaceCasinoBet
crossing Actionfunc PlayerProfile
Actionfunc PvpLobby
Actionfunc RefundCasinoBet
crossing Actionfunc RegisterVein
crossing Actionfunc Render
func RepairTool
crossing Actionfunc RevealCasinoSeed
crossing Actionfunc RevealPvpMove
crossing ActionRevealPvpMove requires both players to have committed before either can reveal. Phase 6: when both players have revealed, determines the RPS winner and pays out 2× wager minus 2% rake to the winner. Draw = full refund to both players. pvpWagers.Remove is called after payout to prevent double-payouts.
func SetMinter
crossing ActionSetMinter registers the authorized minter realm address so it can call ClearPendingMints. Called once after minter5 is deployed.
func SetPaused
crossing Actionfunc SkillRanks
Actionfunc ToolLife
Actionfunc TrainSkill
crossing Actionfunc UnbanAddress
crossing ActionUnbanAddress removes a ban.