Write a generate proof function from raw data coming from ORM
Write a generate proof function from raw data coming from ORM