Any violation of this charter or state law which occurs with the knowledge, express or implied, of another party to a contract or sale shall render the contract or sale involved voidable and rescindable as to that party, at the option of the mayor and council expressed by a motion adopted to that effect.