🪙xnASTR

To achieve the mentioned goals, a rewards-bearing architecture has been chosen with xnASTR as a liquid token. The "x" in xnASTR denotes its cross-chain nature due to its XC20 format.

This mechanism eliminates the need for manual claiming of staking rewards; instead, they accumulate on the liquid staking contract, and the xnASTR/ASTR ratio steadily increases over time.

The xnASTR price is determined by the following equation:

stakedASTR: the whole number of ASTR staked;

rewardPool: a pool where all staking rewards are accumulated. Additionally, it is used as the fund for the immediate unstaking function.

xnastrTotalBalance: the whole number of xnASTR minted.

Staking and xnASTR minting

A user stakes their ASTR through the liquid staking form and receives liquid xnASTR tokens back. The number of xnASTR tokens to receive is determined by the following equation:

Unstaking

A user unstakes their ASTR through the liquid unstaking form. The number of ASTR tokens to receive is determined by the following equation:

Last updated