Verified contractPartial
Counter
Address0xa787fd690950e7449b74ecb77e01c127d2661094
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.4.26
- Same code
1 more contract
Details
- Compiler
- solc 0.4.26+commit.4563c3fc
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 6,361,704
- Creation transaction
- 0xede12f507a…e8a6d7f4fc
0c943890110dd32867abbcc62a2bc892f68399c6_Counter.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
/**
*Submitted for verification at Etherscan.io on 2022-12-07
*/
pragma solidity ^0.4.0;
contract Counter {
int private count = 0;
function incrementCounter() public {
count += 1;
}
function decrementCounter() public {
count -= 1;
}
function getCount() public constant returns (int) {
return count;
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.