new accts support more token accts by default
This commit is contained in:
parent
c5080c6132
commit
d2a6b1e616
|
@ -54,10 +54,7 @@ const CreateAccountForm = ({
|
||||||
group,
|
group,
|
||||||
newAccountNum,
|
newAccountNum,
|
||||||
name || `Account ${newAccountNum + 1}`,
|
name || `Account ${newAccountNum + 1}`,
|
||||||
undefined, // tokenCount
|
16 // tokenCount
|
||||||
undefined, // serum3Count
|
|
||||||
8, // perpCount
|
|
||||||
10 // perpOoCount
|
|
||||||
)
|
)
|
||||||
if (tx) {
|
if (tx) {
|
||||||
const pk = wallet.adapter.publicKey
|
const pk = wallet.adapter.publicKey
|
||||||
|
|
|
@ -88,10 +88,7 @@ const UserSetupModal = ({
|
||||||
group,
|
group,
|
||||||
0,
|
0,
|
||||||
accountName || 'Account 1',
|
accountName || 'Account 1',
|
||||||
undefined, // tokenCount
|
16 // tokenCount
|
||||||
undefined, // serum3Count
|
|
||||||
8, // perpCount
|
|
||||||
10 // perpOoCount
|
|
||||||
)
|
)
|
||||||
actions.fetchMangoAccounts(publicKey)
|
actions.fetchMangoAccounts(publicKey)
|
||||||
if (tx) {
|
if (tx) {
|
||||||
|
|
|
@ -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.",
|
"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",
|
"history": "History",
|
||||||
"funding": "Funding",
|
"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": "Interest Earned",
|
||||||
"interest-earned-paid": "Interest Earned",
|
"interest-earned-paid": "Interest Earned",
|
||||||
"leaderboard": "Leaderboard",
|
"leaderboard": "Leaderboard",
|
||||||
|
|
|
@ -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.",
|
"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",
|
"history": "History",
|
||||||
"funding": "Funding",
|
"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": "Interest Earned",
|
||||||
"interest-earned-paid": "Interest Earned",
|
"interest-earned-paid": "Interest Earned",
|
||||||
"leaderboard": "Leaderboard",
|
"leaderboard": "Leaderboard",
|
||||||
|
|
|
@ -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.",
|
"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",
|
"history": "History",
|
||||||
"funding": "Funding",
|
"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": "Interest Earned",
|
||||||
"interest-earned-paid": "Interest Earned",
|
"interest-earned-paid": "Interest Earned",
|
||||||
"leaderboard": "Leaderboard",
|
"leaderboard": "Leaderboard",
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
"health-impact": "健康影响",
|
"health-impact": "健康影响",
|
||||||
"health-tooltip": "此在您进行交易之前预测您账户的健康状况。第一个值是您当前的帐户健康状况,第二个值是您的预测帐户健康状况。",
|
"health-tooltip": "此在您进行交易之前预测您账户的健康状况。第一个值是您当前的帐户健康状况,第二个值是您的预测帐户健康状况。",
|
||||||
"history": "纪录",
|
"history": "纪录",
|
||||||
"insufficient-sol": "Solana需要0.04454 SOL租金才能创建Mango账户。您关闭帐户时租金将被退还。",
|
"insufficient-sol": "Solana需要0.0695 SOL租金才能创建Mango账户。您关闭帐户时租金将被退还。",
|
||||||
"interest-earned": "获取利息",
|
"interest-earned": "获取利息",
|
||||||
"interest-earned-paid": "获取利息",
|
"interest-earned-paid": "获取利息",
|
||||||
"leaderboard": "排行榜",
|
"leaderboard": "排行榜",
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
"health-impact": "健康影響",
|
"health-impact": "健康影響",
|
||||||
"health-tooltip": "此在您進行交易之前預測您賬戶的健康狀況。第一個值是您當前的帳戶健康狀況,第二個值是您的預測帳戶健康狀況。",
|
"health-tooltip": "此在您進行交易之前預測您賬戶的健康狀況。第一個值是您當前的帳戶健康狀況,第二個值是您的預測帳戶健康狀況。",
|
||||||
"history": "紀錄",
|
"history": "紀錄",
|
||||||
"insufficient-sol": "Solana需要0.04454 SOL租金才能創建Mango賬戶。您關閉帳戶時租金將被退還。",
|
"insufficient-sol": "Solana需要0.0695 SOL租金才能創建Mango賬戶。您關閉帳戶時租金將被退還。",
|
||||||
"interest-earned": "獲取利息",
|
"interest-earned": "獲取利息",
|
||||||
"interest-earned-paid": "獲取利息",
|
"interest-earned-paid": "獲取利息",
|
||||||
"leaderboard": "排行榜",
|
"leaderboard": "排行榜",
|
||||||
|
|
Loading…
Reference in New Issue