CHEON — Player Rewards
What this is
Section titled “What this is”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.
What you actually do with it
Section titled “What you actually do with it”- Start your YUE through SEI.Start and register your LAU through CHOA.Play.
- Enter the QING’s contract address as the
Qingargument below. - Simulate to inspect Charge, Hypobar, and Epibar. This does not save any changes or award tokens.
- 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.
0x3d23084cA3F40465553797b5138CFC456E61FB5DCHEON.Su(address Qing)Simulate / call
Open this function to load its call form.
YUE.Bar(address Qing)Read
Open this function to load its call form.
Rewards / costs
Section titled “Rewards / costs”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.
Requirements & gating
Section titled “Requirements & gating”- 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.
Where it connects
Section titled “Where it connects”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.