ETH Price: $2,635.02 (+1.29%)

Token

unagii_Wrapped BTC (uWBTC)
 

Overview

Max Total Supply

0.10251042 uWBTC

Holders

2 (0.00%)

Market

Price

$67,429.00 @ 25.589569 ETH (+3.89%)

Onchain Market Cap

$6,912.18

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 8 Decimals)

Balance
0 uWBTC

Value
$0.00
0x8ad4810b0ec62d78627c65b1ef19495e4204b7ee
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The automated DeFi yield platform with staking services. All the convenience and none of the hassles for smarter access to DeFi yields.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ERC20Vault

Compiler Version
v0.6.11+commit.5ef660b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license, Audited

Contract Source Code (Solidity)Audit Report

/**
 *Submitted for verification at Etherscan.io on 2021-03-11
*/

// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.6.11;

// File: @openzeppelin/contracts/math/SafeMath.sol

/**
 * @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(uint a, uint b) internal pure returns (bool, uint) {
        uint 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(uint a, uint b) internal pure returns (bool, uint) {
        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(uint a, uint b) internal pure returns (bool, uint) {
        // 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);
        uint 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(uint a, uint b) internal pure returns (bool, uint) {
        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(uint a, uint b) internal pure returns (bool, uint) {
        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(uint a, uint b) internal pure returns (uint) {
        uint 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(uint a, uint b) internal pure returns (uint) {
        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(uint a, uint b) internal pure returns (uint) {
        if (a == 0) return 0;
        uint 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(uint a, uint b) internal pure returns (uint) {
        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(uint a, uint b) internal pure returns (uint) {
        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(
        uint a,
        uint b,
        string memory errorMessage
    ) internal pure returns (uint) {
        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(
        uint a,
        uint b,
        string memory errorMessage
    ) internal pure returns (uint) {
        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(
        uint a,
        uint b,
        string memory errorMessage
    ) internal pure returns (uint) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint private constant _NOT_ENTERED = 1;
    uint private constant _ENTERED = 2;

    uint private _status;

    constructor() internal {
        _status = _NOT_ENTERED;
    }

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

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

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

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

    /**
     * @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, uint 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 (uint);

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

// File: @openzeppelin/contracts/utils/Address.sol

/**
 * @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.

        uint 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, uint 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,
        uint 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,
        uint 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);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol

/**
 * @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 uint;
    using Address for address;

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

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint 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,
        uint 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,
        uint value
    ) internal {
        uint newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.approve.selector, spender, newAllowance)
        );
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint value
    ) internal {
        uint 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"
            );
        }
    }
}

// File: @openzeppelin/contracts/utils/Context.sol

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint;

    mapping(address => uint) private _balances;

    mapping(address => mapping(address => uint)) private _allowances;

    uint private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint amount)
        public
        virtual
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender)
        public
        view
        virtual
        override
        returns (uint)
    {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint amount)
        public
        virtual
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint addedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint subtractedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(
            amount,
            "ERC20: transfer amount exceeds balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(
            amount,
            "ERC20: burn amount exceeds balance"
        );
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint amount
    ) internal virtual {}
}

// File: contracts/protocol/IStrategy.sol

/*
version 1.2.0

Changes

Changes listed here do not affect interaction with other contracts (Vault and Controller)
- removed function assets(address _token) external view returns (bool);
- remove function deposit(uint), declared in IStrategyERC20
- add function setSlippage(uint _slippage);
- add function setDelta(uint _delta);
*/

interface IStrategy {
    function admin() external view returns (address);

    function controller() external view returns (address);

    function vault() external view returns (address);

    /*
    @notice Returns address of underlying asset (ETH or ERC20)
    @dev Must return 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for ETH strategy
    */
    function underlying() external view returns (address);

    /*
    @notice Returns total amount of underlying transferred from vault
    */
    function totalDebt() external view returns (uint);

    function performanceFee() external view returns (uint);

    function slippage() external view returns (uint);

    /* 
    @notice Multiplier used to check total underlying <= total debt * delta / DELTA_MIN
    */
    function delta() external view returns (uint);

    /*
    @dev Flag to force exit in case normal exit fails
    */
    function forceExit() external view returns (bool);

    function setAdmin(address _admin) external;

    function setController(address _controller) external;

    function setPerformanceFee(uint _fee) external;

    function setSlippage(uint _slippage) external;

    function setDelta(uint _delta) external;

    function setForceExit(bool _forceExit) external;

    /*
    @notice Returns amount of underlying asset locked in this contract
    @dev Output may vary depending on price of liquidity provider token
         where the underlying asset is invested
    */
    function totalAssets() external view returns (uint);

    /*
    @notice Withdraw `_amount` underlying asset
    @param amount Amount of underlying asset to withdraw
    */
    function withdraw(uint _amount) external;

    /*
    @notice Withdraw all underlying asset from strategy
    */
    function withdrawAll() external;

    /*
    @notice Sell any staking rewards for underlying and then deposit undelying
    */
    function harvest() external;

    /*
    @notice Increase total debt if profit > 0 and total assets <= max,
            otherwise transfers profit to vault.
    @dev Guard against manipulation of external price feed by checking that
         total assets is below factor of total debt
    */
    function skim() external;

    /*
    @notice Exit from strategy
    @dev Must transfer all underlying tokens back to vault
    */
    function exit() external;

    /*
    @notice Transfer token accidentally sent here to admin
    @param _token Address of token to transfer
    @dev _token must not be equal to underlying token
    */
    function sweep(address _token) external;
}

// File: contracts/protocol/IStrategyERC20.sol

interface IStrategyERC20 is IStrategy {
    /*
    @notice Deposit `amount` underlying ERC20 token
    @param amount Amount of underlying ERC20 token to deposit
    */
    function deposit(uint _amount) external;
}

// File: contracts/protocol/IVault.sol

/*
version 1.2.0

Changes
- function deposit(uint) declared in IERC20Vault
*/

interface IVault {
    function admin() external view returns (address);

    function controller() external view returns (address);

    function timeLock() external view returns (address);

    /*
    @notice For EthVault, must return 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
    */
    function token() external view returns (address);

    function strategy() external view returns (address);

    function strategies(address _strategy) external view returns (bool);

    function reserveMin() external view returns (uint);

    function withdrawFee() external view returns (uint);

    function paused() external view returns (bool);

    function whitelist(address _addr) external view returns (bool);

    function setWhitelist(address _addr, bool _approve) external;

    function setAdmin(address _admin) external;

    function setController(address _controller) external;

    function setTimeLock(address _timeLock) external;

    function setPause(bool _paused) external;

    function setReserveMin(uint _reserveMin) external;

    function setWithdrawFee(uint _fee) external;

    /*
    @notice Returns the amount of asset (ETH or ERC20) in the vault
    */
    function balanceInVault() external view returns (uint);

    /*
    @notice Returns the estimate amount of asset in strategy
    @dev Output may vary depending on price of liquidity provider token
         where the underlying asset is invested
    */
    function balanceInStrategy() external view returns (uint);

    /*
    @notice Returns amount of tokens invested strategy
    */
    function totalDebtInStrategy() external view returns (uint);

    /*
    @notice Returns the total amount of asset in vault + total debt
    */
    function totalAssets() external view returns (uint);

    /*
    @notice Returns minimum amount of tokens that should be kept in vault for
            cheap withdraw
    @return Reserve amount
    */
    function minReserve() external view returns (uint);

    /*
    @notice Returns the amount of tokens available to be invested
    */
    function availableToInvest() external view returns (uint);

    /*
    @notice Approve strategy
    @param _strategy Address of strategy
    */
    function approveStrategy(address _strategy) external;

    /*
    @notice Revoke strategy
    @param _strategy Address of strategy
    */
    function revokeStrategy(address _strategy) external;

    /*
    @notice Set strategy
    @param _min Minimum undelying asset current strategy must return. Prevents slippage
    */
    function setStrategy(address _strategy, uint _min) external;

    /*
    @notice Transfers asset in vault to strategy
    */
    function invest() external;

    /*
    @notice Calculate amount of asset that can be withdrawn
    @param _shares Amount of shares
    @return Amount of asset that can be withdrawn
    */
    function getExpectedReturn(uint _shares) external view returns (uint);

    /*
    @notice Withdraw asset
    @param _shares Amount of shares to burn
    @param _min Minimum amount of asset expected to return
    */
    function withdraw(uint _shares, uint _min) external;

    /*
    @notice Transfer asset in vault to admin
    @param _token Address of asset to transfer
    @dev _token must not be equal to vault asset
    */
    function sweep(address _token) external;
}

// File: contracts/protocol/IERC20Vault.sol

interface IERC20Vault is IVault {
    /*
    @notice Deposit undelying token into this vault
    @param _amount Amount of token to deposit
    */
    function deposit(uint _amount) external;
}

// File: contracts/protocol/IController.sol

interface IController {
    function ADMIN_ROLE() external view returns (bytes32);

    function HARVESTER_ROLE() external view returns (bytes32);

    function admin() external view returns (address);

    function treasury() external view returns (address);

    function setAdmin(address _admin) external;

    function setTreasury(address _treasury) external;

    function grantRole(bytes32 _role, address _addr) external;

    function revokeRole(bytes32 _role, address _addr) external;

    /*
    @notice Set strategy for vault
    @param _vault Address of vault
    @param _strategy Address of strategy
    @param _min Minimum undelying token current strategy must return. Prevents slippage
    */
    function setStrategy(
        address _vault,
        address _strategy,
        uint _min
    ) external;

    // calls to strategy
    /*
    @notice Invest token in vault into strategy
    @param _vault Address of vault
    */
    function invest(address _vault) external;

    function harvest(address _strategy) external;

    function skim(address _strategy) external;

    /*
    @notice Withdraw from strategy to vault
    @param _strategy Address of strategy
    @param _amount Amount of underlying token to withdraw
    @param _min Minimum amount of underlying token to withdraw
    */
    function withdraw(
        address _strategy,
        uint _amount,
        uint _min
    ) external;

    /*
    @notice Withdraw all from strategy to vault
    @param _strategy Address of strategy
    @param _min Minimum amount of underlying token to withdraw
    */
    function withdrawAll(address _strategy, uint _min) external;

    /*
    @notice Exit from strategy
    @param _strategy Address of strategy
    @param _min Minimum amount of underlying token to withdraw
    */
    function exit(address _strategy, uint _min) external;
}

// File: contracts/ERC20Vault.sol

/*
version 1.2.0
- renamed from Vault to ERC20Vault
- switch interface IVault to IERC20Vault
- switch interface IStrategy to IStrategyERC20

@dev Code logic has not changed since version 1.1.0
*/

