Track a new schema event when adding a token (#9810)
Co-authored-by: Mark Stacey <markjstacey@gmail.com>feature/default_network_editable
parent
c4d71a3211
commit
daf783a0d8
@ -0,0 +1,10 @@ |
|||||||
|
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()) |
Loading…
Reference in new issue