AUC Staking
Last updated
Last updated
Provides staking features for the AUCB token.
This feature allows users to stake AUCB tokens and earn rewards. Below are the main features of the staking system and how it works.
Access the website and go to the 'Staking' tab.
Connect AUCb Holding Wallet.
Enter the amount of AUCb tokens you wish to stake.
Click the 'Stake' button to start staking.
The APY will vary depending on the staking period at 3, 6, and 12 months, with a maximum of 12% for 12 months.
Users can view the processed staking on 'Staking History' section.
Staking is available in three term options:
3 months: 2.5% APY per annum
6 months: 5.5% APY per annum
12 months: 12% APY
Users initiate staking by calling the stake function.
When calling the function, users specify the amount of tokens to stake (amount_) and the duration of the stake (tenure_).
A unique staking ID is issued at the start of staking.
Staked tokens are immediately transferred to the contract.
Rewards are calculated and allocated at the start of staking.
Example Code:
When the staking period ends, users can reclaim their tokens by calling the unstake function.
The staking ID must be provided when unstaking.
Unstaking is not possible if the staking period is not complete.
When unstaking, the original staked tokens and reward will be released together.
Example Code:
The reward is pre-calculated and assigned at the start of staking.
Reward amount = (Staking amount * Reward rate) / 10000
The reward is paid out in a lump sum along with the original amount at the time of unstaking.
Staking users can't withdraw your tokens during the staking period.
Once staked, tokens cannot be unstaked before the end of the specified period.
Each stake is managed by a unique ID, and partial withdrawals are not possible.