Skip to content

Commit

Permalink
Merge pull request #143 from QuickSwap/hotfix/add-token-syrup-1
Browse files Browse the repository at this point in the history
Add new tokens, syrups, farms and token icons
  • Loading branch information
totop716 authored May 2, 2022
2 parents 36a643f + 94c89d8 commit 5191de0
Show file tree
Hide file tree
Showing 23 changed files with 712 additions and 1,043 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@uniswap/liquidity-staker": "^1.0.2",
"@uniswap/merkle-distributor": "1.0.1",
"@uniswap/sdk": "npm:[email protected]",
"@uniswap/token-lists": "^1.0.0-beta.17",
"@uniswap/token-lists": "npm:quickswap-token-lists@1.0.1",
"@uniswap/v2-core": "1.0.0",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"@web3-react/core": "6.0.9",
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const GlobalConst = {
),
// the Uniswap Default token list lives here
DEFAULT_TOKEN_LIST_URL:
'https://unpkg.com/[email protected].29/build/quickswap-default.tokenlist.json',
'https://unpkg.com/[email protected].32/build/quickswap-default.tokenlist.json',
},
analyticChart: {
ONE_MONTH_CHART: 1,
Expand Down Expand Up @@ -202,6 +202,7 @@ export const GlobalData = {
returnTokenFromKey('MAUSDC'),
returnTokenFromKey('MI'),
returnTokenFromKey('CXETH'),
returnTokenFromKey('GHST'),
],
},
// Some tokens can only be swapped via certain pairs, so we override the list of bases that are considered for these tokens.
Expand All @@ -217,6 +218,8 @@ export const GlobalData = {
returnTokenFromKey('QUICK'),
returnTokenFromKey('ETHER'),
returnTokenFromKey('WBTC'),
returnTokenFromKey('SAND'),
returnTokenFromKey('MI'),
],
},
// used to construct the list of all pairs we consider by default in the frontend
Expand Down
2 changes: 1 addition & 1 deletion src/constants/lists.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// the Quickswap Default token list lives here
export const DEFAULT_TOKEN_LIST_URL =
'https://unpkg.com/[email protected].29/build/quickswap-default.tokenlist.json';
'https://unpkg.com/[email protected].32/build/quickswap-default.tokenlist.json';

export const DEFAULT_LIST_OF_LISTS: string[] = [DEFAULT_TOKEN_LIST_URL];
Loading

0 comments on commit 5191de0

Please sign in to comment.