Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.32.0 #1368

Merged
merged 1,423 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1423 commits
Select commit Hold shift + click to select a range
4fed4fe
update wallet 1.18.8 (#1110)
Nikita-Polyakov Jul 25, 2023
0641d9d
Fix sub bridge tracking issues (#1104)
Nikita-Polyakov Jul 26, 2023
fd7a208
[Bridge UI] Use xcm fee in amount calculations (#1112)
Nikita-Polyakov Jul 27, 2023
c340b96
Fix node name in status bar (#1113)
stefashkaa Jul 28, 2023
78e3464
Add soramitsu node (#1114)
stefashkaa Aug 1, 2023
ba2e3b3
update wallet 1.18.9 (#1115)
Nikita-Polyakov Aug 1, 2023
99af856
Update nodes names (#1116)
stefashkaa Aug 1, 2023
5e58e89
[Tech] Testing workflow (#1111)
RustemYuzlibaev Aug 2, 2023
9f9cef6
remove sora parachain xcm fee, update rococo event (#1120)
Nikita-Polyakov Aug 3, 2023
f53ab26
update wallet with google login (#1121)
Nikita-Polyakov Aug 4, 2023
ce84d36
Get blacklisted countries from ipfs (#1122)
stefashkaa Aug 7, 2023
2090809
update wallet with google seed fix (#1124)
Nikita-Polyakov Aug 9, 2023
514efe6
Sub history restoration update (#1127)
Nikita-Polyakov Aug 14, 2023
df9ab2d
fix decimals in locked balance check (#1128)
Nikita-Polyakov Aug 15, 2023
4101a04
Update KycView.vue (#1131)
RustemYuzlibaev Aug 15, 2023
fe33582
Fix release 1.19 (#1134)
stefashkaa Aug 17, 2023
cbcfc49
fix decimals usage (#1136)
Nikita-Polyakov Aug 17, 2023
7dad309
Use address book in sub bridge (#1133)
Nikita-Polyakov Aug 18, 2023
d00a6dc
Fix release 1.20 (#1141)
stefashkaa Aug 21, 2023
a515c1a
added wallet translations for swap transfer batch extrinsic
timofeytrepalin Aug 22, 2023
49aeecd
Vue 2.7.14 & update packages (#1145)
Nikita-Polyakov Aug 24, 2023
714ac41
Pools & Explore pages default sort (#1146)
Nikita-Polyakov Aug 25, 2023
9abf901
send sora card refresh token (#1140)
MaksimBaranov98 Aug 31, 2023
6945bcd
Refactoring (#1148)
MaksimBaranov98 Aug 31, 2023
b0a90cd
unify payment systems (#1048)
RustemYuzlibaev Sep 5, 2023
b8977a8
Update ethers library to v6 (#1147)
Nikita-Polyakov Sep 5, 2023
68cdf23
ADAR name is const now
timofeytrepalin Sep 6, 2023
0f1769a
Merge branch 'develop' into feature/adar-wallet-translations
timofeytrepalin Sep 6, 2023
004e16b
updated localize for adar
timofeytrepalin Sep 6, 2023
9e8f5b2
Update swap subscription (#1150)
Nikita-Polyakov Sep 6, 2023
377195c
Fix dev branch issues (#1152)
stefashkaa Sep 8, 2023
5d50dfb
fix json import (#1153)
Nikita-Polyakov Sep 8, 2023
343d69c
Merge branch 'develop' into feature/adar-wallet-translations
timofeytrepalin Sep 11, 2023
5d5ef7a
bump wallet version and update yarn lock
timofeytrepalin Sep 11, 2023
26ab290
Merge pull request #1144 from sora-xor/feature/adar-wallet-translations
timofeytrepalin Sep 11, 2023
3dce06c
Swap quote subscription (#1156)
Nikita-Polyakov Sep 12, 2023
d5c4d18
add try catch to subscriptions (#1157)
Nikita-Polyakov Sep 13, 2023
5d770f5
update wallet 1.21.8 (#1158)
Nikita-Polyakov Sep 13, 2023
b761952
allow select node while node is connecting (#1159)
Nikita-Polyakov Sep 14, 2023
556c9f7
revise & dashboard (#1129)
RustemYuzlibaev Sep 15, 2023
42296ad
Fix release 1.21 issues (#1160)
stefashkaa Sep 15, 2023
f4a5536
Remove synths blockers from Add LP (#1162)
stefashkaa Sep 15, 2023
29c7c56
Add synthetic switcher to select asset (#1161)
Nikita-Polyakov Sep 15, 2023
752e022
Improve ads (#1163)
stefashkaa Sep 18, 2023
e79d1cf
Add debounce to resize event (#1164)
stefashkaa Sep 18, 2023
f002538
Fix content bottom margin (#1165)
stefashkaa Sep 18, 2023
e45e836
Update App.vue (#1167)
stefashkaa Sep 18, 2023
fa38021
Merge master (#1168)
stefashkaa Sep 18, 2023
ddf64de
fix (#1172)
RustemYuzlibaev Sep 21, 2023
fd511d0
Fix release 1.21 issues (#1175)
stefashkaa Sep 21, 2023
dfe112c
Enable supply chart for all tokens (#1170)
stefashkaa Sep 26, 2023
d3c3d70
[Bridge] Add Min & Max limits (#1151)
Nikita-Polyakov Sep 26, 2023
c101945
Fix sub bridge address issues (#1180)
Nikita-Polyakov Sep 28, 2023
5e7bc27
Remove ~ sign (#1179)
stefashkaa Sep 28, 2023
2162c06
Fix assets sorting order in swap and bridge (#1181)
Nikita-Polyakov Sep 28, 2023
1b63084
Add scroll into view (#1182)
stefashkaa Sep 28, 2023
ae2c902
Fix sub bridge sora fee & fix eth history restoration (#1183)
Nikita-Polyakov Sep 29, 2023
c64df58
Add XCM fee to transaction details & some fixes (#1185)
Nikita-Polyakov Oct 2, 2023
4dd1431
Update marketing.json (#1186)
stefashkaa Oct 3, 2023
ea6ea75
Subsquid support implementation (#1049)
Sociopacific Oct 10, 2023
ea66e0e
card balance appearance (#1173)
RustemYuzlibaev Oct 10, 2023
6421b3c
UI improvements (#1189)
Nikita-Polyakov Oct 11, 2023
58b96d8
update SelectIndexer modal (#1190)
Nikita-Polyakov Oct 11, 2023
86a055e
add walletconnect verification txt file (#1193)
Nikita-Polyakov Oct 12, 2023
b64cf68
Fix assets query (#1196)
Sociopacific Oct 16, 2023
53c79ce
Update Jenkinsfile (#1197)
f33r0 Oct 17, 2023
45cf5b6
fix subquery bridge history (#1200)
Nikita-Polyakov Oct 23, 2023
7a9736a
Add xorless transfer history support (#1203)
Nikita-Polyakov Oct 26, 2023
b5439cb
remove misleading option (#1204)
RustemYuzlibaev Oct 27, 2023
a4d9c6c
add langs (#1205)
RustemYuzlibaev Oct 27, 2023
51b08e1
SORA Card: Add country selector (#1206)
stefashkaa Oct 30, 2023
bd66c12
remove css and if-statement (#1207)
RustemYuzlibaev Oct 30, 2023
33dc26d
Sustrate bridge prod prepare (#1211)
Nikita-Polyakov Nov 2, 2023
65999bd
Ceres fiat option (#1212)
Nikita-Polyakov Nov 2, 2023
63dbf8b
Update Jenkinsfile
f33r0 Nov 3, 2023
85ebc2e
Update Jenkinsfile
f33r0 Nov 3, 2023
e9aba41
Merge pull request #1213 from sora-xor/f33r0-patch-1
f33r0 Nov 3, 2023
0c2e517
Fix circulating supply for VAL & PSWAP on prod env (#1215)
stefashkaa Nov 7, 2023
7a27601
[WIP] WalletConnect support (#1195)
Nikita-Polyakov Nov 7, 2023
ea8b2bf
update wallet to 1.25.1 (#1216)
Nikita-Polyakov Nov 8, 2023
4cef624
Add crowdloan banner (#1217)
stefashkaa Nov 8, 2023
6e39c81
Update Payment.vue (#1220)
RustemYuzlibaev Nov 9, 2023
10cf54a
Update KycView.vue (#1224)
RustemYuzlibaev Nov 16, 2023
2d5986b
Update subquery request for Tokens page (#1201)
Nikita-Polyakov Nov 20, 2023
56377b8
[Bridge] Add max prefix to external network fee (#1227)
Nikita-Polyakov Nov 20, 2023
8d01124
Sora staking implementation
Sociopacific Nov 21, 2023
318fae5
[Bridge] Enable WalletConnect (#1228)
Nikita-Polyakov Nov 21, 2023
4df2a88
[Bridge] UI improvements (#1222)
Nikita-Polyakov Nov 21, 2023
36b317a
Merge branch 'develop' into feature/sora-staking
stefashkaa Nov 22, 2023
5200af6
Fixes
Sociopacific Nov 23, 2023
4349ce8
Fixes
Sociopacific Nov 28, 2023
5d19655
add sora parachain for network selection
Nikita-Polyakov Nov 22, 2023
f3e55b7
prepare connector for refactoring
Nikita-Polyakov Nov 22, 2023
0f8789f
refactoring SubNetworksConnector
Nikita-Polyakov Nov 23, 2023
1add0c1
wip outgoing reducer
Nikita-Polyakov Nov 23, 2023
5fcec37
fix network fee
Nikita-Polyakov Nov 23, 2023
b43137a
parachain tx tracking
Nikita-Polyakov Nov 23, 2023
8a9dfd3
refactoring connector
Nikita-Polyakov Nov 23, 2023
ee427fd
add sora parachain icon example
Nikita-Polyakov Nov 23, 2023
f1817c9
add scrollbar to networks list
Nikita-Polyakov Nov 23, 2023
ec326d8
sora parachain history restoration
Nikita-Polyakov Nov 24, 2023
864bdb0
small fixes
Nikita-Polyakov Nov 24, 2023
86ed87d
sonar refactoring
Nikita-Polyakov Nov 24, 2023
1e457ee
update short names
Nikita-Polyakov Nov 24, 2023
09d3991
improve sub bridge history restoration
Nikita-Polyakov Nov 24, 2023
ae00847
restore refunded transactions
Nikita-Polyakov Nov 25, 2023
9fb75bb
improve history restoration parachain part
Nikita-Polyakov Nov 26, 2023
5295203
[fix] clean history only for selected network
Nikita-Polyakov Nov 27, 2023
96d3e02
revert env.json
Nikita-Polyakov Nov 27, 2023
30b9bb8
refactoring history restoration
Nikita-Polyakov Nov 27, 2023
6e1daf2
update wallet 1.26.3
Nikita-Polyakov Nov 28, 2023
c46d295
up version
Nikita-Polyakov Nov 28, 2023
9d0cbd1
set detectEthereumProvider arg mustBeMetaMask to true
Nikita-Polyakov Nov 28, 2023
f941867
Fixes
Sociopacific Nov 28, 2023
55a622c
Bond and nominate in one action
Sociopacific Nov 28, 2023
55a6626
Fix keys
Sociopacific Nov 28, 2023
106a2a9
SORA parachain bridge (#1231)
Nikita-Polyakov Nov 28, 2023
94e9936
Show swap distribution (#1191)
Nikita-Polyakov Nov 28, 2023
c94ef69
Fix bridge issues (#1232)
Nikita-Polyakov Nov 30, 2023
78f09f1
Whitelist usage rationalization (#1234)
Nikita-Polyakov Nov 30, 2023
e60ddc7
Fixes
Sociopacific Dec 1, 2023
7cd7058
SORA parachain bridge (#1231)
Nikita-Polyakov Nov 28, 2023
051458e
Show swap distribution (#1191)
Nikita-Polyakov Nov 28, 2023
742bc20
Fix bridge issues (#1232)
Nikita-Polyakov Nov 30, 2023
520ce64
Whitelist usage rationalization (#1234)
Nikita-Polyakov Nov 30, 2023
157744f
Merge branch 'develop' into feature/sora-staking
Sociopacific Dec 1, 2023
dcaf51f
tokens page fallback & wallet 1.26.5 (#1238)
Nikita-Polyakov Dec 5, 2023
97e7fe5
fix prices precision on chart (#1240)
Nikita-Polyakov Dec 5, 2023
7138e47
Fix chart Y axis for assets with very low price (#1241)
Nikita-Polyakov Dec 5, 2023
85deb89
Fix release 1.26.0 issues (#1239)
stefashkaa Dec 5, 2023
e3f6667
Bridge sub account & token autoselects (#1242)
Nikita-Polyakov Dec 5, 2023
d55d41d
fix bridge max value precision (#1244)
Nikita-Polyakov Dec 6, 2023
7b0ca36
Fix bridge fees issues (#1246)
Nikita-Polyakov Dec 6, 2023
7928d33
Some fixes
Sociopacific Dec 11, 2023
9f0687b
Chart, Bridge, Wallet, ADAR fixes (#1247)
Nikita-Polyakov Dec 11, 2023
9eea875
Merge branch 'develop' into feature/sora-staking
stefashkaa Dec 11, 2023
7a1959d
Merge remote-tracking branch 'origin/develop' into feature/sora-staking
Nikita-Polyakov Dec 11, 2023
2391ec4
Merge branch 'feature/sora-staking' of github.com:sora-xor/polkaswap-…
Nikita-Polyakov Dec 11, 2023
f8f3239
Update ValidatorsDialog.vue
stefashkaa Dec 11, 2023
987eade
Fix
Sociopacific Dec 12, 2023
a38e306
Xor commission fix
Sociopacific Dec 12, 2023
df1f4bc
Add vote on survey and new banner (#1251)
stefashkaa Dec 19, 2023
657da31
Fixes
Sociopacific Dec 19, 2023
adbc179
Merge branch 'develop' into feature/sora-staking
Naghme98 Dec 19, 2023
5daa766
Fixes
Sociopacific Dec 20, 2023
bbf4c9d
Fixes
Sociopacific Dec 20, 2023
4a62515
Translation fix
Sociopacific Dec 20, 2023
f58bc60
Editable fiat amount in input (#1250)
Nikita-Polyakov Dec 20, 2023
977281b
Fix colors
Sociopacific Dec 21, 2023
3bd225e
Fix
Sociopacific Dec 21, 2023
3c881e4
Merge branch 'develop' into feature/sora-staking
C4tWithShell Dec 21, 2023
249e92f
Fixes
Sociopacific Dec 22, 2023
277f6bd
Fixes
Sociopacific Dec 26, 2023
7492e59
Fix
Sociopacific Dec 26, 2023
b399b9c
Remove imports
Sociopacific Dec 26, 2023
b8e21fc
fix chart current price (#1256)
Nikita-Polyakov Dec 26, 2023
d9452fc
Merge branch 'develop' into feature/sora-staking
Nikita-Polyakov Dec 26, 2023
214246d
refactoring
Nikita-Polyakov Dec 26, 2023
e49ca26
remove lib from resolutions
Nikita-Polyakov Dec 26, 2023
58a72cb
fix retry button visibility (#1254)
Nikita-Polyakov Dec 27, 2023
60f3a14
Sidebar hide button (#1249)
Nikita-Polyakov Dec 27, 2023
f14f11e
Improve Eth bridge fees calculation (#1257)
Nikita-Polyakov Dec 27, 2023
10b9d60
Fix rewards destination
Sociopacific Dec 26, 2023
bed4316
Fixes
Sociopacific Dec 28, 2023
c12193f
Fixes
Sociopacific Dec 28, 2023
8826ed6
Revert env.json
Sociopacific Dec 28, 2023
6c3644b
Fixes
Sociopacific Dec 28, 2023
350822e
Remove tooltip
Sociopacific Dec 28, 2023
db6a4d5
Merge branch 'develop' into feature/sora-staking
Sociopacific Dec 28, 2023
b8c7bbc
Translation fix
Sociopacific Dec 28, 2023
3661053
Remove utils
Sociopacific Dec 28, 2023
4682b79
Rename function
Sociopacific Dec 28, 2023
cf2bd56
Fix translation file
Sociopacific Dec 28, 2023
21c2917
Remove all rewards info
Sociopacific Dec 28, 2023
6f6ab1f
Fix styles
Sociopacific Dec 28, 2023
2ac0c6f
Merge pull request #1230 from sora-xor/feature/sora-staking
Sociopacific Dec 28, 2023
19b77e0
Staking badge click (#1258)
Sociopacific Dec 29, 2023
39cc198
Validators search input fix (#1262)
Sociopacific Dec 29, 2023
0a45bb4
Fix release issues 1.27 (#1261)
stefashkaa Dec 29, 2023
9ad9676
Refactor staking (#1263)
stefashkaa Dec 30, 2023
822bb7c
Add staking routing in menu (#1265)
stefashkaa Jan 4, 2024
411cdd8
Correct staking balance formatting (#1267)
Sociopacific Jan 10, 2024
df83289
Add 6M filter for stats page (#1270)
stefashkaa Jan 12, 2024
8009b46
Add sora card maintenance page (#1269) (#1271)
stefashkaa Jan 12, 2024
5712950
Improve zh_CN keys (#1272)
stefashkaa Jan 12, 2024
08cf030
Update dojoProductType
marat-biriushev Jan 18, 2024
0a0d250
[Bridge] Add Polkadot bridge support (#1277)
Nikita-Polyakov Jan 19, 2024
fb9725d
[BRIDGE] check for asset valid address on bridge contract (#1283)
Nikita-Polyakov Jan 22, 2024
5f22b5b
Prepare prod config (#1285)
stefashkaa Jan 23, 2024
d9c7ddd
Merge branch 'develop' into feature/DOPS-2950
marat-biriushev Jan 24, 2024
1f0ba51
Merge pull request #1279 from sora-xor/feature/DOPS-2950
marat-biriushev Jan 24, 2024
60f0902
fix ss58 check (#1289)
Nikita-Polyakov Jan 25, 2024
5eddda7
set kusama incoming xcm fee 0.01KSM (#1290)
Nikita-Polyakov Jan 27, 2024
92a0f50
order book (#1089)
RustemYuzlibaev Jan 29, 2024
f8e2afe
Fix 1.29 release (#1292)
stefashkaa Jan 29, 2024
abb496f
Update BuySell.vue (#1295)
RustemYuzlibaev Jan 30, 2024
8f3f355
Single chart filter (#1293)
Nikita-Polyakov Jan 30, 2024
54aef36
fix (#1296)
RustemYuzlibaev Jan 31, 2024
237061a
Feature/order book translations (#1284)
RustemYuzlibaev Feb 2, 2024
bb664a9
Explore order books (#1276)
Nikita-Polyakov Feb 5, 2024
837581c
Fix explore books sorting (#1299)
Nikita-Polyakov Feb 8, 2024
6031a44
Fix release 1.29 (#1294)
stefashkaa Feb 9, 2024
2ea408d
Fix orderbook notifications and orders history (#1300)
stefashkaa Feb 10, 2024
ec5768f
Fix 1.29 issues (#1303)
stefashkaa Feb 12, 2024
70c9f83
Update AppMenu.vue (#1304)
stefashkaa Feb 12, 2024
161d6c3
Fix 1.29.0 issues (#1306)
stefashkaa Feb 13, 2024
3813dd1
Update subquery endpoint (#1308)
stefashkaa Feb 13, 2024
9cb738b
update wallet 1.29.8 (#1309)
Nikita-Polyakov Feb 13, 2024
ff3dee4
Fix explore menu navigation (#1310)
stefashkaa Feb 14, 2024
b0b689c
Fix cancel all orders (#1313)
stefashkaa Feb 14, 2024
91397ab
Replace explore tabs with dropdown
stefashkaa Feb 15, 2024
48dbf65
Update soramitsuUI.ts
stefashkaa Feb 15, 2024
063d921
Update Container.vue
stefashkaa Feb 15, 2024
4ba41b0
Fix selected colors
stefashkaa Feb 15, 2024
01612cc
Update BuySell.vue (#1301)
RustemYuzlibaev Feb 15, 2024
3829696
add missing balance to token (#1315)
RustemYuzlibaev Feb 15, 2024
729a82e
Merge branch 'develop' into feature/responsive-explore-page-menu
Sociopacific Feb 15, 2024
e7eb5b8
Merge pull request #1316 from sora-xor/feature/responsive-explore-pag…
Sociopacific Feb 15, 2024
eb77030
Fix bridge tx sign with google & mint\burn translations (#1323)
Nikita-Polyakov Feb 20, 2024
6ca8ea0
Add KEN distribution page (#1320)
stefashkaa Feb 20, 2024
f6af950
validation refactoring (#1319)
RustemYuzlibaev Feb 21, 2024
9e631df
Update en.json (#1327)
RustemYuzlibaev Feb 21, 2024
20939f5
Fix ken title (#1330)
stefashkaa Feb 21, 2024
ef37fab
fix (#1331)
RustemYuzlibaev Feb 22, 2024
5abcf60
Staking fixes (#1268)
Sociopacific Feb 22, 2024
4d6b7a5
expand total text (#1333)
RustemYuzlibaev Feb 23, 2024
a120ce4
[Bridge] fix insufficient balance check (#1329)
Nikita-Polyakov Feb 23, 2024
4880a46
update order book quote subscription (#1335)
Nikita-Polyakov Feb 26, 2024
9f09df4
[Tech] queries from wallet (#1336)
Nikita-Polyakov Feb 28, 2024
5ecb54d
Сhart volume update (#1332)
Nikita-Polyakov Feb 28, 2024
87c6ed3
[Tech] update packages (#1337)
Nikita-Polyakov Feb 28, 2024
853c393
Fix SubsquidOrderBooksQuery
Sociopacific Mar 6, 2024
9aff6b2
Merge pull request #1344 from sora-xor/fix/subsquid-order-books-query
Sociopacific Mar 7, 2024
bda74c6
Fix chart volume update for XOR (#1348)
Nikita-Polyakov Mar 14, 2024
06bf20b
Fix Eth bridge tx replacement (#1350)
Nikita-Polyakov Mar 15, 2024
af885fe
Update package.json (#1353)
stefashkaa Mar 21, 2024
4fa7252
Demeter fixes (#1355)
Nikita-Polyakov Mar 22, 2024
32646a4
Fix quote rpc (#1356)
stefashkaa Mar 22, 2024
fa1824d
Remove new stake page (#1343)
Sociopacific Mar 25, 2024
6ecf97f
Add swap last transactions widget (#1342)
Nikita-Polyakov Mar 25, 2024
357bdbf
Fix issues after PRs merge (#1360)
stefashkaa Mar 25, 2024
d969809
[Sub Bridge] add ability to select substrate node (#1346)
Nikita-Polyakov Mar 26, 2024
1339fca
Add skeleton to swap distribution widget (#1361)
Nikita-Polyakov Mar 26, 2024
742a1cf
Fix 1.32 issues (#1363)
stefashkaa Mar 28, 2024
4713ea3
Add links to bridge transfer modal (#1362)
Nikita-Polyakov Mar 28, 2024
4714977
Improve bridge icons (#1364)
stefashkaa Mar 29, 2024
1a1b78d
Add orderbook research link (#1366)
stefashkaa Mar 29, 2024
f6f826f
improve external links (#1367)
Nikita-Polyakov Mar 29, 2024
0e87f82
Merge branch 'develop' into release/1.32.0-mainnet
stefashkaa Mar 29, 2024
08974fe
Fix conflicts
stefashkaa Mar 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions env.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@
"NETWORK_TYPE": "Prod",
"CHAIN_GENESIS_HASH": "0x7e4e32d0feafd4f9c9414b0be86373f9a1efa904809b683453a9af6856d38ad5",
"SUB_NETWORKS": {
"Kusama": "wss://kusama-rpc.dwellir.com",
"KusamaSora": "wss://ws.parachain-collator-2.c2.sora2.soramitsu.co.jp",
"Polkadot": "wss://polkadot-rpc.dwellir.com",
"PolkadotSora": "wss://ws.parachain-collator-3.pc3.sora2.soramitsu.co.jp"
"Kusama": true,
"KusamaSora": true,
"Polkadot": true,
"PolkadotSora": true,
"Liberland": true
},
"EVM_NETWORKS_IDS": [56, 8217],
"ETH_BRIDGE": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"dependencies": {
"@metamask/detect-provider": "^2.0.0",
"@soramitsu/soraneo-wallet-web": "1.32.5",
"@soramitsu/soraneo-wallet-web": "1.32.6",
"@walletconnect/ethereum-provider": "^2.11.2",
"@walletconnect/modal": "^2.6.2",
"core-js": "^3.36.0",
Expand Down
33 changes: 27 additions & 6 deletions public/env.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
"chain": "SORA-dev Testnet #3",
"name": "SORA",
"address": "wss://ws.framenode-3.r0.dev.sora2.soramitsu.co.jp"
},
{
"chain": "SORA-dev Liberland",
"name": "SORA",
"address": "wss://ws.framenode-1.lib1.dev.sora2.soramitsu.co.jp"
}
],
"SUBQUERY_ENDPOINT": "https://api.subquery.network/sq/sora-xor/sora-dev",
Expand All @@ -41,11 +46,27 @@
"CHAIN_GENESIS_HASH": "",
"EVM_NETWORKS_IDS": [97, 1001],
"SUB_NETWORKS": {
"Rococo": "wss://ws.relaychain-node-1.r1.dev.sora2.soramitsu.co.jp",
"RococoSora": "wss://ws.parachain-collator-1.c1.dev.sora2.soramitsu.co.jp",
"Kusama": "wss://kusama-rpc.polkadot.io",
"KusamaSora": "wss://ws.parachain-collator-1.c1.sora2.soramitsu.co.jp",
"Polkadot": "wss://rpc.polkadot.io"
"Rococo": [
{
"chain": "Rococo Dev Testnet",
"name": "Soramitsu",
"address": "wss://ws.relaychain-node-1.r1.dev.sora2.soramitsu.co.jp"
}
],
"RococoSora": [
{
"chain": "SORA Rococo Parachain Dev Testnet",
"name": "Soramitsu",
"address": "wss://ws.parachain-collator-1.c1.dev.sora2.soramitsu.co.jp"
}
],
"Liberland": [
{
"chain": "Liberland Dev Testnet",
"name": "Soramitsu",
"address": "wss://rpc.liberland-1.lib1.dev.sora2.soramitsu.co.jp"
}
]
},
"ETH_BRIDGE": {
"evmNetwork": 11155111,
Expand All @@ -55,4 +76,4 @@
"OTHER": "0x401c6A23a44f72151D90878DF0aa86E77fBde0e2"
}
}
}
}
7 changes: 6 additions & 1 deletion public/marketing.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
[
{
"title": "ORDERBOOK SURVEY",
"img": "/marketing/orderbook.png",
"link": "https://form.typeform.com/to/DMieGaJI"
},
{
"title": "GET SORA CARD",
"img": "/marketing/card.png",
"link": "/#/card"
"link": "https://soracard.com"
},
{
"title": "CONNECT WITH GOOGLE",
Expand Down
Binary file modified public/marketing/card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/marketing/google.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/marketing/orderbook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/marketing/synths.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 33 additions & 29 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ import {
WALLET_CONSTS,
WALLET_TYPES,
AlertsApiService,
initWallet,
waitForCore,
} from '@soramitsu/soraneo-wallet-web';
import debounce from 'lodash/debounce';
import { Component, Mixins, Watch } from 'vue-property-decorator';
Expand All @@ -54,15 +56,15 @@ import AppHeader from '@/components/App/Header/AppHeader.vue';
import AppMenu from '@/components/App/Menu/AppMenu.vue';
import NodeErrorMixin from '@/components/mixins/NodeErrorMixin';
import SoraLogo from '@/components/shared/Logo/Sora.vue';
import { PageNames, Components, Language, BreakpointClass, Breakpoint } from '@/consts';
import { PageNames, Components, Language, BreakpointClass, Breakpoint, WalletPermissions } from '@/consts';
import { getLocale } from '@/lang';
import router, { goTo, lazyComponent } from '@/router';
import { action, getter, mutation, state } from '@/store/decorators';
import { getMobileCssClasses, preloadFontFace, updateDocumentTitle } from '@/utils';
import type { NodesConnection } from '@/utils/connection';

import type { FeatureFlags } from './store/settings/types';
import type { EthBridgeSettings, SubNetworkApps } from './store/web3/types';
import type { ConnectToNodeOptions, Node } from './types/nodes';
import type { History, HistoryItem } from '@sora-substrate/util';
import type { WhitelistArrayItem } from '@sora-substrate/util/build/assets/types';
import type { EvmNetwork } from '@sora-substrate/util/build/bridgeProxy/evm/types';
Expand Down Expand Up @@ -95,13 +97,15 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
showNotifsDarkPage = false;
responsiveClass = BreakpointClass.LargeDesktop;

@state.settings.appConnection appConnection!: NodesConnection;
@state.settings.browserNotifPopupVisibility private browserNotifPopup!: boolean;
@state.settings.browserNotifPopupBlockedVisibility private browserNotifPopupBlocked!: boolean;
@state.wallet.account.assetsToNotifyQueue assetsToNotifyQueue!: Array<WhitelistArrayItem>;
@state.referrals.storageReferrer storageReferrer!: string;
@state.settings.disclaimerVisibility disclaimerVisibility!: boolean;
@state.router.loading pageLoading!: boolean;

@getter.settings.nodeIsConnected nodeIsConnected!: boolean;
@getter.settings.chartsEnabled private chartsEnabled!: boolean;
@getter.wallet.transactions.firstReadyTx firstReadyTransaction!: Nullable<HistoryItem>;
@getter.wallet.account.isLoggedIn isSoraAccountConnected!: boolean;
Expand All @@ -114,8 +118,6 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
endpoint: string;
}) => void;

@mutation.settings.setDefaultNodes private setDefaultNodes!: (nodes: Array<Node>) => void;
@mutation.settings.setNetworkChainGenesisHash private setNetworkChainGenesisHash!: (hash?: string) => void;
@mutation.settings.setFaucetUrl private setFaucetUrl!: (url: string) => void;
@mutation.settings.setFeatureFlags private setFeatureFlags!: (data: FeatureFlags) => void;
@mutation.settings.setBrowserNotifsPopupEnabled private setBrowserNotifsPopup!: (flag: boolean) => void;
Expand All @@ -125,15 +127,14 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
@mutation.settings.setScreenBreakpointClass private setScreenBreakpointClass!: (cssClass: string) => void;
@mutation.referrals.unsubscribeFromInvitedUsers private unsubscribeFromInvitedUsers!: FnWithoutArgs;
@mutation.web3.setEvmNetworksApp private setEvmNetworksApp!: (data: EvmNetwork[]) => void;
@mutation.web3.setSubNetworkApps private setSubNetworkApps!: (data: SubNetworkApps) => void;
@mutation.web3.setEthBridgeSettings private setEthBridgeSettings!: (settings: EthBridgeSettings) => Promise<void>;
@mutation.referrals.resetStorageReferrer private resetStorageReferrer!: FnWithoutArgs;

@action.web3.setSubNetworkApps private setSubNetworkApps!: (data: SubNetworkApps) => void;
@action.wallet.settings.setApiKeys private setApiKeys!: (apiKeys: WALLET_TYPES.ApiKeysObject) => Promise<void>;
@action.wallet.subscriptions.resetNetworkSubscriptions private resetNetworkSubscriptions!: AsyncFnWithoutArgs;
@action.wallet.subscriptions.resetInternalSubscriptions private resetInternalSubscriptions!: AsyncFnWithoutArgs;
@action.wallet.subscriptions.activateNetwokSubscriptions private activateNetwokSubscriptions!: AsyncFnWithoutArgs;
@action.settings.connectToNode private connectToNode!: (options: ConnectToNodeOptions) => Promise<void>;
@action.settings.setLanguage private setLanguage!: (lang: Language) => Promise<void>;
@action.settings.setBlockNumber private setBlockNumber!: AsyncFnWithoutArgs;
@action.settings.fetchAdsArray private fetchAdsArray!: AsyncFnWithoutArgs;
Expand Down Expand Up @@ -239,7 +240,6 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
await this.setEthBridgeSettings(data.ETH_BRIDGE);
this.setFeatureFlags(data?.FEATURE_FLAGS);
this.setSoraNetwork(data.NETWORK_TYPE);
this.setDefaultNodes(data?.DEFAULT_NETWORKS);
this.setEvmNetworksApp(data.EVM_NETWORKS_IDS);
this.setSubNetworkApps(data.SUB_NETWORKS);

Expand All @@ -253,9 +253,9 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
if (data.FAUCET_URL) {
this.setFaucetUrl(data.FAUCET_URL);
}
if (data.CHAIN_GENESIS_HASH) {
this.setNetworkChainGenesisHash(data.CHAIN_GENESIS_HASH);
}

this.appConnection.setDefaultNodes(data?.DEFAULT_NETWORKS);
this.appConnection.setNetworkChainGenesisHash(data?.CHAIN_GENESIS_HASH);

// connection to node
await this.runAppConnectionToNode();
Expand All @@ -269,10 +269,6 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
window.addEventListener('resize', this.setResponsiveClassDebounced);
}

private get isSwapPageWithCharts(): boolean {
return this.$route.name === PageNames.Swap && this.chartsEnabled;
}

private get mobileCssClasses(): string[] | undefined {
return getMobileCssClasses();
}
Expand All @@ -281,10 +277,6 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
return this.$route.name === PageNames.About;
}

get isCurrentPageTooWide(): boolean {
return this.isAboutPage || this.isSwapPageWithCharts || this.$route.name === PageNames.Tokens;
}

get dsProviderClasses(): string[] | BreakpointClass {
return this.mobileCssClasses?.length ? [...this.mobileCssClasses, this.responsiveClass] : this.responsiveClass;
}
Expand All @@ -295,9 +287,6 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
if (this.$route.name) {
cssClasses.push(`${baseClass}--${this.$route.name.toLowerCase()}`);
}
if (this.isSwapPageWithCharts) {
cssClasses.push(`${baseClass}--has-charts`);
}
return cssClasses;
}

Expand Down Expand Up @@ -373,12 +362,28 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
}

private async runAppConnectionToNode() {
const walletOptions = {
permissions: WalletPermissions,
appName: WALLET_CONSTS.TranslationConsts.Polkaswap,
};

try {
await this.connectToNode({
onError: (error) => this.handleNodeError(error, true), // prefer notification on connection success
onDisconnect: this.handleNodeDisconnect,
onReconnect: this.handleNodeReconnect,
});
// Run in parallel
// 1) Wallet core initialization (node connection independent)
// 2) Connection to node
await Promise.all([
waitForCore(walletOptions),
this.appConnection.connect({
onError: this.handleNodeError,
onDisconnect: this.handleNodeDisconnect,
onReconnect: this.handleNodeConnect,
}),
]);

// Wallet node connection dependent logic
if (!this.isWalletLoaded) {
await initWallet(walletOptions);
}
} catch (error) {
// we handled error using callback, do nothing
}
Expand Down Expand Up @@ -568,13 +573,12 @@ i.icon-divider {
}

@include desktop {
.app-main {
&.app-main--swap.app-main--has-charts {
.app-main--swap {
&.app-main {
.app-menu {
&:not(.collapsed) {
position: relative;
}

&.collapsed {
& + .app-body {
margin-left: 74px;
Expand Down
25 changes: 6 additions & 19 deletions src/assets/img/networks/binance-smart-chain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 9 additions & 20 deletions src/assets/img/networks/ethereum.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 30 additions & 16 deletions src/assets/img/networks/klaytn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading