Skip to content
Verified contractPartial

Adder

Address0x8bf269df72a8fc66e58d563bf7637f4f0b57fb0f
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.1.3

 

Same code

2 more contracts

 

Details

Compiler
solc 0.1.3+commit.028f561d
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
86,969
Creation transaction
0x0923556082…67d2ab8257

Adder.sol

// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract Adder {
    mapping (bytes32 => int) ints;

    function registerInt(bytes32 key, int value) {
        ints[key] = value;
    }

    function add(bytes32 key, int a, int b) returns (int result) {
        result = a + b;
        register(key, result);
        return result;
    }

    function register(bytes32 key, int value) internal {
        msg.sender.call("registerInt", key, value);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.