Dual-Token Economy
XPower operates on two complementary ERC20 tokens that serve different economic functions: XPOW (the work token) and APOW (the store-of-value token).
XPOW — The Work Token
XPOW is the proof-of-work token — created exclusively through Keccak-256 nonce discovery. It represents computational energy expended and serves as the base layer of the XPower economy.
| Property | Value |
|---|---|
| Name | XPower |
| Symbol | XPOW |
| Decimals | 18 |
| Standard | ERC20 (with Permit and Burnable extensions) |
| Creation | Mining only (zero pre-mine) |
| Supply | Unbounded — grows with total hash power |
XPOW has no intrinsic value — it's a pure representation of work done. Its economic role is to serve as the input to the staking system, where it can be converted into tiered NFTs and ultimately into APOW rewards.
APOW — The Store-of-Value Token
APOW is the staking reward token — minted exclusively through the MoeTreasury when stakers claim accumulated rewards. It represents accumulated time and commitment.
| Property | Value |
|---|---|
| Name | APower |
| Symbol | APOW |
| Decimals | 18 |
| Standard | ERC20 (with Permit and Burnable extensions) |
| Creation | Staking rewards only |
| Supply | Rate-limited — target ~1 token/minute mean |
APOW wraps XPOW: when MoeTreasury mints APOW, it calls XPOW.transferFrom(treasury, beneficiary, amount), moving XPOW from the treasury to the claimant. The treasury's XPOW balance — accumulated from the 50% mining split — backs the APOW supply.
Unwrapping
APOW can be burned to release XPOW back to the holder:
- Call
APower.burn(amount) - A proportional share of treasury XPOW is transferred:
amount × treasuryBalance / totalAPowSupply - APOW supply decreases, XPOW returns to circulation
Supply Relationship
The two tokens have an intertwined supply dynamic:
- XPOW supply grows with mining activity — unbounded, probabilistic
- APOW supply grows with staking duration — rate-limited to ~1/min, supply-capped at 43,830
- Treasury XPOW must exceed total APOW for full collateralization
- Unwrapping reverses the flow: APOW burns → XPOW releases
This creates a natural economic cycle: mining creates XPOW → staking converts it to APOW → APOW unwrapping releases XPOW back.
Rate Limiting
APOW minting is rate-limited to approximately 1 token per minute as a long-term moving mean, smoothed by square-root filtering:
- If actual minting rate < target rate: full amount minted immediately
- If actual minting rate > target rate: minting is slowed to bring the mean back toward target
This mechanism prevents sudden supply shocks from large, delayed claims and maintains APOW's scarcity properties.