contract
contract copied to clipboard
Write a lottery smart contract
Write a lottery smart contract where users won't lose money, but they might win a bonus. Users deposit different amounts of TON, TON is staked to hTON contract, after one or more rounds hTON is converted back to TON, the reward portion is given to one lucky user, and the process continues again.