Skip to content

Commit

Permalink
update staking localization (#533)
Browse files Browse the repository at this point in the history
* update faq

* 1.1.124
  • Loading branch information
moo-onthelawn authored Jun 17, 2024
1 parent e968ba4 commit c9dd719
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
5 changes: 4 additions & 1 deletion config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"DIRECTION": "Direction",
"DISCOUNT": "Discount",
"DISMISS": "Dismiss",
"DOCUMENT": "Document",
"DONE": "Done",
"DOWNLOAD_MOBILE_APP": "Download mobile app",
"DYDX_CHAIN_ADDRESS": "dYdX Chain Address",
Expand Down Expand Up @@ -1732,9 +1733,11 @@
"FAQ_HOW_DO_I_CLAIM_MY_REWARDS_QUESTION": "How do I claim my rewards?",
"FAQ_HOW_DO_I_CLAIM_MY_REWARDS_ANSWER": "Each block, trading rewards are automatically sent directly to the trader’s dYdX Chain address.",
"FAQ_HOW_DO_I_STAKE_AND_CLAIM_QUESTION": "How do I stake and claim staking rewards?",
"FAQ_HOW_DO_I_STAKE_AND_CLAIM_ANSWER": "To stake, click the “Stake” button and input the amount of tokens you would like to stake. A validator from a set of validators in good standing (meaning one that has never been slashed) will automatically be selected based on which eligible validator has the fewest tokens staked. To claim staking rewards, click the “Claim” button whenever USDC rewards are available. The claimed USDC rewards will be deposited into your account so that you may trade instantly! Note that there is a gas fee to claim USDC rewards.",
"FAQ_HOW_DO_I_STAKE_AND_CLAIM_ANSWER": "To stake, click the “Stake” button and input the amount of tokens you would like to stake. A validator from a set of validators in good standing with the community will automatically be selected based on which eligible validator has the fewest tokens staked and has never been slashed.. To claim staking rewards, click the “Claim” button whenever USDC rewards are available. The claimed USDC rewards will be deposited into your account so that you may trade instantly! Note that there is a gas fee to claim USDC rewards.",
"FAQ_HOW_DO_TRADING_REWARDS_WORK_QUESTION": "How do trading rewards work?",
"FAQ_HOW_DO_TRADING_REWARDS_WORK_ANSWER": "Immediately after each fill, trading rewards are sent directly to the trader’s dYdX Chain address, based on the amount of fees paid by the trader. Read more {HERE_LINK}.",
"FAQ_HOW_IS_THE_PRECONFIGURED_SET_OF_VALIDATORS_DETERMINED_QUESTION": "How is the pre-configured set of validators determined?",
"FAQ_HOW_IS_THE_PRECONFIGURED_SET_OF_VALIDATORS_DETERMINED_ANSWER": "Please refer to this [DOCUMENT_LINK]. Note that you can always stake to any validator of your choice on other staking platforms that support dYdX (e.g., Keplr).",
"FAQ_WHAT_ARE_THE_RISKS_OF_STAKING_QUESTION": "What are the risks of staking?",
"FAQ_WHAT_ARE_THE_RISKS_OF_STAKING_ANSWER": "Use of any DeFi protocol comes with risks. In the case of staking, it is important to understand that unstaking tokens takes 30 days, which means there is a period of illiquidity during which you will not be able to transfer your tokens, even in the case of protocol or market volatility. Additionally, users should do their own due diligence on validators before staking their assets with one. Validators who violate protocol rules may be penalized by having tokens staked to them slashed (i.e. burned) or being jailed which will prevent them from earning rewards. While the frontend selects the validator that tokens get staked to from a trusted set based on historical performance, there is no guarantee of a validator’s future conduct.",
"FAQ_WHAT_IS_STAKING_QUESTION": "What is staking?",
Expand Down
2 changes: 1 addition & 1 deletion config/localization/en/tooltips.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@
"STAKE": {
"VALIDATOR_SELECTION": {
"TITLE": "Selected Validator",
"BODY": "Selection is based on lowest stake weight from a pre-configured set of validators."
"BODY": "The validator is selected from a pre-configured set of unslashed validators based on lowest stakeweight."
}
},
"EMAIL_NOTIFICATIONS": {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-localization",
"version": "1.1.123",
"version": "1.1.124",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ export const APP_STRING_KEYS = {
DIRECTION: 'APP.GENERAL.DIRECTION',
DISCOUNT: 'APP.GENERAL.DISCOUNT',
DISMISS: 'APP.GENERAL.DISMISS',
DOCUMENT: 'APP.GENERAL.DOCUMENT',
DONE: 'APP.GENERAL.DONE',
DOWNLOAD_MOBILE_APP: 'APP.GENERAL.DOWNLOAD_MOBILE_APP',
DYDX_CHAIN: 'APP.GENERAL.DYDX_CHAIN',
Expand Down Expand Up @@ -1593,6 +1594,8 @@ export const APP_STRING_KEYS = {
FAQ_HOW_DO_I_STAKE_AND_CLAIM_QUESTION: 'APP.TRADING_REWARDS.FAQ_HOW_DO_I_STAKE_AND_CLAIM_QUESTION',
FAQ_HOW_DO_TRADING_REWARDS_WORK_ANSWER: 'APP.TRADING_REWARDS.FAQ_HOW_DO_TRADING_REWARDS_WORK_ANSWER',
FAQ_HOW_DO_TRADING_REWARDS_WORK_QUESTION: 'APP.TRADING_REWARDS.FAQ_HOW_DO_TRADING_REWARDS_WORK_QUESTION',
FAQ_HOW_IS_THE_PRECONFIGURED_SET_OF_VALIDATORS_DETERMINED_ANSWER: 'APP.TRADING_REWARDS.FAQ_HOW_IS_THE_PRECONFIGURED_SET_OF_VALIDATORS_DETERMINED_ANSWER',
FAQ_HOW_IS_THE_PRECONFIGURED_SET_OF_VALIDATORS_DETERMINED_QUESTION: 'APP.TRADING_REWARDS.FAQ_HOW_IS_THE_PRECONFIGURED_SET_OF_VALIDATORS_DETERMINED_QUESTION',
FAQ_WHAT_ARE_THE_RISKS_OF_STAKING_ANSWER: 'APP.TRADING_REWARDS.FAQ_WHAT_ARE_THE_RISKS_OF_STAKING_ANSWER',
FAQ_WHAT_ARE_THE_RISKS_OF_STAKING_QUESTION: 'APP.TRADING_REWARDS.FAQ_WHAT_ARE_THE_RISKS_OF_STAKING_QUESTION',
FAQ_WHAT_IS_STAKING_ANSWER: 'APP.TRADING_REWARDS.FAQ_WHAT_IS_STAKING_ANSWER',
Expand Down

0 comments on commit c9dd719

Please sign in to comment.