-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from P4-Games/feature/20241101
merge feature/20241101 into develop
- Loading branch information
Showing
3 changed files
with
35 additions
and
14 deletions.
There are no files selected for viewing
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,4 +1,5 @@ | ||
import { Network } from './types/networks' | ||
import { IBalance, IBalances } from './types/wallet' | ||
|
||
// ---------------------------------------------------------------------- | ||
|
||
|
@@ -56,7 +57,7 @@ export const STORAGE_KEY_SETTINGS = 'settings' | |
export const CONTACT_EMAIL = '[email protected]' | ||
export const GET_BALANCES_FROM_BACKEND = true | ||
|
||
export const defaultBalance = { | ||
export const defaultBalance: IBalance = { | ||
network: '', | ||
token: '', | ||
balance: 0, | ||
|
@@ -68,6 +69,19 @@ export const defaultBalance = { | |
} | ||
} | ||
|
||
export const defaultBalances: IBalances = { | ||
balances: [defaultBalance], | ||
totals: { | ||
usd: 0, | ||
ars: 0, | ||
brl: 0, | ||
uyu: 0 | ||
}, | ||
certificates: [], | ||
wallet: '', | ||
message: '' | ||
} | ||
|
||
export const tokensByNetwork: { [networkKey: string]: Network } = { | ||
scroll_testnet: { | ||
config: { | ||
|
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