Glossary
Details on terminology:
Global Rank - Current value of the global XEX variable which increases by 1 with each successful claimRank transaction: a measure of the power of the XEX network. Each chain has its own GlobalRank.
Genesis Time (tsG) - Timestamp of XEX Smart Contract instantiation, as derived from block.timestamp in constructor.
Reward Amplifier (AMP) - Time-dependent constant, decreasing every 1 day after XEX Genesis Time (Day 1 of network launch). AMP is recorded on-chain and is used in the calculation of mint rewards at the time of a pairing claimReward transaction.
Mint Term, or Maturity (T) - A minimum time difference (measured in full days) between the initial claimRank transaction and subsequent claimReward transaction. This parameter is submitted by the user during a claimRank transaction and is recorded in the XEX smart contract.
Early Adopter Amplifier (EAA) - An extra incentive rate for the earliest adopters of XEX, which starts at 100% at the XEX Genesis and then decreases by 0.1 percentage points every time the Global Rank reaches another 1,000.
Free Mint Term - A maximum Mint Term (Maturity) value that the user can choose when submitting their claimRank transaction. Free Mint Term starts at 1-100 days and stays constant until Global cRank reaches 5,000. After that, Free Mint Term is capped at a max term of 244 days.
Reward Claim Window - A maximum amount of time (measured in full days), during which a user is allowed to submit claimReward transaction and mint their XEX tokens. The Reward Claim Window starts at the time of claimRank transaction PLUS Mint Term (or Maturity), as recorded in the XEX smart contract. As the Reward Claim Window starts, a Withdrawal Penalty is calculated in a progressive fashion, increasing each full day (Penalty is 0 for the first 24 hours of Reward Claim Window).
APY, Annual Percentage Yield - As a non-compounding annualized return on your XEX stake. APY is set programmatically on every chain at genesis, and has different rates (based on the chain genesis time). It starts at a certain percentage and decreases until it reaches 0. Your APY rate is locked in once you start your stake and stays constant until it matures. APY on each chain are as follows:
ETH
35%
730
MATIC
35%
730
AVAX
35%
730
FTM
35%
730
BSC
35%
730
ARBITRUM
50%
701
XEX Smart Contract Public Interface claimRank (uint256 term) - Executes a transaction claiming the userโs cryptoRank (cRank) and creating a mint record, which captures their cRank, Mint Term (T), Maturity timestamp (current timestamp + term in seconds) and current Reward Amplifier. The term is expected to be in the range of 1-244. The transaction will revert if a mint record already exists for the current user's address.
claimMintReward () - Executes the transaction ending the Mint Term and claiming (minting) user Reward (XEX tokens) (possibly decreased by the Penalty amount; see Reward Claim Window). Transaction will revert if: (1) no mint record is found for a user, (2) Mint Term is not yet over.
stake (uint256 amount, uint256 term) - Executes transaction, staking amount of XEX for term of days by creating a Stake record in the smart contract, which captures the stake parameters, Maturity timestamp (current timestamp + term in seconds) and current APY. Amount is any number from 1 and up to the total current user's XEX balance. Term (in days) is any number from 1 to 244. Transaction will revert if a stake record already exists for current user's address. Stake transaction burns amount of XEX tokens until the user withdraws stake.
withdraw () - Executes transaction to withdraw amount of XEX previously staked plus calculated rewards. Stake rewards depend on stake amount, stake term and the APY pro-rated by the term against 365 days. Stake could be withdrawn at any time without any penalties. If withdrawn before reaching stake maturity, a user receives the full amount of their stake with zero rewards. If withdrawn at any time upon reaching stake maturity, the user receives the full amount of their stake PLUS the calculated APY reward. Transaction will revert if: (1) no matching stake record is found. Withdraw transaction mints the original amount of XEX tokens staked, plus any reward XEX tokens due.
getUserMint () - returns MintInfo record for the current user's address, if any.
getUserStake () - returns StakeInfo record for the current user's address, if any.
Last updated