Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.1.72: Add new broadcast error and order removal reason #417

Merged
merged 2 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,7 @@
"ORDER_REMOVAL_REASON_UNDERCOLLATERALIZED": "The order was removed due to being undercollateralized.",
"ORDER_REMOVAL_REASON_UNSPECIFIED": "Unspecified error.",
"ORDER_REMOVAL_REASON_USER_CANCELED": "The order was canceled by a user.",
"ORDER_REMOVAL_REASON_VIOLATES_ISOLATED_SUBACCOUNT_CONSTRAINTS": "The order has been removed since filling it would lead to the subaccount violating isolated subaccount constraints.",
"ORDER_TYPE": "Order type",
"ORDERBOOK": "Order book",
"ORDERBOOK_ASK_PRICE": "Ask Price",
Expand Down Expand Up @@ -1968,6 +1969,7 @@
"BROADCAST_ERROR_2001": "Reduce-only orders cannot increase the position size",
"BROADCAST_ERROR_2002": "Reduce-only orders cannot change the position side",
"BROADCAST_ERROR_2003": "Post-only order would cross one or more maker orders",
"BROADCAST_ERROR_2005": "Order would violate isolated subaccount constraints.",
jaredvu marked this conversation as resolved.
Show resolved Hide resolved
"BROADCAST_ERROR_3000": "Invalid order flags",
"BROADCAST_ERROR_3001": "Invalid order goodTilBlockTime",
"BROADCAST_ERROR_3002": "Stateful orders cannot require immediate execution",
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.71",
"version": "1.1.72",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1406,6 +1406,7 @@ export const APP_STRING_KEYS = {
ORDER_REMOVAL_REASON_UNDERCOLLATERALIZED: 'APP.TRADE.ORDER_REMOVAL_REASON_UNDERCOLLATERALIZED',
ORDER_REMOVAL_REASON_UNSPECIFIED: 'APP.TRADE.ORDER_REMOVAL_REASON_UNSPECIFIED',
ORDER_REMOVAL_REASON_USER_CANCELED: 'APP.TRADE.ORDER_REMOVAL_REASON_USER_CANCELED',
ORDER_REMOVAL_REASON_VIOLATES_ISOLATED_SUBACCOUNT_CONSTRAINTS: 'APP.TRADE.ORDER_REMOVAL_REASON_VIOLATES_ISOLATED_SUBACCOUNT_CONSTRAINTS',
ORDER_TYPE: 'APP.TRADE.ORDER_TYPE',
PARTIALLY_FILLED: 'APP.TRADE.PARTIALLY_FILLED',
PAYMENT: 'APP.TRADE.PAYMENT',
Expand Down Expand Up @@ -1613,6 +1614,7 @@ export const ERRORS_STRING_KEYS = {
BROADCAST_ERROR_2001: 'ERRORS.BROADCAST_ERROR_2001',
BROADCAST_ERROR_2002: 'ERRORS.BROADCAST_ERROR_2002',
BROADCAST_ERROR_2003: 'ERRORS.BROADCAST_ERROR_2003',
BROADCAST_ERROR_2005: 'ERRORS.BROADCAST_ERROR_2005',
BROADCAST_ERROR_3000: 'ERRORS.BROADCAST_ERROR_3000',
BROADCAST_ERROR_3001: 'ERRORS.BROADCAST_ERROR_3001',
BROADCAST_ERROR_3002: 'ERRORS.BROADCAST_ERROR_3002',
Expand Down
Loading