ETH Price: $2,432.87 (+0.00%)
Gas: 0.08 GWei

Contract

0x55612cC7B215E8b778DeD0dc8cdcC618dc7c7b34

Overview

ETH Balance

Scroll LogoScroll LogoScroll Logo0 ETH

ETH Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x608060405105042023-11-03 8:55:26341 days ago1699001726IN
 Contract Creation
0 ETH0.001140840.5

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x398aC2cA...812BAEf19
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.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *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

[{"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"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c80635b34b9661461004657806361bc221a1461005057806375d0c0dc1461006e575b600080fd5b61004e61008c565b005b6100586100a6565b6040516100659190610153565b60405180910390f35b6100766100ac565b60405161008391906101fe565b60405180910390f35b6001600081548092919061009f9061024f565b9190505550565b60015481565b600080546100b9906102c6565b80601f01602080910402602001604051908101604052809291908181526020018280546100e5906102c6565b80156101325780601f1061010757610100808354040283529160200191610132565b820191906000526020600020905b81548152906001019060200180831161011557829003601f168201915b505050505081565b6000819050919050565b61014d8161013a565b82525050565b60006020820190506101686000830184610144565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156101a857808201518184015260208101905061018d565b60008484015250505050565b6000601f19601f8301169050919050565b60006101d08261016e565b6101da8185610179565b93506101ea81856020860161018a565b6101f3816101b4565b840191505092915050565b6000602082019050818103600083015261021881846101c5565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061025a8261013a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361028c5761028b610220565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806102de57607f821691505b6020821081036102f1576102f0610297565b5b5091905056fea264697066735822122079b40b0c548b0c86ba18fe8e1212b6c430fdd8a30ea6b3b48371b7f76c9f960b64736f6c63430008120033

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://79b40b0c548b0c86ba18fe8e1212b6c430fdd8a30ea6b3b48371b7f76c9f960b

Block Transaction Gas Used Reward
view all blocks sequenced

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

Validator Index Block Amount
View All Withdrawals

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