ETH Price: $3,432.70 (+1.09%)
Gas: 55 Gwei

Contract

0xaF52695E1bB01A16D33D7194C28C42b10e0Dbec2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Owner149322822022-06-09 11:17:11631 days ago1654773431IN
Aura: Voter Proxy
0 ETH0.0009117633.84944943
Set Depositor149322782022-06-09 11:16:47631 days ago1654773407IN
Aura: Voter Proxy
0 ETH0.0020447944.44150799
Set Operator149322652022-06-09 11:11:52631 days ago1654773112IN
Aura: Voter Proxy
0 ETH0.0020124243.54771794
0x60e06040146207512022-04-20 8:10:58681 days ago1650442258IN
 Create: VoterProxy
0 ETH0.0925635742.9620073

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VoterProxy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-04-20
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

interface ICurveGauge {
    function deposit(uint256) external;
    function balanceOf(address) external view returns (uint256);
    function withdraw(uint256) external;
    function claim_rewards() external;
    function reward_tokens(uint256) external view returns(address);//v2
    function rewarded_token() external view returns(address);//v1
    function lp_token() external view returns(address);
}

interface ICurveVoteEscrow {
    function create_lock(uint256, uint256) external;
    function increase_amount(uint256) external;
    function increase_unlock_time(uint256) external;
    function withdraw() external;
    function smart_wallet_checker() external view returns (address);
    function commit_smart_wallet_checker(address) external;
    function apply_smart_wallet_checker() external;
}

interface IVoting {
    function vote(uint256, bool, bool) external; //voteId, support, executeIfDecided
    function getVote(uint256) external view returns(bool,bool,uint64,uint64,uint64,uint64,uint256,uint256,uint256,bytes memory); 
    function vote_for_gauge_weights(address,uint256) external;
}

interface IMinter {
    function mint(address) external;
}

interface IStash {
    function stashRewards() external returns (bool);
    function processStash() external returns (bool);
    function claimRewards() external returns (bool);
    function initialize(uint256 _pid, address _operator, address _staker, address _gauge, address _rewardFactory) external;
}

interface IFeeDistributor {
    function claimToken(address user, address token) external returns (uint256);
    function claimTokens(address user, address[] calldata tokens) external returns (uint256[] memory);
    function getTokenTimeCursor(address token) external view returns (uint256);
}

interface IDeposit {
    function isShutdown() external view returns(bool);
    function balanceOf(address _account) external view returns(uint256);
    function totalSupply() external view returns(uint256);
    function poolInfo(uint256) external view returns(address,address,address,address,address, bool);
    function rewardClaimed(uint256,address,uint256) external;
    function withdrawTo(uint256,uint256,address) external;
    function claimRewards(uint256,address) external returns(bool);
    function rewardArbitrator() external returns(address);
    function setGaugeRedirect(uint256 _pid) external returns(bool);
    function owner() external returns(address);
    function deposit(uint256 _pid, uint256 _amount, bool _stake) external returns(bool);
}

interface IRewardDeposit {
    function addReward(address, uint256) external;
}

/**
 * @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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
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 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) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    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. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "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");
        }
    }
}

/**
 * @title   VoterProxy
 * @author  ConvexFinance
 * @notice  VoterProxy whitelisted in the curve SmartWalletWhitelist that
 *          participates in Curve governance. Also handles all deposits since this is 
 *          the address that has the voting power.
 */
