Write a simple Smart Contract for me.
Smart contract flow:
- Users deposit ETH funds
- Owner of the contract lock those funds
- Owner pays 95% of total funds in this ratio to users of contract
50% - user 1
10% - user 2, user 3, user 4
5% - user 5
So total 5 users take 95% of the funds and rest OWNER keeps.
solidity, [login to view URL], Metamask