Arbitrum Sepolia Testnet

Contract

0x083935210524c0A8922ec610d1063Aa0A54d9d70

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Reset1090390662024-12-20 21:21:57123 days ago1734729717IN
0x08393521...0A54d9d70
0 ETH0.00000240.1
Reset893032632024-10-17 3:52:21188 days ago1729137141IN
0x08393521...0A54d9d70
0 ETH0.000002670.1
Add Integer893032362024-10-17 3:52:13188 days ago1729137133IN
0x08393521...0A54d9d70
0 ETH0.000003320.1
Reset856352442024-10-02 17:01:57202 days ago1727888517IN
0x08393521...0A54d9d70
0 ETH0.000017810.1
Reset856352212024-10-02 17:01:50202 days ago1727888510IN
0x08393521...0A54d9d70
0 ETH0.000017610.1
Add Integer671864862024-07-28 11:51:45268 days ago1722167505IN
0x08393521...0A54d9d70
0 ETH0.000012430.1
Reset630586892024-07-11 15:29:12285 days ago1720711752IN
0x08393521...0A54d9d70
0 ETH0.000006260.1
Reset630586782024-07-11 15:29:09285 days ago1720711749IN
0x08393521...0A54d9d70
0 ETH0.000006030.1
Add Integer621139942024-07-08 7:40:55289 days ago1720424455IN
0x08393521...0A54d9d70
0 ETH0.000030720.1
Reset529233332024-06-09 15:12:12317 days ago1717945932IN
0x08393521...0A54d9d70
0 ETH0.000002330.1
Reset123155452024-02-07 8:38:43441 days ago1707295123IN
0x08393521...0A54d9d70
0 ETH0.000047950.1

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SimpleCounter

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Sepolia.Arbiscan.io on 2023-11-16
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

contract SimpleCounter {
    uint public count = 0;

    event intAdded(address indexed sndrAddress,uint indexed intToAdd, uint curcount,uint blocknbr);
    event intReset(address indexed sndrAddress,uint blocknbr, uint curcount);
    
    function addInteger(uint intToAdd) public returns(uint) {
        count += intToAdd;
        emit intAdded(msg.sender,intToAdd,count,block.number);
        return count;
    }

    function reset() public returns(uint) {
        count = 0;
        emit intReset(msg.sender,block.number, count);
        return count;
    }
}

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sndrAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"intToAdd","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"curcount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blocknbr","type":"uint256"}],"name":"intAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sndrAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"blocknbr","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"curcount","type":"uint256"}],"name":"intReset","type":"event"},{"inputs":[{"internalType":"uint256","name":"intToAdd","type":"uint256"}],"name":"addInteger","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"count","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

60806040526000805534801561001457600080fd5b50610198806100246000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806306661abd146100465780636f72704d14610061578063d826f88f14610074575b600080fd5b61004f60005481565b60405190815260200160405180910390f35b61004f61006f366004610122565b61007c565b61004f6100db565b60008160008082825461008f919061013b565b909155505060005460408051918252436020830152839133917f5af8784c5375a746b2138424a802dfcba19fe90eb87ca3e8dc033207eb91d5ad910160405180910390a3505060005490565b6000808055604080514381526020810183905233917f68c0fc8ae3e1d3c6f6a451f4d5ee5436dd8688a9753328bdbb279c12f2c3e53d910160405180910390a25060005490565b60006020828403121561013457600080fd5b5035919050565b8082018082111561015c57634e487b7160e01b600052601160045260246000fd5b9291505056fea264697066735822122021f69caa78f317741268912cc44f0a4c888f7c4c58530cf042060eb55c7d5a2c64736f6c63430008130033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c806306661abd146100465780636f72704d14610061578063d826f88f14610074575b600080fd5b61004f60005481565b60405190815260200160405180910390f35b61004f61006f366004610122565b61007c565b61004f6100db565b60008160008082825461008f919061013b565b909155505060005460408051918252436020830152839133917f5af8784c5375a746b2138424a802dfcba19fe90eb87ca3e8dc033207eb91d5ad910160405180910390a3505060005490565b6000808055604080514381526020810183905233917f68c0fc8ae3e1d3c6f6a451f4d5ee5436dd8688a9753328bdbb279c12f2c3e53d910160405180910390a25060005490565b60006020828403121561013457600080fd5b5035919050565b8082018082111561015c57634e487b7160e01b600052601160045260246000fd5b9291505056fea264697066735822122021f69caa78f317741268912cc44f0a4c888f7c4c58530cf042060eb55c7d5a2c64736f6c63430008130033

Deployed Bytecode Sourcemap

62:581:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92:21;;;;;;;;;160:25:1;;;148:2;133:18;92:21:0;;;;;;;308:179;;;;;;:::i;:::-;;:::i;495:145::-;;;:::i;308:179::-;358:4;384:8;375:5;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;;437:5:0;;408:48;;;782:25:1;;;443:12:0;838:2:1;823:18;;816:34;428:8:0;;417:10;;408:48;;755:18:1;408:48:0;;;;;;;-1:-1:-1;;474:5:0;;;308:179::o;495:145::-;527:4;544:9;;;569:40;;;589:12;782:25:1;;838:2;823:18;;816:34;;;578:10:0;;569:40;;755:18:1;569:40:0;;;;;;;-1:-1:-1;627:5:0;;;495:145::o;196:180:1:-;255:6;308:2;296:9;287:7;283:23;279:32;276:52;;;324:1;321;314:12;276:52;-1:-1:-1;347:23:1;;196:180;-1:-1:-1;196:180:1:o;381:222::-;446:9;;;467:10;;;464:133;;;519:10;514:3;510:20;507:1;500:31;554:4;551:1;544:15;582:4;579:1;572:15;464:133;381:222;;;;:::o

Swarm Source

ipfs://21f69caa78f317741268912cc44f0a4c888f7c4c58530cf042060eb55c7d5a2c

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