contract ERC20Vault is IERC20Vault, ERC20, ReentrancyGuard {
    using SafeERC20 for IERC20;
    using SafeMath for uint;

    event SetStrategy(address strategy);
    event ApproveStrategy(address strategy);
    event RevokeStrategy(address strategy);
    event SetWhitelist(address addr, bool approved);

    address public override admin;
    address public override controller;
    address public override timeLock;
    address public immutable override token;
    address public override strategy;

    // mapping of approved strategies
    mapping(address => bool) public override strategies;

    // percentange of token reserved in vault for cheap withdraw
    uint public override reserveMin = 500;
    uint private constant RESERVE_MAX = 10000;

    // Denominator used to calculate fees
    uint private constant FEE_MAX = 10000;

    uint public override withdrawFee;
    uint private constant WITHDRAW_FEE_CAP = 500; // upper limit to withdrawFee

    bool public override paused;

    // whitelisted addresses
    // used to prevent flash loah attacks
    mapping(address => bool) public override whitelist;

    /*
    @dev vault decimals must be equal to token decimals
    */
    constructor(
        address _controller,
        address _timeLock,
        address _token
    )
        public
        ERC20(
            string(abi.encodePacked("unagii_", ERC20(_token).name())),
            string(abi.encodePacked("u", ERC20(_token).symbol()))
        )
    {
        require(_controller != address(0), "controller = zero address");
        require(_timeLock != address(0), "time lock = zero address");

        _setupDecimals(ERC20(_token).decimals());

        admin = msg.sender;
        controller = _controller;
        token = _token;
        timeLock = _timeLock;
    }

    modifier onlyAdmin() {
        require(msg.sender == admin, "!admin");
        _;
    }

    modifier onlyTimeLock() {
        require(msg.sender == timeLock, "!time lock");
        _;
    }

    modifier onlyAdminOrController() {
        require(msg.sender == admin || msg.sender == controller, "!authorized");
        _;
    }

    modifier whenStrategyDefined() {
        require(strategy != address(0), "strategy = zero address");
        _;
    }

    modifier whenNotPaused() {
        require(!paused, "paused");
        _;
    }

    /*
    @dev modifier to prevent flash loan
    @dev caller is restricted to EOA or whitelisted contract
    @dev Warning: Users can have their funds stuck if shares is transferred to a contract
    */
    modifier guard() {
        require((msg.sender == tx.origin) || whitelist[msg.sender], "!whitelist");
        _;
    }

    function setAdmin(address _admin) external override onlyAdmin {
        require(_admin != address(0), "admin = zero address");
        admin = _admin;
    }

    function setController(address _controller) external override onlyAdmin {
        require(_controller != address(0), "controller = zero address");
        controller = _controller;
    }

    function setTimeLock(address _timeLock) external override onlyTimeLock {
        require(_timeLock != address(0), "time lock = zero address");
        timeLock = _timeLock;
    }

    function setPause(bool _paused) external override onlyAdmin {
        paused = _paused;
    }

    function setWhitelist(address _addr, bool _approve) external override onlyAdmin {
        whitelist[_addr] = _approve;
        emit SetWhitelist(_addr, _approve);
    }

    function setReserveMin(uint _reserveMin) external override onlyAdmin {
        require(_reserveMin <= RESERVE_MAX, "reserve min > max");
        reserveMin = _reserveMin;
    }

    function setWithdrawFee(uint _fee) external override onlyAdmin {
        require(_fee <= WITHDRAW_FEE_CAP, "withdraw fee > cap");
        withdrawFee = _fee;
    }

    function _balanceInVault() private view returns (uint) {
        return IERC20(token).balanceOf(address(this));
    }

    /*
    @notice Returns balance of tokens in vault
    @return Amount of token in vault
    */
    function balanceInVault() external view override returns (uint) {
        return _balanceInVault();
    }

    function _balanceInStrategy() private view returns (uint) {
        if (strategy == address(0)) {
            return 0;
        }

        return IStrategyERC20(strategy).totalAssets();
    }

    /*
    @notice Returns the estimate amount of token in strategy
    @dev Output may vary depending on price of liquidity provider token
         where the underlying token is invested
    */
    function balanceInStrategy() external view override returns (uint) {
        return _balanceInStrategy();
    }

    function _totalDebtInStrategy() private view returns (uint) {
        if (strategy == address(0)) {
            return 0;
        }
        return IStrategyERC20(strategy).totalDebt();
    }

    /*
    @notice Returns amount of tokens invested strategy
    */
    function totalDebtInStrategy() external view override returns (uint) {
        return _totalDebtInStrategy();
    }

    function _totalAssets() private view returns (uint) {
        return _balanceInVault().add(_totalDebtInStrategy());
    }

    /*
    @notice Returns the total amount of tokens in vault + total debt
    @return Total amount of tokens in vault + total debt
    */
    function totalAssets() external view override returns (uint) {
        return _totalAssets();
    }

    function _minReserve() private view returns (uint) {
        return _totalAssets().mul(reserveMin) / RESERVE_MAX;
    }

    /*
    @notice Returns minimum amount of tokens that should be kept in vault for
            cheap withdraw
    @return Reserve amount
    */
    function minReserve() external view override returns (uint) {
        return _minReserve();
    }

    function _availableToInvest() private view returns (uint) {
        if (strategy == address(0)) {
            return 0;
        }

        uint balInVault = _balanceInVault();
        uint reserve = _minReserve();

        if (balInVault <= reserve) {
            return 0;
        }

        return balInVault - reserve;
    }

    /*
    @notice Returns amount of token available to be invested into strategy
    @return Amount of token available to be invested into strategy
    */
    function availableToInvest() external view override returns (uint) {
        return _availableToInvest();
    }

    /*
    @notice Approve strategy
    @param _strategy Address of strategy to revoke
    */
    function approveStrategy(address _strategy) external override onlyTimeLock {
        require(_strategy != address(0), "strategy = zero address");
        strategies[_strategy] = true;

        emit ApproveStrategy(_strategy);
    }

    /*
    @notice Revoke strategy
    @param _strategy Address of strategy to revoke
    */
    function revokeStrategy(address _strategy) external override onlyAdmin {
        require(_strategy != address(0), "strategy = zero address");
        strategies[_strategy] = false;

        emit RevokeStrategy(_strategy);
    }

    /*
    @notice Set strategy to approved strategy
    @param _strategy Address of strategy used
    @param _min Minimum undelying token current strategy must return. Prevents slippage
    */
    function setStrategy(address _strategy, uint _min)
        external
        override
        onlyAdminOrController
    {
        require(strategies[_strategy], "!approved");
        require(_strategy != strategy, "new strategy = current strategy");
        require(
            IStrategyERC20(_strategy).underlying() == token,
            "strategy.token != vault.token"
        );
        require(
            IStrategyERC20(_strategy).vault() == address(this),
            "strategy.vault != vault"
        );

        // withdraw from current strategy
        if (strategy != address(0)) {
            IERC20(token).safeApprove(strategy, 0);

            uint balBefore = _balanceInVault();
            IStrategyERC20(strategy).exit();
            uint balAfter = _balanceInVault();

            require(balAfter.sub(balBefore) >= _min, "withdraw < min");
        }

        strategy = _strategy;

        emit SetStrategy(strategy);
    }

    /*
    @notice Invest token from vault into strategy.
            Some token are kept in vault for cheap withdraw.
    */
    function invest()
        external
        override
        whenStrategyDefined
        whenNotPaused
        onlyAdminOrController
    {
        uint amount = _availableToInvest();
        require(amount > 0, "available = 0");

        IERC20(token).safeApprove(strategy, 0);
        IERC20(token).safeApprove(strategy, amount);

        IStrategyERC20(strategy).deposit(amount);

        IERC20(token).safeApprove(strategy, 0);
    }

    /*
    @notice Deposit token into vault
    @param _amount Amount of token to transfer from `msg.sender`
    */
    function deposit(uint _amount) external override whenNotPaused nonReentrant guard {
        require(_amount > 0, "amount = 0");

        uint totalUnderlying = _totalAssets();
        uint totalShares = totalSupply();

        /*
        s = shares to mint
        T = total shares before mint
        d = deposit amount
        A = total assets in vault + strategy before deposit

        s / (T + s) = d / (A + d)
        s = d / A * T
        */
        uint shares;
        if (totalShares == 0) {
            shares = _amount;
        } else {
            shares = _amount.mul(totalShares).div(totalUnderlying);
        }

        _mint(msg.sender, shares);
        IERC20(token).safeTransferFrom(msg.sender, address(this), _amount);
    }

    function _getExpectedReturn(
        uint _shares,
        uint _balInVault,
        uint _balInStrat
    ) private view returns (uint) {
        /*
        s = shares
        T = total supply of shares
        w = amount of underlying token to withdraw
        U = total amount of redeemable underlying token in vault + strategy

        s / T = w / U
        w = s / T * U
        */

        /*
        total underlying = bal in vault + min(total debt, bal in strat)
        if bal in strat > total debt, redeemable = total debt
        else redeemable = bal in strat
        */
        uint totalDebt = _totalDebtInStrategy();
        uint totalUnderlying;
        if (_balInStrat > totalDebt) {
            totalUnderlying = _balInVault.add(totalDebt);
        } else {
            totalUnderlying = _balInVault.add(_balInStrat);
        }

        uint totalShares = totalSupply();
        if (totalShares > 0) {
            return _shares.mul(totalUnderlying) / totalShares;
        }
        return 0;
    }

    /*
    @notice Calculate amount of underlying token that can be withdrawn
    @param _shares Amount of shares
    @return Amount of underlying token that can be withdrawn
    */
    function getExpectedReturn(uint _shares) external view override returns (uint) {
        uint balInVault = _balanceInVault();
        uint balInStrat = _balanceInStrategy();

        return _getExpectedReturn(_shares, balInVault, balInStrat);
    }

    /*
    @notice Withdraw underlying token
    @param _shares Amount of shares to burn
    @param _min Minimum amount of underlying token to return
    @dev Keep `guard` modifier, else attacker can deposit and then use smart
         contract to attack from withdraw
    */
    function withdraw(uint _shares, uint _min) external override nonReentrant guard {
        require(_shares > 0, "shares = 0");

        uint balInVault = _balanceInVault();
        uint balInStrat = _balanceInStrategy();
        uint withdrawAmount = _getExpectedReturn(_shares, balInVault, balInStrat);

        // Must burn after calculating withdraw amount
        _burn(msg.sender, _shares);

        if (balInVault < withdrawAmount) {
            // maximize withdraw amount from strategy
            uint amountFromStrat = withdrawAmount;
            if (balInStrat < withdrawAmount) {
                amountFromStrat = balInStrat;
            }

            IStrategyERC20(strategy).withdraw(amountFromStrat);

            uint balAfter = _balanceInVault();
            uint diff = balAfter.sub(balInVault);

            if (diff < amountFromStrat) {
                // withdraw amount - withdraw amount from strat = amount to withdraw from vault
                // diff = actual amount returned from strategy
                // NOTE: withdrawAmount >= amountFromStrat
                withdrawAmount = (withdrawAmount - amountFromStrat).add(diff);
            }

            // transfer to treasury
            uint fee = withdrawAmount.mul(withdrawFee) / FEE_MAX;
            if (fee > 0) {
                address treasury = IController(controller).treasury();
                require(treasury != address(0), "treasury = zero address");

                withdrawAmount = withdrawAmount - fee;
                IERC20(token).safeTransfer(treasury, fee);
            }
        }

        require(withdrawAmount >= _min, "withdraw < min");

        IERC20(token).safeTransfer(msg.sender, withdrawAmount);
    }

    /*
    @notice Transfer token != underlying token in vault to admin
    @param _token Address of token to transfer
    @dev Must transfer token to admin
    @dev _token must not be equal to underlying token
    @dev Used to transfer token that was accidentally sent to this vault
    */
    function sweep(address _token) external override onlyAdmin {
        require(_token != token, "token = vault.token");
        IERC20(_token).safeTransfer(admin, IERC20(_token).balanceOf(address(this)));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_controller","type":"address"},{"internalType":"address","name":"_timeLock","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"strategy","type":"address"}],"name":"ApproveStrategy","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"strategy","type":"address"}],"name":"RevokeStrategy","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"strategy","type":"address"}],"name":"SetStrategy","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"SetWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategy","type":"address"}],"name":"approveStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableToInvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceInStrategy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceInVault","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"getExpectedReturn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"invest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserveMin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_strategy","type":"address"}],"name":"revokeStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reserveMin","type":"uint256"}],"name":"setReserveMin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"uint256","name":"_min","type":"uint256"}],"name":"setStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_timeLock","type":"address"}],"name":"setTimeLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bool","name":"_approve","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setWithdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"strategies","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeLock","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDebtInStrategy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"},{"internalType":"uint256","name":"_min","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a06040526101f4600c553480156200001757600080fd5b506040516200348e3803806200348e833981810160405260608110156200003d57600080fd5b508051602082015160409283015183516306fdde0360e01b815293519293919290916001600160a01b038316916306fdde0391600480820192600092909190829003018186803b1580156200009157600080fd5b505afa158015620000a6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015620000d057600080fd5b8101908080516040519392919084640100000000821115620000f157600080fd5b9083019060208201858111156200010757600080fd5b82516401000000008111828201881017156200012257600080fd5b82525081516020918201929091019080838360005b838110156200015157818101518382015260200162000137565b50505050905090810190601f1680156200017f5780820380516001836020036101000a031916815260200191505b50604052505050604051602001808066756e616769695f60c81b81525060070182805190602001908083835b60208310620001cc5780518252601f199092019160209182019101620001ab565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052816001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156200023a57600080fd5b505afa1580156200024f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156200027957600080fd5b81019080805160405193929190846401000000008211156200029a57600080fd5b908301906020820185811115620002b057600080fd5b8251640100000000811182820188101715620002cb57600080fd5b82525081516020918201929091019080838360005b83811015620002fa578181015183820152602001620002e0565b50505050905090810190601f168015620003285780820380516001836020036101000a031916815260200191505b506040525050506040516020018080607560f81b81525060010182805190602001908083835b602083106200036f5780518252601f1990920191602091820191016200034e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040528160039080519060200190620003bb9291906200057f565b508051620003d19060049060208401906200057f565b50506005805460ff191660121790555060016006556001600160a01b03831662000442576040805162461bcd60e51b815260206004820152601960248201527f636f6e74726f6c6c6572203d207a65726f206164647265737300000000000000604482015290519081900360640190fd5b6001600160a01b0382166200049e576040805162461bcd60e51b815260206004820152601860248201527f74696d65206c6f636b203d207a65726f20616464726573730000000000000000604482015290519081900360640190fd5b62000519816001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015620004dc57600080fd5b505afa158015620004f1573d6000803e3d6000fd5b505050506040513d60208110156200050857600080fd5b50516001600160e01b036200056916565b60078054336001600160a01b0319918216179091556008805482166001600160a01b0395861617905560609190911b6001600160601b031916608052600980549091169190921617905562000624565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620005c257805160ff1916838001178555620005f2565b82800160010185558215620005f2579182015b82811115620005f2578251825591602001919060010190620005d5565b506200060092915062000604565b5090565b6200062191905b808211156200060057600081556001016200060b565b90565b60805160601c612e1a620006746000398061078e5280610e635280610eea528061104352806112175280611ab55280611dd45280611e0f5280611ead5280611efe528061232f5250612e1a6000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c80637373bc5a11610146578063b6ac642a116100c3578063dd62ed3e11610087578063dd62ed3e146106ee578063e8b5e51f1461071c578063e941fa7814610724578063f77c47911461072c578063f851a44014610734578063fc0c546a1461073c5761025e565b8063b6ac642a14610667578063b6b55f2514610684578063bb994d48146106a1578063bedb86fb146106c7578063d085835a146106e65761025e565b80639b19251a1161010a5780639b19251a146105bd5780639c8234b3146105e3578063a457c2d7146105eb578063a8c62e7614610617578063a9059cbb1461063b5761025e565b80637373bc5a14610544578063891682d21461054c57806392eefe9b1461057257806395d89b4114610598578063965c0f28146105a05761025e565b806339ebf823116101df578063596252fc116101a3578063596252fc146104c357806359c077d7146104cb5780635c975abb146104e85780636cb64d8f146104f0578063704b6c02146104f857806370a082311461051e5761025e565b806339ebf823146103fa5780633b8ae39714610420578063441a3e701461044657806345d34def1461046957806353d6fd59146104955761025e565b80631b4a2001116102265780631b4a20011461036a578063232870211461037257806323b872dd1461037a578063313ce567146103b057806339509351146103ce5761025e565b806301681a621461026357806301e1d1141461028b57806306fdde03146102a5578063095ea7b31461032257806318160ddd14610362575b600080fd5b6102896004803603602081101561027957600080fd5b50356001600160a01b0316610744565b005b6102936108a2565b60408051918252519081900360200190f35b6102ad6108b2565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e75781810151838201526020016102cf565b50505050905090810190601f1680156103145780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61034e6004803603604081101561033857600080fd5b506001600160a01b038135169060200135610948565b604080519115158252519081900360200190f35b610293610966565b61029361096c565b610293610976565b61034e6004803603606081101561039057600080fd5b506001600160a01b0381358116916020810135909116906040013561097c565b6103b8610a0a565b6040805160ff9092168252519081900360200190f35b61034e600480360360408110156103e457600080fd5b506001600160a01b038135169060200135610a13565b61034e6004803603602081101561041057600080fd5b50356001600160a01b0316610a67565b6102896004803603602081101561043657600080fd5b50356001600160a01b0316610a7c565b6102896004803603604081101561045c57600080fd5b5080359060200135610b78565b6102896004803603604081101561047f57600080fd5b506001600160a01b038135169060200135610f23565b610289600480360360408110156104ab57600080fd5b506001600160a01b0381351690602001351515611374565b610293611420565b610289600480360360208110156104e157600080fd5b503561142a565b61034e6114c2565b6102936114cb565b6102896004803603602081101561050e57600080fd5b50356001600160a01b03166114d5565b6102936004803603602081101561053457600080fd5b50356001600160a01b0316611591565b6102936115ac565b6102896004803603602081101561056257600080fd5b50356001600160a01b03166115b6565b6102896004803603602081101561058857600080fd5b50356001600160a01b031661167f565b6102ad611744565b610293600480360360208110156105b657600080fd5b50356117a5565b61034e600480360360208110156105d357600080fd5b50356001600160a01b03166117d1565b6102936117e6565b61034e6004803603604081101561060157600080fd5b506001600160a01b0381351690602001356117f0565b61061f61185e565b604080516001600160a01b039092168252519081900360200190f35b61034e6004803603604081101561065157600080fd5b506001600160a01b03813516906020013561186d565b6102896004803603602081101561067d57600080fd5b5035611881565b6102896004803603602081101561069a57600080fd5b503561191a565b610289600480360360208110156106b757600080fd5b50356001600160a01b0316611aee565b610289600480360360208110156106dd57600080fd5b50351515611be3565b61061f611c3e565b6102936004803603604081101561070457600080fd5b506001600160a01b0381358116916020013516611c4d565b610289611c78565b610293611ed8565b61061f611ede565b61061f611eed565b61061f611efc565b6007546001600160a01b0316331461078c576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161415610809576040805162461bcd60e51b81526020600482015260136024820152723a37b5b2b7101e903b30bab63a173a37b5b2b760691b604482015290519081900360640190fd5b600754604080516370a0823160e01b8152306004820152905161089f926001600160a01b0390811692908516916370a0823191602480820192602092909190829003018186803b15801561085c57600080fd5b505afa158015610870573d6000803e3d6000fd5b505050506040513d602081101561088657600080fd5b50516001600160a01b038416919063ffffffff611f2016565b50565b60006108ac611f77565b90505b90565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561093e5780601f106109135761010080835404028352916020019161093e565b820191906000526020600020905b81548152906001019060200180831161092157829003601f168201915b5050505050905090565b600061095c610955611f98565b8484611f9c565b5060015b92915050565b60025490565b60006108ac612088565b600c5481565b60006109898484846120b4565b6109ff84610995611f98565b6109fa85604051806060016040528060288152602001612cce602891396001600160a01b038a166000908152600160205260408120906109d3611f98565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61221b16565b611f9c565b5060015b9392505050565b60055460ff1690565b600061095c610a20611f98565b846109fa8560016000610a31611f98565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6122b216565b600b6020526000908152604090205460ff1681565b6009546001600160a01b03163314610ac8576040805162461bcd60e51b815260206004820152600a6024820152692174696d65206c6f636b60b01b604482015290519081900360640190fd5b6001600160a01b038116610b1d576040805162461bcd60e51b81526020600482015260176024820152767374726174656779203d207a65726f206164647265737360481b604482015290519081900360640190fd5b6001600160a01b0381166000818152600b6020908152604091829020805460ff19166001179055815192835290517f4c6d0fbb89373829bc56000a87d561331bca06f725fd8861d055215ed90f209b9281900390910190a150565b60026006541415610bd0576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260065533321480610bf25750336000908152600f602052604090205460ff165b610c30576040805162461bcd60e51b815260206004820152600a602482015269085dda1a5d195b1a5cdd60b21b604482015290519081900360640190fd5b60008211610c72576040805162461bcd60e51b815260206004820152600a6024820152690736861726573203d20360b41b604482015290519081900360640190fd5b6000610c7c61230c565b90506000610c886123a7565b90506000610c97858484612410565b9050610ca33386612493565b80831015610e97578080831015610cb75750815b600a5460408051632e1a7d4d60e01b81526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b158015610d0457600080fd5b505af1158015610d18573d6000803e3d6000fd5b505050506000610d2661230c565b90506000610d3a828763ffffffff61259b16565b905082811015610d5957610d568385038263ffffffff6122b216565b93505b6000612710610d73600d54876125f890919063ffffffff16565b81610d7a57fe5b0490508015610e9257600854604080516361d027b360e01b815290516000926001600160a01b0316916361d027b3916004808301926020929190829003018186803b158015610dc857600080fd5b505afa158015610ddc573d6000803e3d6000fd5b505050506040513d6020811015610df257600080fd5b505190506001600160a01b038116610e51576040805162461bcd60e51b815260206004820152601760248201527f7472656173757279203d207a65726f2061646472657373000000000000000000604482015290519081900360640190fd5b9481900394610e906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016828463ffffffff611f2016565b505b505050505b83811015610edd576040805162461bcd60e51b815260206004820152600e60248201526d3bb4ba34323930bb901e1036b4b760911b604482015290519081900360640190fd5b610f176001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016338363ffffffff611f2016565b50506001600655505050565b6007546001600160a01b0316331480610f4657506008546001600160a01b031633145b610f85576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b6001600160a01b0382166000908152600b602052604090205460ff16610fde576040805162461bcd60e51b815260206004820152600960248201526808585c1c1c9bdd995960ba1b604482015290519081900360640190fd5b600a546001600160a01b0383811691161415611041576040805162461bcd60e51b815260206004820152601f60248201527f6e6577207374726174656779203d2063757272656e7420737472617465677900604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a457600080fd5b505afa1580156110b8573d6000803e3d6000fd5b505050506040513d60208110156110ce57600080fd5b50516001600160a01b03161461112b576040805162461bcd60e51b815260206004820152601d60248201527f73747261746567792e746f6b656e20213d207661756c742e746f6b656e000000604482015290519081900360640190fd5b306001600160a01b0316826001600160a01b031663fbfa77cf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561116e57600080fd5b505afa158015611182573d6000803e3d6000fd5b505050506040513d602081101561119857600080fd5b50516001600160a01b0316146111f5576040805162461bcd60e51b815260206004820152601760248201527f73747261746567792e7661756c7420213d207661756c74000000000000000000604482015290519081900360640190fd5b600a546001600160a01b03161561131957600a54611241906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811691166000612651565b600061124b61230c565b9050600a60009054906101000a90046001600160a01b03166001600160a01b031663e9fad8ee6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561129d57600080fd5b505af11580156112b1573d6000803e3d6000fd5b5050505060006112bf61230c565b9050826112d2828463ffffffff61259b16565b1015611316576040805162461bcd60e51b815260206004820152600e60248201526d3bb4ba34323930bb901e1036b4b760911b604482015290519081900360640190fd5b50505b600a80546001600160a01b0319166001600160a01b03848116919091179182905560408051929091168252517f3412691e1ea2503d6eec15597247048016213c19646b73d4320a20c790b67ee2916020908290030190a15050565b6007546001600160a01b031633146113bc576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915582519384529083015280517ff6019ec0a78d156d249a1ec7579e2321f6ac7521d6e1d2eacf90ba4a184dcceb9281900390910190a15050565b60006108ac61230c565b6007546001600160a01b03163314611472576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6127108111156114bd576040805162461bcd60e51b81526020600482015260116024820152700e4cae6cae4ecca40dad2dc407c40dac2f607b1b604482015290519081900360640190fd5b600c55565b600e5460ff1681565b60006108ac612764565b6007546001600160a01b0316331461151d576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b03811661156f576040805162461bcd60e51b815260206004820152601460248201527361646d696e203d207a65726f206164647265737360601b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526020819052604090205490565b60006108ac6123a7565b6009546001600160a01b03163314611602576040805162461bcd60e51b815260206004820152600a6024820152692174696d65206c6f636b60b01b604482015290519081900360640190fd5b6001600160a01b03811661165d576040805162461bcd60e51b815260206004820152601860248201527f74696d65206c6f636b203d207a65726f20616464726573730000000000000000604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633146116c7576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b038116611722576040805162461bcd60e51b815260206004820152601960248201527f636f6e74726f6c6c6572203d207a65726f206164647265737300000000000000604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561093e5780601f106109135761010080835404028352916020019161093e565b6000806117b061230c565b905060006117bc6123a7565b90506117c9848383612410565b949350505050565b600f6020526000908152604090205460ff1681565b60006108ac6127cd565b600061095c6117fd611f98565b846109fa85604051806060016040528060258152602001612dc06025913960016000611827611f98565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61221b16565b600a546001600160a01b031681565b600061095c61187a611f98565b84846120b4565b6007546001600160a01b031633146118c9576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6101f4811115611915576040805162461bcd60e51b81526020600482015260126024820152710776974686472617720666565203e206361760741b604482015290519081900360640190fd5b600d55565b600e5460ff161561195b576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b600260065414156119b3576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655333214806119d55750336000908152600f602052604090205460ff165b611a13576040805162461bcd60e51b815260206004820152600a602482015269085dda1a5d195b1a5cdd60b21b604482015290519081900360640190fd5b60008111611a55576040805162461bcd60e51b815260206004820152600a6024820152690616d6f756e74203d20360b41b604482015290519081900360640190fd5b6000611a5f611f77565b90506000611a6b610966565b9050600081611a7b575082611a9e565b611a9b83611a8f868563ffffffff6125f816565b9063ffffffff61281916565b90505b611aa83382612880565b611ae36001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308763ffffffff61297c16565b505060016006555050565b6007546001600160a01b03163314611b36576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b038116611b8b576040805162461bcd60e51b81526020600482015260176024820152767374726174656779203d207a65726f206164647265737360481b604482015290519081900360640190fd5b6001600160a01b0381166000818152600b6020908152604091829020805460ff19169055815192835290517f7d3e35e217272b8400fec8397b08eb8c60c4db9ae834af14ac0fc9c0bb914a8f9281900390910190a150565b6007546001600160a01b03163314611c2b576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b600e805460ff1916911515919091179055565b6009546001600160a01b031681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a546001600160a01b0316611ccf576040805162461bcd60e51b81526020600482015260176024820152767374726174656779203d207a65726f206164647265737360481b604482015290519081900360640190fd5b600e5460ff1615611d10576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6007546001600160a01b0316331480611d3357506008546001600160a01b031633145b611d72576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b6000611d7c6127cd565b905060008111611dc3576040805162461bcd60e51b815260206004820152600d60248201526c0617661696c61626c65203d203609c1b604482015290519081900360640190fd5b600a54611dfe906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811691166000612651565b600a54611e38906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911683612651565b600a546040805163b6b55f2560e01b81526004810184905290516001600160a01b039092169163b6b55f259160248082019260009290919082900301818387803b158015611e8557600080fd5b505af1158015611e99573d6000803e3d6000fd5b5050600a5461089f92506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169250166000612651565b600d5481565b6008546001600160a01b031681565b6007546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611f729084906129dc565b505050565b60006108ac611f84612764565b611f8c61230c565b9063ffffffff6122b216565b3390565b6001600160a01b038316611fe15760405162461bcd60e51b8152600401808060200182810382526024815260200180612d3c6024913960400191505060405180910390fd5b6001600160a01b0382166120265760405162461bcd60e51b8152600401808060200182810382526022815260200180612c656022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006127106120a7600c5461209b611f77565b9063ffffffff6125f816565b816120ae57fe5b04905090565b6001600160a01b0383166120f95760405162461bcd60e51b8152600401808060200182810382526025815260200180612d176025913960400191505060405180910390fd5b6001600160a01b03821661213e5760405162461bcd60e51b8152600401808060200182810382526023815260200180612c206023913960400191505060405180910390fd5b612149838383611f72565b61218c81604051806060016040528060268152602001612c87602691396001600160a01b038616600090815260208190526040902054919063ffffffff61221b16565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546121c1908263ffffffff6122b216565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156122aa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561226f578181015183820152602001612257565b50505050905090810190601f16801561229c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610a03576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b15801561237657600080fd5b505afa15801561238a573d6000803e3d6000fd5b505050506040513d60208110156123a057600080fd5b5051905090565b600a546000906001600160a01b03166123c2575060006108af565b600a60009054906101000a90046001600160a01b03166001600160a01b03166301e1d1146040518163ffffffff1660e01b815260040160206040518083038186803b15801561237657600080fd5b60008061241b612764565b905060008184111561243e57612437858363ffffffff6122b216565b9050612451565b61244e858563ffffffff6122b216565b90505b600061245b610966565b905080156124865780612474888463ffffffff6125f816565b8161247b57fe5b049350505050610a03565b5060009695505050505050565b6001600160a01b0382166124d85760405162461bcd60e51b8152600401808060200182810382526021815260200180612cf66021913960400191505060405180910390fd5b6124e482600083611f72565b61252781604051806060016040528060228152602001612c43602291396001600160a01b038516600090815260208190526040902054919063ffffffff61221b16565b6001600160a01b038316600090815260208190526040902055600254612553908263ffffffff61259b16565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000828211156125f2576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261260757506000610960565b8282028284828161261457fe5b0414610a035760405162461bcd60e51b8152600401808060200182810382526021815260200180612cad6021913960400191505060405180910390fd5b8015806126d7575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156126a957600080fd5b505afa1580156126bd573d6000803e3d6000fd5b505050506040513d60208110156126d357600080fd5b5051155b6127125760405162461bcd60e51b8152600401808060200182810382526036815260200180612d8a6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611f729084906129dc565b600a546000906001600160a01b031661277f575060006108af565b600a60009054906101000a90046001600160a01b03166001600160a01b031663fc7b9c186040518163ffffffff1660e01b815260040160206040518083038186803b15801561237657600080fd5b600a546000906001600160a01b03166127e8575060006108af565b60006127f261230c565b905060006127fe612088565b9050808211612812576000925050506108af565b9003905090565b600080821161286f576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161287857fe5b049392505050565b6001600160a01b0382166128db576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6128e760008383611f72565b6002546128fa908263ffffffff6122b216565b6002556001600160a01b038216600090815260208190526040902054612926908263ffffffff6122b216565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526129d69085906129dc565b50505050565b6060612a31826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a8d9092919063ffffffff16565b805190915015611f7257808060200190516020811015612a5057600080fd5b5051611f725760405162461bcd60e51b815260040180806020018281038252602a815260200180612d60602a913960400191505060405180910390fd5b60606117c9848460008585612aa185612bb3565b612af2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612b315780518252601f199092019160209182019101612b12565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612b93576040519150601f19603f3d011682016040523d82523d6000602084013e612b98565b606091505b5091509150612ba8828286612bb9565b979650505050505050565b3b151590565b60608315612bc8575081610a03565b825115612bd85782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561226f57818101518382015260200161225756fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212200d10e94afc7405de3b9a440755cadc4ed50a2aaad27d75c4a8b47c76aed0ea2764736f6c634300060b00330000000000000000000000007d55c795359eb049ff482c8bd5e0523f0fb40b6f0000000000000000000000008dcb98361a49550593b57747ab2825983ef436620000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025e5760003560e01c80637373bc5a11610146578063b6ac642a116100c3578063dd62ed3e11610087578063dd62ed3e146106ee578063e8b5e51f1461071c578063e941fa7814610724578063f77c47911461072c578063f851a44014610734578063fc0c546a1461073c5761025e565b8063b6ac642a14610667578063b6b55f2514610684578063bb994d48146106a1578063bedb86fb146106c7578063d085835a146106e65761025e565b80639b19251a1161010a5780639b19251a146105bd5780639c8234b3146105e3578063a457c2d7146105eb578063a8c62e7614610617578063a9059cbb1461063b5761025e565b80637373bc5a14610544578063891682d21461054c57806392eefe9b1461057257806395d89b4114610598578063965c0f28146105a05761025e565b806339ebf823116101df578063596252fc116101a3578063596252fc146104c357806359c077d7146104cb5780635c975abb146104e85780636cb64d8f146104f0578063704b6c02146104f857806370a082311461051e5761025e565b806339ebf823146103fa5780633b8ae39714610420578063441a3e701461044657806345d34def1461046957806353d6fd59146104955761025e565b80631b4a2001116102265780631b4a20011461036a578063232870211461037257806323b872dd1461037a578063313ce567146103b057806339509351146103ce5761025e565b806301681a621461026357806301e1d1141461028b57806306fdde03146102a5578063095ea7b31461032257806318160ddd14610362575b600080fd5b6102896004803603602081101561027957600080fd5b50356001600160a01b0316610744565b005b6102936108a2565b60408051918252519081900360200190f35b6102ad6108b2565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e75781810151838201526020016102cf565b50505050905090810190601f1680156103145780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61034e6004803603604081101561033857600080fd5b506001600160a01b038135169060200135610948565b604080519115158252519081900360200190f35b610293610966565b61029361096c565b610293610976565b61034e6004803603606081101561039057600080fd5b506001600160a01b0381358116916020810135909116906040013561097c565b6103b8610a0a565b6040805160ff9092168252519081900360200190f35b61034e600480360360408110156103e457600080fd5b506001600160a01b038135169060200135610a13565b61034e6004803603602081101561041057600080fd5b50356001600160a01b0316610a67565b6102896004803603602081101561043657600080fd5b50356001600160a01b0316610a7c565b6102896004803603604081101561045c57600080fd5b5080359060200135610b78565b6102896004803603604081101561047f57600080fd5b506001600160a01b038135169060200135610f23565b610289600480360360408110156104ab57600080fd5b506001600160a01b0381351690602001351515611374565b610293611420565b610289600480360360208110156104e157600080fd5b503561142a565b61034e6114c2565b6102936114cb565b6102896004803603602081101561050e57600080fd5b50356001600160a01b03166114d5565b6102936004803603602081101561053457600080fd5b50356001600160a01b0316611591565b6102936115ac565b6102896004803603602081101561056257600080fd5b50356001600160a01b03166115b6565b6102896004803603602081101561058857600080fd5b50356001600160a01b031661167f565b6102ad611744565b610293600480360360208110156105b657600080fd5b50356117a5565b61034e600480360360208110156105d357600080fd5b50356001600160a01b03166117d1565b6102936117e6565b61034e6004803603604081101561060157600080fd5b506001600160a01b0381351690602001356117f0565b61061f61185e565b604080516001600160a01b039092168252519081900360200190f35b61034e6004803603604081101561065157600080fd5b506001600160a01b03813516906020013561186d565b6102896004803603602081101561067d57600080fd5b5035611881565b6102896004803603602081101561069a57600080fd5b503561191a565b610289600480360360208110156106b757600080fd5b50356001600160a01b0316611aee565b610289600480360360208110156106dd57600080fd5b50351515611be3565b61061f611c3e565b6102936004803603604081101561070457600080fd5b506001600160a01b0381358116916020013516611c4d565b610289611c78565b610293611ed8565b61061f611ede565b61061f611eed565b61061f611efc565b6007546001600160a01b0316331461078c576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b7f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5996001600160a01b0316816001600160a01b03161415610809576040805162461bcd60e51b81526020600482015260136024820152723a37b5b2b7101e903b30bab63a173a37b5b2b760691b604482015290519081900360640190fd5b600754604080516370a0823160e01b8152306004820152905161089f926001600160a01b0390811692908516916370a0823191602480820192602092909190829003018186803b15801561085c57600080fd5b505afa158015610870573d6000803e3d6000fd5b505050506040513d602081101561088657600080fd5b50516001600160a01b038416919063ffffffff611f2016565b50565b60006108ac611f77565b90505b90565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561093e5780601f106109135761010080835404028352916020019161093e565b820191906000526020600020905b81548152906001019060200180831161092157829003601f168201915b5050505050905090565b600061095c610955611f98565b8484611f9c565b5060015b92915050565b60025490565b60006108ac612088565b600c5481565b60006109898484846120b4565b6109ff84610995611f98565b6109fa85604051806060016040528060288152602001612cce602891396001600160a01b038a166000908152600160205260408120906109d3611f98565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61221b16565b611f9c565b5060015b9392505050565b60055460ff1690565b600061095c610a20611f98565b846109fa8560016000610a31611f98565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6122b216565b600b6020526000908152604090205460ff1681565b6009546001600160a01b03163314610ac8576040805162461bcd60e51b815260206004820152600a6024820152692174696d65206c6f636b60b01b604482015290519081900360640190fd5b6001600160a01b038116610b1d576040805162461bcd60e51b81526020600482015260176024820152767374726174656779203d207a65726f206164647265737360481b604482015290519081900360640190fd5b6001600160a01b0381166000818152600b6020908152604091829020805460ff19166001179055815192835290517f4c6d0fbb89373829bc56000a87d561331bca06f725fd8861d055215ed90f209b9281900390910190a150565b60026006541415610bd0576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260065533321480610bf25750336000908152600f602052604090205460ff165b610c30576040805162461bcd60e51b815260206004820152600a602482015269085dda1a5d195b1a5cdd60b21b604482015290519081900360640190fd5b60008211610c72576040805162461bcd60e51b815260206004820152600a6024820152690736861726573203d20360b41b604482015290519081900360640190fd5b6000610c7c61230c565b90506000610c886123a7565b90506000610c97858484612410565b9050610ca33386612493565b80831015610e97578080831015610cb75750815b600a5460408051632e1a7d4d60e01b81526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b158015610d0457600080fd5b505af1158015610d18573d6000803e3d6000fd5b505050506000610d2661230c565b90506000610d3a828763ffffffff61259b16565b905082811015610d5957610d568385038263ffffffff6122b216565b93505b6000612710610d73600d54876125f890919063ffffffff16565b81610d7a57fe5b0490508015610e9257600854604080516361d027b360e01b815290516000926001600160a01b0316916361d027b3916004808301926020929190829003018186803b158015610dc857600080fd5b505afa158015610ddc573d6000803e3d6000fd5b505050506040513d6020811015610df257600080fd5b505190506001600160a01b038116610e51576040805162461bcd60e51b815260206004820152601760248201527f7472656173757279203d207a65726f2061646472657373000000000000000000604482015290519081900360640190fd5b9481900394610e906001600160a01b037f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59916828463ffffffff611f2016565b505b505050505b83811015610edd576040805162461bcd60e51b815260206004820152600e60248201526d3bb4ba34323930bb901e1036b4b760911b604482015290519081900360640190fd5b610f176001600160a01b037f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59916338363ffffffff611f2016565b50506001600655505050565b6007546001600160a01b0316331480610f4657506008546001600160a01b031633145b610f85576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b6001600160a01b0382166000908152600b602052604090205460ff16610fde576040805162461bcd60e51b815260206004820152600960248201526808585c1c1c9bdd995960ba1b604482015290519081900360640190fd5b600a546001600160a01b0383811691161415611041576040805162461bcd60e51b815260206004820152601f60248201527f6e6577207374726174656779203d2063757272656e7420737472617465677900604482015290519081900360640190fd5b7f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5996001600160a01b0316826001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a457600080fd5b505afa1580156110b8573d6000803e3d6000fd5b505050506040513d60208110156110ce57600080fd5b50516001600160a01b03161461112b576040805162461bcd60e51b815260206004820152601d60248201527f73747261746567792e746f6b656e20213d207661756c742e746f6b656e000000604482015290519081900360640190fd5b306001600160a01b0316826001600160a01b031663fbfa77cf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561116e57600080fd5b505afa158015611182573d6000803e3d6000fd5b505050506040513d602081101561119857600080fd5b50516001600160a01b0316146111f5576040805162461bcd60e51b815260206004820152601760248201527f73747261746567792e7661756c7420213d207661756c74000000000000000000604482015290519081900360640190fd5b600a546001600160a01b03161561131957600a54611241906001600160a01b037f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599811691166000612651565b600061124b61230c565b9050600a60009054906101000a90046001600160a01b03166001600160a01b031663e9fad8ee6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561129d57600080fd5b505af11580156112b1573d6000803e3d6000fd5b5050505060006112bf61230c565b9050826112d2828463ffffffff61259b16565b1015611316576040805162461bcd60e51b815260206004820152600e60248201526d3bb4ba34323930bb901e1036b4b760911b604482015290519081900360640190fd5b50505b600a80546001600160a01b0319166001600160a01b03848116919091179182905560408051929091168252517f3412691e1ea2503d6eec15597247048016213c19646b73d4320a20c790b67ee2916020908290030190a15050565b6007546001600160a01b031633146113bc576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915582519384529083015280517ff6019ec0a78d156d249a1ec7579e2321f6ac7521d6e1d2eacf90ba4a184dcceb9281900390910190a15050565b60006108ac61230c565b6007546001600160a01b03163314611472576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6127108111156114bd576040805162461bcd60e51b81526020600482015260116024820152700e4cae6cae4ecca40dad2dc407c40dac2f607b1b604482015290519081900360640190fd5b600c55565b600e5460ff1681565b60006108ac612764565b6007546001600160a01b0316331461151d576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b03811661156f576040805162461bcd60e51b815260206004820152601460248201527361646d696e203d207a65726f206164647265737360601b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526020819052604090205490565b60006108ac6123a7565b6009546001600160a01b03163314611602576040805162461bcd60e51b815260206004820152600a6024820152692174696d65206c6f636b60b01b604482015290519081900360640190fd5b6001600160a01b03811661165d576040805162461bcd60e51b815260206004820152601860248201527f74696d65206c6f636b203d207a65726f20616464726573730000000000000000604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633146116c7576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b038116611722576040805162461bcd60e51b815260206004820152601960248201527f636f6e74726f6c6c6572203d207a65726f206164647265737300000000000000604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561093e5780601f106109135761010080835404028352916020019161093e565b6000806117b061230c565b905060006117bc6123a7565b90506117c9848383612410565b949350505050565b600f6020526000908152604090205460ff1681565b60006108ac6127cd565b600061095c6117fd611f98565b846109fa85604051806060016040528060258152602001612dc06025913960016000611827611f98565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61221b16565b600a546001600160a01b031681565b600061095c61187a611f98565b84846120b4565b6007546001600160a01b031633146118c9576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6101f4811115611915576040805162461bcd60e51b81526020600482015260126024820152710776974686472617720666565203e206361760741b604482015290519081900360640190fd5b600d55565b600e5460ff161561195b576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b600260065414156119b3576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655333214806119d55750336000908152600f602052604090205460ff165b611a13576040805162461bcd60e51b815260206004820152600a602482015269085dda1a5d195b1a5cdd60b21b604482015290519081900360640190fd5b60008111611a55576040805162461bcd60e51b815260206004820152600a6024820152690616d6f756e74203d20360b41b604482015290519081900360640190fd5b6000611a5f611f77565b90506000611a6b610966565b9050600081611a7b575082611a9e565b611a9b83611a8f868563ffffffff6125f816565b9063ffffffff61281916565b90505b611aa83382612880565b611ae36001600160a01b037f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5991633308763ffffffff61297c16565b505060016006555050565b6007546001600160a01b03163314611b36576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b038116611b8b576040805162461bcd60e51b81526020600482015260176024820152767374726174656779203d207a65726f206164647265737360481b604482015290519081900360640190fd5b6001600160a01b0381166000818152600b6020908152604091829020805460ff19169055815192835290517f7d3e35e217272b8400fec8397b08eb8c60c4db9ae834af14ac0fc9c0bb914a8f9281900390910190a150565b6007546001600160a01b03163314611c2b576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b600e805460ff1916911515919091179055565b6009546001600160a01b031681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a546001600160a01b0316611ccf576040805162461bcd60e51b81526020600482015260176024820152767374726174656779203d207a65726f206164647265737360481b604482015290519081900360640190fd5b600e5460ff1615611d10576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6007546001600160a01b0316331480611d3357506008546001600160a01b031633145b611d72576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b6000611d7c6127cd565b905060008111611dc3576040805162461bcd60e51b815260206004820152600d60248201526c0617661696c61626c65203d203609c1b604482015290519081900360640190fd5b600a54611dfe906001600160a01b037f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599811691166000612651565b600a54611e38906001600160a01b037f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5998116911683612651565b600a546040805163b6b55f2560e01b81526004810184905290516001600160a01b039092169163b6b55f259160248082019260009290919082900301818387803b158015611e8557600080fd5b505af1158015611e99573d6000803e3d6000fd5b5050600a5461089f92506001600160a01b037f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59981169250166000612651565b600d5481565b6008546001600160a01b031681565b6007546001600160a01b031681565b7f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59981565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611f729084906129dc565b505050565b60006108ac611f84612764565b611f8c61230c565b9063ffffffff6122b216565b3390565b6001600160a01b038316611fe15760405162461bcd60e51b8152600401808060200182810382526024815260200180612d3c6024913960400191505060405180910390fd5b6001600160a01b0382166120265760405162461bcd60e51b8152600401808060200182810382526022815260200180612c656022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006127106120a7600c5461209b611f77565b9063ffffffff6125f816565b816120ae57fe5b04905090565b6001600160a01b0383166120f95760405162461bcd60e51b8152600401808060200182810382526025815260200180612d176025913960400191505060405180910390fd5b6001600160a01b03821661213e5760405162461bcd60e51b8152600401808060200182810382526023815260200180612c206023913960400191505060405180910390fd5b612149838383611f72565b61218c81604051806060016040528060268152602001612c87602691396001600160a01b038616600090815260208190526040902054919063ffffffff61221b16565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546121c1908263ffffffff6122b216565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156122aa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561226f578181015183820152602001612257565b50505050905090810190601f16801561229c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610a03576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916001600160a01b037f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59916916370a0823191602480820192602092909190829003018186803b15801561237657600080fd5b505afa15801561238a573d6000803e3d6000fd5b505050506040513d60208110156123a057600080fd5b5051905090565b600a546000906001600160a01b03166123c2575060006108af565b600a60009054906101000a90046001600160a01b03166001600160a01b03166301e1d1146040518163ffffffff1660e01b815260040160206040518083038186803b15801561237657600080fd5b60008061241b612764565b905060008184111561243e57612437858363ffffffff6122b216565b9050612451565b61244e858563ffffffff6122b216565b90505b600061245b610966565b905080156124865780612474888463ffffffff6125f816565b8161247b57fe5b049350505050610a03565b5060009695505050505050565b6001600160a01b0382166124d85760405162461bcd60e51b8152600401808060200182810382526021815260200180612cf66021913960400191505060405180910390fd5b6124e482600083611f72565b61252781604051806060016040528060228152602001612c43602291396001600160a01b038516600090815260208190526040902054919063ffffffff61221b16565b6001600160a01b038316600090815260208190526040902055600254612553908263ffffffff61259b16565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000828211156125f2576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261260757506000610960565b8282028284828161261457fe5b0414610a035760405162461bcd60e51b8152600401808060200182810382526021815260200180612cad6021913960400191505060405180910390fd5b8015806126d7575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156126a957600080fd5b505afa1580156126bd573d6000803e3d6000fd5b505050506040513d60208110156126d357600080fd5b5051155b6127125760405162461bcd60e51b8152600401808060200182810382526036815260200180612d8a6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611f729084906129dc565b600a546000906001600160a01b031661277f575060006108af565b600a60009054906101000a90046001600160a01b03166001600160a01b031663fc7b9c186040518163ffffffff1660e01b815260040160206040518083038186803b15801561237657600080fd5b600a546000906001600160a01b03166127e8575060006108af565b60006127f261230c565b905060006127fe612088565b9050808211612812576000925050506108af565b9003905090565b600080821161286f576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161287857fe5b049392505050565b6001600160a01b0382166128db576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6128e760008383611f72565b6002546128fa908263ffffffff6122b216565b6002556001600160a01b038216600090815260208190526040902054612926908263ffffffff6122b216565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526129d69085906129dc565b50505050565b6060612a31826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a8d9092919063ffffffff16565b805190915015611f7257808060200190516020811015612a5057600080fd5b5051611f725760405162461bcd60e51b815260040180806020018281038252602a815260200180612d60602a913960400191505060405180910390fd5b60606117c9848460008585612aa185612bb3565b612af2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612b315780518252601f199092019160209182019101612b12565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612b93576040519150601f19603f3d011682016040523d82523d6000602084013e612b98565b606091505b5091509150612ba8828286612bb9565b979650505050505050565b3b151590565b60608315612bc8575081610a03565b825115612bd85782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561226f57818101518382015260200161225756fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212200d10e94afc7405de3b9a440755cadc4ed50a2aaad27d75c4a8b47c76aed0ea2764736f6c634300060b0033

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

