I do not exactlly understand what is meant by a a lot of bankrolls and virtual bankroll.
Just terminology, you understand =)
I would do exactly what you say: Group all investors by their leverage amount, each of those would be a "bankroll". And then the "virtual bankroll" is the sum of all those bankrolls * the leverage. And then after each game, wins and loses are shared amongst the bankrolls according to their size relative to the "virtual bankroll"