Contract 0xd3EBA712988df0F8A7e5073719A40cE4cbF60b33

 

Contract Overview

Zapper.Fi: sETH Unipool
Balance:
0 Ether

EtherValue:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value
0x0dbfdfcefe95a9fabf0fea810d81b1b6c8628a568326ec864837be5b27522ed9Transfer113779232020-12-03 6:08:46789 days 16 hrs ago0x3149c9a8b429e28bf9c8f05c49c1501a4fe2843c IN  Zapper.Fi: sETH Unipool0.035 Ether0.0125525524
0x38705036630bc568de72cc05316c41b7d6bac511910973f14a8cc7a90d18e601Transfer111370772020-10-27 6:53:08826 days 16 hrs ago0x33febd7679d742f24ac1ed481135af5a264dd3de IN  Zapper.Fi: sETH Unipool0.001 Ether0.0094144118
0xb7dac8e13ed365ba9cd0d1ec7ddad22f29692875c0d326be07f09b77476f980fTransfer109176542020-09-23 8:00:38860 days 15 hrs ago0xb555d131d41eab89bd8613b9f1d60c24a201595d IN  Zapper.Fi: sETH Unipool1.469 Ether0.0523546100.1
0xa3f2a9dbec495a8ed76e6dad49d2fdb98691d39c51ae2f6f3c530f306bd22734Transfer108984412020-09-20 9:47:05863 days 13 hrs ago0x643e09d1776b884b56b676e594adc6f49978ffe3 IN  Zapper.Fi: sETH Unipool2 Ether0.05580655106.70000135
0xfe6eafe2647a08f127ad1e01bfc80ba042981c4bdb0b9b3ea948f70ce6f1cff6Transfer108291332020-09-09 18:21:07874 days 4 hrs ago0xff603c6b10067425b5456a6acf50f01e82af1ed5 IN  Zapper.Fi: sETH Unipool0.95 Ether0.0402727777
0xd651834dff229b6f283a4382d7e70575673e1a0fba50db9be50d8caff60cfdd1Transfer106194402020-08-08 13:25:54906 days 9 hrs ago0xefa16c648e46405c3e51b0c4fb8eb7a4340b0fe3 IN  Zapper.Fi: sETH Unipool1 Ether0.0257136351
0xea075dd532998780e4ca6d9e1b58b6c957f482e2a783f9f326145e07e95aa3c9Transfer106191332020-08-08 12:12:47906 days 10 hrs ago0xe7cbf8c0f64f61eaa8af83e517bb151508da12c3 IN  Zapper.Fi: sETH Unipool0.4 Ether0.01830236
0x36b678e792f103679e106710c9cfee6e1dc2e84969fc33b6f846aca96c41fa52Transfer105848952020-08-03 5:23:27911 days 17 hrs ago0xf1f6ed7aee4906a83ed36aa366fe09b39700b2fb IN  Zapper.Fi: sETH Unipool0.95 Ether0.0188103937
0x279c834a3774babc148c9150832331c0eba104790808c312956864c6efe652baTransfer105811932020-08-02 15:24:46912 days 7 hrs agoENS Name jamesbowen.eth IN  Zapper.Fi: sETH Unipool0.27092928 Ether0.00151272
0x682be0d79a3bb24756620f804258357bb1d57c3e700d33169cfa443a7885e0f8Transfer105703072020-07-31 23:16:37913 days 23 hrs ago0x798281ee56237de4ff6c5a49920f83e21ee9b2bb IN  Zapper.Fi: sETH Unipool0.1 Ether0.0234875746.2
0x9d1f898ea734c1ffc6ca2b32c0de71492d39cefce68a70423625b73f9fc99cf8Transfer105342222020-07-26 9:15:17919 days 13 hrs agoENS Name triplesun.eth IN  Zapper.Fi: sETH Unipool1 Ether0.0401130281.4
0xe13be4dd5f8ecc96a8eeacdf0b18b1301813a8633dea1b2a73dd6288a4c28587Transfer105308522020-07-25 20:49:34920 days 2 hrs agoENS Name triplesun.eth IN  Zapper.Fi: sETH Unipool1 Ether0.0302127959.498725
0xa7b50c2c6171a68b9df21aa29b318d6ea5b566f4c28ef9a86194392998cb91a2Transfer105134562020-07-23 4:02:30922 days 19 hrs ago0x5fbd3e26abc83997d8e4973c6730b33d2f67cd2a IN  Zapper.Fi: sETH Unipool0.08 Ether0.0304673460.00000134
0xb17917cfe23eb792ca250841872ca727e0c057123396199423de39a8cc2d1299Transfer103179212020-06-22 21:15:21953 days 1 hr ago0xdeb6f026cdfa8ab1130875aacee3312aa0c3f915 IN  Zapper.Fi: sETH Unipool0.15 Ether0.0201084439.6
0x4e8b4453eab9d49367d4d9ce414ee603e93c23c5ee912d0c2b6dd078b99d9aa9Transfer103164312020-06-22 15:39:18953 days 7 hrs ago0xdeb6f026cdfa8ab1130875aacee3312aa0c3f915 IN  Zapper.Fi: sETH Unipool0.125 Ether0.0177726135
0x6d5b67e1083b45a19b418c05eeb1beca07096f919d8ea1801d05c657946d03d9Transfer103137222020-06-22 5:39:30953 days 17 hrs ago0xdeb6f026cdfa8ab1130875aacee3312aa0c3f915 IN  Zapper.Fi: sETH Unipool0.125 Ether0.0142180928
0x04e39cd270ce2c0631b420636a541dafd0835d5517dacdfda4aa210d8c8b8e6fTransfer103049752020-06-20 21:10:32955 days 1 hr ago0x2ed6c6c921eb1931a44a95f11404ddc2d24b0f27 IN  Zapper.Fi: sETH Unipool0.01 Ether0.0094956518.7
0x1dab2aaa8a653b490c92a3cf66917e4b88966d8bb679b97fd295e504f5fad3dbTransfer103029172020-06-20 13:29:56955 days 9 hrs ago0x2ed6c6c921eb1931a44a95f11404ddc2d24b0f27 IN  Zapper.Fi: sETH Unipool0.05 Ether0.0134894126.565
0x51ca678bde43db0dbd32b01c68fff8730410859aeb9df48731e45a0240b427b6Transfer102620052020-06-14 5:35:05961 days 17 hrs ago0x896022620ca215a0e5c8510095f194f46c3470db IN  Zapper.Fi: sETH Unipool1 Ether0.0066520313.10000123
0xbf6302ddf2b1a33084e87417f1cd77a7116e172ff26ac71fc23248ae76af915eTransfer102449492020-06-11 14:32:20964 days 8 hrs agoGitcoin Grants: DeFiZap IN  Zapper.Fi: sETH Unipool0.2 Ether0.0253894550
0x5af811acd6fdff3ed5dbcb3d1855e691b6625697e2f50bf4d5f5555172595003Transfer102155642020-06-07 1:04:06968 days 22 hrs ago0xb115b4ce15d8afb4fbc87b85a69527f218579360 IN  Zapper.Fi: sETH Unipool0.04 Ether0.0173461735.2
0xa190d1c678079aefe649e8214475eeec034006e4befd91c2df5ce62692f454a2Transfer102034772020-06-05 4:03:22970 days 19 hrs agoGitcoin Grants: DeFiZap IN  Zapper.Fi: sETH Unipool0.1 Ether0.0404119228.2
0x21c54f51336769ea75f92dc290e30761832eadc9726077479323a4c0499b88c6Lets Invest101823642020-06-01 21:23:52974 days 1 hr agoENS Name nrgskill.eth IN  Zapper.Fi: sETH Unipool2 Ether0.0091049417.9
0x8df93cde216b6d2bb16f894e593307d9f73edc26fedbcfffb53b534c7ed70bfdLets Invest101794822020-06-01 10:37:19974 days 12 hrs ago0x938728abc0bd173b8a4f07813810e224a5c3c166 IN  Zapper.Fi: sETH Unipool0.0684 Ether0.011088721.8
0x03ed01f8154464c434aed0b3f0c15a4e24decafabf6e56af9b39a373b6926ccaLets Invest101747132020-05-31 16:44:40975 days 6 hrs ago0x5581a2536f0ceb3500079c574dddeb515d8b027e IN  Zapper.Fi: sETH Unipool1.4 Ether0.0106817721
[ Download CSV Export 

OVERVIEW

Zapper.Fi is a system of smart contracts - Zaps - that deploys ETH (and now other ERC20s!) across multiple DeFi protocols in one transaction.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x0dbfdfcefe95a9fabf0fea810d81b1b6c8628a568326ec864837be5b27522ed9113779232020-12-03 6:08:46789 days 16 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.035 Ether
0x38705036630bc568de72cc05316c41b7d6bac511910973f14a8cc7a90d18e601111370772020-10-27 6:53:08826 days 16 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.001 Ether
0xb7dac8e13ed365ba9cd0d1ec7ddad22f29692875c0d326be07f09b77476f980f109176542020-09-23 8:00:38860 days 15 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool1.469 Ether
0xa3f2a9dbec495a8ed76e6dad49d2fdb98691d39c51ae2f6f3c530f306bd22734108984412020-09-20 9:47:05863 days 13 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool2 Ether
0xfe6eafe2647a08f127ad1e01bfc80ba042981c4bdb0b9b3ea948f70ce6f1cff6108291332020-09-09 18:21:07874 days 4 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.95 Ether
0xd651834dff229b6f283a4382d7e70575673e1a0fba50db9be50d8caff60cfdd1106194402020-08-08 13:25:54906 days 9 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool1 Ether
0xea075dd532998780e4ca6d9e1b58b6c957f482e2a783f9f326145e07e95aa3c9106191332020-08-08 12:12:47906 days 10 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.4 Ether
0x36b678e792f103679e106710c9cfee6e1dc2e84969fc33b6f846aca96c41fa52105848952020-08-03 5:23:27911 days 17 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.95 Ether
0x682be0d79a3bb24756620f804258357bb1d57c3e700d33169cfa443a7885e0f8105703072020-07-31 23:16:37913 days 23 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.1 Ether
0x9d1f898ea734c1ffc6ca2b32c0de71492d39cefce68a70423625b73f9fc99cf8105342222020-07-26 9:15:17919 days 13 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool1 Ether
0xe13be4dd5f8ecc96a8eeacdf0b18b1301813a8633dea1b2a73dd6288a4c28587105308522020-07-25 20:49:34920 days 2 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool1 Ether
0xa7b50c2c6171a68b9df21aa29b318d6ea5b566f4c28ef9a86194392998cb91a2105134562020-07-23 4:02:30922 days 19 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.08 Ether
0xb17917cfe23eb792ca250841872ca727e0c057123396199423de39a8cc2d1299103179212020-06-22 21:15:21953 days 1 hr ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.15 Ether
0x4e8b4453eab9d49367d4d9ce414ee603e93c23c5ee912d0c2b6dd078b99d9aa9103164312020-06-22 15:39:18953 days 7 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.125 Ether
0x6d5b67e1083b45a19b418c05eeb1beca07096f919d8ea1801d05c657946d03d9103137222020-06-22 5:39:30953 days 17 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.125 Ether
0x04e39cd270ce2c0631b420636a541dafd0835d5517dacdfda4aa210d8c8b8e6f103049752020-06-20 21:10:32955 days 1 hr ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.01 Ether
0x1dab2aaa8a653b490c92a3cf66917e4b88966d8bb679b97fd295e504f5fad3db103029172020-06-20 13:29:56955 days 9 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.05 Ether
0x51ca678bde43db0dbd32b01c68fff8730410859aeb9df48731e45a0240b427b6102620052020-06-14 5:35:05961 days 17 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool1 Ether
0xbf6302ddf2b1a33084e87417f1cd77a7116e172ff26ac71fc23248ae76af915e102449492020-06-11 14:32:20964 days 8 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.2 Ether
0x5af811acd6fdff3ed5dbcb3d1855e691b6625697e2f50bf4d5f5555172595003102155642020-06-07 1:04:06968 days 22 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.04 Ether
0xa190d1c678079aefe649e8214475eeec034006e4befd91c2df5ce62692f454a2102034772020-06-05 4:03:22970 days 19 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.1 Ether
0x21c54f51336769ea75f92dc290e30761832eadc9726077479323a4c0499b88c6101823642020-06-01 21:23:52974 days 1 hr ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool2 Ether
0x8df93cde216b6d2bb16f894e593307d9f73edc26fedbcfffb53b534c7ed70bfd101794822020-06-01 10:37:19974 days 12 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool0.0684 Ether
0x03ed01f8154464c434aed0b3f0c15a4e24decafabf6e56af9b39a373b6926cca101747132020-05-31 16:44:40975 days 6 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool1.4 Ether
0x5049e2e12c6a69e8a60a56bcce0029999f1aed93e74f3a8e62f2266448cc9f1f101689692020-05-30 19:16:55976 days 3 hrs ago Zapper.Fi: sETH Unipool Zapper.Fi: General UniPool1 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UniSwap_ETH_sETHZap

Compiler Version
v0.5.13+commit.5b0b510c

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU GPLv2 license
/**
 *Submitted for verification at Etherscan.io on 2019-12-08
*/

// File: contracts/OpenZepplinOwnable.sol

pragma solidity ^0.5.0;

contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address payable public _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address payable msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _owner;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address payable newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address payable newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/OpenZepplinSafeMath.sol

pragma solidity ^0.5.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: contracts/OpenZepplinIERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: contracts/OpenZepplinReentrancyGuard.sol

pragma solidity ^0.5.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * _Since v2.5.0:_ this module is now much more gas efficient, given net gas
 * metering changes introduced in the Istanbul hardfork.
 */
contract ReentrancyGuard {
    bool private _notEntered;

    constructor () internal {
        // Storing an initial non-zero value makes deployment a bit more
        // expensive, but in exchange the refund on every call to nonReentrant
        // will be lower in amount. Since refunds are capped to a percetange of
        // the total transaction's gas, it is best to keep them low in cases
        // like this one, to increase the likelihood of the full refund coming
        // into effect.
        _notEntered = true;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_notEntered, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _notEntered = false;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _notEntered = true;
    }
}

// File: contracts/UniSwap_ETH_SETHZap.sol

pragma solidity ^0.5.0;





// the objective of this contract is only to get the exchange price of the assets from the uniswap indexed

interface UniSwapAddLiquityV2_General {
    function LetsInvest(address _TokenContractAddress, address _towhomtoissue) external payable returns (uint);
}

contract UniSwap_ETH_sETHZap is Ownable, ReentrancyGuard {
    using SafeMath for uint;

    // state variables
    uint public balance = address(this).balance;
    
    
    // in relation to the emergency functioning of this contract
    bool private stopped = false;
     
    // circuit breaker modifiers
    modifier stopInEmergency {if (!stopped) _;}
    modifier onlyInEmergency {if (stopped) _;}
    
    address public sETH_TokenContractAddress;
    UniSwapAddLiquityV2_General public UniSwapAddLiquityV2_GeneralAddress;
    

    constructor(address _sETH_TokenContractAddress, UniSwapAddLiquityV2_General _UniSwapAddLiquityV2_GeneralAddress ) public {
        sETH_TokenContractAddress = _sETH_TokenContractAddress;
        UniSwapAddLiquityV2_GeneralAddress = _UniSwapAddLiquityV2_GeneralAddress;
    }

    function set_new_sETH_TokenContractAddress(address _new_sETH_TokenContractAddress) public onlyOwner {
        sETH_TokenContractAddress = _new_sETH_TokenContractAddress;
    }

    function set_new_UniSwapAddLiquityV2_GeneralAddress(UniSwapAddLiquityV2_General _new_UniSwapAddLiquityV2_GeneralAddress) public onlyOwner {
        UniSwapAddLiquityV2_GeneralAddress = _new_UniSwapAddLiquityV2_GeneralAddress;
    }

    function LetsInvest() public payable stopInEmergency {
        UniSwapAddLiquityV2_GeneralAddress.LetsInvest.value(msg.value)(sETH_TokenContractAddress, address(msg.sender));

    }


    // - this function lets you deposit ETH into this wallet
    function depositETH() public payable  onlyOwner {
        balance += msg.value;
    }
    
    // - fallback function let you / anyone send ETH to this wallet without the need to call any function
    function() external payable {
        if (msg.sender == _owner) {
            depositETH();
        } else {
            LetsInvest();
        }
    }
    
    // - to withdraw any ETH balance sitting in the contract
    function withdraw() public onlyOwner {
        _owner.transfer(address(this).balance);
    }


}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_sETH_TokenContractAddress","type":"address"},{"internalType":"contract UniSwapAddLiquityV2_General","name":"_UniSwapAddLiquityV2_GeneralAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[],"name":"LetsInvest","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"UniSwapAddLiquityV2_GeneralAddress","outputs":[{"internalType":"contract UniSwapAddLiquityV2_General","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"depositETH","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sETH_TokenContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract UniSwapAddLiquityV2_General","name":"_new_UniSwapAddLiquityV2_GeneralAddress","type":"address"}],"name":"set_new_UniSwapAddLiquityV2_GeneralAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_new_sETH_TokenContractAddress","type":"address"}],"name":"set_new_sETH_TokenContractAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040523073ffffffffffffffffffffffffffffffffffffffff16316001556000600260006101000a81548160ff02191690831515021790555034801561004657600080fd5b50604051610eb9380380610eb98339818101604052604081101561006957600080fd5b81019080805190602001909291908051906020019092919050505060006100946101d660201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001600060146101000a81548160ff02191690831515021790555081600260016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506101de565b600033905090565b610ccc806101ed6000396000f3fe6080604052600436106100c25760003560e01c80638f32d59b1161007f578063d22e6a4111610059578063d22e6a4114610317578063f2fde38b1461036e578063f6326fb3146103bf578063ffe284f5146103c9576100c2565b80638f32d59b14610266578063b2bdfa7b14610295578063b69ef8a8146102ec576100c2565b8063082fef451461012f5780633ccfd60b1461013957806341a0622c14610150578063715018a6146101a7578063742315c5146101be5780638da5cb5b1461020f575b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101245761011f61041a565b61012d565b61012c6104a6565b5b005b6101376104a6565b005b34801561014557600080fd5b5061014e6105f1565b005b34801561015c57600080fd5b506101656106ec565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101b357600080fd5b506101bc610712565b005b3480156101ca57600080fd5b5061020d600480360360208110156101e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061084b565b005b34801561021b57600080fd5b50610224610909565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561027257600080fd5b5061027b610932565b604051808215151515815260200191505060405180910390f35b3480156102a157600080fd5b506102aa610990565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102f857600080fd5b506103016109b5565b6040518082815260200191505060405180910390f35b34801561032357600080fd5b5061032c6109bb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561037a57600080fd5b506103bd6004803603602081101561039157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109e1565b005b6103c761041a565b005b3480156103d557600080fd5b50610418600480360360208110156103ec57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a67565b005b610422610932565b610494576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b34600160008282540192505081905550565b600260009054906101000a900460ff166105ef57600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633a2a66cf34600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16336040518463ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001925050506020604051808303818588803b1580156105b157600080fd5b505af11580156105c5573d6000803e3d6000fd5b50505050506040513d60208110156105dc57600080fd5b8101908080519060200190929190505050505b565b6105f9610932565b61066b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f193505050501580156106e9573d6000803e3d6000fd5b50565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61071a610932565b61078c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610853610932565b6108c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600260016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610974610b25565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109e9610932565b610a5b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610a6481610b2d565b50565b610a6f610932565b610ae1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610c726026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a265627a7a72315820af876f6eff0f35db503a82e91ab80a7632787f87c68f54d18eaa80625fb6709464736f6c634300050d00320000000000000000000000005e74c9036fb86bd7ecdcb084a0673efc32ea31cb000000000000000000000000606563f8dc27f316b77f22d14d9cd025b4f70469

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000005e74c9036fb86bd7ecdcb084a0673efc32ea31cb000000000000000000000000606563f8dc27f316b77f22d14d9cd025b4f70469

