Binance lending & mystery boxxes (gambling)

Assalam alaykoum wa rahmoet Allahy wa barakatoehoe.

There have been a few new updates into Binance which allows people to lend, designed to help holders of cryptocurrency lend their coins out for a higher return.

I also saw (now in the "christmass period) some mystery boxxes that can be bought, and you may be one of those that win the huge large amount of money, out of the many people that bought the box. Just like buying a lottery ticket (gambling).

If all these things are the case in binance? How could it still be considered halal?

jazak Allahu ghairan