Arsenal are closing in on a new contract for Vivianne Miedema as they look to ward off interest from Champions League holders Barcelona.