Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…markets into dev
  • Loading branch information
Gorshtak committed Mar 22, 2023
2 parents 3526dec + cabf4b4 commit 44ae7ac
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 9 deletions.
3 changes: 2 additions & 1 deletion src/i18n/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,8 @@
},
"LP": {
"title": "唱片"
}
},
"variables-parlay": "<p>变量:</p><ul><li>利用率:{{utilizationRate}}</li><li>价格下限:{{priceLowerLimit}}</li><li>价格上限:{{priceUpperLimit}}</li><li>最大偏斜影响:{{skewImpactLimit}}</li><li>单个 parlay 的最大分配:{{allocationLimitsPerMarketPerRound}}</li><li>最大总存款:{{maxAllowedDeposit}}</li><li>保险库中的最大用户数:{{maxAllowedUsers}}</li><li>单笔交易的最低金额:{{minTradeAmount}}</li><li>最低存款:{{minDepositAmount}}</li><li>回合持续时间:{{roundLength}} 天</li></ul>"
},
"parlay-leaderboard": {
"title": "Parlay 奖励排行榜",
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,8 @@
},
"LP": {
"title": "LP"
}
},
"variables-parlay": "<p>Variablen:</p><ul><li> Nutzungsrate: {{utilizationRate}}</li><li> Preisuntergrenze: {{priceLowerLimit}}</li><li> Preisobergrenze: {{priceUpperLimit}}</li><li> Max. Skew-Auswirkung: {{skewImpactLimit}}</li><li> Maximale Zuweisung für eine einzelne Parlay: {{allocationLimitsPerMarketPerRound}}</li><li> Maximale Gesamteinzahlung: {{maxAllowedDeposit}}</li><li> Max. Benutzer im Tresor: {{maxAllowedUsers}}</li><li> Mindestbetrag für einen einzelnen Trade: {{minTradeAmount}}</li><li> Mindesteinzahlung: {{minDepositAmount}}</li><li> Rundendauer: {{roundLength}} Tage</li></ul>"
},
"parlay-leaderboard": {
"title": "Parlay Incentives-Rangliste",
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,8 @@
},
"LP": {
"title": "LP"
}
},
"variables-parlay": "<p>Variables:</p><ul><li> Tasa de utilización: {{utilizationRate}}</li><li> Límite inferior de precio: {{priceLowerLimit}}</li><li> Límite superior de precio: {{priceUpperLimit}}</li><li> Impacto sesgado máximo: {{skewImpactLimit}}</li><li> Asignación máxima en un único parlay: {{allocationLimitsPerMarketPerRound}}</li><li> Depósito total máximo: {{maxAllowedDeposit}}</li><li> Usuarios máximos en la bóveda: {{maxAllowedUsers}}</li><li> Monto mínimo en una sola operación: {{minTradeAmount}}</li><li> Depósito mínimo: {{minDepositAmount}}</li><li> Duración de la ronda: {{roundLength}} días</li></ul>"
},
"parlay-leaderboard": {
"title": "Leaderboard de incentivos en Parlays",
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,8 @@
},
"LP": {
"title": "LP"
}
},
"variables-parlay": "<p>Variable :</p><ul><li> Taux d&#39;utilisation : {{utilizationRate}}</li><li> Limite inférieure de prix : {{priceLowerLimit}}</li><li> Limite supérieure de prix : {{priceUpperLimit}}</li><li> Impact d&#39;inclinaison maximum : {{skewImpactLimit}}</li><li> Allocation maximale sur un seul parlay : {{allocationLimitsPerMarketPerRound}}</li><li> Dépôt total maximum : {{maxAllowedDeposit}}</li><li> Nombre maximum d&#39;utilisateurs dans le coffre : {{maxAllowedUsers}}</li><li> Montant minimum sur une seule transaction : {{minTradeAmount}}</li><li> Dépôt minimum : {{minDepositAmount}}</li><li> Durée du cycle : {{roundLength}} jours</li></ul>"
},
"parlay-leaderboard": {
"title": "Classement des récompenses de combinés",
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,8 @@
},
"LP": {
"title": "LP"
}
},
"variables-parlay": "<p>Variabili:</p><ul><li> Tasso di utilizzo: {{utilizationRate}}</li><li> Limite inferiore del prezzo: {{priceLowerLimit}}</li><li> Limite massimo del prezzo: {{priceUpperLimit}}</li><li> Impatto Max Skew: {{skewImpactLimit}}</li><li> Allocazione massima su un singolo parlay: {{allocationLimitsPerMarketPerRound}}</li><li> Deposito totale massimo: {{maxAllowedDeposit}}</li><li> Numero massimo di utenti nel vault: {{maxAllowedUsers}}</li><li> Importo minimo su una singola operazione: {{minTradeAmount}}</li><li> Deposito minimo: {{minDepositAmount}}</li><li> Durata round: {{roundLength}} giorni</li></ul>"
},
"parlay-leaderboard": {
"title": "Classifica degli incentivi Parlay",
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,8 @@
},
"LP": {
"title": "LP"
}
},
"variables-parlay": "<p>Переменные:</p><ul><li> Коэффициент использования: {{utilizationRate}}</li><li> Нижний предел цены: {{priceLowerLimit}}</li><li> Верхний предел цены: {{priceUpperLimit}}</li><li> Максимальное влияние перекоса: {{skewImpactLimit}}</li><li> Максимальное распределение на один экспресс: {{allocationLimitsPerMarketPerRound}}</li><li> Максимальный общий депозит: {{maxAllowedDeposit}}</li><li> Максимальное количество пользователей в хранилище: {{maxAllowedUsers}}</li><li> Минимальная сумма для одной сделки: {{minTradeAmount}}</li><li> Минимальный депозит: {{minDepositAmount}}</li><li> Продолжительность раунда: {{roundLength}} дней</li></ul>"
},
"parlay-leaderboard": {
"title": "Таблица поощрений Parlay",
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,8 @@
},
"LP": {
"title": "หจก"
}
},
"variables-parlay": "<p>ตัวแปร:</p><ul><li> อัตราการใช้: {{utilizationRate}}</li><li> ขีดจำกัดล่างของราคา: {{priceLowerLimit}}</li><li> ขีดจำกัดสูงสุดของราคา: {{priceUpperLimit}}</li><li> ผลกระทบเอียงสูงสุด: {{skewImpactLimit}}</li><li> การจัดสรรสูงสุดในพาร์เลย์เดียว: {{allocationLimitsPerMarketPerRound}}</li><li> เงินฝากทั้งหมดสูงสุด: {{maxAllowedDeposit}}</li><li> ผู้ใช้สูงสุดในห้องนิรภัย: {{maxAllowedUsers}}</li><li> จำนวนเงินขั้นต่ำในการซื้อขายครั้งเดียว: {{minTradeAmount}}</li><li> เงินฝากขั้นต่ำ: {{minDepositAmount}}</li><li> ระยะเวลาของรอบ: {{roundLength}} วัน</li></ul>"
},
"parlay-leaderboard": {
"title": "ลีดเดอร์บอร์ดสิ่งจูงใจ Parlay",
Expand Down
5 changes: 3 additions & 2 deletions src/layouts/DappLayout/DappLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ const DappLayout: React.FC = ({ children }) => {
if (queryParams.referralId) {
setReferralId(queryParams.referralId);
}
if (queryParams.referrerId) {
const referrerId = queryParams.referrerId;
if (referrerId) {
const fetchIdAddress = async () => {
const response = await axios.get(
`${generalConfig.API_URL}/get-refferer-id-address/${queryParams.referrerId}`
`${generalConfig.API_URL}/get-refferer-id-address/${encodeURIComponent(referrerId)}`
);
if (response.data) {
setReferralId(response.data);
Expand Down

0 comments on commit 44ae7ac

Please sign in to comment.