Skip to content
Verified contractPartial

Counter

Address0x7e58f60d9c43b967d22a3b8ea7bb5b9acb7d84df
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
No
EVM version
byzantium
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
16,188,151
Creation transaction
0x4bf8c5733d…2a01742fb2

Counter.sol

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
{
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "evmVersion": "byzantium",
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.