Last active
October 29, 2021 09:43
-
-
Save haniefhan/0f810d39e0a96ad8ef4141dc2408138c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
contract SmartBank { | |
... | |
function deposit() public payable { | |
balances[msg.sender] = msg.value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment