Glossary
APB (Annual Percentage Bonus) — A staking reward component that increases with the age (vintage) of an APowerNft, rewarding long-term commitment. Default rate is 0.1% per year, additive to APR.
APOW (APower) — The ERC20 store-of-value token minted exclusively through staking rewards. Supply-capped at 43,830 tokens and rate-limited to ~1 token per minute mean.
APowerNft — An ERC1155 staking receipt minted when an XPowerNft is staked in NftTreasury. Tracks denomination, age accumulator, and per-level share totals; only NftTreasury can mint or burn.
APR (Annual Percentage Rate) — The level-based base staking reward rate, derived from a polynomial mapping NFT level to PPM. Default production parameters yield 1.125% per level.
Banq — The anti-gaming modifier contract that enforces MIN_NET2RIP ratio, burns excess minted supply, and locks APOW into a lending pool behind a PoW nonce gate. Applied atomically to all claims.
Block Hash — A 32-byte Avalanche block hash cached via XPower.init(), used as a freshness anchor for proof-of-work mining. Solutions must be submitted within 1 hour of init().
CENTURY — The protocol time constant equal to 36,525 days (3,155,760,000 seconds), serving as the denominator in the reward formula to normalize annual rates to per-second accrual.
Claim — The act of minting accrued APOW rewards from a staked APowerNft via MoeTreasury.claim(). Claims pass through Banq enforcement, supply cap checks, and the integrator-weighted effective rate.
Denomination — The XPOW value represented by an NFT at a given level
Difficulty — Measured as the number of leading zero nibbles
Dynamic Rate — The redistribution mechanism that adjusts effective APR at each NFT level based on the share of total denomination staked, directing capital toward under-supplied levels.
HASH — Keccak-256, the SHA-3 derivative used for proof-of-work and pair index computation. EVM-native via the SHA3 opcode; browser-mineable via Web Crypto APIs.
Integrator — A linked-list library that enforces time-weighted smoothing of rate changes. Prevents flash-staking by computing effective rates as the duration-weighted arithmetic mean over the rate history.
Level — A tier of the XPowerNft system, restricted to multiples of 3 (0, 3, 6, ..., 99). Each level determines denomination (
Maturity — The date after which an XPowerNft can be redeemed for the underlying XPOW. Maturity offset is
Migration — The process of transitioning tokens and NFTs from legacy v9.x (Hardhat) contracts to v10.x (Foundry) contracts. Token migration is 1:1; NFT migration involves burn-then-deposit steps.
MIN_NET2RIP — The Banq constant set to 100, enforcing a minimum ratio of net balance increase to burned excess supply. Prevents attackers from using small legitimate claims to mask large illicit mints.
MoeTreasury — The reward distributor contract (mty) that accumulates treasury XPOW from the 50% mining split, computes APR/APB reward formulas, and orchestrates APOW minting with rate limits.
Net Supply — In Banq terminology, the portion of a post-claim balance increase capped at the legitimate claim amount. Any balance beyond this is classified as "rip supply" and burned.
NftTreasury — The staking manager contract (nty) that escrows XPowerNfts, mints/burns APowerNfts, and triggers refreshRates() on every stake/unstake to update the dynamic scalar.
Nibble — A 4-bit hex digit (half a byte). Difficulty
Nonce — A 256-bit integer iterated by miners during the proof-of-work search. The nonce is embedded in the data field of the hash input and varied until a valid hash is found.
Polynomial — The eval3 function
PoW (Proof-of-Work) — The Keccak-256 nonce discovery mechanism used for fair token distribution (not consensus). All XPOW originates from proven computational work verified on-chain.
Rip Supply — In Banq terminology, the excess balance increase beyond the legitimate claim amount. Rip supply is automatically burned if the MIN_NET2RIP ratio is satisfied.
Rpp (Rug Pull Protection) — A library enforcing governance constraints: parameter value changes within 0.5× to 2.0×, minimum 1 month between changes, and array validation (length 4, div and mul non-zero).
Shares — The total denomination of APowerNfts staked at a given level, tracked by the _shares accumulator. Used by the dynamic rate scalar to redistribute rewards across levels.
XPOW (XPower) — The ERC20 proof-of-work token created exclusively through Keccak-256 nonce discovery. No pre-mine; supply is unbounded and grows with total hash power.
XPowerNft — An ERC1155 deposit receipt issued when XPOW is deposited. Encodes year and level in the NFT ID as
Year — Used in the APB calculation as a floored integer (mint year subtracted from current UTC year). One year equals 31,557,600 seconds (365.25 days).