Open OpenOrg-gg opened 2 years ago
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work has been started.
These users each claimed they can complete the work by 4 days, 22 hours from now. Please review their action plans below:
1) bshevchenko has been approved to start work.
Ready to start with this one ;) 2) shubhamss105 has applied to start work _(Funders only: approve worker | reject worker)_.
I would like to contribute and implement the math function using solidity. 3) iotaaxel has applied to start work _(Funders only: approve worker | reject worker)_.
I am interested and plan to do detailed unit tests for the math function.
Learn more on the Gitcoin Issue Details page.
Thank you for approval! Work in progress
For this bounty you'll design a math function and implement it in Solidity.
In this scenario, users receive a set amount of tokens as a reward each cycle, and have to maintain a
safety margin
that is expressed as a percent.Right now, the safety margin does not impact the users rewards. 1e18 tokens earned = 1 e18 tokens paid out.
You should design a math function that will act as a multiplier for this reward.
The function should:
Your final work should include both:
The payout for this bounty is $250.