Skip to content
Verified contractPartial

Caller

Address0x45b9bb86b94aeff2d99632b43332cee84ff4d3ca
Balance

0 ETH

 

Transactions

2

 

Compiler

solc 0.1.3

 

Same code

1 more contract

 

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
92,002
Creation transaction
0x83a08187a1…c676e51bf4

Caller.sol

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

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

    function delegated(address adder, int a, int b) returns (int) {
        bytes32 h = sha3(a, b);
        bytes32 key = makeKey(adder, "add", h);
        adder.call(bytes4(sha3("add(bytes32,int,int)")), key, a, b);
        return ints[key];
    }

    function makeKey(address a, bytes32 f, bytes32 h) internal returns (bytes32) {
        return sha3(block.blockhash(block.number), a, f, h);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.