Player's Guide

YUE — Your In-Game Bank

Last updated:

Evidence scope: The behavior below is from the pinned Solidity source. A source-file hash does not establish deployed bytecode equivalence. Check the selected deployment and caller before sending a transaction.

SEI creates and CHAN registers a YUE for a transaction origin. Its Origin is a routing field, separate from MultiOwnable ownership. A YUE can hold token balances and serve callers through its public Hong/Hung market methods.

  • Read Bar(qing) for Hypobar and Epibar. React(qing) adds XIE’s Omega to Hypobar and Omicron to Epibar; these are power accumulators, not deposit/withdrawal flow totals. Hong, Hung and Withdraw do not clear them in this source.
  • Hong(spendAsset, qingAsset, amount) validates the pair and rate, takes payment from msg.sender into this YUE, and sends the purchased token from this YUE’s inventory to msg.sender.
  • Hung(qingAsset, receiveAsset, amount) takes the caller’s sale tokens into this YUE and pays the caller from this YUE’s receive-token inventory. It is not an unrestricted swap between tokens already held inside the YUE.
  • Use GetAssetRate and IsValidAsset for the pair, then simulate the exact amount. Zero rates, insufficient inventory, allowances, token calls and checked arithmetic can stop a trade.
  • Use a supported withdrawal route such as VITUS.Withdraw after the relevant CHAN opt-in. Direct YUE.Withdraw requires owner authority, msg.sender == Chan, and its own token capability probe.

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

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

Open this function to load its call form.

YUE.GetAssetRate(address GwatAsset, address Integrative)Read

Open this function to load its call form.

YUE.IsValidAsset(address GwatAsset, address Integrative)Read

Open this function to load its call form.

YUE.Hong(address SpendAsset, address QingAsset, uint256 PurchaseAmount)Simulate / call

Open this function to load its call form.

YUE.Hung(address QingAsset, address ReceiveAsset, uint256 RedeemAmount)Simulate / call

Open this function to load its call form.

VITUSDeployment unresolved; calls unavailable.
VITUS.Withdraw(uint256 Amount)Simulate / call

A callable deployment has not been resolved for this reference.

Hong and Hung are public and do not use onlyOwners or CHAN’s opt-in check. Opt-in is a condition of the CHAN withdrawal/force-transfer routes; it is not a blanket lock over every YUE outflow. OnlyGameTokens belongs to the withdrawal probe, not Hong/Hung’s pair validation.

React is owner-gated and requires the transaction origin to hold YUE tokens. Its stateful power path can revert. CHAN.TransferYue requires the current Origin and an unused destination; the source does not express this as an ERC-20 balance transfer or a transfer of every owner role.

YUE source, CHAN, SEI, CHOA and CHEON. Track each token by contract address and verify balance movements in receipts.