Skip to content
Player's Guide

CHEON — Player Rewards

CHEON coordinates a player’s YUE reaction against a QING. Its public Su(qingAddress) function returns Charge, Hypobar, and Epibar. You can call it directly from your wallet, as well as through gameplay contracts.

The documented implementation resolves your active LAU and YUE through SEI, calls CHAN to react the YUE against the venue, and calculates a capped amount using MAI. When CHEON holds enough of its own token, it transfers that amount to your YUE. It also asks CHAN to invoke YUE’s mint-to-origin behavior, then returns the venue’s bar values.

  1. Start your YUE through SEI.Start and register your LAU through CHOA.Play.
  2. Enter the QING’s contract address as the Qing argument below.
  3. Simulate to inspect Charge, Hypobar, and Epibar. This does not save any changes or award tokens.
  4. Confirm in Wallet if you want to send the transaction. The contract evaluates your current permissions and state again when it executes.

Read YUE.Bar(qingAddress) to inspect the stored counters without submitting a transaction. Each confirmed action stands alone; a later call can see different state from your earlier preview.

Use these calls here. Simulations preview the current state; each confirmed call is a separate transaction.

CHEON0x3d23084cA3F40465553797b5138CFC456E61FB5D
CHEON.Su(address Qing)Simulate / call

Open this function to load its call form.

YUEResolve your player or venue above the call forms.
YUE.Bar(address Qing)Read

Open this function to load its call form.

A confirmed Su transaction costs gas and can change reaction state and token balances. A successful simulation is a preview, not a guaranteed payout. The capped CHEON transfer also depends on the contract having enough tokens.

  • Your connected wallet needs the active LAU and YUE that SEI resolves.
  • Use a valid QING address.
  • CHAN and YUE enforce their own permissions and opt-ins. Simulation shows a revert when a prerequisite is missing.

SEI resolves your player contracts. CHAN mediates YUE operations. MAI contributes to the reward calculation. YUE stores the returned bar values and receives any CHEON transfer.

For the exact interface and source excerpt, see the CHEON technical reference.