code: def Serialize(self, writer):
          
          super(ContractState, self).Serialize(writer)
  
          self.Code.Serialize(writer)
          writer.WriteUInt8(self.ContractProperties)
          writer.WriteVarString(self.Name)
          writer.WriteVarString(self.CodeVersion)
          writer.WriteVarString(self.Author)
          writer.WriteVarString(self.Email)
          writer.WriteVarString(self.Description)
docs: Serialize full object.
  
          Args:
              writer (neo.IO.BinaryWriter):