Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
Multichain Info
N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
SimpleStorage
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2025-01-24
*/
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.2 <0.9.0;
/**
* @title Storage
*/
contract SimpleStorage {
uint public storedData;
function setData(uint x) public {
storedData = x;
}
function getData() public view returns (uint) {
return storedData;
}
}Contract ABI
API[{"inputs":[],"name":"getData","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"x","type":"uint256"}],"name":"setData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"storedData","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6080604052348015600e575f80fd5b506101718061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061003f575f3560e01c80632a1afcd9146100435780633bc5de30146100615780635b4b73a91461007f575b5f80fd5b61004b61009b565b60405161005891906100c9565b60405180910390f35b6100696100a0565b60405161007691906100c9565b60405180910390f35b61009960048036038101906100949190610110565b6100a8565b005b5f5481565b5f8054905090565b805f8190555050565b5f819050919050565b6100c3816100b1565b82525050565b5f6020820190506100dc5f8301846100ba565b92915050565b5f80fd5b6100ef816100b1565b81146100f9575f80fd5b50565b5f8135905061010a816100e6565b92915050565b5f60208284031215610125576101246100e2565b5b5f610132848285016100fc565b9150509291505056fea2646970667358221220cd528e048b47a106398c20d9c3a51fded277d68721054432b4ef7f6c7dcc656264736f6c634300081a0033
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061003f575f3560e01c80632a1afcd9146100435780633bc5de30146100615780635b4b73a91461007f575b5f80fd5b61004b61009b565b60405161005891906100c9565b60405180910390f35b6100696100a0565b60405161007691906100c9565b60405180910390f35b61009960048036038101906100949190610110565b6100a8565b005b5f5481565b5f8054905090565b805f8190555050565b5f819050919050565b6100c3816100b1565b82525050565b5f6020820190506100dc5f8301846100ba565b92915050565b5f80fd5b6100ef816100b1565b81146100f9575f80fd5b50565b5f8135905061010a816100e6565b92915050565b5f60208284031215610125576101246100e2565b5b5f610132848285016100fc565b9150509291505056fea2646970667358221220cd528e048b47a106398c20d9c3a51fded277d68721054432b4ef7f6c7dcc656264736f6c634300081a0033
Deployed Bytecode Sourcemap
103:223:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;133:22;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;241:82;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;164:65;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;133:22;;;;:::o;241:82::-;281:4;305:10;;298:17;;241:82;:::o;164:65::-;220:1;207:10;:14;;;;164:65;:::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;523:117::-;632:1;629;622:12;769:122;842:24;860:5;842:24;:::i;:::-;835:5;832:35;822:63;;881:1;878;871:12;822:63;769:122;:::o;897:139::-;943:5;981:6;968:20;959:29;;997:33;1024:5;997:33;:::i;:::-;897:139;;;;:::o;1042:329::-;1101:6;1150:2;1138:9;1129:7;1125:23;1121:32;1118:119;;;1156:79;;:::i;:::-;1118:119;1276:1;1301:53;1346:7;1337:6;1326:9;1322:22;1301:53;:::i;:::-;1291:63;;1247:117;1042:329;;;;:::o
Swarm Source
ipfs://cd528e048b47a106398c20d9c3a51fded277d68721054432b4ef7f6c7dcc6562
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.