The Mayor shall sign, the City Clerk shall attest to, the City Manager shall approve as to substance, and the City Attorney shall approve as to form all contracts and agreements requiring the assent of the city, unless otherwise provided for by law, Charter, ordinance or the provisions of this code.