Ivan's Snaggletooth's feed

Is it just me wondering how the mc suddenly became rich? Like he was struggling to pay his mom's hospital bills and his dad's also in jail. So he willingly became a substitute to get money. But when the ml came, I get that the ml is rich, but how did mc suddenly become rich too? Did the ml give his money or did the mc do stocks or what???