templates contract routes