@dydxprotocol/v4-localization 1.1.207 → 1.1.209

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -352,6 +352,7 @@
352
352
  "SIZE": "Size",
353
353
  "SLOW_WITHDRAW": "Slow Withdraw",
354
354
  "SORT_BY": "Sort by",
355
+ "SOURCE": "Source",
355
356
  "SOURCE_ADDRESS": "Source Address",
356
357
  "STAKE": "Stake",
357
358
  "STAKED": "Staked",
@@ -1677,6 +1678,8 @@
1677
1678
  "ACKNOWLEDGE_HIGH_SLIPPAGE": "Acknowledge High Slippage",
1678
1679
  "SLIPPAGE_WARNING": "This withdrawal would result in {AMOUNT} slippage. Slippage may be reduced if you withdraw at a later time. For more information, see {LINK}.",
1679
1680
  "EST_SLIPPAGE": "Est. slippage",
1681
+ "ESTIMATED_SLIPPAGE": "Estimated Slippage",
1682
+ "ESTIMATED_AMOUNT_RECEIVED": "Estimated Amount Received",
1680
1683
  "PROTOCOL_VAULT": "dYdX Protocol Vault",
1681
1684
  "LOCKED_BALANCE": "Locked Balance",
1682
1685
  "WITHDRAW_TOO_HIGH": "You cannot withdraw more than your vault balance.",
@@ -2093,7 +2096,8 @@
2093
2096
  "SEND_FUNDS": "Deposit crypto",
2094
2097
  "SEND_FUNDS_MODAL_TITLE": "Transfer & Deposit",
2095
2098
  "SEND_FUNDS_MODAL_SUBTITLE": "Deposit crypto to your wallet and trading account",
2096
- "SEND_FUNDS_SUBTITLE": "Send funds to this wallet address and deposit to your trading account."
2099
+ "SEND_FUNDS_SUBTITLE": "Send funds to this wallet address and deposit to your trading account.",
2100
+ "SHOW_DEPOSIT_FORM": "Show deposit form"
2097
2101
  },
2098
2102
  "USER_SURVEY": {
2099
2103
  "USER_SURVEY_BODY": "We're constantly looking for ways to improve your trading experience on dYdX! Please consider taking our 10 minute user survey.",
@@ -378,5 +378,22 @@
378
378
  "TITLE": "Reference Price",
379
379
  "BODY": "The Reference Price is the rolling 30 day average of the market's price and is used as an input to automatically calculate the market's parameters on dYdX Chain. The Reference Price should approximately be the same as the market's current price (i.e. round down to the same powers of 10)."
380
380
  }
381
+ },
382
+ "VAULT": {
383
+ "ESTIMATED_AMOUNT_RECEIVED": {
384
+ "BODY": "The estimated amount to receive when withdrawing, which is withdrawal amount minus estimated slippage amount. This amount is an estimation based on the current conditions. The actual amount may be different based on the actual conditions at the execution time."
385
+ },
386
+ "ESTIMATED_SLIPPAGE": {
387
+ "BODY": "The estimated amount of slippage when withdrawing. The slippage comes from the vault's need to update the current positions to free up margin in order to meet the withdrawal amount. This amount is an estimation based on the current conditions. The actual amount may be different based on the actual conditions at the execution time."
388
+ },
389
+ "AVAILABLE_TO_WITHDRAW": {
390
+ "BODY": "The amount you can withdraw, which is your vault balance minus any amount that's locked up for new market listings."
391
+ },
392
+ "YOUR_VAULT_BALANCE": {
393
+ "BODY": "The current value of your deposits. This is calculated based on the vault's current equity and positions."
394
+ },
395
+ "YOUR_ALL_TIME_PNL": {
396
+ "BODY": "The total PnL over time. This includes historical PnL of your vault deposits."
397
+ }
381
398
  }
