chore: forge init
This commit is contained in:
commit
4142ac4f4a
6 changed files with 104 additions and 0 deletions
14
src/Counter.sol
Normal file
14
src/Counter.sol
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// SPDX-License-Identifier: UNLICENSED
|
||||
pragma solidity ^0.8.13;
|
||||
|
||||
contract Counter {
|
||||
uint256 public number;
|
||||
|
||||
function setNumber(uint256 newNumber) public {
|
||||
number = newNumber;
|
||||
}
|
||||
|
||||
function increment() public {
|
||||
number++;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue