The officers making such contracts were to swear to them .
Penalties were prescribed for violations of the law .
The officers making such contracts were to swear to them , and penalties were prescribed for violations of the law .