ETH Price: $2,913.02 (+3.76%)

Contract

0x8f911D0d01cC53917A3cFBC0e103ad904F547C1c

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

ContractCreator

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Increment201884612025-06-26 11:20:20214 days ago1750936820IN
0x8f911D0d...04F547C1c
0 ETH0.000000030.0010007
Increment201872862025-06-26 11:00:45214 days ago1750935645IN
0x8f911D0d...04F547C1c
0 ETH0.000000030.0010008
Increment201872762025-06-26 11:00:35214 days ago1750935635IN
0x8f911D0d...04F547C1c
0 ETH0.000000030.0010008

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 0x1262316c...a7e8A46A2
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.26+commit.8a97fa7a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at uniscan.xyz on 2025-06-26
*/

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

contract Counter {
    uint256 public count;

    event CountIncremented(uint256 newCount);

    constructor() {
        count = 1; // Initialisation du compteur à 1
    }

    function increment() public {
        require(count < 50, "Counter has reached the maximum value of 50");
        count++;
        emit CountIncremented(count);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newCount","type":"uint256"}],"name":"CountIncremented","type":"event"},{"inputs":[],"name":"count","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"increment","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0x6080604052348015600e575f80fd5b5060015f81905550610272806100235f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c806306661abd14610038578063d09de08a14610056575b5f80fd5b610040610060565b60405161004d9190610111565b60405180910390f35b61005e610065565b005b5f5481565b60325f54106100a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100a0906101aa565b60405180910390fd5b5f808154809291906100ba906101f5565b91905055507f420680a649b45cbb7e97b24365d8ed81598dce543f2a2014d48fe328aa47e8bb5f546040516100ef9190610111565b60405180910390a1565b5f819050919050565b61010b816100f9565b82525050565b5f6020820190506101245f830184610102565b92915050565b5f82825260208201905092915050565b7f436f756e74657220686173207265616368656420746865206d6178696d756d205f8201527f76616c7565206f66203530000000000000000000000000000000000000000000602082015250565b5f610194602b8361012a565b915061019f8261013a565b604082019050919050565b5f6020820190508181035f8301526101c181610188565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6101ff826100f9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610231576102306101c8565b5b60018201905091905056fea264697066735822122010da48b568a1d4bc816a2cba62ecc10f35500cc9569c1a81576049a2d01c5eec64736f6c634300081a0033

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610034575f3560e01c806306661abd14610038578063d09de08a14610056575b5f80fd5b610040610060565b60405161004d9190610111565b60405180910390f35b61005e610065565b005b5f5481565b60325f54106100a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100a0906101aa565b60405180910390fd5b5f808154809291906100ba906101f5565b91905055507f420680a649b45cbb7e97b24365d8ed81598dce543f2a2014d48fe328aa47e8bb5f546040516100ef9190610111565b60405180910390a1565b5f819050919050565b61010b816100f9565b82525050565b5f6020820190506101245f830184610102565b92915050565b5f82825260208201905092915050565b7f436f756e74657220686173207265616368656420746865206d6178696d756d205f8201527f76616c7565206f66203530000000000000000000000000000000000000000000602082015250565b5f610194602b8361012a565b915061019f8261013a565b604082019050919050565b5f6020820190508181035f8301526101c181610188565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6101ff826100f9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610231576102306101c8565b5b60018201905091905056fea264697066735822122010da48b568a1d4bc816a2cba62ecc10f35500cc9569c1a81576049a2d01c5eec64736f6c634300081a0033

Deployed Bytecode Sourcemap

61:360:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85:20;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;248:170;;;:::i;:::-;;85:20;;;;:::o;248:170::-;303:2;295:5;;:10;287:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;364:5;;:7;;;;;;;;;:::i;:::-;;;;;;387:23;404:5;;387:23;;;;;;:::i;:::-;;;;;;;;248:170::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:169::-;526:11;560:6;555:3;548:19;600:4;595:3;591:14;576:29;;442:169;;;;:::o;617:230::-;757:34;753:1;745:6;741:14;734:58;826:13;821:2;813:6;809:15;802:38;617:230;:::o;853:366::-;995:3;1016:67;1080:2;1075:3;1016:67;:::i;:::-;1009:74;;1092:93;1181:3;1092:93;:::i;:::-;1210:2;1205:3;1201:12;1194:19;;853:366;;;:::o;1225:419::-;1391:4;1429:2;1418:9;1414:18;1406:26;;1478:9;1472:4;1468:20;1464:1;1453:9;1449:17;1442:47;1506:131;1632:4;1506:131;:::i;:::-;1498:139;;1225:419;;;:::o;1650:180::-;1698:77;1695:1;1688:88;1795:4;1792:1;1785:15;1819:4;1816:1;1809:15;1836:233;1875:3;1898:24;1916:5;1898:24;:::i;:::-;1889:33;;1944:66;1937:5;1934:77;1931:103;;2014:18;;:::i;:::-;1931:103;2061:1;2054:5;2050:13;2043:20;;1836:233;;;:::o

Swarm Source

ipfs://10da48b568a1d4bc816a2cba62ecc10f35500cc9569c1a81576049a2d01c5eec

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
[ 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.