Shtukas and the Taylor expansion of L-functions (II)