-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix(frontend)/do-not-show-token-logo-in-toke…
…n-transaction-page
- Loading branch information
Showing
7 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
Binary file modified
BIN
-3.01 KB
(98%)
...y-page.spec.ts-snapshots/should-display-activity-page-1-Google-Chrome-linux.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
BIN
+1.67 KB
(100%)
...-snapshots/should-display-homepage-in-logged-in-state-1-Google-Chrome-linux.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
BIN
+2.23 KB
(100%)
...pec.ts-snapshots/should-display-BTC-transactions-page-1-Google-Chrome-linux.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
BIN
+1.29 KB
(100%)
...pec.ts-snapshots/should-display-ETH-transactions-page-1-Google-Chrome-linux.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
BIN
+1.41 KB
(100%)
...pec.ts-snapshots/should-display-ICP-transactions-page-1-Google-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
import { SUPPORTED_BITCOIN_TOKENS } from '$env/tokens.btc.env'; | ||
import { BTC_MAINNET_ENABLED } from '$env/networks.btc.env'; | ||
import { BTC_MAINNET_TOKEN, BTC_REGTEST_TOKEN, BTC_TESTNET_TOKEN } from '$env/tokens.btc.env'; | ||
import { SUPPORTED_ETHEREUM_TOKENS } from '$env/tokens.env'; | ||
import type { Token } from '$lib/types/token'; | ||
|
||
export const [DEFAULT_ETHEREUM_TOKEN, _rest] = SUPPORTED_ETHEREUM_TOKENS; | ||
|
||
// The following tokens are used as fallback for any Bitcoin token defined in the token store. | ||
// That means that the order of the tokens in the array is important, to have a correct fallback chain. | ||
export const SUPPORTED_BITCOIN_TOKENS: [...Token[], Token] = [ | ||
...(BTC_MAINNET_ENABLED ? [BTC_MAINNET_TOKEN] : []), | ||
BTC_TESTNET_TOKEN, | ||
BTC_REGTEST_TOKEN | ||
]; | ||
|
||
export const [DEFAULT_BITCOIN_TOKEN, _] = SUPPORTED_BITCOIN_TOKENS; |