Sepolia Testnet

Contract

0x2c0E458B3Bf27958f08a4167963c57846d006415
Source Code Source Code

Overview

ETH Balance

0 ETH

More Info

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Amount

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Method Block
From
To
Amount
View All Internal Transactions
Loading...
Loading

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SimpleStorage

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU LGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2025-01-26
*/

// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.8.0 <=0.9.0;

/**
 * @title Storage
 */
contract SimpleStorage {
    uint public storedData;

    function setData2(uint x) public {
        storedData = x;
    }
    
    function getData2() public view returns (uint) {
        return storedData;
    }
}

Contract ABI

API
[{"inputs":[],"name":"getData2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"x","type":"uint256"}],"name":"setData2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"storedData","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052348015600e575f5ffd5b506101718061001c5f395ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c806301d61e5d146100435780632a1afcd91461005f578063a898fd701461007d575b5f5ffd5b61005d600480360381019061005891906100e8565b61009b565b005b6100676100a4565b6040516100749190610122565b60405180910390f35b6100856100a9565b6040516100929190610122565b60405180910390f35b805f8190555050565b5f5481565b5f5f54905090565b5f5ffd5b5f819050919050565b6100c7816100b5565b81146100d1575f5ffd5b50565b5f813590506100e2816100be565b92915050565b5f602082840312156100fd576100fc6100b1565b5b5f61010a848285016100d4565b91505092915050565b61011c816100b5565b82525050565b5f6020820190506101355f830184610113565b9291505056fea2646970667358221220f7f727a7ca5de5aea66f7ed8a99ed6b2d867061001b9ab7d7e7376a6107fa09164736f6c634300081c0033

Deployed Bytecode

0x608060405234801561000f575f5ffd5b506004361061003f575f3560e01c806301d61e5d146100435780632a1afcd91461005f578063a898fd701461007d575b5f5ffd5b61005d600480360381019061005891906100e8565b61009b565b005b6100676100a4565b6040516100749190610122565b60405180910390f35b6100856100a9565b6040516100929190610122565b60405180910390f35b805f8190555050565b5f5481565b5f5f54905090565b5f5ffd5b5f819050919050565b6100c7816100b5565b81146100d1575f5ffd5b50565b5f813590506100e2816100be565b92915050565b5f602082840312156100fd576100fc6100b1565b5b5f61010a848285016100d4565b91505092915050565b61011c816100b5565b82525050565b5f6020820190506101355f830184610113565b9291505056fea2646970667358221220f7f727a7ca5de5aea66f7ed8a99ed6b2d867061001b9ab7d7e7376a6107fa09164736f6c634300081c0033

Deployed Bytecode Sourcemap

104:225:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;165:66;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;134:22;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;243:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;165:66;222:1;209:10;:14;;;;165:66;:::o;134:22::-;;;;:::o;243:83::-;284:4;308:10;;301:17;;243:83;:::o;88:117:1:-;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:118::-;1112:24;1130:5;1112:24;:::i;:::-;1107:3;1100:37;1025:118;;:::o;1149:222::-;1242:4;1280:2;1269:9;1265:18;1257:26;;1293:71;1361:1;1350:9;1346:17;1337:6;1293:71;:::i;:::-;1149:222;;;;:::o

Swarm Source

ipfs://f7f727a7ca5de5aea66f7ed8a99ed6b2d867061001b9ab7d7e7376a6107fa091

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
0x2c0E458B3Bf27958f08a4167963c57846d006415
Loading...
Loading
Loading...
Loading

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.