contract VoterProxy {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    address public mintr;
    address public immutable crv;
    address public immutable crvBpt;

    address public immutable escrow;
    address public gaugeController;
    address public rewardDeposit;
    address public withdrawer;

    address public owner;
    address public operator;
    address public depositor;
    
    mapping (address => bool) private stashPool;
    mapping (address => bool) private protectedTokens;
    mapping (bytes32 => bool) private votes;

    bytes4 constant internal EIP1271_MAGIC_VALUE = 0x1626ba7e;

    event VoteSet(bytes32 hash, bool valid);

    /**
     * @param _mintr            CRV minter
     * @param _crv              CRV Token address
     * @param _crvBpt           CRV:ETH 80-20 BPT Token address
     * @param _escrow           Curve Voting escrow contract
     * @param _gaugeController  Curve Gauge Controller
     *                          Controls liquidity gauges and the issuance of coins through the gauges
     */
    constructor(
        address _mintr,
        address _crv,
        address _crvBpt,
        address _escrow,
        address _gaugeController
    ) public {
        mintr = _mintr; 
        crv = _crv;
        crvBpt = _crvBpt;
        escrow = _escrow;
        gaugeController = _gaugeController;
        owner = msg.sender;

        protectedTokens[_crv] = true;
        protectedTokens[_crvBpt] = true;
    }

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

    function setOwner(address _owner) external {
        require(msg.sender == owner, "!auth");
        owner = _owner;
    }

    /**
     * @notice Allows dao to set the reward withdrawal address
     * @param _withdrawer Whitelisted withdrawer
     * @param _rewardDeposit Distributor address
     */
    function setRewardDeposit(address _withdrawer, address _rewardDeposit) external {
        require(msg.sender == owner, "!auth");
        withdrawer = _withdrawer;
        rewardDeposit = _rewardDeposit;
    }

    /**
     * @notice Allows dao to set the external system config, should it change in the future
     * @param _gaugeController External gauge controller address
     * @param _mintr Token minter address for claiming rewards
     */
    function setSystemConfig(address _gaugeController, address _mintr) external returns (bool)  {
        require(msg.sender == owner, "!auth");
        gaugeController = _gaugeController;
        mintr = _mintr;
        return true;
    }

    /**
     * @notice Set the operator of the VoterProxy
     * @param _operator Address of the operator (Booster)
     */
    function setOperator(address _operator) external {
        require(msg.sender == owner, "!auth");
        require(operator == address(0) || IDeposit(operator).isShutdown() == true, "needs shutdown");
        
        operator = _operator;
    }

    /**
     * @notice Set the depositor of the VoterProxy
     * @param _depositor Address of the depositor (CrvDepositor)
     */
    function setDepositor(address _depositor) external {
        require(msg.sender == owner, "!auth");

        depositor = _depositor;
    }

    function setStashAccess(address _stash, bool _status) external returns(bool){
        require(msg.sender == operator, "!auth");
        if(_stash != address(0)){
            stashPool[_stash] = _status;
        }
        return true;
    }

    /**
     * @notice Save a vote hash so when snapshot.org asks this contract if 
     *          a vote signature is valid we are able to check for a valid hash
     *          and return the appropriate response inline with EIP 1721
     * @param _hash  Hash of vote signature that was sent to snapshot.org
     * @param _valid Is the hash valid
     */
    function setVote(bytes32 _hash, bool _valid) external {
        require(msg.sender == operator, "!auth");
        votes[_hash] = _valid;
        emit VoteSet(_hash, _valid);
    }

    /**
     * @notice  Verifies that the hash is valid
     * @dev     Snapshot Hub will call this function when a vote is submitted using
     *          snapshot.js on behalf of this contract. Snapshot Hub will call this
     *          function with the hash and the signature of the vote that was cast.
     * @param _hash Hash of the message that was sent to Snapshot Hub to cast a vote
     * @return EIP1271 magic value if the signature is value 
     */
    function isValidSignature(bytes32 _hash, bytes memory) public view returns (bytes4) {
        if(votes[_hash]) {
            return EIP1271_MAGIC_VALUE;
        } else {
            return 0xffffffff;
        }  
    }

    /**
     * @notice  Deposit tokens into the Curve Gauge
     * @dev     Only can be called by the operator (Booster) once this contract has been
     *          whitelisted by the Curve DAO
     * @param _token  Deposit LP token address
     * @param _gauge  Gauge contract to deposit to 
     */ 
    function deposit(address _token, address _gauge) external returns(bool){
        require(msg.sender == operator, "!auth");
        if(protectedTokens[_token] == false){
            protectedTokens[_token] = true;
        }
        if(protectedTokens[_gauge] == false){
            protectedTokens[_gauge] = true;
        }
        uint256 balance = IERC20(_token).balanceOf(address(this));
        if (balance > 0) {
            IERC20(_token).safeApprove(_gauge, 0);
            IERC20(_token).safeApprove(_gauge, balance);
            ICurveGauge(_gauge).deposit(balance);
        }
        return true;
    }

    /**
     * @notice  Withdraw ERC20 tokens that have been distributed as extra rewards
     * @dev     Tokens shouldn't end up here if they can help it. However, dao can
     *          set a withdrawer that can process these to some ExtraRewardDistribution.
     */
    function withdraw(IERC20 _asset) external returns (uint256 balance) {
        require(msg.sender == withdrawer, "!auth");
        require(protectedTokens[address(_asset)] == false, "protected");

        balance = _asset.balanceOf(address(this));
        _asset.safeApprove(rewardDeposit, 0);
        _asset.safeApprove(rewardDeposit, balance);
        IRewardDeposit(rewardDeposit).addReward(address(_asset), balance);
        return balance;
    }

    /**
     * @notice  Withdraw LP tokens from a gauge 
     * @dev     Only callable by the operator 
     * @param _token    LP token address
     * @param _gauge    Gauge for this LP token
     * @param _amount   Amount of LP token to withdraw
     */
    function withdraw(address _token, address _gauge, uint256 _amount) public returns(bool){
        require(msg.sender == operator, "!auth");
        uint256 _balance = IERC20(_token).balanceOf(address(this));
        if (_balance < _amount) {
            _amount = _withdrawSome(_gauge, _amount.sub(_balance));
            _amount = _amount.add(_balance);
        }
        IERC20(_token).safeTransfer(msg.sender, _amount);
        return true;
    }

    /**
     * @notice  Withdraw all LP tokens from a gauge 
     * @dev     Only callable by the operator 
     * @param _token  LP token address
     * @param _gauge  Gauge for this LP token
     */
    function withdrawAll(address _token, address _gauge) external returns(bool){
        require(msg.sender == operator, "!auth");
        uint256 amount = balanceOfPool(_gauge).add(IERC20(_token).balanceOf(address(this)));
        withdraw(_token, _gauge, amount);
        return true;
    }

    function _withdrawSome(address _gauge, uint256 _amount) internal returns (uint256) {
        ICurveGauge(_gauge).withdraw(_amount);
        return _amount;
    }
    
    
    /**
     * @notice  Lock CRV in curves voting escrow contract
     * @dev     Called by the CrvDepositor contract
     * @param _value      Amount of crv to lock
     * @param _unlockTime Timestamp to unlock (max is 4 years)
     */
    function createLock(uint256 _value, uint256 _unlockTime) external returns(bool){
        require(msg.sender == depositor, "!auth");
        IERC20(crvBpt).safeApprove(escrow, 0);
        IERC20(crvBpt).safeApprove(escrow, _value);
        ICurveVoteEscrow(escrow).create_lock(_value, _unlockTime);
        return true;
    }
  
    /**
     * @notice Called by the CrvDepositor to increase amount of locked curve
     */
    function increaseAmount(uint256 _value) external returns(bool){
        require(msg.sender == depositor, "!auth");
        IERC20(crvBpt).safeApprove(escrow, 0);
        IERC20(crvBpt).safeApprove(escrow, _value);
        ICurveVoteEscrow(escrow).increase_amount(_value);
        return true;
    }

    /**
     * @notice Called by the CrvDepositor to increase unlocked time of curve
     * @param _value Timestamp to increase locking to
     */
    function increaseTime(uint256 _value) external returns(bool){
        require(msg.sender == depositor, "!auth");
        ICurveVoteEscrow(escrow).increase_unlock_time(_value);
        return true;
    }

    /**
     * @notice  Withdraw all CRV from Curve's voting escrow contract
     * @dev     Only callable by CrvDepositor and can only withdraw if lock has expired
     */
    function release() external returns(bool){
        require(msg.sender == depositor, "!auth");
        ICurveVoteEscrow(escrow).withdraw();
        return true;
    }

    /**
     * @notice Vote on CRV DAO for proposal
     */
    function vote(uint256 _voteId, address _votingAddress, bool _support) external returns(bool){
        require(msg.sender == operator, "!auth");
        IVoting(_votingAddress).vote(_voteId,_support,false);
        return true;
    }

    /**
     * @notice Vote for a single gauge weight via the controller
     */
    function voteGaugeWeight(address _gauge, uint256 _weight) external returns(bool){
        require(msg.sender == operator, "!auth");

        //vote
        IVoting(gaugeController).vote_for_gauge_weights(_gauge, _weight);
        return true;
    }

    /**
     * @notice  Claim CRV from Curve
     * @dev     Claim CRV for LP token staking from the CRV minter contract
     */
    function claimCrv(address _gauge) external returns (uint256){
        require(msg.sender == operator, "!auth");
        
        uint256 _balance = 0;
        try IMinter(mintr).mint(_gauge){
            _balance = IERC20(crv).balanceOf(address(this));
            IERC20(crv).safeTransfer(operator, _balance);
        }catch{}

        return _balance;
    }

    /**
     * @notice  Claim extra rewards from gauge
     * @dev     Called by operator (Booster) to claim extra rewards 
     */
    function claimRewards(address _gauge) external returns(bool){
        require(msg.sender == operator, "!auth");
        ICurveGauge(_gauge).claim_rewards();
        return true;
    }

    /**
     * @notice  Claim fees (3crv) from staking lp tokens
     * @dev     Only callable by the operator Booster
     * @param _distroContract   Fee distribution contract
     * @param _token            LP token to claim fees for
     */
    function claimFees(address _distroContract, address _token) external returns (uint256){
        require(msg.sender == operator, "!auth");
        IFeeDistributor(_distroContract).claimToken(address(this), _token);
        uint256 _balance = IERC20(_token).balanceOf(address(this));
        IERC20(_token).safeTransfer(operator, _balance);
        return _balance;
    }    

    function balanceOfPool(address _gauge) public view returns (uint256) {
        return ICurveGauge(_gauge).balanceOf(address(this));
    }

    function execute(
        address _to,
        uint256 _value,
        bytes calldata _data
    ) external returns (bool, bytes memory) {
        require(msg.sender == operator,"!auth");

        (bool success, bytes memory result) = _to.call{value:_value}(_data);
        require(success, "!success");

        return (success, result);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_mintr","type":"address"},{"internalType":"address","name":"_crv","type":"address"},{"internalType":"address","name":"_crvBpt","type":"address"},{"internalType":"address","name":"_escrow","type":"address"},{"internalType":"address","name":"_gaugeController","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"hash","type":"bytes32"},{"indexed":false,"internalType":"bool","name":"valid","type":"bool"}],"name":"VoteSet","type":"event"},{"inputs":[{"internalType":"address","name":"_gauge","type":"address"}],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_gauge","type":"address"}],"name":"claimCrv","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_distroContract","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"name":"claimFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gauge","type":"address"}],"name":"claimRewards","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_unlockTime","type":"uint256"}],"name":"createLock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"crv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crvBpt","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_gauge","type":"address"}],"name":"deposit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"escrow","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"execute","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gaugeController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"increaseAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"increaseTime","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"isValidSignature","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"release","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardDeposit","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_depositor","type":"address"}],"name":"setDepositor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_withdrawer","type":"address"},{"internalType":"address","name":"_rewardDeposit","type":"address"}],"name":"setRewardDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stash","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setStashAccess","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gaugeController","type":"address"},{"internalType":"address","name":"_mintr","type":"address"}],"name":"setSystemConfig","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"bool","name":"_valid","type":"bool"}],"name":"setVote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_voteId","type":"uint256"},{"internalType":"address","name":"_votingAddress","type":"address"},{"internalType":"bool","name":"_support","type":"bool"}],"name":"vote","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gauge","type":"address"},{"internalType":"uint256","name":"_weight","type":"uint256"}],"name":"voteGaugeWeight","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_asset","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_gauge","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_gauge","type":"address"}],"name":"withdrawAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60e060405234801561001057600080fd5b50604051612545380380612545833981810160405260a081101561003357600080fd5b508051602080830151604080850151606080870151608097880151600080546001600160a01b03998a166001600160a01b03199182161782556001600160601b031988861b8116909b5285851b8b1660a0529383901b90991660c052600180549189169184169190911781556004805490931633179092559386168088526008909552828720805460ff19908116831790915591861680885292872080549092161790559193919216906123ff90610146903980610a0c5280610a615280610a885280610e3152806113155280611607528061165c528061168352806119f25250806109ea5280610a3f52806113ad52806115e5528061163a525080610f675280610fed52806112a752506123ff6000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806399eecb3b1161011a578063d1e61dcb116100ad578063ef5cfb8c1161007c578063ef5cfb8c14610754578063f2c098b71461077a578063f9609f08146107a0578063fa3964b2146107ce578063fce64fa8146107fc57610206565b8063d1e61dcb146106da578063d9caed12146106e2578063e2cdd42a14610718578063e2fdcc171461074c57610206565b8063b52c05fe116100e9578063b52c05fe146105a1578063b61d27f6146105c4578063c7c4ff46146106ca578063cdc18424146106d257610206565b806399eecb3b14610545578063ad25165e1461054d578063b0f6379414610555578063b3ab15fb1461057b57610206565b80632dbfa7351161019d578063570ca7351161016c578063570ca735146104f95780635d7e9bcb146105015780636a4874a11461052d57806386d1a69f146105355780638da5cb5b1461053d57610206565b80632dbfa735146104505780633c9a2a1a146104905780633fe9bc06146104ad57806351cff8d9146104d357610206565b80631626ba7e116101d95780631626ba7e146102b657806317d7de7c146103805780631fbd8974146103fd57806328e279721461042257610206565b806309cae2c81461020b578063116b5e471461024d57806313af40351461027157806315456eba14610299575b600080fd5b6102396004803603604081101561022157600080fd5b506001600160a01b038135811691602001351661082a565b604080519115158252519081900360200190f35b61025561091b565b604080516001600160a01b039092168252519081900360200190f35b6102976004803603602081101561028757600080fd5b50356001600160a01b031661092a565b005b610239600480360360208110156102af57600080fd5b5035610993565b610363600480360360408110156102cc57600080fd5b813591908101906040810160208201356401000000008111156102ee57600080fd5b82018360208201111561030057600080fd5b8035906020019184600183028401116401000000008311171561032257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610b0c945050505050565b604080516001600160e01b03199092168252519081900360200190f35b610388610b40565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103c25781810151838201526020016103aa565b50505050905090810190601f1680156103ef5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102976004803603604081101561041357600080fd5b50803590602001351515610b6c565b6102976004803603604081101561043857600080fd5b506001600160a01b0381358116916020013516610c0e565b61047e6004803603604081101561046657600080fd5b506001600160a01b0381358116916020013516610c83565b60408051918252519081900360200190f35b610239600480360360208110156104a657600080fd5b5035610de5565b61047e600480360360208110156104c357600080fd5b50356001600160a01b0316610e95565b61047e600480360360208110156104e957600080fd5b50356001600160a01b0316611016565b6102556111d6565b6102396004803603604081101561051757600080fd5b506001600160a01b0381351690602001356111e5565b6102556112a5565b6102396112c9565b61025561138d565b61025561139c565b6102556113ab565b61047e6004803603602081101561056b57600080fd5b50356001600160a01b03166113cf565b6102976004803603602081101561059157600080fd5b50356001600160a01b0316611450565b610239600480360360408110156105b757600080fd5b508035906020013561158e565b610649600480360360608110156105da57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561060a57600080fd5b82018360208201111561061c57600080fd5b8035906020019184600183028401116401000000008311171561063e57600080fd5b5090925090506116ef565b60405180831515815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561068e578181015183820152602001610676565b50505050905090810190601f1680156106bb5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b6102556117f2565b610255611801565b610255611810565b610239600480360360608110156106f857600080fd5b506001600160a01b0381358116916020810135909116906040013561181f565b6102396004803603606081101561072e57600080fd5b508035906001600160a01b036020820135169060400135151561192f565b6102556119f0565b6102396004803603602081101561076a57600080fd5b50356001600160a01b0316611a14565b6102976004803603602081101561079057600080fd5b50356001600160a01b0316611a99565b610239600480360360408110156107b657600080fd5b506001600160a01b0381358116916020013516611b02565b610239600480360360408110156107e457600080fd5b506001600160a01b0381351690602001351515611ce9565b6102396004803603604081101561081257600080fd5b506001600160a01b0381358116916020013516611d70565b6005546000906001600160a01b03163314610874576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6000610901846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156108c657600080fd5b505afa1580156108da573d6000803e3d6000fd5b505050506040513d60208110156108f057600080fd5b50516108fb856113cf565b90611ded565b905061090e84848361181f565b5060019150505b92915050565b6002546001600160a01b031681565b6004546001600160a01b03163314610971576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6006546000906001600160a01b031633146109dd576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b610a326001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000006000611e47565b610a866001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000084611e47565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634957677c836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610aec57600080fd5b505af1158015610b00573d6000803e3d6000fd5b50600195945050505050565b60008281526009602052604081205460ff1615610b315750630b135d3f60e11b610915565b506001600160e01b0319610915565b60408051808201909152601281527142616c616e636572566f74657250726f787960701b602082015290565b6005546001600160a01b03163314610bb3576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b600082815260096020908152604091829020805460ff191684151590811790915582518581529182015281517fd374c3586ab69926e306cf56b218a9d8626a8138f092b10a810926b2457c4e3f929181900390910190a15050565b6004546001600160a01b03163314610c55576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b600380546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055565b6005546000906001600160a01b03163314610ccd576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6040805163ca31879d60e01b81523060048201526001600160a01b03848116602483015291519185169163ca31879d916044808201926020929091908290030181600087803b158015610d1f57600080fd5b505af1158015610d33573d6000803e3d6000fd5b505050506040513d6020811015610d4957600080fd5b5050604080516370a0823160e01b815230600482015290516000916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015610d9557600080fd5b505afa158015610da9573d6000803e3d6000fd5b505050506040513d6020811015610dbf57600080fd5b5051600554909150610dde906001600160a01b03858116911683611f5f565b9392505050565b6006546000906001600160a01b03163314610e2f576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663eff7a612836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610aec57600080fd5b6005546000906001600160a01b03163314610edf576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b60008054604080516335313c2160e11b81526001600160a01b03868116600483015291519190921691636a627842916024808301928692919082900301818387803b158015610f2d57600080fd5b505af1925050508015610f3e575060015b610f4757610915565b604080516370a0823160e01b815230600482015290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a08231916024808301926020929190829003018186803b158015610fad57600080fd5b505afa158015610fc1573d6000803e3d6000fd5b505050506040513d6020811015610fd757600080fd5b5051600554909150610915906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911683611f5f565b6003546000906001600160a01b03163314611060576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090205460ff16156110ba576040805162461bcd60e51b81526020600482015260096024820152681c1c9bdd1958dd195960ba1b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561110057600080fd5b505afa158015611114573d6000803e3d6000fd5b505050506040513d602081101561112a57600080fd5b505160025490915061114a906001600160a01b0384811691166000611e47565b600254611164906001600160a01b03848116911683611e47565b600254604080516309feb8f560e41b81526001600160a01b0385811660048301526024820185905291519190921691639feb8f5091604480830192600092919082900301818387803b1580156111b957600080fd5b505af11580156111cd573d6000803e3d6000fd5b50505050919050565b6005546001600160a01b031681565b6005546000906001600160a01b0316331461122f576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b60015460408051631ae26c6560e31b81526001600160a01b038681166004830152602482018690529151919092169163d713632891604480830192600092919082900301818387803b15801561128457600080fd5b505af1158015611298573d6000803e3d6000fd5b5060019695505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6006546000906001600160a01b03163314611313576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633ccfd60b6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561136e57600080fd5b505af1158015611382573d6000803e3d6000fd5b505050506001905090565b6004546001600160a01b031681565b6001546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561141e57600080fd5b505afa158015611432573d6000803e3d6000fd5b505050506040513d602081101561144857600080fd5b505192915050565b6004546001600160a01b03163314611497576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6005546001600160a01b0316158061152a5750600560009054906101000a90046001600160a01b03166001600160a01b031663bf86d6906040518163ffffffff1660e01b815260040160206040518083038186803b1580156114f857600080fd5b505afa15801561150c573d6000803e3d6000fd5b505050506040513d602081101561152257600080fd5b505115156001145b61156c576040805162461bcd60e51b815260206004820152600e60248201526d3732b2b2399039b43aba3237bbb760911b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6006546000906001600160a01b031633146115d8576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b61162d6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000006000611e47565b6116816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000085611e47565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166365fc387384846040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561128457600080fd5b6005546000906060906001600160a01b0316331461173c576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b60006060876001600160a01b0316878787604051808383808284376040519201945060009350909150508083038185875af1925050503d806000811461179e576040519150601f19603f3d011682016040523d82523d6000602084013e6117a3565b606091505b5091509150816117e5576040805162461bcd60e51b8152602060048201526008602482015267217375636365737360c01b604482015290519081900360640190fd5b9097909650945050505050565b6006546001600160a01b031681565b6003546001600160a01b031681565b6000546001600160a01b031681565b6005546000906001600160a01b03163314611869576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6000846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156118b857600080fd5b505afa1580156118cc573d6000803e3d6000fd5b505050506040513d60208110156118e257600080fd5b505190508281101561191057611901846118fc8584611fb1565b61200e565b925061190d8382611ded565b92505b6119246001600160a01b0386163385611f5f565b506001949350505050565b6005546000906001600160a01b03163314611979576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b60408051636f899de560e11b815260048101869052831515602482015260006044820181905291516001600160a01b0386169263df133bca926064808201939182900301818387803b1580156119ce57600080fd5b505af11580156119e2573d6000803e3d6000fd5b506001979650505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6005546000906001600160a01b03163314611a5e576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b816001600160a01b031663e6f1daf26040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610aec57600080fd5b6004546001600160a01b03163314611ae0576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546000906001600160a01b03163314611b4c576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6001600160a01b03831660009081526008602052604090205460ff16611b90576001600160a01b0383166000908152600860205260409020805460ff191660011790555b6001600160a01b03821660009081526008602052604090205460ff16611bd4576001600160a01b0382166000908152600860205260409020805460ff191660011790555b6000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611c2357600080fd5b505afa158015611c37573d6000803e3d6000fd5b505050506040513d6020811015611c4d57600080fd5b505190508015611cdf57611c6c6001600160a01b038516846000611e47565b611c806001600160a01b0385168483611e47565b826001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611cc657600080fd5b505af1158015611cda573d6000803e3d6000fd5b505050505b5060019392505050565b6005546000906001600160a01b03163314611d33576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6001600160a01b03831615611d67576001600160a01b0383166000908152600760205260409020805460ff19168315151790555b50600192915050565b6004546000906001600160a01b03163314611dba576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b50600180546001600160a01b038085166001600160a01b0319928316178355600080549185169190921617905592915050565b600082820183811015610dde576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b801580611ecd575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611e9f57600080fd5b505afa158015611eb3573d6000803e3d6000fd5b505050506040513d6020811015611ec957600080fd5b5051155b611f085760405162461bcd60e51b81526004018080602001828103825260368152602001806123946036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611f5a908490612075565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611f5a908490612075565b600082821115612008576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561205657600080fd5b505af115801561206a573d6000803e3d6000fd5b509395945050505050565b60606120ca826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166121269092919063ffffffff16565b805190915015611f5a578080602001905160208110156120e957600080fd5b5051611f5a5760405162461bcd60e51b815260040180806020018281038252602a81526020018061236a602a913960400191505060405180910390fd5b6060612135848460008561213d565b949350505050565b60608247101561217e5760405162461bcd60e51b81526004018080602001828103825260268152602001806123446026913960400191505060405180910390fd5b61218785612299565b6121d8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106122175780518252601f1990920191602091820191016121f8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612279576040519150601f19603f3d011682016040523d82523d6000602084013e61227e565b606091505b509150915061228e82828661229f565b979650505050505050565b3b151590565b606083156122ae575081610dde565b8251156122be5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123085781810151838201526020016122f0565b50505050905090810190601f1680156123355780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220c40c14ea957b7b5ff51a15d6baa80b178285f132a6989469675f1ac358bb089b64736f6c634300060c0033000000000000000000000000239e55f427d44c3cc793f49bfb507ebe76638a2b000000000000000000000000ba100000625a3754423978a60c9317c58a424e3d0000000000000000000000005c6ee304399dbdb9c8ef030ab642b10820db8f56000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f25000000000000000000000000c128468b7ce63ea702c1f104d55a2566b13d3abd

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c806399eecb3b1161011a578063d1e61dcb116100ad578063ef5cfb8c1161007c578063ef5cfb8c14610754578063f2c098b71461077a578063f9609f08146107a0578063fa3964b2146107ce578063fce64fa8146107fc57610206565b8063d1e61dcb146106da578063d9caed12146106e2578063e2cdd42a14610718578063e2fdcc171461074c57610206565b8063b52c05fe116100e9578063b52c05fe146105a1578063b61d27f6146105c4578063c7c4ff46146106ca578063cdc18424146106d257610206565b806399eecb3b14610545578063ad25165e1461054d578063b0f6379414610555578063b3ab15fb1461057b57610206565b80632dbfa7351161019d578063570ca7351161016c578063570ca735146104f95780635d7e9bcb146105015780636a4874a11461052d57806386d1a69f146105355780638da5cb5b1461053d57610206565b80632dbfa735146104505780633c9a2a1a146104905780633fe9bc06146104ad57806351cff8d9146104d357610206565b80631626ba7e116101d95780631626ba7e146102b657806317d7de7c146103805780631fbd8974146103fd57806328e279721461042257610206565b806309cae2c81461020b578063116b5e471461024d57806313af40351461027157806315456eba14610299575b600080fd5b6102396004803603604081101561022157600080fd5b506001600160a01b038135811691602001351661082a565b604080519115158252519081900360200190f35b61025561091b565b604080516001600160a01b039092168252519081900360200190f35b6102976004803603602081101561028757600080fd5b50356001600160a01b031661092a565b005b610239600480360360208110156102af57600080fd5b5035610993565b610363600480360360408110156102cc57600080fd5b813591908101906040810160208201356401000000008111156102ee57600080fd5b82018360208201111561030057600080fd5b8035906020019184600183028401116401000000008311171561032257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610b0c945050505050565b604080516001600160e01b03199092168252519081900360200190f35b610388610b40565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103c25781810151838201526020016103aa565b50505050905090810190601f1680156103ef5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102976004803603604081101561041357600080fd5b50803590602001351515610b6c565b6102976004803603604081101561043857600080fd5b506001600160a01b0381358116916020013516610c0e565b61047e6004803603604081101561046657600080fd5b506001600160a01b0381358116916020013516610c83565b60408051918252519081900360200190f35b610239600480360360208110156104a657600080fd5b5035610de5565b61047e600480360360208110156104c357600080fd5b50356001600160a01b0316610e95565b61047e600480360360208110156104e957600080fd5b50356001600160a01b0316611016565b6102556111d6565b6102396004803603604081101561051757600080fd5b506001600160a01b0381351690602001356111e5565b6102556112a5565b6102396112c9565b61025561138d565b61025561139c565b6102556113ab565b61047e6004803603602081101561056b57600080fd5b50356001600160a01b03166113cf565b6102976004803603602081101561059157600080fd5b50356001600160a01b0316611450565b610239600480360360408110156105b757600080fd5b508035906020013561158e565b610649600480360360608110156105da57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561060a57600080fd5b82018360208201111561061c57600080fd5b8035906020019184600183028401116401000000008311171561063e57600080fd5b5090925090506116ef565b60405180831515815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561068e578181015183820152602001610676565b50505050905090810190601f1680156106bb5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b6102556117f2565b610255611801565b610255611810565b610239600480360360608110156106f857600080fd5b506001600160a01b0381358116916020810135909116906040013561181f565b6102396004803603606081101561072e57600080fd5b508035906001600160a01b036020820135169060400135151561192f565b6102556119f0565b6102396004803603602081101561076a57600080fd5b50356001600160a01b0316611a14565b6102976004803603602081101561079057600080fd5b50356001600160a01b0316611a99565b610239600480360360408110156107b657600080fd5b506001600160a01b0381358116916020013516611b02565b610239600480360360408110156107e457600080fd5b506001600160a01b0381351690602001351515611ce9565b6102396004803603604081101561081257600080fd5b506001600160a01b0381358116916020013516611d70565b6005546000906001600160a01b03163314610874576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6000610901846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156108c657600080fd5b505afa1580156108da573d6000803e3d6000fd5b505050506040513d60208110156108f057600080fd5b50516108fb856113cf565b90611ded565b905061090e84848361181f565b5060019150505b92915050565b6002546001600160a01b031681565b6004546001600160a01b03163314610971576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6006546000906001600160a01b031633146109dd576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b610a326001600160a01b037f0000000000000000000000005c6ee304399dbdb9c8ef030ab642b10820db8f56167f000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f256000611e47565b610a866001600160a01b037f0000000000000000000000005c6ee304399dbdb9c8ef030ab642b10820db8f56167f000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f2584611e47565b7f000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f256001600160a01b0316634957677c836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610aec57600080fd5b505af1158015610b00573d6000803e3d6000fd5b50600195945050505050565b60008281526009602052604081205460ff1615610b315750630b135d3f60e11b610915565b506001600160e01b0319610915565b60408051808201909152601281527142616c616e636572566f74657250726f787960701b602082015290565b6005546001600160a01b03163314610bb3576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b600082815260096020908152604091829020805460ff191684151590811790915582518581529182015281517fd374c3586ab69926e306cf56b218a9d8626a8138f092b10a810926b2457c4e3f929181900390910190a15050565b6004546001600160a01b03163314610c55576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b600380546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055565b6005546000906001600160a01b03163314610ccd576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6040805163ca31879d60e01b81523060048201526001600160a01b03848116602483015291519185169163ca31879d916044808201926020929091908290030181600087803b158015610d1f57600080fd5b505af1158015610d33573d6000803e3d6000fd5b505050506040513d6020811015610d4957600080fd5b5050604080516370a0823160e01b815230600482015290516000916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015610d9557600080fd5b505afa158015610da9573d6000803e3d6000fd5b505050506040513d6020811015610dbf57600080fd5b5051600554909150610dde906001600160a01b03858116911683611f5f565b9392505050565b6006546000906001600160a01b03163314610e2f576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b7f000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f256001600160a01b031663eff7a612836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610aec57600080fd5b6005546000906001600160a01b03163314610edf576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b60008054604080516335313c2160e11b81526001600160a01b03868116600483015291519190921691636a627842916024808301928692919082900301818387803b158015610f2d57600080fd5b505af1925050508015610f3e575060015b610f4757610915565b604080516370a0823160e01b815230600482015290516001600160a01b037f000000000000000000000000ba100000625a3754423978a60c9317c58a424e3d16916370a08231916024808301926020929190829003018186803b158015610fad57600080fd5b505afa158015610fc1573d6000803e3d6000fd5b505050506040513d6020811015610fd757600080fd5b5051600554909150610915906001600160a01b037f000000000000000000000000ba100000625a3754423978a60c9317c58a424e3d8116911683611f5f565b6003546000906001600160a01b03163314611060576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090205460ff16156110ba576040805162461bcd60e51b81526020600482015260096024820152681c1c9bdd1958dd195960ba1b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561110057600080fd5b505afa158015611114573d6000803e3d6000fd5b505050506040513d602081101561112a57600080fd5b505160025490915061114a906001600160a01b0384811691166000611e47565b600254611164906001600160a01b03848116911683611e47565b600254604080516309feb8f560e41b81526001600160a01b0385811660048301526024820185905291519190921691639feb8f5091604480830192600092919082900301818387803b1580156111b957600080fd5b505af11580156111cd573d6000803e3d6000fd5b50505050919050565b6005546001600160a01b031681565b6005546000906001600160a01b0316331461122f576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b60015460408051631ae26c6560e31b81526001600160a01b038681166004830152602482018690529151919092169163d713632891604480830192600092919082900301818387803b15801561128457600080fd5b505af1158015611298573d6000803e3d6000fd5b5060019695505050505050565b7f000000000000000000000000ba100000625a3754423978a60c9317c58a424e3d81565b6006546000906001600160a01b03163314611313576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b7f000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f256001600160a01b0316633ccfd60b6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561136e57600080fd5b505af1158015611382573d6000803e3d6000fd5b505050506001905090565b6004546001600160a01b031681565b6001546001600160a01b031681565b7f0000000000000000000000005c6ee304399dbdb9c8ef030ab642b10820db8f5681565b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561141e57600080fd5b505afa158015611432573d6000803e3d6000fd5b505050506040513d602081101561144857600080fd5b505192915050565b6004546001600160a01b03163314611497576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6005546001600160a01b0316158061152a5750600560009054906101000a90046001600160a01b03166001600160a01b031663bf86d6906040518163ffffffff1660e01b815260040160206040518083038186803b1580156114f857600080fd5b505afa15801561150c573d6000803e3d6000fd5b505050506040513d602081101561152257600080fd5b505115156001145b61156c576040805162461bcd60e51b815260206004820152600e60248201526d3732b2b2399039b43aba3237bbb760911b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6006546000906001600160a01b031633146115d8576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b61162d6001600160a01b037f0000000000000000000000005c6ee304399dbdb9c8ef030ab642b10820db8f56167f000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f256000611e47565b6116816001600160a01b037f0000000000000000000000005c6ee304399dbdb9c8ef030ab642b10820db8f56167f000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f2585611e47565b7f000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f256001600160a01b03166365fc387384846040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561128457600080fd5b6005546000906060906001600160a01b0316331461173c576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b60006060876001600160a01b0316878787604051808383808284376040519201945060009350909150508083038185875af1925050503d806000811461179e576040519150601f19603f3d011682016040523d82523d6000602084013e6117a3565b606091505b5091509150816117e5576040805162461bcd60e51b8152602060048201526008602482015267217375636365737360c01b604482015290519081900360640190fd5b9097909650945050505050565b6006546001600160a01b031681565b6003546001600160a01b031681565b6000546001600160a01b031681565b6005546000906001600160a01b03163314611869576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6000846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156118b857600080fd5b505afa1580156118cc573d6000803e3d6000fd5b505050506040513d60208110156118e257600080fd5b505190508281101561191057611901846118fc8584611fb1565b61200e565b925061190d8382611ded565b92505b6119246001600160a01b0386163385611f5f565b506001949350505050565b6005546000906001600160a01b03163314611979576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b60408051636f899de560e11b815260048101869052831515602482015260006044820181905291516001600160a01b0386169263df133bca926064808201939182900301818387803b1580156119ce57600080fd5b505af11580156119e2573d6000803e3d6000fd5b506001979650505050505050565b7f000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f2581565b6005546000906001600160a01b03163314611a5e576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b816001600160a01b031663e6f1daf26040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610aec57600080fd5b6004546001600160a01b03163314611ae0576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546000906001600160a01b03163314611b4c576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6001600160a01b03831660009081526008602052604090205460ff16611b90576001600160a01b0383166000908152600860205260409020805460ff191660011790555b6001600160a01b03821660009081526008602052604090205460ff16611bd4576001600160a01b0382166000908152600860205260409020805460ff191660011790555b6000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611c2357600080fd5b505afa158015611c37573d6000803e3d6000fd5b505050506040513d6020811015611c4d57600080fd5b505190508015611cdf57611c6c6001600160a01b038516846000611e47565b611c806001600160a01b0385168483611e47565b826001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611cc657600080fd5b505af1158015611cda573d6000803e3d6000fd5b505050505b5060019392505050565b6005546000906001600160a01b03163314611d33576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b6001600160a01b03831615611d67576001600160a01b0383166000908152600760205260409020805460ff19168315151790555b50600192915050565b6004546000906001600160a01b03163314611dba576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b50600180546001600160a01b038085166001600160a01b0319928316178355600080549185169190921617905592915050565b600082820183811015610dde576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b801580611ecd575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611e9f57600080fd5b505afa158015611eb3573d6000803e3d6000fd5b505050506040513d6020811015611ec957600080fd5b5051155b611f085760405162461bcd60e51b81526004018080602001828103825260368152602001806123946036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611f5a908490612075565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611f5a908490612075565b600082821115612008576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561205657600080fd5b505af115801561206a573d6000803e3d6000fd5b509395945050505050565b60606120ca826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166121269092919063ffffffff16565b805190915015611f5a578080602001905160208110156120e957600080fd5b5051611f5a5760405162461bcd60e51b815260040180806020018281038252602a81526020018061236a602a913960400191505060405180910390fd5b6060612135848460008561213d565b949350505050565b60608247101561217e5760405162461bcd60e51b81526004018080602001828103825260268152602001806123446026913960400191505060405180910390fd5b61218785612299565b6121d8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106122175780518252601f1990920191602091820191016121f8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612279576040519150601f19603f3d011682016040523d82523d6000602084013e61227e565b606091505b509150915061228e82828661229f565b979650505050505050565b3b151590565b606083156122ae575081610dde565b8251156122be5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123085781810151838201526020016122f0565b50505050905090810190601f1680156123355780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220c40c14ea957b7b5ff51a15d6baa80b178285f132a6989469675f1ac358bb089b64736f6c634300060c0033

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

