Contract 0xC59601F0CC49baa266891b7fc63d2D5FE097A79D

 
Txn Hash Method
Block
From
To
Value
0x82cbf646ed9d6446a963c260fa1214340be92bd69c7f7696cc5fc57d8d9d780eHarvest112055702020-11-06 19:05:00228 days 1 hr ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.019249247419.1
0x3bc24500a1fac4db790516c3e20646e90464543f4a4ec6b53d2d42da9d01e884Harvest111996002020-11-05 21:10:38228 days 23 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.01494030134115.000001347
0xc72528792d0b1a932f212e4684f3e5f1e134fed1a2fac6c28e248ab2a7b3d46cHarvest111965172020-11-05 9:55:06229 days 11 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.01411250414
0x0eff16aaf7545b5f317c4c957a125bca67ce2e484f04bbe11b00fc86313f9526Harvest111933002020-11-04 21:59:10229 days 22 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.01411250414
0x34d82d0e6d6a15ab161579523bd9c6e89e7938bbcbac86f11c2b0e89e038d005Harvest111909312020-11-04 13:28:11230 days 7 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.014213307614.1
0xeac70a53210e41f5b0e8908fac955f7634f9b49698e1381ad067327b032e7c40Harvest111886232020-11-04 4:46:44230 days 16 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.01503990215.1
0x49fa4f250ec5aa84fb8a1ab852f0a75db7a591fc18033579f850cd08b26064ceHarvest111858822020-11-03 18:53:48231 days 2 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.01612857616
0xc0b8c3fcadd3863016ddb92283a6e88aa613bbf60a1e168f0a1bde84e780b3bfHarvest111828812020-11-03 7:35:31231 days 13 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.02094195621
0x56427178ab4e2c9e5e4b83ac8cb821be18603994e7c654a290fc2137c4268656Harvest111794882020-11-02 19:05:10232 days 1 hr ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.02016072113220.000001123
0x9bc63072aaaa9cc299c87b6e9183fcafdf5d2ac3cccef7203fb7b4ea3cea0b1fHarvest111757232020-11-02 5:23:51232 days 15 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.024394471224.2
0xe7afaed6eb35d0f5f9f42ad03487a2d6f7268f3ac6009759c8b414e555c34940Harvest111722882020-11-01 16:33:06233 days 4 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.02149398659821.010000233
0xbdfdcb4c085217e86e5344975d1a0aa1ebfe825d3f10a50070ff74d75838d0f3Harvest111657152020-10-31 16:16:04234 days 4 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.03720581138936.909208986
0xce0006130b766413e50cfc8788ac78ae74a4f4e68a9eb0d2d665607f8de7d956Harvest111591132020-10-30 16:03:47235 days 4 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.05140983651
0x62cd080832e2142f1b95a6cc2ca62376fdd5107d984abbc9bdef96f52fea37feHarvest111525802020-10-29 15:53:02236 days 5 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.04737769247
0x320269e7bda95895351d0bf0a8e21fedecc9247875126d3482213c29b1919d3cHarvest111458712020-10-28 15:08:49237 days 5 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.0966139497
0xfb2659009e88706f15b6615556133b67862a18e0d1571d62bc6db4216bbd6231Harvest111348452020-10-26 22:49:34238 days 22 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.01533870815.4
0x3ea24c1abaf091a206fc9e85c19579d8d6ba5eed961d2d1990997bcebae8f4cfHarvest111283872020-10-25 22:46:35239 days 22 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.014940315
0x1de8475d6d22a5ca8ef9da018a904ee35bc53c4c0197791aa17100ef88f1cd58Harvest111218952020-10-24 22:43:09240 days 22 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.014515718414.4
0x068f97da799a0c9ecc3c2810d23c6435a22d0cf56256ba3ecae5ead2180649c0Harvest111149632020-10-23 21:25:44241 days 23 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.02352982823
0xc08f395fb89ac039ad01fc9e1afbdf59477f67c9d043082d204a92a423abfd61Harvest111084712020-10-22 21:23:05242 days 23 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.025200925
0x235d17d77ed0bbc5961721517b069f1eb4319f405d61c9460378a630e4bd0553Harvest111015322020-10-21 20:01:38244 days 54 mins ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.0229084623
0x23ad6cea3bc25ad242b28a06387ae4109c64cd1c1e9a7e0fa0cedc50b7e12854Harvest110944652020-10-20 17:54:53245 days 3 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.02770499228
0x72f7af1c5dd0c1b2d181209ffbd8c59ff6a8487b58cbc3a65da9ef0fe3d6b59fHarvest110868992020-10-19 14:14:20246 days 6 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.0201997820
0x3e562bfcb3607b3fc8fdd973b7936db81fc2ba81f31aacf99c867bcfaa7996fdHarvest110802522020-10-18 13:43:20247 days 7 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.0199594620
0xd0d27a100821bf28c896f553221f6fed751519080f3c933cac81ba5310a83604Harvest110725672020-10-17 9:15:40248 days 11 hrs ago0xc4ad9ad1e886e8a60344033887974e352ee0e7ab IN  0xc59601f0cc49baa266891b7fc63d2d5fe097a79d0 Ether0.01844980349518.000001459
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrategyCurve3CrvVoterProxy

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-11
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.5.17;


