@dydxprotocol/v4-localization 1.1.208 → 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.
@@ -1678,6 +1678,8 @@
1678
1678
  "ACKNOWLEDGE_HIGH_SLIPPAGE": "Acknowledge High Slippage",
1679
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}.",
1680
1680
  "EST_SLIPPAGE": "Est. slippage",
1681
+ "ESTIMATED_SLIPPAGE": "Estimated Slippage",
1682
+ "ESTIMATED_AMOUNT_RECEIVED": "Estimated Amount Received",
1681
1683
  "PROTOCOL_VAULT": "dYdX Protocol Vault",
1682
1684
  "LOCKED_BALANCE": "Locked Balance",
1683
1685
  "WITHDRAW_TOO_HIGH": "You cannot withdraw more than your vault balance.",
@@ -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.208",
3
+ "version": "1.1.209",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -1848,6 +1848,8 @@ export const APP_STRING_KEYS = {
1848
1848
  DEPOSIT_TOO_LOW: 'APP.VAULTS.DEPOSIT_TOO_LOW',
1849
1849
  ENTER_AMOUNT_TO_DEPOSIT: 'APP.VAULTS.ENTER_AMOUNT_TO_DEPOSIT',
1850
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',
1851
1853
  EST_SLIPPAGE: 'APP.VAULTS.EST_SLIPPAGE',
1852
1854
  LOCKED_BALANCE: 'APP.VAULTS.LOCKED_BALANCE',
1853
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',