Skip to content

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 , defined as D=10. A level-3 NFT denominates 1,000 XPOW; a level-30 NFT denominates 1030 XPOW.

Difficulty — Measured as the number of leading zero nibbles z in the Keccak-256 hash output. Probability scales as 1/16z, and the reward scales as (2z1)×1018 XPOW.

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 (10), maturity period, and APR rate multiplier.

Maturity — The date after which an XPowerNft can be redeemed for the underlying XPOW. Maturity offset is 2/31 years from the mint year; high levels are effectively permanent.

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 z is defined as the number of consecutive zero nibbles at the start of the 256-bit hash.

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 eval3(x,[a,d,m,e])=((x×m)/d+a)e/256 used to compute both APR (level to rate) and APB (age to bonus) with configurable add, div, mul, and exp parameters.

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 100×year+; upgradeable at 1,000:1 ratio.

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