Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
Multichain Info
N/A
Latest 11 from a total of 11 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Reset | 109039066 | 123 days ago | IN | 0 ETH | 0.0000024 | ||||
Reset | 89303263 | 188 days ago | IN | 0 ETH | 0.00000267 | ||||
Add Integer | 89303236 | 188 days ago | IN | 0 ETH | 0.00000332 | ||||
Reset | 85635244 | 202 days ago | IN | 0 ETH | 0.00001781 | ||||
Reset | 85635221 | 202 days ago | IN | 0 ETH | 0.00001761 | ||||
Add Integer | 67186486 | 268 days ago | IN | 0 ETH | 0.00001243 | ||||
Reset | 63058689 | 285 days ago | IN | 0 ETH | 0.00000626 | ||||
Reset | 63058678 | 285 days ago | IN | 0 ETH | 0.00000603 | ||||
Add Integer | 62113994 | 289 days ago | IN | 0 ETH | 0.00003072 | ||||
Reset | 52923333 | 317 days ago | IN | 0 ETH | 0.00000233 | ||||
Reset | 12315545 | 441 days ago | IN | 0 ETH | 0.00004795 |
Loading...
Loading
Contract Name:
SimpleCounter
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *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"}]
Contract Creation Code
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
Loading...
Loading
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.