000000000000000000000000239e55f427d44c3cc793f49bfb507ebe76638a2b000000000000000000000000ba100000625a3754423978a60c9317c58a424e3d0000000000000000000000005c6ee304399dbdb9c8ef030ab642b10820db8f56000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f25000000000000000000000000c128468b7ce63ea702c1f104d55a2566b13d3abd

-----Decoded View---------------
Arg [0] : _mintr (address): 0x239e55F427D44C3cc793f49bFB507ebe76638a2b
Arg [1] : _crv (address): 0xba100000625a3754423978a60c9317c58a424e3D
Arg [2] : _crvBpt (address): 0x5c6Ee304399DBdB9C8Ef030aB642B10820DB8F56
Arg [3] : _escrow (address): 0xC128a9954e6c874eA3d62ce62B468bA073093F25
Arg [4] : _gaugeController (address): 0xC128468b7Ce63eA702C1f104D55A2566b13D3ABD

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000239e55f427d44c3cc793f49bfb507ebe76638a2b
Arg [1] : 000000000000000000000000ba100000625a3754423978a60c9317c58a424e3d
Arg [2] : 0000000000000000000000005c6ee304399dbdb9c8ef030ab642b10820db8f56
Arg [3] : 000000000000000000000000c128a9954e6c874ea3d62ce62b468ba073093f25
Arg [4] : 000000000000000000000000c128468b7ce63ea702c1f104d55a2566b13d3abd


