diff --git a/package.json b/package.json index 5468c70..40282c6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A web interface that will provide access to liquidity amongst all exchanges that connect to Evolution DEX", "author": "EOS Costa Rica", "license": "MIT", - "version": "0.1.0-beta.5", + "version": "0.1.0-beta.6", "keywords": [ "eos", "dex", diff --git a/src/components/LanguageSelector/LanguageSelector.js b/src/components/LanguageSelector/LanguageSelector.js index e0bd4f8..d4a803f 100644 --- a/src/components/LanguageSelector/LanguageSelector.js +++ b/src/components/LanguageSelector/LanguageSelector.js @@ -52,6 +52,10 @@ const LanguageSelector = ({ alt }) => { value: 'es', label: 'Español' }, + { + value: 'ru', + label: 'Pусском' + }, { value: 'zh', label: '中文' diff --git a/src/language/index.js b/src/language/index.js index 8bde037..de7a25a 100644 --- a/src/language/index.js +++ b/src/language/index.js @@ -1,9 +1,11 @@ import en from './en/en.json' import es from './es/es.json' import zh from './zh/zh.json' +import ru from './ru/ru.json' export default { en, es, - zh + zh, + ru } diff --git a/src/language/ru/about.md b/src/language/ru/about.md new file mode 100644 index 0000000..0794f42 --- /dev/null +++ b/src/language/ru/about.md @@ -0,0 +1,7 @@ +# Be the Exchange + +Evodex is a joint contribution to the EOS DE-FI ecosystem by two Block Producers. + +The smart contract was created by [**EOS Argentina**](https://eosargentina.io) and it allows anyone to launch and interact with continuous liquidity pools in a decentralized exchange. The front-end and web interface was provided by [**EOS Costa Rica**](https://eoscostarica.io) as a bridge to access the Evolution Dex Protocol. With this contribution both teams wish to help foster the growth of Decentralized Finance on EOS, a blockchain that has the best capabilities to run complex systems due to its transaction capacity and fee-less model. + +Evodex facilitates the decentralization of exchanges and promotes the use of EOS for financial instruments. The project is completely open source and free for any developers who wish to integrate it to their front end. In this way different exchanges can share the same liquidity and contribute to the growth of the protocol. diff --git a/src/language/ru/faq.md b/src/language/ru/faq.md new file mode 100644 index 0000000..55d37ff --- /dev/null +++ b/src/language/ru/faq.md @@ -0,0 +1,37 @@ +# Frequently Asked Questions + +## What is evodex? + +Evodex is a decentralized exchange that allows swapping amongst any EOSio compatible tokens, including cross-chain wrapped tokens like pBTC. The liquidity for market making is provided by users who transfer their funds to liquidity pools in exchange for fees that can be voted upon by all of the liquidity providers. + +## How is evodex unique? + +The main new feature introduced by evodex is that liquidity providers can vote for the fees they want to charge, this is done using a smart contract that calculates each voter's weight in proportion to the stake they have on the pool. + +Another difference between evodex and other platforms comes from the different blockchains where they operate, traders only pay fees to liquidity providers, but they don't have to pay transfer fees like in Ethereum and other networks. + +## What are Evotokens? + +For each registered pair there will be a standard token backed by the assets in the corresponding pair of pools. These new tokens can be freely transferred, facilitating the access and management of the investment position. These tokens are called “evotokens”. + +Each trading pair has an associated fee value that might be variable. The value of evotokens rises as fees are collected from the exchange and the addition of liquidity operations. The action of removing liquidity (selling evotokens) is free of charge. + +## How can I provide Liquidity to a pool? + +You can go to the “Liquidity” section to add or remove liquidity. You need to have the same amount (in value) of both tokens of the pool to provide liquidity. When providing liquidity you have to pay the pool’s fee, this is done to prevent a flash attack when someone would join a pool, change the fee and then quickly exit. Removing liquidity has no fees. + +## How can I vote on the pool’s fee? + +Once you have provided liquidity to a pool you are entitled to vote on the fee that future traders and liquidity providers pay. To vote, go to the “vote fee” tab and select any value from 0.01% to a maximum of 3%, the contract will then average your vote based on the porcentage you own of the pool and update the fee accordingly. + +## Can I create my own trading pair? + +The creation of trading pairs is not yet supported in our front-end, however the protocol is open and anyone can create a trading pair invoking the “evolutiondex” smart contract. More info can be found on [Evolution Dex’s Github](https://github.com/eosargentina/evolutiondex) + +## Can I retire my tokens at any time? + +Yes, you can retire your tokens at any time by selling your evotokens in the liquidity tab. + +## Why does the price change with higher amounts? + +The price of a token swap is determined by the balances of the pool. If the liquidity is low compared to the amount you want to exchange you can suffer price slippage. diff --git a/src/language/ru/ru.json b/src/language/ru/ru.json new file mode 100644 index 0000000..667dc99 --- /dev/null +++ b/src/language/ru/ru.json @@ -0,0 +1,124 @@ +{ + "translations": { + "login": "Авторизация", + "users": "Пользователи", + "logout": "Выйти", + "headerTitle": "Листинги токенов", + "version": "Версия", + "footer": "Evodex с открытым исходным кодом, примите участие.", + "placeholder": "Введите сумму", + "selected": "Выбрать", + "noTokensFound": "Пары токенов не найдены.", + "noUserPools": "Увидеть мой пул.", + "addLiquidity": "Добавьте ликвидность сейчас.", + "exchangeStep1": "Введите действительную сумму и используйте раскрывающееся меню, чтобы выбрать токен, которым вы владеете и хотите обменять.", + "exchangeStep2": "Выберите токен, который хотите получить. Мы рассчитаем эту сумму за вас. Вы можете использовать иконку реверса в любое время.", + "feeStep1": "Здесь вы можете проголосовать за комиссию, которую считаете наиболее справедливой для каждого токена. Комиссия должна быть больше нуля и не больше 3%. Пожалуйста, используйте проценты с одним десятичным форматом. Например: 0,1%.", + "liquidityStep1": "Здесь вы можете посмотреть текущую комиссию за обмен для каждого токена, используя раскрывающееся меню.", + "pool": "Пул", + "tokenPair": "Пара токенов", + "fee": "Комиссия", + "htmlTitleContract": "Рикардианские контракты EOS для Evolution DEX", + "htmlTitleLiquidity": "Добавление или удаление ликвидности в пулы EOS DEX на evodex", + "htmlTitleFee": "Комиссия за обмен голосов для децентрализованной биржи EOS dex", + "htmlTitleExchange": "Децентрализованная биржа и пулы ликвидности для токенов EOS", + "htmlTitleFaq": "Децентрализованная биржа EOS - частые вопросы", + "htmlTitleAbout": "Об evodex децентрализованная биржа эволюция DeFi на EOS" + }, + "talkUsModal": { + "title": "Evodex для сообщества EOS.", + "subtitle": "Присоединяйся!", + "description1": "У вас есть идея для крутой функции для evodex?", + "description2": "Вы нашли ошибку??", + "description3": "Используйте эти каналы для связи. Все мнения и предложения приветствуются." + }, + "notFound": { + "primaryMessage": "404: Страницы, которую вы ищете, нет здесь", + "secondaryMessage": "Вы либо пробовали какой-то тенистый маршрут, либо попали сюда по ошибке. Что бы это ни было, попробуйте использовать навигацию", + "buttonLabel": "Домой" + }, + "subMenu": { + "exchange": "обмен", + "liquidity": "ликвидность", + "voteFee": "плата за голосование", + "about": "о нас", + "faq": "вопросы-ответы", + "contracts": "контракты" + }, + "sidebar": { + "tool": "Инструменты", + "information": "Информация", + "social": "Социальное", + "exchange": "Обмен токенов", + "liquidity": "Добавить или удалить ликвидность", + "voteFee": "Комиссия", + "about": "О evodex", + "faq": "FAQs", + "contracts": "Рикардианские контракты" + }, + "ricardianContract": { + "title": "Рикардианские контракты" + }, + "liquidity": { + "title": "Управляйте ликвидностью", + "description": "Выберите пару токенов и сумму, которую вы хотите добавить или удалить из пула ликвидности.", + "headerTitle": "Листинги токенов", + "tableLabelMyPool": "Мои пулы", + "tableLabelCommunity": "Общественные пулы", + "inputLabel": "Добавить / Удалить", + "available": "Текущая поставка", + "add": "Добавить", + "remove": "Удалить", + "and": "и", + "fee": "Комиссия", + "noUser": "Пожалуйста, войдите, чтобы продолжить", + "noTokenSelected": "Пожалуйста, выберите токен, чтобы продолжить", + "noAmountAdd": "Пожалуйста, введите сумму, которую нужно добавить", + "noAmountRemove": "Введите сумму, которую нужно удалить", + "successTransaction": "Транзакция успешна", + "help": "Помощь" + }, + "fee": { + "title": "Проголосуйте за комиссию", + "description": "Выберите пару токенов и комиссию, за которую вы хотите проголосовать за пул ликвидности.", + "headerTitle": "Листинги токенов", + "tableLabelMyPool": "Мой пул", + "tableLabelCommunity": "Общественные пулы", + "noUser": "Пожалуйста, войдите, чтобы продолжить", + "noTokenSelected": "Пожалуйста, выберите токен, чтобы продолжить", + "noVote": "Пожалуйста, введите свой голос", + "inputLabel": "Проголосуйте", + "supply": "Поставка", + "fee": "Комиссия", + "successTransaction": "Успешная транзакция", + "placeholder": "Этот процент", + "help": "Помощь" + }, + "faq": { + "title": "FAQ's" + }, + "exchange": { + "headerTitle": "Листинги токенов", + "empty": "Пустой", + "noUser": "Пожалуйста, войдите, чтобы продолжить", + "noTokenSelected": "Пожалуйста, выберите оба токена, чтобы продолжить", + "noAmount": "Пожалуйста, введите сумму, чтобы продолжить", + "successTransaction": "Успешная транзакция", + "title": "Биржа эволюционировала", + "description": "По-настоящему децентрализованная биржа, где вы сами определяете комиссию за пул!", + "youGive": "Давайте", + "youReceive": "Получите", + "fee": "Комиссия", + "rate": "Ставка", + "pairSupply": "Парная поставка", + "estimatedPrice": "Ориентировочная цена", + "btnLabel": "обмен", + "price": "Цена", + "yourWallet": "Ваш кошелек", + "pool": "Пул", + "help": "Помощь" + }, + "about": { + "title": "О evodex" + } +} \ No newline at end of file diff --git a/src/utils/getMarkdownByLanguage.js b/src/utils/getMarkdownByLanguage.js index b88929b..1091421 100644 --- a/src/utils/getMarkdownByLanguage.js +++ b/src/utils/getMarkdownByLanguage.js @@ -4,6 +4,8 @@ import aboutEN from 'language/en/about.md' import faqEN from 'language/en/faq.md' import aboutZH from 'language/zh/about.md' import faqZH from 'language/zh/faq.md' +import aboutRU from 'language/ru/about.md' +import faqRU from 'language/ru/faq.md' const getMarkdownByLanguage = (page) => { let result = null @@ -33,6 +35,14 @@ const getMarkdownByLanguage = (page) => { result = faqZH break + case 'ru/about': + result = aboutRU + break + + case 'ru/faq': + result = faqRU + break + default: break }