0000000000000000000000007d55c795359eb049ff482c8bd5e0523f0fb40b6f0000000000000000000000008dcb98361a49550593b57747ab2825983ef436620000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599

-----Decoded View---------------
Arg [0] : _controller (address): 0x7D55C795359eB049FF482c8Bd5E0523F0fB40B6f
Arg [1] : _timeLock (address): 0x8dcb98361a49550593B57747Ab2825983EF43662
Arg [2] : _token (address): 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007d55c795359eb049ff482c8bd5e0523f0fb40b6f
Arg [1] : 0000000000000000000000008dcb98361a49550593b57747ab2825983ef43662
Arg [2] : 0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599


Deployed Bytecode Sourcemap

47527:14038:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61351:211;;;;;;;;;;;;;;;;-1:-1:-1;61351:211:0;-1:-1:-1;;;;;61351:211:0;;:::i;:::-;;53033:101;;;:::i;:::-;;;;;;;;;;;;;;;;28674:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30899:207;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30899:207:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;29773:105;;;:::i;53422:99::-;;;:::i;48215:37::-;;;:::i;31588:451::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31588:451:0;;;;;;;;;;;;;;;;;:::i;29617:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32448:297;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32448:297:0;;;;;;;;:::i;48089:51::-;;;;;;;;;;;;;;;;-1:-1:-1;48089:51:0;-1:-1:-1;;;;;48089:51:0;;:::i;54256:236::-;;;;;;;;;;;;;;;;-1:-1:-1;54256:236:0;-1:-1:-1;;;;;54256:236:0;;:::i;59288:1757::-;;;;;;;;;;;;;;;;-1:-1:-1;59288:1757:0;;;;;;;:::i;55036:972::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55036:972:0;;;;;;;;:::i;50948:171::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50948:171:0;;;;;;;;;;:::i;51717:107::-;;;:::i;51127:179::-;;;;;;;;;;;;;;;;-1:-1:-1;51127:179:0;;:::i;48520:27::-;;;:::i;52633:117::-;;;:::i;50292:159::-;;;;;;;;;;;;;;;;-1:-1:-1;50292:159:0;-1:-1:-1;;;;;50292:159:0;;:::i;29941:124::-;;;;;;;;;;;;;;;;-1:-1:-1;29941:124:0;-1:-1:-1;;;;;29941:124:0;;:::i;52237:113::-;;;:::i;50656:181::-;;;;;;;;;;;;;;;;-1:-1:-1;50656:181:0;-1:-1:-1;;;;;50656:181:0;;:::i;50459:189::-;;;;;;;;;;;;;;;;-1:-1:-1;50459:189:0;-1:-1:-1;;;;;50459:189:0;;:::i;28884:95::-;;;:::i;58744:253::-;;;;;;;;;;;;;;;;-1:-1:-1;58744:253:0;;:::i;48629:50::-;;;;;;;;;;;;;;;;-1:-1:-1;48629:50:0;-1:-1:-1;;;;;48629:50:0;;:::i;54037:113::-;;;:::i;33248:397::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33248:397:0;;;;;;;;:::i;48009:32::-;;;:::i;:::-;;;;-1:-1:-1;;;;;48009:32:0;;;;;;;;;;;;;;30278:213;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30278:213:0;;;;;;;;:::i;51314:166::-;;;;;;;;;;;;;;;;-1:-1:-1;51314:166:0;;:::i;56725:768::-;;;;;;;;;;;;;;;;-1:-1:-1;56725:768:0;;:::i;54597:232::-;;;;;;;;;;;;;;;;-1:-1:-1;54597:232:0;-1:-1:-1;;;;;54597:232:0;;:::i;50845:95::-;;;;;;;;;;;;;;;;-1:-1:-1;50845:95:0;;;;:::i;47924:32::-;;;:::i;30554:198::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30554:198:0;;;;;;;;;;:::i;56146:451::-;;;:::i;48398:32::-;;;:::i;47883:34::-;;;:::i;47847:29::-;;;:::i;47963:39::-;;;:::i;61351:211::-;49440:5;;-1:-1:-1;;;;;49440:5:0;49426:10;:19;49418:38;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;;;;61439:5:::1;-1:-1:-1::0;;;;;61429:15:0::1;:6;-1:-1:-1::0;;;;;61429:15:0::1;;;61421:47;;;::::0;;-1:-1:-1;;;61421:47:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;61421:47:0;;;;;;;;;;;;;::::1;;61507:5;::::0;61514:39:::1;::::0;;-1:-1:-1;;;61514:39:0;;61547:4:::1;61514:39;::::0;::::1;::::0;;;61479:75:::1;::::0;-1:-1:-1;;;;;61507:5:0;;::::1;::::0;61514:24;;::::1;::::0;::::1;::::0;:39;;;;;::::1;::::0;;;;;;;;;:24;:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;61514:39:0;-1:-1:-1;;;;;61479:27:0;::::1;::::0;:75;::::1;:27;:75;:::i;:::-;61351:211:::0;:::o;53033:101::-;53088:4;53112:14;:12;:14::i;:::-;53105:21;;53033:101;;:::o;28674:91::-;28752:5;28745:12;;;;;;;;-1:-1:-1;;28745:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28719:13;;28745:12;;28752:5;;28745:12;;28752:5;28745:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28674:91;:::o;30899:207::-;31015:4;31037:39;31046:12;:10;:12::i;:::-;31060:7;31069:6;31037:8;:39::i;:::-;-1:-1:-1;31094:4:0;30899:207;;;;;:::o;29773:105::-;29858:12;;29773:105;:::o;53422:99::-;53476:4;53500:13;:11;:13::i;48215:37::-;;;;:::o;31588:451::-;31725:4;31742:36;31752:6;31760:9;31771:6;31742:9;:36::i;:::-;31789:220;31812:6;31833:12;:10;:12::i;:::-;31860:138;31916:6;31860:138;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31860:19:0;;;;;;:11;:19;;;;;;31880:12;:10;:12::i;:::-;-1:-1:-1;;;;;31860:33:0;;;;;;;;;;;;-1:-1:-1;31860:33:0;;;:138;;:37;:138;:::i;:::-;31789:8;:220::i;:::-;-1:-1:-1;32027:4:0;31588:451;;;;;;:::o;29617:91::-;29691:9;;;;29617:91;:::o;32448:297::-;32560:4;32582:133;32605:12;:10;:12::i;:::-;32632:7;32654:50;32693:10;32654:11;:25;32666:12;:10;:12::i;:::-;-1:-1:-1;;;;;32654:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;32654:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;48089:51::-;;;;;;;;;;;;;;;:::o;54256:236::-;49541:8;;-1:-1:-1;;;;;49541:8:0;49527:10;:22;49519:45;;;;;-1:-1:-1;;;49519:45:0;;;;;;;;;;;;-1:-1:-1;;;49519:45:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;54350:23:0;::::1;54342:59;;;::::0;;-1:-1:-1;;;54342:59:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;54342:59:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;54412:21:0;::::1;;::::0;;;:10:::1;:21;::::0;;;;;;;;:28;;-1:-1:-1;;54412:28:0::1;54436:4;54412:28;::::0;;54458:26;;;;;;;::::1;::::0;;;;;;;;::::1;54256:236:::0;:::o;59288:1757::-;9179:1;9781:7;;:19;;9773:63;;;;;-1:-1:-1;;;9773:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9179:1;9914:7;:18;50200:10:::1;50214:9;50200:23;::::0;50199:50:::1;;-1:-1:-1::0;50238:10:0::1;50228:21;::::0;;;:9:::1;:21;::::0;;;;;::::1;;50199:50;50191:73;;;::::0;;-1:-1:-1;;;50191:73:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50191:73:0;;;;;;;;;;;;;::::1;;59397:1:::2;59387:7;:11;59379:34;;;::::0;;-1:-1:-1;;;59379:34:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;59379:34:0;;;;;;;;;;;;;::::2;;59426:15;59444:17;:15;:17::i;:::-;59426:35;;59472:15;59490:20;:18;:20::i;:::-;59472:38;;59521:19;59543:51;59562:7;59571:10;59583;59543:18;:51::i;:::-;59521:73;;59663:26;59669:10;59681:7;59663:5;:26::i;:::-;59719:14;59706:10;:27;59702:1207;;;59828:14:::0;59861:27;;::::2;59857:96;;;-1:-1:-1::0;59927:10:0;59857:96:::2;59984:8;::::0;59969:50:::2;::::0;;-1:-1:-1;;;59969:50:0;;::::2;::::0;::::2;::::0;;;;;-1:-1:-1;;;;;59984:8:0;;::::2;::::0;59969:33:::2;::::0;:50;;;;;59984:8:::2;::::0;59969:50;;;;;;;;59984:8;;59969:50;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;60036:13;60052:17;:15;:17::i;:::-;60036:33:::0;-1:-1:-1;60084:9:0::2;60096:24;60036:33:::0;60109:10;60096:24:::2;:12;:24;:::i;:::-;60084:36;;60148:15;60141:4;:22;60137:345;;;60422:44;60423:32:::0;;::::2;60461:4:::0;60422:44:::2;:38;:44;:::i;:::-;60405:61;;60137:345;60535:8;48384:5;60546:31;60565:11;;60546:14;:18;;:31;;;;:::i;:::-;:41;;;;;;::::0;-1:-1:-1;60606:7:0;;60602:296:::2;;60665:10;::::0;60653:34:::2;::::0;;-1:-1:-1;;;60653:34:0;;;;60634:16:::2;::::0;-1:-1:-1;;;;;60665:10:0::2;::::0;60653:32:::2;::::0;:34:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;60665:10;60653:34;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;60653:34:0;;-1:-1:-1;;;;;;60714:22:0;::::2;60706:58;;;::::0;;-1:-1:-1;;;60706:58:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;60802:20:::0;;;::::2;::::0;60841:41:::2;-1:-1:-1::0;;;;;60848:5:0::2;60841:26;60868:8:::0;60819:3;60841:41:::2;:26;:41;:::i;:::-;60602:296;;59702:1207;;;;;60947:4;60929:14;:22;;60921:49;;;::::0;;-1:-1:-1;;;60921:49:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;60921:49:0;;;;;;;;;;;;;::::2;;60983:54;-1:-1:-1::0;;;;;60990:5:0::2;60983:26;61010:10;61022:14:::0;60983:54:::2;:26;:54;:::i;:::-;-1:-1:-1::0;;9138:1:0;10093:7;:22;-1:-1:-1;;;59288:1757:0:o;55036:972::-;49658:5;;-1:-1:-1;;;;;49658:5:0;49644:10;:19;;:47;;-1:-1:-1;49681:10:0;;-1:-1:-1;;;;;49681:10:0;49667;:24;49644:47;49636:71;;;;;-1:-1:-1;;;49636:71:0;;;;;;;;;;;;-1:-1:-1;;;49636:71:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;55178:21:0;::::1;;::::0;;;:10:::1;:21;::::0;;;;;::::1;;55170:43;;;::::0;;-1:-1:-1;;;55170:43:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;55170:43:0;;;;;;;;;;;;;::::1;;55245:8;::::0;-1:-1:-1;;;;;55232:21:0;;::::1;55245:8:::0;::::1;55232:21;;55224:65;;;::::0;;-1:-1:-1;;;55224:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;55364:5;-1:-1:-1::0;;;;;55322:47:0::1;55337:9;-1:-1:-1::0;;;;;55322:36:0::1;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;55322:38:0;-1:-1:-1;;;;;55322:47:0::1;;55300:126;;;::::0;;-1:-1:-1;;;55300:126:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;55504:4;-1:-1:-1::0;;;;;55459:50:0::1;55474:9;-1:-1:-1::0;;;;;55459:31:0::1;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;55459:33:0;-1:-1:-1;;;;;55459:50:0::1;;55437:123;;;::::0;;-1:-1:-1;;;55437:123:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;55620:8;::::0;-1:-1:-1;;;;;55620:8:0::1;:22:::0;55616:313:::1;;55685:8;::::0;55659:38:::1;::::0;-1:-1:-1;;;;;55666:5:0::1;55659:25:::0;::::1;::::0;55685:8:::1;;55659:25;:38::i;:::-;55714:14;55731:17;:15;:17::i;:::-;55714:34;;55778:8;;;;;;;;;-1:-1:-1::0;;;;;55778:8:0::1;-1:-1:-1::0;;;;;55763:29:0::1;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;55809:13;55825:17;:15;:17::i;:::-;55809:33:::0;-1:-1:-1;55894:4:0;55867:23:::1;55809:33:::0;55880:9;55867:23:::1;:12;:23;:::i;:::-;:31;;55859:58;;;::::0;;-1:-1:-1;;;55859:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;55859:58:0;;;;;;;;;;;;;::::1;;55616:313;;;55941:8;:20:::0;;-1:-1:-1;;;;;;55941:20:0::1;-1:-1:-1::0;;;;;55941:20:0;;::::1;::::0;;;::::1;::::0;;;;55979:21:::1;::::0;;55991:8;;;::::1;55979:21:::0;;;::::1;::::0;::::1;::::0;;;;;;::::1;55036:972:::0;;:::o;50948:171::-;49440:5;;-1:-1:-1;;;;;49440:5:0;49426:10;:19;49418:38;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;51039:16:0;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;;:27;;-1:-1:-1;;51039:27:0::1;::::0;::::1;;::::0;;::::1;::::0;;;51082:29;;;;;;;::::1;::::0;;;::::1;::::0;;;;;;;;::::1;50948:171:::0;;:::o;51717:107::-;51775:4;51799:17;:15;:17::i;51127:179::-;49440:5;;-1:-1:-1;;;;;49440:5:0;49426:10;:19;49418:38;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;;;;48295:5:::1;51215:11;:26;;51207:56;;;::::0;;-1:-1:-1;;;51207:56:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;51207:56:0;;;;;;;;;;;;;::::1;;51274:10;:24:::0;51127:179::o;48520:27::-;;;;;;:::o;52633:117::-;52696:4;52720:22;:20;:22::i;50292:159::-;49440:5;;-1:-1:-1;;;;;49440:5:0;49426:10;:19;49418:38;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;50373:20:0;::::1;50365:53;;;::::0;;-1:-1:-1;;;50365:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50365:53:0;;;;;;;;;;;;;::::1;;50429:5;:14:::0;;-1:-1:-1;;;;;;50429:14:0::1;-1:-1:-1::0;;;;;50429:14:0;;;::::1;::::0;;;::::1;::::0;;50292:159::o;29941:124::-;-1:-1:-1;;;;;30039:18:0;30015:4;30039:18;;;;;;;;;;;;29941:124::o;52237:113::-;52298:4;52322:20;:18;:20::i;50656:181::-;49541:8;;-1:-1:-1;;;;;49541:8:0;49527:10;:22;49519:45;;;;;-1:-1:-1;;;49519:45:0;;;;;;;;;;;;-1:-1:-1;;;49519:45:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;50746:23:0;::::1;50738:60;;;::::0;;-1:-1:-1;;;50738:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;50809:8;:20:::0;;-1:-1:-1;;;;;;50809:20:0::1;-1:-1:-1::0;;;;;50809:20:0;;;::::1;::::0;;;::::1;::::0;;50656:181::o;50459:189::-;49440:5;;-1:-1:-1;;;;;49440:5:0;49426:10;:19;49418:38;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;50550:25:0;::::1;50542:63;;;::::0;;-1:-1:-1;;;50542:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;50616:10;:24:::0;;-1:-1:-1;;;;;;50616:24:0::1;-1:-1:-1::0;;;;;50616:24:0;;;::::1;::::0;;;::::1;::::0;;50459:189::o;28884:95::-;28964:7;28957:14;;;;;;;;-1:-1:-1;;28957:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28931:13;;28957:14;;28964:7;;28957:14;;28964:7;28957:14;;;;;;;;;;;;;;;;;;;;;;;;58744:253;58817:4;58834:15;58852:17;:15;:17::i;:::-;58834:35;;58880:15;58898:20;:18;:20::i;:::-;58880:38;;58938:51;58957:7;58966:10;58978;58938:18;:51::i;:::-;58931:58;58744:253;-1:-1:-1;;;;58744:253:0:o;48629:50::-;;;;;;;;;;;;;;;:::o;54037:113::-;54098:4;54122:20;:18;:20::i;33248:397::-;33365:4;33387:228;33410:12;:10;:12::i;:::-;33437:7;33459:145;33516:15;33459:145;;;;;;;;;;;;;;;;;:11;:25;33471:12;:10;:12::i;:::-;-1:-1:-1;;;;;33459:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;33459:25:0;;;:34;;;;;;;;;;;:145;;:38;:145;:::i;48009:32::-;;;-1:-1:-1;;;;;48009:32:0;;:::o;30278:213::-;30397:4;30419:42;30429:12;:10;:12::i;:::-;30443:9;30454:6;30419:9;:42::i;51314:166::-;49440:5;;-1:-1:-1;;;;;49440:5:0;49426:10;:19;49418:38;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;;;;48478:3:::1;51396:4;:24;;51388:55;;;::::0;;-1:-1:-1;;;51388:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;51388:55:0;;;;;;;;;;;;;::::1;;51454:11;:18:::0;51314:166::o;56725:768::-;49908:6;;;;49907:7;49899:26;;;;;-1:-1:-1;;;49899:26:0;;;;;;;;;;;;-1:-1:-1;;;49899:26:0;;;;;;;;;;;;;;;9179:1:::1;9781:7;;:19;;9773:63;;;::::0;;-1:-1:-1;;;9773:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;9179:1;9914:7;:18:::0;50200:10:::2;50214:9;50200:23;::::0;50199:50:::2;;-1:-1:-1::0;50238:10:0::2;50228:21;::::0;;;:9:::2;:21;::::0;;;;;::::2;;50199:50;50191:73;;;::::0;;-1:-1:-1;;;50191:73:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;50191:73:0;;;;;;;;;;;;;::::2;;56836:1:::3;56826:7;:11;56818:34;;;::::0;;-1:-1:-1;;;56818:34:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;56818:34:0;;;;;;;;;;;;;::::3;;56865:20;56888:14;:12;:14::i;:::-;56865:37;;56913:16;56932:13;:11;:13::i;:::-;56913:32:::0;-1:-1:-1;57197:11:0::3;57223:16:::0;57219:152:::3;;-1:-1:-1::0;57265:7:0;57219:152:::3;;;57314:45;57343:15:::0;57314:24:::3;:7:::0;57326:11;57314:24:::3;:11;:24;:::i;:::-;:28:::0;:45:::3;:28;:45;:::i;:::-;57305:54;;57219:152;57383:25;57389:10;57401:6;57383:5;:25::i;:::-;57419:66;-1:-1:-1::0;;;;;57426:5:0::3;57419:30;57450:10;57470:4;57477:7:::0;57419:66:::3;:30;:66;:::i;:::-;-1:-1:-1::0;;9138:1:0::1;10093:7;:22:::0;-1:-1:-1;;56725:768:0:o;54597:232::-;49440:5;;-1:-1:-1;;;;;49440:5:0;49426:10;:19;49418:38;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;54687:23:0;::::1;54679:59;;;::::0;;-1:-1:-1;;;54679:59:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;54679:59:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;54749:21:0;::::1;54773:5;54749:21:::0;;;:10:::1;:21;::::0;;;;;;;;:29;;-1:-1:-1;;54749:29:0::1;::::0;;54796:25;;;;;;;::::1;::::0;;;;;;;;::::1;54597:232:::0;:::o;50845:95::-;49440:5;;-1:-1:-1;;;;;49440:5:0;49426:10;:19;49418:38;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;-1:-1:-1;;;49418:38:0;;;;;;;;;;;;;;;50916:6:::1;:16:::0;;-1:-1:-1;;50916:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;50845:95::o;47924:32::-;;;-1:-1:-1;;;;;47924:32:0;;:::o;30554:198::-;-1:-1:-1;;;;;30717:18:0;;;30688:4;30717:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;30554:198::o;56146:451::-;49785:8;;-1:-1:-1;;;;;49785:8:0;49777:58;;;;;-1:-1:-1;;;49777:58:0;;;;;;;;;;;;-1:-1:-1;;;49777:58:0;;;;;;;;;;;;;;;49908:6:::1;::::0;::::1;;49907:7;49899:26;;;::::0;;-1:-1:-1;;;49899:26:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;49899:26:0;;;;;;;;;;;;;::::1;;49658:5:::2;::::0;-1:-1:-1;;;;;49658:5:0::2;49644:10;:19;::::0;:47:::2;;-1:-1:-1::0;49681:10:0::2;::::0;-1:-1:-1;;;;;49681:10:0::2;49667;:24;49644:47;49636:71;;;::::0;;-1:-1:-1;;;49636:71:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;49636:71:0;;;;;;;;;;;;;::::2;;56299:11:::3;56313:20;:18;:20::i;:::-;56299:34;;56361:1;56352:6;:10;56344:36;;;::::0;;-1:-1:-1;;;56344:36:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;56344:36:0;;;;;;;;;;;;;::::3;;56419:8;::::0;56393:38:::3;::::0;-1:-1:-1;;;;;56400:5:0::3;56393:25:::0;::::3;::::0;56419:8:::3;;56393:25;:38::i;:::-;56468:8;::::0;56442:43:::3;::::0;-1:-1:-1;;;;;56449:5:0::3;56442:25:::0;::::3;::::0;56468:8:::3;56478:6:::0;56442:25:::3;:43::i;:::-;56513:8;::::0;56498:40:::3;::::0;;-1:-1:-1;;;56498:40:0;;::::3;::::0;::::3;::::0;;;;;-1:-1:-1;;;;;56513:8:0;;::::3;::::0;56498:32:::3;::::0;:40;;;;;56513:8:::3;::::0;56498:40;;;;;;;;56513:8;;56498:40;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;56577:8:0::3;::::0;56551:38:::3;::::0;-1:-1:-1;;;;;;56558:5:0::3;56551:25:::0;::::3;::::0;-1:-1:-1;56577:8:0::3;;56551:25;:38::i;48398:32::-:0;;;;:::o;47883:34::-;;;-1:-1:-1;;;;;47883:34:0;;:::o;47847:29::-;;;-1:-1:-1;;;;;47847:29:0;;:::o;47963:39::-;;;:::o;22049:245::-;22217:58;;;-1:-1:-1;;;;;22217:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22217:58:0;-1:-1:-1;;;22217:58:0;;;22163:123;;22197:5;;22163:19;:123::i;:::-;22049:245;;;:::o;52758:123::-;52804:4;52828:45;52850:22;:20;:22::i;:::-;52828:17;:15;:17::i;:::-;:21;:45;:21;:45;:::i;26213:106::-;26301:10;26213:106;:::o;36622:377::-;-1:-1:-1;;;;;36755:19:0;;36747:68;;;;-1:-1:-1;;;36747:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36834:21:0;;36826:68;;;;-1:-1:-1;;;36826:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36907:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;36959:32;;;;;;;;;;;;;;;;;36622:377;;;:::o;53142:121::-;53187:4;48295:5;53211:30;53230:10;;53211:14;:12;:14::i;:::-;:18;:30;:18;:30;:::i;:::-;:44;;;;;;53204:51;;53142:121;:::o;34135:607::-;-1:-1:-1;;;;;34272:20:0;;34264:70;;;;-1:-1:-1;;;34264:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34353:23:0;;34345:71;;;;-1:-1:-1;;;34345:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34429:47;34450:6;34458:9;34469:6;34429:20;:47::i;:::-;34509:108;34545:6;34509:108;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34509:17:0;;:9;:17;;;;;;;;;;;;:108;;:21;:108;:::i;:::-;-1:-1:-1;;;;;34489:17:0;;;:9;:17;;;;;;;;;;;:128;;;;34651:20;;;;;;;:32;;34676:6;34651:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;34628:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;34699:35;;;;;;;34628:20;;34699:35;;;;;;;;;;;;;34135:607;;;:::o;5557:191::-;5671:4;5704:12;5696:6;;;;5688:29;;;;-1:-1:-1;;;5688:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5735:5:0;;;5557:191::o;2781:167::-;2833:4;2859:5;;;2883:6;;;;2875:46;;;;;-1:-1:-1;;;2875:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;51488:119;51561:38;;;-1:-1:-1;;;51561:38:0;;51593:4;51561:38;;;;;;51537:4;;-1:-1:-1;;;;;51568:5:0;51561:23;;;;:38;;;;;;;;;;;;;;;:23;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51561:38:0;;-1:-1:-1;51488:119:0;:::o;51832:197::-;51905:8;;51884:4;;-1:-1:-1;;;;;51905:8:0;51901:63;;-1:-1:-1;51951:1:0;51944:8;;51901:63;51998:8;;;;;;;;;-1:-1:-1;;;;;51998:8:0;-1:-1:-1;;;;;51983:36:0;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57501:1048;57635:4;58111:14;58128:22;:20;:22::i;:::-;58111:39;;58161:20;58210:9;58196:11;:23;58192:179;;;58254:26;:11;58270:9;58254:26;:15;:26;:::i;:::-;58236:44;;58192:179;;;58331:28;:11;58347;58331:28;:15;:28;:::i;:::-;58313:46;;58192:179;58383:16;58402:13;:11;:13::i;:::-;58383:32;-1:-1:-1;58430:15:0;;58426:97;;58500:11;58469:28;:7;58481:15;58469:28;:11;:28;:::i;:::-;:42;;;;;;58462:49;;;;;;;58426:97;-1:-1:-1;58540:1:0;;57501:1048;-1:-1:-1;;;;;;57501:1048:0:o;35732:452::-;-1:-1:-1;;;;;35813:21:0;;35805:67;;;;-1:-1:-1;;;35805:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35885:49;35906:7;35923:1;35927:6;35885:20;:49::i;:::-;35968:105;36005:6;35968:105;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35968:18:0;;:9;:18;;;;;;;;;;;;:105;;:22;:105;:::i;:::-;-1:-1:-1;;;;;35947:18:0;;:9;:18;;;;;;;;;;:126;36099:12;;:24;;36116:6;36099:24;:16;:24;:::i;:::-;36084:12;:39;36139:37;;;;;;;;36165:1;;-1:-1:-1;;;;;36139:37:0;;;;;;;;;;;;35732:452;;:::o;3231:149::-;3283:4;3313:1;3308;:6;;3300:49;;;;;-1:-1:-1;;;3300:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3367:5:0;;;3231:149::o;3639:208::-;3691:4;3712:6;3708:20;;-1:-1:-1;3727:1:0;3720:8;;3708:20;3748:5;;;3752:1;3748;:5;:1;3772:5;;;;;:10;3764:56;;;;-1:-1:-1;;;3764:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22853:704;23268:10;;;23267:62;;-1:-1:-1;23284:39:0;;;-1:-1:-1;;;23284:39:0;;23308:4;23284:39;;;;-1:-1:-1;;;;;23284:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23284:39:0;:44;23267:62;23245:166;;;;-1:-1:-1;;;23245:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23476:62;;;-1:-1:-1;;;;;23476:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23476:62:0;-1:-1:-1;;;23476:62:0;;;23422:127;;23456:5;;23422:19;:127::i;52358:195::-;52433:8;;52412:4;;-1:-1:-1;;;;;52433:8:0;52429:63;;-1:-1:-1;52479:1:0;52472:8;;52429:63;52524:8;;;;;;;;;-1:-1:-1;;;;;52524:8:0;-1:-1:-1;;;;;52509:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53529:340;53602:8;;53581:4;;-1:-1:-1;;;;;53602:8:0;53598:63;;-1:-1:-1;53648:1:0;53641:8;;53598:63;53673:15;53691:17;:15;:17::i;:::-;53673:35;;53719:12;53734:13;:11;:13::i;:::-;53719:28;;53778:7;53764:10;:21;53760:62;;53809:1;53802:8;;;;;;53760:62;53841:20;;;-1:-1:-1;53529:340:0;:::o;4325:144::-;4377:4;4406:1;4402;:5;4394:44;;;;;-1:-1:-1;;;4394:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4460:1;4456;:5;;;;;;;4325:144;-1:-1:-1;;;4325:144:0:o;35024:375::-;-1:-1:-1;;;;;35105:21:0;;35097:65;;;;;-1:-1:-1;;;35097:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35175:49;35204:1;35208:7;35217:6;35175:20;:49::i;:::-;35252:12;;:24;;35269:6;35252:24;:16;:24;:::i;:::-;35237:12;:39;-1:-1:-1;;;;;35308:18:0;;:9;:18;;;;;;;;;;;:30;;35331:6;35308:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;35287:18:0;;:9;:18;;;;;;;;;;;:51;;;;35354:37;;;;;;;35287:18;;:9;;35354:37;;;;;;;;;;35024:375;;:::o;22302:282::-;22497:68;;;-1:-1:-1;;;;;22497:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22497:68:0;-1:-1:-1;;;22497:68:0;;;22443:133;;22477:5;;22443:19;:133::i;:::-;22302:282;;;;:::o;24773:836::-;25197:23;25236:69;25264:4;25236:69;;;;;;;;;;;;;;;;;25244:5;-1:-1:-1;;;;;25236:27:0;;;:69;;;;;:::i;:::-;25320:17;;25197:108;;-1:-1:-1;25320:21:0;25316:286;;25493:10;25482:30;;;;;;;;;;;;;;;-1:-1:-1;25482:30:0;25456:134;;;;-1:-1:-1;;;25456:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16604:229;16741:12;16773:52;16795:6;16803:4;16809:1;16812:12;16741;18146:18;18157:6;18146:10;:18::i;:::-;18138:60;;;;;-1:-1:-1;;;18138:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18272:12;18286:23;18313:6;-1:-1:-1;;;;;18313:11:0;18332:5;18339:4;18313:31;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18313:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18271:73;;;;18362:52;18380:7;18389:10;18401:12;18362:17;:52::i;:::-;18355:59;17817:605;-1:-1:-1;;;;;;;17817:605:0:o;13647:441::-;14024:20;14072:8;;;13647:441::o;20647:777::-;20797:12;20826:7;20822:595;;;-1:-1:-1;20857:10:0;20850:17;;20822:595;20971:17;;:21;20967:439;;21234:10;21228:17;21295:15;21282:10;21278:2;21274:19;21267:44;21182:148;21370:20;;-1:-1:-1;;;21370:20:0;;;;;;;;;;;;;;;;;21377:12;;21370:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://0d10e94afc7405de3b9a440755cadc4ed50a2aaad27d75c4a8b47c76aed0ea27
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.