Skip to content

Repository files navigation

Eth Pool

Simple contract to stake eth to a pool and get rewards for staking.

Assumptions

  • Rewards are deposited only once per cycle.

Algorithm

  • Users are allocated an rewardDiscount when they stake eth.
  • The rewardDiscount is deducted from their holdings once they unstake.

Deployment

A verified contract is deployed on ropsten at https://ropsten.etherscan.io/address/0x1a49e40ab949535120db98c95AeED68D9584c644

Hardhat task to find the total staked ETH

Run yarn totalStaked to find the total staked eth in the contract.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages