diff --git a/src/constants/tokenSafety.tsx b/src/constants/tokenSafety.tsx index 481dbc4d37c..80e0fa98dc4 100644 --- a/src/constants/tokenSafety.tsx +++ b/src/constants/tokenSafety.tsx @@ -1,6 +1,7 @@ import { Plural, Trans } from '@lingui/macro' import { TokenStandard } from 'graphql/data/__generated__/types-and-hooks' import { SearchToken } from 'graphql/data/SearchTokens' + import { ZERO_ADDRESS } from './misc' import { NATIVE_CHAIN_ID } from './tokens' import tokenSafetyLookup, { TOKEN_LIST_TYPES } from './tokenSafetyLookup' diff --git a/src/constants/tokenSafetyLookup.ts b/src/constants/tokenSafetyLookup.ts index 5597c1e1c6a..ba03e207c53 100644 --- a/src/constants/tokenSafetyLookup.ts +++ b/src/constants/tokenSafetyLookup.ts @@ -1,4 +1,5 @@ import { ListsState } from 'state/lists/reducer' + import store from '../state' import { UNI_EXTENDED_LIST, UNI_LIST } from './lists' import { COMMON_BASES } from './routing' @@ -35,7 +36,6 @@ class TokenSafetyLookupTable { brokenTokenList.tokens.forEach((token) => { this.dict[token.address.toLowerCase()] = TOKEN_LIST_TYPES.BROKEN }) - } checkToken(address: string, chainId?: number | null) {