mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
daf783a0d8
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
11 lines
374 B
JavaScript
11 lines
374 B
JavaScript
import contractMap from 'eth-contract-metadata'
|
|
|
|
/**
|
|
* A normalized list of addresses exported as part of the contractMap in
|
|
* eth-contract-metadata. Used primarily to validate if manually entered
|
|
* contract addresses do not match one of our listed tokens
|
|
*/
|
|
export const LISTED_CONTRACT_ADDRESSES = Object.keys(
|
|
contractMap,
|
|
).map((address) => address.toLowerCase())
|