Skip to content
Verified contractPartial

Wallet

Address0x7105cdc8bd45bbd9967775e254976a3607e14765
Balance

0 ETH

 

Transactions

6,097

 

Compiler

solc 0.4.18

 

Same code

15 more contracts

 

Details

Compiler
solc 0.4.18+commit.9cf6e910
Language
solidity
Optimization
Yes, 125 runs
License
Not stated
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
5,148,411
Creation transaction
0x5e46f1881d…396ad0c36a

Wallet.sol

// Submitted by EthereumHistory (ethereumhistory.com)
pragma solidity ^0.4.18;

contract Exchange {
    function operators(address _operator) public view returns (bool);
}

contract Wallet {
    Exchange exchange;
    address target;

    function () public {
        address t;
        bytes memory data;
        require(exchange.operators(tx.origin));
        t = target;
        data = msg.data;
        assembly {
            let ptr := mload(0x40)
            let result := call(gas, t, 0, add(data, 0x20), mload(data), ptr, 0)
            let size := returndatasize
            returndatacopy(ptr, 0, size)
            switch result
            case 0 { revert(ptr, size) }
            default { return(ptr, size) }
        }
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 125,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.