ETH Price: $2,253.57 (-1.17%)
 

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
returnMeSomething

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at optimistic.etherscan.io on 2022-11-29
*/

pragma solidity ^0.8.0;

contract returnMeSomething {

    uint256 public SomeVariable = 256;

    function checkSomething(uint _a) public view returns (bool) {
        if (_a == 10) {
            return true;
        } else {
            return false;
        }
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"SomeVariable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_a","type":"uint256"}],"name":"checkSomething","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

608060405261010060005534801561001657600080fd5b506101ab806100266000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80630da877d61461003b57806380bcebaf1461006b575b600080fd5b610055600480360381019061005091906100c2565b610089565b604051610062919061010d565b60405180910390f35b6100736100a7565b6040516100809190610128565b60405180910390f35b6000600a82141561009d57600190506100a2565b600090505b919050565b60005481565b6000813590506100bc8161015e565b92915050565b6000602082840312156100d8576100d7610159565b5b60006100e6848285016100ad565b91505092915050565b6100f881610143565b82525050565b6101078161014f565b82525050565b600060208201905061012260008301846100ef565b92915050565b600060208201905061013d60008301846100fe565b92915050565b60008115159050919050565b6000819050919050565b600080fd5b6101678161014f565b811461017257600080fd5b5056fea2646970667358221220a1427fca44ee9ce5ccba80ee9f14d65a063efc6a54a08c686514441489dccb1264736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c80630da877d61461003b57806380bcebaf1461006b575b600080fd5b610055600480360381019061005091906100c2565b610089565b604051610062919061010d565b60405180910390f35b6100736100a7565b6040516100809190610128565b60405180910390f35b6000600a82141561009d57600190506100a2565b600090505b919050565b60005481565b6000813590506100bc8161015e565b92915050565b6000602082840312156100d8576100d7610159565b5b60006100e6848285016100ad565b91505092915050565b6100f881610143565b82525050565b6101078161014f565b82525050565b600060208201905061012260008301846100ef565b92915050565b600060208201905061013d60008301846100fe565b92915050565b60008115159050919050565b6000819050919050565b600080fd5b6101678161014f565b811461017257600080fd5b5056fea2646970667358221220a1427fca44ee9ce5ccba80ee9f14d65a063efc6a54a08c686514441489dccb1264736f6c63430008070033

Deployed Bytecode Sourcemap

27:256:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105:175;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;63:33;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;105:175;159:4;186:2;180;:8;176:97;;;212:4;205:11;;;;176:97;256:5;249:12;;105:175;;;;:::o;63:33::-;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:329::-;211:6;260:2;248:9;239:7;235:23;231:32;228:119;;;266:79;;:::i;:::-;228:119;386:1;411:53;456:7;447:6;436:9;432:22;411:53;:::i;:::-;401:63;;357:117;152:329;;;;:::o;487:109::-;568:21;583:5;568:21;:::i;:::-;563:3;556:34;487:109;;:::o;602:118::-;689:24;707:5;689:24;:::i;:::-;684:3;677:37;602:118;;:::o;726:210::-;813:4;851:2;840:9;836:18;828:26;;864:65;926:1;915:9;911:17;902:6;864:65;:::i;:::-;726:210;;;;:::o;942:222::-;1035:4;1073:2;1062:9;1058:18;1050:26;;1086:71;1154:1;1143:9;1139:17;1130:6;1086:71;:::i;:::-;942:222;;;;:::o;1251:90::-;1285:7;1328:5;1321:13;1314:21;1303:32;;1251:90;;;:::o;1347:77::-;1384:7;1413:5;1402:16;;1347:77;;;:::o;1553:117::-;1662:1;1659;1652:12;1676:122;1749:24;1767:5;1749:24;:::i;:::-;1742:5;1739:35;1729:63;;1788:1;1785;1778:12;1729:63;1676:122;:::o

Swarm Source

ipfs://a1427fca44ee9ce5ccba80ee9f14d65a063efc6a54a08c686514441489dccb12

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.