The Hemerdon mine in Devon will receive the money from the National Wealth Fund.