Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/play3rzer0/depositcontract
General purpose contract for depositing ETH with multi-purpose applications.
https://github.com/play3rzer0/depositcontract
blockchain ethereum smartcontracts solidity tokens
Last synced: about 4 hours ago
JSON representation
General purpose contract for depositing ETH with multi-purpose applications.
- Host: GitHub
- URL: https://github.com/play3rzer0/depositcontract
- Owner: Play3rZer0
- License: gpl-3.0
- Created: 2024-07-12T01:26:38.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-15T01:11:01.000Z (4 months ago)
- Last Synced: 2024-07-15T02:29:23.759Z (4 months ago)
- Topics: blockchain, ethereum, smartcontracts, solidity, tokens
- Language: Solidity
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DepositContract
General purpose contract for depositing ETH with multi-purpose applications.
The contract is a simple ETH depository, like a savings bank. Users deposit their ETH to the contract.
Only users can withdraw their deposit, while the contract owner can withdraw the total balance.
This is by design, since the deposit contract can be used for the following applications:
- Crowd Funding
- Solications
- Donations
- Goodwill
- General Payment CollectionThe contract owner can be the one responsible for collecting deposits.