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] Interlay 2.41.14 #1674

Merged
merged 247 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
247 commits
Select commit Hold shift + click to select a range
182fba6
feat: redirect when access from forbidden country is detected (#1209)
peterslany May 19, 2023
ab6a554
Feature/updated transfer UI (#876)
tomjeatt May 22, 2023
65b0748
chore: release v2.32.0
tomjeatt May 22, 2023
8ff52df
Update API healthchecks (#778)
ns212 May 22, 2023
e9157c7
[earn strategies] placeholder page, nav and feature flag (#1216)
tomjeatt May 22, 2023
b04beda
feat: add useTransaction (#1189)
danielsimao May 23, 2023
e158798
chore: update monetary to latest 0.7.3 (#1214)
peterslany May 23, 2023
eee628c
chore: bump lib and bridge (#1219)
tomjeatt May 23, 2023
63b059a
chore: release v2.32.1
tomjeatt May 24, 2023
65d0a00
fix: add missing icons and remove erroring RPC (#1222)
tomjeatt May 24, 2023
250f722
chore: release v2.32.2
tomjeatt May 24, 2023
c000243
fix: compare input configs with method not operator (#1225)
tomjeatt May 24, 2023
17251a3
refactor: reset selected account on account change (#1226)
tomjeatt May 24, 2023
0d81dc5
chore: release v2.32.3
tomjeatt May 24, 2023
63487d0
feature: add geoblock feature flag (#1230)
tomjeatt May 25, 2023
d6db39b
chore: release v2.32.4
tomjeatt May 25, 2023
5f0dcb8
chore: bump bridge (#1233)
tomjeatt May 26, 2023
891de67
chore: release v2.32.5
tomjeatt May 26, 2023
918e944
Peter/earn strategies feat deposit withdraw form (#1229)
peterslany May 30, 2023
aca4e7d
feat: add Popover, Underlay and ProgressBar. Changes to Dialog, Modal…
danielsimao May 30, 2023
252285f
fix: Dialog, Modal and Popover (#1245)
danielsimao May 31, 2023
c845c54
chore: rename strategies feature (#1247)
tomjeatt May 31, 2023
64716ee
chore: release v2.32.6
tomjeatt May 31, 2023
a38f2af
Fix: back button behaviour from bridge page (#1246)
Chanakya888 May 31, 2023
ce9f284
feat: add transaction notifications (#1177)
danielsimao Jun 1, 2023
74eb7ee
chore: remove console.log (#1262)
danielsimao Jun 1, 2023
869efa9
fix(TokenInput): adorment ticker (#1257)
danielsimao Jun 2, 2023
f178d58
fix: get vesting data (#1264)
danielsimao Jun 2, 2023
7283d1e
Peter/chore update lib 2.3.0 (#1267)
peterslany Jun 5, 2023
f9afbb7
fix: sort notifications (#1270)
danielsimao Jun 6, 2023
f6be34f
fix: transaction none (#1271)
danielsimao Jun 7, 2023
36c41c6
fix(Loans): apy label (#1275)
danielsimao Jun 8, 2023
4bf3e13
Peter/loans fix subsidy rewards (#1276)
peterslany Jun 9, 2023
6f2972d
Peter/fix loans incentive apr computation (#1256)
peterslany Jun 9, 2023
0fb9217
chore: release v2.33.0
tomjeatt Jun 12, 2023
d5818f3
Peter/chore update lib 2.3.3 (#1282)
peterslany Jun 12, 2023
c4f05dc
fix: enable faucet on Interlay testnet (#1289)
tomjeatt Jun 14, 2023
bf01bb3
chore: bump bridge (#1285)
tomjeatt Jun 14, 2023
1b48685
fix(Swap): update trade object on each block (#1297)
danielsimao Jun 15, 2023
7669181
api: use diadata as main datasource (#1277)
ns212 Jun 19, 2023
4a19226
Peter/fix interlay issues (#1300)
peterslany Jun 19, 2023
4e1c721
api: select price source via query param and ticker renaming (#1307)
ns212 Jun 19, 2023
a6885d8
api: fix tether label for dia (#1309)
ns212 Jun 19, 2023
bf818bd
chore: release v2.34.0
tomjeatt Jun 20, 2023
1b9ce37
chore: update XCM RPCs (#1324)
tomjeatt Jun 22, 2023
019777a
chore: release v2.34.1
tomjeatt Jun 22, 2023
dc2ffd6
fix: correct wallet balance (#1334)
tomjeatt Jun 23, 2023
054763c
api: switch to coingecko pro url (#1321)
ns212 Jun 23, 2023
bd49606
Peter/feat tx fee with swapped currency (#1340)
danielsimao Jun 26, 2023
8656b5b
chore: release v2.35.0
tomjeatt Jun 26, 2023
f3a7a12
Tom/feature/wallet buttons (#1346)
tomjeatt Jun 27, 2023
0eb4d00
[wallet] add default currencies to wallet (#1335)
tomjeatt Jun 27, 2023
08aa108
chore: update navigation (#1344)
tomjeatt Jun 27, 2023
2bca493
refatctor: remove LBANK configuration and assets (#1355)
tomjeatt Jun 27, 2023
6d32c91
feature: add LDOT icon (#1356)
tomjeatt Jun 27, 2023
9f967f5
Peter/refactor fetch oracle status from chain (#1359)
peterslany Jun 27, 2023
690d951
Peter/fix add wrapped currency as security deposit option (#1360)
peterslany Jun 27, 2023
8cf597d
chore: update price impact warning copy (#1358)
tomjeatt Jun 28, 2023
349df79
[transfer/bridge] open correct tab (#1366)
tomjeatt Jun 28, 2023
9281aa2
refactor: close redeem modal (#1367)
tomjeatt Jun 28, 2023
92554fc
feat: change LoadingSpinner styles and CTA loading spinner (#1372)
danielsimao Jun 28, 2023
7a8db34
feat: replace legacy toast with new notification toast (#1370)
danielsimao Jun 28, 2023
06b0ca4
fix: UI styling bugs (#1371)
tomjeatt Jun 28, 2023
ef2e8dd
Peter/fix bridge dust value validation (#1374)
peterslany Jun 28, 2023
1045cef
feat(Wallet): add USDT and change switch label (#1363)
danielsimao Jun 28, 2023
509960f
fix(Modal): prevent user from clicking when closed (#1364)
danielsimao Jun 28, 2023
c1e15ac
fix(Swap): handle when schema params are undefined (#1375)
danielsimao Jun 28, 2023
66db4d1
feat(Wallet): add welcome banner (#1337)
danielsimao Jun 29, 2023
0c40d3e
fix: correct subscan link (#1378)
tomjeatt Jun 29, 2023
b296507
fix: select token modal list style (#1382)
danielsimao Jun 29, 2023
fadf8ba
fix: improve issue form insufficient funds notice (#1380)
danielsimao Jun 30, 2023
6f8afd8
feature: add tooltip to asset cell (#1345)
tomjeatt Jun 30, 2023
503736a
Onboarding page (#1373)
nud3l Jun 30, 2023
e1e5d31
fix: disable fetch on focus (#1386)
tomjeatt Jun 30, 2023
70bc8e9
fix(Onboarding): improve styles, semantics and file structure (#1387)
danielsimao Jul 3, 2023
81337c5
fix: typo (#1392)
tomjeatt Jul 3, 2023
7765f97
Peter/feat pools trading fee apr (#1389)
peterslany Jul 3, 2023
b35f080
Peter/ choreupdate lib 2.3.5 (#1393)
peterslany Jul 3, 2023
6f6f9ec
chore: release v2.35.1
tomjeatt Jul 3, 2023
304517b
fix: onboarding and empty fee selector (#1396)
danielsimao Jul 4, 2023
3473509
Onboarding feature flag (#1398)
tomjeatt Jul 4, 2023
205950e
chore: release v2.35.2
tomjeatt Jul 4, 2023
73dfae4
api: add dia asset ids to market data endpoint (#1400)
ns212 Jul 4, 2023
366d850
chore: release v2.35.3
tomjeatt Jul 4, 2023
6599a85
api: add dia asset ids to market data endpoint (#1403)
ns212 Jul 4, 2023
ee152f2
chore: release v2.35.4
tomjeatt Jul 4, 2023
746589d
fix(Wallet): add missing guide link (#1406)
danielsimao Jul 4, 2023
4d5576f
feat(Wallet): update welcome banner svg (#1407)
danielsimao Jul 4, 2023
fcdb5af
wip: add T&Cs version (#1409)
tomjeatt Jul 4, 2023
3c23fb0
chore: release v2.35.5
tomjeatt Jul 4, 2023
51bf92f
api: add support for multiple version of terms and conditions (#1411)
ns212 Jul 4, 2023
affc56d
chore: release v2.35.6
tomjeatt Jul 4, 2023
c0e2d17
feat: add parity signer companion for polkadot vault support (#1417)
nud3l Jul 5, 2023
8a9226f
Tom/xcm copy changes (#1391)
tomjeatt Jul 5, 2023
b4223c3
refactor: remove unused feature foags (#1402)
tomjeatt Jul 5, 2023
491eaa0
Peter/fix pools daily volumes (#1421)
peterslany Jul 5, 2023
cba46c5
fix(Pools): deposit validation (#1419)
danielsimao Jul 5, 2023
5583d92
fix: various issues picked up from testing (#1414)
danielsimao Jul 5, 2023
9cbbd19
fix: prefetching fee scenarios (#1384)
danielsimao Jul 5, 2023
8500c2d
fix: hide onboarding button when onboarding disabled (#1418)
tomjeatt Jul 5, 2023
b75f0ce
chore: release v2.35.7
tomjeatt Jul 6, 2023
4a94ead
apply hotfix (#1428)
tomjeatt Jul 6, 2023
9a3f495
Peter/fix byof not working (#1430)
peterslany Jul 6, 2023
b036c9b
chore: release v2.35.8
tomjeatt Jul 7, 2023
fac977e
api: add support ethereum and karura (#1435)
ns212 Jul 7, 2023
9b64c30
Tom/updated directory names (#1434)
tomjeatt Jul 7, 2023
0c457e9
chore: split AMM pages into seperate folders (#1436)
danielsimao Jul 10, 2023
a320deb
feat: check signature version (#1429)
danielsimao Jul 10, 2023
2d67c92
Fix Storybook (#1443)
tomjeatt Jul 10, 2023
9c16ae5
Update routes (#1442)
tomjeatt Jul 10, 2023
a96dab8
Peter/fix q token vaults support (#1445)
peterslany Jul 11, 2023
aa9470e
chore: fix test pipelines (#1379)
danielsimao Jul 11, 2023
d97bd0b
fix(Redeem): redeem limit when there is not capcity (#1451)
danielsimao Jul 14, 2023
d7a5fdb
fix(Redeem): premium redeem (#1454)
danielsimao Jul 14, 2023
f6154d9
Peter/feat loans q token handle edge cases (#1449)
peterslany Jul 14, 2023
ae67a9c
add nova wallet (#1453)
tomjeatt Jul 17, 2023
8ba7cb2
feat: add query params handling (#1347)
danielsimao Jul 17, 2023
319753a
feat: add estimate fee hook and action amount deduction (#1433)
danielsimao Jul 18, 2023
2d0f3de
Update number of wallets in test (#1462)
tomjeatt Jul 18, 2023
278f54f
Support Banxa on Interlay (#1458)
tomjeatt Jul 18, 2023
52ffd0d
chore: release v2.36.0
tomjeatt Jul 18, 2023
013f0e0
fix(Swap): add missing scenario for re-computing trade obj (#1464)
danielsimao Jul 18, 2023
488434f
fix: use correct value for vault capacity indicator (#1465)
sander2 Jul 19, 2023
4b61d20
revert version bump
tomjeatt Jul 19, 2023
822e578
chore: release v2.36.0
tomjeatt Jul 19, 2023
fa6782a
api: add fallback to coingecko for missing assets on dia (#1467)
ns212 Jul 19, 2023
42dc3c4
revert version bump
tomjeatt Jul 19, 2023
30e7d70
chore: release v2.36.0
tomjeatt Jul 19, 2023
ae37c64
fix: fee affecting action amount calculation (#1472)
danielsimao Jul 19, 2023
f2a13c8
chore: release v2.36.1
tomjeatt Jul 20, 2023
ec96157
feat(Strategies): add landing page (#1466)
danielsimao Jul 20, 2023
79ac979
chore: improve translactions (#1447)
danielsimao Jul 20, 2023
5c6a8df
feat: add tooltip to pools and refactor loans tooltip (#1424)
danielsimao Jul 20, 2023
56f45b0
fix(Loans): simplify form and hook (#1476)
danielsimao Jul 20, 2023
c26b788
Rui/loans modals lose close animation due to conditional render (#1460)
danielsimao Jul 20, 2023
c290fb3
fix: loan tests (#1425)
danielsimao Jul 20, 2023
361bb88
Tom/update bg image (#1481)
tomjeatt Jul 24, 2023
2fd08e0
Tom/xcm updates (#1480)
tomjeatt Jul 25, 2023
a8c910a
fix: organize files (#1483)
danielsimao Jul 25, 2023
ca68f9e
refactor: Layout and MainContainer (#1489)
danielsimao Jul 26, 2023
5336dc7
refactor: add block height, parachain status and locked tokens hooks …
danielsimao Jul 26, 2023
12b9271
refactor: replace old faucet approach with use-faucet (#1484)
danielsimao Jul 31, 2023
f563370
Peter/feat dry running (#1499)
peterslany Aug 2, 2023
10edc38
Peter/feat simple passive income strategy page (#1473)
peterslany Aug 3, 2023
19b2f5c
fix(Strategies): improve responsiveness and add form link (#1503)
danielsimao Aug 3, 2023
32a72b9
fix: correct feature flag name (#1504)
tomjeatt Aug 3, 2023
0a0d424
chore: release v2.36.2
tomjeatt Aug 4, 2023
b98f7e2
feat(Slider): add component (#1502)
danielsimao Aug 4, 2023
2e980d6
fix: use route instead of redirect (#1507)
tomjeatt Aug 4, 2023
64ebbcd
chore: release v2.37.0
tomjeatt Aug 4, 2023
66677f7
feat: add breadcrumbs component and add it to strategies (#1505)
danielsimao Aug 4, 2023
238690b
Peter/chore lib update 2.4.0 (#1512)
peterslany Aug 7, 2023
22f012e
fix: conditional check for amount (#1516)
tomjeatt Aug 9, 2023
b58b3a7
docs: roadmap item (#1519)
nud3l Aug 14, 2023
c5fc5ed
feat: add roadmap items to roadmap but not backlog (#1521)
nud3l Aug 14, 2023
e9f6136
feat: zero slippage option (#1497)
sander2 Aug 14, 2023
67ba4b3
chore: bump lib (#1523)
tomjeatt Aug 17, 2023
a896259
Peter/fix staking limit bug (#1515)
peterslany Aug 17, 2023
ecb0fed
Revert "Peter/fix staking limit bug (#1515)"
tomjeatt Aug 18, 2023
5f60748
chore: release v2.38.0
tomjeatt Aug 18, 2023
9af1253
fix: use redirect in route (#1533)
tomjeatt Aug 18, 2023
444b23a
Peter/fix q token vaults volumes fetching (#1535)
peterslany Aug 21, 2023
861e494
fix: only add projects with roadmap label (#1536)
nud3l Aug 22, 2023
1084182
fix: use-get-dex-volumes hook (#1534)
danielsimao Aug 22, 2023
babdcb8
fix(SendAndReceive): remove dry-run from xcm (#1540)
danielsimao Aug 25, 2023
b8b99ae
fix(Pools): remove ratio customization (#1541)
danielsimao Aug 25, 2023
3295e63
wip: update resolutions
tomjeatt Aug 31, 2023
8af4d73
update resolutions
tomjeatt Aug 31, 2023
f1bd600
Revert "update resolutions"
tomjeatt Aug 31, 2023
6e11ce3
Revert "wip: update resolutions"
tomjeatt Aug 31, 2023
1f80570
Tom/site information component (#1552)
tomjeatt Sep 5, 2023
9e6ee51
Peter/refactor usd price formatting (#1553)
peterslany Sep 6, 2023
2a73ce6
fix: correct exchange rate (#1555)
tomjeatt Sep 6, 2023
d21ddf6
fix: formatting (#1556)
tomjeatt Sep 6, 2023
e9414ef
Peter/fix vault dashboard volumes hook (#1557)
peterslany Sep 7, 2023
96c625d
Peter/strategy feat proxy account (#1539)
peterslany Sep 8, 2023
7ce3ddb
chore: remove Karura dwellir node (#1558)
tomjeatt Sep 12, 2023
a965f8c
wip: try setting node options in package (#1559)
tomjeatt Sep 13, 2023
67f5290
api: add voucher-dot and other tokents (#1566)
ns212 Sep 21, 2023
b87943d
chore: release v2.38.1
tomjeatt Sep 25, 2023
711bc4e
api: refactor the market data api (#1569)
ns212 Sep 27, 2023
c6a55d5
Tom/fix prices (#1571)
tomjeatt Sep 27, 2023
e792c22
chore: add vDOT icon and sort imports (#1563)
tomjeatt Sep 27, 2023
1447602
chore: add token icons (#1572)
tomjeatt Sep 28, 2023
aba10b4
chore: release v2.38.2
tomjeatt Sep 28, 2023
6626850
[chore] Update dependencies (#1548)
tomjeatt Sep 28, 2023
724f5a1
chore: remove console log (#1575)
tomjeatt Sep 29, 2023
cce2389
fix: await the unawaited (#1581)
tomjeatt Sep 29, 2023
5954006
chore: release v2.39.0
tomjeatt Sep 29, 2023
f320212
Tom/fix icons (#1584)
tomjeatt Oct 2, 2023
bf5c22b
chore: release v2.39.1
tomjeatt Oct 2, 2023
504391f
apply hotfix patch (#1589)
tomjeatt Oct 16, 2023
6701577
feat: update subwallet logo (#1587)
danielsimao Oct 18, 2023
aeca5b3
fix(Redeem): show premium redeem compensation (#1591)
danielsimao Oct 24, 2023
1e3b759
feat(Wallet): add bitforst token swap link (#1594)
danielsimao Oct 26, 2023
aa12f6c
fix(Loans): collateral overlapping modal ref issue (#1595)
danielsimao Oct 27, 2023
1ac0c7f
feat(Staking): refactor (#1538)
danielsimao Nov 6, 2023
4e9a53b
chore: release v2.40.0
tomjeatt Nov 6, 2023
450d008
chore: bump bridge (#1600)
tomjeatt Nov 14, 2023
fedd584
fix(Staking): close modal on submit (#1599)
danielsimao Nov 16, 2023
353f77e
chore: release v2.40.1
tomjeatt Nov 16, 2023
d8af913
[release] Interlay 2.40.1 (#1603)
tomjeatt Nov 16, 2023
9d98dd5
Peter/fix dex volumes query (#1608)
peterslany Nov 22, 2023
035ad96
fix: subwallet logo (#1606)
danielsimao Nov 28, 2023
49e3d6a
fix: add rewards alert and remove insights (#1607)
danielsimao Dec 1, 2023
e0241cd
update staking labels and format valuers (#1609)
tomjeatt Dec 4, 2023
7aa5545
chore: release v2.40.2
tomjeatt Dec 4, 2023
7128cf6
[release] Interlay 2.40.2 (#1611)
tomjeatt Dec 4, 2023
c98b33e
Feat: expose TVLs fetched via lib as part of api endpoints (#1605)
bvotteler Dec 5, 2023
fa2623e
chore: release v2.41.0
tomjeatt Dec 14, 2023
8f0df0d
Tom/hotfix/disable parallel xcm channel (#1620)
tomjeatt Jan 4, 2024
37fb40c
Tom/update parallel xcm nodes (#1621)
tomjeatt Jan 4, 2024
ad10324
chore: release v2.41.1
tomjeatt Jan 4, 2024
fd099b0
api: add dia fair price feed (#1619)
ns212 Jan 4, 2024
9115ca0
chore: release v2.41.2
tomjeatt Jan 4, 2024
61d0ee6
Switch Bifrost RPC node (#1627)
tomjeatt Jan 17, 2024
fbb0213
chore: release v2.41.3
tomjeatt Jan 17, 2024
3e973c4
api: rewrite python functions in javascript (#1630)
ns212 Jan 18, 2024
110e322
chore: release v2.41.4
tomjeatt Jan 18, 2024
e2fab17
chore: bump bridge (#1631)
tomjeatt Feb 5, 2024
68b1115
chore: release v2.41.5
tomjeatt Feb 5, 2024
4c15816
refactor: line chart config (#1635)
tomjeatt Feb 8, 2024
f76b897
chore: release v2.41.6
tomjeatt Feb 8, 2024
4d911fe
fix: chart counter enum and lower value for collateral (#1638)
tomjeatt Feb 9, 2024
853586e
chore: release v2.41.7
tomjeatt Feb 9, 2024
40af212
[release] Interlay 2.41.7 (#1639)
tomjeatt Feb 9, 2024
12b3841
Revert "[release] Interlay 2.41.7 (#1639)" (#1641)
tomjeatt Feb 9, 2024
553c1f5
hotfix: XCM polkadot/kintsugi max transferable balance (#1645)
tomjeatt Feb 23, 2024
709e416
chore: release v2.41.8
tomjeatt Feb 23, 2024
3145baa
chore: bump bridge (#1648)
tomjeatt Feb 27, 2024
abd15cc
chore: release v2.41.9
tomjeatt Feb 27, 2024
3afbb64
Tom/bridge 0.5.1 (#1651)
tomjeatt Mar 1, 2024
dd617e5
api: add Vercel KV cache for storing market data (#1654)
ns212 Mar 11, 2024
2134d96
HDX and BNC icons (#1655)
tomjeatt Mar 19, 2024
eed13ec
chore: release v2.41.10
tomjeatt Mar 19, 2024
92ba0ba
chore: release v2.41.11
tomjeatt Apr 5, 2024
d84d927
api: improve cache-control headers (#1659)
ns212 Apr 5, 2024
cb04e6b
chore: release v2.41.12
tomjeatt Apr 5, 2024
18da743
Fixed a small dashboard display issue (#1658)
mafux777 Jun 24, 2024
d7cfd80
chore: bump bridge and add new dependency (#1664)
tomjeatt Jul 9, 2024
58d0cc5
chore: release v2.41.13
tomjeatt Jul 9, 2024
ce04e8a
exclude USDC.wh from foreign assets (#1643)
tomjeatt Jul 10, 2024
1908e38
chore: Update xcm-endpoints.ts (#1669)
bvotteler Sep 5, 2024
aaf1396
Cherry pick: api: add phala-network to the pricefeed (#1668) (#1670)
bvotteler Sep 23, 2024
2475b8d
chore: update XCM nodes (#1672)
tomjeatt Oct 9, 2024
cb767c1
chore: release v2.41.14
tomjeatt Oct 9, 2024
9085b56
Merge branch 'master' into release/interlay/2.41.14
tomjeatt Oct 9, 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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "interbtc-ui",
"version": "2.41.13",
"version": "2.41.14",
"private": true,
"dependencies": {
"@acala-network/sdk-core": "^4.1.5",
"@craco/craco": "^6.1.1",
"@headlessui/react": "^1.1.1",
"@heroicons/react": "^2.0.18",
"@interlay/bridge": "^0.6.0",
"@interlay/bridge": "^0.6.2",
"@interlay/interbtc-api": "2.6.0",
"@interlay/monetary-js": "0.7.3",
"@polkadot/api": "10.9.1",
Expand Down
11 changes: 10 additions & 1 deletion src/hooks/api/use-get-currencies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import { useQuery, UseQueryResult } from 'react-query';
import { CurrencySquidFormat } from '@/types/currency';
import { NATIVE_CURRENCIES } from '@/utils/constants/currency';

enum ExcludedForeignCurrencies {
USDC_WH = 'USDC.wh'
}

type UseGetCurrenciesResult = UseQueryResult<Array<CurrencyExt>> & {
getCurrencyFromTicker: (ticker: string) => CurrencyExt;
getForeignCurrencyFromId: (id: number) => CurrencyExt;
Expand All @@ -18,7 +22,12 @@ const getCurrencies = async (): Promise<Array<CurrencyExt>> => {
window.bridge.loans.getLendTokens(),
window.bridge.amm.getLpTokens()
]);
return [...NATIVE_CURRENCIES, ...foreignCurrencies, ...lendCurrencies, ...lpTokens];

const filteredForeignCurrencies = foreignCurrencies.filter(
(currency) => !Object.values(ExcludedForeignCurrencies).includes(currency.ticker as ExcludedForeignCurrencies)
);

return [...NATIVE_CURRENCIES, ...filteredForeignCurrencies, ...lendCurrencies, ...lpTokens];
};

// Returns all currencies, both native and foreign and helping utils to get CurrencyExt object.
Expand Down
17 changes: 11 additions & 6 deletions src/hooks/api/xcm/xcm-endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ const XCMEndpoints: XCMEndpointsRecord = {
acala: ['wss://acala-rpc-1.aca-api.network', 'wss://acala-rpc-3.aca-api.network/ws', 'wss://acala-rpc.dwellir.com'],
astar: ['wss://rpc.astar.network', 'wss://astar-rpc.dwellir.com'],
bifrost: ['wss://bifrost-rpc.dwellir.com', 'wss://us.bifrost-rpc.liebi.com/ws', 'wss://bifrost-rpc.liebi.com/ws'],
bifrost_polkadot: ['wss://hk.p.bifrost-rpc.liebi.com/ws'],
bifrost_polkadot: [
'wss://hk.p.bifrost-rpc.liebi.com/ws',
'wss://bifrost-polkadot-rpc.dwellir.com',
'wss://eu.bifrost-polkadot-rpc.liebi.com/ws'
],
heiko: ['wss://heiko-rpc.parallel.fi'],
hydra: ['wss://rpc.hydradx.cloud', 'wss://hydradx-rpc.dwellir.com'],
interlay: ['wss://api.interlay.io/parachain'],
Expand All @@ -17,17 +21,18 @@ const XCMEndpoints: XCMEndpointsRecord = {
'wss://karura-rpc-3.aca-api.network/ws'
],
kintsugi: ['wss://api-kusama.interlay.io/parachain'],
kusama: ['wss://kusama-rpc.polkadot.io', 'wss://kusama-rpc.dwellir.com'],
parallel: ['wss://parallel-rpc.dwellir.com', 'wss://polkadot-rpc.parallel.fi'],
polkadot: ['wss://rpc.polkadot.io', 'wss://polkadot-rpc.dwellir.com'],
kusama: ['wss://kusama-rpc.dwellir.com', 'wss://rpc.ibp.network/kusama', 'wss://rpc-kusama.luckyfriday.io'],
parallel: ['wss://polkadot-parallel-rpc.parallel.fi', 'wss://parallel-rpc.dwellir.com'],
phala: ['wss://api.phala.network/ws', 'wss://phala-rpc.dwellir.com'],
polkadot: ['wss://polkadot-rpc.dwellir.com', 'wss://rpc.ibp.network/polkadot', 'wss://rpc-polkadot.luckyfriday.io'],
statemine: [
'wss://kusama-asset-hub-rpc.polkadot.io',
'wss://statemine-rpc.dwellir.com',
'wss://asset-hub-kusama-rpc.dwellir.com',
'wss://statemine-rpc-tn.dwellir.com'
],
statemint: [
'wss://polkadot-asset-hub-rpc.polkadot.io',
'wss://statemint-rpc.dwellir.com',
'wss://asset-hub-polkadot-rpc.dwellir.com',
'wss://statemint-rpc-tn.dwellir.com'
]
};
Expand Down
Loading
Loading