Skip to content
Verified contractPartial

NexoDepositWallet

Address0xcf7ca87e50b9d86e299fe0cab43629f970e28702
Balance

0 ETH

 

Transactions

11

 

Compiler

solc 0.4.24

 

Same code

20,715 more contracts

 

Details

Compiler
solc 0.4.24+commit.e67f0147
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
9,566,766
Creation transaction
0xdb9669b368…e7694fdb3c
Main copy (most transactions)
0x85b4269e…7839a1a6

NexoDepositWallet.sol

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

contract ERC20 {
    function transfer(address _to, uint256 _value) public;
}

contract NexoDepositWallet {
    address public constant owner = 0x65b0BF8Ee4947edD2A500D74E50a3d757DC79de0;
    address public spender;

    function () public payable {}

    function setSpender(address _spender) public {
        require(msg.sender == owner);
        spender = _spender;
    }

    function send(address _to, uint256 _amount) public {
        require(msg.sender == spender);
        _to.transfer(_amount);
    }

    function sendTokens(address _token, address _to, uint256 _amount) public {
        require(msg.sender == spender);
        ERC20(_token).transfer(_to, _amount);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.