@dydxprotocol/v4-localization 0.1.4 → 0.1.6
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.
- package/config/localization/en/app.json +58 -6
- package/config/localizations_native/en/app.json +1 -49
- package/config/prod/endpoints.json +7 -7
- package/config/staging/dev_endpoints.json +31 -31
- package/config/staging/endpoints.json +8 -8
- package/package.json +1 -1
- package/scripts/codegen_localization_app.swift +3 -1
- package/scripts/generated/app.ts +6 -8
- package/scripts/generated/notifications.ts +2 -0
|
@@ -1321,11 +1321,11 @@
|
|
|
1321
1321
|
"V4_DEVNET_4": "V4 Dev 4",
|
|
1322
1322
|
"V4_DEVNET_5": "V4 Dev 5",
|
|
1323
1323
|
"V4_STAGING": "V4 Staging",
|
|
1324
|
-
"
|
|
1325
|
-
"
|
|
1326
|
-
"
|
|
1327
|
-
"
|
|
1328
|
-
"
|
|
1324
|
+
"V4_TESTNET": "V4 Testnet 3",
|
|
1325
|
+
"V4_TESTNET_DSRV": "V4 Testnet 3(DSRV)",
|
|
1326
|
+
"V4_TESTNET_DYDX": "V4 Testnet 3(dYdX)",
|
|
1327
|
+
"V4_TESTNET_NODEFLEET": "V4 Testnet 3(nodefleet)",
|
|
1328
|
+
"V4_TESTNET_IMPERATOR": "V4 Testnet 3(Imperator)"
|
|
1329
1329
|
},
|
|
1330
1330
|
"ERRORS": {
|
|
1331
1331
|
"GENERAL": {
|
|
@@ -1370,7 +1370,59 @@
|
|
|
1370
1370
|
"TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE": "Your trigger price is too close to your liquidation price - this order may not execute fully before you get liquidated. Please update your trigger price or use a stop limit order.",
|
|
1371
1371
|
"USER_MAX_ORDERS": "This order would put you above the max limit of 20 open orders per market, per side.",
|
|
1372
1372
|
"WOULD_NOT_REDUCE": "Your position would not be reduced if order is filled.",
|
|
1373
|
-
"WOULD_NOT_REDUCE_UNCHECK": "Your position would not be reduced with this order. Please uncheck Reduce-Only if you would like to place your order."
|
|
1373
|
+
"WOULD_NOT_REDUCE_UNCHECK": "Your position would not be reduced with this order. Please uncheck Reduce-Only if you would like to place your order.",
|
|
1374
|
+
"INVALID_GOOD_TIL_MAX_90_DAYS": "Good Til exceeds the maximum 90 days."
|
|
1375
|
+
},
|
|
1376
|
+
"TRADE_BOX_TITLE": {
|
|
1377
|
+
"AMOUNT_INPUT_STEP_SIZE": "Step size",
|
|
1378
|
+
"INVALID_LARGE_POSITION_LEVERAGE": "Invalid leverage",
|
|
1379
|
+
"INVALID_NEW_ACCOUNT_MARGIN_USAGE": "Margin too high",
|
|
1380
|
+
"INVALID_NEW_POSITION_LEVERAGE": "Invalid leverage",
|
|
1381
|
+
"MARKET_ORDER_CLOSE_POSITION_ONLY": "Close position only",
|
|
1382
|
+
"MARKET_ORDER_ERROR_INDEX_PRICE_SLIPPAGE": "Too much slippage",
|
|
1383
|
+
"MARKET_ORDER_ERROR_ORDERBOOK_SLIPPAGE": "Too much slippage",
|
|
1384
|
+
"MARKET_ORDER_NOT_ENOUGH_LIQUIDITY": "Not enough liquidity",
|
|
1385
|
+
"MARKET_ORDER_PRICE_IMPACT_AT_MAX_LEVERAGE": "Potentally invalid leverage",
|
|
1386
|
+
"MARKET_ORDER_WARNING_INDEX_PRICE_SLIPPAGE": "Too much slippage",
|
|
1387
|
+
"NEW_POSITION_SIZE_OVER_MAX": "Max position size",
|
|
1388
|
+
"NO_EQUITY_DEPOSIT_FIRST": "Deposit first",
|
|
1389
|
+
"ORDER_BELOW_COLLATERALIZATION": "Collateralization threshold",
|
|
1390
|
+
"ORDER_CROSSES_OWN_ORDER": "Cross own orders",
|
|
1391
|
+
"ORDER_SIZE_BELOW_MIN_SIZE": "Below minimum size",
|
|
1392
|
+
"ORDER_WITH_CURRENT_ORDERS_INVALID": "Invalid leverage",
|
|
1393
|
+
"TAKER_FEE_INVALID": "Taker fee changed",
|
|
1394
|
+
"GEO_LOCATION_RESTRICTED": "Location restricted",
|
|
1395
|
+
"STOP_MUST_ABOVE_INDEX_PRICE": "Invalid stop price",
|
|
1396
|
+
"STOP_MUST_BELOW_INDEX_PRICE": "Invalid stop price",
|
|
1397
|
+
"TRIGGER_MUST_ABOVE_INDEX_PRICE": "Invalid trigger price",
|
|
1398
|
+
"TRIGGER_MUST_BELOW_INDEX_PRICE": "Invalid trigger price",
|
|
1399
|
+
"MISSING_TRADE_SIZE": "Enter amount to trade",
|
|
1400
|
+
"MISSING_LIMIT_PRICE": "Enter limit price",
|
|
1401
|
+
"MISSING_STOP_PRICE": "Enter stop price",
|
|
1402
|
+
"MISSING_TRIGGER_PRICE": "Enter trigger price",
|
|
1403
|
+
"MISSING_TRAILING_PERCENTAGE": "Enter trailing percentage",
|
|
1404
|
+
"STOP_MARKET_ORDER_MAY_NOT_EXECUTE": "Stop Market",
|
|
1405
|
+
"TAKE_PROFIT_MARKET_ORDER_MAY_NOT_EXECUTE": "Take Profit Market",
|
|
1406
|
+
"BUY_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE": "Liquidation Risk",
|
|
1407
|
+
"SELL_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE": "Liquidation Risk",
|
|
1408
|
+
"ORDER_WOULD_FLIP_POSITION": "Reduce only",
|
|
1409
|
+
"WOULD_NOT_REDUCE_UNCHECK": "Reduce only",
|
|
1410
|
+
"LIMIT_MUST_ABOVE_TRIGGER_PRICE": "Invalid limit price",
|
|
1411
|
+
"LIMIT_MUST_BELOW_TRIGGER_PRICE": "Invalid limit price",
|
|
1412
|
+
"LIMIT_PRICE_TRIGGER_PRICE_SLIPPAGE_HIGHER": "Limit price",
|
|
1413
|
+
"LIMIT_PRICE_TRIGGER_PRICE_SLIPPAGE_LOWER": "Limit price",
|
|
1414
|
+
"BRACKET_ORDER_STOP_LOSS_BELOW_EXPECTED_PRICE": "Stop Loss",
|
|
1415
|
+
"BRACKET_ORDER_STOP_LOSS_ABOVE_EXPECTED_PRICE": "Stop Loss",
|
|
1416
|
+
"BRACKET_ORDER_TAKE_PROFIT_BELOW_EXPECTED_PRICE": "Take Profit",
|
|
1417
|
+
"BRACKET_ORDER_TAKE_PROFIT_ABOVE_EXPECTED_PRICE": "Take Profit",
|
|
1418
|
+
"BRACKET_ORDER_STOP_LOSS_BELOW_LIQUIDATION_PRICE": "Stop Loss",
|
|
1419
|
+
"BRACKET_ORDER_STOP_LOSS_ABOVE_LIQUIDATION_PRICE": "Stop Loss",
|
|
1420
|
+
"BRACKET_ORDER_TAKE_PROFIT_BELOW_LIQUIDATION_PRICE": "Take Profit",
|
|
1421
|
+
"BRACKET_ORDER_TAKE_PROFIT_ABOVE_LIQUIDATION_PRICE": "Take Profit",
|
|
1422
|
+
"CONNECT_WALLET_TO_TRADE": "Connect Wallet",
|
|
1423
|
+
"DEPOSIT_TO_TRADE": "Deposit",
|
|
1424
|
+
"USER_MAX_ORDERS": "Too many open orders",
|
|
1425
|
+
"INVALID_GOOD_TIL": "Invalid Good Til"
|
|
1374
1426
|
},
|
|
1375
1427
|
"API_STATUS": {
|
|
1376
1428
|
"INDEXER_ALERT": "Indexer Alert",
|
|
@@ -341,6 +341,7 @@
|
|
|
341
341
|
"SUPPORT_MESSAGE": "Looing for a fiat deposit? Check your order status in your email or contact {PROVIDER} support."
|
|
342
342
|
},
|
|
343
343
|
"V4": {
|
|
344
|
+
"ALERTS_PLACHOLDER": "Trading and protocol alerts will be displayed here.",
|
|
344
345
|
"INDEXER_ALERT": "Indexer Alert",
|
|
345
346
|
"INDEXER_DOWN": "Unable to get Indexer current block height.",
|
|
346
347
|
"INDEXER_HALTED": "Indexer has halted on block {HALTED_BLOCK}.",
|
|
@@ -398,55 +399,6 @@
|
|
|
398
399
|
"SELL_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE": "Your trigger price is too close to your liquidation price - this order may not execute fully before you get liquidated. Please enter a trigger price above {TRIGGER_PRICE_LIMIT} or use a Stop Limit order.",
|
|
399
400
|
"CONNECT_WALLET_TO_TRADE": "Connect wallet to trade.",
|
|
400
401
|
"DEPOSIT_TO_TRADE": "Deposit to trade."
|
|
401
|
-
},
|
|
402
|
-
"TRADE_BOX_TITLE": {
|
|
403
|
-
"AMOUNT_INPUT_STEP_SIZE": "Step size.",
|
|
404
|
-
"INVALID_LARGE_POSITION_LEVERAGE": "Invalid leverage",
|
|
405
|
-
"INVALID_NEW_ACCOUNT_MARGIN_USAGE": "Margin too high",
|
|
406
|
-
"INVALID_NEW_POSITION_LEVERAGE": "Invalid leverage",
|
|
407
|
-
"MARKET_ORDER_CLOSE_POSITION_ONLY": "Close position only",
|
|
408
|
-
"MARKET_ORDER_ERROR_INDEX_PRICE_SLIPPAGE": "Too much slippage",
|
|
409
|
-
"MARKET_ORDER_ERROR_ORDERBOOK_SLIPPAGE": "Too much slippage",
|
|
410
|
-
"MARKET_ORDER_NOT_ENOUGH_LIQUIDITY": "Not enough liquidity",
|
|
411
|
-
"MARKET_ORDER_PRICE_IMPACT_AT_MAX_LEVERAGE": "Potentally invalid leverage",
|
|
412
|
-
"MARKET_ORDER_WARNING_INDEX_PRICE_SLIPPAGE": "Too much slippage",
|
|
413
|
-
"NEW_POSITION_SIZE_OVER_MAX": "Max position size",
|
|
414
|
-
"NO_EQUITY_DEPOSIT_FIRST": "Deposit first",
|
|
415
|
-
"ORDER_BELOW_COLLATERALIZATION": "Collateralization threshold",
|
|
416
|
-
"ORDER_CROSSES_OWN_ORDER": "Cross own orders",
|
|
417
|
-
"ORDER_SIZE_BELOW_MIN_SIZE": "Below minimum size",
|
|
418
|
-
"ORDER_WITH_CURRENT_ORDERS_INVALID": "Invalid leverage",
|
|
419
|
-
"TAKER_FEE_INVALID": "Taker fee changed",
|
|
420
|
-
"GEO_LOCATION_RESTRICTED": "Location restricted",
|
|
421
|
-
"STOP_MUST_ABOVE_INDEX_PRICE": "Invalid stop price",
|
|
422
|
-
"STOP_MUST_BELOW_INDEX_PRICE": "Invalid stop price",
|
|
423
|
-
"TRIGGER_MUST_ABOVE_INDEX_PRICE": "Invalid trigger price",
|
|
424
|
-
"TRIGGER_MUST_BELOW_INDEX_PRICE": "Invalid trigger price",
|
|
425
|
-
"MISSING_TRADE_SIZE": "Enter amount to trade",
|
|
426
|
-
"MISSING_LIMIT_PRICE": "Enter limit price",
|
|
427
|
-
"MISSING_STOP_PRICE": "Enter stop price",
|
|
428
|
-
"MISSING_TRIGGER_PRICE": "Enter trigger price",
|
|
429
|
-
"MISSING_TRAILING_PERCENTAGE": "Enter trailing percentage",
|
|
430
|
-
"STOP_MARKET_ORDER_MAY_NOT_EXECUTE": "Stop Market",
|
|
431
|
-
"TAKE_PROFIT_MARKET_ORDER_MAY_NOT_EXECUTE": "Take Profit Market",
|
|
432
|
-
"BUY_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE": "Liquidation Risk",
|
|
433
|
-
"SELL_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE": "Liquidation Risk",
|
|
434
|
-
"ORDER_WOULD_FLIP_POSITION": "Reduce only",
|
|
435
|
-
"WOULD_NOT_REDUCE_UNCHECK": "Reduce only",
|
|
436
|
-
"LIMIT_MUST_ABOVE_TRIGGER_PRICE": "Invalid limit price",
|
|
437
|
-
"LIMIT_MUST_BELOW_TRIGGER_PRICE": "Invalid limit price",
|
|
438
|
-
"LIMIT_PRICE_TRIGGER_PRICE_SLIPPAGE_HIGHER": "Limit price",
|
|
439
|
-
"LIMIT_PRICE_TRIGGER_PRICE_SLIPPAGE_LOWER": "Limit price",
|
|
440
|
-
"BRACKET_ORDER_STOP_LOSS_BELOW_EXPECTED_PRICE": "Stop Loss",
|
|
441
|
-
"BRACKET_ORDER_STOP_LOSS_ABOVE_EXPECTED_PRICE": "Stop Loss",
|
|
442
|
-
"BRACKET_ORDER_TAKE_PROFIT_BELOW_EXPECTED_PRICE": "Take Profit",
|
|
443
|
-
"BRACKET_ORDER_TAKE_PROFIT_ABOVE_EXPECTED_PRICE": "Take Profit",
|
|
444
|
-
"BRACKET_ORDER_STOP_LOSS_BELOW_LIQUIDATION_PRICE": "Stop Loss",
|
|
445
|
-
"BRACKET_ORDER_STOP_LOSS_ABOVE_LIQUIDATION_PRICE": "Stop Loss",
|
|
446
|
-
"BRACKET_ORDER_TAKE_PROFIT_BELOW_LIQUIDATION_PRICE": "Take Profit",
|
|
447
|
-
"BRACKET_ORDER_TAKE_PROFIT_ABOVE_LIQUIDATION_PRICE": "Take Profit",
|
|
448
|
-
"CONNECT_WALLET_TO_TRADE": "Connect Wallet",
|
|
449
|
-
"DEPOSIT_TO_TRADE": "Deposit"
|
|
450
402
|
}
|
|
451
403
|
},
|
|
452
404
|
"WARNINGS": {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"environments":[
|
|
3
3
|
{
|
|
4
|
-
"comment":"V4 Public Testnet #
|
|
4
|
+
"comment":"V4 Public Testnet #3",
|
|
5
5
|
"environment":"dydxprotocol-testnet",
|
|
6
6
|
"ethereumChainId":"5",
|
|
7
|
-
"dydxChainId":"dydx-testnet-
|
|
8
|
-
"string":"v4 Public Testnet #
|
|
9
|
-
"stringKey":"CHAIN.
|
|
7
|
+
"dydxChainId":"dydx-testnet-3",
|
|
8
|
+
"string":"v4 Public Testnet #3",
|
|
9
|
+
"stringKey":"CHAIN.V4_TESTNET",
|
|
10
10
|
"isMainNet":false,
|
|
11
11
|
"version":"v4",
|
|
12
12
|
"maxSubaccountNumber":127,
|
|
13
13
|
"endpoints":{
|
|
14
14
|
"indexers":[
|
|
15
15
|
{
|
|
16
|
-
"api":"https://
|
|
17
|
-
"socket":"wss://
|
|
16
|
+
"api":"https://dydx-testnet.imperator.co",
|
|
17
|
+
"socket":"wss://dydx-testnet.imperator.co"
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"validators":[
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"0xsquid":"https://squid-api-git-main-cosmos-mainnet-0xsquid.vercel.app",
|
|
25
25
|
"configs":"https://dydx-v4-shared-resources.vercel.app",
|
|
26
|
-
"faucet":"https://faucet.
|
|
26
|
+
"faucet":"https://faucet.v4testnet.dydx.exchange",
|
|
27
27
|
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
|
|
28
28
|
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
|
|
29
29
|
"tosUrl": "https://dydx.exchange/v4-terms",
|
|
@@ -206,29 +206,29 @@
|
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
|
-
"comment":"V4 Public Testnet #
|
|
209
|
+
"comment":"V4 Public Testnet #3",
|
|
210
210
|
"environment":"dydxprotocol-testnet",
|
|
211
211
|
"ethereumChainId":"5",
|
|
212
|
-
"dydxChainId":"dydx-testnet-
|
|
213
|
-
"string":"v4 Public Testnet #
|
|
214
|
-
"stringKey":"CHAIN.
|
|
212
|
+
"dydxChainId":"dydx-testnet-3",
|
|
213
|
+
"string":"v4 Public Testnet #3",
|
|
214
|
+
"stringKey":"CHAIN.V4_TESTNET",
|
|
215
215
|
"isMainNet":false,
|
|
216
216
|
"version":"v4",
|
|
217
217
|
"maxSubaccountNumber":127,
|
|
218
218
|
"endpoints":{
|
|
219
219
|
"indexers":[
|
|
220
220
|
{
|
|
221
|
-
"api":"https://
|
|
222
|
-
"socket":"wss://
|
|
221
|
+
"api":"https://dydx-testnet.imperator.co",
|
|
222
|
+
"socket":"wss://dydx-testnet.imperator.co"
|
|
223
223
|
}
|
|
224
224
|
],
|
|
225
225
|
"validators":[
|
|
226
226
|
"https://dydx-testnet.nodefleet.org",
|
|
227
227
|
"https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
|
|
228
228
|
],
|
|
229
|
-
"0xsquid":"https://squid-api-git-main-cosmos-
|
|
229
|
+
"0xsquid":"https://squid-api-git-main-cosmos-mainnet-0xsquid.vercel.app",
|
|
230
230
|
"configs":"https://dydx-v4-shared-resources.vercel.app",
|
|
231
|
-
"faucet":"https://faucet.
|
|
231
|
+
"faucet":"https://faucet.v4testnet.dydx.exchange",
|
|
232
232
|
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
|
|
233
233
|
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
|
|
234
234
|
"tosUrl": "https://dydx.exchange/v4-terms",
|
|
@@ -237,28 +237,28 @@
|
|
|
237
237
|
}
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
|
-
"comment":"V4 Public Testnet #
|
|
240
|
+
"comment":"V4 Public Testnet #3 dYdX Node",
|
|
241
241
|
"environment":"dydxprotocol-testnet-dydx",
|
|
242
242
|
"ethereumChainId":"5",
|
|
243
|
-
"dydxChainId":"dydx-testnet-
|
|
244
|
-
"string":"v4 Public Testnet #
|
|
245
|
-
"stringKey":"CHAIN.
|
|
243
|
+
"dydxChainId":"dydx-testnet-3",
|
|
244
|
+
"string":"v4 Public Testnet #3 dYdX Node",
|
|
245
|
+
"stringKey":"CHAIN.V4_TESTNET_DYDX",
|
|
246
246
|
"isMainNet":false,
|
|
247
247
|
"version":"v4",
|
|
248
248
|
"maxSubaccountNumber":127,
|
|
249
249
|
"endpoints":{
|
|
250
250
|
"indexers":[
|
|
251
251
|
{
|
|
252
|
-
"api":"https://indexer.
|
|
253
|
-
"socket":"wss://indexer.
|
|
252
|
+
"api":"https://indexer.v4testnet.dydx.exchange",
|
|
253
|
+
"socket":"wss://indexer.v4testnet.dydx.exchange"
|
|
254
254
|
}
|
|
255
255
|
],
|
|
256
256
|
"validators":[
|
|
257
|
-
"https://validator.
|
|
257
|
+
"https://validator.v4testnet.dydx.exchange"
|
|
258
258
|
],
|
|
259
259
|
"0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app",
|
|
260
260
|
"configs":"https://dydx-v4-shared-resources.vercel.app",
|
|
261
|
-
"faucet":"https://faucet.
|
|
261
|
+
"faucet":"https://faucet.v4testnet.dydx.exchange",
|
|
262
262
|
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
|
|
263
263
|
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
|
|
264
264
|
"tosUrl": "https://dydx.exchange/v4-terms",
|
|
@@ -267,20 +267,20 @@
|
|
|
267
267
|
}
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
|
-
"comment":"V4 Public Testnet #
|
|
270
|
+
"comment":"V4 Public Testnet #3 DSRV Node",
|
|
271
271
|
"environment":"dydxprotocol-testnet-dsrv",
|
|
272
272
|
"ethereumChainId":"5",
|
|
273
|
-
"dydxChainId":"dydx-testnet-
|
|
274
|
-
"string":"v4 Public Testnet #
|
|
275
|
-
"stringKey":"CHAIN.
|
|
273
|
+
"dydxChainId":"dydx-testnet-3",
|
|
274
|
+
"string":"v4 Public Testnet #3 DSRV Node",
|
|
275
|
+
"stringKey":"CHAIN.V4_TESTNET_DSRV",
|
|
276
276
|
"isMainNet":false,
|
|
277
277
|
"version":"v4",
|
|
278
278
|
"maxSubaccountNumber":127,
|
|
279
279
|
"endpoints":{
|
|
280
280
|
"indexers":[
|
|
281
281
|
{
|
|
282
|
-
"api":"https://
|
|
283
|
-
"socket":"wss://
|
|
282
|
+
"api":"https://dydx-testnet.imperator.co",
|
|
283
|
+
"socket":"wss://dydx-testnet.imperator.co"
|
|
284
284
|
}
|
|
285
285
|
],
|
|
286
286
|
"validators":[
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
],
|
|
289
289
|
"0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app",
|
|
290
290
|
"configs":"https://dydx-v4-shared-resources.vercel.app",
|
|
291
|
-
"faucet":"https://faucet.
|
|
291
|
+
"faucet":"https://faucet.v4testnet.dydx.exchange",
|
|
292
292
|
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
|
|
293
293
|
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
|
|
294
294
|
"tosUrl": "https://dydx.exchange/v4-terms",
|
|
@@ -297,20 +297,20 @@
|
|
|
297
297
|
}
|
|
298
298
|
},
|
|
299
299
|
{
|
|
300
|
-
"comment":"V4 Public Testnet #
|
|
300
|
+
"comment":"V4 Public Testnet #3 nodefleet Node",
|
|
301
301
|
"environment":"dydxprotocol-testnet-nodefleet",
|
|
302
302
|
"ethereumChainId":"5",
|
|
303
|
-
"dydxChainId":"dydx-testnet-
|
|
304
|
-
"string":"v4 Public Testnet #
|
|
305
|
-
"stringKey":"CHAIN.
|
|
303
|
+
"dydxChainId":"dydx-testnet-3",
|
|
304
|
+
"string":"v4 Public Testnet #3 nodefleet Node",
|
|
305
|
+
"stringKey":"CHAIN.V4_TESTNET_NODEFLEET",
|
|
306
306
|
"isMainNet":false,
|
|
307
307
|
"version":"v4",
|
|
308
308
|
"maxSubaccountNumber":127,
|
|
309
309
|
"endpoints":{
|
|
310
310
|
"indexers":[
|
|
311
311
|
{
|
|
312
|
-
"api":"https://
|
|
313
|
-
"socket":"wss://
|
|
312
|
+
"api":"https://dydx-testnet.imperator.co",
|
|
313
|
+
"socket":"wss://dydx-testnet.imperator.co"
|
|
314
314
|
}
|
|
315
315
|
],
|
|
316
316
|
"validators":[
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
],
|
|
319
319
|
"0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app",
|
|
320
320
|
"configs":"https://dydx-v4-shared-resources.vercel.app",
|
|
321
|
-
"faucet":"https://faucet.
|
|
321
|
+
"faucet":"https://faucet.v4testnet.dydx.exchange",
|
|
322
322
|
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
|
|
323
323
|
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
|
|
324
324
|
"tosUrl": "https://dydx.exchange/v4-terms",
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
"ethereumChainId":"5",
|
|
333
333
|
"dydxChainId":"dydx-testnet-3",
|
|
334
334
|
"string":"v4 Public Testnet #3 Imperator Indexer",
|
|
335
|
-
"stringKey":"CHAIN.
|
|
335
|
+
"stringKey":"CHAIN.V4_TESTNET_IMPERATOR",
|
|
336
336
|
"isMainNet":false,
|
|
337
337
|
"version":"v4",
|
|
338
338
|
"maxSubaccountNumber":127,
|
|
@@ -148,29 +148,29 @@
|
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
|
-
"comment":"V4 Public Testnet #
|
|
151
|
+
"comment":"V4 Public Testnet #3",
|
|
152
152
|
"environment":"dydxprotocol-testnet",
|
|
153
153
|
"ethereumChainId":"5",
|
|
154
|
-
"dydxChainId":"dydx-testnet-
|
|
155
|
-
"string":"v4 Public Testnet #
|
|
156
|
-
"stringKey":"CHAIN.
|
|
154
|
+
"dydxChainId":"dydx-testnet-3",
|
|
155
|
+
"string":"v4 Public Testnet #3",
|
|
156
|
+
"stringKey":"CHAIN.V4_TESTNET",
|
|
157
157
|
"isMainNet":false,
|
|
158
158
|
"version":"v4",
|
|
159
159
|
"maxSubaccountNumber":127,
|
|
160
160
|
"endpoints":{
|
|
161
161
|
"indexers":[
|
|
162
162
|
{
|
|
163
|
-
"api":"https://
|
|
164
|
-
"socket":"wss://
|
|
163
|
+
"api":"https://dydx-testnet.imperator.co",
|
|
164
|
+
"socket":"wss://dydx-testnet.imperator.co"
|
|
165
165
|
}
|
|
166
166
|
],
|
|
167
167
|
"validators":[
|
|
168
168
|
"https://dydx-testnet.nodefleet.org",
|
|
169
169
|
"https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
|
|
170
170
|
],
|
|
171
|
-
"0xsquid":"https://squid-api-git-main-cosmos-
|
|
171
|
+
"0xsquid":"https://squid-api-git-main-cosmos-mainnet-0xsquid.vercel.app",
|
|
172
172
|
"configs":"https://dydx-v4-shared-resources.vercel.app",
|
|
173
|
-
"faucet":"https://faucet.
|
|
173
|
+
"faucet":"https://faucet.v4testnet.dydx.exchange",
|
|
174
174
|
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
|
|
175
175
|
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
|
|
176
176
|
"tosUrl": "https://dydx.exchange/v4-terms",
|
package/package.json
CHANGED
|
@@ -39,7 +39,9 @@ func generateItems(keyPath: String, lastKey: String?, value: Any?) {
|
|
|
39
39
|
print("\n // \(lastKey)\n")
|
|
40
40
|
}
|
|
41
41
|
for subKey in value.keys.sorted() {
|
|
42
|
-
|
|
42
|
+
if subKey != "TRADE_BOX_TITLE" {
|
|
43
|
+
generateItems(keyPath: keyPath + "." + subKey, lastKey: subKey, value: value[subKey])
|
|
44
|
+
}
|
|
43
45
|
}
|
|
44
46
|
} else if let lastKey = lastKey {
|
|
45
47
|
// ensure no duplicate keys
|
package/scripts/generated/app.ts
CHANGED
|
@@ -1357,11 +1357,11 @@ export const CHAIN_STRING_KEYS = {
|
|
|
1357
1357
|
V4_DEVNET_4: 'CHAIN.V4_DEVNET_4',
|
|
1358
1358
|
V4_DEVNET_5: 'CHAIN.V4_DEVNET_5',
|
|
1359
1359
|
V4_STAGING: 'CHAIN.V4_STAGING',
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1360
|
+
V4_TESTNET: 'CHAIN.V4_TESTNET',
|
|
1361
|
+
V4_TESTNET_DSRV: 'CHAIN.V4_TESTNET_DSRV',
|
|
1362
|
+
V4_TESTNET_DYDX: 'CHAIN.V4_TESTNET_DYDX',
|
|
1363
|
+
V4_TESTNET_IMPERATOR: 'CHAIN.V4_TESTNET_IMPERATOR',
|
|
1364
|
+
V4_TESTNET_NODEFLEET: 'CHAIN.V4_TESTNET_NODEFLEET',
|
|
1365
1365
|
};
|
|
1366
1366
|
|
|
1367
1367
|
export const ERRORS_STRING_KEYS = {
|
|
@@ -1431,6 +1431,7 @@ export const ERRORS_STRING_KEYS = {
|
|
|
1431
1431
|
BRACKET_ORDER_TAKE_PROFIT_BELOW_EXPECTED_PRICE: 'ERRORS.TRADE_BOX.BRACKET_ORDER_TAKE_PROFIT_BELOW_EXPECTED_PRICE',
|
|
1432
1432
|
BRACKET_ORDER_TAKE_PROFIT_BELOW_LIQUIDATION_PRICE: 'ERRORS.TRADE_BOX.BRACKET_ORDER_TAKE_PROFIT_BELOW_LIQUIDATION_PRICE',
|
|
1433
1433
|
BUY_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE: 'ERRORS.TRADE_BOX.BUY_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE',
|
|
1434
|
+
INVALID_GOOD_TIL_MAX_90_DAYS: 'ERRORS.TRADE_BOX.INVALID_GOOD_TIL_MAX_90_DAYS',
|
|
1434
1435
|
INVALID_LARGE_POSITION_LEVERAGE: 'ERRORS.TRADE_BOX.INVALID_LARGE_POSITION_LEVERAGE',
|
|
1435
1436
|
INVALID_NEW_ACCOUNT_MARGIN_USAGE: 'ERRORS.TRADE_BOX.INVALID_NEW_ACCOUNT_MARGIN_USAGE',
|
|
1436
1437
|
INVALID_NEW_POSITION_LEVERAGE: 'ERRORS.TRADE_BOX.INVALID_NEW_POSITION_LEVERAGE',
|
|
@@ -1495,8 +1496,5 @@ export const WARNINGS_STRING_KEYS = {
|
|
|
1495
1496
|
MARKET_STATUS_CLOSE_ONLY: 'WARNINGS.TRADE_BOX.MARKET_STATUS_CLOSE_ONLY',
|
|
1496
1497
|
STOP_MARKET_ORDER_MAY_NOT_EXECUTE: 'WARNINGS.TRADE_BOX.STOP_MARKET_ORDER_MAY_NOT_EXECUTE',
|
|
1497
1498
|
TAKE_PROFIT_MARKET_ORDER_MAY_NOT_EXECUTE: 'WARNINGS.TRADE_BOX.TAKE_PROFIT_MARKET_ORDER_MAY_NOT_EXECUTE',
|
|
1498
|
-
|
|
1499
|
-
// TRADE_BOX_TITLE
|
|
1500
|
-
|
|
1501
1499
|
};
|
|
1502
1500
|
|
|
@@ -20,6 +20,8 @@ export const NOTIFICATIONS_STRING_KEYS = {
|
|
|
20
20
|
ORDER_PARTIAL_FILL_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_PARTIAL_FILL.TITLE',
|
|
21
21
|
ORDER_TRIGGERED_BODY: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_TRIGGERED.BODY',
|
|
22
22
|
ORDER_TRIGGERED_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_TRIGGERED.TITLE',
|
|
23
|
+
POSITION_CLOSED_BODY: 'NOTIFICATIONS.NOTIFICATIONS.POSITION_CLOSED.BODY',
|
|
24
|
+
POSITION_CLOSED_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.POSITION_CLOSED.TITLE',
|
|
23
25
|
SLOW_WITHDRAWAL_PENDING_BODY: 'NOTIFICATIONS.NOTIFICATIONS.SLOW_WITHDRAWAL_PENDING.BODY',
|
|
24
26
|
SLOW_WITHDRAWAL_PENDING_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.SLOW_WITHDRAWAL_PENDING.TITLE',
|
|
25
27
|
SLOW_WITHDRAWAL_SUCCESS_BODY: 'NOTIFICATIONS.NOTIFICATIONS.SLOW_WITHDRAWAL_SUCCESS.BODY',
|