Simple contract to stake eth to a pool and get rewards for staking.
- Rewards are deposited only once per cycle.
- Users are allocated an rewardDiscount when they stake eth.
- The rewardDiscount is deducted from their holdings once they unstake.
A verified contract is deployed on ropsten at https://ropsten.etherscan.io/address/0x1a49e40ab949535120db98c95AeED68D9584c644
Run yarn totalStaked to find the total staked eth in the contract.