# ETHPool - A reward distribution protocol

**URL:** <https://forum.thegraph.com/t/ethpool-a-reward-distribution-protocol/4458>\
**Category:** Explorer & Studio\
**Tags:** community-talk\
**Created:** [August 29, 2023, 3:33am UTC](https://forum.thegraph.com/t/ethpool-a-reward-distribution-protocol/4458 "2023-08-29T03:33:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thatonenerdy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.thegraph.com/thatonenerdy/32/2086_2.png) [@thatonenerdy](https://forum.thegraph.com/u/thatonenerdy)\
**Post date:** [August 29, 2023, 3:33am UTC](https://forum.thegraph.com/t/ethpool-a-reward-distribution-protocol/4458/1 "2023-08-29T03:33:36Z")

</div>

This is an example implementation of the ETHPool protocol specified in Smart Contract Challenge #4. The challenge describes ETH Pool as the follows -  
ETHPool provides a service where people can deposit ETH and they will receive rewards proportional to their deposits in the pool. Users must be able to take out their deposits along with their portion of rewards at any time. New rewards are deposited manually into the pool by the ETHPool team using a contract function.

And here’s my response - the completed smart contract fulfilling all requirements and tests using foundry [Insert github repo here]

Testnet verified smart contract -

> **[ETHPool | Address 0x9ec1b5801a271f8cacfbb79d59cf2fba07576cc5 | PolygonScan](https://mumbai.polygonscan.com/address/0x9ec1b5801a271f8cacfbb79d59cf2fba07576cc5)**
>
> The Contract Address 0x9ec1b5801a271f8cacfbb79d59cf2fba07576cc5 page allows users to view the source code, transactions, balances, and analytics for the contract address. Users can also interact and make transactions to the contract directly on...
