Skip to content

Commit e4edd59

Browse files
Merge pull request #32 from KomodoPlatform/firoorg-dev
v0.7.0 Update
2 parents ba47993 + 9a8c542 commit e4edd59

File tree

345 files changed

+6228
-4475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

345 files changed

+6228
-4475
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Please describe what you expected to happen.
2626
**Operating Environment(s):**
2727
- OS: [e.g. Windows/OSX/Linux. If Linux, include distro. ]
2828
- OS version: [e.g. 7/10/11, 10.13/10.15, 18.04/20.04 ]
29-
- Komodo Wallet Version: [e.g. 0.6.1]
29+
- Komodo Wallet Version: [e.g. 0.7.0]
3030
- Build branch: [e.g. master/dev]
3131

3232

.github/workflows/firodex-desktop-cd.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
DEX_PROJECT_NAME: "firodex-desktop"
1010
DEX_DISPLAY_NAME: "FiroDex Desktop"
1111
DEX_COMPANY: "Firo Core Team"
12-
DEX_VERSION: "0.6.1"
12+
DEX_VERSION: "0.7.0"
1313
DEX_WEBSITE: "https://firo.org/"
1414

1515
jobs:
@@ -21,6 +21,13 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v2
2323

24+
- name: setup cache variables
25+
uses: actions/github-script@v6
26+
with:
27+
script: |
28+
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
29+
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
30+
2431
- name: Install QT (Linux/Release)
2532
uses: jurplel/install-qt-action@v2
2633
with:

.github/workflows/firodex-desktop-ci.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,18 @@ on:
1111
- cron: '0 0 * * 1'
1212

1313
env:
14-
DEX_API: "mm2"
15-
DEX_RPCPORT: 7783
16-
DEX_RPC: "http://127.0.0.1:7783"
14+
DEX_API: "mm2_firo"
15+
DEX_RPCPORT: 7653
16+
DEX_RPC: "http://127.0.0.1:7653"
1717
DEX_PROJECT_NAME: "firodex"
1818
DEX_DISPLAY_NAME: "Firo Dex"
1919
DEX_COMPANY: "Firo"
20+
DEX_VERSION: "0.7.0"
2021
DEX_WEBSITE: "https://firo.org/"
22+
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/b/vcpkg_cache
23+
VCPKG_BINARY_SOURCES: clear;x-gha,readwrite
24+
RUNVCPKG_VCPKG_ROOT: ${{ github.workspace }}\komodo-wallet-desktop\ci_tools_atomic_dex\vcpkg-repo
25+
VCPKG_ROOT: ${{ github.workspace }}\komodo-wallet-desktop\ci_tools_atomic_dex\vcpkg-repo
2126

2227
jobs:
2328

@@ -51,13 +56,13 @@ jobs:
5156
host: 'linux'
5257

5358
- name: osx-release
54-
os: macos-11
59+
os: macos-12
5560
qt: '5.15.2'
5661
type: 'Release'
5762
host: 'mac'
5863

5964
- name: osx-debug
60-
os: macos-11
65+
os: macos-12
6166
qt: '5.15.2'
6267
type: 'Debug'
6368
host: 'mac'
@@ -80,6 +85,13 @@ jobs:
8085
ref: ${{ github.event.pull_request.head.sha }}
8186
submodules: 'true'
8287

88+
- name: setup cache variables
89+
uses: actions/github-script@v6
90+
with:
91+
script: |
92+
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
93+
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
94+
8395
- name: Setup Python
8496
uses: actions/setup-python@v4
8597
with:

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include(vcpkg_prerequisites)
1111
include(qt_prerequisites)
1212
include(cfg_hash)
1313

14-
project(${DEX_PROJECT_NAME} LANGUAGES CXX VERSION 0.6.1)
14+
project(${DEX_PROJECT_NAME} LANGUAGES CXX VERSION 0.7.0)
1515
message(STATUS "${PROJECT_NAME} is version ${PROJECT_VERSION}")
1616

1717
include(cmake_default_options)
@@ -60,13 +60,13 @@ endif ()
6060
##! We fetch our dependencies
6161
if (APPLE)
6262
FetchContent_Declare(mm2
63-
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v1.0.7-beta/mm2-79f620559-Darwin-Release.zip)
63+
URL https://sdk.devbuilds.komodo.earth/main/mm2_b0fd99e-mac-x86-64.zip)
6464
elseif (UNIX AND NOT APPLE)
6565
FetchContent_Declare(mm2
66-
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v1.0.7-beta/mm2-79f620559-Linux-Release.zip)
66+
URL https://sdk.devbuilds.komodo.earth/main/mm2_b0fd99e-linux-x86-64.zip)
6767
else ()
6868
FetchContent_Declare(mm2
69-
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v1.0.7-beta/mm2-79f620559-Win64.zip)
69+
URL https://sdk.devbuilds.komodo.earth/main/mm2_b0fd99e-win-x86-64.zip)
7070
endif ()
7171

7272
#FetchContent_Declare(qmaterial URL https://github.com/KomodoPlatform/Qaterial/archive/last-clang-working-2.zip)

assets/config/cfg.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"notification_enabled": true,
33
"spamfilter_enabled": false,
4+
"use_static_rpcpass": false,
45
"current_currency": "USD",
56
"current_fiat": "USD",
67
"current_currency_sign": "$",
@@ -40,9 +41,13 @@
4041
"HUF": "Ft",
4142
"SEK": "kr",
4243
"KMD": "KMD",
44+
"DOGE": "Ð",
45+
"ETH": "",
46+
"ETH_ALT": "Ξ",
4347
"BTC": "",
4448
"BTC_ALT": "฿",
45-
"LTC": "Ł"
49+
"LTC": "Ł",
50+
"FIRO": "FIRO"
4651
},
4752
"available_fiat": [
4853
"USD",
@@ -90,6 +95,9 @@
9095
"possible_currencies": [
9196
"USD",
9297
"BTC",
93-
"KMD"
98+
"KMD",
99+
"LTC",
100+
"DOGE",
101+
"FIRO"
94102
]
95103
}

atomic_defi_design/Dex/Addressbook/AddAddressForm.qml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ Dex.Rectangle
3131
case "QRC-20": return "QTUM"
3232
case "BEP-20": return "BNB"
3333
case "ERC-20": return "ETH"
34+
case "AVX-20": return "AVAX"
35+
case "FTM-20": return "FTM"
36+
case "PLG-20": return "MATIC"
3437
case "Smart Chain": return "KMD"
3538
case "SLP": return "USDT-SLP"
3639
}
@@ -49,6 +52,9 @@ Dex.Rectangle
4952
case "QRC-20": return true
5053
case "BEP-20": return true
5154
case "ERC-20": return true
55+
case "PLG-20": return true
56+
case "AVX-20": return true
57+
case "FTM-20": return true
5258
case "Smart Chain": return true
5359
case "SLP": return true
5460
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import QtQuick 2.15
2+
3+
DefaultTextField
4+
{
5+
validator: RegExpValidator
6+
{
7+
regExp: /([0-9]*[.])?[0-9]+/
8+
}
9+
}

atomic_defi_design/Dex/Components/AmountIntField.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import QtQuick 2.15
22

33
DefaultTextField
44
{
5+
property bool allowFloat: false
56
validator: RegExpValidator
67
{
7-
regExp: /[0-9]+/
8+
regExp: allowFloat ? /([0-9]*[.])?[0-9]+/ : /[0-9]+/
89
}
910
}

atomic_defi_design/Dex/Components/CoinMenu.qml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Menu {
2727

2828
MenuItem {
2929
id: disable_action
30+
height: 40
3031
text: qsTr("Disable %1", "TICKER").arg(ticker)
3132
onTriggered: API.app.disable_coins([ticker])
3233
enabled: can_disable
@@ -41,22 +42,27 @@ Menu {
4142
restart_modal.open()
4243
}
4344
enabled: disable_action.enabled && API.app.portfolio_pg.global_cfg_mdl.get_coin_info(ticker).is_custom_coin
45+
visible: enabled
46+
height: enabled ? 40 : 0
4447
}
4548

4649
MenuItem {
50+
height: 40
4751
enabled: !General.prevent_coin_disabling.running
4852
text: qsTr("Disable all %1 assets").arg(type)
4953
onTriggered: API.app.disable_coins(API.app.portfolio_pg.get_all_coins_by_type(type))
5054
}
5155

5256
MenuItem {
57+
height: 40
5358
enabled: !General.prevent_coin_disabling.running
5459
text: qsTr("Disable all assets")
5560
onTriggered: API.app.disable_coins(API.app.portfolio_pg.get_all_enabled_coins())
5661
}
5762

5863
MenuItem
5964
{
65+
height: 40
6066
enabled: !General.prevent_coin_disabling.running
6167
text: qsTr("Disable 0 balance assets")
6268
onTriggered: API.app.disable_no_balance_coins()

atomic_defi_design/Dex/Components/SetupPage.qml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Item
4444

4545
leftPadding: 30
4646
rightPadding: leftPadding
47-
topPadding: leftPadding * 0.5
48-
bottomPadding: topPadding
47+
topPadding: 12
48+
bottomPadding: 12
4949
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
5050

5151
background: DefaultRectangle
@@ -69,9 +69,9 @@ Item
6969

7070
DexLanguage
7171
{
72-
y: 52
72+
y: 24
7373
anchors.right: parent.right
74-
anchors.rightMargin: 52
74+
anchors.rightMargin: 24
7575
width: 72
7676
}
7777

0 commit comments

Comments
 (0)