YUE — Your In-Game Bank
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.
What this is
Section titled “What this is”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.
What you actually do with it
Section titled “What you actually do with it”- 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 frommsg.senderinto this YUE, and sends the purchased token from this YUE’s inventory tomsg.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
GetAssetRateandIsValidAssetfor 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.Withdrawafter the relevant CHAN opt-in. DirectYUE.Withdrawrequires 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.
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.
VITUS.Withdraw(uint256 Amount)Simulate / call
A callable deployment has not been resolved for this reference.
Requirements & gating
Section titled “Requirements & gating”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.
Where it connects
Section titled “Where it connects”YUE source, CHAN, SEI, CHOA and CHEON. Track each token by contract address and verify balance movements in receipts.