382
399
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "1.1.207",
3
+ "version": "1.1.209",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -157,6 +157,7 @@ export const APP_STRING_KEYS = {
157
157
  SEND_FUNDS_MODAL_TITLE: 'APP.DEPOSIT_OPTIONS.SEND_FUNDS_MODAL_TITLE',
158
158
  SEND_FUNDS_SUBTITLE: 'APP.DEPOSIT_OPTIONS.SEND_FUNDS_SUBTITLE',
159
159
  SEND_TO_WALLET: 'APP.DEPOSIT_OPTIONS.SEND_TO_WALLET',
160
+ SHOW_DEPOSIT_FORM: 'APP.DEPOSIT_OPTIONS.SHOW_DEPOSIT_FORM',
160
161
 
161
162
  // DEPOSIT_PROMO
162
163
 
@@ -612,6 +613,7 @@ export const APP_STRING_KEYS = {
612
613
  SIZE: 'APP.GENERAL.SIZE',
613
614
  SLOW_WITHDRAW: 'APP.GENERAL.SLOW_WITHDRAW',
614
615
  SORT_BY: 'APP.GENERAL.SORT_BY',
616
+ SOURCE: 'APP.GENERAL.SOURCE',
615
617
  SOURCE_ADDRESS: 'APP.GENERAL.SOURCE_ADDRESS',
616
618
  STAKE: 'APP.GENERAL.STAKE',
617
619
  STAKED: 'APP.GENERAL.STAKED',
@@ -1846,6 +1848,8 @@ export const APP_STRING_KEYS = {
1846
1848
  DEPOSIT_TOO_LOW: 'APP.VAULTS.DEPOSIT_TOO_LOW',
1847
1849
  ENTER_AMOUNT_TO_DEPOSIT: 'APP.VAULTS.ENTER_AMOUNT_TO_DEPOSIT',
1848
1850
  ENTER_AMOUNT_TO_WITHDRAW: 'APP.VAULTS.ENTER_AMOUNT_TO_WITHDRAW',
1851
+ ESTIMATED_AMOUNT_RECEIVED: 'APP.VAULTS.ESTIMATED_AMOUNT_RECEIVED',
1852
+ ESTIMATED_SLIPPAGE: 'APP.VAULTS.ESTIMATED_SLIPPAGE',
1849
1853
  EST_SLIPPAGE: 'APP.VAULTS.EST_SLIPPAGE',
1850
1854
  LOCKED_BALANCE: 'APP.VAULTS.LOCKED_BALANCE',
1851
1855
  MEGAVAULT: 'APP.VAULTS.MEGAVAULT',
@@ -204,6 +204,14 @@ export const TOOLTIP_STRING_KEYS = {
204
204
  UNEQUAL_ORDER_SIZES_BODY: 'TOOLTIPS.TRIGGER_ORDERS.UNEQUAL_ORDER_SIZES.BODY',
205
205
  UNEQUAL_ORDER_SIZES_TITLE: 'TOOLTIPS.TRIGGER_ORDERS.UNEQUAL_ORDER_SIZES.TITLE',
206
206
 
207
+ // VAULT
208
+
209
+ AVAILABLE_TO_WITHDRAW_BODY: 'TOOLTIPS.VAULT.AVAILABLE_TO_WITHDRAW.BODY',
210
+ ESTIMATED_AMOUNT_RECEIVED_BODY: 'TOOLTIPS.VAULT.ESTIMATED_AMOUNT_RECEIVED.BODY',
211
+ ESTIMATED_SLIPPAGE_BODY: 'TOOLTIPS.VAULT.ESTIMATED_SLIPPAGE.BODY',
212
+ YOUR_ALL_TIME_PNL_BODY: 'TOOLTIPS.VAULT.YOUR_ALL_TIME_PNL.BODY',
213
+ YOUR_VAULT_BALANCE_BODY: 'TOOLTIPS.VAULT.YOUR_VAULT_BALANCE.BODY',
214
+
207
215
  // WITHDRAW
208
216
 
209
217
  BRIDGE_FEES_BODY: 'TOOLTIPS.WITHDRAW.BRIDGE_FEES.BODY',