Add reverse contract history mapping