diff --git a/atomic_defi_design/Dex/Constants/General.qml b/atomic_defi_design/Dex/Constants/General.qml
index d57eeb99de..6defe9de94 100644
--- a/atomic_defi_design/Dex/Constants/General.qml
+++ b/atomic_defi_design/Dex/Constants/General.qml
@@ -88,6 +88,11 @@ QtObject {
return API.app.portfolio_pg.global_cfg_mdl.get_coin_info(ticker).is_faucet_coin
}
+ function isVoteCoin(ticker)
+ {
+ return API.app.portfolio_pg.global_cfg_mdl.get_coin_info(ticker).is_vote_coin
+ }
+
function isCoinWithMemo(ticker)
{
return API.app.portfolio_pg.global_cfg_mdl.get_coin_info(ticker).has_memos
diff --git a/atomic_defi_design/Dex/Wallet/Main.qml b/atomic_defi_design/Dex/Wallet/Main.qml
index 3b77efd959..a6dd531cd7 100644
--- a/atomic_defi_design/Dex/Wallet/Main.qml
+++ b/atomic_defi_design/Dex/Wallet/Main.qml
@@ -657,6 +657,50 @@ Item
}
}
+ // Proposals Button
+ Item
+ {
+ Layout.preferredWidth: 165
+ Layout.preferredHeight: 40
+ visible: current_ticker_infos.is_vote_coin
+
+ DefaultButton
+ {
+ enabled: activation_pct == 100
+ anchors.fill: parent
+ radius: 18
+ label.text: qsTr("Vote Info")
+ label.font.pixelSize: 16
+ content.anchors.left: content.parent.left
+ content.anchors.leftMargin: enabled ? 23 : 48
+ content.anchors.rightMargin: 23
+
+ onClicked: Qt.openUrlExternally("https://vote.komodoplatform.com/")
+
+ Row
+ {
+ anchors.verticalCenter: parent.verticalCenter
+ anchors.right: parent.right
+ anchors.rightMargin: 23
+
+ Qaterial.Icon
+ {
+ icon: Qaterial.Icons.vote
+ size: 24
+ anchors.verticalCenter: parent.verticalCenter
+ color: "#2c87b9"
+ }
+ }
+ }
+
+ // Faucet button error icon
+ DefaultAlertIcon
+ {
+ visible: activation_pct != 100
+ tooltipText: api_wallet_page.ticker + qsTr(" Activation: " + activation_pct + "%")
+ }
+ }
+
Component.onCompleted: api_wallet_page.claimingFaucetRpcDataChanged.connect(onClaimFaucetRpcResultChanged)
Component.onDestruction: api_wallet_page.claimingFaucetRpcDataChanged.disconnect(onClaimFaucetRpcResultChanged)
function onClaimFaucetRpcResultChanged() { claimFaucetResultModal.open() }
diff --git a/atomic_defi_design/assets/languages/atomic_defi_de.ts b/atomic_defi_design/assets/languages/atomic_defi_de.ts
index 20b4136a5b..dd48b90277 100644
--- a/atomic_defi_design/assets/languages/atomic_defi_de.ts
+++ b/atomic_defi_design/assets/languages/atomic_defi_de.ts
@@ -516,17 +516,17 @@ Beispiel: Kennwort = 1234 Suffix=56 Eingabe beim Login=123456
Chart
-
+
-
+
-
+
@@ -1412,7 +1412,7 @@ Beispiel: Kennwort = 1234 Suffix=56 Eingabe beim Login=123456
General
-
+
@@ -1420,7 +1420,7 @@ Beispiel: Kennwort = 1234 Suffix=56 Eingabe beim Login=123456
-
+
day
@@ -1429,7 +1429,7 @@ Beispiel: Kennwort = 1234 Suffix=56 Eingabe beim Login=123456
-
+
hours
@@ -1438,7 +1438,7 @@ Beispiel: Kennwort = 1234 Suffix=56 Eingabe beim Login=123456
-
+
minutes
@@ -1447,7 +1447,7 @@ Beispiel: Kennwort = 1234 Suffix=56 Eingabe beim Login=123456
-
+
seconds
@@ -1456,7 +1456,7 @@ Beispiel: Kennwort = 1234 Suffix=56 Eingabe beim Login=123456
-
+
milliseconds
@@ -1465,117 +1465,117 @@ Beispiel: Kennwort = 1234 Suffix=56 Eingabe beim Login=123456
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
Mindesthandelsbetrag
-
+
WALLETNAME
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
@@ -1782,7 +1782,7 @@ Try again or select 'Allow custom seed' to continue.
-
+
Für diese Order ist ein Mindestbetrag von %1 %2 erforderlich. <br>Ihr Guthaben reicht nicht aus.<br> %3
@@ -1940,70 +1940,70 @@ They will be removed from the orderbook until you log in again.
Faucet
-
-
-
+
+
+
+
+
+
+
+
Öffentlicher Schlüssel
-
+
In die Zwischenablage kopiert
-
+
-
+
Für diesen Ticker liegen noch keine Chartdaten vor
-
+
Transaktionen werden abgerufen...
-
+
-
+
-
+
-
+
-
-
- Handelsinformationen
-
-
-
+
Chart
-
+
Order
-
+
Historie
@@ -2075,6 +2075,19 @@ They will be removed from the orderbook until you log in again.
Dieser Kontakt hat keine registrierte Adresse.
+
+ Market
+
+
+
+
+
+
+
+
+ Die günstigsten Order
+
+
MarketModeSelector
@@ -2951,12 +2964,12 @@ Bitte wählen Sie eine neue Order aus.
ProView
-
+
Die Order konnte nicht platziert werden
-
+
Order platziert
@@ -4270,37 +4283,32 @@ There is a toggle in settings where you can turn on/off the display of these tra
TradeViewHeader
-
+
Pro-Ansicht Einstellungen
-
+
Bildschirmeinstellungen
-
+
Ticker Selektoren
-
+
Handelsinformationen
-
-
- Orderbuch
-
-
-
-
- Beste Order
+
+
+
-
+
Order platzieren
@@ -4461,8 +4469,8 @@ There is a toggle in settings where you can turn on/off the display of these tra
Orderbuch
-
-
+
+
@@ -4602,47 +4610,47 @@ This might take a few minutes...
Sie benötigen %1, um das Benzin für %2 Transaktionen zu bezahlen.
-
+
Überprüfung der Prüfsumme für %1 fehlgeschlagen.
-
+
Ungültige Prüfsumme für %1. Klicken Sie auf die Schaltfläche, um die Adresse in Groß-/Kleinschreibung umzuwandeln.
-
+
Legacy-Adresse für %1 verwendet. Klicken Sie auf die Schaltfläche, um sie in eine Cashadresse umzuwandeln.
-
+
%1 Adresse muss 0x vorangestellt werden
-
+
Länge der %1 Adresse ist ungültig, bitte verwenden Sie eine gültige Adresse.
-
+
%1 Adresse ist ungültig.
-
+
Ungültige Prüfsumme.
-
+
%1 Adresse hat ungültige Vorsilben.
-
+
Backend Fehler: %1
diff --git a/atomic_defi_design/assets/languages/atomic_defi_en.ts b/atomic_defi_design/assets/languages/atomic_defi_en.ts
index 8a413639f9..2ce0fd7f4a 100644
--- a/atomic_defi_design/assets/languages/atomic_defi_en.ts
+++ b/atomic_defi_design/assets/languages/atomic_defi_en.ts
@@ -515,17 +515,17 @@
Chart
-
+
-
+
-
+
@@ -1411,7 +1411,7 @@
General
-
+
@@ -1419,7 +1419,7 @@
-
+
day
@@ -1428,7 +1428,7 @@
-
+
hours
@@ -1437,7 +1437,7 @@
-
+
minutes
@@ -1446,7 +1446,7 @@
-
+
seconds
@@ -1455,7 +1455,7 @@
-
+
milliseconds
@@ -1464,117 +1464,117 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
WALLETNAME
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
@@ -1781,7 +1781,7 @@ Try again or select 'Allow custom seed' to continue.
-
+
@@ -1939,70 +1939,70 @@ They will be removed from the orderbook until you log in again.
-
-
-
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
+
-
+
-
+
@@ -2074,6 +2074,19 @@ They will be removed from the orderbook until you log in again.
+
+ Market
+
+
+
+
+
+
+
+
+
+
+
MarketModeSelector
@@ -2949,12 +2962,12 @@ Please select a new order.
ProView
-
+
-
+
@@ -4260,37 +4273,32 @@ There is a toggle in settings where you can turn on/off the display of these tra
TradeViewHeader
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
+
+
-
+
@@ -4451,8 +4459,8 @@ There is a toggle in settings where you can turn on/off the display of these tra
-
-
+
+
@@ -4592,47 +4600,47 @@ This might take a few minutes...
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/atomic_defi_design/assets/languages/atomic_defi_es.ts b/atomic_defi_design/assets/languages/atomic_defi_es.ts
index e17cc56aba..d87b5995c1 100644
--- a/atomic_defi_design/assets/languages/atomic_defi_es.ts
+++ b/atomic_defi_design/assets/languages/atomic_defi_es.ts
@@ -515,17 +515,17 @@
Chart
-
+
-
+
-
+
@@ -1411,7 +1411,7 @@
General
-
+
@@ -1419,7 +1419,7 @@
-
+
day
@@ -1428,7 +1428,7 @@
-
+
hours
@@ -1437,7 +1437,7 @@
-
+
minutes
@@ -1446,7 +1446,7 @@
-
+
seconds
@@ -1455,7 +1455,7 @@
-
+
milliseconds
@@ -1464,117 +1464,117 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
Cantidad Mínima de Intercambio
-
+
WALLETNAME
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
@@ -1782,7 +1782,7 @@ Vuelva a intentarlo o seleccione 'Permitir semilla personalizada' pers
-
+
Este pedido requiere una cantidad mínima de %1 %2 <br>No tiene fondos suficientes.<br> %3
@@ -1942,70 +1942,70 @@ Se eliminarán del libro de pedidos hasta que vuelva a iniciar sesión.Grifo
-
-
-
+
+
+
+
+
+
+
+
Clave Pública
-
+
Copiada en el Portapapeles
-
+
-
+
No hay datos de gráficos para este ticker aún
-
+
Obteniendo transacciones...
-
+
-
+
Por favor espera %1 es %2
-
+
-
+
% activado...
-
-
- Información de Intercambios
-
-
-
+
Gráfico
-
+
Pedidos
-
+
Historial
@@ -2077,6 +2077,19 @@ Se eliminarán del libro de pedidos hasta que vuelva a iniciar sesión.Este contacto no tiene ninguna dirección registrada.
+
+ Market
+
+
+
+
+
+
+
+
+ Mejores Ordenes
+
+
MarketModeSelector
@@ -2953,12 +2966,12 @@ Seleccione un nuevo pedido.
ProView
-
+
Error al realizar el pedido
-
+
Realizó el pedido El
@@ -4272,37 +4285,32 @@ There is a toggle in settings where you can turn on/off the display of these tra
TradeViewHeader
-
+
Vista de Configuración Pro
-
+
Configuracion de Vista
-
+
Selectores
-
+
Información de Intercambios
-
-
- Libro de Ordenes
-
-
-
-
- Mejores Ordenes
+
+
+
-
+
Realizar pedido
@@ -4463,8 +4471,8 @@ There is a toggle in settings where you can turn on/off the display of these tra
Libro de Ordenes
-
-
+
+
@@ -4605,47 +4613,47 @@ Esto puede tardar unos minutos...
Necesita tener %1 para pagar la gasolina de %2 transacciones.
-
+
La verificación de la suma de comprobación falló para %1.
-
+
Suma de comprobación no válida para %1. Haga clic en el botón para convertir a dirección de mayúsculas y minúsculas.
-
+
Dirección heredada utilizada para %1. Haga clic en el botón para convertir a una dirección de efectivo.
-
+
La dirección %1 debe tener el prefijo 0x
-
+
La longitud de la dirección %1 no es válida, utilice una dirección válida.
-
+
La dirección %1 no es válida.
-
+
Suma de comprobación no válida.
-
+
La dirección %1 tiene prefijos no válidos.
-
+
Error de backend: %1
diff --git a/atomic_defi_design/assets/languages/atomic_defi_fr.ts b/atomic_defi_design/assets/languages/atomic_defi_fr.ts
index cfc2eac0d7..d1ce976885 100644
--- a/atomic_defi_design/assets/languages/atomic_defi_fr.ts
+++ b/atomic_defi_design/assets/languages/atomic_defi_fr.ts
@@ -515,17 +515,17 @@
Chart
-
+
-
+
-
+
@@ -1411,7 +1411,7 @@
General
-
+
@@ -1419,7 +1419,7 @@
-
+
day
@@ -1428,7 +1428,7 @@
-
+
hours
@@ -1437,7 +1437,7 @@
-
+
minutes
@@ -1446,7 +1446,7 @@
-
+
seconds
@@ -1455,7 +1455,7 @@
-
+
milliseconds
@@ -1464,117 +1464,117 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
Montant de trading minimum
-
+
WALLETNAME
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
@@ -1781,7 +1781,7 @@ Try again or select 'Allow custom seed' to continue.
-
+
Cette commande nécessite un montant minimum de %1 %2 <br>Vous n'avez pas assez de fonds.<br> %3
@@ -1939,70 +1939,70 @@ They will be removed from the orderbook until you log in again.
Robinet
-
-
-
+
+
+
+
+
+
+
+
-
+
Copier dans le presse-papier
-
+
-
+
Il n'y a pas encore de données graphiques pour ce ticker
-
+
-
+
-
+
-
+
-
+
-
-
- Informations de Trading
-
-
-
+
Chart
-
+
Ordres
-
+
Historique
@@ -2074,6 +2074,19 @@ They will be removed from the orderbook until you log in again.
+
+ Market
+
+
+
+
+
+
+
+
+ Meilleurs offres
+
+
MarketModeSelector
@@ -2949,12 +2962,12 @@ Please select a new order.
ProView
-
+
Échec lors du placement de l'ordre
-
+
L'ordre a été placé avec succès
@@ -4260,37 +4273,32 @@ There is a toggle in settings where you can turn on/off the display of these tra
TradeViewHeader
-
+
-
+
-
+
-
+
Informations de Trading
-
-
- Carnet d'ordres
-
-
-
-
- Meilleurs offres
+
+
+
-
+
Placer l'ordre
@@ -4451,8 +4459,8 @@ There is a toggle in settings where you can turn on/off the display of these tra
Carnet d'ordres
-
-
+
+
@@ -4592,47 +4600,47 @@ This might take a few minutes...
Vous devez avoir %1 activée pour payer les frais de transactions de %2.
-
+
Échec de la vérification du checksum de contrôle pour %1.
-
+
-
+
-
+
L'adresse %1 doit être précédée de 0x
-
+
La longueur de l'adresse %1 n'est pas valide, veuillez utiliser une adresse valide.
-
+
L'adresse %1 n'est pas valide.
-
+
Somme de contrôle invalide.
-
+
L'adresse %1 a des préfixes non valides.
-
+
Erreur de backend : %1
diff --git a/atomic_defi_design/assets/languages/atomic_defi_ru.ts b/atomic_defi_design/assets/languages/atomic_defi_ru.ts
index b4c0cb59a6..661ad84490 100644
--- a/atomic_defi_design/assets/languages/atomic_defi_ru.ts
+++ b/atomic_defi_design/assets/languages/atomic_defi_ru.ts
@@ -515,17 +515,17 @@
Chart
-
+
-
+
-
+
@@ -1411,7 +1411,7 @@
General
-
+
@@ -1420,7 +1420,7 @@
-
+
day
@@ -1430,7 +1430,7 @@
-
+
hours
@@ -1440,7 +1440,7 @@
-
+
minutes
@@ -1450,7 +1450,7 @@
-
+
seconds
@@ -1460,7 +1460,7 @@
-
+
milliseconds
@@ -1470,117 +1470,117 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
Минимальный торговый объем
-
+
WALLETNAME
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
@@ -1787,7 +1787,7 @@ Try again or select 'Allow custom seed' to continue.
-
+
@@ -1945,70 +1945,70 @@ They will be removed from the orderbook until you log in again.
Фаусет
-
-
-
+
+
+
+
+
+
+
+
-
+
Скопировано в буфер обмена
-
+
-
+
Для данного актива пока еще нет графиков данных
-
+
-
+
-
+
-
+
-
+
-
-
- Торговая информация
-
-
-
+
График
-
+
Ордеры
-
+
История
@@ -2080,6 +2080,19 @@ They will be removed from the orderbook until you log in again.
+
+ Market
+
+
+
+
+
+
+
+
+ Лучшие ордеры
+
+
MarketModeSelector
@@ -2955,12 +2968,12 @@ Please select a new order.
ProView
-
+
Не удалось разместить ордер
-
+
Ордер размещен
@@ -4266,37 +4279,32 @@ There is a toggle in settings where you can turn on/off the display of these tra
TradeViewHeader
-
+
-
+
-
+
-
+
Торговая информация
-
-
- Ордербук
-
-
-
-
- Лучшие ордеры
+
+
+
-
+
Разместить ордер
@@ -4457,8 +4465,8 @@ There is a toggle in settings where you can turn on/off the display of these tra
Ордербук
-
-
+
+
@@ -4598,47 +4606,47 @@ This might take a few minutes...
Вам нужен %1 для оплаты газа за %2 транзакции.
-
+
Checksum верфикация неуспешна для %1.
-
+
-
+
-
+
%1 адрес должен начинаться с 0x
-
+
%1 длина адреса не валидна, пожалуйста используйте валидный адрес.
-
+
некорректный адрес %1.
-
+
Неверная чек-сумма.
-
+
у адреса %1 неверный префикс.
-
+
Ошибка бэкенда: %1
diff --git a/atomic_defi_design/assets/languages/atomic_defi_tr.ts b/atomic_defi_design/assets/languages/atomic_defi_tr.ts
index 00238a3206..ecda9ba8ef 100644
--- a/atomic_defi_design/assets/languages/atomic_defi_tr.ts
+++ b/atomic_defi_design/assets/languages/atomic_defi_tr.ts
@@ -515,17 +515,17 @@
Chart
-
+
-
+
-
+
@@ -1411,14 +1411,14 @@
General
-
+
-
+
day
@@ -1426,7 +1426,7 @@
-
+
hours
@@ -1434,7 +1434,7 @@
-
+
minutes
@@ -1442,7 +1442,7 @@
-
+
seconds
@@ -1450,7 +1450,7 @@
-
+
milliseconds
@@ -1458,117 +1458,117 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
Minimum Takas Tutarı
-
+
WALLETNAME
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
@@ -1775,7 +1775,7 @@ Try again or select 'Allow custom seed' to continue.
-
+
@@ -1933,70 +1933,70 @@ They will be removed from the orderbook until you log in again.
Musluk
-
-
-
+
+
+
+
+
+
+
+
-
+
Panoya Kopyalandı
-
+
-
+
Henüz bu hisse senedi için grafik verisi yok
-
+
-
+
-
+
-
+
-
+
-
-
- Al Sat Bilgisi
-
-
-
+
Grafik
-
+
Emirler
-
+
Tarihçe
@@ -2068,6 +2068,19 @@ They will be removed from the orderbook until you log in again.
+
+ Market
+
+
+
+
+
+
+
+
+ En İyi Emirler
+
+
MarketModeSelector
@@ -2943,12 +2956,12 @@ Please select a new order.
ProView
-
+
Emir başarısız oldu
-
+
Emir başarılı
@@ -4254,37 +4267,32 @@ There is a toggle in settings where you can turn on/off the display of these tra
TradeViewHeader
-
+
-
+
-
+
-
+
Al Sat Bilgisi
-
-
- Emir Defteri
-
-
-
-
- En İyi Emirler
+
+
+
-
+
Emir Ver
@@ -4445,8 +4453,8 @@ There is a toggle in settings where you can turn on/off the display of these tra
Emir Defteri
-
-
+
+
@@ -4586,47 +4594,47 @@ This might take a few minutes...
%2 işlemi için gaz ödemek üzere %1'e sahip olmanız gerekir.
-
+
%1 için sağlama toplamı doğrulaması başarısız oldu.
-
+
-
+
-
+
%1 adresinin önüne 0x konulmalı
-
+
%1 adres uzunluğu geçersiz, lütfen geçerli bir adres kullanın.
-
+
-
+
-
+
-
+
diff --git a/src/core/atomicdex/config/coins.cfg.cpp b/src/core/atomicdex/config/coins.cfg.cpp
index 18aa67a1d5..9f0d9c806b 100644
--- a/src/core/atomicdex/config/coins.cfg.cpp
+++ b/src/core/atomicdex/config/coins.cfg.cpp
@@ -149,6 +149,11 @@ namespace atomic_dex
{
return std::any_of(g_faucet_coins.begin(), g_faucet_coins.end(), [ticker](std::string x) { return ticker == x; });
}
+ bool
+ is_vote_coin(std::string ticker)
+ {
+ return std::any_of(g_vote_coins.begin(), g_vote_coins.end(), [ticker](std::string x) { return ticker == x; });
+ }
void
from_json(const nlohmann::json& j, coin_config_t& cfg)
@@ -172,6 +177,7 @@ namespace atomic_dex
cfg.wallet_only = is_wallet_only(cfg.ticker) ? is_wallet_only(cfg.ticker) : j.contains("wallet_only") ? j.at("wallet_only").get() : false;
cfg.default_coin = is_default_coin(cfg.ticker);
cfg.is_faucet_coin = is_faucet_coin(cfg.ticker);
+ cfg.is_vote_coin = is_vote_coin(cfg.ticker);
cfg.checkpoint_height = 0;
cfg.checkpoint_blocktime = 0;
using namespace std::chrono;
diff --git a/src/core/atomicdex/config/coins.cfg.hpp b/src/core/atomicdex/config/coins.cfg.hpp
index 457b432e8e..7fb2927ddb 100644
--- a/src/core/atomicdex/config/coins.cfg.hpp
+++ b/src/core/atomicdex/config/coins.cfg.hpp
@@ -67,6 +67,7 @@ namespace atomic_dex
bool has_memos{false};
bool is_custom_coin{false};
bool is_faucet_coin{false};
+ bool is_vote_coin{false};
bool currently_enabled{false};
bool has_parent_fees_ticker{false}; ///< True if parent fees is different from current ticker eg: ERC20 tokens
bool is_erc_family{false};
@@ -102,5 +103,6 @@ namespace atomic_dex
bool is_wallet_only(std::string ticker);
bool is_default_coin(std::string ticker);
bool is_faucet_coin(std::string ticker);
+ bool is_vote_coin(std::string ticker);
} // namespace atomic_dex
\ No newline at end of file
diff --git a/src/core/atomicdex/constants/dex.constants.hpp b/src/core/atomicdex/constants/dex.constants.hpp
index 350793b461..7cda6d1817 100644
--- a/src/core/atomicdex/constants/dex.constants.hpp
+++ b/src/core/atomicdex/constants/dex.constants.hpp
@@ -17,7 +17,15 @@ namespace atomic_dex
"DOC",
"MARTY",
"ZOMBIE",
+ "IRISTEST",
};
+ inline const std::vector g_vote_coins{
+ "KIP0002",
+ "KIP0003",
+ "KIP0004",
+ "VOTE2024",
+ };
+
inline const std::vector g_wallet_only_coins{
"ARRR-BEP20",
"RBTC",
@@ -25,7 +33,10 @@ namespace atomic_dex
"PAXG-ERC20",
"USDT-ERC20",
"XPM",
- "VOTE2023",
+ "KIP0002",
+ "KIP0003",
+ "KIP0004",
+ "VOTE2024",
"ATOM"
};
}
diff --git a/src/core/atomicdex/models/qt.orderbook.model.hpp b/src/core/atomicdex/models/qt.orderbook.model.hpp
index 2ec3b7ef84..debd89eba3 100644
--- a/src/core/atomicdex/models/qt.orderbook.model.hpp
+++ b/src/core/atomicdex/models/qt.orderbook.model.hpp
@@ -53,30 +53,30 @@ namespace atomic_dex
PriceRole = Qt::UserRole + 1, // 257
CoinRole,
TotalRole,
- UUIDRole,
+ UUIDRole, // 260
IsMineRole,
PriceDenomRole,
PriceNumerRole,
PercentDepthRole,
- MinVolumeRole,
+ MinVolumeRole, // 265
EnoughFundsToPayMinVolume,
CEXRatesRole,
SendRole,
PriceFiatRole,
- HaveCEXIDRole,
+ HaveCEXIDRole, // 270
BaseMinVolumeRole,
BaseMinVolumeDenomRole,
BaseMinVolumeNumerRole,
BaseMaxVolumeRole,
- BaseMaxVolumeDenomRole,
+ BaseMaxVolumeDenomRole, // 275
BaseMaxVolumeNumerRole,
RelMinVolumeRole,
RelMinVolumeDenomRole,
RelMinVolumeNumerRole,
- RelMaxVolumeRole,
+ RelMaxVolumeRole, // 280
RelMaxVolumeDenomRole,
RelMaxVolumeNumerRole,
- NameAndTicker
+ NameAndTicker // 283
};
orderbook_model(kind orderbook_kind, ag::ecs::system_manager& system_mgr, QObject* parent = nullptr);
diff --git a/src/core/atomicdex/pages/qt.wallet.page.cpp b/src/core/atomicdex/pages/qt.wallet.page.cpp
index 7613bc8dc2..14b383dae8 100644
--- a/src/core/atomicdex/pages/qt.wallet.page.cpp
+++ b/src/core/atomicdex/pages/qt.wallet.page.cpp
@@ -269,6 +269,7 @@ namespace atomic_dex
{"transactions_left", 0},
{"current_block", 1},
{"is_faucet_coin", false},
+ {"is_vote_coin", false},
{"qrcode_address", ""},
{"segwit_supported", false}};
std::error_code ec;
@@ -303,6 +304,7 @@ namespace atomic_dex
obj["transactions_left"] = static_cast(tx_state.transactions_left);
obj["current_block"] = static_cast(tx_state.current_block);
obj["is_faucet_coin"] = coin_info.is_faucet_coin;
+ obj["is_vote_coin"] = coin_info.is_vote_coin;
std::error_code ec;
if (!mm2_system.is_zhtlc_coin_ready(coin_info.ticker))