Skip to content

Commit

Permalink
Create contract.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jun 1, 2024
1 parent 43f8712 commit 5245686
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions contracts/contract1/contract.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pragma solidity ^0.8.0;

contract Contract1 {
uint256 public storedData;

function set(uint256 data) public {
storedData = data;
}

function get() public view returns (uint256) {
return storedData;
}
}

0 comments on commit 5245686

Please sign in to comment.