Skip to content

PANG

Overview

PANG is the sixth contract in the soeng chain. It provides the Push function that combines ZI's Spin with additional power calculations.

  • Inherits: DYSNOMIA V2
  • License: Sharia
  • Solidity: ^0.8.21

What This Means For Players

Plain English Summary: PANG is the final calculation step before GWAT - it "pushes" all your accumulated power values together. The Push function combines your Spin (from ZI) with your Power (from XIE) to determine your final influence at a venue.

Real-World Analogy: PANG is like the final scoreboard calculation in a multi-event competition. It takes all your individual scores (power, spin, charge) and combines them into the final results that determine your placement and rewards.

How It Affects Your Gameplay: - Final calculation - Push() produces the numbers used for territory claims and GWAT creation - Five outputs - Iota, Omicron, Eta, Omega, and Charge each affect different game mechanics - GWAT gateway - Your Push values determine if you can create a GWAT at a given position

State Variables

Variable Type Visibility Description
Type string public constant "PANG"
Zi ZI public Reference to ZI

Write Functions

Push

function Push(uint256 QingWaat) public returns (uint256 Iota, uint256 Omicron, uint256 Eta, uint256 Omega, uint256 Charge)
- Access: public - Parameters: - QingWaat (uint256): Target QING's position identifier (Waat) - Returns: - Iota (uint256): Modular exponentiation result of spin Iota with QING's entropy - Omicron (uint256): Modular exponentiation result of power Omicron with Charge - Eta (uint256): Raw Eta value from ZI.Spin() - Omega (uint256): Omega value from XIE.Power() - Charge (uint256): Raw Charge value from XIE.Power() - Description: Final calculation combining ZI.Spin and XIE.Power outputs with modular exponentiation adjustments. - Logic Flow: 1. Navigate to QING: Qing = Zi.Choa().Sei().Chan().Xie().Xia().Mai().Qi().Zuo().GetQing(QingWaat) 2. Mint to cap: _mintToCap() 3. Get power values: (Charge, Omicron, Omega) = Zi.Choa().Sei().Chan().Xie().Power(QingWaat) 4. Get spin values: (Iota, , , Eta) = Zi.Spin(QingWaat) 5. Adjust Omicron: Omicron = modExp(Omicron, Charge, Yuan(Qing)) 6. Adjust Iota: Iota = modExp(Iota, Qing.Entropy(), Yuan(Qing)) 7. Return all five values - Computation Details: - Omicron = Power.Omicron ^ Power.Charge mod CHOA.Yuan(Qing) - Iota = Spin.Iota ^ Qing.Entropy mod CHOA.Yuan(Qing) - Yuan is the CHOA value for the specific QING - Side Effects: Triggers calculations in ZI.Spin and XIE.Power; mints tokens - In Plain English: Get your final calculated values for territory claims and GWAT creation. Combines power (from XIE) and spin (from ZI), then adjusts Omicron and Iota using modular exponentiation with the QING's Yuan and entropy. These five outputs determine your range limits (used in META.Beat) and eligibility for rewards.

Contract Interactions

Depends On

Depended On By

  • RING - Uses Push for Eta
  • GWAT - Uses Pang reference

Special Mechanisms

Push Calculation

function Push(uint256 QingWaat) public returns (uint256 Iota, uint256 Omicron, uint256 Eta, uint256 Omega, uint256 Charge) {
    QINGINTERFACE Qing = Zi.Choa().Sei().Chan().Xie().Xia().Mai().Qi().Zuo().GetQing(QingWaat);

    // Get power values
    (Charge, Omicron, Omega) = Zi.Choa().Sei().Chan().Xie().Power(QingWaat);

    // Get spin values
    (Iota, , , Eta) = Zi.Spin(QingWaat);

    // Adjust Omicron
    Omicron = Xiao.modExp(Omicron, Charge, Zi.Choa().Yuan(address(Qing)));

    // Adjust Iota
    Iota = Xiao.modExp(Iota, Qing.Entropy(), Zi.Choa().Yuan(address(Qing)));
}

Contract Verification

Property Value
Keccak256 Hash 0xdf9e81b151e646149389a7e1b1b85259a8ff266ad7e6e53b9d2bf660d98a8eb2
Source URL https://raw.githubusercontent.com/busytoby/atropa_pulsechain/main/solidity/dysnomia/domain/soeng/06_pang.sol
Hash Generated 2026-02-08T00:29:08Z