Some checks failed
CI / Foundry project (push) Has been cancelled
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
15 lines
258 B
Solidity
15 lines
258 B
Solidity
// 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++;
|
|
}
|
|
}
|