Skip to content

Commit

Permalink
v1.1.169: Add Prediction Market and TRUMPWIN-USD strings (#639)
Browse files Browse the repository at this point in the history
* add trumpwin asset data

* bumpt

* add prediction market strings

* bump 1.1.169
  • Loading branch information
jaredvu authored Aug 6, 2024
1 parent 4ae5601 commit dedced3
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 4 deletions.
9 changes: 8 additions & 1 deletion config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@
"TOTAL_VALUE": "Total Value",
"TRADE_AN_AMOUNT": "Trade {AMOUNT}",
"TRADE": "Trade",
"TRADE_NOW": "Trade now",
"TRADER": "Trader",
"TRADES": "Trades",
"TRADING_FEE_REDUCTION_DESCRIPTION_2": "We've updated our fee structure! Enjoy an up to {REDUCTION} in fees across all tiers.",
Expand Down Expand Up @@ -664,7 +665,7 @@
"SECONDARY": "Celestia enables the next generation of scalable blockchain architectures - modular blockchains. Celestia scales by decoupling execution from consensus and introducing a new primitive, data availability sampling."
},
"TRUMPWIN": {
"PRIMARY": "This market will final settle to $1 if Donald J. Trump wins the 2024 US Presidential Election. Otherwise, this market will final settle to 0.00001. This market uses Polymarket as its oracle source.",
"PRIMARY": "This market will final settle to $1 if Donald J. Trump wins the 2024 US Presidential Election. Otherwise, this market will final settle to $0.001. This market uses Polymarket as its oracle source.",
"SECONDARY": "Polymarket’s resolution source for this market is the Associated Press, Fox News, and NBC. This market will resolve once all three sources call the race for the same candidate. If all three sources haven’t called the race for the same candidate by the inauguration date (January 20, 2025) this market will resolve based on who is inaugurated."
},
"TRX": {
Expand Down Expand Up @@ -2076,6 +2077,12 @@
"PERMANENTLY_BLOCKED_MESSAGE_WITH_HELP": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use and previously have been given an opportunity to redress circumstances that led to restrictions on your account, you have been permanently blocked. If you believe there has been an error, please contact support at {HELP_LINK}.",
"BLOCKED_MESSAGE": "Perpetuals are not available to any persons who are residents of, are located or incorporated in, or have a registered agent in a blocked country or a restricted territory. More details can be found in our {TERMS_OF_USE_LINK}.",
"BLOCKED_BANNER_MESSAGE": "Perpetuals are not available to any persons who are residents of, are located or incorporated in, or have a registered agent in a blocked country or a restricted territory. More details can be found in our {TERMS_OF_USE_LINK}. If you think this is an error, please contact support in the {HELP_LINK}."
},
"PREDICTION_MARKET": {
"LEVERAGE_TRADE_US_ELECTION": "Leverage trade the outcome of the U.S. Election",
"PREDICTION_MARKET_DESC": "Prediction Markets will settle at $1 if the event occurs as predicted. Otherwise, they will settle at $0.001.",
"TRADE_US_PRESIDENTIAL_ELECTION": "Trade the U.S. Presidential Election",
"TRUMPWIN_DESC": "This is a Prediction Market and will settle at $1 if Donald J. Trump wins the 2024 U.S. Presidential Election. Otherwise, it will settle at $0.001. {LEARN_MORE} or {DISMISS}."
}
},
"TOKEN_MIGRATION": {
Expand Down
4 changes: 4 additions & 0 deletions config/localization_notifications/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@
"MARKET_PARAM_UPDATE": {
"TITLE": "Live proposal to update {MARKET} parameters",
"BODY": "There is currently a live proposal to update the parameters of {MARKET} market. If passed, the {MARKET} market will have Coinbase Pro {MARKET} as the only oracle source. You can find more information regarding the proposal {HERE_LINK}."
},
"TRUMPWIN_MARKET_LAUNCH": {
"TITLE": "Trade the U.S. presidential election!",
"BODY": "{MARKET} is now live. This market will settle at $1 if Donald J. Trump wins the 2024 election. Otherwise, it will settle at $0.001."
}
}
}
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.168",
"version": "1.1.169",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ export const APP_STRING_KEYS = {
TRADER: 'APP.GENERAL.TRADER',
TRADES: 'APP.GENERAL.TRADES',
TRADE_AN_AMOUNT: 'APP.GENERAL.TRADE_AN_AMOUNT',
TRADE_NOW: 'APP.GENERAL.TRADE_NOW',
TRADING: 'APP.GENERAL.TRADING',
TRADING_FEE_REDUCTION: 'APP.GENERAL.TRADING_FEE_REDUCTION',
TRADING_FEE_REDUCTION_DESCRIPTION_2: 'APP.GENERAL.TRADING_FEE_REDUCTION_DESCRIPTION_2',
Expand Down Expand Up @@ -1165,6 +1166,13 @@ export const APP_STRING_KEYS = {
VIEW_FEE_STRUCTURE: 'APP.PORTFOLIO.VIEW_FEE_STRUCTURE',
VIEW_REWARDS: 'APP.PORTFOLIO.VIEW_REWARDS',

// PREDICTION_MARKET

LEVERAGE_TRADE_US_ELECTION: 'APP.PREDICTION_MARKET.LEVERAGE_TRADE_US_ELECTION',
PREDICTION_MARKET_DESC: 'APP.PREDICTION_MARKET.PREDICTION_MARKET_DESC',
TRADE_US_PRESIDENTIAL_ELECTION: 'APP.PREDICTION_MARKET.TRADE_US_PRESIDENTIAL_ELECTION',
TRUMPWIN_DESC: 'APP.PREDICTION_MARKET.TRUMPWIN_DESC',

// PREFERENCES_MODAL

MAGIC_EXPORT_PRIVATE_KEY: 'APP.PREFERENCES_MODAL.MAGIC_EXPORT_PRIVATE_KEY',
Expand Down
2 changes: 2 additions & 0 deletions scripts/generated/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ export const NOTIFICATIONS_STRING_KEYS = {
TAKE_PROFIT_TRIGGER_UPDATING_TITLE: 'NOTIFICATIONS.TAKE_PROFIT_TRIGGER_UPDATING.TITLE',
TAKE_PROFIT_TRIGGER_UPDATING_ERROR_BODY: 'NOTIFICATIONS.TAKE_PROFIT_TRIGGER_UPDATING_ERROR.BODY',
TAKE_PROFIT_TRIGGER_UPDATING_ERROR_TITLE: 'NOTIFICATIONS.TAKE_PROFIT_TRIGGER_UPDATING_ERROR.TITLE',
TRUMPWIN_MARKET_LAUNCH_BODY: 'NOTIFICATIONS.TRUMPWIN_MARKET_LAUNCH.BODY',
TRUMPWIN_MARKET_LAUNCH_TITLE: 'NOTIFICATIONS.TRUMPWIN_MARKET_LAUNCH.TITLE',
TWO_MARKET_WIND_DOWN_BODY: 'NOTIFICATIONS.TWO_MARKET_WIND_DOWN.BODY',
TWO_MARKET_WIND_DOWN_TITLE: 'NOTIFICATIONS.TWO_MARKET_WIND_DOWN.TITLE',
TWO_MARKET_WIND_DOWN_PROPOSAL_BODY: 'NOTIFICATIONS.TWO_MARKET_WIND_DOWN_PROPOSAL.BODY',
Expand Down

0 comments on commit dedced3

Please sign in to comment.