hackquest logo

crypto

The SavingsVault smart contract is a simple Ethereum-based vault that allows users to deposit and withdraw ETH securely.

技術堆疊

Solidity

描述

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 and Withdrawn) for easy tracking of transactions.

黑客松進展

60

籌資狀態

progessing
團隊負責人
AAnshika Negi
專案連結
行業
SocialFiOther