Skip to content

Commit

Permalink
Add CCTP transfer limit error (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredvu authored Dec 22, 2023
1 parent 022ea4d commit edbf5e5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -1711,6 +1711,7 @@
"REGION_NOT_PERMITTED_SUBTITLE": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use, or have engaged in activity that violates our terms of use, you have been blocked. You may withdraw your funds from the protocol at any time.",
"BANNED_USER": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use, you have been permanently blocked from performing transfers within the protocol, making fast withdrawals to remove funds from the protocol, and placing orders other than market orders that reduce your positions. You may withdraw your funds from the protocol at any time.",
"COULD_NOT_CONNECT": "Couldn't connect to {WALLET}",
"MAX_CCTP_TRANSFER_LIMIT_EXCEEDED": "Please try a smaller amount. The maximum CCTP transfer limit is currently {MAX_CCTP_TRANSFER_AMOUNT}.",
"INDETERMINISTIC_SIGNING": "Your wallet does not support deterministic signing. Please switch to a different wallet provider.",
"INVALID_EMAIL": "Please enter a valid email address.",
"INVALID_USERNAME": "Usernames must start with a letter, be less than 24 characters long, and contain only letters, numbers, and underscores.",
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.3",
"version": "1.1.4",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,7 @@ export const ERRORS_STRING_KEYS = {
INVALID_USERNAME: 'ERRORS.ONBOARDING.INVALID_USERNAME',
KEY_RECOVERY_FAILED: 'ERRORS.ONBOARDING.KEY_RECOVERY_FAILED',
LEDGER_U2F_REQUIRED: 'ERRORS.ONBOARDING.LEDGER_U2F_REQUIRED',
MAX_CCTP_TRANSFER_LIMIT_EXCEEDED: 'ERRORS.ONBOARDING.MAX_CCTP_TRANSFER_LIMIT_EXCEEDED',
REGION_NOT_PERMITTED_SUBTITLE: 'ERRORS.ONBOARDING.REGION_NOT_PERMITTED_SUBTITLE',
REGION_NOT_PERMITTED_TITLE: 'ERRORS.ONBOARDING.REGION_NOT_PERMITTED_TITLE',
USERNAME_TAKEN: 'ERRORS.ONBOARDING.USERNAME_TAKEN',
Expand Down

0 comments on commit edbf5e5

Please sign in to comment.