From d2a6b1e6164cddcc456a6083cb1a0a32cf594f04 Mon Sep 17 00:00:00 2001 From: tjs Date: Sun, 16 Jul 2023 17:58:49 -0400 Subject: [PATCH] new accts support more token accts by default --- components/account/CreateAccountForm.tsx | 5 +---- components/modals/UserSetupModal.tsx | 5 +---- public/locales/en/common.json | 2 +- public/locales/es/common.json | 2 +- public/locales/ru/common.json | 2 +- public/locales/zh/common.json | 2 +- public/locales/zh_tw/common.json | 2 +- 7 files changed, 7 insertions(+), 13 deletions(-) diff --git a/components/account/CreateAccountForm.tsx b/components/account/CreateAccountForm.tsx index aec6938b..d22574fc 100644 --- a/components/account/CreateAccountForm.tsx +++ b/components/account/CreateAccountForm.tsx @@ -54,10 +54,7 @@ const CreateAccountForm = ({ group, newAccountNum, name || `Account ${newAccountNum + 1}`, - undefined, // tokenCount - undefined, // serum3Count - 8, // perpCount - 10 // perpOoCount + 16 // tokenCount ) if (tx) { const pk = wallet.adapter.publicKey diff --git a/components/modals/UserSetupModal.tsx b/components/modals/UserSetupModal.tsx index 92ea4601..85ba8bbb 100644 --- a/components/modals/UserSetupModal.tsx +++ b/components/modals/UserSetupModal.tsx @@ -88,10 +88,7 @@ const UserSetupModal = ({ group, 0, accountName || 'Account 1', - undefined, // tokenCount - undefined, // serum3Count - 8, // perpCount - 10 // perpOoCount + 16 // tokenCount ) actions.fetchMangoAccounts(publicKey) if (tx) { diff --git a/public/locales/en/common.json b/public/locales/en/common.json index e804d344..c0b0e369 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -84,7 +84,7 @@ "health-tooltip": "Projects the health of your account before you make a trade. The first value is your current account health and the second your projected account health.", "history": "History", "funding": "Funding", - "insufficient-sol": "Solana requires 0.04454 SOL rent to create a Mango Account. This will be returned if you close your account.", + "insufficient-sol": "Solana requires 0.0695 SOL rent to create a Mango Account. This will be returned if you close your account.", "interest-earned": "Interest Earned", "interest-earned-paid": "Interest Earned", "leaderboard": "Leaderboard", diff --git a/public/locales/es/common.json b/public/locales/es/common.json index e804d344..c0b0e369 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -84,7 +84,7 @@ "health-tooltip": "Projects the health of your account before you make a trade. The first value is your current account health and the second your projected account health.", "history": "History", "funding": "Funding", - "insufficient-sol": "Solana requires 0.04454 SOL rent to create a Mango Account. This will be returned if you close your account.", + "insufficient-sol": "Solana requires 0.0695 SOL rent to create a Mango Account. This will be returned if you close your account.", "interest-earned": "Interest Earned", "interest-earned-paid": "Interest Earned", "leaderboard": "Leaderboard", diff --git a/public/locales/ru/common.json b/public/locales/ru/common.json index e804d344..c0b0e369 100644 --- a/public/locales/ru/common.json +++ b/public/locales/ru/common.json @@ -84,7 +84,7 @@ "health-tooltip": "Projects the health of your account before you make a trade. The first value is your current account health and the second your projected account health.", "history": "History", "funding": "Funding", - "insufficient-sol": "Solana requires 0.04454 SOL rent to create a Mango Account. This will be returned if you close your account.", + "insufficient-sol": "Solana requires 0.0695 SOL rent to create a Mango Account. This will be returned if you close your account.", "interest-earned": "Interest Earned", "interest-earned-paid": "Interest Earned", "leaderboard": "Leaderboard", diff --git a/public/locales/zh/common.json b/public/locales/zh/common.json index 29a8c5be..3d696ffc 100644 --- a/public/locales/zh/common.json +++ b/public/locales/zh/common.json @@ -84,7 +84,7 @@ "health-impact": "健康影响", "health-tooltip": "此在您进行交易之前预测您账户的健康状况。第一个值是您当前的帐户健康状况,第二个值是您的预测帐户健康状况。", "history": "纪录", - "insufficient-sol": "Solana需要0.04454 SOL租金才能创建Mango账户。您关闭帐户时租金将被退还。", + "insufficient-sol": "Solana需要0.0695 SOL租金才能创建Mango账户。您关闭帐户时租金将被退还。", "interest-earned": "获取利息", "interest-earned-paid": "获取利息", "leaderboard": "排行榜", diff --git a/public/locales/zh_tw/common.json b/public/locales/zh_tw/common.json index 5ae776fa..68e4b57d 100644 --- a/public/locales/zh_tw/common.json +++ b/public/locales/zh_tw/common.json @@ -84,7 +84,7 @@ "health-impact": "健康影響", "health-tooltip": "此在您進行交易之前預測您賬戶的健康狀況。第一個值是您當前的帳戶健康狀況,第二個值是您的預測帳戶健康狀況。", "history": "紀錄", - "insufficient-sol": "Solana需要0.04454 SOL租金才能創建Mango賬戶。您關閉帳戶時租金將被退還。", + "insufficient-sol": "Solana需要0.0695 SOL租金才能創建Mango賬戶。您關閉帳戶時租金將被退還。", "interest-earned": "獲取利息", "interest-earned-paid": "獲取利息", "leaderboard": "排行榜",