crypto
The SavingsVault smart contract is a simple Ethereum-based vault that allows users to deposit and withdraw ETH securely.
Description
The SavingsVault smart contract is a simple Ethereum-based vault that allows users to deposit and withdraw ETH securely. It maintains a mapping of user balances and ensures that withdrawals do not exceed the deposited amount. The contract emits events for transparency when users deposit or withdraw funds.
Features:
Deposit ETH: Users can send ETH to the contract, which updates their balance.
Withdraw ETH: Users can withdraw their available balance, ensuring they do not exceed their deposit.
Balance Tracking: Users can check their balance using the
getBalance
function.Event Logging: The contract emits events (
Deposited
andWithdrawn
) for easy tracking of transactions.
Progress During Hackathon
60
Tech Stack
Fundraising Status
progessing