Skip to content

Instantly share code, notes, and snippets.

@MCarlomagno
Created October 7, 2021 10:41
Show Gist options
  • Save MCarlomagno/14c4632019cf1b8cefc56b834e17d45e to your computer and use it in GitHub Desktop.
Save MCarlomagno/14c4632019cf1b8cefc56b834e17d45e to your computer and use it in GitHub Desktop.
// 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