-----Decoded View---------------
Arg [0] : _sETH_TokenContractAddress (address): 0x5e74C9036fb86BD7eCdcb084a0673EFc32eA31cb
Arg [1] : _UniSwapAddLiquityV2_GeneralAddress (address): 0x606563f8DC27F316b77F22d14D9Cd025B4F70469

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000005e74c9036fb86bd7ecdcb084a0673efc32ea31cb
Arg [1] : 000000000000000000000000606563f8dc27f316b77f22d14d9cd025b4f70469


Deployed ByteCode Sourcemap

14000:2062:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15788:6;;;;;;;;;;;15774:20;;:10;:20;;;15770:110;;;15811:12;:10;:12::i;:::-;15770:110;;;15856:12;:10;:12::i;:::-;15770:110;14000:2062;15269:184;;;:::i;:::-;;15961:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15961:94:0;;;:::i;:::-;;14474:69;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14474:69:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2376:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2376:140:0;;;:::i;:::-;;14843:177;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14843:177:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;14843:177:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;1565:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1565:79:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1931:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1931:94:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1084:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1084:29:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;14120:43;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14120:43:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14427:40;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14427:40:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2671:117;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2671:117:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2671:117:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;15525:87;;;:::i;:::-;;15028:233;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15028:233:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;15028:233:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;15525:87;1777:9;:7;:9::i;:::-;1769:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15595:9;15584:7;;:20;;;;;;;;;;;15525:87::o;15269:184::-;14355:7;;;;;;;;;;;14350:15;;15333:34;;;;;;;;;;;:45;;;15385:9;15396:25;;;;;;;;;;;15431:10;15333:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15333:110:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15333:110:0;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;15333:110:0;;;;;;;;;;;;;;;;;14350:15;15269:184::o;15961:94::-;1777:9;:7;:9::i;:::-;1769:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16009:6;;;;;;;;;;;:15;;:38;16033:4;16025:21;;;16009:38;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16009:38:0;15961:94::o;14474:69::-;;;;;;;;;;;;;:::o;2376:140::-;1777:9;:7;:9::i;:::-;1769:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2475:1;2438:40;;2459:6;;;;;;;;;;;2438:40;;;;;;;;;;;;2506:1;2489:6;;:19;;;;;;;;;;;;;;;;;;2376:140::o;14843:177::-;1777:9;:7;:9::i;:::-;1769:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14982:30;14954:25;;:58;;;;;;;;;;;;;;;;;;14843:177;:::o;1565:79::-;1603:7;1630:6;;;;;;;;;;;1623:13;;1565:79;:::o;1931:94::-;1971:4;2011:6;;;;;;;;;;;1995:22;;:12;:10;:12::i;:::-;:22;;;1988:29;;1931:94;:::o;1084:29::-;;;;;;;;;;;;;:::o;14120:43::-;;;;:::o;14427:40::-;;;;;;;;;;;;;:::o;2671:117::-;1777:9;:7;:9::i;:::-;1769:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2752:28;2771:8;2752:18;:28::i;:::-;2671:117;:::o;15028:233::-;1777:9;:7;:9::i;:::-;1769:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15214:39;15177:34;;:76;;;;;;;;;;;;;;;;;;15028:233;:::o;341:98::-;386:15;421:10;414:17;;341:98;:::o;2894:237::-;2996:1;2976:22;;:8;:22;;;;2968:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3086:8;3057:38;;3078:6;;;;;;;;;;;3057:38;;;;;;;;;;;;3115:8;3106:6;;:17;;;;;;;;;;;;;;;;;;2894:237;:::o

Swarm Source

bzzr://af876f6eff0f35db503a82e91ab80a7632787f87c68f54d18eaa80625fb67094
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.