Created
March 24, 2024 15:20
-
-
Save Opei-sd/f8c1259642021ae4c9b910e1322f7802 to your computer and use it in GitHub Desktop.
storage contract
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.8.2 <0.9.0; | |
contract Storage { | |
uint256 number; | |
function store(uint256 num) public { | |
number = num; | |
} | |
function retrieve() public view returns (uint256){ | |
return number; | |
} | |
} | |
0x30736d82cb748cb09C865aA548b4B297f464565d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment