Custom Script Required (material color to vertex color)

Hi,
we are in need of some help with writing a script for Blender that will iterate over the faces of a mesh, read the color of the assigned material, assign it to the vertex color channel, and then remove the material.
This is for a low-poly style video-game, where each face/triangle of a mesh has a single solid color.

Please quote your hourly rate and estimated timeframe to write the script, along with any questions, when getting in touch here or via pm.

Thanks!

I sent a pm