Contract 0xcf5f83f8fe0ab0f9e9c1db07e6606dd598b2bbf5 2

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xfdd7cbaaf101463d7459f4ce444064df398e59c6870b736b3e0a860cd75c5e65Initialize Vault166449112021-07-08 16:11:04196 days 1 hr ago0xf00dd244228f51547f0563e60bca65a30fbf5f7f IN  0xcf5f83f8fe0ab0f9e9c1db07e6606dd598b2bbf50 MATIC0.0030023910
0xbcf39be8e9c377f87491ac6f57abd5812244c1914e6566126a3b3833c81d46d10x60806040166446302021-07-08 15:57:56196 days 2 hrs ago0xf00dd244228f51547f0563e60bca65a30fbf5f7f IN  Create: Vault0 MATIC0.0379140810
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vault

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-07-09
*/

// Sources flattened with hardhat v2.1.1 https://hardhat.org

// File @openzeppelin/contracts-upgradeable/math/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library MathUpgradeable {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}


// File @openzeppelin/contracts-upgradeable/math/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMathUpgradeable {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

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

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}


// File @openzeppelin/contracts-upgradeable/token/ERC20/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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


// File @openzeppelin/contracts-upgradeable/utils/[email protected]

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

    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-upgradeable/token/ERC20/[email protected]

pragma solidity >=0.6.0 <0.8.0;



/**
 * @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 SafeERC20Upgradeable {
    using SafeMathUpgradeable for uint256;
    using AddressUpgradeable for address;

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

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

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20Upgradeable token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20Upgradeable 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-upgradeable/proxy/[email protected]

// solhint-disable-next-line compiler-version
pragma solidity >=0.4.24 <0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        return !AddressUpgradeable.isContract(address(this));
    }
}


// File @openzeppelin/contracts-upgradeable/utils/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/*
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    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;
    }
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/token/ERC20/[email protected]

pragma solidity >=0.6.0 <0.8.0;




/**
 * @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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable {
    using SafeMathUpgradeable for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 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.
     */
    function __ERC20_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC20_init_unchained(name_, symbol_);
    }

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _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 (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        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, uint256 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 (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 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, uint256 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, uint256 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, uint256 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, uint256 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, uint256 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, uint256 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, uint256 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, uint256 amount) internal virtual { }
    uint256[44] private __gap;
}


// File public/contracts/base/interface/IStrategy.sol

pragma solidity 0.6.12;

interface IStrategy {

    function unsalvagableTokens(address tokens) external view returns (bool);

    function underlying() external view returns (address);
    function vault() external view returns (address);

    function withdrawAllToVault() external;
    function withdrawToVault(uint256 amount) external;

    function investedUnderlyingBalance() external view returns (uint256); // itsNotMuch()

    // should only be called by controller
    function salvage(address recipient, address token, uint256 amount) external;

    function doHardWork() external;
    function depositArbCheck() external view returns(bool);
}


// File public/contracts/base/interface/IVault.sol

pragma solidity 0.6.12;

interface IVault {
    function underlyingBalanceInVault() external view returns (uint256);
    function underlyingBalanceWithInvestment() external view returns (uint256);

    // function store() external view returns (address);
    function underlying() external view returns (address);
    function strategy() external view returns (address);

    function setStrategy(address _strategy) external;
    function announceStrategyUpdate(address _strategy) external;
    function setVaultFractionToInvest(uint256 numerator, uint256 denominator) external;

    function deposit(uint256 amountWei) external;
    function depositFor(uint256 amountWei, address holder) external;

    function withdrawAll() external;
    function withdraw(uint256 numberOfShares) external;
    function getPricePerFullShare() external view returns (uint256);

    function underlyingBalanceWithInvestmentForHolder(address holder) view external returns (uint256);

    // hard work should be callable only by the controller (by the hard worker) or by governance
    function doHardWork() external;
}


// File public/contracts/base/interface/IController.sol

pragma solidity 0.6.12;

interface IController {
    // [Grey list]
    // An EOA can safely interact with the system no matter what.
    // If you're using Metamask, you're using an EOA.
    // Only smart contracts may be affected by this grey list.
    //
    // This contract will not be able to ban any EOA from the system
    // even if an EOA is being added to the greyList, he/she will still be able
    // to interact with the whole system as if nothing happened.
    // Only smart contracts will be affected by being added to the greyList.
    // This grey list is only used in Vault.sol, see the code there for reference
    function greyList(address _target) external view returns(bool);

    function addVaultAndStrategy(address _vault, address _strategy) external;
    function doHardWork(address _vault) external;
    function hasVault(address _vault) external returns(bool);

    function salvage(address _token, uint256 amount) external;
    function salvageStrategy(address _strategy, address _token, uint256 amount) external;

    function notifyFee(address _underlying, uint256 fee) external;
    function profitSharingNumerator() external view returns (uint256);
    function profitSharingDenominator() external view returns (uint256);

    function feeRewardForwarder() external view returns(address);
    function setFeeRewardForwarder(address _value) external;
}


// File public/contracts/base/interface/IUpgradeSource.sol

pragma solidity 0.6.12;

interface IUpgradeSource {
  function shouldUpgrade() external view returns (bool, address);
  function finalizeUpgrade() external;
}


// File public/contracts/base/inheritance/Storage.sol

pragma solidity 0.6.12;

contract Storage {

  address public governance;
  address public controller;

  constructor() public {
    governance = msg.sender;
  }

  modifier onlyGovernance() {
    require(isGovernance(msg.sender), "Not governance");
    _;
  }

  function setGovernance(address _governance) public onlyGovernance {
    require(_governance != address(0), "new governance shouldn't be empty");
    governance = _governance;
  }

  function setController(address _controller) public onlyGovernance {
    require(_controller != address(0), "new controller shouldn't be empty");
    controller = _controller;
  }

  function isGovernance(address account) public view returns (bool) {
    return account == governance;
  }

  function isController(address account) public view returns (bool) {
    return account == controller;
  }
}


// File public/contracts/base/inheritance/GovernableInit.sol

pragma solidity 0.6.12;


// A clone of Governable supporting the Initializable interface and pattern
contract GovernableInit is Initializable {

  bytes32 internal constant _STORAGE_SLOT = 0xa7ec62784904ff31cbcc32d09932a58e7f1e4476e1d041995b37c917990b16dc;

  modifier onlyGovernance() {
    require(Storage(_storage()).isGovernance(msg.sender), "Not governance");
    _;
  }

  constructor() public {
    assert(_STORAGE_SLOT == bytes32(uint256(keccak256("eip1967.governableInit.storage")) - 1));
  }

  function initialize(address _store) public virtual initializer {
    _setStorage(_store);
  }

  function _setStorage(address newStorage) private {
    bytes32 slot = _STORAGE_SLOT;
    // solhint-disable-next-line no-inline-assembly
    assembly {
      sstore(slot, newStorage)
    }
  }

  function setStorage(address _store) public onlyGovernance {
    require(_store != address(0), "new storage shouldn't be empty");
    _setStorage(_store);
  }

  function _storage() internal view returns (address str) {
    bytes32 slot = _STORAGE_SLOT;
    // solhint-disable-next-line no-inline-assembly
    assembly {
      str := sload(slot)
    }
  }

  function governance() public view returns (address) {
    return Storage(_storage()).governance();
  }
}


// File public/contracts/base/inheritance/ControllableInit.sol

pragma solidity 0.6.12;

// A clone of Governable supporting the Initializable interface and pattern
contract ControllableInit is GovernableInit {

  constructor() public {
  }

  function initialize(address _storage) public override initializer {
    GovernableInit.initialize(_storage);
  }

  modifier onlyController() {
    require(Storage(_storage()).isController(msg.sender), "Not a controller");
    _;
  }

  modifier onlyControllerOrGovernance(){
    require((Storage(_storage()).isController(msg.sender) || Storage(_storage()).isGovernance(msg.sender)),
      "The caller must be controller or governance");
    _;
  }

  function controller() public view returns (address) {
    return Storage(_storage()).controller();
  }
}


// File public/contracts/base/VaultStorage.sol

pragma solidity 0.6.12;