Deployed Bytecode Sourcemap

24666:12336:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32172:293;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32172:293:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;24970:28;;;:::i;:::-;;;;-1:-1:-1;;;;;24970:28:0;;;;;;;;;;;;;;26347:124;;;;;;;;;;;;;;;;-1:-1:-1;26347:124:0;-1:-1:-1;;;;;26347:124:0;;:::i;:::-;;33334:304;;;;;;;;;;;;;;;;-1:-1:-1;33334:304:0;;:::i;29321:224::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29321:224:0;;-1:-1:-1;29321:224:0;;-1:-1:-1;;;;;29321:224:0:i;:::-;;;;-1:-1:-1;;;;;;29321:224:0;;;;;;;;;;;;;;26236:103;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28659:183;;;;;;;;;;;;;;;;-1:-1:-1;28659:183:0;;;;;;;;;:::i;26661:212::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26661:212:0;;;;;;;;;;:::i;36109:375::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36109:375:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;33797:206;;;;;;;;;;;;;;;;-1:-1:-1;33797:206:0;;:::i;35151:369::-;;;;;;;;;;;;;;;;-1:-1:-1;35151:369:0;-1:-1:-1;;;;;35151:369:0;;:::i;30771:458::-;;;;;;;;;;;;;;;;-1:-1:-1;30771:458:0;-1:-1:-1;;;;;30771:458:0;;:::i;25066:23::-;;;:::i;34756:254::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34756:254:0;;;;;;;;:::i;24820:28::-;;;:::i;34188:169::-;;;:::i;25039:20::-;;;:::i;24933:30::-;;;:::i;24855:31::-;;;:::i;36496:139::-;;;;;;;;;;;;;;;;-1:-1:-1;36496:139:0;-1:-1:-1;;;;;36496:139:0;;:::i;27498:249::-;;;;;;;;;;;;;;;;-1:-1:-1;27498:249:0;-1:-1:-1;;;;;27498:249:0;;:::i;32898:330::-;;;;;;;;;;;;;;;;-1:-1:-1;32898:330:0;;;;;;;:::i;36643:354::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36643:354:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36643:354:0;;-1:-1:-1;36643:354:0;-1:-1:-1;36643:354:0;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25096:24;;;:::i;25005:25::-;;;:::i;24793:20::-;;;:::i;31500:457::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31500:457:0;;;;;;;;;;;;;;;;;:::i;34428:236::-;;;;;;;;;;;;;;;;-1:-1:-1;34428:236:0;;;-1:-1:-1;;;;;34428:236:0;;;;;;;;;;;;:::i;24895:31::-;;;:::i;35664:187::-;;;;;;;;;;;;;;;;-1:-1:-1;35664:187:0;-1:-1:-1;;;;;35664:187:0;;:::i;27891:142::-;;;;;;;;;;;;;;;;-1:-1:-1;27891:142:0;-1:-1:-1;;;;;27891:142:0;;:::i;29862:626::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29862:626:0;;;;;;;;;;:::i;28041:245::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28041:245:0;;;;;;;;;;:::i;27122:240::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27122:240:0;;;;;;;;;;:::i;32172:293::-;32280:8;;32242:4;;-1:-1:-1;;;;;32280:8:0;32266:10;:22;32258:40;;;;;-1:-1:-1;;;32258:40:0;;;;;;;;;;;;-1:-1:-1;;;32258:40:0;;;;;;;;;;;;;;;32309:14;32326:66;32359:6;-1:-1:-1;;;;;32352:24:0;;32385:4;32352:39;;;;;;;;;;;;;-1:-1:-1;;;;;32352:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32352:39:0;32326:21;32340:6;32326:13;:21::i;:::-;:25;;:66::i;:::-;32309:83;;32403:32;32412:6;32420;32428;32403:8;:32::i;:::-;;32453:4;32446:11;;;32172:293;;;;;:::o;24970:28::-;;;-1:-1:-1;;;;;24970:28:0;;:::o;26347:124::-;26423:5;;-1:-1:-1;;;;;26423:5:0;26409:10;:19;26401:37;;;;;-1:-1:-1;;;26401:37:0;;;;;;;;;;;;-1:-1:-1;;;26401:37:0;;;;;;;;;;;;;;;26449:5;:14;;-1:-1:-1;;;;;;26449:14:0;-1:-1:-1;;;;;26449:14:0;;;;;;;;;;26347:124::o;33334:304::-;33429:9;;33391:4;;-1:-1:-1;;;;;33429:9:0;33415:10;:23;33407:41;;;;;-1:-1:-1;;;33407:41:0;;;;;;;;;;;;-1:-1:-1;;;33407:41:0;;;;;;;;;;;;;;;33459:37;-1:-1:-1;;;;;33466:6:0;33459:26;33486:6;33494:1;33459:26;:37::i;:::-;33507:42;-1:-1:-1;;;;;33514:6:0;33507:26;33534:6;33542;33507:26;:42::i;:::-;33577:6;-1:-1:-1;;;;;33560:40:0;;33601:6;33560:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33626:4:0;;33334:304;-1:-1:-1;;;;;33334:304:0:o;29321:224::-;29397:6;29419:12;;;:5;:12;;;;;;;;29416:120;;;-1:-1:-1;;;;29448:26:0;;29416:120;-1:-1:-1;;;;;;;29507:17:0;;26236:103;26304:27;;;;;;;;;;;;-1:-1:-1;;;26304:27:0;;;;26236:103;:::o;28659:183::-;28746:8;;-1:-1:-1;;;;;28746:8:0;28732:10;:22;28724:40;;;;;-1:-1:-1;;;28724:40:0;;;;;;;;;;;;-1:-1:-1;;;28724:40:0;;;;;;;;;;;;;;;28775:12;;;;:5;:12;;;;;;;;;:21;;-1:-1:-1;;28775:21:0;;;;;;;;;;28812:22;;;;;;;;;;;;;;;;;;;;;;28659:183;;:::o;26661:212::-;26774:5;;-1:-1:-1;;;;;26774:5:0;26760:10;:19;26752:37;;;;;-1:-1:-1;;;26752:37:0;;;;;;;;;;;;-1:-1:-1;;;26752:37:0;;;;;;;;;;;;;;;26800:10;:24;;-1:-1:-1;;;;;26800:24:0;;;-1:-1:-1;;;;;;26800:24:0;;;;;;;26835:13;:30;;;;;;;;;;;26661:212::o;36109:375::-;36228:8;;36187:7;;-1:-1:-1;;;;;36228:8:0;36214:10;:22;36206:40;;;;;-1:-1:-1;;;36206:40:0;;;;;;;;;;;;-1:-1:-1;;;36206:40:0;;;;;;;;;;;;;;;36257:66;;;-1:-1:-1;;;36257:66:0;;36309:4;36257:66;;;;-1:-1:-1;;;;;36257:66:0;;;;;;;;;:43;;;;;;:66;;;;;;;;;;;;;;;-1:-1:-1;36257:43:0;:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36353:39:0;;;-1:-1:-1;;;36353:39:0;;36386:4;36353:39;;;;;;36334:16;;-1:-1:-1;;;;;36353:24:0;;;;;:39;;;;;36257:66;;36353:39;;;;;;;;:24;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36353:39:0;36431:8;;36353:39;;-1:-1:-1;36403:47:0;;-1:-1:-1;;;;;36403:27:0;;;;36431:8;36353:39;36403:27;:47::i;:::-;36468:8;36109:375;-1:-1:-1;;;36109:375:0:o;33797:206::-;33890:9;;33852:4;;-1:-1:-1;;;;;33890:9:0;33876:10;:23;33868:41;;;;;-1:-1:-1;;;33868:41:0;;;;;;;;;;;;-1:-1:-1;;;33868:41:0;;;;;;;;;;;;;;;33937:6;-1:-1:-1;;;;;33920:45:0;;33966:6;33920:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35151:369;35244:8;;35203:7;;-1:-1:-1;;;;;35244:8:0;35230:10;:22;35222:40;;;;;-1:-1:-1;;;35222:40:0;;;;;;;;;;;;-1:-1:-1;;;35222:40:0;;;;;;;;;;;;;;;35283:16;35326:5;;35318:27;;;-1:-1:-1;;;35318:27:0;;-1:-1:-1;;;;;35318:27:0;;;;;;;;;35326:5;;;;;35318:19;;:27;;;;;35283:16;;35318:27;;;;;;;35283:16;35326:5;35318:27;;;;;;;;;;;;;;;;;;;;;;;;;35314:171;;;;;35371:36;;;-1:-1:-1;;;35371:36:0;;35401:4;35371:36;;;;;;-1:-1:-1;;;;;35378:3:0;35371:21;;;;:36;;;;;;;;;;;;;;:21;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35371:36:0;35447:8;;35371:36;;-1:-1:-1;35422:44:0;;-1:-1:-1;;;;;35429:3:0;35422:24;;;35447:8;35371:36;35422:24;:44::i;30771:458::-;30872:10;;30822:15;;-1:-1:-1;;;;;30872:10:0;30858;:24;30850:42;;;;;-1:-1:-1;;;30850:42:0;;;;;;;;;;;;-1:-1:-1;;;30850:42:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;30911:32:0;;;;;;:15;:32;;;;;;;;:41;30903:63;;;;;-1:-1:-1;;;30903:63:0;;;;;;;;;;;;-1:-1:-1;;;30903:63:0;;;;;;;;;;;;;;;30989:31;;;-1:-1:-1;;;30989:31:0;;31014:4;30989:31;;;;;;-1:-1:-1;;;;;30989:16:0;;;;;:31;;;;;;;;;;;;;;:16;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30989:31:0;31050:13;;30989:31;;-1:-1:-1;31031:36:0;;-1:-1:-1;;;;;31031:18:0;;;;31050:13;;31031:18;:36::i;:::-;31097:13;;31078:42;;-1:-1:-1;;;;;31078:18:0;;;;31097:13;31112:7;31078:18;:42::i;:::-;31146:13;;31131:65;;;-1:-1:-1;;;31131:65:0;;-1:-1:-1;;;;;31131:65:0;;;;;;;;;;;;;;;31146:13;;;;;31131:39;;:65;;;;;31146:13;;31131:65;;;;;;;31146:13;;31131:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30771:458;;;:::o;25066:23::-;;;-1:-1:-1;;;;;25066:23:0;;:::o;34756:254::-;34869:8;;34831:4;;-1:-1:-1;;;;;34869:8:0;34855:10;:22;34847:40;;;;;-1:-1:-1;;;34847:40:0;;;;;;;;;;;;-1:-1:-1;;;34847:40:0;;;;;;;;;;;;;;;34924:15;;34916:64;;;-1:-1:-1;;;34916:64:0;;-1:-1:-1;;;;;34916:64:0;;;;;;;;;;;;;;;34924:15;;;;;34916:47;;:64;;;;;34924:15;;34916:64;;;;;;;34924:15;;34916:64;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34998:4:0;;34756:254;-1:-1:-1;;;;;;34756:254:0:o;24820:28::-;;;:::o;34188:169::-;34262:9;;34224:4;;-1:-1:-1;;;;;34262:9:0;34248:10;:23;34240:41;;;;;-1:-1:-1;;;34240:41:0;;;;;;;;;;;;-1:-1:-1;;;34240:41:0;;;;;;;;;;;;;;;34309:6;-1:-1:-1;;;;;34292:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34345:4;34338:11;;34188:169;:::o;25039:20::-;;;-1:-1:-1;;;;;25039:20:0;;:::o;24933:30::-;;;-1:-1:-1;;;;;24933:30:0;;:::o;24855:31::-;;;:::o;36496:139::-;36556:7;36595:6;-1:-1:-1;;;;;36583:29:0;;36621:4;36583:44;;;;;;;;;;;;;-1:-1:-1;;;;;36583:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36583:44:0;;36496:139;-1:-1:-1;;36496:139:0:o;27498:249::-;27580:5;;-1:-1:-1;;;;;27580:5:0;27566:10;:19;27558:37;;;;;-1:-1:-1;;;27558:37:0;;;;;;;;;;;;-1:-1:-1;;;27558:37:0;;;;;;;;;;;;;;;27614:8;;-1:-1:-1;;;;;27614:8:0;:22;;:65;;;27649:8;;;;;;;;;-1:-1:-1;;;;;27649:8:0;-1:-1:-1;;;;;27640:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27640:31:0;:39;;27675:4;27640:39;27614:65;27606:92;;;;;-1:-1:-1;;;27606:92:0;;;;;;;;;;;;-1:-1:-1;;;27606:92:0;;;;;;;;;;;;;;;27719:8;:20;;-1:-1:-1;;;;;;27719:20:0;-1:-1:-1;;;;;27719:20:0;;;;;;;;;;27498:249::o;32898:330::-;33010:9;;32972:4;;-1:-1:-1;;;;;33010:9:0;32996:10;:23;32988:41;;;;;-1:-1:-1;;;32988:41:0;;;;;;;;;;;;-1:-1:-1;;;32988:41:0;;;;;;;;;;;;;;;33040:37;-1:-1:-1;;;;;33047:6:0;33040:26;33067:6;33075:1;33040:26;:37::i;:::-;33088:42;-1:-1:-1;;;;;33095:6:0;33088:26;33115:6;33123;33088:26;:42::i;:::-;33158:6;-1:-1:-1;;;;;33141:36:0;;33178:6;33186:11;33141:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36643:354;36816:8;;36763:4;;36769:12;;-1:-1:-1;;;;;36816:8:0;36802:10;:22;36794:39;;;;;-1:-1:-1;;;36794:39:0;;;;;;;;;;;;-1:-1:-1;;;36794:39:0;;;;;;;;;;;;;;;36847:12;36861:19;36884:3;-1:-1:-1;;;;;36884:8:0;36899:6;36907:5;;36884:29;;;;;;;;;;;;;;-1:-1:-1;36884:29:0;;-1:-1:-1;36884:29:0;;-1:-1:-1;;36884:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36846:67;;;;36932:7;36924:28;;;;;-1:-1:-1;;;36924:28:0;;;;;;;;;;;;-1:-1:-1;;;36924:28:0;;;;;;;;;;;;;;;36973:7;;;;-1:-1:-1;36643:354:0;-1:-1:-1;;;;;36643:354:0:o;25096:24::-;;;-1:-1:-1;;;;;25096:24:0;;:::o;25005:25::-;;;-1:-1:-1;;;;;25005:25:0;;:::o;24793:20::-;;;-1:-1:-1;;;;;24793:20:0;;:::o;31500:457::-;31620:8;;31582:4;;-1:-1:-1;;;;;31620:8:0;31606:10;:22;31598:40;;;;;-1:-1:-1;;;31598:40:0;;;;;;;;;;;;-1:-1:-1;;;31598:40:0;;;;;;;;;;;;;;;31649:16;31675:6;-1:-1:-1;;;;;31668:24:0;;31701:4;31668:39;;;;;;;;;;;;;-1:-1:-1;;;;;31668:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31668:39:0;;-1:-1:-1;31722:18:0;;;31718:151;;;31767:44;31781:6;31789:21;:7;31801:8;31789:11;:21::i;:::-;31767:13;:44::i;:::-;31757:54;-1:-1:-1;31836:21:0;31757:54;31848:8;31836:11;:21::i;:::-;31826:31;;31718:151;31879:48;-1:-1:-1;;;;;31879:27:0;;31907:10;31919:7;31879:27;:48::i;:::-;-1:-1:-1;31945:4:0;;31500:457;-1:-1:-1;;;;31500:457:0:o;34428:236::-;34553:8;;34515:4;;-1:-1:-1;;;;;34553:8:0;34539:10;:22;34531:40;;;;;-1:-1:-1;;;34531:40:0;;;;;;;;;;;;-1:-1:-1;;;34531:40:0;;;;;;;;;;;;;;;34582:52;;;-1:-1:-1;;;34582:52:0;;;;;;;;;;;;;;;34628:5;34582:52;;;;;;;;-1:-1:-1;;;;;34582:28:0;;;;;:52;;;;;;;;;;;34628:5;34582:28;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34652:4:0;;34428:236;-1:-1:-1;;;;;;;34428:236:0:o;24895:31::-;;;:::o;35664:187::-;35757:8;;35719:4;;-1:-1:-1;;;;;35757:8:0;35743:10;:22;35735:40;;;;;-1:-1:-1;;;35735:40:0;;;;;;;;;;;;-1:-1:-1;;;35735:40:0;;;;;;;;;;;;;;;35798:6;-1:-1:-1;;;;;35786:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27891:142;27975:5;;-1:-1:-1;;;;;27975:5:0;27961:10;:19;27953:37;;;;;-1:-1:-1;;;27953:37:0;;;;;;;;;;;;-1:-1:-1;;;27953:37:0;;;;;;;;;;;;;;;28003:9;:22;;-1:-1:-1;;;;;;28003:22:0;-1:-1:-1;;;;;28003:22:0;;;;;;;;;;27891:142::o;29862:626::-;29966:8;;29928:4;;-1:-1:-1;;;;;29966:8:0;29952:10;:22;29944:40;;;;;-1:-1:-1;;;29944:40:0;;;;;;;;;;;;-1:-1:-1;;;29944:40:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;29998:23:0;;;;;;:15;:23;;;;;;;;29995:93;;-1:-1:-1;;;;;30046:23:0;;;;;;:15;:23;;;;;:30;;-1:-1:-1;;30046:30:0;30072:4;30046:30;;;29995:93;-1:-1:-1;;;;;30101:23:0;;;;;;:15;:23;;;;;;;;30098:93;;-1:-1:-1;;;;;30149:23:0;;;;;;:15;:23;;;;;:30;;-1:-1:-1;;30149:30:0;30175:4;30149:30;;;30098:93;30201:15;30226:6;-1:-1:-1;;;;;30219:24:0;;30252:4;30219:39;;;;;;;;;;;;;-1:-1:-1;;;;;30219:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30219:39:0;;-1:-1:-1;30273:11:0;;30269:190;;30301:37;-1:-1:-1;;;;;30301:26:0;;30328:6;30336:1;30301:26;:37::i;:::-;30353:43;-1:-1:-1;;;;;30353:26:0;;30380:6;30388:7;30353:26;:43::i;:::-;30423:6;-1:-1:-1;;;;;30411:27:0;;30439:7;30411:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30269:190;-1:-1:-1;30476:4:0;;29862:626;-1:-1:-1;;;29862:626:0:o;28041:245::-;28150:8;;28112:4;;-1:-1:-1;;;;;28150:8:0;28136:10;:22;28128:40;;;;;-1:-1:-1;;;28128:40:0;;;;;;;;;;;;-1:-1:-1;;;28128:40:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28182:20:0;;;28179:78;;-1:-1:-1;;;;;28218:17:0;;;;;;:9;:17;;;;;:27;;-1:-1:-1;;28218:27:0;;;;;;;28179:78;-1:-1:-1;28274:4:0;28041:245;;;;:::o;27122:240::-;27247:5;;27207:4;;-1:-1:-1;;;;;27247:5:0;27233:10;:19;27225:37;;;;;-1:-1:-1;;;27225:37:0;;;;;;;;;;;;-1:-1:-1;;;27225:37:0;;;;;;;;;;;;;;;-1:-1:-1;27273:15:0;:34;;-1:-1:-1;;;;;27273:34:0;;;-1:-1:-1;;;;;;27273:34:0;;;;;;:15;27318:14;;;;;;;;;;;;27122:240;;;;:::o;5438:179::-;5496:7;5528:5;;;5552:6;;;;5544:46;;;;;-1:-1:-1;;;5544:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;21976:622;22346:10;;;22345:62;;-1:-1:-1;22362:39:0;;;-1:-1:-1;;;22362:39:0;;22386:4;22362:39;;;;-1:-1:-1;;;;;22362:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22362:39:0;:44;22345:62;22337:152;;;;-1:-1:-1;;;22337:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22527:62;;;-1:-1:-1;;;;;22527:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22527:62:0;-1:-1:-1;;;22527:62:0;;;22500:90;;22520:5;;22500:19;:90::i;:::-;21976:622;;;:::o;21317:177::-;21427:58;;;-1:-1:-1;;;;;21427:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21427:58:0;-1:-1:-1;;;21427:58:0;;;21400:86;;21420:5;;21400:19;:86::i;5900:158::-;5958:7;5991:1;5986;:6;;5978:49;;;;;-1:-1:-1;;;5978:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6045:5:0;;;5900:158::o;32473:164::-;32547:7;32579:6;-1:-1:-1;;;;;32567:28:0;;32596:7;32567:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32622:7:0;;32473:164;-1:-1:-1;;;;;32473:164:0:o;23622:761::-;24046:23;24072:69;24100:4;24072:69;;;;;;;;;;;;;;;;;24080:5;-1:-1:-1;;;;;24072:27:0;;;:69;;;;;:::i;:::-;24156:17;;24046:95;;-1:-1:-1;24156:21:0;24152:224;;24298:10;24287:30;;;;;;;;;;;;;;;-1:-1:-1;24287:30:0;24279:85;;;;-1:-1:-1;;;24279:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16417:195;16520:12;16552:52;16574:6;16582:4;16588:1;16591:12;16552:21;:52::i;:::-;16545:59;16417:195;-1:-1:-1;;;;16417:195:0:o;17469:530::-;17596:12;17654:5;17629:21;:30;;17621:81;;;;-1:-1:-1;;;17621:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17721:18;17732:6;17721:10;:18::i;:::-;17713:60;;;;;-1:-1:-1;;;17713:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17847:12;17861:23;17888:6;-1:-1:-1;;;;;17888:11:0;17908:5;17916:4;17888:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17888:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17846:75;;;;17939:52;17957:7;17966:10;17978:12;17939:17;:52::i;:::-;17932:59;17469:530;-1:-1:-1;;;;;;;17469:530:0:o;13499:422::-;13866:20;13905:8;;;13499:422::o;20009:742::-;20124:12;20153:7;20149:595;;;-1:-1:-1;20184:10:0;20177:17;;20149:595;20298:17;;:21;20294:439;;20561:10;20555:17;20622:15;20609:10;20605:2;20601:19;20594:44;20509:148;20704:12;20697:20;;-1:-1:-1;;;20697:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://c40c14ea957b7b5ff51a15d6baa80b178285f132a6989469675f1ac358bb089b

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

VoterProxy whitelisted in the curve SmartWalletWhitelist that participates in Curve governance. Also handles all deposits since this is the address that has the voting power.

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

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.