Created
October 7, 2021 10:41
-
-
Save MCarlomagno/14c4632019cf1b8cefc56b834e17d45e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.7; | |
contract Fluthereum { | |
int public balance; | |
constructor() { | |
balance = 0; | |
} | |
function deposit(int amount) public { | |
balance += amount; | |
} | |
function withdraw(int amount) public { | |
balance -= amount; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment