This commit is contained in:
2026-02-26 16:17:30 +01:00
commit 96e58bbf62
19 changed files with 5835 additions and 0 deletions

15
contracts/Counter.sol Normal file
View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
contract Counter {
uint256 public x;
function inc() public {
x++;
}
function incBy(uint256 by) public {
require(by > 0, "incBy: increment should be positive");
x += by;
}
}