Question: who won the 2017 money in the bank
Answer: In the main event , Baron Corbin won the men 's ladder match , earning a contract for a WWE Championship match , while Carmella controversially won the first women 's ladder match to earn a SmackDown Women 's Championship match contract .