ETH Price: $2,694.41 (-1.57%)
 

Overview

ETH Balance

Scroll LogoScroll LogoScroll Logo0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x38F16Fc8...8527Aa0f8
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
MyContract

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at scrollscan.com on 2023-11-09
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

 contract MyContract {
                uint256 public number = 42;

                function changeNumber(uint256 _number) external {
                    number = _number;
                }
            }

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"changeNumber","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"number","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

0x6080604052602a60005534801561001557600080fd5b5061012c806100256000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806307391dd61460375780638381f58a14604f575b600080fd5b604d600480360381019060499190608c565b6069565b005b60556073565b6040516060919060bf565b60405180910390f35b8060008190555050565b60005481565b60008135905060868160e2565b92915050565b600060208284031215609d57600080fd5b600060a9848285016079565b91505092915050565b60b98160d8565b82525050565b600060208201905060d2600083018460b2565b92915050565b6000819050919050565b60e98160d8565b811460f357600080fd5b5056fea2646970667358221220dc7e67d22f5289644284a841d4a7997144266acd334bca01f2f16ac61fc802b964736f6c63430008000033

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060325760003560e01c806307391dd61460375780638381f58a14604f575b600080fd5b604d600480360381019060499190608c565b6069565b005b60556073565b6040516060919060bf565b60405180910390f35b8060008190555050565b60005481565b60008135905060868160e2565b92915050565b600060208284031215609d57600080fd5b600060a9848285016079565b91505092915050565b60b98160d8565b82525050565b600060208201905060d2600083018460b2565b92915050565b6000819050919050565b60e98160d8565b811460f357600080fd5b5056fea2646970667358221220dc7e67d22f5289644284a841d4a7997144266acd334bca01f2f16ac61fc802b964736f6c63430008000033

Deployed Bytecode Sourcemap

61:208:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;147:107;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;100:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;147:107;227:7;218:6;:16;;;;147:107;:::o;100:26::-;;;;:::o;7:139:1:-;;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:262::-;;260:2;248:9;239:7;235:23;231:32;228:2;;;276:1;273;266:12;228:2;319:1;344:53;389:7;380:6;369:9;365:22;344:53;:::i;:::-;334:63;;290:117;218:196;;;;:::o;420:118::-;507:24;525:5;507:24;:::i;:::-;502:3;495:37;485:53;;:::o;544:222::-;;675:2;664:9;660:18;652:26;;688:71;756:1;745:9;741:17;732:6;688:71;:::i;:::-;642:124;;;;:::o;772:77::-;;838:5;827:16;;817:32;;;:::o;855:122::-;928:24;946:5;928:24;:::i;:::-;921:5;918:35;908:2;;967:1;964;957:12;908:2;898:79;:::o

Swarm Source

ipfs://dc7e67d22f5289644284a841d4a7997144266acd334bca01f2f16ac61fc802b9

Block Transaction Gas Used Reward
view all blocks sequenced

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.