Fix bug in challenges api

1. Support the totalPrize field in all type challenges api.