Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Commit

Permalink
disable solana tokens (#735)
Browse files Browse the repository at this point in the history
* solana disable tokens

* update snapshot
  • Loading branch information
konoart authored Dec 10, 2021
1 parent 2c04c96 commit 70fa34e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Array [
"algorand/asa/312769",
"ethereum/erc20/usd_tether__erc20_",
"polygon/erc20/(pos)_tether_usd",
"solana/spl/Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
"tron/trc20/TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
]
`;
5 changes: 3 additions & 2 deletions packages/cryptoassets/src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import trc20tokens from "../data/trc20";
import bep20tokens from "../data/bep20";
import polygonTokens from "../data/polygon-erc20";
import asatokens from "../data/asa";
import spltokens from "../data/spl";
//import spltokens from "../data/spl";
const emptyArray = [];
const tokensArray: TokenCurrency[] = [];
const tokensArrayWithDelisted: TokenCurrency[] = [];
Expand All @@ -22,7 +22,7 @@ addTokens(trc10tokens.map(convertTRONTokens("trc10")));
addTokens(trc20tokens.map(convertTRONTokens("trc20")));
addTokens(bep20tokens.map(convertBEP20));
addTokens(asatokens.map(convertAlgorandASATokens));
addTokens(spltokens.map(convertSplTokens));
//addTokens(spltokens.map(convertSplTokens));
type TokensListOptions = {
withDelisted: boolean;
};
Expand Down Expand Up @@ -307,6 +307,7 @@ function convertTRONTokens(type: "trc10" | "trc20") {
});
}

/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
function convertSplTokens([
chainId,
name,
Expand Down

0 comments on commit 70fa34e

Please sign in to comment.