/**
 * @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);
}

/**
 * @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;
    }
}

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following 
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-call-value
        (bool success, ) = recipient.call.value(amount)("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// 
interface IController {
    function withdraw(address, uint256) external;

    function balanceOf(address) external view returns (uint256);

    function earn(address, uint256) external;

    function want(address) external view returns (address);

    function rewards() external view returns (address);

    function vaults(address) external view returns (address);

    function strategies(address) external view returns (address);
}

// 
interface Gauge {
    function deposit(uint256) external;

    function balanceOf(address) external view returns (uint256);

    function withdraw(uint256) external;
}

// 
interface Mintr {
    function mint(address) external;
}

// 
interface Uni {
    function swapExactTokensForTokens(
        uint256,
        uint256,
        address[] calldata,
        address,
        uint256
    ) external;
}

// 
interface ICurveFi {
    function get_virtual_price() external view returns (uint256);

    function add_liquidity(
        // sBTC pool
        uint256[3] calldata amounts,
        uint256 min_mint_amount
    ) external;

    function add_liquidity(
        // bUSD pool
        uint256[4] calldata amounts,
        uint256 min_mint_amount
    ) external;

    function remove_liquidity_imbalance(uint256[4] calldata amounts, uint256 max_burn_amount) external;

    function remove_liquidity(uint256 _amount, uint256[4] calldata amounts) external;

    function exchange(
        int128 from,
        int128 to,
        uint256 _from_amount,
        uint256 _min_to_amount
    ) external;
}

interface Zap {
    function remove_liquidity_one_coin(
        uint256,
        int128,
        uint256
    ) external;
}

// 
// NOTE: Basically an alias for Vaults
interface yERC20 {
    function deposit(uint256 _amount) external;

    function withdraw(uint256 _amount) external;

    function getPricePerFullShare() external view returns (uint256);
}

// 
interface VoterProxy {
    function withdraw(
        address _gauge,
        address _token,
        uint256 _amount
    ) external returns (uint256);

    function balanceOf(address _gauge) external view returns (uint256);

    function withdrawAll(address _gauge, address _token) external returns (uint256);

    function deposit(address _gauge, address _token) external;

    function harvest(address _gauge) external;

    function lock() external;
}

contract StrategyCurve3CrvVoterProxy {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    address public constant want = address(0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490);
    address public constant crv = address(0xD533a949740bb3306d119CC777fa900bA034cd52);
    address public constant uni = address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    address public constant weth = address(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2); // used for crv <> weth <> dai route

    address public constant dai = address(0x6B175474E89094C44Da98b954EedeAC495271d0F);
    address public constant curve = address(0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7);

    address public constant gauge = address(0xbFcF63294aD7105dEa65aA58F8AE5BE2D9d0952A);
    address public constant voter = address(0xF147b8125d2ef93FB6965Db97D6746952a133934);

    uint256 public keepCRV = 1000;
    uint256 public performanceFee = 450;
    uint256 public strategistReward = 50;
    uint256 public withdrawalFee = 50;
    uint256 public constant FEE_DENOMINATOR = 10000;

    address public proxy;

    address public governance;
    address public controller;
    address public strategist;

    uint256 public earned;  // lifetime strategy earnings denominated in `want` token

    event Harvested(uint wantEarned, uint lifetimeEarned);

    constructor(address _controller) public {
        governance = msg.sender;
        strategist = msg.sender;
        controller = _controller;
    }

    function getName() external pure returns (string memory) {
        return "StrategyCurve3CrvVoterProxy";
    }

    function setStrategist(address _strategist) external {
        require(msg.sender == governance || msg.sender == strategist, "!authorized");
        strategist = _strategist;
    }

    function setKeepCRV(uint256 _keepCRV) external {
        require(msg.sender == governance, "!governance");
        keepCRV = _keepCRV;
    }

    function setWithdrawalFee(uint256 _withdrawalFee) external {
        require(msg.sender == governance, "!governance");
        withdrawalFee = _withdrawalFee;
    }

    function setPerformanceFee(uint256 _performanceFee) external {
        require(msg.sender == governance, "!governance");
        performanceFee = _performanceFee;
    }

    function setStrategistReward(uint _strategistReward) external {
        require(msg.sender == governance, "!governance");
        strategistReward = _strategistReward;
    }

    function setProxy(address _proxy) external {
        require(msg.sender == governance, "!governance");
        proxy = _proxy;
    }

    function deposit() public {
        uint256 _want = IERC20(want).balanceOf(address(this));
        if (_want > 0) {
            IERC20(want).safeTransfer(proxy, _want);
            VoterProxy(proxy).deposit(gauge, want);
        }
    }

    // Controller only function for creating additional rewards from dust
    function withdraw(IERC20 _asset) external returns (uint256 balance) {
        require(msg.sender == controller, "!controller");
        require(want != address(_asset), "want");
        require(crv != address(_asset), "crv");
        require(dai != address(_asset), "dai");
        balance = _asset.balanceOf(address(this));
        _asset.safeTransfer(controller, balance);
    }

    // Withdraw partial funds, normally used with a vault withdrawal
    function withdraw(uint256 _amount) external {
        require(msg.sender == controller, "!controller");
        uint256 _balance = IERC20(want).balanceOf(address(this));
        if (_balance < _amount) {
            _amount = _withdrawSome(_amount.sub(_balance));
            _amount = _amount.add(_balance);
        }

        uint256 _fee = _amount.mul(withdrawalFee).div(FEE_DENOMINATOR);

        IERC20(want).safeTransfer(IController(controller).rewards(), _fee);
        address _vault = IController(controller).vaults(address(want));
        require(_vault != address(0), "!vault"); // additional protection so we don't burn the funds
        IERC20(want).safeTransfer(_vault, _amount.sub(_fee));
    }

    function _withdrawSome(uint256 _amount) internal returns (uint256) {
        return VoterProxy(proxy).withdraw(gauge, want, _amount);
    }

    // Withdraw all funds, normally used when migrating strategies
    function withdrawAll() external returns (uint256 balance) {
        require(msg.sender == controller, "!controller");
        _withdrawAll();

        balance = IERC20(want).balanceOf(address(this));

        address _vault = IController(controller).vaults(address(want));
        require(_vault != address(0), "!vault"); // additional protection so we don't burn the funds
        IERC20(want).safeTransfer(_vault, balance);
    }

    function _withdrawAll() internal {
        VoterProxy(proxy).withdrawAll(gauge, want);
    }

    function harvest() public {
        require(msg.sender == strategist || msg.sender == governance, "!authorized");
        VoterProxy(proxy).harvest(gauge);
        uint256 _crv = IERC20(crv).balanceOf(address(this));
        if (_crv > 0) {
            uint256 _keepCRV = _crv.mul(keepCRV).div(FEE_DENOMINATOR);
            IERC20(crv).safeTransfer(voter, _keepCRV);
            _crv = _crv.sub(_keepCRV);

            IERC20(crv).safeApprove(uni, 0);
            IERC20(crv).safeApprove(uni, _crv);

            address[] memory path = new address[](3);
            path[0] = crv;
            path[1] = weth;
            path[2] = dai;

            Uni(uni).swapExactTokensForTokens(_crv, uint256(0), path, address(this), now.add(1800));
        }
        uint256 _dai = IERC20(dai).balanceOf(address(this));
        if (_dai > 0) {
            IERC20(dai).safeApprove(curve, 0);
            IERC20(dai).safeApprove(curve, _dai);
            ICurveFi(curve).add_liquidity([_dai, 0, 0], 0);
        }
        uint256 _want = IERC20(want).balanceOf(address(this));
        if (_want > 0) {
            uint256 _fee = _want.mul(performanceFee).div(FEE_DENOMINATOR);
            uint256 _reward = _want.mul(strategistReward).div(FEE_DENOMINATOR);
            IERC20(want).safeTransfer(IController(controller).rewards(), _fee);
            IERC20(want).safeTransfer(strategist, _reward);
            deposit();
        }
        VoterProxy(proxy).lock();
        earned = earned.add(_want);
        emit Harvested(_want, earned);
    }

    function balanceOfWant() public view returns (uint256) {
        return IERC20(want).balanceOf(address(this));
    }

    function balanceOfPool() public view returns (uint256) {
        return VoterProxy(proxy).balanceOf(gauge);
    }

    function balanceOf() public view returns (uint256) {
        return balanceOfWant().add(balanceOfPool());
    }

    function setGovernance(address _governance) external {
        require(msg.sender == governance, "!governance");
        governance = _governance;
    }

    function setController(address _controller) external {
        require(msg.sender == governance, "!governance");
        controller = _controller;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"wantEarned","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lifetimeEarned","type":"uint256"}],"name":"Harvested","type":"event"},{"constant":true,"inputs":[],"name":"FEE_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balanceOfWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"crv","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"curve","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dai","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"gauge","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"harvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"keepCRV","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"performanceFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proxy","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_keepCRV","type":"uint256"}],"name":"setKeepCRV","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_performanceFee","type":"uint256"}],"name":"setPerformanceFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_proxy","type":"address"}],"name":"setProxy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_strategistReward","type":"uint256"}],"name":"setStrategistReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_withdrawalFee","type":"uint256"}],"name":"setWithdrawalFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"strategistReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"uni","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"voter","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"want","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_asset","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAll","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"withdrawalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040526103e86000556101c26001556032600255603260035534801561002657600080fd5b506040516122613803806122618339818101604052602081101561004957600080fd5b505160058054336001600160a01b03199182168117909255600780548216909217909155600680549091166001600160a01b039092169190911790556121cd806100946000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063853828b611610125578063c1a3d44c116100ad578063d73792a91161007c578063d73792a9146104aa578063ec556889146104b2578063edc9af95146104ba578063f4b9fa75146104c2578063f77c4791146104ca57610211565b8063c1a3d44c1461046c578063c7b9d53014610474578063d0e30db01461049a578063d6f19262146104a257610211565b8063955383bd116100f4578063955383bd146103de57806397107d6d146103fb578063a6f19c8414610421578063ab033ea914610429578063ac1e50251461044f57610211565b8063853828b6146103a057806387788782146103a85780638bc7e8c4146103b057806392eefe9b146103b857610211565b806346c96aac116101a857806370897b231161017757806370897b23146103635780637165485d14610380578063722713f7146103885780637fef901a146103905780638158676e1461039857610211565b806346c96aac1461032557806351cff8d91461032d5780635aa6e675146103535780636a4874a11461035b57610211565b80631fe4a686116101e45780631fe4a686146102f05780632e1a7d4d146102f85780633fc8cef3146103155780634641257d1461031d57610211565b80630d596cdf14610216578063115880861461023557806317d7de7c1461024f5780631f1fcd51146102cc575b600080fd5b6102336004803603602081101561022c57600080fd5b50356104d2565b005b61023d610524565b60408051918252519081900360200190f35b6102576105b8565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610291578181015183820152602001610279565b50505050905090810190601f1680156102be5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102d46105ef565b604080516001600160a01b039092168252519081900360200190f35b6102d4610601565b6102336004803603602081101561030e57600080fd5b5035610610565b6102d46108d4565b6102336108ec565b6102d46110f9565b61023d6004803603602081101561034357600080fd5b50356001600160a01b0316611111565b6102d4611300565b6102d461130f565b6102336004803603602081101561037957600080fd5b5035611327565b6102d4611379565b61023d611391565b61023d6113b7565b61023d6113bd565b61023d6113c3565b61023d611586565b61023d61158c565b610233600480360360208110156103ce57600080fd5b50356001600160a01b0316611592565b610233600480360360208110156103f457600080fd5b5035611601565b6102336004803603602081101561041157600080fd5b50356001600160a01b0316611653565b6102d46116c2565b6102336004803603602081101561043f57600080fd5b50356001600160a01b03166116da565b6102336004803603602081101561046557600080fd5b5035611749565b61023d61179b565b6102336004803603602081101561048a57600080fd5b50356001600160a01b03166117ea565b61023361186e565b61023d6119ae565b61023d6119b4565b6102d46119ba565b6102d46119c9565b6102d46119e1565b6102d46119f9565b6005546001600160a01b0316331461051f576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600255565b60048054604080516370a0823160e01b815273bfcf63294ad7105dea65aa58f8ae5be2d9d0952a93810193909352516000926001600160a01b03909216916370a08231916024808301926020929190829003018186803b15801561058757600080fd5b505afa15801561059b573d6000803e3d6000fd5b505050506040513d60208110156105b157600080fd5b5051905090565b60408051808201909152601b81527f5374726174656779437572766533437276566f74657250726f78790000000000602082015290565b6000805160206120f883398151915281565b6007546001600160a01b031681565b6006546001600160a01b0316331461065d576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916000805160206120f8833981519152916370a0823191602480820192602092909190829003018186803b1580156106ac57600080fd5b505afa1580156106c0573d6000803e3d6000fd5b505050506040513d60208110156106d657600080fd5b505190508181101561070f576106fa6106f5838363ffffffff611a0816565b611a53565b915061070c828263ffffffff611b0416565b91505b600061073861271061072c60035486611b5e90919063ffffffff16565b9063ffffffff611bb716565b90506107d3600660009054906101000a90046001600160a01b03166001600160a01b0316639ec5a8946040518163ffffffff1660e01b815260040160206040518083038186803b15801561078b57600080fd5b505afa15801561079f573d6000803e3d6000fd5b505050506040513d60208110156107b557600080fd5b50516000805160206120f8833981519152908363ffffffff611bf916565b60065460408051632988bb9f60e21b81526000805160206120f8833981519152600482015290516000926001600160a01b03169163a622ee7c916024808301926020929190829003018186803b15801561082c57600080fd5b505afa158015610840573d6000803e3d6000fd5b505050506040513d602081101561085657600080fd5b505190506001600160a01b03811661089e576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b6108ce816108b2868563ffffffff611a0816565b6000805160206120f8833981519152919063ffffffff611bf916565b50505050565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6007546001600160a01b031633148061090f57506005546001600160a01b031633145b61094e576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b600480546040805163072e008f60e11b815273bfcf63294ad7105dea65aa58f8ae5be2d9d0952a93810193909352516001600160a01b0390911691630e5c011e91602480830192600092919082900301818387803b1580156109af57600080fd5b505af11580156109c3573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073d533a949740bb3306d119cc777fa900ba034cd5292506370a0823191602480820192602092909190829003018186803b158015610a1c57600080fd5b505afa158015610a30573d6000803e3d6000fd5b505050506040513d6020811015610a4657600080fd5b505190508015610cfb576000610a6d61271061072c60005485611b5e90919063ffffffff16565b9050610aa873d533a949740bb3306d119cc777fa900ba034cd5273f147b8125d2ef93fb6965db97d6746952a1339348363ffffffff611bf916565b610ab8828263ffffffff611a0816565b9150610af473d533a949740bb3306d119cc777fa900ba034cd52737a250d5630b4cf539739df2c5dacb4c659f2488d600063ffffffff611c5016565b610b2d73d533a949740bb3306d119cc777fa900ba034cd52737a250d5630b4cf539739df2c5dacb4c659f2488d8463ffffffff611c5016565b6040805160038082526080820190925260609160208201838038833901905050905073d533a949740bb3306d119cc777fa900ba034cd5281600081518110610b7157fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110610bb357fe5b60200260200101906001600160a01b031690816001600160a01b031681525050736b175474e89094c44da98b954eedeac495271d0f81600281518110610bf557fe5b6001600160a01b0390921660209283029190910190910152737a250d5630b4cf539739df2c5dacb4c659f2488d6338ed17398460008430610c3e4261070863ffffffff611b0416565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03166001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610cb7578181015183820152602001610c9f565b505050509050019650505050505050600060405180830381600087803b158015610ce057600080fd5b505af1158015610cf4573d6000803e3d6000fd5b5050505050505b604080516370a0823160e01b81523060048201529051600091736b175474e89094c44da98b954eedeac495271d0f916370a0823191602480820192602092909190829003018186803b158015610d5057600080fd5b505afa158015610d64573d6000803e3d6000fd5b505050506040513d6020811015610d7a57600080fd5b505190508015610eb457610dbe736b175474e89094c44da98b954eedeac495271d0f73bebc44782c7db0a1a60cb6fe97d0b483032ff1c7600063ffffffff611c5016565b610df7736b175474e89094c44da98b954eedeac495271d0f73bebc44782c7db0a1a60cb6fe97d0b483032ff1c78363ffffffff611c5016565b73bebc44782c7db0a1a60cb6fe97d0b483032ff1c76001600160a01b0316634515cef3604051806060016040528084815260200160008152602001600081525060006040518363ffffffff1660e01b81526004018083600360200280838360005b83811015610e70578181015183820152602001610e58565b5050505090500182815260200192505050600060405180830381600087803b158015610e9b57600080fd5b505af1158015610eaf573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516000916000805160206120f8833981519152916370a0823191602480820192602092909190829003018186803b158015610f0357600080fd5b505afa158015610f17573d6000803e3d6000fd5b505050506040513d6020811015610f2d57600080fd5b505190508015611045576000610f5461271061072c60015485611b5e90919063ffffffff16565b90506000610f7361271061072c60025486611b5e90919063ffffffff16565b905061100e600660009054906101000a90046001600160a01b03166001600160a01b0316639ec5a8946040518163ffffffff1660e01b815260040160206040518083038186803b158015610fc657600080fd5b505afa158015610fda573d6000803e3d6000fd5b505050506040513d6020811015610ff057600080fd5b50516000805160206120f8833981519152908463ffffffff611bf916565b60075461103a906000805160206120f8833981519152906001600160a01b03168363ffffffff611bf916565b61104261186e565b50505b6004805460408051637c1e845d60e11b815290516001600160a01b039092169263f83d08ba92828201926000929082900301818387803b15801561108857600080fd5b505af115801561109c573d6000803e3d6000fd5b50506008546110b4925090508263ffffffff611b0416565b600881905560408051838152602081019290925280517ffa07446fad45314351eb89109a154880278451332bb87f1824d435fe58da59399281900390910190a1505050565b73f147b8125d2ef93fb6965db97d6746952a13393481565b6006546000906001600160a01b03163314611161576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b6000805160206120f88339815191526001600160a01b03831614156111b6576040805162461bcd60e51b815260206004808301919091526024820152631dd85b9d60e21b604482015290519081900360640190fd5b73d533a949740bb3306d119cc777fa900ba034cd526001600160a01b038316141561120e576040805162461bcd60e51b815260206004820152600360248201526231b93b60e91b604482015290519081900360640190fd5b736b175474e89094c44da98b954eedeac495271d0f6001600160a01b0383161415611266576040805162461bcd60e51b815260206004820152600360248201526264616960e81b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156112ac57600080fd5b505afa1580156112c0573d6000803e3d6000fd5b505050506040513d60208110156112d657600080fd5b50516006549091506112fb906001600160a01b0384811691168363ffffffff611bf916565b919050565b6005546001600160a01b031681565b73d533a949740bb3306d119cc777fa900ba034cd5281565b6005546001600160a01b03163314611374576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600155565b73bebc44782c7db0a1a60cb6fe97d0b483032ff1c781565b60006113b261139e610524565b6113a661179b565b9063ffffffff611b0416565b905090565b60005481565b60025481565b6006546000906001600160a01b03163314611413576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b61141b611d63565b604080516370a0823160e01b815230600482015290516000805160206120f8833981519152916370a08231916024808301926020929190829003018186803b15801561146657600080fd5b505afa15801561147a573d6000803e3d6000fd5b505050506040513d602081101561149057600080fd5b505160065460408051632988bb9f60e21b81526000805160206120f8833981519152600482015290519293506000926001600160a01b039092169163a622ee7c91602480820192602092909190829003018186803b1580156114f157600080fd5b505afa158015611505573d6000803e3d6000fd5b505050506040513d602081101561151b57600080fd5b505190506001600160a01b038116611563576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b6115826000805160206120f8833981519152828463ffffffff611bf916565b5090565b60015481565b60035481565b6005546001600160a01b031633146115df576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461164e576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600055565b6005546001600160a01b031633146116a0576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b73bfcf63294ad7105dea65aa58f8ae5be2d9d0952a81565b6005546001600160a01b03163314611727576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611796576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600355565b604080516370a0823160e01b815230600482015290516000916000805160206120f8833981519152916370a0823191602480820192602092909190829003018186803b15801561058757600080fd5b6005546001600160a01b031633148061180d57506007546001600160a01b031633145b61184c576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b604080516370a0823160e01b815230600482015290516000916000805160206120f8833981519152916370a0823191602480820192602092909190829003018186803b1580156118bd57600080fd5b505afa1580156118d1573d6000803e3d6000fd5b505050506040513d60208110156118e757600080fd5b5051905080156119ab5760045461191d906000805160206120f8833981519152906001600160a01b03168363ffffffff611bf916565b6004805460408051631f2c13e160e31b815273bfcf63294ad7105dea65aa58f8ae5be2d9d0952a938101939093526000805160206120f88339815191526024840152516001600160a01b039091169163f9609f0891604480830192600092919082900301818387803b15801561199257600080fd5b505af11580156119a6573d6000803e3d6000fd5b505050505b50565b60085481565b61271081565b6004546001600160a01b031681565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b736b175474e89094c44da98b954eedeac495271d0f81565b6006546001600160a01b031681565b6000611a4a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e07565b90505b92915050565b6004805460408051636ce5768960e11b815273bfcf63294ad7105dea65aa58f8ae5be2d9d0952a938101939093526000805160206120f8833981519152602484015260448301849052516000926001600160a01b039092169163d9caed1291606480830192602092919082900301818787803b158015611ad257600080fd5b505af1158015611ae6573d6000803e3d6000fd5b505050506040513d6020811015611afc57600080fd5b505192915050565b600082820183811015611a4a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082611b6d57506000611a4d565b82820282848281611b7a57fe5b0414611a4a5760405162461bcd60e51b81526004018080602001828103825260218152602001806121186021913960400191505060405180910390fd5b6000611a4a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611e9e565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611c4b908490611f03565b505050565b801580611cd6575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611ca857600080fd5b505afa158015611cbc573d6000803e3d6000fd5b505050506040513d6020811015611cd257600080fd5b5051155b611d115760405162461bcd60e51b81526004018080602001828103825260368152602001806121636036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611c4b908490611f03565b60048054604080516301395c5960e31b815273bfcf63294ad7105dea65aa58f8ae5be2d9d0952a938101939093526000805160206120f88339815191526024840152516001600160a01b03909116916309cae2c89160448083019260209291908290030181600087803b158015611dd957600080fd5b505af1158015611ded573d6000803e3d6000fd5b505050506040513d6020811015611e0357600080fd5b5050565b60008184841115611e965760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e5b578181015183820152602001611e43565b50505050905090810190601f168015611e885780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611eed5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611e5b578181015183820152602001611e43565b506000838581611ef957fe5b0495945050505050565b611f15826001600160a01b03166120bb565b611f66576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611fa45780518252601f199092019160209182019101611f85565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612006576040519150601f19603f3d011682016040523d82523d6000602084013e61200b565b606091505b509150915081612062576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156108ce5780806020019051602081101561207e57600080fd5b50516108ce5760405162461bcd60e51b815260040180806020018281038252602a815260200180612139602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906120ef57508115155b94935050505056fe0000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e490536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a7231582022f710dc79a472237afe17e18ddb09e6455733da0b16e3b4679135454c08e97c64736f6c634300051100320000000000000000000000009e65ad11b299ca0abefc2799ddb6314ef2d91080

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

0000000000000000000000009e65ad11b299ca0abefc2799ddb6314ef2d91080

-----Decoded View---------------
Arg [0] : _controller (address): 0x9e65ad11b299ca0abefc2799ddb6314ef2d91080

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009e65ad11b299ca0abefc2799ddb6314ef2d91080


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.