Alpha & Strategy

Economic — Market Rates & the 777 Floor

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.

YUE.Hong and Hung call IsValidAsset and GetAssetRate for the supplied pair. GetAssetRate walks QING/Asset links, reads internal rates and applies the source’s integer arithmetic. Missing methods, zero rates, empty inventories and checked arithmetic can prevent a trade. An internal rate is not an external market price.

For Hong, the cost is PurchaseAmount * Rate / 10^YUE.decimals(): payment comes from msg.sender and the bought token comes from the selected YUE’s inventory. Hung takes RedeemAmount of the sale token from msg.sender and pays RedeemAmount * Rate / 10^YUE.decimals() from the YUE. Approve the selected YUE for the exact spending token and simulate before sending.

These public methods do not require YUE ownership or the CHAN opt-in used by withdrawal routes. They do not generically swap balances already inside your YUE. The same YUE-decimal denominator does not prove that arbitrary token decimal combinations are economically normalized.

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.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.

YUE.Hong, Hung and GetAssetRate.