contract VaultStorage is Initializable {

  bytes32 internal constant _STRATEGY_SLOT = 0xf1a169aa0f736c2813818fdfbdc5755c31e0839c8f49831a16543496b28574ea;
  bytes32 internal constant _UNDERLYING_SLOT = 0x1994607607e11d53306ef62e45e3bd85762c58d9bf38b5578bc4a258a26a7371;
  bytes32 internal constant _UNDERLYING_UNIT_SLOT = 0xa66bc57d4b4eed7c7687876ca77997588987307cb13ecc23f5e52725192e5fff;
  bytes32 internal constant _VAULT_FRACTION_TO_INVEST_NUMERATOR_SLOT = 0x39122c9adfb653455d0c05043bd52fcfbc2be864e832efd3abc72ce5a3d7ed5a;
  bytes32 internal constant _VAULT_FRACTION_TO_INVEST_DENOMINATOR_SLOT = 0x469a3bad2fab7b936c45eecd1f5da52af89cead3e2ed7f732b6f3fc92ed32308;
  bytes32 internal constant _NEXT_IMPLEMENTATION_SLOT = 0xb1acf527cd7cd1668b30e5a9a1c0d845714604de29ce560150922c9d8c0937df;
  bytes32 internal constant _NEXT_IMPLEMENTATION_TIMESTAMP_SLOT = 0x3bc747f4b148b37be485de3223c90b4468252967d2ea7f9fcbd8b6e653f434c9;
  bytes32 internal constant _NEXT_IMPLEMENTATION_DELAY_SLOT = 0x82ddc3be3f0c1a6870327f78f4979a0b37b21b16736ef5be6a7a7a35e530bcf0;
  bytes32 internal constant _STRATEGY_TIME_LOCK_SLOT = 0x6d02338b2e4c913c0f7d380e2798409838a48a2c4d57d52742a808c82d713d8b;
  bytes32 internal constant _FUTURE_STRATEGY_SLOT = 0xb441b53a4e42c2ca9182bc7ede99bedba7a5d9360d9dfbd31fa8ee2dc8590610;
  bytes32 internal constant _STRATEGY_UPDATE_TIME_SLOT = 0x56e7c0e75875c6497f0de657009613a32558904b5c10771a825cc330feff7e72;
  bytes32 internal constant _ALLOW_SHARE_PRICE_DECREASE_SLOT = 0x22f7033891e85fc76735ebd320e0d3f546da431c4729c2f6d2613b11923aaaed;
  bytes32 internal constant _WITHDRAW_BEFORE_REINVESTING_SLOT = 0x4215fbb95dc0890d3e1660fb9089350f2d3f350c0a756934874cae6febf42a79;

  constructor() public {
    assert(_STRATEGY_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.strategy")) - 1));
    assert(_UNDERLYING_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.underlying")) - 1));
    assert(_UNDERLYING_UNIT_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.underlyingUnit")) - 1));
    assert(_VAULT_FRACTION_TO_INVEST_NUMERATOR_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.vaultFractionToInvestNumerator")) - 1));
    assert(_VAULT_FRACTION_TO_INVEST_DENOMINATOR_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.vaultFractionToInvestDenominator")) - 1));
    assert(_NEXT_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.nextImplementation")) - 1));
    assert(_NEXT_IMPLEMENTATION_TIMESTAMP_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.nextImplementationTimestamp")) - 1));
    assert(_NEXT_IMPLEMENTATION_DELAY_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.nextImplementationDelay")) - 1));
    assert(_STRATEGY_TIME_LOCK_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.strategyTimeLock")) - 1));
    assert(_FUTURE_STRATEGY_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.futureStrategy")) - 1));
    assert(_STRATEGY_UPDATE_TIME_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.strategyUpdateTime")) - 1));
    assert(_ALLOW_SHARE_PRICE_DECREASE_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.allowSharePriceDecrease")) - 1));
    assert(_WITHDRAW_BEFORE_REINVESTING_SLOT == bytes32(uint256(keccak256("eip1967.vaultStorage.withdrawBeforeReinvesting")) - 1));
  }

  function initialize(
    address _underlying,
    uint256 _toInvestNumerator,
    uint256 _toInvestDenominator,
    uint256 _underlyingUnit,
    uint256 _implementationChangeDelay,
    uint256 _strategyChangeDelay
  ) public initializer {
    _setUnderlying(_underlying);
    _setVaultFractionToInvestNumerator(_toInvestNumerator);
    _setVaultFractionToInvestDenominator(_toInvestDenominator);
    _setUnderlyingUnit(_underlyingUnit);
    _setNextImplementationDelay(_implementationChangeDelay);
    _setStrategyTimeLock(_strategyChangeDelay);
    _setStrategyUpdateTime(0);
    _setFutureStrategy(address(0));
    _setAllowSharePriceDecrease(false);
    _setWithdrawBeforeReinvesting(false);
  }

  function _setStrategy(address _address) internal {
    setAddress(_STRATEGY_SLOT, _address);
  }

  function _strategy() internal view returns (address) {
    return getAddress(_STRATEGY_SLOT);
  }

  function _setUnderlying(address _address) internal {
    setAddress(_UNDERLYING_SLOT, _address);
  }

  function _underlying() internal view returns (address) {
    return getAddress(_UNDERLYING_SLOT);
  }

  function _setUnderlyingUnit(uint256 _value) internal {
    setUint256(_UNDERLYING_UNIT_SLOT, _value);
  }

  function _underlyingUnit() internal view returns (uint256) {
    return getUint256(_UNDERLYING_UNIT_SLOT);
  }

  function _setVaultFractionToInvestNumerator(uint256 _value) internal {
    setUint256(_VAULT_FRACTION_TO_INVEST_NUMERATOR_SLOT, _value);
  }

  function _vaultFractionToInvestNumerator() internal view returns (uint256) {
    return getUint256(_VAULT_FRACTION_TO_INVEST_NUMERATOR_SLOT);
  }

  function _setVaultFractionToInvestDenominator(uint256 _value) internal {
    setUint256(_VAULT_FRACTION_TO_INVEST_DENOMINATOR_SLOT, _value);
  }

  function _vaultFractionToInvestDenominator() internal view returns (uint256) {
    return getUint256(_VAULT_FRACTION_TO_INVEST_DENOMINATOR_SLOT);
  }

  function _setAllowSharePriceDecrease(bool _value) internal {
    setBoolean(_ALLOW_SHARE_PRICE_DECREASE_SLOT, _value);
  }

  function _allowSharePriceDecrease() internal view returns (bool) {
    return getBoolean(_ALLOW_SHARE_PRICE_DECREASE_SLOT);
  }

  function _setWithdrawBeforeReinvesting(bool _value) internal {
    setBoolean(_WITHDRAW_BEFORE_REINVESTING_SLOT, _value);
  }

  function _withdrawBeforeReinvesting() internal view returns (bool) {
    return getBoolean(_WITHDRAW_BEFORE_REINVESTING_SLOT);
  }

  function _setNextImplementation(address _address) internal {
    setAddress(_NEXT_IMPLEMENTATION_SLOT, _address);
  }

  function _nextImplementation() internal view returns (address) {
    return getAddress(_NEXT_IMPLEMENTATION_SLOT);
  }

  function _setNextImplementationTimestamp(uint256 _value) internal {
    setUint256(_NEXT_IMPLEMENTATION_TIMESTAMP_SLOT, _value);
  }

  function _nextImplementationTimestamp() internal view returns (uint256) {
    return getUint256(_NEXT_IMPLEMENTATION_TIMESTAMP_SLOT);
  }

  function _setNextImplementationDelay(uint256 _value) internal {
    setUint256(_NEXT_IMPLEMENTATION_DELAY_SLOT, _value);
  }

  function _nextImplementationDelay() internal view returns (uint256) {
    return getUint256(_NEXT_IMPLEMENTATION_DELAY_SLOT);
  }

  function _setStrategyTimeLock(uint256 _value) internal {
    setUint256(_STRATEGY_TIME_LOCK_SLOT, _value);
  }

  function _strategyTimeLock() internal view returns (uint256) {
    return getUint256(_STRATEGY_TIME_LOCK_SLOT);
  }

  function _setFutureStrategy(address _value) internal {
    setAddress(_FUTURE_STRATEGY_SLOT, _value);
  }

  function _futureStrategy() internal view returns (address) {
    return getAddress(_FUTURE_STRATEGY_SLOT);
  }

  function _setStrategyUpdateTime(uint256 _value) internal {
    setUint256(_STRATEGY_UPDATE_TIME_SLOT, _value);
  }

  function _strategyUpdateTime() internal view returns (uint256) {
    return getUint256(_STRATEGY_UPDATE_TIME_SLOT);
  }

  function setBoolean(bytes32 slot, bool _value) internal {
    setUint256(slot, _value ? 1 : 0);
  }

  function getBoolean(bytes32 slot) internal view returns (bool) {
    return (getUint256(slot) == 1);
  }

  function setAddress(bytes32 slot, address _address) private {
    // solhint-disable-next-line no-inline-assembly
    assembly {
      sstore(slot, _address)
    }
  }

  function setUint256(bytes32 slot, uint256 _value) private {
    // solhint-disable-next-line no-inline-assembly
    assembly {
      sstore(slot, _value)
    }
  }

  function getAddress(bytes32 slot) private view returns (address str) {
    // solhint-disable-next-line no-inline-assembly
    assembly {
      str := sload(slot)
    }
  }

  function getUint256(bytes32 slot) private view returns (uint256 str) {
    // solhint-disable-next-line no-inline-assembly
    assembly {
      str := sload(slot)
    }
  }

  uint256[50] private ______gap;
}


// File public/contracts/base/Vault.sol

pragma solidity 0.6.12;











contract Vault is ERC20Upgradeable, IVault, IUpgradeSource, ControllableInit, VaultStorage {
  using SafeERC20Upgradeable for IERC20Upgradeable;
  using AddressUpgradeable for address;
  using SafeMathUpgradeable for uint256;

  event Withdraw(address indexed beneficiary, uint256 amount);
  event Deposit(address indexed beneficiary, uint256 amount);
  event Invest(uint256 amount);
  event StrategyAnnounced(address newStrategy, uint256 time);
  event StrategyChanged(address newStrategy, address oldStrategy);


  constructor() public {
  }

  // the function is name differently to not cause inheritance clash in truffle and allows tests
  function initializeVault(
    address _storage,
    address _underlying,
    uint256 _toInvestNumerator,
    uint256 _toInvestDenominator
  ) public initializer {
    require(_toInvestNumerator <= _toInvestDenominator, "cannot invest more than 100%");
    require(_toInvestDenominator != 0, "cannot divide by 0");

    __ERC20_init(
      string(abi.encodePacked("miFARM_", ERC20Upgradeable(_underlying).symbol())),
      string(abi.encodePacked("bf", ERC20Upgradeable(_underlying).symbol()))
    );
    _setupDecimals(ERC20Upgradeable(_underlying).decimals());

    ControllableInit.initialize(
      _storage
    );

    uint256 underlyingUnit = 10 ** uint256(ERC20Upgradeable(address(_underlying)).decimals());
    uint256 implementationDelay = 12 hours;
    uint256 strategyChangeDelay = 12 hours;
    VaultStorage.initialize(
      _underlying,
      _toInvestNumerator,
      _toInvestDenominator,
      underlyingUnit,
      implementationDelay,
      strategyChangeDelay
    );
  }

  function strategy() public view override returns(address) {
    return _strategy();
  }

  function underlying() public view override returns(address) {
    return _underlying();
  }

  function underlyingUnit() public view returns(uint256) {
    return _underlyingUnit();
  }

  function vaultFractionToInvestNumerator() public view returns(uint256) {
    return _vaultFractionToInvestNumerator();
  }

  function vaultFractionToInvestDenominator() public view returns(uint256) {
    return _vaultFractionToInvestDenominator();
  }

  function nextImplementation() public view returns(address) {
    return _nextImplementation();
  }

  function nextImplementationTimestamp() public view returns(uint256) {
    return _nextImplementationTimestamp();
  }

  function nextImplementationDelay() public view returns(uint256) {
    return _nextImplementationDelay();
  }

  modifier whenStrategyDefined() {
    require(address(strategy()) != address(0), "Strategy must be defined");
    _;
  }

  // Only smart contracts will be affected by this modifier
  modifier defense() {
    require(
      (msg.sender == tx.origin) ||                // If it is a normal user and not smart contract,
                                                  // then the requirement will pass
      !IController(controller()).greyList(msg.sender), // If it is a smart contract, then
      "This smart contract has been grey listed"  // make sure that it is not on our greyList.
    );
    _;
  }

  /**
  * Chooses the best strategy and re-invests. If the strategy did not change, it just calls
  * doHardWork on the current strategy. Call this through controller to claim hard rewards.
  */
  function doHardWork() whenStrategyDefined onlyControllerOrGovernance external override {
    // ensure that new funds are invested too
    invest();
    IStrategy(strategy()).doHardWork();
  }

  /*
  * Returns the cash balance across all users in this contract.
  */
  function underlyingBalanceInVault() view public override returns (uint256) {
    return IERC20Upgradeable(underlying()).balanceOf(address(this));
  }

  /* Returns the current underlying (e.g., DAI's) balance together with
   * the invested amount (if DAI is invested elsewhere by the strategy).
  */
  function underlyingBalanceWithInvestment() view public override returns (uint256) {
    if (address(strategy()) == address(0)) {
      // initial state, when not set
      return underlyingBalanceInVault();
    }
    return underlyingBalanceInVault().add(IStrategy(strategy()).investedUnderlyingBalance());
  }

  function getPricePerFullShare() public view override returns (uint256) {
    return totalSupply() == 0
        ? underlyingUnit()
        : underlyingUnit().mul(underlyingBalanceWithInvestment()).div(totalSupply());
  }

  /* get the user's share (in underlying)
  */
  function underlyingBalanceWithInvestmentForHolder(address holder) view external override returns (uint256) {
    if (totalSupply() == 0) {
      return 0;
    }
    return underlyingBalanceWithInvestment()
        .mul(balanceOf(holder))
        .div(totalSupply());
  }

  function futureStrategy() public view returns (address) {
    return _futureStrategy();
  }

  function strategyUpdateTime() public view returns (uint256) {
    return _strategyUpdateTime();
  }

  function strategyTimeLock() public view returns (uint256) {
    return _strategyTimeLock();
  }

  function canUpdateStrategy(address _strategy) public view returns(bool) {
    return strategy() == address(0) // no strategy was set yet
      || (_strategy == futureStrategy()
          && block.timestamp > strategyUpdateTime()
          && strategyUpdateTime() > 0); // or the timelock has passed
  }

  /**
  * Indicates that the strategy update will happen in the future
  */
  function announceStrategyUpdate(address _strategy) public override onlyControllerOrGovernance {
    // records a new timestamp
    uint256 when = block.timestamp.add(strategyTimeLock());
    _setStrategyUpdateTime(when);
    _setFutureStrategy(_strategy);
    emit StrategyAnnounced(_strategy, when);
  }

  /**
  * Finalizes (or cancels) the strategy update by resetting the data
  */
  function finalizeStrategyUpdate() public onlyControllerOrGovernance {
    _setStrategyUpdateTime(0);
    _setFutureStrategy(address(0));
  }

  function setStrategy(address _strategy) public override onlyControllerOrGovernance {
    require(canUpdateStrategy(_strategy),
      "The strategy exists and switch timelock did not elapse yet");
    require(_strategy != address(0), "new _strategy cannot be empty");
    require(IStrategy(_strategy).underlying() == address(underlying()), "Vault underlying must match Strategy underlying");
    require(IStrategy(_strategy).vault() == address(this), "the strategy does not belong to this vault");

    emit StrategyChanged(_strategy, strategy());
    if (address(_strategy) != address(strategy())) {
      if (address(strategy()) != address(0)) { // if the original strategy (no underscore) is defined
        IERC20Upgradeable(underlying()).safeApprove(address(strategy()), 0);
        IStrategy(strategy()).withdrawAllToVault();
      }
      _setStrategy(_strategy);
      IERC20Upgradeable(underlying()).safeApprove(address(strategy()), 0);
      IERC20Upgradeable(underlying()).safeApprove(address(strategy()), uint256(~0));
    }
    finalizeStrategyUpdate();
  }

  function setVaultFractionToInvest(uint256 numerator, uint256 denominator) external override onlyGovernance {
    require(denominator > 0, "denominator must be greater than 0");
    require(numerator <= denominator, "denominator must be greater than or equal to the numerator");
    _setVaultFractionToInvestNumerator(numerator);
    _setVaultFractionToInvestDenominator(denominator);
  }

  function rebalance() external onlyControllerOrGovernance {
    withdrawAll();
    invest();
  }

  function availableToInvestOut() public view returns (uint256) {
    uint256 wantInvestInTotal = underlyingBalanceWithInvestment()
        .mul(vaultFractionToInvestNumerator())
        .div(vaultFractionToInvestDenominator());
    uint256 alreadyInvested = IStrategy(strategy()).investedUnderlyingBalance();
    if (alreadyInvested >= wantInvestInTotal) {
      return 0;
    } else {
      uint256 remainingToInvest = wantInvestInTotal.sub(alreadyInvested);
      return remainingToInvest <= underlyingBalanceInVault()
        // TODO: we think that the "else" branch of the ternary operation is not
        // going to get hit
        ? remainingToInvest : underlyingBalanceInVault();
    }
  }

  function invest() internal whenStrategyDefined {
    uint256 availableAmount = availableToInvestOut();
    if (availableAmount > 0) {
      IERC20Upgradeable(underlying()).safeTransfer(address(strategy()), availableAmount);
      emit Invest(availableAmount);
    }
  }

  /*
  * Allows for depositing the underlying asset in exchange for shares.
  * Approval is assumed.
  */
  function deposit(uint256 amount) external override defense {
    _deposit(amount, msg.sender, msg.sender);
  }

  /*
  * Allows for depositing the underlying asset in exchange for shares
  * assigned to the holder.
  * This facilitates depositing for someone else (using DepositHelper)
  */
  function depositFor(uint256 amount, address holder) public override defense {
    _deposit(amount, msg.sender, holder);
  }

  function withdrawAll() public onlyControllerOrGovernance override whenStrategyDefined {
    IStrategy(strategy()).withdrawAllToVault();
  }

  function withdraw(uint256 numberOfShares) override external {
    require(totalSupply() > 0, "Vault has no shares");
    require(numberOfShares > 0, "numberOfShares must be greater than 0");
    uint256 totalSupply = totalSupply();
    _burn(msg.sender, numberOfShares);

    uint256 underlyingAmountToWithdraw = underlyingBalanceWithInvestment()
        .mul(numberOfShares)
        .div(totalSupply);
    if (underlyingAmountToWithdraw > underlyingBalanceInVault()) {
      // withdraw everything from the strategy to accurately check the share value
      if (numberOfShares == totalSupply) {
        IStrategy(strategy()).withdrawAllToVault();
      } else {
        uint256 missing = underlyingAmountToWithdraw.sub(underlyingBalanceInVault());
        IStrategy(strategy()).withdrawToVault(missing);
      }
      // recalculate to improve accuracy
      underlyingAmountToWithdraw = MathUpgradeable.min(underlyingBalanceWithInvestment()
          .mul(numberOfShares)
          .div(totalSupply), underlyingBalanceInVault());
    }

    IERC20Upgradeable(underlying()).safeTransfer(msg.sender, underlyingAmountToWithdraw);

    // update the withdrawal amount for the holder
    emit Withdraw(msg.sender, underlyingAmountToWithdraw);
  }

  function _deposit(uint256 amount, address sender, address beneficiary) internal {
    require(amount > 0, "Cannot deposit 0");
    require(beneficiary != address(0), "holder must be defined");

    if (address(strategy()) != address(0)) {
      require(IStrategy(strategy()).depositArbCheck(), "Too much arb");
    }

    uint256 toMint = totalSupply() == 0
        ? amount
        : amount.mul(totalSupply()).div(underlyingBalanceWithInvestment());
    _mint(beneficiary, toMint);

    IERC20Upgradeable(underlying()).safeTransferFrom(sender, address(this), amount);

    // update the contribution amount for the beneficiary
    emit Deposit(beneficiary, amount);
  }

  /**
  * Schedules an upgrade for this vault's proxy.
  */
  function scheduleUpgrade(address impl) public onlyGovernance {
    _setNextImplementation(impl);
    _setNextImplementationTimestamp(block.timestamp.add(nextImplementationDelay()));
  }

  function shouldUpgrade() external view override returns (bool, address) {
    return (
      nextImplementationTimestamp() != 0
        && block.timestamp > nextImplementationTimestamp()
        && nextImplementation() != address(0),
      nextImplementation()
    );
  }

  function finalizeUpgrade() external override onlyGovernance {
    _setNextImplementation(address(0));
    _setNextImplementationTimestamp(0);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Invest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newStrategy","type":"address"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"StrategyAnnounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newStrategy","type":"address"},{"indexed":false,"internalType":"address","name":"oldStrategy","type":"address"}],"name":"StrategyChanged","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"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":"_strategy","type":"address"}],"name":"announceStrategyUpdate","outputs":[],"stateMutability":"nonpayable","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":[],"name":"availableToInvestOut","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":[{"internalType":"address","name":"_strategy","type":"address"}],"name":"canUpdateStrategy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"amount","type":"uint256"},{"internalType":"address","name":"holder","type":"address"}],"name":"depositFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"doHardWork","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizeStrategyUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizeUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"futureStrategy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address","name":"_underlying","type":"address"},{"internalType":"uint256","name":"_toInvestNumerator","type":"uint256"},{"internalType":"uint256","name":"_toInvestDenominator","type":"uint256"},{"internalType":"uint256","name":"_underlyingUnit","type":"uint256"},{"internalType":"uint256","name":"_implementationChangeDelay","type":"uint256"},{"internalType":"uint256","name":"_strategyChangeDelay","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_storage","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_storage","type":"address"},{"internalType":"address","name":"_underlying","type":"address"},{"internalType":"uint256","name":"_toInvestNumerator","type":"uint256"},{"internalType":"uint256","name":"_toInvestDenominator","type":"uint256"}],"name":"initializeVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextImplementationDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextImplementationTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"impl","type":"address"}],"name":"scheduleUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_store","type":"address"}],"name":"setStorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategy","type":"address"}],"name":"setStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"setVaultFractionToInvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shouldUpgrade","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategyTimeLock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategyUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"underlyingBalanceInVault","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"underlyingBalanceWithInvestment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"}],"name":"underlyingBalanceWithInvestmentForHolder","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"underlyingUnit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vaultFractionToInvestDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vaultFractionToInvestNumerator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfShares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061439f806100206000396000f3fe608060405234801561001057600080fd5b50600436106102955760003560e01c80637d7c2a1c11610167578063a8c62e76116100ce578063c4d66de811610087578063c4d66de81461071f578063dd62ed3e14610745578063eda199aa14610773578063f0cf91e71461077b578063f2768c1e146107a1578063f77c4791146107a957610295565b8063a8c62e76146106b6578063a9059cbb146106be578063aa044625146106ea578063b592c390146106f2578063b6b55f25146106fa578063c2baf3561461071757610295565b806395d89b411161012057806395d89b41146106245780639a508c8e1461062c5780639d16acfd14610634578063a457c2d71461065f578063a5b1a24d1461068b578063a8365693146106ae57610295565b80637d7c2a1c1461058457806382de9c1b1461058c578063853828b6146105945780638cb1d67f1461059c5780638fc1708c146105c25780639137c1a7146105fe57610295565b806333a100ca1161020b57806353ceb01c116101c457806353ceb01c146105365780635aa6e6751461053e5780635fe51e6d146105465780636f307dc31461054e57806370a082311461055657806377c7b8fc1461057c57610295565b806333a100ca1461046457806336efd16f1461048a57806339509351146104b657806345ff4c80146104e25780634af1758b146105265780634fa5d8541461052e57610295565b80630c80447a1161025d5780630c80447a146103bd57806318160ddd146103e35780631bf8e7be146103eb57806323b872dd146103f35780632e1a7d4d14610429578063313ce5671461044657610295565b806306fdde031461029a578063095ea7b31461031757806309ff18f0146103575780630a6bbeb31461037b5780630ad2239d146103a3575b600080fd5b6102a26107b1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102dc5781810151838201526020016102c4565b50505050905090810190601f1680156103095780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103436004803603604081101561032d57600080fd5b506001600160a01b038135169060200135610848565b604080519115158252519081900360200190f35b61035f610866565b604080516001600160a01b039092168252519081900360200190f35b6103a16004803603602081101561039157600080fd5b50356001600160a01b0316610875565b005b6103ab610a27565b60408051918252519081900360200190f35b6103a1600480360360208110156103d357600080fd5b50356001600160a01b0316610a31565b6103ab610b12565b6103ab610b18565b6103436004803603606081101561040957600080fd5b506001600160a01b03813581169160208101359091169060400135610bbe565b6103a16004803603602081101561043f57600080fd5b5035610c46565b61044e610e7b565b6040805160ff9092168252519081900360200190f35b6103a16004803603602081101561047a57600080fd5b50356001600160a01b0316610e84565b6103a1600480360360408110156104a057600080fd5b50803590602001356001600160a01b0316611316565b610343600480360360408110156104cc57600080fd5b506001600160a01b0381351690602001356113eb565b6103a1600480360360c08110156104f857600080fd5b506001600160a01b038135169060208101359060408101359060608101359060808101359060a00135611439565b6103ab61153f565b6103a1611549565b6103ab611750565b61035f61175a565b61035f6117cd565b61035f6117d7565b6103ab6004803603602081101561056c57600080fd5b50356001600160a01b03166117e1565b6103ab611800565b6103a161183a565b6103ab61198e565b6103a1611998565b6103ab600480360360208110156105b257600080fd5b50356001600160a01b0316611b7d565b6103a1600480360360808110156105d857600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135611bb2565b6103a16004803603602081101561061457600080fd5b50356001600160a01b031661212d565b6102a2612253565b6103a16122b4565b61063c61238a565b6040805192151583526001600160a01b0390911660208301528051918290030190f35b6103436004803603604081101561067557600080fd5b506001600160a01b0381351690602001356123d6565b6103a1600480360360408110156106a157600080fd5b508035906020013561243e565b6103ab612590565b61035f61259a565b610343600480360360408110156106d457600080fd5b506001600160a01b0381351690602001356125a4565b6103ab6125b8565b6103ab6125c2565b6103a16004803603602081101561071057600080fd5b5035612695565b6103ab612766565b6103a16004803603602081101561073557600080fd5b50356001600160a01b03166127bc565b6103ab6004803603604081101561075b57600080fd5b506001600160a01b0381358116916020013516612867565b6103a1612892565b6103436004803603602081101561079157600080fd5b50356001600160a01b03166129e8565b6103ab612a49565b61035f612a53565b60368054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561083d5780601f106108125761010080835404028352916020019161083d565b820191906000526020600020905b81548152906001019060200180831161082057829003601f168201915b505050505090505b90565b600061085c610855612a95565b8484612a99565b5060015b92915050565b6000610870612b85565b905090565b61087d612bb0565b6001600160a01b031663b429afeb336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156108c957600080fd5b505afa1580156108dd573d6000803e3d6000fd5b505050506040513d60208110156108f357600080fd5b50518061097c5750610903612bb0565b6001600160a01b031663dee1f0e4336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561094f57600080fd5b505afa158015610963573d6000803e3d6000fd5b505050506040513d602081101561097957600080fd5b50515b6109b75760405162461bcd60e51b815260040180806020018281038252602b815260200180613fea602b913960400191505060405180910390fd5b60006109cb6109c4610a27565b4290612bd5565b90506109d681612c2f565b6109df82612c59565b604080516001600160a01b03841681526020810183905281517f7d5e1cfe55788983acd19d248da36a27c9413e8e43445ed36a76ae0e741a04ed929181900390910190a15050565b6000610870612c83565b610a39612bb0565b6001600160a01b031663dee1f0e4336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610a8557600080fd5b505afa158015610a99573d6000803e3d6000fd5b505050506040513d6020811015610aaf57600080fd5b5051610af3576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b610afc81612cae565b610b0f610b0a6109c4612590565b612cd8565b50565b60355490565b600080610b2361259a565b6001600160a01b03161415610b4157610b3a612766565b9050610845565b610870610b4c61259a565b6001600160a01b03166345d01e4a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b8457600080fd5b505afa158015610b98573d6000803e3d6000fd5b505050506040513d6020811015610bae57600080fd5b5051610bb8612766565b90612bd5565b6000610bcb848484612d02565b610c3b84610bd7612a95565b610c36856040518060600160405280602881526020016141f4602891396001600160a01b038a16600090815260346020526040812090610c15612a95565b6001600160a01b031681526020810191909152604001600020549190612e5f565b612a99565b5060015b9392505050565b6000610c50610b12565b11610c98576040805162461bcd60e51b81526020600482015260136024820152725661756c7420686173206e6f2073686172657360681b604482015290519081900360640190fd5b60008111610cd75760405162461bcd60e51b81526004018080602001828103825260258152602001806142566025913960400191505060405180910390fd5b6000610ce1610b12565b9050610ced3383612ef6565b6000610d0b82610d0585610cff610b18565b90612ff2565b9061304b565b9050610d15612766565b811115610e235781831415610d8357610d2c61259a565b6001600160a01b031663bfd131f16040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610d6657600080fd5b505af1158015610d7a573d6000803e3d6000fd5b50505050610e00565b6000610d97610d90612766565b83906130b2565b9050610da161259a565b6001600160a01b031663ce8c42e8826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610de657600080fd5b505af1158015610dfa573d6000803e3d6000fd5b50505050505b610e20610e1383610d0586610cff610b18565b610e1b612766565b61310f565b90505b610e403382610e306117d7565b6001600160a01b03169190613125565b60408051828152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a2505050565b60385460ff1690565b610e8c612bb0565b6001600160a01b031663b429afeb336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610ed857600080fd5b505afa158015610eec573d6000803e3d6000fd5b505050506040513d6020811015610f0257600080fd5b505180610f8b5750610f12612bb0565b6001600160a01b031663dee1f0e4336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610f5e57600080fd5b505afa158015610f72573d6000803e3d6000fd5b505050506040513d6020811015610f8857600080fd5b50515b610fc65760405162461bcd60e51b815260040180806020018281038252602b815260200180613fea602b913960400191505060405180910390fd5b610fcf816129e8565b61100a5760405162461bcd60e51b815260040180806020018281038252603a81526020018061421c603a913960400191505060405180910390fd5b6001600160a01b038116611065576040805162461bcd60e51b815260206004820152601d60248201527f6e6577205f73747261746567792063616e6e6f7420626520656d707479000000604482015290519081900360640190fd5b61106d6117d7565b6001600160a01b0316816001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b1580156110af57600080fd5b505afa1580156110c3573d6000803e3d6000fd5b505050506040513d60208110156110d957600080fd5b50516001600160a01b0316146111205760405162461bcd60e51b815260040180806020018281038252602f815260200180614176602f913960400191505060405180910390fd5b306001600160a01b0316816001600160a01b031663fbfa77cf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561116357600080fd5b505afa158015611177573d6000803e3d6000fd5b505050506040513d602081101561118d57600080fd5b50516001600160a01b0316146111d45760405162461bcd60e51b815260040180806020018281038252602a81526020018061409e602a913960400191505060405180910390fd5b7f254c88e7a2ea123aeeb89b7cc413fb949188fefcdb7584c4f3d493294daf65c5816111fe61259a565b60405180836001600160a01b03168152602001826001600160a01b031681526020019250505060405180910390a161123461259a565b6001600160a01b0316816001600160a01b03161461130e57600061125661259a565b6001600160a01b0316146112e45761128961126f61259a565b60006112796117d7565b6001600160a01b0316919061317c565b61129161259a565b6001600160a01b031663bfd131f16040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156112cb57600080fd5b505af11580156112df573d6000803e3d6000fd5b505050505b6112ed8161328f565b6112f861126f61259a565b61130e61130361259a565b6000196112796117d7565b610b0f612892565b333214806113a15750611327612a53565b6001600160a01b03166330e412ad336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561137357600080fd5b505afa158015611387573d6000803e3d6000fd5b505050506040513d602081101561139d57600080fd5b5051155b6113dc5760405162461bcd60e51b815260040180806020018281038252602881526020018061414e6028913960400191505060405180910390fd5b6113e78233836132b9565b5050565b600061085c6113f8612a95565b84610c368560346000611409612a95565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612bd5565b600054610100900460ff168061145257506114526134bc565b80611460575060005460ff16155b61149b5760405162461bcd60e51b815260040180806020018281038252602e8152602001806141a5602e913960400191505060405180910390fd5b600054610100900460ff161580156114c6576000805460ff1961ff0019909116610100171660011790555b6114cf876134cd565b6114d8866134f7565b6114e185613521565b6114ea8461354b565b6114f383613575565b6114fc8261359f565b6115066000612c2f565b6115106000612c59565b61151a60006135c9565b61152460006135f3565b8015611536576000805461ff00191690555b50505050505050565b600061087061361d565b600061155361259a565b6001600160a01b031614156115aa576040805162461bcd60e51b815260206004820152601860248201527714dd1c985d1959de481b5d5cdd081899481919599a5b995960421b604482015290519081900360640190fd5b6115b2612bb0565b6001600160a01b031663b429afeb336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156115fe57600080fd5b505afa158015611612573d6000803e3d6000fd5b505050506040513d602081101561162857600080fd5b5051806116b15750611638612bb0565b6001600160a01b031663dee1f0e4336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561168457600080fd5b505afa158015611698573d6000803e3d6000fd5b505050506040513d60208110156116ae57600080fd5b50515b6116ec5760405162461bcd60e51b815260040180806020018281038252602b815260200180613fea602b913960400191505060405180910390fd5b6116f4613648565b6116fc61259a565b6001600160a01b0316634fa5d8546040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561173657600080fd5b505af115801561174a573d6000803e3d6000fd5b50505050565b6000610870613705565b6000611764612bb0565b6001600160a01b0316635aa6e6756040518163ffffffff1660e01b815260040160206040518083038186803b15801561179c57600080fd5b505afa1580156117b0573d6000803e3d6000fd5b505050506040513d60208110156117c657600080fd5b5051905090565b6000610870613730565b600061087061375b565b6001600160a01b0381166000908152603360205260409020545b919050565b600061180a610b12565b156118325761182d61181a610b12565b610d05611825610b18565b610cff611750565b610870565b610870611750565b611842612bb0565b6001600160a01b031663b429afeb336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561188e57600080fd5b505afa1580156118a2573d6000803e3d6000fd5b505050506040513d60208110156118b857600080fd5b50518061194157506118c8612bb0565b6001600160a01b031663dee1f0e4336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561191457600080fd5b505afa158015611928573d6000803e3d6000fd5b505050506040513d602081101561193e57600080fd5b50515b61197c5760405162461bcd60e51b815260040180806020018281038252602b815260200180613fea602b913960400191505060405180910390fd5b611984611998565b61198c613648565b565b6000610870613786565b6119a0612bb0565b6001600160a01b031663b429afeb336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156119ec57600080fd5b505afa158015611a00573d6000803e3d6000fd5b505050506040513d6020811015611a1657600080fd5b505180611a9f5750611a26612bb0565b6001600160a01b031663dee1f0e4336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611a7257600080fd5b505afa158015611a86573d6000803e3d6000fd5b505050506040513d6020811015611a9c57600080fd5b50515b611ada5760405162461bcd60e51b815260040180806020018281038252602b815260200180613fea602b913960400191505060405180910390fd5b6000611ae461259a565b6001600160a01b03161415611b3b576040805162461bcd60e51b815260206004820152601860248201527714dd1c985d1959de481b5d5cdd081899481919599a5b995960421b604482015290519081900360640190fd5b611b4361259a565b6001600160a01b031663bfd131f16040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561173657600080fd5b6000611b87610b12565b611b93575060006117fb565b610860611b9e610b12565b610d05611baa856117e1565b610cff610b18565b600054610100900460ff1680611bcb5750611bcb6134bc565b80611bd9575060005460ff16155b611c145760405162461bcd60e51b815260040180806020018281038252602e8152602001806141a5602e913960400191505060405180910390fd5b600054610100900460ff16158015611c3f576000805460ff1961ff0019909116610100171660011790555b81831115611c94576040805162461bcd60e51b815260206004820152601c60248201527f63616e6e6f7420696e76657374206d6f7265207468616e203130302500000000604482015290519081900360640190fd5b81611cdb576040805162461bcd60e51b8152602060048201526012602482015271063616e6e6f742064697669646520627920360741b604482015290519081900360640190fd5b61201a846001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015611d1757600080fd5b505afa158015611d2b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611d5457600080fd5b8101908080516040519392919084640100000000821115611d7457600080fd5b908301906020820185811115611d8957600080fd5b8251640100000000811182820188101715611da357600080fd5b82525081516020918201929091019080838360005b83811015611dd0578181015183820152602001611db8565b50505050905090810190601f168015611dfd5780820380516001836020036101000a031916815260200191505b506040525050506040516020018080666d694641524d5f60c81b81525060070182805190602001908083835b60208310611e485780518252601f199092019160209182019101611e29565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052856001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015611eb557600080fd5b505afa158015611ec9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611ef257600080fd5b8101908080516040519392919084640100000000821115611f1257600080fd5b908301906020820185811115611f2757600080fd5b8251640100000000811182820188101715611f4157600080fd5b82525081516020918201929091019080838360005b83811015611f6e578181015183820152602001611f56565b50505050905090810190601f168015611f9b5780820380516001836020036101000a031916815260200191505b50604052505050604051602001808061313360f11b81525060020182805190602001908083835b60208310611fe15780518252601f199092019160209182019101611fc2565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040526137b1565b612087846001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561205657600080fd5b505afa15801561206a573d6000803e3d6000fd5b505050506040513d602081101561208057600080fd5b5051613866565b612090856127bc565b6000846001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156120cb57600080fd5b505afa1580156120df573d6000803e3d6000fd5b505050506040513d60208110156120f557600080fd5b505160ff16600a0a905061a8c080612111878787868580611439565b5050508015612126576000805461ff00191690555b5050505050565b612135612bb0565b6001600160a01b031663dee1f0e4336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561218157600080fd5b505afa158015612195573d6000803e3d6000fd5b505050506040513d60208110156121ab57600080fd5b50516121ef576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b03811661224a576040805162461bcd60e51b815260206004820152601e60248201527f6e65772073746f726167652073686f756c646e277420626520656d7074790000604482015290519081900360640190fd5b610b0f8161387c565b60378054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561083d5780601f106108125761010080835404028352916020019161083d565b6122bc612bb0565b6001600160a01b031663dee1f0e4336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561230857600080fd5b505afa15801561231c573d6000803e3d6000fd5b505050506040513d602081101561233257600080fd5b5051612376576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6123806000612cae565b61198c6000612cd8565b60008061239561198e565b158015906123a957506123a661198e565b42115b80156123c6575060006123ba610866565b6001600160a01b031614155b6123ce610866565b915091509091565b600061085c6123e3612a95565b84610c3685604051806060016040528060258152602001614345602591396034600061240d612a95565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612e5f565b612446612bb0565b6001600160a01b031663dee1f0e4336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561249257600080fd5b505afa1580156124a6573d6000803e3d6000fd5b505050506040513d60208110156124bc57600080fd5b5051612500576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6000811161253f5760405162461bcd60e51b81526004018080602001828103825260228152602001806140386022913960400191505060405180910390fd5b8082111561257e5760405162461bcd60e51b815260040180806020018281038252603a8152602001806140c8603a913960400191505060405180910390fd5b612587826134f7565b6113e781613521565b60006108706138a0565b60006108706138cb565b600061085c6125b1612a95565b8484612d02565b60006108706138f6565b6000806125db6125d0612a49565b610d05611baa61153f565b905060006125e761259a565b6001600160a01b03166345d01e4a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561261f57600080fd5b505afa158015612633573d6000803e3d6000fd5b505050506040513d602081101561264957600080fd5b5051905081811061265f57600092505050610845565b600061266b83836130b2565b9050612675612766565b81111561268957612684612766565b61268b565b805b9350505050610845565b3332148061272057506126a6612a53565b6001600160a01b03166330e412ad336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156126f257600080fd5b505afa158015612706573d6000803e3d6000fd5b505050506040513d602081101561271c57600080fd5b5051155b61275b5760405162461bcd60e51b815260040180806020018281038252602881526020018061414e6028913960400191505060405180910390fd5b610b0f8133336132b9565b60006127706117d7565b6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561179c57600080fd5b600054610100900460ff16806127d557506127d56134bc565b806127e3575060005460ff16155b61281e5760405162461bcd60e51b815260040180806020018281038252602e8152602001806141a5602e913960400191505060405180910390fd5b600054610100900460ff16158015612849576000805460ff1961ff0019909116610100171660011790555b61285282613921565b80156113e7576000805461ff00191690555050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b61289a612bb0565b6001600160a01b031663b429afeb336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156128e657600080fd5b505afa1580156128fa573d6000803e3d6000fd5b505050506040513d602081101561291057600080fd5b5051806129995750612920612bb0565b6001600160a01b031663dee1f0e4336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561296c57600080fd5b505afa158015612980573d6000803e3d6000fd5b505050506040513d602081101561299657600080fd5b50515b6129d45760405162461bcd60e51b815260040180806020018281038252602b815260200180613fea602b913960400191505060405180910390fd5b6129de6000612c2f565b61198c6000612c59565b6000806129f361259a565b6001600160a01b031614806108605750612a0b6117cd565b6001600160a01b0316826001600160a01b0316148015612a315750612a2e6125b8565b42115b801561086057506000612a426125b8565b1192915050565b60006108706139b7565b6000612a5d612bb0565b6001600160a01b031663f77c47916040518163ffffffff1660e01b815260040160206040518083038186803b15801561179c57600080fd5b3390565b6001600160a01b038316612ade5760405162461bcd60e51b81526004018080602001828103825260248152602001806142c16024913960400191505060405180910390fd5b6001600160a01b038216612b235760405162461bcd60e51b815260040180806020018281038252602281526020018061407c6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006108707fb1acf527cd7cd1668b30e5a9a1c0d845714604de29ce560150922c9d8c0937df6139de565b7fa7ec62784904ff31cbcc32d09932a58e7f1e4476e1d041995b37c917990b16dc5490565b600082820183811015610c3f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b610b0f7f56e7c0e75875c6497f0de657009613a32558904b5c10771a825cc330feff7e72826139e2565b610b0f7fb441b53a4e42c2ca9182bc7ede99bedba7a5d9360d9dfbd31fa8ee2dc8590610826139e2565b60006108707f6d02338b2e4c913c0f7d380e2798409838a48a2c4d57d52742a808c82d713d8b6139de565b610b0f7fb1acf527cd7cd1668b30e5a9a1c0d845714604de29ce560150922c9d8c0937df826139e2565b610b0f7f3bc747f4b148b37be485de3223c90b4468252967d2ea7f9fcbd8b6e653f434c9826139e2565b6001600160a01b038316612d475760405162461bcd60e51b815260040180806020018281038252602581526020018061429c6025913960400191505060405180910390fd5b6001600160a01b038216612d8c5760405162461bcd60e51b81526004018080602001828103825260238152602001806140156023913960400191505060405180910390fd5b612d97838383613177565b612dd481604051806060016040528060268152602001614102602691396001600160a01b0386166000908152603360205260409020549190612e5f565b6001600160a01b038085166000908152603360205260408082209390935590841681522054612e039082612bd5565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115612eee5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612eb3578181015183820152602001612e9b565b50505050905090810190601f168015612ee05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216612f3b5760405162461bcd60e51b815260040180806020018281038252602181526020018061427b6021913960400191505060405180910390fd5b612f4782600083613177565b612f848160405180606001604052806022815260200161405a602291396001600160a01b0385166000908152603360205260409020549190612e5f565b6001600160a01b038316600090815260336020526040902055603554612faa90826130b2565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60008261300157506000610860565b8282028284828161300e57fe5b0414610c3f5760405162461bcd60e51b81526004018080602001828103825260218152602001806141d36021913960400191505060405180910390fd5b60008082116130a1576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816130aa57fe5b049392505050565b600082821115613109576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600081831061311e5781610c3f565b5090919050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526131779084906139e6565b505050565b801580613202575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156131d457600080fd5b505afa1580156131e8573d6000803e3d6000fd5b505050506040513d60208110156131fe57600080fd5b5051155b61323d5760405162461bcd60e51b815260040180806020018281038252603681526020018061430f6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526131779084906139e6565b610b0f7ff1a169aa0f736c2813818fdfbdc5755c31e0839c8f49831a16543496b28574ea826139e2565b60008311613301576040805162461bcd60e51b815260206004820152601060248201526f043616e6e6f74206465706f73697420360841b604482015290519081900360640190fd5b6001600160a01b038116613355576040805162461bcd60e51b81526020600482015260166024820152751a1bdb19195c881b5d5cdd081899481919599a5b995960521b604482015290519081900360640190fd5b600061335f61259a565b6001600160a01b0316146134195761337561259a565b6001600160a01b031663c2a2a07b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156133ad57600080fd5b505afa1580156133c1573d6000803e3d6000fd5b505050506040513d60208110156133d757600080fd5b5051613419576040805162461bcd60e51b815260206004820152600c60248201526b2a37b79036bab1b41030b93160a11b604482015290519081900360640190fd5b6000613423610b12565b1561344a57613445613433610b18565b610d0561343e610b12565b8790612ff2565b61344c565b835b90506134588282613a97565b6134778330866134666117d7565b6001600160a01b0316929190613b89565b6040805185815290516001600160a01b038416917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a250505050565b60006134c730613be3565b15905090565b610b0f7f1994607607e11d53306ef62e45e3bd85762c58d9bf38b5578bc4a258a26a7371826139e2565b610b0f7f39122c9adfb653455d0c05043bd52fcfbc2be864e832efd3abc72ce5a3d7ed5a826139e2565b610b0f7f469a3bad2fab7b936c45eecd1f5da52af89cead3e2ed7f732b6f3fc92ed32308826139e2565b610b0f7fa66bc57d4b4eed7c7687876ca77997588987307cb13ecc23f5e52725192e5fff826139e2565b610b0f7f82ddc3be3f0c1a6870327f78f4979a0b37b21b16736ef5be6a7a7a35e530bcf0826139e2565b610b0f7f6d02338b2e4c913c0f7d380e2798409838a48a2c4d57d52742a808c82d713d8b826139e2565b610b0f7f22f7033891e85fc76735ebd320e0d3f546da431c4729c2f6d2613b11923aaaed82613be9565b610b0f7f4215fbb95dc0890d3e1660fb9089350f2d3f350c0a756934874cae6febf42a7982613be9565b60006108707f39122c9adfb653455d0c05043bd52fcfbc2be864e832efd3abc72ce5a3d7ed5a6139de565b600061365261259a565b6001600160a01b031614156136a9576040805162461bcd60e51b815260206004820152601860248201527714dd1c985d1959de481b5d5cdd081899481919599a5b995960421b604482015290519081900360640190fd5b60006136b36125c2565b90508015610b0f576136cf6136c661259a565b82610e306117d7565b6040805182815290517fa09b7ae452b7bffb9e204c3a016e80caeecf46f554d112644f36fa114dac6ffa9181900360200190a150565b60006108707fa66bc57d4b4eed7c7687876ca77997588987307cb13ecc23f5e52725192e5fff6139de565b60006108707fb441b53a4e42c2ca9182bc7ede99bedba7a5d9360d9dfbd31fa8ee2dc85906106139de565b60006108707f1994607607e11d53306ef62e45e3bd85762c58d9bf38b5578bc4a258a26a73716139de565b60006108707f3bc747f4b148b37be485de3223c90b4468252967d2ea7f9fcbd8b6e653f434c96139de565b600054610100900460ff16806137ca57506137ca6134bc565b806137d8575060005460ff16155b6138135760405162461bcd60e51b815260040180806020018281038252602e8152602001806141a5602e913960400191505060405180910390fd5b600054610100900460ff1615801561383e576000805460ff1961ff0019909116610100171660011790555b613846613c04565b6138508383613ca5565b8015613177576000805461ff0019169055505050565b6038805460ff191660ff92909216919091179055565b7fa7ec62784904ff31cbcc32d09932a58e7f1e4476e1d041995b37c917990b16dc55565b60006108707f82ddc3be3f0c1a6870327f78f4979a0b37b21b16736ef5be6a7a7a35e530bcf06139de565b60006108707ff1a169aa0f736c2813818fdfbdc5755c31e0839c8f49831a16543496b28574ea6139de565b60006108707f56e7c0e75875c6497f0de657009613a32558904b5c10771a825cc330feff7e726139de565b600054610100900460ff168061393a575061393a6134bc565b80613948575060005460ff16155b6139835760405162461bcd60e51b815260040180806020018281038252602e8152602001806141a5602e913960400191505060405180910390fd5b600054610100900460ff161580156139ae576000805460ff1961ff0019909116610100171660011790555b6128528261387c565b60006108707f469a3bad2fab7b936c45eecd1f5da52af89cead3e2ed7f732b6f3fc92ed323085b5490565b9055565b6060613a3b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613d7d9092919063ffffffff16565b80519091501561317757808060200190516020811015613a5a57600080fd5b50516131775760405162461bcd60e51b815260040180806020018281038252602a8152602001806142e5602a913960400191505060405180910390fd5b6001600160a01b038216613af2576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b613afe60008383613177565b603554613b0b9082612bd5565b6035556001600160a01b038216600090815260336020526040902054613b319082612bd5565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261174a9085906139e6565b3b151590565b6113e78282613bf9576000613bfc565b60015b60ff166139e2565b600054610100900460ff1680613c1d5750613c1d6134bc565b80613c2b575060005460ff16155b613c665760405162461bcd60e51b815260040180806020018281038252602e8152602001806141a5602e913960400191505060405180910390fd5b600054610100900460ff16158015613c91576000805460ff1961ff0019909116610100171660011790555b8015610b0f576000805461ff001916905550565b600054610100900460ff1680613cbe5750613cbe6134bc565b80613ccc575060005460ff16155b613d075760405162461bcd60e51b815260040180806020018281038252602e8152602001806141a5602e913960400191505060405180910390fd5b600054610100900460ff16158015613d32576000805460ff1961ff0019909116610100171660011790555b8251613d45906036906020860190613f56565b508151613d59906037906020850190613f56565b506038805460ff191660121790558015613177576000805461ff0019169055505050565b6060613d8c8484600085613d94565b949350505050565b606082471015613dd55760405162461bcd60e51b81526004018080602001828103825260268152602001806141286026913960400191505060405180910390fd5b613dde85613be3565b613e2f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310613e6e5780518252601f199092019160209182019101613e4f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613ed0576040519150601f19603f3d011682016040523d82523d6000602084013e613ed5565b606091505b5091509150613ee5828286613ef0565b979650505050505050565b60608315613eff575081610c3f565b825115613f0f5782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315612eb3578181015183820152602001612e9b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613f9757805160ff1916838001178555613fc4565b82800160010185558215613fc4579182015b82811115613fc4578251825591602001919060010190613fa9565b50613fd0929150613fd4565b5090565b5b80821115613fd05760008155600101613fd556fe5468652063616c6c6572206d75737420626520636f6e74726f6c6c6572206f7220676f7665726e616e636545524332303a207472616e7366657220746f20746865207a65726f206164647265737364656e6f6d696e61746f72206d7573742062652067726561746572207468616e203045524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737374686520737472617465677920646f6573206e6f742062656c6f6e6720746f2074686973207661756c7464656e6f6d696e61746f72206d7573742062652067726561746572207468616e206f7220657175616c20746f20746865206e756d657261746f7245524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5468697320736d61727420636f6e747261637420686173206265656e2067726579206c69737465645661756c7420756e6465726c79696e67206d757374206d6174636820537472617465677920756e6465726c79696e67496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655468652073747261746567792065786973747320616e64207377697463682074696d656c6f636b20646964206e6f7420656c61707365207965746e756d6265724f66536861726573206d7573742062652067726561746572207468616e203045524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122079ecc0f70bffaf2ba48aa8e3255cdce752d40577816726918c3d9e2186adaa3d64736f6c634300060c0033

Deployed ByteCode Sourcemap

52317:12073:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28101:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30247:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30247:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;54558:100;;;:::i;:::-;;;;-1:-1:-1;;;;;54558:100:0;;;;;;;;;;;;;;57899:310;;;;;;;;;;;;;;;;-1:-1:-1;57899:310:0;-1:-1:-1;;;;;57899:310:0;;:::i;:::-;;57404:97;;;:::i;:::-;;;;;;;;;;;;;;;;63761:188;;;;;;;;;;;;;;;;-1:-1:-1;63761:188:0;-1:-1:-1;;;;;63761:188:0;;:::i;29200:108::-;;;:::i;56315:316::-;;;:::i;30898:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30898:321:0;;;;;;;;;;;;;;;;;:::i;61729:1270::-;;;;;;;;;;;;;;;;-1:-1:-1;61729:1270:0;;:::i;29044:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;58447:1087;;;;;;;;;;;;;;;;-1:-1:-1;58447:1087:0;-1:-1:-1;;;;;58447:1087:0;;:::i;61451:125::-;;;;;;;;;;;;;;;;-1:-1:-1;61451:125:0;;;;;;-1:-1:-1;;;;;61451:125:0;;:::i;31628:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31628:218:0;;;;;;;;:::i;47200:716::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47200:716:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;54294:124::-;;;:::i;55726:196::-;;;:::i;54196:92::-;;;:::i;42842:104::-;;;:::i;57198:93::-;;;:::i;54097:::-;;;:::i;29371:127::-;;;;;;;;;;;;;;;;-1:-1:-1;29371:127:0;-1:-1:-1;;;;;29371:127:0;;:::i;56637:223::-;;;:::i;59938:98::-;;;:::i;54664:118::-;;;:::i;61582:141::-;;;:::i;56915:277::-;;;;;;;;;;;;;;;;-1:-1:-1;56915:277:0;-1:-1:-1;;;;;56915:277:0;;:::i;52977:1019::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52977:1019:0;;;;;;;;;;;;;;;;;;;;;;:::i;42471:160::-;;;;;;;;;;;;;;;;-1:-1:-1;42471:160:0;-1:-1:-1;;;;;42471:160:0;;:::i;28311:95::-;;;:::i;64239:148::-;;;:::i;63955:278::-;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;63955:278:0;;;;;;;;;;;;;;;;32349:269;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32349:269:0;;;;;;;;:::i;59540:392::-;;;;;;;;;;;;;;;;-1:-1:-1;59540:392:0;;;;;;;:::i;54788:110::-;;;:::i;54002:89::-;;;:::i;29711:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29711:175:0;;;;;;;;:::i;57297:101::-;;;:::i;60042:710::-;;;:::i;61149:112::-;;;;;;;;;;;;;;;;-1:-1:-1;61149:112:0;;:::i;56005:151::-;;;:::i;43209:114::-;;;;;;;;;;;;;;;;-1:-1:-1;43209:114:0;-1:-1:-1;;;;;43209:114:0;;:::i;29949:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29949:151:0;;;;;;;;;;:::i;58298:143::-;;;:::i;57507:307::-;;;;;;;;;;;;;;;;-1:-1:-1;57507:307:0;-1:-1:-1;;;;;57507:307:0;;:::i;54424:128::-;;;:::i;43676:104::-;;;:::i;28101:91::-;28179:5;28172:12;;;;;;;;-1:-1:-1;;28172:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28146:13;;28172:12;;28179:5;;28172:12;;28179:5;28172:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28101:91;;:::o;30247:169::-;30330:4;30347:39;30356:12;:10;:12::i;:::-;30370:7;30379:6;30347:8;:39::i;:::-;-1:-1:-1;30404:4:0;30247:169;;;;;:::o;54558:100::-;54608:7;54631:21;:19;:21::i;:::-;54624:28;;54558:100;:::o;57899:310::-;43516:10;:8;:10::i;:::-;-1:-1:-1;;;;;43508:32:0;;43541:10;43508:44;;;;;;;;;;;;;-1:-1:-1;;;;;43508:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43508:44:0;;:92;;;43564:10;:8;:10::i;:::-;-1:-1:-1;;;;;43556:32:0;;43589:10;43556:44;;;;;;;;;;;;;-1:-1:-1;;;;;43556:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43556:44:0;43508:92;43499:157;;;;-1:-1:-1;;;43499:157:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58032:12:::1;58047:39;58067:18;:16;:18::i;:::-;58047:15;::::0;:19:::1;:39::i;:::-;58032:54;;58093:28;58116:4;58093:22;:28::i;:::-;58128:29;58147:9;58128:18;:29::i;:::-;58169:34;::::0;;-1:-1:-1;;;;;58169:34:0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;43663:1;57899:310:::0;:::o;57404:97::-;57453:7;57476:19;:17;:19::i;63761:188::-;41961:10;:8;:10::i;:::-;-1:-1:-1;;;;;41953:32:0;;41986:10;41953:44;;;;;;;;;;;;;-1:-1:-1;;;;;41953:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41953:44:0;41945:71;;;;;-1:-1:-1;;;41945:71:0;;;;;;;;;;;;-1:-1:-1;;;41945:71:0;;;;;;;;;;;;;;;63829:28:::1;63852:4;63829:22;:28::i;:::-;63864:79;63896:46;63916:25;:23;:25::i;63896:46::-;63864:31;:79::i;:::-;63761:188:::0;:::o;29200:108::-;29288:12;;29200:108;:::o;56315:316::-;56388:7;;56416:10;:8;:10::i;:::-;-1:-1:-1;;;;;56408:33:0;;56404:127;;;56497:26;:24;:26::i;:::-;56490:33;;;;56404:127;56544:81;56585:10;:8;:10::i;:::-;-1:-1:-1;;;;;56575:47:0;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56575:49:0;56544:26;:24;:26::i;:::-;:30;;:81::i;30898:321::-;31004:4;31021:36;31031:6;31039:9;31050:6;31021:9;:36::i;:::-;31068:121;31077:6;31085:12;:10;:12::i;:::-;31099:89;31137:6;31099:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31099:19:0;;;;;;:11;:19;;;;;;31119:12;:10;:12::i;:::-;-1:-1:-1;;;;;31099:33:0;;;;;;;;;;;;-1:-1:-1;31099:33:0;;;:89;:37;:89::i;:::-;31068:8;:121::i;:::-;-1:-1:-1;31207:4:0;30898:321;;;;;;:::o;61729:1270::-;61820:1;61804:13;:11;:13::i;:::-;:17;61796:49;;;;;-1:-1:-1;;;61796:49:0;;;;;;;;;;;;-1:-1:-1;;;61796:49:0;;;;;;;;;;;;;;;61877:1;61860:14;:18;61852:68;;;;-1:-1:-1;;;61852:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61927:19;61949:13;:11;:13::i;:::-;61927:35;;61969:33;61975:10;61987:14;61969:5;:33::i;:::-;62011:34;62048:90;62126:11;62048:63;62096:14;62048:33;:31;:33::i;:::-;:47;;:63::i;:::-;:77;;:90::i;:::-;62011:127;;62178:26;:24;:26::i;:::-;62149;:55;62145:642;;;62321:11;62303:14;:29;62299:258;;;62355:10;:8;:10::i;:::-;-1:-1:-1;;;;;62345:40:0;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62299:258;;;62414:15;62432:58;62463:26;:24;:26::i;:::-;62432;;:30;:58::i;:::-;62414:76;;62511:10;:8;:10::i;:::-;-1:-1:-1;;;;;62501:37:0;;62539:7;62501:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62299:258;;62636:143;62656:94;62738:11;62656:65;62706:14;62656:33;:31;:33::i;:94::-;62752:26;:24;:26::i;:::-;62636:19;:143::i;:::-;62607:172;;62145:642;62795:84;62840:10;62852:26;62813:12;:10;:12::i;:::-;-1:-1:-1;;;;;62795:44:0;;:84;:44;:84::i;:::-;62945:48;;;;;;;;62954:10;;62945:48;;;;;;;;;;61729:1270;;;:::o;29044:91::-;29118:9;;;;29044:91;:::o;58447:1087::-;43516:10;:8;:10::i;:::-;-1:-1:-1;;;;;43508:32:0;;43541:10;43508:44;;;;;;;;;;;;;-1:-1:-1;;;;;43508:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43508:44:0;;:92;;;43564:10;:8;:10::i;:::-;-1:-1:-1;;;;;43556:32:0;;43589:10;43556:44;;;;;;;;;;;;;-1:-1:-1;;;;;43556:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43556:44:0;43508:92;43499:157;;;;-1:-1:-1;;;43499:157:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58545:28:::1;58563:9;58545:17;:28::i;:::-;58537:106;;;;-1:-1:-1::0;;;58537:106:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;58658:23:0;::::1;58650:65;;;::::0;;-1:-1:-1;;;58650:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;58775:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;58730:58:0::1;58740:9;-1:-1:-1::0;;;;;58730:31:0::1;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;58730:33:0;-1:-1:-1;;;;;58730:58:0::1;;58722:118;;;;-1:-1:-1::0;;;58722:118:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58895:4;-1:-1:-1::0;;;;;58855:45:0::1;58865:9;-1:-1:-1::0;;;;;58855:26:0::1;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;58855:28:0;-1:-1:-1;;;;;58855:45:0::1;;58847:100;;;;-1:-1:-1::0;;;58847:100:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58961:38;58977:9;58988:10;:8;:10::i;:::-;58961:38;;;;-1:-1:-1::0;;;;;58961:38:0::1;;;;;;-1:-1:-1::0;;;;;58961:38:0::1;;;;;;;;;;;;;;;;59040:10;:8;:10::i;:::-;-1:-1:-1::0;;;;;59010:41:0::1;59018:9;-1:-1:-1::0;;;;;59010:41:0::1;;59006:492;;59097:1;59074:10;:8;:10::i;:::-;-1:-1:-1::0;;;;;59066:33:0::1;;59062:235;;59167:67;59219:10;:8;:10::i;:::-;59232:1;59185:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;59167:43:0::1;::::0;:67;:43:::1;:67::i;:::-;59255:10;:8;:10::i;:::-;-1:-1:-1::0;;;;;59245:40:0::1;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;59062:235;59305:23;59318:9;59305:12;:23::i;:::-;59337:67;59389:10;:8;:10::i;59337:67::-;59413:77;59465:10;:8;:10::i;:::-;-1:-1:-1::0;;59431:12:0::1;:10;:12::i;59413:77::-;59504:24;:22;:24::i;61451:125::-:0;55136:10;55150:9;55136:23;;55135:233;;;55334:12;:10;:12::i;:::-;-1:-1:-1;;;;;55322:34:0;;55357:10;55322:46;;;;;;;;;;;;;-1:-1:-1;;;;;55322:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55322:46:0;55321:47;55135:233;55119:388;;;;-1:-1:-1;;;55119:388:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61534:36:::1;61543:6;61551:10;61563:6;61534:8;:36::i;:::-;61451:125:::0;;:::o;31628:218::-;31716:4;31733:83;31742:12;:10;:12::i;:::-;31756:7;31765:50;31804:10;31765:11;:25;31777:12;:10;:12::i;:::-;-1:-1:-1;;;;;31765:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;31765:25:0;;;:34;;;;;;;;;;;:38;:50::i;47200:716::-;23789:13;;;;;;;;:33;;;23806:16;:14;:16::i;:::-;23789:50;;;-1:-1:-1;23827:12:0;;;;23826:13;23789:50;23781:109;;;;-1:-1:-1;;;23781:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23903:19;23926:13;;;;;;23925:14;23950:101;;;;23985:13;:20;;-1:-1:-1;;;;23985:20:0;;;;;24020:19;24001:4;24020:19;;;23950:101;47451:27:::1;47466:11;47451:14;:27::i;:::-;47485:54;47520:18;47485:34;:54::i;:::-;47546:58;47583:20;47546:36;:58::i;:::-;47611:35;47630:15;47611:18;:35::i;:::-;47653:55;47681:26;47653:27;:55::i;:::-;47715:42;47736:20;47715;:42::i;:::-;47764:25;47787:1;47764:22;:25::i;:::-;47796:30;47823:1;47796:18;:30::i;:::-;47833:34;47861:5;47833:27;:34::i;:::-;47874:36;47904:5;47874:29;:36::i;:::-;24081:14:::0;24077:68;;;24128:5;24112:21;;-1:-1:-1;;24112:21:0;;;24077:68;47200:716;;;;;;;:::o;54294:124::-;54356:7;54379:33;:31;:33::i;55726:196::-;54981:1;54958:10;:8;:10::i;:::-;-1:-1:-1;;;;;54950:33:0;;;54942:70;;;;;-1:-1:-1;;;54942:70:0;;;;;;;;;;;;-1:-1:-1;;;54942:70:0;;;;;;;;;;;;;;;43516:10:::1;:8;:10::i;:::-;-1:-1:-1::0;;;;;43508:32:0::1;;43541:10;43508:44;;;;;;;;;;;;;-1:-1:-1::0;;;;;43508:44:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;43508:44:0;;:92:::1;;;43564:10;:8;:10::i;:::-;-1:-1:-1::0;;;;;43556:32:0::1;;43589:10;43556:44;;;;;;;;;;;;;-1:-1:-1::0;;;;;43556:44:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;43556:44:0;43508:92:::1;43499:157;;;;-1:-1:-1::0;;;43499:157:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55867:8:::2;:6;:8::i;:::-;55892:10;:8;:10::i;:::-;-1:-1:-1::0;;;;;55882:32:0::2;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;55726:196::o:0;54196:92::-;54242:7;54265:17;:15;:17::i;42842:104::-;42885:7;42916:10;:8;:10::i;:::-;-1:-1:-1;;;;;42908:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42908:32:0;;-1:-1:-1;42842:104:0;:::o;57198:93::-;57245:7;57268:17;:15;:17::i;54097:93::-;54148:7;54171:13;:11;:13::i;29371:127::-;-1:-1:-1;;;;;29472:18:0;;29445:7;29472:18;;;:9;:18;;;;;;29371:127;;;;:::o;56637:223::-;56699:7;56722:13;:11;:13::i;:::-;:18;:132;;56780:74;56840:13;:11;:13::i;:::-;56780:55;56801:33;:31;:33::i;:::-;56780:16;:14;:16::i;:74::-;56722:132;;;56752:16;:14;:16::i;59938:98::-;43516:10;:8;:10::i;:::-;-1:-1:-1;;;;;43508:32:0;;43541:10;43508:44;;;;;;;;;;;;;-1:-1:-1;;;;;43508:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43508:44:0;;:92;;;43564:10;:8;:10::i;:::-;-1:-1:-1;;;;;43556:32:0;;43589:10;43556:44;;;;;;;;;;;;;-1:-1:-1;;;;;43556:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43556:44:0;43508:92;43499:157;;;;-1:-1:-1;;;43499:157:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60002:13:::1;:11;:13::i;:::-;60022:8;:6;:8::i;:::-;59938:98::o:0;54664:118::-;54723:7;54746:30;:28;:30::i;61582:141::-;43516:10;:8;:10::i;:::-;-1:-1:-1;;;;;43508:32:0;;43541:10;43508:44;;;;;;;;;;;;;-1:-1:-1;;;;;43508:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43508:44:0;;:92;;;43564:10;:8;:10::i;:::-;-1:-1:-1;;;;;43556:32:0;;43589:10;43556:44;;;;;;;;;;;;;-1:-1:-1;;;;;43556:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43556:44:0;43508:92;43499:157;;;;-1:-1:-1;;;43499:157:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54981:1:::1;54958:10;:8;:10::i;:::-;-1:-1:-1::0;;;;;54950:33:0::1;;;54942:70;;;::::0;;-1:-1:-1;;;54942:70:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;54942:70:0;;;;;;;;;;;;;::::1;;61685:10:::2;:8;:10::i;:::-;-1:-1:-1::0;;;;;61675:40:0::2;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;56915:277:::0;57013:7;57033:13;:11;:13::i;:::-;57029:49;;-1:-1:-1;57069:1:0;57062:8;;57029:49;57091:95;57172:13;:11;:13::i;:::-;57091:66;57139:17;57149:6;57139:9;:17::i;:::-;57091:33;:31;:33::i;52977:1019::-;23789:13;;;;;;;;:33;;;23806:16;:14;:16::i;:::-;23789:50;;;-1:-1:-1;23827:12:0;;;;23826:13;23789:50;23781:109;;;;-1:-1:-1;;;23781:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23903:19;23926:13;;;;;;23925:14;23950:101;;;;23985:13;:20;;-1:-1:-1;;;;23985:20:0;;;;;24020:19;24001:4;24020:19;;;23950:101;53180:20:::1;53158:18;:42;;53150:83;;;::::0;;-1:-1:-1;;;53150:83:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;53248:25:::0;53240:56:::1;;;::::0;;-1:-1:-1;;;53240:56:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;53240:56:0;;;;;;;;;;;;;::::1;;53305:182;53378:11;-1:-1:-1::0;;;;;53361:36:0::1;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;53361:38:0::1;::::0;::::1;;::::0;::::1;::::0;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;-1:-1:-1;53361:38:0::1;;;;;::::0;::::1;;::::0;;-1:-1:-1;53361:38:0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;53333:67;;;;;;-1:-1:-1::0;;;53333:67:0::1;;::::0;::::1;;;;;;;;;;;;;;;;;;::::0;;;;-1:-1:-1;;53333:67:0;;;;::::1;::::0;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53457:11;-1:-1:-1::0;;;;;53440:36:0::1;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;53440:38:0::1;::::0;::::1;;::::0;::::1;::::0;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;-1:-1:-1;53440:38:0::1;;;;;::::0;::::1;;::::0;;-1:-1:-1;53440:38:0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;53417:62;;;;;;-1:-1:-1::0;;;53417:62:0::1;;::::0;::::1;;;;;;;;;;;;;;;;;;::::0;;;;-1:-1:-1;;53417:62:0;;;;::::1;::::0;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53305:12;:182::i;:::-;53494:56;53526:11;-1:-1:-1::0;;;;;53509:38:0::1;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;53509:40:0;53494:14:::1;:56::i;:::-;53559:51;53595:8;53559:27;:51::i;:::-;53619:22;53683:11;-1:-1:-1::0;;;;;53658:47:0::1;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;53658:49:0;53650:58:::1;;53644:2;:64;::::0;-1:-1:-1;53745:8:0::1;::::0;53805:185:::1;53837:11:::0;53857:18;53884:20;53644:64;53745:8;;53805:23:::1;:185::i;:::-;24063:1;;;24081:14:::0;24077:68;;;24128:5;24112:21;;-1:-1:-1;;24112:21:0;;;24077:68;52977:1019;;;;;:::o;42471:160::-;41961:10;:8;:10::i;:::-;-1:-1:-1;;;;;41953:32:0;;41986:10;41953:44;;;;;;;;;;;;;-1:-1:-1;;;;;41953:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41953:44:0;41945:71;;;;;-1:-1:-1;;;41945:71:0;;;;;;;;;;;;-1:-1:-1;;;41945:71:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;42544:20:0;::::1;42536:63;;;::::0;;-1:-1:-1;;;42536:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;42606:19;42618:6;42606:11;:19::i;28311:95::-:0;28391:7;28384:14;;;;;;;;-1:-1:-1;;28384:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28358:13;;28384:14;;28391:7;;28384:14;;28391:7;28384:14;;;;;;;;;;;;;;;;;;;;;;;;64239:148;41961:10;:8;:10::i;:::-;-1:-1:-1;;;;;41953:32:0;;41986:10;41953:44;;;;;;;;;;;;;-1:-1:-1;;;;;41953:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41953:44:0;41945:71;;;;;-1:-1:-1;;;41945:71:0;;;;;;;;;;;;-1:-1:-1;;;41945:71:0;;;;;;;;;;;;;;;64306:34:::1;64337:1;64306:22;:34::i;:::-;64347;64379:1;64347:31;:34::i;63955:278::-:0;64012:4;64018:7;64050:29;:27;:29::i;:::-;:34;;;;:94;;;64115:29;:27;:29::i;:::-;64097:15;:47;64050:94;:141;;;;-1:-1:-1;64189:1:0;64157:20;:18;:20::i;:::-;-1:-1:-1;;;;;64157:34:0;;;64050:141;64200:20;:18;:20::i;:::-;64034:193;;;;63955:278;;:::o;32349:269::-;32442:4;32459:129;32468:12;:10;:12::i;:::-;32482:7;32491:96;32530:15;32491:96;;;;;;;;;;;;;;;;;:11;:25;32503:12;:10;:12::i;:::-;-1:-1:-1;;;;;32491:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;32491:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;59540:392::-;41961:10;:8;:10::i;:::-;-1:-1:-1;;;;;41953:32:0;;41986:10;41953:44;;;;;;;;;;;;;-1:-1:-1;;;;;41953:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41953:44:0;41945:71;;;;;-1:-1:-1;;;41945:71:0;;;;;;;;;;;;-1:-1:-1;;;41945:71:0;;;;;;;;;;;;;;;59676:1:::1;59662:11;:15;59654:62;;;;-1:-1:-1::0;;;59654:62:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59744:11;59731:9;:24;;59723:95;;;;-1:-1:-1::0;;;59723:95:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59825:45;59860:9;59825:34;:45::i;:::-;59877:49;59914:11;59877:36;:49::i;54788:110::-:0;54843:7;54866:26;:24;:26::i;54002:89::-;54051:7;54074:11;:9;:11::i;29711:175::-;29797:4;29814:42;29824:12;:10;:12::i;:::-;29838:9;29849:6;29814:9;:42::i;57297:101::-;57348:7;57371:21;:19;:21::i;60042:710::-;60095:7;60111:25;60139:131;60235:34;:32;:34::i;:::-;60139:81;60187:32;:30;:32::i;60139:131::-;60111:159;;60277:23;60313:10;:8;:10::i;:::-;-1:-1:-1;;;;;60303:47:0;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60303:49:0;;-1:-1:-1;60363:36:0;;;60359:388;;60417:1;60410:8;;;;;;60359:388;60441:25;60469:38;:17;60491:15;60469:21;:38::i;:::-;60441:66;;60544:26;:24;:26::i;:::-;60523:17;:47;;:216;;60713:26;:24;:26::i;:::-;60523:216;;;60693:17;60523:216;60516:223;;;;;;;61149:112;55136:10;55150:9;55136:23;;55135:233;;;55334:12;:10;:12::i;:::-;-1:-1:-1;;;;;55322:34:0;;55357:10;55322:46;;;;;;;;;;;;;-1:-1:-1;;;;;55322:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55322:46:0;55321:47;55135:233;55119:388;;;;-1:-1:-1;;;55119:388:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61215:40:::1;61224:6;61232:10;61244;61215:8;:40::i;56005:151::-:0;56071:7;56112:12;:10;:12::i;:::-;-1:-1:-1;;;;;56094:41:0;;56144:4;56094:56;;;;;;;;;;;;;-1:-1:-1;;;;;56094:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;43209:114;23789:13;;;;;;;;:33;;;23806:16;:14;:16::i;:::-;23789:50;;;-1:-1:-1;23827:12:0;;;;23826:13;23789:50;23781:109;;;;-1:-1:-1;;;23781:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23903:19;23926:13;;;;;;23925:14;23950:101;;;;23985:13;:20;;-1:-1:-1;;;;23985:20:0;;;;;24020:19;24001:4;24020:19;;;23950:101;43282:35:::1;43308:8;43282:25;:35::i;:::-;24081:14:::0;24077:68;;;24128:5;24112:21;;-1:-1:-1;;24112:21:0;;;43209:114;;:::o;29949:151::-;-1:-1:-1;;;;;30065:18:0;;;30038:7;30065:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;29949:151::o;58298:143::-;43516:10;:8;:10::i;:::-;-1:-1:-1;;;;;43508:32:0;;43541:10;43508:44;;;;;;;;;;;;;-1:-1:-1;;;;;43508:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43508:44:0;;:92;;;43564:10;:8;:10::i;:::-;-1:-1:-1;;;;;43556:32:0;;43589:10;43556:44;;;;;;;;;;;;;-1:-1:-1;;;;;43556:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43556:44:0;43508:92;43499:157;;;;-1:-1:-1;;;43499:157:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58373:25:::1;58396:1;58373:22;:25::i;:::-;58405:30;58432:1;58405:18;:30::i;57507:307::-:0;57573:4;;57593:10;:8;:10::i;:::-;-1:-1:-1;;;;;57593:24:0;;:185;;;;57669:16;:14;:16::i;:::-;-1:-1:-1;;;;;57656:29:0;:9;-1:-1:-1;;;;;57656:29:0;;:82;;;;;57718:20;:18;:20::i;:::-;57700:15;:38;57656:82;:121;;;;;57776:1;57753:20;:18;:20::i;:::-;:24;;57507:307;-1:-1:-1;;57507:307:0:o;54424:128::-;54488:7;54511:35;:33;:35::i;43676:104::-;43719:7;43750:10;:8;:10::i;:::-;-1:-1:-1;;;;;43742:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25239:106;25327:10;25239:106;:::o;35496:346::-;-1:-1:-1;;;;;35598:19:0;;35590:68;;;;-1:-1:-1;;;35590:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35677:21:0;;35669:68;;;;-1:-1:-1;;;35669:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35750:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;35802:32;;;;;;;;;;;;;;;;;35496:346;;;:::o;49850:120::-;49904:7;49927:37;44599:66;49927:10;:37::i;42637:199::-;41839:66;42813:11;;42797:34::o;3796:179::-;3854:7;3886:5;;;3910:6;;;;3902:46;;;;;-1:-1:-1;;;3902:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;51002:116;51066:46;45236:66;51105:6;51066:10;:46::i;50771:107::-;50831:41;45110:66;50865:6;50831:10;:41::i;50648:117::-;50700:7;50723:36;44989:66;50723:10;:36::i;49725:119::-;49791:47;44599:66;49829:8;49791:10;:47::i;49976:134::-;50049:55;44734:66;50097:6;50049:10;:55::i;33108:539::-;-1:-1:-1;;;;;33214:20:0;;33206:70;;;;-1:-1:-1;;;33206:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33295:23:0;;33287:71;;;;-1:-1:-1;;;33287:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33371:47;33392:6;33400:9;33411:6;33371:20;:47::i;:::-;33451:71;33473:6;33451:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33451:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;33431:17:0;;;;;;;:9;:17;;;;;;:91;;;;33556:20;;;;;;;:32;;33581:6;33556:24;:32::i;:::-;-1:-1:-1;;;;;33533:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;33604:35;;;;;;;33533:20;;33604:35;;;;;;;;;;;;;33108:539;;;:::o;6623:166::-;6709:7;6745:12;6737:6;;;;6729:29;;;;-1:-1:-1;;;6729:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6776:5:0;;;6623:166::o;34640:418::-;-1:-1:-1;;;;;34724:21:0;;34716:67;;;;-1:-1:-1;;;34716:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34796:49;34817:7;34834:1;34838:6;34796:20;:49::i;:::-;34879:68;34902:6;34879:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34879:18:0;;;;;;:9;:18;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;34858:18:0;;;;;;:9;:18;;;;;:89;34973:12;;:24;;34990:6;34973:16;:24::i;:::-;34958:12;:39;35013:37;;;;;;;;35039:1;;-1:-1:-1;;;;;35013:37:0;;;;;;;;;;;;34640:418;;:::o;4675:220::-;4733:7;4757:6;4753:20;;-1:-1:-1;4772:1:0;4765:8;;4753:20;4796:5;;;4800:1;4796;:5;:1;4820:5;;;;;:10;4812:56;;;;-1:-1:-1;;;4812:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5373:153;5431:7;5463:1;5459;:5;5451:44;;;;;-1:-1:-1;;;5451:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5517:1;5513;:5;;;;;;;5373:153;-1:-1:-1;;;5373:153:0:o;4258:158::-;4316:7;4349:1;4344;:6;;4336:49;;;;;-1:-1:-1;;;4336:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4403:5:0;;;4258:158::o;536:106::-;594:7;625:1;621;:5;:13;;633:1;621:13;;;-1:-1:-1;629:1:0;;614:20;-1:-1:-1;536:106:0:o;19103:188::-;19224:58;;;-1:-1:-1;;;;;19224:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19224:58:0;-1:-1:-1;;;19224:58:0;;;19197:86;;19217:5;;19197:19;:86::i;:::-;19103:188;;;:::o;19784:633::-;20165:10;;;20164:62;;-1:-1:-1;20181:39:0;;;-1:-1:-1;;;20181:39:0;;20205:4;20181:39;;;;-1:-1:-1;;;;;20181:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20181:39:0;:44;20164:62;20156:152;;;;-1:-1:-1;;;20156:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20346:62;;;-1:-1:-1;;;;;20346:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20346:62:0;-1:-1:-1;;;20346:62:0;;;20319:90;;20339:5;;20319:19;:90::i;47922:98::-;47978:36;43955:66;48005:8;47978:10;:36::i;63005:687::-;63109:1;63100:6;:10;63092:39;;;;;-1:-1:-1;;;63092:39:0;;;;;;;;;;;;-1:-1:-1;;;63092:39:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;63146:25:0;;63138:60;;;;;-1:-1:-1;;;63138:60:0;;;;;;;;;;;;-1:-1:-1;;;63138:60:0;;;;;;;;;;;;;;;63242:1;63219:10;:8;:10::i;:::-;-1:-1:-1;;;;;63211:33:0;;63207:120;;63273:10;:8;:10::i;:::-;-1:-1:-1;;;;;63263:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63263:39:0;63255:64;;;;;-1:-1:-1;;;63255:64:0;;;;;;;;;;;;-1:-1:-1;;;63255:64:0;;;;;;;;;;;;;;;63335:14;63352:13;:11;:13::i;:::-;:18;:112;;63400:64;63430:33;:31;:33::i;:::-;63400:25;63411:13;:11;:13::i;:::-;63400:6;;:10;:25::i;:64::-;63352:112;;;63382:6;63352:112;63335:129;;63471:26;63477:11;63490:6;63471:5;:26::i;:::-;63506:79;63555:6;63571:4;63578:6;63524:12;:10;:12::i;:::-;-1:-1:-1;;;;;63506:48:0;;:79;;:48;:79::i;:::-;63658:28;;;;;;;;-1:-1:-1;;;;;63658:28:0;;;;;;;;;;;;;63005:687;;;;:::o;24245:125::-;24293:4;24318:44;24356:4;24318:29;:44::i;:::-;24317:45;24310:52;;24245:125;:::o;48131:102::-;48189:38;44071:66;48218:8;48189:10;:38::i;48579:142::-;48655:60;44332:66;48708:6;48655:10;:60::i;48880:146::-;48958:62;44474:66;49013:6;48958:10;:62::i;48348:107::-;48408:41;44192:66;48442:6;48408:10;:41::i;50261:126::-;50330:51;44865:66;50374:6;50330:10;:51::i;50530:112::-;50592:44;44989:66;50629:6;50592:10;:44::i;49189:124::-;49255:52;45368:66;49300:6;49255:10;:52::i;49454:127::-;49522:53;45501:66;49568:6;49522:10;:53::i;48727:147::-;48793:7;48816:52;44332:66;48816:10;:52::i;60758:275::-;54981:1;54958:10;:8;:10::i;:::-;-1:-1:-1;;;;;54950:33:0;;;54942:70;;;;;-1:-1:-1;;;54942:70:0;;;;;;;;;;;;-1:-1:-1;;;54942:70:0;;;;;;;;;;;;;;;60812:23:::1;60838:22;:20;:22::i;:::-;60812:48:::0;-1:-1:-1;60871:19:0;;60867:161:::1;;60901:82;60954:10;:8;:10::i;:::-;60967:15;60919:12;:10;:12::i;60901:82::-;60997:23;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;55019:1;60758:275::o:0;48461:112::-;48511:7;48534:33;44192:66;48534:10;:33::i;50884:112::-;50934:7;50957:33;45110:66;50957:10;:33::i;48239:103::-;48285:7;48308:28;44071:66;48308:10;:28::i;50116:139::-;50179:7;50202:47;44734:66;50202:10;:47::i;27660:181::-;23789:13;;;;;;;;:33;;;23806:16;:14;:16::i;:::-;23789:50;;;-1:-1:-1;23827:12:0;;;;23826:13;23789:50;23781:109;;;;-1:-1:-1;;;23781:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23903:19;23926:13;;;;;;23925:14;23950:101;;;;23985:13;:20;;-1:-1:-1;;;;23985:20:0;;;;;24020:19;24001:4;24020:19;;;23950:101;27758:26:::1;:24;:26::i;:::-;27795:38;27818:5;27825:7;27795:22;:38::i;:::-;24081:14:::0;24077:68;;;24128:5;24112:21;;-1:-1:-1;;24112:21:0;;;27660:181;;;:::o;36174:98::-;36243:9;:21;;-1:-1:-1;;36243:21:0;;;;;;;;;;;;36174:98::o;42267:198::-;41839:66;42429:24;42420:40::o;50393:131::-;50452:7;50475:43;44865:66;50475:10;:43::i;48026:99::-;48070:7;48093:26;43955:66;48093:10;:26::i;51124:121::-;51178:7;51201:38;45236:66;51201:10;:38::i;42166:95::-;23789:13;;;;;;;;:33;;;23806:16;:14;:16::i;:::-;23789:50;;;-1:-1:-1;23827:12:0;;;;23826:13;23789:50;23781:109;;;;-1:-1:-1;;;23781:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23903:19;23926:13;;;;;;23925:14;23950:101;;;;23985:13;:20;;-1:-1:-1;;;;23985:20:0;;;;;24020:19;24001:4;24020:19;;;23950:101;42236:19:::1;42248:6;42236:11;:19::i;49032:151::-:0;49100:7;49123:54;44474:66;51822:177;51976:11;;51960:34::o;51648:168::-;51784:20;;51775:36::o;21463:772::-;21898:23;21924:69;21952:4;21924:69;;;;;;;;;;;;;;;;;21932:5;-1:-1:-1;;;;;21924:27:0;;;:69;;;;;:::i;:::-;22008:17;;21898:95;;-1:-1:-1;22008:21:0;22004:224;;22150:10;22139:30;;;;;;;;;;;;;;;-1:-1:-1;22139:30:0;22131:85;;;;-1:-1:-1;;;22131:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33929:378;-1:-1:-1;;;;;34013:21:0;;34005:65;;;;;-1:-1:-1;;;34005:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34083:49;34112:1;34116:7;34125:6;34083:20;:49::i;:::-;34160:12;;:24;;34177:6;34160:16;:24::i;:::-;34145:12;:39;-1:-1:-1;;;;;34216:18:0;;;;;;:9;:18;;;;;;:30;;34239:6;34216:22;:30::i;:::-;-1:-1:-1;;;;;34195:18:0;;;;;;:9;:18;;;;;;;;:51;;;;34262:37;;;;;;;34195:18;;;;34262:37;;;;;;;;;;33929:378;;:::o;19299:216::-;19438:68;;;-1:-1:-1;;;;;19438:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19438:68:0;-1:-1:-1;;;19438:68:0;;;19411:96;;19431:5;;19411:19;:96::i;12124:422::-;12491:20;12530:8;;;12124:422::o;51251:101::-;51314:32;51325:4;51331:6;:14;;51344:1;51331:14;;;51340:1;51331:14;51314:32;;:10;:32::i;25168:65::-;23789:13;;;;;;;;:33;;;23806:16;:14;:16::i;:::-;23789:50;;;-1:-1:-1;23827:12:0;;;;23826:13;23789:50;23781:109;;;;-1:-1:-1;;;23781:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23903:19;23926:13;;;;;;23925:14;23950:101;;;;23985:13;:20;;-1:-1:-1;;;;23985:20:0;;;;;24020:19;24001:4;24020:19;;;23950:101;24081:14;24077:68;;;24128:5;24112:21;;-1:-1:-1;;24112:21:0;;;25168:65;:::o;27849:182::-;23789:13;;;;;;;;:33;;;23806:16;:14;:16::i;:::-;23789:50;;;-1:-1:-1;23827:12:0;;;;23826:13;23789:50;23781:109;;;;-1:-1:-1;;;23781:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23903:19;23926:13;;;;;;23925:14;23950:101;;;;23985:13;:20;;-1:-1:-1;;;;23985:20:0;;;;;24020:19;24001:4;24020:19;;;23950:101;27957:13;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;27981:17:0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;28009:9:0::1;:14:::0;;-1:-1:-1;;28009:14:0::1;28021:2;28009:14;::::0;;24077:68;;;;24128:5;24112:21;;-1:-1:-1;;24112:21:0;;;27849:182;;;:::o;15042:195::-;15145:12;15177:52;15199:6;15207:4;15213:1;15216:12;15177:21;:52::i;:::-;15170:59;15042:195;-1:-1:-1;;;;15042:195:0:o;16094:530::-;16221:12;16279:5;16254:21;:30;;16246:81;;;;-1:-1:-1;;;16246:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16346:18;16357:6;16346:10;:18::i;:::-;16338:60;;;;;-1:-1:-1;;;16338:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16472:12;16486:23;16513:6;-1:-1:-1;;;;;16513:11:0;16533:5;16541:4;16513:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16513:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16471:75;;;;16564:52;16582:7;16591:10;16603:12;16564:17;:52::i;:::-;16557:59;16094:530;-1:-1:-1;;;;;;;16094:530:0:o;17630:742::-;17745:12;17774:7;17770:595;;;-1:-1:-1;17805:10:0;17798:17;;17770:595;17919:17;;:21;17915:439;;18182:10;18176:17;18243:15;18230:10;18226:2;18222:19;18215:44;18130:148;18318:20;;-1:-1:-1;;;18318:20:0;;;;;;;;;;;;;;;;;18325:12;;18318:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://79ecc0f70bffaf2ba48aa8e3255cdce752d40577816726918c3d9e2186adaa3d
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.