Skip to content
Verified contractPartial

Exp

Address0x2ec4a3323d3ce0f30cb2c07b02b70c557059615d
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.1.3

 

Same code

Only this contract

 

Details

Compiler
solc 0.1.3+commit.028f561d
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
697,852
Creation transaction
0x7d4791416f…336a1df322

Exp.sol

// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract Exp {
    function exp2(uint x) returns (uint) {
        uint y = x; // unused copy of x: steers the solc 0.1.x optimizer (see notes)
        return x = x**11/5376 + (x**10/24320 + (x**9/35200 + (x**8/(5040*8) + x**7/5040)));
    }
    function exp(uint x) returns (uint) {
        var f2 = 2;
        var f3 = f2 * 3;
        var f4 = f3 * 4;
        var f5 = f4 * 5;
        var f6 = f5 * 6;
        return 1 + x + x**2/f2 + x**3/f3 + x**4/f4 + x**5/f5 + x**6/f6 + exp2(x);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.