APE Price: $0.17 (-5.79%)

Contract

0xd3a298f422db193B5C03e3bdE6e6AAD2fF83Eb46

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo0 APE

APE Value

$0.00

More Info

Private Name Tags

Multichain Info

N/A
Transaction Hash
Block
From
To
Increment68028592024-12-17 21:17:29407 days ago1734470249IN
0xd3a298f4...2fF83Eb46
0 APE0.0006735225.42069
Increment68028562024-12-17 21:17:14407 days ago1734470234IN
0xd3a298f4...2fF83Eb46
0 APE0.0011082125.42069
Reset68028542024-12-17 21:16:59407 days ago1734470219IN
0xd3a298f4...2fF83Eb46
0 APE0.0005453725.42069
Increment68028482024-12-17 21:16:40407 days ago1734470200IN
0xd3a298f4...2fF83Eb46
0 APE0.0006735225.42069
Increment68028422024-12-17 21:16:22407 days ago1734470182IN
0xd3a298f4...2fF83Eb46
0 APE0.0006735225.42069
Increment68028382024-12-17 21:16:02407 days ago1734470162IN
0xd3a298f4...2fF83Eb46
0 APE0.0006735225.42069
Increment68028302024-12-17 21:15:47407 days ago1734470147IN
0xd3a298f4...2fF83Eb46
0 APE0.0011082125.42069

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:
Counter

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2024-12-17
*/

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

contract Counter {
    uint256 public count; // Variable publique pour suivre le compteur

    // Incrémente le compteur, jusqu'à un maximum de 51
    function increment() public {
        require(count < 51, "Compteur a atteint la limite de 51");
        count++;
    }

    // Réinitialise le compteur à 0
    function reset() public {
        count = 0;
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"count","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"increment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reset","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052348015600e575f5ffd5b506102578061001c5f395ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c806306661abd14610043578063d09de08a14610061578063d826f88f1461006b575b5f5ffd5b61004b610075565b60405161005891906100f6565b60405180910390f35b61006961007a565b005b6100736100d6565b005b5f5481565b60335f54106100be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100b59061018f565b60405180910390fd5b5f5f8154809291906100cf906101da565b9190505550565b5f5f81905550565b5f819050919050565b6100f0816100de565b82525050565b5f6020820190506101095f8301846100e7565b92915050565b5f82825260208201905092915050565b7f436f6d707465757220612061747465696e74206c61206c696d697465206465205f8201527f3531000000000000000000000000000000000000000000000000000000000000602082015250565b5f61017960228361010f565b91506101848261011f565b604082019050919050565b5f6020820190508181035f8301526101a68161016d565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6101e4826100de565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610216576102156101ad565b5b60018201905091905056fea26469706673582212205495128d3aa67aed1a487a4b21c9aca0b3643cafe163b1f46b68853f00e9f0a164736f6c634300081c0033

Deployed Bytecode

0x608060405234801561000f575f5ffd5b506004361061003f575f3560e01c806306661abd14610043578063d09de08a14610061578063d826f88f1461006b575b5f5ffd5b61004b610075565b60405161005891906100f6565b60405180910390f35b61006961007a565b005b6100736100d6565b005b5f5481565b60335f54106100be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100b59061018f565b60405180910390fd5b5f5f8154809291906100cf906101da565b9190505550565b5f5f81905550565b5f819050919050565b6100f0816100de565b82525050565b5f6020820190506101095f8301846100e7565b92915050565b5f82825260208201905092915050565b7f436f6d707465757220612061747465696e74206c61206c696d697465206465205f8201527f3531000000000000000000000000000000000000000000000000000000000000602082015250565b5f61017960228361010f565b91506101848261011f565b604082019050919050565b5f6020820190508181035f8301526101a68161016d565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6101e4826100de565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610216576102156101ad565b5b60018201905091905056fea26469706673582212205495128d3aa67aed1a487a4b21c9aca0b3643cafe163b1f46b68853f00e9f0a164736f6c634300081c0033

Deployed Bytecode Sourcemap

61:381:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85:20;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;218:122;;;:::i;:::-;;387:52;;;:::i;:::-;;85:20;;;;:::o;218:122::-;273:2;265:5;;:10;257:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;325:5;;:7;;;;;;;;;:::i;:::-;;;;;;218:122::o;387:52::-;430:1;422:5;:9;;;;387:52::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:221::-;757:34;753:1;745:6;741:14;734:58;826:4;821:2;813:6;809:15;802:29;617:221;:::o;844:366::-;986:3;1007:67;1071:2;1066:3;1007:67;:::i;:::-;1000:74;;1083:93;1172:3;1083:93;:::i;:::-;1201:2;1196:3;1192:12;1185:19;;844:366;;;:::o;1216:419::-;1382:4;1420:2;1409:9;1405:18;1397:26;;1469:9;1463:4;1459:20;1455:1;1444:9;1440:17;1433:47;1497:131;1623:4;1497:131;:::i;:::-;1489:139;;1216:419;;;:::o;1641:180::-;1689:77;1686:1;1679:88;1786:4;1783:1;1776:15;1810:4;1807:1;1800:15;1827:233;1866:3;1889:24;1907:5;1889:24;:::i;:::-;1880:33;;1935:66;1928:5;1925:77;1922:103;;2005:18;;:::i;:::-;1922:103;2052:1;2045:5;2041:13;2034:20;;1827:233;;;:::o

Swarm Source

ipfs://5495128d3aa67aed1a487a4b21c9aca0b3643cafe163b1f46b68853f00e9f0a1

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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
0xd3a298f422db193B5C03e3bdE6e6AAD2fF83Eb46
Loading...
Loading
Loading...
Loading
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.