import { Asset , ExtendedAsset , NetworkId } from '@types' ; export const filterValidAssets = ( assets , networkId ) => assets . filter ( ( { networkId : id , type } ) => ( type === 'base' || type === 'erc20' ) && id === networkId ) ;