ETH Price: $2,696.05 (-1.51%)
 

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 0x1675ee6c...f5d5E3b13
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Counter

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at scrollscan.com on 2023-10-27
*/

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

contract Counter {
    string public contractName;
    uint256 public counter;

    constructor(string memory _name) {
        contractName = _name;
        counter = 0;
    }

    function incrementCounter() public {
        counter++;
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"contractName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"incrementCounter","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0x608060405234801562000010575f80fd5b5060405162000867380380620008678339818101604052810190620000369190620001da565b805f908162000046919062000460565b505f6001819055505062000544565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620000b6826200006e565b810181811067ffffffffffffffff82111715620000d857620000d76200007e565b5b80604052505050565b5f620000ec62000055565b9050620000fa8282620000ab565b919050565b5f67ffffffffffffffff8211156200011c576200011b6200007e565b5b62000127826200006e565b9050602081019050919050565b5f5b838110156200015357808201518184015260208101905062000136565b5f8484015250505050565b5f620001746200016e84620000ff565b620000e1565b9050828152602081018484840111156200019357620001926200006a565b5b620001a084828562000134565b509392505050565b5f82601f830112620001bf57620001be62000066565b5b8151620001d18482602086016200015e565b91505092915050565b5f60208284031215620001f257620001f16200005e565b5b5f82015167ffffffffffffffff81111562000212576200021162000062565b5b6200022084828501620001a8565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200027857607f821691505b6020821081036200028e576200028d62000233565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620002f27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002b5565b620002fe8683620002b5565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62000348620003426200033c8462000316565b6200031f565b62000316565b9050919050565b5f819050919050565b620003638362000328565b6200037b62000372826200034f565b848454620002c1565b825550505050565b5f90565b6200039162000383565b6200039e81848462000358565b505050565b5b81811015620003c557620003b95f8262000387565b600181019050620003a4565b5050565b601f8211156200041457620003de8162000294565b620003e984620002a6565b81016020851015620003f9578190505b620004116200040885620002a6565b830182620003a3565b50505b505050565b5f82821c905092915050565b5f620004365f198460080262000419565b1980831691505092915050565b5f62000450838362000425565b9150826002028217905092915050565b6200046b8262000229565b67ffffffffffffffff8111156200048757620004866200007e565b5b62000493825462000260565b620004a0828285620003c9565b5f60209050601f831160018114620004d6575f8415620004c1578287015190505b620004cd858262000443565b8655506200053c565b601f198416620004e68662000294565b5f5b828110156200050f57848901518255600182019150602085019450602081019050620004e8565b868310156200052f57848901516200052b601f89168262000425565b8355505b6001600288020188555050505b505050505050565b61031580620005525f395ff3fe608060405234801561000f575f80fd5b506004361061003f575f3560e01c80635b34b9661461004357806361bc221a1461004d57806375d0c0dc1461006b575b5f80fd5b61004b610089565b005b6100556100a2565b604051610062919061014b565b60405180910390f35b6100736100a8565b60405161008091906101ee565b60405180910390f35b60015f81548092919061009b9061023b565b9190505550565b60015481565b5f80546100b4906102af565b80601f01602080910402602001604051908101604052809291908181526020018280546100e0906102af565b801561012b5780601f106101025761010080835404028352916020019161012b565b820191905f5260205f20905b81548152906001019060200180831161010e57829003601f168201915b505050505081565b5f819050919050565b61014581610133565b82525050565b5f60208201905061015e5f83018461013c565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561019b578082015181840152602081019050610180565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6101c082610164565b6101ca818561016e565b93506101da81856020860161017e565b6101e3816101a6565b840191505092915050565b5f6020820190508181035f83015261020681846101b6565b905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61024582610133565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036102775761027661020e565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806102c657607f821691505b6020821081036102d9576102d8610282565b5b5091905056fea2646970667358221220c72946fe2c7d58b4afdcff00361e6ef5340de7f08c5aaefc3089c0b9604b81f164736f6c634300081600330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000d73696e6761706f75723230323400000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b506004361061003f575f3560e01c80635b34b9661461004357806361bc221a1461004d57806375d0c0dc1461006b575b5f80fd5b61004b610089565b005b6100556100a2565b604051610062919061014b565b60405180910390f35b6100736100a8565b60405161008091906101ee565b60405180910390f35b60015f81548092919061009b9061023b565b9190505550565b60015481565b5f80546100b4906102af565b80601f01602080910402602001604051908101604052809291908181526020018280546100e0906102af565b801561012b5780601f106101025761010080835404028352916020019161012b565b820191905f5260205f20905b81548152906001019060200180831161010e57829003601f168201915b505050505081565b5f819050919050565b61014581610133565b82525050565b5f60208201905061015e5f83018461013c565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561019b578082015181840152602081019050610180565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6101c082610164565b6101ca818561016e565b93506101da81856020860161017e565b6101e3816101a6565b840191505092915050565b5f6020820190508181035f83015261020681846101b6565b905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61024582610133565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036102775761027661020e565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806102c657607f821691505b6020821081036102d9576102d8610282565b5b5091905056fea2646970667358221220c72946fe2c7d58b4afdcff00361e6ef5340de7f08c5aaefc3089c0b9604b81f164736f6c63430008160033

Deployed Bytecode Sourcemap

61:256:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;251:63;;;:::i;:::-;;118:22;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;251:63;297:7;;:9;;;;;;;;;:::i;:::-;;;;;;251:63::o;118:22::-;;;;:::o;85:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::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;442:99::-;494:6;528:5;522:12;512:22;;442:99;;;:::o;547:169::-;631:11;665:6;660:3;653:19;705:4;700:3;696:14;681:29;;547:169;;;;:::o;722:246::-;803:1;813:113;827:6;824:1;821:13;813:113;;;912:1;907:3;903:11;897:18;893:1;888:3;884:11;877:39;849:2;846:1;842:10;837:15;;813:113;;;960:1;951:6;946:3;942:16;935:27;784:184;722:246;;;:::o;974:102::-;1015:6;1066:2;1062:7;1057:2;1050:5;1046:14;1042:28;1032:38;;974:102;;;:::o;1082:377::-;1170:3;1198:39;1231:5;1198:39;:::i;:::-;1253:71;1317:6;1312:3;1253:71;:::i;:::-;1246:78;;1333:65;1391:6;1386:3;1379:4;1372:5;1368:16;1333:65;:::i;:::-;1423:29;1445:6;1423:29;:::i;:::-;1418:3;1414:39;1407:46;;1174:285;1082:377;;;;:::o;1465:313::-;1578:4;1616:2;1605:9;1601:18;1593:26;;1665:9;1659:4;1655:20;1651:1;1640:9;1636:17;1629:47;1693:78;1766:4;1757:6;1693:78;:::i;:::-;1685:86;;1465:313;;;;:::o;1784:180::-;1832:77;1829:1;1822:88;1929:4;1926:1;1919:15;1953:4;1950:1;1943:15;1970:233;2009:3;2032:24;2050:5;2032:24;:::i;:::-;2023:33;;2078:66;2071:5;2068:77;2065:103;;2148:18;;:::i;:::-;2065:103;2195:1;2188:5;2184:13;2177:20;;1970:233;;;:::o;2209:180::-;2257:77;2254:1;2247:88;2354:4;2351:1;2344:15;2378:4;2375:1;2368:15;2395:320;2439:6;2476:1;2470:4;2466:12;2456:22;;2523:1;2517:4;2513:12;2544:18;2534:81;;2600:4;2592:6;2588:17;2578:27;;2534:81;2662:2;2654:6;2651:14;2631:18;2628:38;2625:84;;2681:18;;:::i;:::-;2625:84;2446:269;2395:320;;;:::o

Swarm Source

ipfs://c72946fe2c7d58b4afdcff00361e6ef5340de7f08c5aaefc3089c0b9604b81f1

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.