-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dapp): add support for Advanced Staking V3
This commit extends the "Advanced Staking" program for two additional months, accepting stakes until October 22, 2023, with an APR of 15% for a locking period of 60 days. Specifically, the following changes have been made: - `dapp/src/constants/stake-terms.ts`: Introduced the ADVANCED_3_TYPE_HEX constant, mapping it to 'advanced-v3' in HEX_STAKE_TYPE_TO_STAKE_TYPE. - `dapp/src/redux/slices/staking/stake-terms.ts`: Incorporated StakeType.AdvancedThree in the getStakeTerms function. - `dapp/src/services/rewards.ts`: Imported ADVANCED_3_TYPE_HEX and added a condition in the calculateRewardsForStake function to support the newly added staking type.
- Loading branch information
Showing
5 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters