Initial commit

This commit is contained in:
ox42
2026-09-17 00:40:19 +02:00
commit 998146d90f
20 changed files with 5861 additions and 0 deletions
+15
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;
}
}
+13
View File
@@ -0,0 +1,13 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
contract Gradebook {
// addStudent(addr, name)
// submitScore(addr, points)
// this function should fire an event when points are added
// getGrade(addr)
}