1. Soroban Contract Security Flaw: Unbounded Instance Storage Growth in `distribute_winnings()` Exhausts TTL Budget
A critical security and performance flaw has been identified in a Soroban smart contract's payout function. The `distribute_winnings()` method stores each payout record directly in the contract's **instance storage**, a design choice that leads to unbounded growth and threatens the contract's long-term viability. Insta...