Verified contractPartialMIT
SimpleStorage
Address0x92cfacf22345b32a528b1a3fa8ef28ea94c9fbbf
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.8.26
- Same code
Only this contract
Details
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Language
- solidity
- Optimization
- No
- EVM version
- cancun
- License
- MIT
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,498,137
- Creation transaction
- 0x9bcb9ccdfe…6dea7f9ff1
SimpleStorage.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract SimpleStorage {
// Public variable to store a number
uint256 public storedNumber;
// Function to set the number
function setNumber(uint256 _number) public {
storedNumber = _number;
}
// Function to retrieve the number
function getNumber() public view returns (uint256) {
return storedNumber;
}
}Compiler settingsShow
{
"metadata": {
"bytecodeHash": "ipfs"
},
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": false
},
"evmVersion": "cancun",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.