England test captain Ben Stokes was handed a two-year central contract on Tuesday that takes him through to a home Ashes series in 2027.