From 8676057a83c708741ecefa44d6b49b023738b026 Mon Sep 17 00:00:00 2001 From: tyleroooo Date: Mon, 30 Sep 2024 12:43:30 -0400 Subject: [PATCH] vault deposit min amount (#721) * min amount * add threshold --- config/localization/en/app.json | 1 + package-lock.json | 4 ++-- package.json | 2 +- scripts/generated/app.ts | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index dc75d1da9..6e728f67c 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -1681,6 +1681,7 @@ "LOCKED_BALANCE": "Locked Balance", "WITHDRAW_TOO_HIGH": "You cannot withdraw more than your vault balance.", "DEPOSIT_TOO_HIGH": "You cannot deposit more than your free collateral.", + "DEPOSIT_TOO_LOW": "Your deposit amount is below the $20 minimum deposit threshold.", "ENTER_AMOUNT_TO_DEPOSIT": "Enter amount to deposit", "ENTER_AMOUNT_TO_WITHDRAW": "Enter amount to withdraw", "AVAILABLE_TO_WITHDRAW": "Available to Withdraw", diff --git a/package-lock.json b/package-lock.json index e4d1040d2..218944eb7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.206", + "version": "1.1.207", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.206", + "version": "1.1.207", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index 7056fc069..f22861e5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.206", + "version": "1.1.207", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index d04128669..d9219942c 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -1843,6 +1843,7 @@ export const APP_STRING_KEYS = { CONFIRM_WITHDRAW_CTA: 'APP.VAULTS.CONFIRM_WITHDRAW_CTA', CROSS_ACCOUNT: 'APP.VAULTS.CROSS_ACCOUNT', DEPOSIT_TOO_HIGH: 'APP.VAULTS.DEPOSIT_TOO_HIGH', + DEPOSIT_TOO_LOW: 'APP.VAULTS.DEPOSIT_TOO_LOW', ENTER_AMOUNT_TO_DEPOSIT: 'APP.VAULTS.ENTER_AMOUNT_TO_DEPOSIT', ENTER_AMOUNT_TO_WITHDRAW: 'APP.VAULTS.ENTER_AMOUNT_TO_WITHDRAW', EST_SLIPPAGE: 'APP.VAULTS.EST_SLIPPAGE',