Weierstrass cycles in moduli spaces and the Krichever map