solidity-challenge icon indicating copy to clipboard operation
solidity-challenge copied to clipboard

Possible resolution to the challenge

Open nahuelmatias opened this issue 3 years ago • 0 comments

Gm! I tried to solve the challenge in a "simple" way. It allows to scale to many users without use recursion or iterations. For security reasons, the users by itself need to pull their rewards. And, it's not compounded. User deposits ETH, user gets ETH.

There are some things that can be improved (for example, safemath). Or tests, tests are terrible, and not prove border conditions. Syntax and gas consumption can be improved A LOT.

About me, I'm an Electronics Eng. with experience developing software (in the past, for secure platforms like SIM and EMV cards). I love Blockchain technology (not only dev, economics too!), and how it can bring new solutions.

Feedback will be appreciated :)

Thank you!

nahuelmatias avatar Apr 14 '22 23:04 nahuelmatias