Contract 0x998d139B7e9Ce5e98741aD75305fE6f2D81Aa2D9

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x97e1a48c8c183c9f52b833c33a805921f940435a71fea387ef6c7ae79fdebcbdHarvest129214612021-11-24 16:00:1112 days 14 hrs ago0x920341c3fcf74f6b5aeae000bb705ed16671cc9c IN  0x998d139b7e9ce5e98741ad75305fe6f2d81aa2d90 BNB0.00631642
0xbda1b7da74541651b430b9b507de669e06c8d69390c083db191df82a64156dfaHarvest129038212021-11-24 0:40:3613 days 5 hrs ago0x920341c3fcf74f6b5aeae000bb705ed16671cc9c IN  0x998d139b7e9ce5e98741ad75305fe6f2d81aa2d90 BNB0.006530105
0x697acdc1112a14a3acca6ccf3f5d53d69cb86f94767e2f446f471ebe03b19e6eHarvest128909212021-11-23 13:20:1913 days 16 hrs ago0x920341c3fcf74f6b5aeae000bb705ed16671cc9c IN  0x998d139b7e9ce5e98741ad75305fe6f2d81aa2d90 BNB0.006446075
0xc674553c2cd260ba23a33107b19083b38805f68ebf1baf9c9055d8b53b1a48adHarvest128880812021-11-23 10:50:1213 days 19 hrs ago0x920341c3fcf74f6b5aeae000bb705ed16671cc9c IN  0x998d139b7e9ce5e98741ad75305fe6f2d81aa2d90 BNB0.004896265
0x440a8077e3580abdbf369c76555e34a17dce01c967eb9f3e79d3a89a9ac0e34aSet Strategist128449882021-11-21 21:59:1515 days 8 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x998d139b7e9ce5e98741ad75305fe6f2d81aa2d90 BNB0.000148525
0xb810b31674f5aa4128cd73bb77b984491f909559bf17631db805c159c47bb485Set Rewards128449852021-11-21 21:59:0615 days 8 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x998d139b7e9ce5e98741ad75305fe6f2d81aa2d90 BNB0.000148325
0x9719dcb17b84b8aabca62fc7fe259e27e289b226cd9693b249bb69c13502ceb0Set Max Report D...128448962021-11-21 21:54:3815 days 8 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x998d139b7e9ce5e98741ad75305fe6f2d81aa2d90 BNB0.00014249
0xfcf904d2172e9894be610e906846982a9f7c0bd84ee68d2b7cd004a92eef80a9Set Keeper128448912021-11-21 21:54:2315 days 8 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x998d139b7e9ce5e98741ad75305fe6f2d81aa2d90 BNB0.00014846
0xfa9c4c84bf817a3d6d6e0112a58bfd4491d7e67db153ed8ea14d5ffa6dc2ef1d0x61010060128448202021-11-21 21:50:5015 days 8 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  Contract Creation0 BNB0.026309435
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Strategy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-11-21
*/

// SPDX-License-Identifier: MIT
// File: interfaces/flashloan/IFlashloanReceiver.sol


pragma solidity 0.6.12;

interface IFlashLoanReceiver {
  function executeOperation(address sender, address underlying, uint amount, uint fee, bytes calldata params) external;
}

interface ICTokenFlashloan {
  function flashLoan(address receiver, uint amount, bytes calldata params) external;
}
// File: interfaces/uniswap/IUniswapV2Router.sol


pragma solidity 0.6.12;

interface IUniswapV2Router01 {
  function factory() external pure returns (address);
  function WETH() external pure returns (address);

  function addLiquidity(
    address tokenA,
    address tokenB,
    uint amountADesired,
    uint amountBDesired,
    uint amountAMin,
    uint amountBMin,
    address to,
    uint deadline
  ) external returns (uint amountA, uint amountB, uint liquidity);
  function addLiquidityETH(
    address token,
    uint amountTokenDesired,
    uint amountTokenMin,
    uint amountETHMin,
    address to,
    uint deadline
  ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
  function removeLiquidity(
    address tokenA,
    address tokenB,
    uint liquidity,
    uint amountAMin,
    uint amountBMin,
    address to,
    uint deadline
  ) external returns (uint amountA, uint amountB);
  function removeLiquidityETH(
    address token,
    uint liquidity,
    uint amountTokenMin,
    uint amountETHMin,
    address to,
    uint deadline
  ) external returns (uint amountToken, uint amountETH);
  function removeLiquidityWithPermit(
    address tokenA,
    address tokenB,
    uint liquidity,
    uint amountAMin,
    uint amountBMin,
    address to,
    uint deadline,
    bool approveMax, uint8 v, bytes32 r, bytes32 s
  ) external returns (uint amountA, uint amountB);
  function removeLiquidityETHWithPermit(
    address token,
    uint liquidity,
    uint amountTokenMin,
    uint amountETHMin,
    address to,
    uint deadline,
    bool approveMax, uint8 v, bytes32 r, bytes32 s
  ) external returns (uint amountToken, uint amountETH);
  function swapExactTokensForTokens(
    uint amountIn,
    uint amountOutMin,
    address[] calldata path,
    address to,
    uint deadline
  ) external returns (uint[] memory amounts);
  function swapTokensForExactTokens(
    uint amountOut,
    uint amountInMax,
    address[] calldata path,
    address to,
    uint deadline
  ) external returns (uint[] memory amounts);
  function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);
  function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);
  function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);
  function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);

  function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
  function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
  function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
  function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
  function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
  function removeLiquidityETHSupportingFeeOnTransferTokens(
    address token,
    uint liquidity,
    uint amountTokenMin,
    uint amountETHMin,
    address to,
    uint deadline
  ) external returns (uint amountETH);
  function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
    address token,
    uint liquidity,
    uint amountTokenMin,
    uint amountETHMin,
    address to,
    uint deadline,
    bool approveMax, uint8 v, bytes32 r, bytes32 s
  ) external returns (uint amountETH);

  function swapExactTokensForTokensSupportingFeeOnTransferTokens(
    uint amountIn,
    uint amountOutMin,
    address[] calldata path,
    address to,
    uint deadline
  ) external;
  function swapExactETHForTokensSupportingFeeOnTransferTokens(
    uint amountOutMin,
    address[] calldata path,
    address to,
    uint deadline
  ) external payable;
  function swapExactTokensForETHSupportingFeeOnTransferTokens(
    uint amountIn,
    uint amountOutMin,
    address[] calldata path,
    address to,
    uint deadline
  ) external;
}

// File: interfaces/venus/InterestRateModel.sol


pragma solidity 0.6.12;

interface InterestRateModel {
  /**
   * @notice Calculates the current borrow interest rate per block
   * @param cash The total amount of cash the market has
   * @param borrows The total amount of borrows the market has outstanding
   * @param reserves The total amount of reserves the market has
   * @return The borrow rate per block (as a percentage, and scaled by 1e18)
   */
  function getBorrowRate(
    uint256 cash,
    uint256 borrows,
    uint256 reserves
  ) external view returns (uint256, uint256);

  /**
   * @notice Calculates the current supply interest rate per block
   * @param cash The total amount of cash the market has
   * @param borrows The total amount of borrows the market has outstanding
   * @param reserves The total amount of reserves the market has
   * @param reserveFactorMantissa The current reserve factor the market has
   * @return The supply rate per block (as a percentage, and scaled by 1e18)
   */
  function getSupplyRate(
    uint256 cash,
    uint256 borrows,
    uint256 reserves,
    uint256 reserveFactorMantissa
  ) external view returns (uint256);
}

// File: interfaces/venus/VTokenI.sol


pragma solidity 0.6.12;


interface VTokenI {
  event AccrueInterest(uint cashPrior, uint interestAccumulated, uint borrowIndex, uint totalBorrows);
  
  event Mint(address minter, uint mintAmount, uint mintTokens);
  
  event Redeem(address redeemer, uint redeemAmount, uint redeemTokens);
  
  event Borrow(address borrower, uint borrowAmount, uint accountBorrows, uint totalBorrows);
  
  event RepayBorrow(address payer, address borrower, uint repayAmount, uint accountBorrows, uint totalBorrows);
  
  event LiquidateBorrow(address liquidator, address borrower, uint repayAmount, address vTokenCollateral, uint seizeTokens);
  
  event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin);
  
  event NewAdmin(address oldAdmin, address newAdmin);
  
  event NewReserveFactor(uint oldReserveFactorMantissa, uint newReserveFactorMantissa);
  
  event ReservesAdded(address benefactor, uint addAmount, uint newTotalReserves);
  
  event ReservesReduced(address admin, uint reduceAmount, uint newTotalReserves);
  
  event Transfer(address indexed from, address indexed to, uint amount);
  
  event Approval(address indexed owner, address indexed spender, uint amount);
  
  event Failure(uint error, uint info, uint detail);

  
  function transfer(address dst, uint amount) external returns (bool);
  
  function transferFrom(address src, address dst, uint amount) external returns (bool);
  
  function approve(address spender, uint amount) external returns (bool);
  
  function allowance(address owner, address spender) external view returns (uint);
  
  function balanceOf(address owner) external view returns (uint);
  
  function balanceOfUnderlying(address owner) external returns (uint);
  
  function getAccountSnapshot(address account) external view returns (uint, uint, uint, uint);
  
  function borrowRatePerBlock() external view returns (uint);
  
  function supplyRatePerBlock() external view returns (uint);
  
  function totalBorrowsCurrent() external returns (uint);
  
  function borrowBalanceCurrent(address account) external returns (uint);
  
  function borrowBalanceStored(address account) external view returns (uint);

  function exchangeRateCurrent() external returns (uint);
  
  function exchangeRateStored() external view returns (uint);

  function getCash() external view returns (uint);

  function accrueInterest() external returns (uint);

  function totalReserves() external view returns (uint);

  function accrualBlockNumber() external view returns (uint);

  function interestRateModel() external view returns (InterestRateModel);

  function reserveFactorMantissa() external view returns (uint);

  function seize(address liquidator, address borrower, uint seizeTokens) external returns (uint);

  function totalBorrows() external view returns (uint);

  function totalSupply() external view returns (uint);
}
// File: interfaces/venus/UnitrollerI.sol


pragma solidity 0.6.12;


interface UnitrollerI {
  function enterMarkets(address [] calldata vTokens) external returns (uint[] memory);
  function exitMarket(address vToken) external returns (uint);

  function mintAllowed(address vToken, address minter, uint256 mintAmount) external returns (uint256);
  function mintVerify(address vToken, address minter, uint256 mintAmount, uint256 mintTokens) external;

  function redeemAllowed(address vToken, address redeemer, uint256 redeemTokens) external returns (uint256);
  function redeemVerify(address vToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) external;

  function borrowAllowed(address vToken, address borrower, uint256 borrowAmount) external returns (uint256);
  function borrowVerify(address vToken, address borrower, uint256 borrowAmount) external;

  function repayBorrowAllowed(address vToken, address payer, address borrower, uint256 repayAmount) external returns (uint256);
  function repayBorrowVerify(address vToken, address payer, address borrower, uint256 repayAmount, uint256 borrowerIndex) external;

  function liquidateBorrowAllowed(
    address vTokenBorrowed,
    address vTokenCollateral,
    address liquidator,
    address borrower,
    uint256 repayAmount
  ) external returns (uint256);

  function liquidateBorrowVerify(
    address vTokenBorrowed,
    address vTokenCollateral,
    address liquidator,
    address borrower,
    uint256 repayAmount,
    uint256 seizeTokens
  ) external;

  function seizeAllowed(
    address vTokenCollateral,
    address vTokenBorrowed,
    address liquidator,
    address borrower,
    uint256 seizeTokens
  ) external returns (uint256);

  function seizeVerify(
    address vTokenCollateral,
    address vTokenBorrowed,
    address liquidator,
    address borrower,
    uint256 seizeTokens
  ) external;

  function transferAllowed(
    address vToken,
    address src,
    address dst,
    uint256 transferTokens
  ) external returns (uint256);

  function transferVerify(
    address vToken,
    address src,
    address dst,
    uint256 transferTokens
  ) external;

  function liquidateCalculateSeizeTokens(
    address vTokenBorrowed,
    address vTokenCollateral,
    uint256 repayAmount
  ) external view returns (uint256, uint256);

  function getAccountLiquidity(address account) external view returns (uint256, uint256, uint256);

  function claimVenus(address holder) external;
  function claimVenus(address holder, VTokenI[] memory vTokens) external;

  function markets(address vToken) external view returns (bool, uint256, bool);

  function venusSpeeds(address vtoken) external view returns (uint256);
}

// File: interfaces/venus/VBep20I.sol


pragma solidity 0.6.12;


interface VBep20I is VTokenI {
  function mint(uint mintAmount) external returns (uint);
  function redeem(uint redeemTokens) external returns (uint);
  function redeemUnderlying(uint redeemAmount) external returns (uint);
  function borrow(uint borrowAmount) external returns (uint);
  function repayBorrow(uint repayAmount) external returns (uint);
  function repayBorrowBehalf(address borrower, uint repayAmount) external returns (uint);
  function liquidateBorrow(address borrower, uint repayAmount, VTokenI vTokenCollateral) external returns (uint);
}
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/utils/Address.sol



pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/math/SafeMath.sol



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

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

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

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

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

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

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

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

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

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/token/ERC20/IERC20.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

// File: interfaces/VaultAPI.sol


pragma solidity 0.6.12;



struct StrategyParams {
  uint256 performanceFee;
  uint256 activation;
  uint256 debtRatio;
  uint256 rateLimit;
  uint256 lastReport;
  uint256 totalDebt;
  uint256 totalGain;
  uint256 totalLoss;
}

interface VaultAPI is IERC20 {

  function apiVersion() external view returns (string memory);

  function withdraw(uint256 shares, address recipient, uint256 maxLoss) external;

  function token() external view returns (address);

  function strategies(address _strategy) external view returns (StrategyParams memory);

  function creditAvailable(address _strategy) external view returns (uint256);

  function debtOutstanding(address _strategy) external view returns (uint256);

  function expectedReturn(address _strategy) external view returns (uint256);

  function report(
    uint256 _gain,
    uint256 _loss,
    uint256 _debtPayment
  ) external returns (uint256);

  function revokeStrategy(address _strategy) external;

  function governance() external view returns (address);

}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/token/ERC20/SafeERC20.sol



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 SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

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

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

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

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: strategies/BaseStrategy.sol


pragma solidity 0.6.12;





/**
 *  BaseStrategy implements all of the required functionality to interoperate
 *  closely with the Vault contract. This contract should be inherited and the
 *  abstract methods implemented to adapt the Strategy to the particular needs
 *  it has to create a return.
 *
 *  Of special interest is the relationship between `harvest()` and
 *  `vault.report()'. `harvest()` may be called simply because enough time has
 *  elapsed since the last report, and not because any funds need to be moved
 *  or positions adjusted. This is critical so that the Vault may maintain an
 *  accurate picture of the Strategy's performance. See  `vault.report()`,
 *  `harvest()`, and `harvestTrigger()` for further details.
 */
abstract contract BaseStrategy {
  using SafeMath for uint256;
  using SafeERC20 for IERC20;
  
  function apiVersion() public pure returns (string memory) {
    return '0.1.0';
  }

  function name() external virtual view returns (string memory);

  function delegatedAssets() external virtual pure returns (uint256) {
    return 0;
  }

  VaultAPI public immutable vault;
  
  address public strategist;
  address public rewards;
  address public keeper;


  IERC20 public immutable want;

  // The maximum number of seconds between harvest calls.
  uint256 public maxReportDelay = 86400;    // once a day

  // The minimum multiple that `callCost` must be above the credit/profit to
  // be "justifiable". See `setProfitFactor()` for more details.
  uint256 public profitFactor = 100;

  // Use this to adjust the threshold at which running a debt causes a
  // harvest trigger. See `setDebtThreshold()` for more details.
  uint256 public debtThreshold = 0;

  bool public emergencyExit;

  mapping (address => bool) public protected;
  
  event Harvested(uint256 profit, uint256 loss, uint256 debtPayment, uint256 debtOutstanding);
  
  event UpdatedReportDelay(uint256 delay);
  
  event UpdatedProfitFactor(uint256 profitFactor);
  
  event UpdatedDebtThreshold(uint256 debtThreshold);
  
  event UpdatedStrategist(address newStrategist);

  event UpdatedKeeper(address newKeeper);

  event UpdatedRewards(address rewards);

  event EmergencyExitEnabled();

  modifier onlyKeepers() {
    require(msg.sender == keeper || msg.sender == strategist || msg.sender == governance(), "!keeper & !strategist & !governance");
    _;
  }

  modifier onlyAuthorized() {
    require(msg.sender == strategist || msg.sender == governance(), "!strategist & !governance");
    _;
  }

  modifier onlyGovernance() {
    require(msg.sender == governance(), "!authorized");
    _;
  }

  modifier onlyStrategist() {
    require(msg.sender == strategist, "!strategist");
    _;
  }

  constructor(address _vault) public {
    vault = VaultAPI(_vault);
    want = IERC20(VaultAPI(_vault).token());
    IERC20(VaultAPI(_vault).token()).safeApprove(_vault, uint256(-1));
    strategist = msg.sender;
    rewards = msg.sender;
    keeper = msg.sender;
  }

  function setStrategist(address _strategist) external onlyAuthorized {
    require(_strategist != address(0));
    strategist = _strategist;
    emit UpdatedStrategist(_strategist);
  }

  function setKeeper(address _keeper) external onlyAuthorized {
    require(_keeper != address(0));
    keeper = _keeper;
    emit UpdatedKeeper(_keeper);
  }

  function setRewards(address _rewards) external onlyStrategist {
    require(_rewards != address(0));
    rewards = _rewards;
    emit UpdatedRewards(_rewards);
  }

  function governance() internal view returns (address) {
    return vault.governance();
  }

  /**
   * @notice
   *  Provide an accurate estimate for the total amount of assets
   *  (principle + return) that this Strategy is currently managing,
   *  denominated in terms of `want` tokens.
   * @return The estimated total assets in this Strategy.
   */
  function estimatedTotalAssets() public virtual view returns (uint256);

  /**
   * @notice
   *  Provide an indication of whether this strategy is currently "active"
   *  in that it is managing an active position, or will manage a position in
   *  the future. This should correlate to `harvest()` activity, so that Harvest
   *  events can be tracked externally by indexing agents.
   * @return True if the strategy is actively managing a position.
   */
  function isActive() public view returns (bool) {
    return vault.strategies(address(this)).debtRatio > 0 || estimatedTotalAssets() > 0;
  }

  /**
   * Perform any Strategy unwinding or other calls necessary to capture the
   * "free return" this Strategy has generated since the last time its core
   * position(s) were adjusted. Examples include unwrapping extra rewards.
   * This call is only used during "normal operation" of a Strategy, and
   * should be optimized to minimize losses as much as possible.
   *
   * This method returns any realized profits and/or realized losses
   * incurred, and should return the total amounts of profits/losses/debt
   * payments (in `want` tokens) for the Vault's accounting (e.g.
   * `want.balanceOf(this) >= _debtPayment + _profit - _loss`).
   */
  function prepareReturn(uint256 _debtOutstanding) internal virtual returns (
    uint256 _profit,
    uint256 _loss,
    uint256 _debtPayment
  );

  /**
   * Perform any adjustments to the core position(s) of this Strategy given
   * what change the Vault made in the "investable capital" available to the
   * Strategy. Note that all "free capital" in the Strategy after the report
   * was made is available for reinvestment. Also note that this number
   * could be 0, and you should handle that scenario accordingly.
   */
  function adjustPosition(uint256 _debtOutstanding) internal virtual;

  /**
   * Liquidate up to `_amountNeeded` of `want` of this strategy's positions,
   * irregardless of slippage. Any excess will be re-invested with `adjustPosition()`.
   * This function should return the amount of `want` tokens made available by the
   * liquidation. If there is a difference between them, `_loss` indicates whether the
   * difference is due to a realized loss, or if there is some other sitution at play
   * (e.g. locked funds). This function is used during emergency exit instead of
   * `prepareReturn()` to liquidate all of the Strategy's positions back to the Vault.
   */
  function liquidatePosition(uint256 _amountNeeded) internal virtual returns (uint256 _liquidatedAmount, uint256 _loss);

  /**
   *  `Harvest()` calls this function after shares are created during
   *  `vault.report()`. You can customize this function to any share
   *  distribution mechanism you want.
   */
  function distributeRewards() internal virtual {
    uint256 balance = vault.balanceOf(address(this));
    if (balance > 0) {
      vault.transfer(rewards, balance);
    }
  }

  function tendTrigger(uint256 callCost) public virtual view returns (bool);

  /**
   * @notice
   *  Provide a signal to the keeper that `tend()` should be called. The
   *  keeper will provide the estimated gas cost that they would pay to call
   *  `tend()`, and this function should use that estimate to make a
   *  determination if calling it is "worth it" for the keeper. This is not
   *  the only consideration into issuing this trigger, for example if the
   *  position would be negatively affected if `tend()` is not called
   *  shortly, then this can return `true` even if the keeper might be
   *  "at a loss" (keepers are always reimbursed by Yearn).
   */
  function tend() external onlyKeepers {
    adjustPosition(vault.debtOutstanding(address(this)));
  }

  function harvestTrigger(uint256 callCost) public virtual view returns (bool) {
    StrategyParams memory params = vault.strategies(address(this));

    if (params.activation == 0) return false;

    if (block.timestamp.sub(params.lastReport) >= maxReportDelay) return true;

    uint256 outstanding = vault.debtOutstanding(address(this));
    if (outstanding > debtThreshold) return true;

    uint256 total = estimatedTotalAssets();

    if (total.add(debtThreshold) < params.totalDebt) return true;

    uint256 profit = 0;
    if (total > params.totalDebt) profit = total.sub(params.totalDebt);

    uint256 credit = vault.creditAvailable(address(this));
    return (profitFactor.mul(callCost) < credit.add(profit));
  }

  /** 
   * @notice
   * Harvest the strategy.
   * This function can be called only by governance, the strategist or the keeper
   * harvest function is called in order to take in profits, to borrow newly available funds from the vault, or adjust the position
   */

  function harvest() external onlyKeepers {
    _harvest();
  }

  function _harvest() internal {
    uint256 _profit = 0;
    uint256 _loss = 0;
    uint256 _debtOutstanding = vault.debtOutstanding(address(this));
    uint256 _debtPayment = 0;

    if (emergencyExit) {
      uint256 totalAssets = estimatedTotalAssets();     // accurated estimate for the total amount of assets that the strategy is managing in terms of want token.
      (_debtPayment, _loss) = liquidatePosition(totalAssets > _debtOutstanding ? totalAssets : _debtOutstanding);
      if (_debtPayment > _debtOutstanding) {
        _profit = _debtPayment.sub(_debtOutstanding);
        _debtPayment = _debtOutstanding;
      }
    } else {
      (_profit, _loss, _debtPayment) = prepareReturn(_debtOutstanding);
    }

    // returns available free tokens of this strategy
    // this debtOutstanding becomes prevDebtOutstanding - debtPayment
    _debtOutstanding = vault.report(_profit, _loss, _debtPayment);

    distributeRewards();
    adjustPosition(_debtOutstanding);

    emit Harvested(_profit, _loss, _debtPayment, _debtOutstanding);
  }

  // withdraw assets to the vault
  function withdraw(uint256 _amountNeeded) external returns (uint256 amountFreed, uint256 _loss) {
    require(msg.sender == address(vault), "!vault");
    (amountFreed, _loss) = liquidatePosition(_amountNeeded);
    want.safeTransfer(msg.sender, amountFreed);
  }

  /**
   * Do anything necessary to prepare this Strategy for migration, such as
   * transferring any reserve or LP tokens, CDPs, or other tokens or stores of
   * value.
   */
  function prepareMigration(address _newStrategy) internal virtual;

  
  /**
   * Transfer all assets from current strategy to new strategy
   */
  function migrate(address _newStrategy) external {
    require(msg.sender == address(vault) || msg.sender == governance());
    require(BaseStrategy(_newStrategy).vault() == vault);
    prepareMigration(_newStrategy);
    want.safeTransfer(_newStrategy, want.balanceOf(address(this)));
  }

  /**
   * @notice
   * Activates emergency exit. The strategy will be rovoked and withdraw all funds to the vault on the next harvest.
   * This may only be called by governance or the strategist.
   */

  function setEmergencyExit() external onlyAuthorized {
    emergencyExit = true;
    liquidatePosition(uint(-1));
    want.safeTransfer(address(vault), want.balanceOf(address(this)));
    vault.revokeStrategy(address(this));

    emit EmergencyExitEnabled();
  }

  function setProtectedTokens() internal virtual;

  // Removes tokens from this strategy that are not the type of tokens managed by this strategy
  function sweep(address _token) external onlyGovernance {
    require(_token != address(want), "!want");
    require(_token != address(vault), "!shares");
    require(!protected[_token], "!protected");

    IERC20(_token).safeTransfer(governance(), IERC20(_token).balanceOf(address(this)));
  }

  function setProfitFactor(uint256 _profitFactor) external onlyAuthorized {
    profitFactor = _profitFactor;
    emit UpdatedProfitFactor(_profitFactor);
  }

  function setDebtThreshold(uint256 _debtThreshold) external onlyAuthorized {
    debtThreshold = _debtThreshold;
    emit UpdatedDebtThreshold(_debtThreshold);
  }

  function setMaxReportDelay(uint256 _delay) external onlyAuthorized {
    maxReportDelay = _delay;
    emit UpdatedReportDelay(_delay);
  }
}
// File: strategies/strategyUgoHawkVenusUSDCFarm.sol


pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;









contract Strategy is BaseStrategy, IFlashLoanReceiver {
  using SafeERC20 for IERC20;
  using Address for address;
  using SafeMath for uint256;

  UnitrollerI public constant venus = UnitrollerI(0xfD36E2c2a6789Db23113685031d7F16329158384);
  
  address public constant xvs = address(0xcF6BB5389c92Bdda8a3747Ddb454cB7a64626C63);
  address public constant wbnb = address(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);

  address public constant uniswapRouter = address(0x10ED43C718714eb63d5aA57B78B54704E256024E);
  address public constant crWant = address(0xD83C88DB3A6cA4a32FFf1603b0f7DDce01F5f727);

  uint256 public collateralTarget = 0.73 ether; // 73%
  uint256 public minWant = 1 ether;

  bool public flashLoanActive = true;

  bool public forceMigrate = false;

  VBep20I public vToken;
  uint256 immutable secondsPerBlock;     // approx seconds per block
  uint256 public immutable blocksToLiquidationDangerZone; // 7 days =  60*60*24*7/secondsPerBlock
  uint256 public minXvsToSell = 100000000;

  // @notice emitted when trying to do Flash Loan. flashLoan address is 0x00 when no flash loan used
  event Leverage(uint256 amountRequested, uint256 amountGiven, bool deficit, address flashLoan);

  modifier management(){
    require(msg.sender == governance() || msg.sender == strategist, "!management");
    _;
  }

  constructor(address _vault, address _vToken, uint8 _secondsPerBlock) public BaseStrategy(_vault) {
    vToken = VBep20I(_vToken);
    IERC20(VaultAPI(_vault).token()).safeApprove(address(vToken), uint256(-1));
    IERC20(xvs).safeApprove(uniswapRouter, uint256(-1));
    
    secondsPerBlock = _secondsPerBlock;
    blocksToLiquidationDangerZone = 60 * 60 * 24 * 7 / _secondsPerBlock;
    maxReportDelay = 3600 * 24;
    profitFactor = 100;
  }

  function name() external override view returns (string memory) {
    return "StrategyUgoHawkVenusUSDCFarm";
  }

  function delegatedAssets() external override pure returns (uint256) {
    return 0;
  }

  function setFlashLoan(bool active) external management {
    flashLoanActive = active;
  }

  function setForceMigrate(bool _force) external onlyGovernance {
    forceMigrate = _force;
  }

  function setMinXvsToSell(uint256 _minXvsToSell) external management {
    minXvsToSell = _minXvsToSell;
  }

  function setMinWant(uint256 _minWant) external management {
    minWant = _minWant;
  }

  function setCollateralTarget(uint256 _collateralTarget) external management {
    (, uint256 collateralFactorMantissa, ) = venus.markets(address(vToken));
    require(collateralFactorMantissa > _collateralTarget, "!danagerous collateral");
    collateralTarget = _collateralTarget;
  }

  /**
   * Provide an accurate estimate for the total number of assets (principle + return) that this strategy 
   * is currently managing.
   */
  function estimatedTotalAssets() public override view returns (uint256) {
    (uint256 deposits, uint256 borrows) = getCurrentPosition();
    uint256 _claimableXVS = predictXvsAccrued();
    uint256 currentXvs = IERC20(xvs).balanceOf(address(this));

    uint256 estimatedWant = priceCheck(xvs, address(want), _claimableXVS.add(currentXvs));
    uint256 conservativeWant = estimatedWant.mul(9).div(10);      // remainig 10% will be used for compensate offset

    return want.balanceOf(address(this)).add(deposits).add(conservativeWant).sub(borrows);
  }

  /**
   * View how much the vault expect this strategy to return at the current block, based on its present performance (since its last report)
   */
  function expectedReturn() public view returns (uint256) {
    uint256 estimatedAssets = estimatedTotalAssets();

    uint256 debt = vault.strategies(address(this)).totalDebt;
    if (debt > estimatedAssets) {
      return 0;
    } else {
      return estimatedAssets - debt;
    }
  }

  /**
   * Provide a signal to the keeper that 'tend()' should be called.
   */
  function tendTrigger(uint256 gasCost) public override view returns (bool) {
    if (harvestTrigger(gasCost)) {
      return false;
    }

    if (getblocksUntilLiquidation() <= blocksToLiquidationDangerZone) {
      return true;
    }
  }

  /**
   * Calcuate how many blocks until we are in liquidation based on current interest rates
   */
  function getblocksUntilLiquidation() public view returns (uint256) {
    (, uint256 collateralFactorMantissa, ) = venus.markets(address(vToken));
    
    (uint256 deposits, uint256 borrows) = getCurrentPosition();
    
    uint256 borrowRate = vToken.borrowRatePerBlock();
    uint256 supplyRate = vToken.supplyRatePerBlock();

    uint256 collateralisedDeposit1 = deposits.mul(collateralFactorMantissa).div(1e18);
    uint256 collateralisedDeposit = collateralisedDeposit1;

    uint256 denom1 = borrows.mul(borrowRate);
    uint256 denom2 = collateralisedDeposit.mul(supplyRate);

    if (denom2 >= denom1) {
      return uint256(-1);
    } else {
      uint256 numer = collateralisedDeposit.sub(borrows);
      uint256 denom = denom1 - denom2;
      return numer.mul(1e18).div(denom);
    }
  }

  // Return the current position
  function getCurrentPosition() public view returns (uint256 deposits, uint256 borrows) {
    (, uint256 vTokenBalance, uint256 borrowBalance, uint256 exchangeRate) = vToken.getAccountSnapshot(address(this));
    borrows = borrowBalance;

    deposits = vTokenBalance.mul(exchangeRate).div(1e18);
  }

  function netBalanceLent() public view returns (uint256) {
    (uint256 deposits, uint256 borrows) = getCurrentPosition();
    return deposits.sub(borrows);
  }

  /**
   * @notice
   *  Provide a signal to the keeper that harvest should be called.
   *  The keeper will provide the estimated gas cost that they would pay to call
   *  harvest() function.
   */
  function harvestTrigger(uint256 gasCost) public override view returns (bool) {
    StrategyParams memory params = vault.strategies(address(this));

    if (params.activation == 0) return false;

    uint256 wantGasCost = priceCheck(wbnb, address(want), gasCost);
    uint256 venusGasCost = priceCheck(wbnb, xvs, gasCost);

    uint256 _claimableXVS = predictXvsAccrued();

    if (_claimableXVS > minXvsToSell) {
      if (_claimableXVS.add(IERC20(xvs).balanceOf(address(this))) > venusGasCost.mul(profitFactor)) {
        return true;
      }
    }

    // trigger if hadn't been called in a while
    if (block.timestamp.sub(params.lastReport) >= maxReportDelay) return true;

    uint256 outstanding = vault.debtOutstanding(address(this));
    if (outstanding > profitFactor.mul(wantGasCost)) return true;

    uint256 total = estimatedTotalAssets();

    uint256 profit = 0;
    if (total > params.totalDebt) profit = total.sub(params.totalDebt);

    uint256 credit = vault.creditAvailable(address(this)).add(profit);
    return (profitFactor.mul(wantGasCost) < credit);
  }

  /**
   * @notice
   *  This function makes a prediction on how much xvs is accrued
   *  It is not 100% accurate as it uses current balances in Venus to predict into the past
   * @return XVS token amount available to claim
   */
  function predictXvsAccrued() public view returns (uint256) {
    (uint256 deposits, uint256 borrows) = getCurrentPosition();
    if (deposits == 0) {
      return 0;
    }

    uint256 distributionPerBlock = venus.venusSpeeds(address(vToken));
    uint256 totalBorrow = vToken.totalBorrows();
    uint256 totalSupplyVToken = vToken.totalSupply();
    uint256 totalSupply = totalSupplyVToken.mul(vToken.exchangeRateStored()).div(1e18);

    uint256 blockShareSupply = 0;
    if (totalSupply > 0) {
      blockShareSupply = deposits.mul(distributionPerBlock).div(totalSupply);
    }
    uint256 blockShareBorrow = 0;
    if (totalBorrow > 0) {
      blockShareBorrow = borrows.mul(distributionPerBlock).div(totalBorrow);
    }

    uint256 blockShare = blockShareSupply.add(blockShareBorrow);

    uint256 lastReport = vault.strategies(address(this)).lastReport;
    uint256 blocksSinceLast = (block.timestamp.sub(lastReport)).div(secondsPerBlock);

    return blocksSinceLast.mul(blockShare);
  }

  /**
   * Do anything necessary to prepare this Strategy for migration, such as transferring any reserve.
   */
  function prepareMigration(address _newStrategy) internal override {
    if (!forceMigrate) {
      (uint256 deposits, uint256 borrows) = getLivePosition();
      _withdrawSome(deposits.sub(borrows));

      (, , uint256 borrowBalance, ) = vToken.getAccountSnapshot(address(this));

      require(borrowBalance < 10_000, "DELEVERAGE_FIRST");

      IERC20 _xvs = IERC20(xvs);
      uint _xvsBalance = _xvs.balanceOf(address(this));
      if (_xvsBalance > 0) {
        _xvs.safeTransfer(_newStrategy, _xvsBalance);
      }
    }
  }

  function distributeRewards() internal override {
    uint256 balance = vault.balanceOf(address(this));
    if (balance > 0) {
      vault.transfer(rewards, balance);
    }
  }

  function priceCheck(address start, address end, uint256 _amount) public view returns (uint256) {
    if (_amount == 0) {
      return 0;
    }

    address[] memory path;
    if (start == wbnb) {
      path = new address[](2);
      path[0] = wbnb;
      path[1] = end;
    } else {
      path = new address[](3);
      path[0] = start;
      path[1] = wbnb;
      path[2] = end;
    }

    uint256[] memory amounts = IUniswapV2Router02(uniswapRouter).getAmountsOut(_amount, path);
    
    return amounts[amounts.length - 1];
  }

  // debtPayment is token amount to return to vault
  // debtOutstanding is token amount that the vault ask to return
  function prepareReturn(uint256 _debtOutstanding) internal override returns (
    uint256 _profit,
    uint256 _loss,
    uint256 _debtPayment
  ) {
    _profit = 0;
    _loss = 0;

    if (vToken.balanceOf(address(this)) == 0) {
      uint256 wantBalance = want.balanceOf(address(this));
      _debtPayment = _min(wantBalance, _debtOutstanding);
      return (_profit, _loss, _debtPayment);
    }

    (uint256 deposits, uint256 borrows) = getLivePosition();

    _claimXvs();          // claim xvs tokens
    _disposeOfXvs();      // sell xvs tokens

    uint256 wantBalance = want.balanceOf(address(this));

    uint256 investedBalance = deposits.sub(borrows);
    uint256 balance = investedBalance.add(wantBalance);

    uint256 debt = vault.strategies(address(this)).totalDebt; 

    // `balance` - `total debt` is profit
    if (balance > debt) {
      _profit = balance - debt;
      if (wantBalance < _profit) {
        // all reserve is profit in case `profit` is greater than `wantBalance`
        _profit = wantBalance;
      } else if (wantBalance > _profit.add(_debtOutstanding)) {
        _debtPayment = _debtOutstanding;
      } else {
        _debtPayment = wantBalance - _profit;
      }
    } else {
      _loss = debt - balance;
      _debtPayment = _min(wantBalance, _debtOutstanding);
    }
  }

  // adjustPosition is called after report call
  // adjust the position using free available tokens
  /**
   * @notice
   *  adjustPosition is called after report call
   *  adjust the position using free available tokens
   * @param _debtOutstanding the amount to withdraw from strategy to vault
   */
  function adjustPosition(uint256 _debtOutstanding) internal override {
    if (emergencyExit) {
      return;
    }

    uint256 _wantBal = want.balanceOf(address(this));
    if (_wantBal < _debtOutstanding) {
      if (vToken.balanceOf(address(this)) > 1) {
        _withdrawSome(_debtOutstanding - _wantBal);
      }

      return;
    }

    (uint256 position, bool deficit) = _calculateDesiredPosition(_wantBal - _debtOutstanding, true);

    if (position > minWant) {
      if (!flashLoanActive) {
        uint i = 0;
        while(position > 0) {
          position = position.sub(_noFlashLoan(position, deficit));
          if (i >= 6) {
            break;
          }
          i++;
        }
      } else {
        if (position > want.balanceOf(crWant)) {
          position = position.sub(_noFlashLoan(position, deficit));
        }

        if (position > minWant) {
          doFlashLoan(deficit, position);
        }
      }
    }
  }

  /**
   * @notice
   *  withdraw tokens from venus to adjust position
   * @param _amount we wanna withdraw and whether 
   */
  function _withdrawSome(uint256 _amount) internal returns (bool notAll) {
    (uint256 position, bool deficit) = _calculateDesiredPosition(_amount, false);

    if (deficit && position > minWant) {
      position = position.sub(doFlashLoan(deficit, position));
      
      uint8 i = 0;
      while (position > minWant.add(100)) {
        position = position.sub(_noFlashLoan(position, true));
        i++;

        if (i >= 5) {
          notAll = true;
          break;
        }
      }
    }

    (uint256 depositBalance, uint256 borrowBalance) = getCurrentPosition();
    uint256 tempColla = collateralTarget;

    uint256 reservedAmount = 0;
    if (tempColla == 0) {
      tempColla = 1e15;   // 0.001 * 1e18. minimum collateralTarget
    }

    reservedAmount = borrowBalance.mul(1e18).div(tempColla);

    if (depositBalance >= reservedAmount) {
      uint256 redeemable = depositBalance.sub(reservedAmount);

      if (redeemable < _amount) {
        vToken.redeemUnderlying(redeemable);
      } else {
        vToken.redeemUnderlying(_amount);
      }
    }

    if (collateralTarget == 0 && want.balanceOf(address(this)) > borrowBalance) {
      vToken.repayBorrow(borrowBalance);
    }

    _disposeOfXvs();
  }

  /**
   * @notice
   *  This function calculate the borrow position(the amount to add or remove) based on lending balance.
   * @param balance. the amount we're going to deposit or withdraw to venus platform
   * @param dep. flag(True/False) to deposit or withdraw
   * @return position the amount we want to change current borrow position
   * @return deficit flag(True/False). if reducing the borrow size, true
   */
  
  function _calculateDesiredPosition(uint256 balance, bool dep) internal returns(uint256 position, bool deficit) {
    (uint256 deposits, uint256 borrows) = getLivePosition();
    uint256 unwoundDeposit = deposits.sub(borrows);   // available token amount on lending platform. i.e. lended amount - borrowed amount

    uint256 desiredSupply = 0;
    if (dep) {
      desiredSupply = unwoundDeposit.add(balance);
    } else {
      if (balance > unwoundDeposit) balance = unwoundDeposit;
      desiredSupply = unwoundDeposit.sub(balance);
    }

    // db = (ds * c) / (1 - c)
    uint256 num = desiredSupply.mul(collateralTarget);
    uint256 den = uint256(1e18).sub(collateralTarget);

    uint256 desiredBorrow = num.div(den);
    if (desiredBorrow > 1e5) {
      //stop us going right up to the wire
      desiredBorrow = desiredBorrow - 1e5;
    }
    
    if (desiredBorrow < borrows) {
      deficit = true;
      position = borrows - desiredBorrow;
    } else {
      deficit = false;
      position = desiredBorrow - borrows;
    }
  }

  /**
   * do flash loan with desired amount
   */
  function doFlashLoan(bool deficit, uint256 amountDesired) internal returns (uint256) {
    if (amountDesired == 0) {
      return 0;
    }

    uint256 amount = amountDesired;
    bytes memory data = abi.encode(deficit, amount);

    ICTokenFlashloan(crWant).flashLoan(address(this), amount, data);
    emit Leverage(amountDesired, amount, deficit, crWant);

    return amount;
    
  }

  /**
   * @notice
   *  Three functions covering normal leverage and deleverage situations
   * @param max the max amount we want to increase our borrowed balance
   * @param deficit True if we are reducing the position size
   * @return amount actually did
   */
  function _noFlashLoan(uint256 max, bool deficit) internal returns (uint256 amount) {
    (uint256 lent, uint256 borrowed) = getCurrentPosition();
    // if we have nothing borrowed, can't deleverage any more(can't reduce borrow size)
    if (borrowed == 0 && deficit) {
      return 0;
    }
    (, uint256 collateralFactorMantissa, ) = venus.markets(address(vToken));

    if (deficit) {
      amount = _normalDeleverage(max, lent, borrowed, collateralFactorMantissa);
    } else {
      amount = _normalLeverage(max, lent, borrowed, collateralFactorMantissa);
    }

    emit Leverage(max, amount, deficit, address(0));
  }

  /**
   * @param maxDeleverage how much we want to reduce by
   * @param lent the amount we lent to the venus
   * @param borrowed the amount we borrowed from the venus
   * @param collatRatio collateral ratio of token in venus
   */
  function _normalDeleverage(
    uint256 maxDeleverage,
    uint256 lent,
    uint256 borrowed,
    uint256 collatRatio
  ) internal returns (uint256 deleveragedAmount) {
    uint256 theoreticalLent = 0;
    if (collatRatio != 0) {
      theoreticalLent = borrowed.mul(1e18).div(collatRatio);
    }
    deleveragedAmount = lent.sub(theoreticalLent);

    if (deleveragedAmount >= borrowed) {
      deleveragedAmount = borrowed;
    }
    if (deleveragedAmount >= maxDeleverage) {
      deleveragedAmount = maxDeleverage;
    }

    uint256 exchangeRateStored = vToken.exchangeRateStored();

    if (deleveragedAmount.mul(1e18) >= exchangeRateStored && deleveragedAmount > 10) {
      deleveragedAmount = deleveragedAmount - 10;
      vToken.redeemUnderlying(deleveragedAmount);

      vToken.repayBorrow(deleveragedAmount);
    }
  }

  /**
   * @param maxLeverage how much we want to increase by
   * @param lent the amount we lent to the venus
   * @param borrowed the amount we borrowed from the venus
   * @param collatRatio collateral ratio of token in venus
   */
  function _normalLeverage(
    uint256 maxLeverage,
    uint256 lent,
    uint256 borrowed,
    uint256 collatRatio
  ) internal returns (uint256 leveragedAmount) {
    uint256 theoreticalBorrow = lent.mul(collatRatio).div(1e18);
    leveragedAmount = theoreticalBorrow.sub(borrowed);

    if (leveragedAmount >= maxLeverage) {
      leveragedAmount = maxLeverage;
    }
    if (leveragedAmount > 10) {
      leveragedAmount = leveragedAmount - 10;
      require(vToken.borrow(leveragedAmount) == 0, "got collateral?");
      require(vToken.mint(want.balanceOf(address(this))) == 0, "supply error");
    }
  }

  //Cream calls this function after doing flash loan
  /**
   * @notice
   *  called by cream flash loan contract
   * @param sender the address of flash loan caller
   * @param underlying the address of token we borrowed
   * @param amount the amount borrowed
   * @param fee flash loan fee
   * @param params param data sent when loaning
   */
  function executeOperation(address sender, address underlying, uint amount, uint fee, bytes calldata params) override external {
    // uint currentBalance = IERC20(underlying).balanceOf(address(this));
    require(sender == address(this), "caller is not this contract");
    require(msg.sender == crWant, "Not Flash Loan Provider");
    (bool deficit, ) = abi.decode(params, (bool, uint256));

    _loanLogic(deficit, amount, amount + fee);
    IERC20(underlying).safeTransfer(crWant, amount + fee);
    
  }

  /**
   * @notice
   *  logic after getting flash-loaned assets, called by executeOperation
   * @param deficit true if redeem, false if borrow
   * @param amount the amount to borrow
   * @param repayAmount the amount to repay
   */
  function _loanLogic(bool deficit, uint256 amount, uint256 repayAmount) internal returns (uint) {
    uint256 bal = want.balanceOf(address(this));
    require(bal >= amount, "Invalid balance, was the flashloan successful?");

    if (deficit) {
      vToken.repayBorrow(amount);
      vToken.redeemUnderlying(repayAmount);
    } else {
      require(vToken.mint(bal) == 0, "mint error");

      address[] memory vTokens = new address[](1);
      vTokens[0] = address(vToken);
      
      uint256[] memory errors = venus.enterMarkets(vTokens);
      if (errors[0] != 0) {
        revert("Comptroller.enterMarkets failed.");
      }
      
      (uint256 error, uint256 liquidity, uint256 shortfall) = venus.getAccountLiquidity(address(this));
      if (error != 0) {
        revert("Comptroller.getAccountLiquidity failed.");
      }
      require(shortfall == 0, "account underwater");
      require(liquidity > 0, "account has excess collateral");
      require(vToken.borrow(repayAmount) == 0, "borrow error");
    }
  }

  /**
   * @notice
   *  get the current position of strategy
   * @return deposits the amount lent
   * @return borrows the amount borrowed
   */
  function getLivePosition() public returns (uint256 deposits, uint256 borrows) {
    deposits = vToken.balanceOfUnderlying(address(this));
    borrows = vToken.borrowBalanceStored(address(this));
  }

  // claims XVS reward token
  function _claimXvs() internal {
    VTokenI[] memory tokens = new VTokenI[](1);
    tokens[0] = vToken;
    venus.claimVenus(address(this), tokens);
  }

  // sell harvested XVS tokens
  function _disposeOfXvs() internal {
    uint256 _xvs = IERC20(xvs).balanceOf(address(this));

    if (_xvs > minXvsToSell) {
      address[] memory path = new address[](3);
      path[0] = xvs;
      path[1] = wbnb;
      path[2] = address(want);

      IUniswapV2Router02(uniswapRouter).swapExactTokensForTokens(_xvs, uint256(0), path, address(this), now);
    }
  }

  /**
   * @notice
   *  Liquidate up to _amountNeeded of asset of this strategy's position
   *  irregardless of slippage.
   * @param _amountNeeded the amount to liquidate
   * @return _amountFreed the amount freed
   * @return _loss the amount lost
   */
  function liquidatePosition(uint256 _amountNeeded) internal override returns (uint256 _amountFreed, uint256 _loss) {
    uint256 _balance = want.balanceOf(address(this));
    uint256 assets = netBalanceLent().add(_balance);

    uint256 debtOutstanding = vault.debtOutstanding(address(this));

    if (debtOutstanding > assets) {
      _loss = debtOutstanding - assets;
    }

    if (assets < _amountNeeded) {
      (uint256 deposits, uint256 borrows) = getLivePosition();
      if (vToken.balanceOf(address(this)) > 1) {
        _withdrawSome(deposits.sub(borrows));
      }

      _amountFreed = _min(_amountNeeded, want.balanceOf(address(this)));
    } else {
      if (_balance < _amountNeeded) {
        _withdrawSome(_amountNeeded.sub(_balance));
        _amountFreed = _min(_amountNeeded, want.balanceOf(address(this)));
      } else {
        _amountFreed = _amountNeeded;
      }
    }
  }

  function setProtectedTokens() internal override {
    protected[xvs] = true;
  }

  function _min(uint256 a, uint256 b) internal pure returns (uint256) {
    return a < b ? a : b;
  }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_vToken","type":"address"},{"internalType":"uint8","name":"_secondsPerBlock","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"EmergencyExitEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"profit","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"loss","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"debtPayment","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"debtOutstanding","type":"uint256"}],"name":"Harvested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountRequested","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountGiven","type":"uint256"},{"indexed":false,"internalType":"bool","name":"deficit","type":"bool"},{"indexed":false,"internalType":"address","name":"flashLoan","type":"address"}],"name":"Leverage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"debtThreshold","type":"uint256"}],"name":"UpdatedDebtThreshold","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newKeeper","type":"address"}],"name":"UpdatedKeeper","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"profitFactor","type":"uint256"}],"name":"UpdatedProfitFactor","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"delay","type":"uint256"}],"name":"UpdatedReportDelay","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"rewards","type":"address"}],"name":"UpdatedRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newStrategist","type":"address"}],"name":"UpdatedStrategist","type":"event"},{"inputs":[],"name":"apiVersion","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"blocksToLiquidationDangerZone","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collateralTarget","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crWant","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"debtThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"delegatedAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"emergencyExit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"estimatedTotalAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"underlying","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"bytes","name":"params","type":"bytes"}],"name":"executeOperation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"expectedReturn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flashLoanActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"forceMigrate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentPosition","outputs":[{"internalType":"uint256","name":"deposits","type":"uint256"},{"internalType":"uint256","name":"borrows","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLivePosition","outputs":[{"internalType":"uint256","name":"deposits","type":"uint256"},{"internalType":"uint256","name":"borrows","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getblocksUntilLiquidation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gasCost","type":"uint256"}],"name":"harvestTrigger","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keeper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReportDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newStrategy","type":"address"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minXvsToSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"netBalanceLent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"predictXvsAccrued","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"start","type":"address"},{"internalType":"address","name":"end","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"priceCheck","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"profitFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"protected","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_collateralTarget","type":"uint256"}],"name":"setCollateralTarget","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_debtThreshold","type":"uint256"}],"name":"setDebtThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setEmergencyExit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setFlashLoan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_force","type":"bool"}],"name":"setForceMigrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_keeper","type":"address"}],"name":"setKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_delay","type":"uint256"}],"name":"setMaxReportDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minWant","type":"uint256"}],"name":"setMinWant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minXvsToSell","type":"uint256"}],"name":"setMinXvsToSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_profitFactor","type":"uint256"}],"name":"setProfitFactor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewards","type":"address"}],"name":"setRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gasCost","type":"uint256"}],"name":"tendTrigger","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vToken","outputs":[{"internalType":"contract VBep20I","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"contract VaultAPI","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"venus","outputs":[{"internalType":"contract UnitrollerI","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"want","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wbnb","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountNeeded","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"amountFreed","type":"uint256"},{"internalType":"uint256","name":"_loss","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"xvs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6101006040526201518060035560646004556000600555670a217b21de090000600855670de0b6b3a7640000600955600a805461ff001960ff199091166001171690556305f5e100600b553480156200005757600080fd5b50604051620061ff380380620061ff8339810160408190526200007a91620005e5565b82806001600160a01b03166080816001600160a01b031660601b81525050806001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015620000d257600080fd5b505afa158015620000e7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200010d9190620005bc565b6001600160a01b031660a0816001600160a01b031660601b81525050620001c481600019836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200016b57600080fd5b505afa15801562000180573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a69190620005bc565b6001600160a01b0316620002da60201b620026fb179092919060201c565b5060008054336001600160a01b0319918216811790925560018054821683179055600280549091169091179055600a805462010000600160b01b031916620100006001600160a01b038581168202929092179283905560408051637e062a3560e11b81529051620002649492909204831692600019929088169163fc0c546a916004808301926020929190829003018186803b1580156200016b57600080fd5b620002a773cf6bb5389c92bdda8a3747ddb454cb7a64626c637310ed43c718714eb63d5aa57b78b54704e256024e600019620002da602090811b620026fb17901c565b60ff811660c081905262093a8081620002bc57fe5b0462ffffff1660e0525050620151806003555060646004556200086d565b801580620003695750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e9062000313903090869060040162000695565b60206040518083038186803b1580156200032c57600080fd5b505afa15801562000341573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200036791906200065e565b155b620003915760405162461bcd60e51b81526004016200038890620007c4565b60405180910390fd5b620003ec8363095ea7b360e01b8484604051602401620003b3929190620006af565b60408051808303601f190181529190526020810180516001600160e01b0319939093166001600160e01b0393841617905290620003f116565b505050565b60606200044d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200048d60201b620027fa179092919060201c565b805190915015620003ec57808060200190518101906200046e91906200063c565b620003ec5760405162461bcd60e51b815260040162000388906200077a565b60606200049e8484600085620004a8565b90505b9392505050565b606082471015620004cd5760405162461bcd60e51b81526004016200038890620006fd565b620004d88562000578565b620004f75760405162461bcd60e51b8152600401620003889062000743565b60006060866001600160a01b0316858760405162000516919062000677565b60006040518083038185875af1925050503d806000811462000555576040519150601f19603f3d011682016040523d82523d6000602084013e6200055a565b606091505b5090925090506200056d8282866200057e565b979650505050505050565b3b151590565b606083156200058f575081620004a1565b825115620005a05782518084602001fd5b8160405162461bcd60e51b8152600401620003889190620006c8565b600060208284031215620005ce578081fd5b81516001600160a01b0381168114620004a1578182fd5b600080600060608486031215620005fa578182fd5b8351620006078162000854565b60208501519093506200061a8162000854565b604085015190925060ff8116811462000631578182fd5b809150509250925092565b6000602082840312156200064e578081fd5b81518015158114620004a1578182fd5b60006020828403121562000670578081fd5b5051919050565b600082516200068b81846020870162000821565b9190910192915050565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b03929092168252602082015260400190565b6000602082528251806020840152620006e981604085016020870162000821565b601f01601f19169190910160400192915050565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606082015260800190565b60005b838110156200083e57818101518382015260200162000824565b838111156200084e576000848401525b50505050565b6001600160a01b03811681146200086a57600080fd5b50565b60805160601c60a05160601c60c05160e05161588e6200097160003980610e5b5280611c1e525080611b1852508061065852806108d65280610a545280611d555280611df9528061205b528061242d528061247a528061260852806128f75280612b125280612bd65280612c38528061321052806133b85280613b9c5280614098528061416a52806145e252806149e55250806106aa528061091252806109fc5280610cc35280611a705280611c4b5280611c9a5280611e315280611fa052806121c152806122a0528061255952806125e75280612669528061281552806129a7528061349252806135aa5280614211528061432d52806143d4525061588e6000f3fe608060405234801561001057600080fd5b50600436106103425760003560e01c8063775d35e5116101b8578063b203759211610104578063ea1f3588116100a2578063efbb5cb01161007c578063efbb5cb0146105ea578063f017c92f146105f2578063fbfa77cf14610605578063fcf2d0ad1461060d57610342565b8063ea1f3588146105bc578063ec38a862146105c4578063ed882c2b146105d757610342565b8063cb1965dd116100de578063cb1965dd14610591578063ccce1d7f14610599578063ce5494bb146105a1578063d3406abd146105b457610342565b8063b20375921461056e578063c1bb4b5414610576578063c7b9d5301461057e57610342565b80638d72647e116101715780639a561fbf1161014b5780639a561fbf146105435780639bb1a99c146105565780639ec5a8941461055e578063aced16611461056657610342565b80638d72647e146105205780638e6350e21461052857806391397ab41461053057610342565b8063775d35e5146104da5780637c4a3058146104e25780637e343841146104ea578063853e0a3b146104fd57806389be318a146105055780638cdfe1661461051857610342565b80633631ad5f1161029257806354f809e3116102305780636b30ccba1161020a5780636b30ccba146104a4578063735de9f7146104b7578063748747e6146104bf57806376246895146104d257610342565b806354f809e3146104765780635641ec0314610489578063650d18801461049157610342565b8063440368a31161026c578063440368a31461044b5780634641257d1461045357806346d7edaa1461045b5780634e79ed3c1461046e57610342565b80633631ad5f1461041d578063405b019d14610430578063418f35cc1461044357610342565b80631f1fcd51116102ff57806322f3e2d4116102d957806322f3e2d4146103d757806325829410146103ec57806328b7ccf7146103f45780632e1a7d4d146103fc57610342565b80631f1fcd51146103bf5780631fe4a686146103c7578063205409d3146103cf57610342565b806301681a62146103475780630268ff0b1461035c57806306fdde031461037a5780630f969b871461038f5780631d12f28b146103a25780631df294fb146103aa575b600080fd5b61035a610355366004614c07565b610615565b005b6103646107ce565b60405161037191906156ff565b60405180910390f35b6103826107f2565b60405161037191906150ee565b61035a61039d366004614ed0565b610829565b6103646108b6565b6103b26108bc565b6040516103719190614fed565b6103b26108d4565b6103b26108f8565b610364610907565b6103df61090d565b60405161037191906150d3565b6103826109c9565b6103646109e8565b61040f61040a366004614ed0565b6109ee565b604051610371929190615721565b61035a61042b366004614ed0565b610a80565b61035a61043e366004614c7f565b610ad2565b61040f610b7f565b61035a610c46565b61035a610d4f565b6103df610469366004614c07565b610db9565b6103b2610dce565b61035a610484366004614db9565b610de6565b6103df610e38565b6103df61049f366004614ed0565b610e41565b61035a6104b2366004614db9565b610e90565b6103b2610ef0565b61035a6104cd366004614c07565b610f08565b6103b2610fb3565b61040f610fcb565b6103646110e4565b61035a6104f8366004614ed0565b6110ea565b61036461113c565b610364610513366004614c3f565b61138a565b6103646115cb565b6103b26115d1565b6103646115e9565b61035a61053e366004614ed0565b6115ee565b61035a610551366004614ed0565b611670565b6103b2611782565b6103b2611797565b6103b26117a6565b6103646117b5565b610364611b5d565b61035a61058c366004614c07565b611b63565b6103df611c0e565b610364611c1c565b61035a6105af366004614c07565b611c40565b610364611e20565b6103df611eee565b61035a6105d2366004614c07565b611ef7565b6103df6105e5366004614ed0565b611f7f565b610364612367565b61035a610600366004614ed0565b6124d5565b6103b2612557565b61035a61257b565b61061d612811565b6001600160a01b0316336001600160a01b0316146106565760405162461bcd60e51b815260040161064d9061558c565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031614156106a85760405162461bcd60e51b815260040161064d90615126565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031614156106fa5760405162461bcd60e51b815260040161064d90615488565b6001600160a01b03811660009081526007602052604090205460ff16156107335760405162461bcd60e51b815260040161064d906155fb565b6107cb61073e612811565b6040516370a0823160e01b81526001600160a01b038416906370a082319061076a903090600401614fed565b60206040518083038186803b15801561078257600080fd5b505afa158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba9190614ee8565b6001600160a01b03841691906128a4565b50565b60008060006107db610b7f565b90925090506107ea82826128c3565b925050505b90565b60408051808201909152601c81527f537472617465677955676f4861776b56656e7573555344434661726d00000000602082015290565b6000546001600160a01b031633148061085a5750610845612811565b6001600160a01b0316336001600160a01b0316145b6108765760405162461bcd60e51b815260040161064d906153c7565b60058190556040517fa68ba126373d04c004c5748c300c9fca12bd444b3d4332e261f3bd2bac4a8600906108ab9083906156ff565b60405180910390a150565b60055481565b73fd36e2c2a6789db23113685031d7f1632915838481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031681565b60095481565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166339ebf823306040518263ffffffff1660e01b815260040161095c9190614fed565b6101006040518083038186803b15801561097557600080fd5b505afa158015610989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ad9190614e5e565b6040015111806109c4575060006109c2612367565b115b905090565b6040805180820190915260058152640302e312e360dc1b602082015290565b60035481565b600080336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610a395760405162461bcd60e51b815260040161064d90615468565b610a42836128f0565b9092509050610a7b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633846128a4565b915091565b610a88612811565b6001600160a01b0316336001600160a01b03161480610ab157506000546001600160a01b031633145b610acd5760405162461bcd60e51b815260040161064d90615567565b600955565b6001600160a01b0386163014610afa5760405162461bcd60e51b815260040161064d906154a9565b3373d83c88db3a6ca4a32fff1603b0f7ddce01f5f72714610b2d5760405162461bcd60e51b815260040161064d906151ca565b6000610b3b82840184614df1565b509050610b4b8186868801612c33565b50610b766001600160a01b03871673d83c88db3a6ca4a32fff1603b0f7ddce01f5f7278787016128a4565b50505050505050565b600a546040516361bfb47160e11b815260009182918291829182916201000090046001600160a01b03169063c37f68e290610bbe903090600401614fed565b60806040518083038186803b158015610bd657600080fd5b505afa158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e9190614f2d565b93509350935050819350610c3d670de0b6b3a7640000610c37838661317a90919063ffffffff16565b906131b4565b94505050509091565b6002546001600160a01b0316331480610c6957506000546001600160a01b031633145b80610c8c5750610c77612811565b6001600160a01b0316336001600160a01b0316145b610ca85760405162461bcd60e51b815260040161064d906156bc565b60405163bdcf36bb60e01b8152610d4d906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063bdcf36bb90610cf8903090600401614fed565b60206040518083038186803b158015610d1057600080fd5b505afa158015610d24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d489190614ee8565b6131e6565b565b6002546001600160a01b0316331480610d7257506000546001600160a01b031633145b80610d955750610d80612811565b6001600160a01b0316336001600160a01b0316145b610db15760405162461bcd60e51b815260040161064d906156bc565b610d4d61348b565b60076020526000908152604090205460ff1681565b73cf6bb5389c92bdda8a3747ddb454cb7a64626c6381565b610dee612811565b6001600160a01b0316336001600160a01b031614610e1e5760405162461bcd60e51b815260040161064d9061558c565b600a80549115156101000261ff0019909216919091179055565b60065460ff1681565b6000610e4c82611f7f565b15610e5957506000610e8b565b7f0000000000000000000000000000000000000000000000000000000000000000610e8261113c565b11610e8b575060015b919050565b610e98612811565b6001600160a01b0316336001600160a01b03161480610ec157506000546001600160a01b031633145b610edd5760405162461bcd60e51b815260040161064d90615567565b600a805460ff1916911515919091179055565b7310ed43c718714eb63d5aa57b78b54704e256024e81565b6000546001600160a01b0316331480610f395750610f24612811565b6001600160a01b0316336001600160a01b0316145b610f555760405162461bcd60e51b815260040161064d906153c7565b6001600160a01b038116610f6857600080fd5b600280546001600160a01b0319166001600160a01b0383161790556040517f2f202ddb4a2e345f6323ed90f8fc8559d770a7abbbeee84dde8aca3351fe7154906108ab908390614fed565b73d83c88db3a6ca4a32fff1603b0f7ddce01f5f72781565b600a54604051633af9e66960e01b81526000918291620100009091046001600160a01b031690633af9e66990611005903090600401614fed565b602060405180830381600087803b15801561101f57600080fd5b505af1158015611033573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110579190614ee8565b600a546040516395dd919360e01b81529193506201000090046001600160a01b0316906395dd91939061108e903090600401614fed565b60206040518083038186803b1580156110a657600080fd5b505afa1580156110ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110de9190614ee8565b90509091565b600b5481565b6110f2612811565b6001600160a01b0316336001600160a01b0316148061111b57506000546001600160a01b031633145b6111375760405162461bcd60e51b815260040161064d90615567565b600b55565b600a54604051638e8f294b60e01b8152600091829173fd36e2c2a6789db23113685031d7f1632915838491638e8f294b91611189916201000090046001600160a01b031690600401614fed565b60606040518083038186803b1580156111a157600080fd5b505afa1580156111b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d99190614e1c565b509150506000806111e8610b7f565b915091506000600a60029054906101000a90046001600160a01b03166001600160a01b031663f8f9da286040518163ffffffff1660e01b815260040160206040518083038186803b15801561123c57600080fd5b505afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112749190614ee8565b90506000600a60029054906101000a90046001600160a01b03166001600160a01b031663ae9d70b06040518163ffffffff1660e01b815260040160206040518083038186803b1580156112c657600080fd5b505afa1580156112da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fe9190614ee8565b90506000611318670de0b6b3a7640000610c37878961317a565b9050806000611327868661317a565b90506000611335838661317a565b90508181106113515760001999505050505050505050506107ef565b600061135d84896128c3565b905081830361137881610c3784670de0b6b3a764000061317a565b9b5050505050505050505050506107ef565b600081611399575060006115c4565b60606001600160a01b03851673bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c141561145557604080516002808252606082018352909160208301908036833701905050905073bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c8160008151811061140257fe5b60200260200101906001600160a01b031690816001600160a01b031681525050838160018151811061143057fe5b60200260200101906001600160a01b031690816001600160a01b031681525050611515565b604080516003808252608082019092529060208201606080368337019050509050848160008151811061148457fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c816001815181106114c657fe5b60200260200101906001600160a01b031690816001600160a01b03168152505083816002815181106114f457fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b60405163d06ca61f60e01b81526060907310ed43c718714eb63d5aa57b78b54704e256024e9063d06ca61f906115519087908690600401615708565b60006040518083038186803b15801561156957600080fd5b505afa15801561157d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115a59190810190614d24565b9050806001825103815181106115b757fe5b6020026020010151925050505b9392505050565b60045481565b73bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c81565b600090565b6000546001600160a01b031633148061161f575061160a612811565b6001600160a01b0316336001600160a01b0316145b61163b5760405162461bcd60e51b815260040161064d906153c7565b60048190556040517fd94596337df4c2f0f44d30a7fc5db1c7bb60d9aca4185ed77c6fd96eb45ec298906108ab9083906156ff565b611678612811565b6001600160a01b0316336001600160a01b031614806116a157506000546001600160a01b031633145b6116bd5760405162461bcd60e51b815260040161064d90615567565b600a54604051638e8f294b60e01b815260009173fd36e2c2a6789db23113685031d7f1632915838491638e8f294b9161170991620100009091046001600160a01b031690600401614fed565b60606040518083038186803b15801561172157600080fd5b505afa158015611735573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117599190614e1c565b5091505081811161177c5760405162461bcd60e51b815260040161064d90615293565b50600855565b600a546201000090046001600160a01b031681565b6001546001600160a01b031681565b6002546001600160a01b031681565b60008060006117c2610b7f565b9150915081600014156117da576000925050506107ef565b600a54604051631abcaa7760e01b815260009173fd36e2c2a6789db23113685031d7f1632915838491631abcaa779161182691620100009091046001600160a01b031690600401614fed565b60206040518083038186803b15801561183e57600080fd5b505afa158015611852573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118769190614ee8565b90506000600a60029054906101000a90046001600160a01b03166001600160a01b03166347bd37186040518163ffffffff1660e01b815260040160206040518083038186803b1580156118c857600080fd5b505afa1580156118dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119009190614ee8565b90506000600a60029054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561195257600080fd5b505afa158015611966573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198a9190614ee8565b90506000611a2a670de0b6b3a7640000610c37600a60029054906101000a90046001600160a01b03166001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b1580156119eb57600080fd5b505afa1580156119ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a239190614ee8565b859061317a565b905060008115611a4557611a4282610c37898861317a565b90505b60008415611a5e57611a5b85610c37898961317a565b90505b6000611a6a838361368b565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166339ebf823306040518263ffffffff1660e01b8152600401611aba9190614fed565b6101006040518083038186803b158015611ad357600080fd5b505afa158015611ae7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0b9190614e5e565b6080015190506000611b417f0000000000000000000000000000000000000000000000000000000000000000610c3742856128c3565b9050611b4d818461317a565b9b50505050505050505050505090565b60085481565b6000546001600160a01b0316331480611b945750611b7f612811565b6001600160a01b0316336001600160a01b0316145b611bb05760405162461bcd60e51b815260040161064d906153c7565b6001600160a01b038116611bc357600080fd5b600080546001600160a01b0319166001600160a01b0383161790556040517f352ececae6d7d1e6d26bcf2c549dfd55be1637e9b22dc0cf3b71ddb36097a6b4906108ab908390614fed565b600a54610100900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480611c8f5750611c7a612811565b6001600160a01b0316336001600160a01b0316145b611c9857600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031663fbfa77cf6040518163ffffffff1660e01b815260040160206040518083038186803b158015611cfb57600080fd5b505afa158015611d0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d339190614c23565b6001600160a01b031614611d4657600080fd5b611d4f816136b0565b6107cb817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401611d9f9190614fed565b60206040518083038186803b158015611db757600080fd5b505afa158015611dcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611def9190614ee8565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691906128a4565b600080611e2b612367565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166339ebf823306040518263ffffffff1660e01b8152600401611e7b9190614fed565b6101006040518083038186803b158015611e9457600080fd5b505afa158015611ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecc9190614e5e565b60a00151905081811115611ee5576000925050506107ef565b900390506107ef565b600a5460ff1681565b6000546001600160a01b03163314611f215760405162461bcd60e51b815260040161064d90615101565b6001600160a01b038116611f3457600080fd5b600180546001600160a01b0319166001600160a01b0383161790556040517fafbb66abf8f3b719799940473a4052a3717cdd8e40fb6c8a3faadab316b1a069906108ab908390614fed565b6000611f89614bc2565b6040516339ebf82360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906339ebf82390611fd5903090600401614fed565b6101006040518083038186803b158015611fee57600080fd5b505afa158015612002573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120269190614e5e565b905080602001516000141561203f576000915050610e8b565b600061208073bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c7f00000000000000000000000000000000000000000000000000000000000000008661138a565b905060006120b773bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c73cf6bb5389c92bdda8a3747ddb454cb7a64626c638761138a565b905060006120c36117b5565b9050600b54811115612182576004546120dd90839061317a565b6040516370a0823160e01b815261216f9073cf6bb5389c92bdda8a3747ddb454cb7a64626c63906370a0823190612118903090600401614fed565b60206040518083038186803b15801561213057600080fd5b505afa158015612144573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121689190614ee8565b839061368b565b1115612182576001945050505050610e8b565b60035460808501516121959042906128c3565b106121a7576001945050505050610e8b565b60405163bdcf36bb60e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063bdcf36bb906121f6903090600401614fed565b60206040518083038186803b15801561220e57600080fd5b505afa158015612222573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122469190614ee8565b600454909150612256908561317a565b81111561226b57600195505050505050610e8b565b6000612275612367565b905060008660a001518211156122985760a08701516122959083906128c3565b90505b6000612340827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d7648013306040518263ffffffff1660e01b81526004016122ea9190614fed565b60206040518083038186803b15801561230257600080fd5b505afa158015612316573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233a9190614ee8565b9061368b565b9050806123588860045461317a90919063ffffffff16565b109a9950505050505050505050565b6000806000612374610b7f565b9150915060006123826117b5565b6040516370a0823160e01b815290915060009073cf6bb5389c92bdda8a3747ddb454cb7a64626c63906370a08231906123bf903090600401614fed565b60206040518083038186803b1580156123d757600080fd5b505afa1580156123eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240f9190614ee8565b9050600061245673cf6bb5389c92bdda8a3747ddb454cb7a64626c637f0000000000000000000000000000000000000000000000000000000000000000610513868661368b565b9050600061246a600a610c3784600961317a565b90506124ca856124c48361233a8a7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016122ea9190614fed565b906128c3565b965050505050505090565b6000546001600160a01b031633148061250657506124f1612811565b6001600160a01b0316336001600160a01b0316145b6125225760405162461bcd60e51b815260040161064d906153c7565b60038190556040517f4aaf232568bff365c53cad69bdb6e83014e79df80216ceba8ee01769723dfd68906108ab9083906156ff565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b03163314806125ac5750612597612811565b6001600160a01b0316336001600160a01b0316145b6125c85760405162461bcd60e51b815260040161064d906153c7565b6006805460ff191660011790556125e06000196128f0565b50506126527f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401611d9f9190614fed565b60405163177329a960e31b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063bb994d489061269e903090600401614fed565b600060405180830381600087803b1580156126b857600080fd5b505af11580156126cc573d6000803e3d6000fd5b50506040517f97e963041e952738788b9d4871d854d282065b8f90a464928d6528f2e9a4fd0b925060009150a1565b8015806127835750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906127319030908690600401615001565b60206040518083038186803b15801561274957600080fd5b505afa15801561275d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127819190614ee8565b155b61279f5760405162461bcd60e51b815260040161064d9061561f565b6127f58363095ea7b360e01b84846040516024016127be929190615077565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261383a565b505050565b606061280984846000856138c9565b949350505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635aa6e6756040518163ffffffff1660e01b815260040160206040518083038186803b15801561286c57600080fd5b505afa158015612880573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c49190614c23565b6127f58363a9059cbb60e01b84846040516024016127be929190615077565b6000828211156128e55760405162461bcd60e51b815260040161064d90615227565b508082035b92915050565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016129419190614fed565b60206040518083038186803b15801561295957600080fd5b505afa15801561296d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129919190614ee8565b905060006129a18261233a6107ce565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bdcf36bb306040518263ffffffff1660e01b81526004016129f19190614fed565b60206040518083038186803b158015612a0957600080fd5b505afa158015612a1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a419190614ee8565b905081811115612a515781810393505b85821015612bba57600080612a64610fcb565b600a546040516370a0823160e01b8152929450909250600191620100009091046001600160a01b0316906370a0823190612aa2903090600401614fed565b60206040518083038186803b158015612aba57600080fd5b505afa158015612ace573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612af29190614ee8565b1115612b0c57612b0a612b0583836128c3565b61398a565b505b612bb1887f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401612b5c9190614fed565b60206040518083038186803b158015612b7457600080fd5b505afa158015612b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bac9190614ee8565b613cc4565b96505050612c2b565b85831015612c2757612bcf612b0587856128c3565b50612c20867f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401612b5c9190614fed565b9450612c2b565b8594505b505050915091565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401612c829190614fed565b60206040518083038186803b158015612c9a57600080fd5b505afa158015612cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd29190614ee8565b905083811015612cf45760405162461bcd60e51b815260040161064d90615145565b8415612e0f57600a5460405163073a938160e11b8152620100009091046001600160a01b031690630e75270290612d2f9087906004016156ff565b602060405180830381600087803b158015612d4957600080fd5b505af1158015612d5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d819190614ee8565b50600a5460405163852a12e360e01b8152620100009091046001600160a01b03169063852a12e390612db79086906004016156ff565b602060405180830381600087803b158015612dd157600080fd5b505af1158015612de5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e099190614ee8565b50613172565b600a5460405163140e25ad60e31b8152620100009091046001600160a01b03169063a0712d6890612e449084906004016156ff565b602060405180830381600087803b158015612e5e57600080fd5b505af1158015612e72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e969190614ee8565b15612eb35760405162461bcd60e51b815260040161064d9061550c565b60408051600180825281830190925260609160208083019080368337019050509050600a60029054906101000a90046001600160a01b031681600081518110612ef857fe5b6001600160a01b0390921660209283029190910190910152604051631853304760e31b815260609073fd36e2c2a6789db23113685031d7f163291583849063c299823890612f4a9085906004016150c0565b600060405180830381600087803b158015612f6457600080fd5b505af1158015612f78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612fa09190810190614d24565b905080600081518110612faf57fe5b6020026020010151600014612fd65760405162461bcd60e51b815260040161064d9061525e565b604051635ec88c7960e01b81526000908190819073fd36e2c2a6789db23113685031d7f1632915838490635ec88c7990613014903090600401614fed565b60606040518083038186803b15801561302c57600080fd5b505afa158015613040573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130649190614f00565b9250925092508260001461308a5760405162461bcd60e51b815260040161064d90615675565b80156130a85760405162461bcd60e51b815260040161064d906154e0565b600082116130c85760405162461bcd60e51b815260040161064d90615333565b600a5460405163317afabb60e21b8152620100009091046001600160a01b03169063c5ebeaec906130fd908b906004016156ff565b602060405180830381600087803b15801561311757600080fd5b505af115801561312b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061314f9190614ee8565b1561316c5760405162461bcd60e51b815260040161064d90615201565b50505050505b509392505050565b600082613189575060006128ea565b8282028284828161319657fe5b04146115c45760405162461bcd60e51b815260040161064d90615427565b60008082116131d55760405162461bcd60e51b815260040161064d9061536a565b8183816131de57fe5b049392505050565b60065460ff16156131f6576107cb565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190613245903090600401614fed565b60206040518083038186803b15801561325d57600080fd5b505afa158015613271573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132959190614ee8565b90508181101561333f57600a546040516370a0823160e01b81526001916201000090046001600160a01b0316906370a08231906132d6903090600401614fed565b60206040518083038186803b1580156132ee57600080fd5b505afa158015613302573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133269190614ee8565b11156133395761333781830361398a565b505b506107cb565b60008061334f8484036001613cda565b9150915060095482111561348557600a5460ff166133a15760005b821561339b5761338461337d8484613db5565b84906128c3565b9250600681106133935761339b565b60010161336a565b50613485565b6040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a08231906134019073d83c88db3a6ca4a32fff1603b0f7ddce01f5f72790600401614fed565b60206040518083038186803b15801561341957600080fd5b505afa15801561342d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134519190614ee8565b82111561346f5761346c6134658383613db5565b83906128c3565b91505b600954821115613485576134838183613ef2565b505b50505050565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bdcf36bb306040518263ffffffff1660e01b81526004016134dc9190614fed565b60206040518083038186803b1580156134f457600080fd5b505afa158015613508573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061352c9190614ee8565b60065490915060009060ff1615613582576000613547612367565b9050613560838211613559578361355b565b815b6128f0565b945091508282111561357c5761357682846128c3565b94508291505b50613593565b61358b82613fef565b919550935090505b6040516328766ebf60e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a1d9bafc906135e390879087908690600401615791565b602060405180830381600087803b1580156135fd57600080fd5b505af1158015613611573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136359190614ee8565b915061363f614313565b613648826131e6565b7f4c0f499ffe6befa0ca7c826b0916cf87bea98de658013e76938489368d60d5098484838560405161367d94939291906157a7565b60405180910390a150505050565b6000828201838110156115c45760405162461bcd60e51b815260040161064d90615193565b600a54610100900460ff166107cb576000806136ca610fcb565b90925090506136dc612b0583836128c3565b50600a546040516361bfb47160e11b81526000916201000090046001600160a01b03169063c37f68e290613714903090600401614fed565b60806040518083038186803b15801561372c57600080fd5b505afa158015613740573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137649190614f2d565b5092505050612710811061378a5760405162461bcd60e51b815260040161064d906152c3565b6040516370a0823160e01b815273cf6bb5389c92bdda8a3747ddb454cb7a64626c639060009082906370a08231906137c6903090600401614fed565b60206040518083038186803b1580156137de57600080fd5b505afa1580156137f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138169190614ee8565b90508015613832576138326001600160a01b03831687836128a4565b505050505050565b606061388f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127fa9092919063ffffffff16565b8051909150156127f557808060200190518101906138ad9190614dd5565b6127f55760405162461bcd60e51b815260040161064d906155b1565b6060824710156138eb5760405162461bcd60e51b815260040161064d906152ed565b6138f485614465565b6139105760405162461bcd60e51b815260040161064d90615530565b60006060866001600160a01b0316858760405161392d9190614fd1565b60006040518083038185875af1925050503d806000811461396a576040519150601f19603f3d011682016040523d82523d6000602084013e61396f565b606091505b509150915061397f82828661446b565b979650505050505050565b600080600061399a846000613cda565b915091508080156139ac575060095482115b15613a06576139be6134658284613ef2565b915060005b6009546139d190606461368b565b831115613a04576139e661337d846001613db5565b9250600101600560ff8216106139ff5760019350613a04565b6139c3565b505b600080613a11610b7f565b6008549193509150600081613a2b5766038d7ea4c6800091505b613a4182610c3785670de0b6b3a764000061317a565b9050808410613b78576000613a5685836128c3565b905088811015613aed57600a5460405163852a12e360e01b8152620100009091046001600160a01b03169063852a12e390613a959084906004016156ff565b602060405180830381600087803b158015613aaf57600080fd5b505af1158015613ac3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ae79190614ee8565b50613b76565b600a5460405163852a12e360e01b8152620100009091046001600160a01b03169063852a12e390613b22908c906004016156ff565b602060405180830381600087803b158015613b3c57600080fd5b505af1158015613b50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b749190614ee8565b505b505b600854158015613c2357506040516370a0823160e01b815283906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190613bd1903090600401614fed565b60206040518083038186803b158015613be957600080fd5b505afa158015613bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c219190614ee8565b115b15613cb157600a5460405163073a938160e11b8152620100009091046001600160a01b031690630e75270290613c5d9086906004016156ff565b602060405180830381600087803b158015613c7757600080fd5b505af1158015613c8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613caf9190614ee8565b505b613cb96144a4565b505050505050919050565b6000818310613cd357816115c4565b5090919050565b600080600080613ce8610fcb565b90925090506000613cf983836128c3565b905060008615613d1457613d0d828961368b565b9050613d2d565b81881115613d20578197505b613d2a82896128c3565b90505b6000613d446008548361317a90919063ffffffff16565b90506000613d65600854670de0b6b3a76400006128c390919063ffffffff16565b90506000613d7383836131b4565b9050620186a0811115613d87576201869f19015b85811015613d9d57600197508086039850613da7565b6000975085810398505b505050505050509250929050565b6000806000613dc2610b7f565b91509150806000148015613dd35750835b15613de3576000925050506128ea565b600a54604051638e8f294b60e01b815260009173fd36e2c2a6789db23113685031d7f1632915838491638e8f294b91613e2f91620100009091046001600160a01b031690600401614fed565b60606040518083038186803b158015613e4757600080fd5b505afa158015613e5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7f9190614e1c565b509150508415613e9c57613e95868484846146bc565b9350613eab565b613ea8868484846148d3565b93505b7f012a05dea1e4b56be6c250aaa3e6189a1f531f1fd201b35b2a74c56577000bf48685876000604051613ee1949392919061576b565b60405180910390a150505092915050565b600081613f01575060006128ea565b6040518290606090613f1990869084906020016150de565b60408051601f198184030181529082905263701195a160e11b8252915073d83c88db3a6ca4a32fff1603b0f7ddce01f5f7279063e0232b4290613f6490309086908690600401615090565b600060405180830381600087803b158015613f7e57600080fd5b505af1158015613f92573d6000803e3d6000fd5b505050507f012a05dea1e4b56be6c250aaa3e6189a1f531f1fd201b35b2a74c56577000bf484838773d83c88db3a6ca4a32fff1603b0f7ddce01f5f727604051613fdf949392919061576b565b60405180910390a1509392505050565b600a546040516370a0823160e01b8152600091829182916201000090046001600160a01b0316906370a082319061402a903090600401614fed565b60206040518083038186803b15801561404257600080fd5b505afa158015614056573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061407a9190614ee8565b614131576040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a08231906140cd903090600401614fed565b60206040518083038186803b1580156140e557600080fd5b505afa1580156140f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061411d9190614ee8565b90506141298186613cc4565b91505061430c565b60008061413c610fcb565b91509150614148614afe565b6141506144a4565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319061419f903090600401614fed565b60206040518083038186803b1580156141b757600080fd5b505afa1580156141cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141ef9190614ee8565b905060006141fd84846128c3565b9050600061420b828461368b565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166339ebf823306040518263ffffffff1660e01b815260040161425b9190614fed565b6101006040518083038186803b15801561427457600080fd5b505afa158015614288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142ac9190614e5e565b60a001519050808211156142f3578082039850888410156142cf578398506142ee565b6142d9898b61368b565b8411156142e8578996506142ee565b88840396505b614305565b8181039750614302848b613cc4565b96505b5050505050505b9193909250565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190614362903090600401614fed565b60206040518083038186803b15801561437a57600080fd5b505afa15801561438e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143b29190614ee8565b905080156107cb5760015460405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263a9059cbb9261440f9291909116908590600401615077565b602060405180830381600087803b15801561442957600080fd5b505af115801561443d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144619190614dd5565b5050565b3b151590565b6060831561447a5750816115c4565b82511561448a5782518084602001fd5b8160405162461bcd60e51b815260040161064d91906150ee565b6040516370a0823160e01b815260009073cf6bb5389c92bdda8a3747ddb454cb7a64626c63906370a08231906144de903090600401614fed565b60206040518083038186803b1580156144f657600080fd5b505afa15801561450a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061452e9190614ee8565b9050600b548111156107cb576040805160038082526080820190925260609160208201838036833701905050905073cf6bb5389c92bdda8a3747ddb454cb7a64626c638160008151811061457e57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c816001815181106145c057fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160028151811061460e57fe5b6001600160a01b03909216602092830291909101909101526040516338ed173960e01b81527310ed43c718714eb63d5aa57b78b54704e256024e906338ed17399061466690859060009086903090429060040161572f565b600060405180830381600087803b15801561468057600080fd5b505af1158015614694573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127f59190810190614d24565b60008082156146de576146db83610c3786670de0b6b3a764000061317a565b90505b6146e885826128c3565b91508382106146f5578391505b858210614700578591505b6000600a60029054906101000a90046001600160a01b03166001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b15801561475057600080fd5b505afa158015614764573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147889190614ee8565b90508061479d84670de0b6b3a764000061317a565b101580156147ab5750600a83115b156148c957600a5460405163852a12e360e01b81526009199490940193620100009091046001600160a01b03169063852a12e3906147ed9086906004016156ff565b602060405180830381600087803b15801561480757600080fd5b505af115801561481b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061483f9190614ee8565b50600a5460405163073a938160e11b8152620100009091046001600160a01b031690630e752702906148759086906004016156ff565b602060405180830381600087803b15801561488f57600080fd5b505af11580156148a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148c79190614ee8565b505b5050949350505050565b6000806148ec670de0b6b3a7640000610c37878661317a565b90506148f881856128c3565b9150858210614905578591505b600a821115614af557600a5460405163317afabb60e21b81526009199390930192620100009091046001600160a01b03169063c5ebeaec9061494b9085906004016156ff565b602060405180830381600087803b15801561496557600080fd5b505af1158015614979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061499d9190614ee8565b156149ba5760405162461bcd60e51b815260040161064d906153fe565b600a546040516370a0823160e01b8152620100009091046001600160a01b039081169163a0712d68917f000000000000000000000000000000000000000000000000000000000000000016906370a0823190614a1a903090600401614fed565b60206040518083038186803b158015614a3257600080fd5b505afa158015614a46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a6a9190614ee8565b6040518263ffffffff1660e01b8152600401614a8691906156ff565b602060405180830381600087803b158015614aa057600080fd5b505af1158015614ab4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614ad89190614ee8565b15614af55760405162461bcd60e51b815260040161064d906153a1565b50949350505050565b60408051600180825281830190925260609160208083019080368337019050509050600a60029054906101000a90046001600160a01b031681600081518110614b4357fe5b6001600160a01b039092166020928302919091019091015260405163436f98f760e11b815273fd36e2c2a6789db23113685031d7f16329158384906386df31ee90614b94903090859060040161501b565b600060405180830381600087803b158015614bae57600080fd5b505af1158015613483573d6000803e3d6000fd5b60405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b600060208284031215614c18578081fd5b81356115c481615835565b600060208284031215614c34578081fd5b81516115c481615835565b600080600060608486031215614c53578182fd5b8335614c5e81615835565b92506020840135614c6e81615835565b929592945050506040919091013590565b60008060008060008060a08789031215614c97578182fd5b8635614ca281615835565b95506020870135614cb281615835565b94506040870135935060608701359250608087013567ffffffffffffffff80821115614cdc578384fd5b818901915089601f830112614cef578384fd5b813581811115614cfd578485fd5b8a6020828501011115614d0e578485fd5b6020830194508093505050509295509295509295565b60006020808385031215614d36578182fd5b825167ffffffffffffffff811115614d4c578283fd5b8301601f81018513614d5c578283fd5b8051614d6f614d6a826157e9565b6157c2565b8181528381019083850185840285018601891015614d8b578687fd5b8694505b83851015614dad578051835260019490940193918501918501614d8f565b50979650505050505050565b600060208284031215614dca578081fd5b81356115c48161584a565b600060208284031215614de6578081fd5b81516115c48161584a565b60008060408385031215614e03578182fd5b8235614e0e8161584a565b946020939093013593505050565b600080600060608486031215614e30578283fd5b8351614e3b8161584a565b602085015160408601519194509250614e538161584a565b809150509250925092565b6000610100808385031215614e71578182fd5b614e7a816157c2565b9050825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201528091505092915050565b600060208284031215614ee1578081fd5b5035919050565b600060208284031215614ef9578081fd5b5051919050565b600080600060608486031215614f14578081fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215614f42578182fd5b505082516020840151604085015160609095015191969095509092509050565b6000815180845260208085019450808401835b83811015614f9a5781516001600160a01b031687529582019590820190600101614f75565b509495945050505050565b60008151808452614fbd816020860160208601615809565b601f01601f19169290920160200192915050565b60008251614fe3818460208701615809565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b038381168252604060208084018290528451918401829052600092858201929091906060860190855b8181101561506957855185168352948301949183019160010161504b565b509098975050505050505050565b6001600160a01b03929092168252602082015260400190565b600060018060a01b0385168252836020830152606060408301526150b76060830184614fa5565b95945050505050565b6000602082526115c46020830184614f62565b901515815260200190565b9115158252602082015260400190565b6000602082526115c46020830184614fa5565b6020808252600b908201526a085cdd1c985d1959da5cdd60aa1b604082015260600190565b602080825260059082015264085dd85b9d60da1b604082015260600190565b6020808252602e908201527f496e76616c69642062616c616e63652c207761732074686520666c6173686c6f60408201526d616e207375636365737366756c3f60901b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526017908201527f4e6f7420466c617368204c6f616e2050726f7669646572000000000000000000604082015260600190565b6020808252600c908201526b3137b93937bb9032b93937b960a11b604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b6020808252818101527f436f6d7074726f6c6c65722e656e7465724d61726b657473206661696c65642e604082015260600190565b6020808252601690820152750859185b9859d95c9bdd5cc818dbdb1b185d195c985b60521b604082015260600190565b60208082526010908201526f111153115591549051d157d1925494d560821b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601d908201527f6163636f756e74206861732065786365737320636f6c6c61746572616c000000604082015260600190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252600c908201526b39bab838363c9032b93937b960a11b604082015260600190565b60208082526019908201527f217374726174656769737420262021676f7665726e616e636500000000000000604082015260600190565b6020808252600f908201526e676f7420636f6c6c61746572616c3f60881b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b602080825260069082015265085d985d5b1d60d21b604082015260600190565b6020808252600790820152662173686172657360c81b604082015260600190565b6020808252601b908201527f63616c6c6572206973206e6f74207468697320636f6e74726163740000000000604082015260600190565b60208082526012908201527130b1b1b7bab73a103ab73232b93bb0ba32b960711b604082015260600190565b6020808252600a908201526936b4b73a1032b93937b960b11b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252600b908201526a085b585b9859d95b595b9d60aa1b604082015260600190565b6020808252600b908201526a08585d5d1a1bdc9a5e995960aa1b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252600a9082015269085c1c9bdd1958dd195960b21b604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b60208082526027908201527f436f6d7074726f6c6c65722e6765744163636f756e744c6971756964697479206040820152663330b4b632b21760c91b606082015260800190565b60208082526023908201527f216b6565706572202620217374726174656769737420262021676f7665726e616040820152626e636560e81b606082015260800190565b90815260200190565b6000838252604060208301526128096040830184614f62565b918252602082015260400190565b600086825285602083015260a0604083015261574e60a0830186614f62565b6001600160a01b0394909416606083015250608001529392505050565b9384526020840192909252151560408301526001600160a01b0316606082015260800190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b60405181810167ffffffffffffffff811182821017156157e157600080fd5b604052919050565b600067ffffffffffffffff8211156157ff578081fd5b5060209081020190565b60005b8381101561582457818101518382015260200161580c565b838111156134855750506000910152565b6001600160a01b03811681146107cb57600080fd5b80151581146107cb57600080fdfea2646970667358221220f4916f945fe02a582c250294c3c87656f8d8158f6706e11191e0264ffb11257064736f6c634300060c0033000000000000000000000000e9629a6dcaab278aafdef20cd85e94b7bb93990c000000000000000000000000eca88125a5adbe82614ffc12d0db554e2e2867c80000000000000000000000000000000000000000000000000000000000000003

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

000000000000000000000000e9629a6dcaab278aafdef20cd85e94b7bb93990c000000000000000000000000eca88125a5adbe82614ffc12d0db554e2e2867c80000000000000000000000000000000000000000000000000000000000000003

-----Decoded View---------------
Arg [0] : _vault (address): 0xe9629a6dcaab278aafdef20cd85e94b7bb93990c
Arg [1] : _vToken (address): 0xeca88125a5adbe82614ffc12d0db554e2e2867c8
Arg [2] : _secondsPerBlock (uint8): 3

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000e9629a6dcaab278aafdef20cd85e94b7bb93990c
Arg [1] : 000000000000000000000000eca88125a5adbe82614ffc12d0db554e2e2867c8
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000003


Deployed ByteCode Sourcemap

48430:23260:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47507:299;;;;;;:::i;:::-;;:::i;:::-;;53946:162;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50248:113;;;:::i;:::-;;;;;;;:::i;47977:165::-;;;;;;:::i;:::-;;:::i;37686:32::-;;;:::i;48583:91::-;;;:::i;:::-;;;;;;;:::i;37209:28::-;;;:::i;37122:25::-;;;:::i;49101:32::-;;;:::i;40421:142::-;;;:::i;:::-;;;;;;;:::i;36829:85::-;;;:::i;37303:37::-;;;:::i;45965:266::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;50777:89::-;;;;;;:::i;:::-;;:::i;67514:517::-;;;;;;:::i;:::-;;:::i;53637:303::-;;;:::i;43651:102::-;;;:::i;44782:63::-;;;:::i;37757:42::-;;;;;;:::i;:::-;;:::i;48683:81::-;;;:::i;50560:96::-;;;;;;:::i;:::-;;:::i;37725:25::-;;;:::i;52421:246::-;;;;;;:::i;:::-;;:::i;50462:92::-;;;;;;:::i;:::-;;:::i;48858:91::-;;;:::i;39245:160::-;;;;;;:::i;:::-;;:::i;48954:84::-;;;:::i;69486:201::-;;;:::i;49415:39::-;;;:::i;50662:109::-;;;;;;:::i;:::-;;:::i;52778:819::-;;;:::i;57553:550::-;;;;;;:::i;:::-;;:::i;37508:33::-;;;:::i;48769:82::-;;;:::i;50367:89::-;;;:::i;47812:159::-;;;;;;:::i;:::-;;:::i;50872:289::-;;;;;;:::i;:::-;;:::i;49220:21::-;;;:::i;37152:22::-;;;:::i;37179:21::-;;;:::i;55672:1021::-;;;:::i;49045:44::-;;;:::i;39051:188::-;;;;;;:::i;:::-;;:::i;49181:32::-;;;:::i;49316:54::-;;;:::i;46573:293::-;;;;;;:::i;:::-;;:::i;52039:::-;;;:::i;49140:34::-;;;:::i;39411:167::-;;;;;;:::i;:::-;;:::i;54320:1108::-;;;;;;:::i;:::-;;:::i;51317:562::-;;;:::i;48148:141::-;;;;;;:::i;:::-;;:::i;37082:31::-;;;:::i;47083:268::-;;;:::i;47507:299::-;38623:12;:10;:12::i;:::-;-1:-1:-1;;;;;38609:26:0;:10;-1:-1:-1;;;;;38609:26:0;;38601:50;;;;-1:-1:-1;;;38601:50:0;;;;;;;:::i;:::-;;;;;;;;;47595:4:::1;-1:-1:-1::0;;;;;47577:23:0::1;:6;-1:-1:-1::0;;;;;47577:23:0::1;;;47569:41;;;;-1:-1:-1::0;;;47569:41:0::1;;;;;;;:::i;:::-;47643:5;-1:-1:-1::0;;;;;47625:24:0::1;:6;-1:-1:-1::0;;;;;47625:24:0::1;;;47617:44;;;;-1:-1:-1::0;;;47617:44:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;47677:17:0;::::1;;::::0;;;:9:::1;:17;::::0;;;;;::::1;;47676:18;47668:41;;;;-1:-1:-1::0;;;47668:41:0::1;;;;;;;:::i;:::-;47718:82;47746:12;:10;:12::i;:::-;47760:39;::::0;-1:-1:-1;;;47760:39:0;;-1:-1:-1;;;;;47760:24:0;::::1;::::0;::::1;::::0;:39:::1;::::0;47793:4:::1;::::0;47760:39:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;47718:27:0;::::1;::::0;:82;:27:::1;:82::i;:::-;47507:299:::0;:::o;53946:162::-;53993:7;54010:16;54028:15;54047:20;:18;:20::i;:::-;54009:58;;-1:-1:-1;54009:58:0;-1:-1:-1;54081:21:0;54009:58;;54081:12;:21::i;:::-;54074:28;;;;53946:162;;:::o;50248:113::-;50318:37;;;;;;;;;;;;;;;;;50248:113;:::o;47977:165::-;38478:10;;-1:-1:-1;;;;;38478:10:0;38464;:24;;:54;;;38506:12;:10;:12::i;:::-;-1:-1:-1;;;;;38492:26:0;:10;-1:-1:-1;;;;;38492:26:0;;38464:54;38456:92;;;;-1:-1:-1;;;38456:92:0;;;;;;;:::i;:::-;48058:13:::1;:30:::0;;;48100:36:::1;::::0;::::1;::::0;::::1;::::0;48074:14;;48100:36:::1;:::i;:::-;;;;;;;;47977:165:::0;:::o;37686:32::-;;;;:::o;48583:91::-;48631:42;48583:91;:::o;37209:28::-;;;:::o;37122:25::-;;;-1:-1:-1;;;;;37122:25:0;;:::o;49101:32::-;;;;:::o;40421:142::-;40462:4;40526:1;40482:5;-1:-1:-1;;;;;40482:16:0;;40507:4;40482:31;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;;:45;:75;;;;40556:1;40531:22;:20;:22::i;:::-;:26;40482:75;40475:82;;40421:142;:::o;36829:85::-;36894:14;;;;;;;;;;;;-1:-1:-1;;;36894:14:0;;;;36829:85;:::o;37303:37::-;;;;:::o;45965:266::-;46024:19;;46075:10;-1:-1:-1;;;;;46097:5:0;46075:28;;46067:47;;;;-1:-1:-1;;;46067:47:0;;;;;;;:::i;:::-;46144:32;46162:13;46144:17;:32::i;:::-;46121:55;;-1:-1:-1;46121:55:0;-1:-1:-1;46183:42:0;-1:-1:-1;;;;;46183:4:0;:17;46201:10;46121:55;46183:17;:42::i;:::-;45965:266;;;:::o;50777:89::-;49713:12;:10;:12::i;:::-;-1:-1:-1;;;;;49699:26:0;:10;-1:-1:-1;;;;;49699:26:0;;:54;;;-1:-1:-1;49743:10:0;;-1:-1:-1;;;;;49743:10:0;49729;:24;49699:54;49691:78;;;;-1:-1:-1;;;49691:78:0;;;;;;;:::i;:::-;50842:7:::1;:18:::0;50777:89::o;67514:517::-;-1:-1:-1;;;;;67730:23:0;;67748:4;67730:23;67722:63;;;;-1:-1:-1;;;67722:63:0;;;;;;;:::i;:::-;67800:10;48995:42;67800:20;67792:56;;;;-1:-1:-1;;;67792:56:0;;;;;;;:::i;:::-;67856:12;67874:35;;;;67885:6;67874:35;:::i;:::-;67855:54;;;67918:41;67929:7;67938:6;67955:3;67946:6;:12;67918:10;:41::i;:::-;-1:-1:-1;67966:53:0;-1:-1:-1;;;;;67966:31:0;;48995:42;68006:12;;;67966:31;:53::i;:::-;67514:517;;;;;;;:::o;53637:303::-;53803:6;;:40;;-1:-1:-1;;;53803:40:0;;53688:16;;;;;;;;;;53803:6;;;-1:-1:-1;;;;;53803:6:0;;:25;;:40;;53837:4;;53803:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53730:113;;;;;;;53860:13;53850:23;;53893:41;53929:4;53893:31;53911:12;53893:13;:17;;:31;;;;:::i;:::-;:35;;:41::i;:::-;53882:52;;53637:303;;;;;:::o;43651:102::-;38299:6;;-1:-1:-1;;;;;38299:6:0;38285:10;:20;;:48;;-1:-1:-1;38323:10:0;;-1:-1:-1;;;;;38323:10:0;38309;:24;38285:48;:78;;;;38351:12;:10;:12::i;:::-;-1:-1:-1;;;;;38337:26:0;:10;-1:-1:-1;;;;;38337:26:0;;38285:78;38277:126;;;;-1:-1:-1;;;38277:126:0;;;;;;;:::i;:::-;43710:36:::1;::::0;-1:-1:-1;;;43710:36:0;;43695:52:::1;::::0;-1:-1:-1;;;;;43710:5:0::1;:21;::::0;::::1;::::0;:36:::1;::::0;43740:4:::1;::::0;43710:36:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;43695:14;:52::i;:::-;43651:102::o:0;44782:63::-;38299:6;;-1:-1:-1;;;;;38299:6:0;38285:10;:20;;:48;;-1:-1:-1;38323:10:0;;-1:-1:-1;;;;;38323:10:0;38309;:24;38285:48;:78;;;;38351:12;:10;:12::i;:::-;-1:-1:-1;;;;;38337:26:0;:10;-1:-1:-1;;;;;38337:26:0;;38285:78;38277:126;;;;-1:-1:-1;;;38277:126:0;;;;;;;:::i;:::-;44829:10:::1;:8;:10::i;37757:42::-:0;;;;;;;;;;;;;;;:::o;48683:81::-;48721:42;48683:81;:::o;50560:96::-;38623:12;:10;:12::i;:::-;-1:-1:-1;;;;;38609:26:0;:10;-1:-1:-1;;;;;38609:26:0;;38601:50;;;;-1:-1:-1;;;38601:50:0;;;;;;;:::i;:::-;50629:12:::1;:21:::0;;;::::1;;;;-1:-1:-1::0;;50629:21:0;;::::1;::::0;;;::::1;::::0;;50560:96::o;37725:25::-;;;;;;:::o;52421:246::-;52489:4;52506:23;52521:7;52506:14;:23::i;:::-;52502:58;;;-1:-1:-1;52547:5:0;52540:12;;52502:58;52603:29;52572:27;:25;:27::i;:::-;:60;52568:94;;-1:-1:-1;52650:4:0;52568:94;52421:246;;;:::o;50462:92::-;49713:12;:10;:12::i;:::-;-1:-1:-1;;;;;49699:26:0;:10;-1:-1:-1;;;;;49699:26:0;;:54;;;-1:-1:-1;49743:10:0;;-1:-1:-1;;;;;49743:10:0;49729;:24;49699:54;49691:78;;;;-1:-1:-1;;;49691:78:0;;;;;;;:::i;:::-;50524:15:::1;:24:::0;;-1:-1:-1;;50524:24:0::1;::::0;::::1;;::::0;;;::::1;::::0;;50462:92::o;48858:91::-;48906:42;48858:91;:::o;39245:160::-;38478:10;;-1:-1:-1;;;;;38478:10:0;38464;:24;;:54;;;38506:12;:10;:12::i;:::-;-1:-1:-1;;;;;38492:26:0;:10;-1:-1:-1;;;;;38492:26:0;;38464:54;38456:92;;;;-1:-1:-1;;;38456:92:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;39320:21:0;::::1;39312:30;;;::::0;::::1;;39349:6;:16:::0;;-1:-1:-1;;;;;;39349:16:0::1;-1:-1:-1::0;;;;;39349:16:0;::::1;;::::0;;39377:22:::1;::::0;::::1;::::0;::::1;::::0;39349:16;;39377:22:::1;:::i;48954:84::-:0;48995:42;48954:84;:::o;69486:201::-;69582:6;;:41;;-1:-1:-1;;;69582:41:0;;69529:16;;;;69582:6;;;;-1:-1:-1;;;;;69582:6:0;;:26;;:41;;69617:4;;69582:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69640:6;;:41;;-1:-1:-1;;;69640:41:0;;69571:52;;-1:-1:-1;69640:6:0;;;-1:-1:-1;;;;;69640:6:0;;:26;;:41;;69675:4;;69640:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69630:51;;69486:201;;:::o;49415:39::-;;;;:::o;50662:109::-;49713:12;:10;:12::i;:::-;-1:-1:-1;;;;;49699:26:0;:10;-1:-1:-1;;;;;49699:26:0;;:54;;;-1:-1:-1;49743:10:0;;-1:-1:-1;;;;;49743:10:0;49729;:24;49699:54;49691:78;;;;-1:-1:-1;;;49691:78:0;;;;;;;:::i;:::-;50737:12:::1;:28:::0;50662:109::o;52778:819::-;52915:6;;52893:30;;-1:-1:-1;;;52893:30:0;;52836:7;;;;48631:42;;52893:13;;:30;;52915:6;;;-1:-1:-1;;;;;52915:6:0;;52893:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52852:71;;;;52937:16;52955:15;52974:20;:18;:20::i;:::-;52936:58;;;;53007:18;53028:6;;;;;;;;;-1:-1:-1;;;;;53028:6:0;-1:-1:-1;;;;;53028:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53007:48;;53062:18;53083:6;;;;;;;;;-1:-1:-1;;;;;53083:6:0;-1:-1:-1;;;;;53083:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53062:48;-1:-1:-1;53119:30:0;53152:48;53195:4;53152:38;:8;53165:24;53152:12;:38::i;:48::-;53119:81;-1:-1:-1;53119:81:0;53207:29;53287:23;:7;53299:10;53287:11;:23::i;:::-;53270:40;-1:-1:-1;53317:14:0;53334:37;:21;53360:10;53334:25;:37::i;:::-;53317:54;;53394:6;53384;:16;53380:212;;-1:-1:-1;;53411:18:0;;;;;;;;;;;;;53380:212;53452:13;53468:34;:21;53494:7;53468:25;:34::i;:::-;53452:50;-1:-1:-1;53527:15:0;;;53558:26;53527:15;53558;53452:50;53568:4;53558:9;:15::i;:26::-;53551:33;;;;;;;;;;;;;;;57553:550;57639:7;57659:12;57655:43;;-1:-1:-1;57689:1:0;57682:8;;57655:43;57706:21;-1:-1:-1;;;;;57738:13:0;;48808:42;57738:13;57734:219;;;57769:16;;;57783:1;57769:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57769:16:0;57762:23;;48808:42;57794:4;57799:1;57794:7;;;;;;;;;;;;;:14;-1:-1:-1;;;;;57794:14:0;;;-1:-1:-1;;;;;57794:14:0;;;;;57827:3;57817:4;57822:1;57817:7;;;;;;;;;;;;;:13;-1:-1:-1;;;;;57817:13:0;;;-1:-1:-1;;;;;57817:13:0;;;;;57734:219;;;57860:16;;;57874:1;57860:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57860:16:0;57853:23;;57895:5;57885:4;57890:1;57885:7;;;;;;;;;;;;;:15;-1:-1:-1;;;;;57885:15:0;;;-1:-1:-1;;;;;57885:15:0;;;;;48808:42;57909:4;57914:1;57909:7;;;;;;;;;;;;;:14;-1:-1:-1;;;;;57909:14:0;;;-1:-1:-1;;;;;57909:14:0;;;;;57942:3;57932:4;57937:1;57932:7;;;;;;;;;;;;;:13;-1:-1:-1;;;;;57932:13:0;;;-1:-1:-1;;;;;57932:13:0;;;;;57734:219;57988:62;;-1:-1:-1;;;57988:62:0;;57961:24;;48906:42;;57988:47;;:62;;58036:7;;58045:4;;57988:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57988:62:0;;;;;;;;;;;;:::i;:::-;57961:89;;58070:7;58095:1;58078:7;:14;:18;58070:27;;;;;;;;;;;;;;58063:34;;;;57553:550;;;;;;:::o;37508:33::-;;;;:::o;48769:82::-;48808:42;48769:82;:::o;50367:89::-;50426:7;50367:89;:::o;47812:159::-;38478:10;;-1:-1:-1;;;;;38478:10:0;38464;:24;;:54;;;38506:12;:10;:12::i;:::-;-1:-1:-1;;;;;38492:26:0;:10;-1:-1:-1;;;;;38492:26:0;;38464:54;38456:92;;;;-1:-1:-1;;;38456:92:0;;;;;;;:::i;:::-;47891:12:::1;:28:::0;;;47931:34:::1;::::0;::::1;::::0;::::1;::::0;47906:13;;47931:34:::1;:::i;50872:289::-:0;49713:12;:10;:12::i;:::-;-1:-1:-1;;;;;49699:26:0;:10;-1:-1:-1;;;;;49699:26:0;;:54;;;-1:-1:-1;49743:10:0;;-1:-1:-1;;;;;49743:10:0;49729;:24;49699:54;49691:78;;;;-1:-1:-1;;;49691:78:0;;;;;;;:::i;:::-;51018:6:::1;::::0;50996:30:::1;::::0;-1:-1:-1;;;50996:30:0;;50958:32:::1;::::0;48631:42:::1;::::0;50996:13:::1;::::0;:30:::1;::::0;51018:6;;;::::1;-1:-1:-1::0;;;;;51018:6:0::1;::::0;50996:30:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50955:71;;;;51068:17;51041:24;:44;51033:79;;;;-1:-1:-1::0;;;51033:79:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;51119:16:0::1;:36:::0;50872:289::o;49220:21::-;;;;;;-1:-1:-1;;;;;49220:21:0;;:::o;37152:22::-;;;-1:-1:-1;;;;;37152:22:0;;:::o;37179:21::-;;;-1:-1:-1;;;;;37179:21:0;;:::o;55672:1021::-;55722:7;55739:16;55757:15;55776:20;:18;:20::i;:::-;55738:58;;;;55807:8;55819:1;55807:13;55803:44;;;55838:1;55831:8;;;;;;55803:44;55912:6;;55886:34;;-1:-1:-1;;;55886:34:0;;55855:28;;48631:42;;55886:17;;:34;;55912:6;;;;-1:-1:-1;;;;;55912:6:0;;55886:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55855:65;;55927:19;55949:6;;;;;;;;;-1:-1:-1;;;;;55949:6:0;-1:-1:-1;;;;;55949:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55927:43;;55977:25;56005:6;;;;;;;;;-1:-1:-1;;;;;56005:6:0;-1:-1:-1;;;;;56005:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55977:48;;56032:19;56054:60;56109:4;56054:50;56076:6;;;;;;;;;-1:-1:-1;;;;;56076:6:0;-1:-1:-1;;;;;56076:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56054:17;;:21;:50::i;:60::-;56032:82;-1:-1:-1;56123:24:0;56162:15;;56158:108;;56207:51;56246:11;56207:34;:8;56220:20;56207:12;:34::i;:51::-;56188:70;;56158:108;56272:24;56311:15;;56307:107;;56356:50;56394:11;56356:33;:7;56368:20;56356:11;:33::i;:50::-;56337:69;;56307:107;56422:18;56443:38;:16;56464;56443:20;:38::i;:::-;56422:59;;56490:18;56511:5;-1:-1:-1;;;;;56511:16:0;;56536:4;56511:31;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:42;;;;-1:-1:-1;56560:23:0;56586:54;56624:15;56587:31;:15;56511:42;56587:19;:31::i;56586:54::-;56560:80;-1:-1:-1;56656:31:0;56560:80;56676:10;56656:19;:31::i;:::-;56649:38;;;;;;;;;;;;;55672:1021;:::o;49045:44::-;;;;:::o;39051:188::-;38478:10;;-1:-1:-1;;;;;38478:10:0;38464;:24;;:54;;;38506:12;:10;:12::i;:::-;-1:-1:-1;;;;;38492:26:0;:10;-1:-1:-1;;;;;38492:26:0;;38464:54;38456:92;;;;-1:-1:-1;;;38456:92:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;39134:25:0;::::1;39126:34;;;::::0;::::1;;39167:10;:24:::0;;-1:-1:-1;;;;;;39167:24:0::1;-1:-1:-1::0;;;;;39167:24:0;::::1;;::::0;;39203:30:::1;::::0;::::1;::::0;::::1;::::0;39167:24;;39203:30:::1;:::i;49181:32::-:0;;;;;;;;;:::o;49316:54::-;;;:::o;46573:293::-;46636:10;-1:-1:-1;;;;;46658:5:0;46636:28;;;:58;;;46682:12;:10;:12::i;:::-;-1:-1:-1;;;;;46668:26:0;:10;-1:-1:-1;;;;;46668:26:0;;46636:58;46628:67;;;;;;46748:5;-1:-1:-1;;;;;46710:43:0;46723:12;-1:-1:-1;;;;;46710:32:0;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;46710:43:0;;46702:52;;;;;;46761:30;46778:12;46761:16;:30::i;:::-;46798:62;46816:12;46830:4;-1:-1:-1;;;;;46830:14:0;;46853:4;46830:29;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;46798:4:0;:17;;:62;:17;:62::i;52039:293::-;52086:7;52102:23;52128:22;:20;:22::i;:::-;52102:48;;52159:12;52174:5;-1:-1:-1;;;;;52174:16:0;;52199:4;52174:31;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;;52159:56;;52233:15;52226:4;:22;52222:105;;;52266:1;52259:8;;;;;;52222:105;52297:22;;;-1:-1:-1;52290:29:0;;49140:34;;;;;;:::o;39411:167::-;38726:10;;-1:-1:-1;;;;;38726:10:0;38712;:24;38704:48;;;;-1:-1:-1;;;38704:48:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;39488:22:0;::::1;39480:31;;;::::0;::::1;;39518:7;:18:::0;;-1:-1:-1;;;;;;39518:18:0::1;-1:-1:-1::0;;;;;39518:18:0;::::1;;::::0;;39548:24:::1;::::0;::::1;::::0;::::1;::::0;39518:18;;39548:24:::1;:::i;54320:1108::-:0;54391:4;54404:28;;:::i;:::-;54435:31;;-1:-1:-1;;;54435:31:0;;-1:-1:-1;;;;;54435:5:0;:16;;;;:31;;54460:4;;54435:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54404:62;;54479:6;:17;;;54500:1;54479:22;54475:40;;;54510:5;54503:12;;;;;54475:40;54524:19;54546:40;48808:42;54571:4;54578:7;54546:10;:40::i;:::-;54524:62;;54593:20;54616:30;48808:42;48721;54638:7;54616:10;:30::i;:::-;54593:53;;54655:21;54679:19;:17;:19::i;:::-;54655:43;;54727:12;;54711:13;:28;54707:176;;;54829:12;;54812:30;;:12;;:16;:30::i;:::-;54772:36;;-1:-1:-1;;;54772:36:0;;54754:55;;48721:42;;54772:21;;:36;;54802:4;;54772:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54754:13;;:17;:55::i;:::-;:88;54750:126;;;54862:4;54855:11;;;;;;;;54750:126;54986:14;;54964:17;;;;54944:38;;:15;;:19;:38::i;:::-;:56;54940:73;;55009:4;55002:11;;;;;;;;54940:73;55044:36;;-1:-1:-1;;;55044:36:0;;55022:19;;-1:-1:-1;;;;;55044:5:0;:21;;;;:36;;55074:4;;55044:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55105:12;;55022:58;;-1:-1:-1;55105:29:0;;55122:11;55105:16;:29::i;:::-;55091:11;:43;55087:60;;;55143:4;55136:11;;;;;;;;;55087:60;55156:13;55172:22;:20;:22::i;:::-;55156:38;;55203:14;55240:6;:16;;;55232:5;:24;55228:66;;;55277:16;;;;55267:27;;:5;;:9;:27::i;:::-;55258:36;;55228:66;55303:14;55320:48;55361:6;55320:5;-1:-1:-1;;;;;55320:21:0;;55350:4;55320:36;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:40;;:48::i;:::-;55303:65;;55415:6;55383:29;55400:11;55383:12;;:16;;:29;;;;:::i;:::-;:38;;54320:1108;-1:-1:-1;;;;;;;;;;54320:1108:0:o;51317:562::-;51379:7;51396:16;51414:15;51433:20;:18;:20::i;:::-;51395:58;;;;51460:21;51484:19;:17;:19::i;:::-;51531:36;;-1:-1:-1;;;51531:36:0;;51460:43;;-1:-1:-1;51510:18:0;;48721:42;;51531:21;;:36;;51561:4;;51531:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51510:57;-1:-1:-1;51576:21:0;51600:61;48721:42;51624:4;51631:29;:13;51510:57;51631:17;:29::i;51600:61::-;51576:85;-1:-1:-1;51668:24:0;51695:28;51720:2;51695:20;51576:85;51713:1;51695:17;:20::i;:28::-;51668:55;;51795:78;51865:7;51795:65;51843:16;51795:43;51829:8;51795:4;-1:-1:-1;;;;;51795:14:0;;51818:4;51795:29;;;;;;;;;;;;;;;:::i;:65::-;:69;;:78::i;:::-;51788:85;;;;;;;;51317:562;:::o;48148:141::-;38478:10;;-1:-1:-1;;;;;38478:10:0;38464;:24;;:54;;;38506:12;:10;:12::i;:::-;-1:-1:-1;;;;;38492:26:0;:10;-1:-1:-1;;;;;38492:26:0;;38464:54;38456:92;;;;-1:-1:-1;;;38456:92:0;;;;;;;:::i;:::-;48222:14:::1;:23:::0;;;48257:26:::1;::::0;::::1;::::0;::::1;::::0;48239:6;;48257:26:::1;:::i;37082:31::-:0;;;:::o;47083:268::-;38478:10;;-1:-1:-1;;;;;38478:10:0;38464;:24;;:54;;;38506:12;:10;:12::i;:::-;-1:-1:-1;;;;;38492:26:0;:10;-1:-1:-1;;;;;38492:26:0;;38464:54;38456:92;;;;-1:-1:-1;;;38456:92:0;;;;;;;:::i;:::-;47142:13:::1;:20:::0;;-1:-1:-1;;47142:20:0::1;47158:4;47142:20;::::0;;47169:27:::1;-1:-1:-1::0;;47169:17:0::1;:27::i;:::-;;;47203:64;47229:5;47237:4;-1:-1:-1::0;;;;;47237:14:0::1;;47260:4;47237:29;;;;;;;;;;;;;;;:::i;47203:64::-;47274:35;::::0;-1:-1:-1;;;47274:35:0;;-1:-1:-1;;;;;47274:5:0::1;:20;::::0;::::1;::::0;:35:::1;::::0;47303:4:::1;::::0;47274:35:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;47323:22:0::1;::::0;::::1;::::0;-1:-1:-1;47323:22:0;;-1:-1:-1;47323:22:0::1;47083:268::o:0;33506:622::-;33876:10;;;33875:62;;-1:-1:-1;33892:39:0;;-1:-1:-1;;;33892:39:0;;-1:-1:-1;;;;;33892:15:0;;;;;:39;;33916:4;;33923:7;;33892:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;33875:62;33867:152;;;;-1:-1:-1;;;33867:152:0;;;;;;;:::i;:::-;34030:90;34050:5;34080:22;;;34104:7;34113:5;34057:62;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;34057:62:0;;;;;;;;;;;;;;-1:-1:-1;;;;;34057:62:0;-1:-1:-1;;;;;;34057:62:0;;;;;;;;;;34030:19;:90::i;:::-;33506:622;;;:::o;16286:195::-;16389:12;16421:52;16443:6;16451:4;16457:1;16460:12;16421:21;:52::i;:::-;16414:59;16286:195;-1:-1:-1;;;;16286:195:0:o;39584:92::-;39629:7;39652:5;-1:-1:-1;;;;;39652:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;32847:177::-;32930:86;32950:5;32980:23;;;33005:2;33009:5;32957:58;;;;;;;;;:::i;23945:158::-;24003:7;24036:1;24031;:6;;24023:49;;;;-1:-1:-1;;;24023:49:0;;;;;;;:::i;:::-;-1:-1:-1;24090:5:0;;;23945:158;;;;;:::o;70567:923::-;70644:20;70666:13;70688:16;70707:4;-1:-1:-1;;;;;70707:14:0;;70730:4;70707:29;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70688:48;;70743:14;70760:30;70781:8;70760:16;:14;:16::i;:30::-;70743:47;;70799:23;70825:5;-1:-1:-1;;;;;70825:21:0;;70855:4;70825:36;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70799:62;;70892:6;70874:15;:24;70870:79;;;70935:6;70917:15;:24;70909:32;;70870:79;70970:13;70961:6;:22;70957:528;;;70995:16;71013:15;71032:17;:15;:17::i;:::-;71062:6;;:31;;-1:-1:-1;;;71062:31:0;;70994:55;;-1:-1:-1;70994:55:0;;-1:-1:-1;71096:1:0;;71062:6;;;;-1:-1:-1;;;;;71062:6:0;;:16;;:31;;71087:4;;71062:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;71058:98;;;71110:36;71124:21;:8;71137:7;71124:12;:21::i;:::-;71110:13;:36::i;:::-;;71058:98;71181:50;71186:13;71201:4;-1:-1:-1;;;;;71201:14:0;;71224:4;71201:29;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71181:4;:50::i;:::-;71166:65;;70957:528;;;;;71269:13;71258:8;:24;71254:224;;;71295:42;71309:27;:13;71327:8;71309:17;:27::i;71295:42::-;;71363:50;71368:13;71383:4;-1:-1:-1;;;;;71383:14:0;;71406:4;71383:29;;;;;;;;;;;;;;;:::i;71363:50::-;71348:65;;71254:224;;;71455:13;71440:28;;71254:224;70567:923;;;;;;:::o;68279:1048::-;68368:4;68381:11;68395:4;-1:-1:-1;;;;;68395:14:0;;68418:4;68395:29;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68381:43;;68446:6;68439:3;:13;;68431:72;;;;-1:-1:-1;;;68431:72:0;;;;;;;:::i;:::-;68516:7;68512:810;;;68534:6;;:26;;-1:-1:-1;;;68534:26:0;;:6;;;;-1:-1:-1;;;;;68534:6:0;;:18;;:26;;68553:6;;68534:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;68569:6:0;;:36;;-1:-1:-1;;;68569:36:0;;:6;;;;-1:-1:-1;;;;;68569:6:0;;:23;;:36;;68593:11;;68569:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;68512:810;;;68636:6;;:16;;-1:-1:-1;;;68636:16:0;;:6;;;;-1:-1:-1;;;;;68636:6:0;;:11;;:16;;68648:3;;68636:16;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:21;68628:44;;;;-1:-1:-1;;;68628:44:0;;;;;;;:::i;:::-;68710:16;;;68724:1;68710:16;;;;;;;;;68683:24;;68710:16;;;;;;;;;;;-1:-1:-1;68710:16:0;68683:43;;68756:6;;;;;;;;;-1:-1:-1;;;;;68756:6:0;68735:7;68743:1;68735:10;;;;;;;;-1:-1:-1;;;;;68735:28:0;;;:10;;;;;;;;;;;:28;68806:27;;-1:-1:-1;;;68806:27:0;;68780:23;;48631:42;;68806:18;;:27;;68825:7;;68806:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;68806:27:0;;;;;;;;;;;;:::i;:::-;68780:53;;68846:6;68853:1;68846:9;;;;;;;;;;;;;;68859:1;68846:14;68842:83;;68873:42;;-1:-1:-1;;;68873:42:0;;;;;;;:::i;68842:83::-;68997:40;;-1:-1:-1;;;68997:40:0;;68942:13;;;;;;48631:42;;68997:25;;:40;;69031:4;;68997:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68941:96;;;;;;69050:5;69059:1;69050:10;69046:86;;69073:49;;-1:-1:-1;;;69073:49:0;;;;;;;:::i;69046:86::-;69148:14;;69140:45;;;;-1:-1:-1;;;69140:45:0;;;;;;;:::i;:::-;69214:1;69202:9;:13;69194:55;;;;-1:-1:-1;;;69194:55:0;;;;;;;:::i;:::-;69266:6;;:26;;-1:-1:-1;;;69266:26:0;;:6;;;;-1:-1:-1;;;;;69266:6:0;;:13;;:26;;69280:11;;69266:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:31;69258:56;;;;-1:-1:-1;;;69258:56:0;;;;;;;:::i;:::-;68512:810;;;;;;68279:1048;;;;;;:::o;24362:220::-;24420:7;24444:6;24440:20;;-1:-1:-1;24459:1:0;24452:8;;24440:20;24483:5;;;24487:1;24483;:5;:1;24507:5;;;;;:10;24499:56;;;;-1:-1:-1;;;24499:56:0;;;;;;;:::i;25060:153::-;25118:7;25150:1;25146;:5;25138:44;;;;-1:-1:-1;;;25138:44:0;;;;;;;:::i;:::-;25204:1;25200;:5;;;;;;;25060:153;-1:-1:-1;;;25060:153:0:o;59902:982::-;59981:13;;;;59977:42;;;60005:7;;59977:42;60046:29;;-1:-1:-1;;;60046:29:0;;60027:16;;-1:-1:-1;;;;;60046:4:0;:14;;;;:29;;60069:4;;60046:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60027:48;;60097:16;60086:8;:27;60082:170;;;60128:6;;:31;;-1:-1:-1;;;60128:31:0;;60162:1;;60128:6;;;-1:-1:-1;;;;;60128:6:0;;:16;;:31;;60153:4;;60128:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;60124:104;;;60176:42;60209:8;60190:16;:27;60176:13;:42::i;:::-;;60124:104;60238:7;;;60082:170;60261:16;60279:12;60295:60;60332:16;60321:8;:27;60350:4;60295:25;:60::i;:::-;60260:95;;;;60379:7;;60368:8;:18;60364:515;;;60402:15;;;;60397:475;;60430:6;60451:175;60457:12;;60451:175;;60495:45;60508:31;60521:8;60531:7;60508:12;:31::i;:::-;60495:8;;:12;:45::i;:::-;60484:56;;60562:1;60557;:6;60553:46;;60580:5;;60553:46;60611:3;;60451:175;;;60397:475;;;;60667:22;;-1:-1:-1;;;60667:22:0;;-1:-1:-1;;;;;60667:4:0;:14;;;;:22;;48995:42;;60667:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60656:8;:33;60652:120;;;60715:45;60728:31;60741:8;60751:7;60728:12;:31::i;:::-;60715:8;;:12;:45::i;:::-;60704:56;;60652:120;60799:7;;60788:8;:18;60784:79;;;60821:30;60833:7;60842:8;60821:11;:30::i;:::-;;60784:79;59902:982;;;;:::o;44851:1073::-;44887:15;44913:13;44937:24;44964:5;-1:-1:-1;;;;;44964:21:0;;44994:4;44964:36;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45044:13;;44937:63;;-1:-1:-1;45007:20:0;;45044:13;;45040:545;;;45068:19;45090:22;:20;:22::i;:::-;45068:44;;45256:82;45288:16;45274:11;:30;:63;;45321:16;45274:63;;;45307:11;45274:63;45256:17;:82::i;:::-;45232:106;-1:-1:-1;45232:106:0;-1:-1:-1;45351:31:0;;;45347:144;;;45405:34;:12;45422:16;45405;:34::i;:::-;45395:44;;45465:16;45450:31;;45347:144;45040:545;;;;45546:31;45560:16;45546:13;:31::i;:::-;45513:64;;-1:-1:-1;45513:64:0;-1:-1:-1;45513:64:0;-1:-1:-1;45040:545:0;45738:42;;-1:-1:-1;;;45738:42:0;;-1:-1:-1;;;;;45738:5:0;:12;;;;:42;;45751:7;;45760:5;;45767:12;;45738:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45719:61;;45789:19;:17;:19::i;:::-;45815:32;45830:16;45815:14;:32::i;:::-;45861:57;45871:7;45880:5;45887:12;45901:16;45861:57;;;;;;;;;:::i;:::-;;;;;;;;44851:1073;;;;:::o;23483:179::-;23541:7;23573:5;;;23597:6;;;;23589:46;;;;-1:-1:-1;;;23589:46:0;;;;;;;:::i;56815:546::-;56893:12;;;;;;;56888:468;;56917:16;56935:15;56954:17;:15;:17::i;:::-;56916:55;;-1:-1:-1;56916:55:0;-1:-1:-1;56980:36:0;56994:21;56916:55;;56994:12;:21::i;56980:36::-;-1:-1:-1;57059:6:0;;:40;;-1:-1:-1;;;57059:40:0;;57032:21;;57059:6;;;-1:-1:-1;;;;;57059:6:0;;:25;;:40;;57093:4;;57059:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57027:72;;;;;57134:6;57118:13;:22;57110:51;;;;-1:-1:-1;;;57110:51:0;;;;;;;:::i;:::-;57225:29;;-1:-1:-1;;;57225:29:0;;48721:42;;57172:11;;48721:42;;57225:14;;:29;;57248:4;;57225:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57206:48;-1:-1:-1;57267:15:0;;57263:86;;57295:44;-1:-1:-1;;;;;57295:17:0;;57313:12;57327:11;57295:17;:44::i;:::-;56888:468;;;;;56815:546;:::o;35152:761::-;35576:23;35602:69;35630:4;35602:69;;;;;;;;;;;;;;;;;35610:5;-1:-1:-1;;;;;35602:27:0;;;:69;;;;;:::i;:::-;35686:17;;35576:95;;-1:-1:-1;35686:21:0;35682:224;;35828:10;35817:30;;;;;;;;;;;;:::i;:::-;35809:85;;;;-1:-1:-1;;;35809:85:0;;;;;;;:::i;17338:530::-;17465:12;17523:5;17498:21;:30;;17490:81;;;;-1:-1:-1;;;17490:81:0;;;;;;;:::i;:::-;17590:18;17601:6;17590:10;:18::i;:::-;17582:60;;;;-1:-1:-1;;;17582:60:0;;;;;;;:::i;:::-;17716:12;17730:23;17757:6;-1:-1:-1;;;;;17757:11:0;17777:5;17785:4;17757:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17715:75;;;;17808:52;17826:7;17835:10;17847:12;17808:17;:52::i;:::-;17801:59;17338:530;-1:-1:-1;;;;;;;17338:530:0:o;61023:1266::-;61081:11;61102:16;61120:12;61136:41;61162:7;61171:5;61136:25;:41::i;:::-;61101:76;;;;61190:7;:29;;;;;61212:7;;61201:8;:18;61190:29;61186:347;;;61241:44;61254:30;61266:7;61275:8;61254:11;:30::i;61241:44::-;61230:55;;61302:7;61322:204;61340:7;;:16;;61352:3;61340:11;:16::i;:::-;61329:8;:27;61322:204;;;61380:42;61393:28;61406:8;61416:4;61393:12;:28::i;61380:42::-;61369:53;-1:-1:-1;61433:3:0;;61458:1;61453:6;;;;61449:68;;61483:4;61474:13;;61500:5;;61449:68;61322:204;;;61186:347;;61542:22;61566:21;61591:20;:18;:20::i;:::-;61638:16;;61541:70;;-1:-1:-1;61541:70:0;-1:-1:-1;61618:17:0;61700:14;61696:97;;61737:4;61725:16;;61696:97;61818:38;61846:9;61818:23;:13;61836:4;61818:17;:23::i;:38::-;61801:55;;61887:14;61869;:32;61865:261;;61912:18;61933:34;:14;61952;61933:18;:34::i;:::-;61912:55;;61995:7;61982:10;:20;61978:141;;;62015:6;;:35;;-1:-1:-1;;;62015:35:0;;:6;;;;-1:-1:-1;;;;;62015:6:0;;:23;;:35;;62039:10;;62015:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;61978:141;;;62077:6;;:32;;-1:-1:-1;;;62077:32:0;;:6;;;;-1:-1:-1;;;;;62077:6:0;;:23;;:32;;62101:7;;62077:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;61978:141;61865:261;;62138:16;;:21;:70;;;;-1:-1:-1;62163:29:0;;-1:-1:-1;;;62163:29:0;;62195:13;;-1:-1:-1;;;;;62163:4:0;:14;;;;:29;;62186:4;;62163:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:45;62138:70;62134:126;;;62219:6;;:33;;-1:-1:-1;;;62219:33:0;;:6;;;;-1:-1:-1;;;;;62219:6:0;;:18;;:33;;62238:13;;62219:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;62134:126;62268:15;:13;:15::i;:::-;61023:1266;;;;;;;;;:::o;71584:101::-;71643:7;71670:1;71666;:5;:13;;71678:1;71666:13;;;-1:-1:-1;71674:1:0;;71659:20;-1:-1:-1;71584:101:0:o;62727:1070::-;62806:16;62824:12;62846:16;62864:15;62883:17;:15;:17::i;:::-;62845:55;;-1:-1:-1;62845:55:0;-1:-1:-1;62907:22:0;62932:21;62845:55;;62932:12;:21::i;:::-;62907:46;;63048:21;63084:3;63080:198;;;63114:27;:14;63133:7;63114:18;:27::i;:::-;63098:43;;63080:198;;;63178:14;63168:7;:24;63164:54;;;63204:14;63194:24;;63164:54;63243:27;:14;63262:7;63243:18;:27::i;:::-;63227:43;;63080:198;63318:11;63332:35;63350:16;;63332:13;:17;;:35;;;;:::i;:::-;63318:49;;63374:11;63388:35;63406:16;;63396:4;63388:17;;:35;;;;:::i;:::-;63374:49;-1:-1:-1;63432:21:0;63456:12;:3;63374:49;63456:7;:12::i;:::-;63432:36;;63495:3;63479:13;:19;63475:121;;;-1:-1:-1;;63569:19:0;63475:121;63628:7;63612:13;:23;63608:184;;;63656:4;63646:14;;63690:13;63680:7;:23;63669:34;;63608:184;;;63736:5;63726:15;;63777:7;63761:13;:23;63750:34;;63608:184;62727:1070;;;;;;;;;;;;:::o;64534:640::-;64601:14;64625:12;64639:16;64659:20;:18;:20::i;:::-;64624:55;;;;64779:8;64791:1;64779:13;:24;;;;;64796:7;64779:24;64775:55;;;64821:1;64814:8;;;;;;64775:55;64899:6;;64877:30;;-1:-1:-1;;;64877:30:0;;64839:32;;48631:42;;64877:13;;:30;;64899:6;;;;-1:-1:-1;;;;;64899:6:0;;64877:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64836:71;;;;64920:7;64916:197;;;64947:64;64965:3;64970:4;64976:8;64986:24;64947:17;:64::i;:::-;64938:73;;64916:197;;;65043:62;65059:3;65064:4;65070:8;65080:24;65043:15;:62::i;:::-;65034:71;;64916:197;65126:42;65135:3;65140:6;65148:7;65165:1;65126:42;;;;;;;;;:::i;:::-;;;;;;;;64534:640;;;;;;;:::o;63857:399::-;63933:7;63953:18;63949:49;;-1:-1:-1;63989:1:0;63982:8;;63949:49;64063:27;;64023:13;;64043:17;;64063:27;;64074:7;;64023:13;;64063:27;;;:::i;:::-;;;;-1:-1:-1;;64063:27:0;;;;;;;;;;-1:-1:-1;;;64099:63:0;;64063:27;-1:-1:-1;48995:42:0;;64099:34;;:63;;64142:4;;64149:6;;64063:27;;64099:63;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64174:48;64183:13;64198:6;64206:7;48995:42;64174:48;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;64238:6:0;63857:399;-1:-1:-1;;;63857:399:0:o;58229:1355::-;58426:6;;:31;;-1:-1:-1;;;58426:31:0;;58311:15;;;;;;58426:6;;;-1:-1:-1;;;;;58426:6:0;;:16;;:31;;58451:4;;58426:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58422:215;;58495:29;;-1:-1:-1;;;58495:29:0;;58473:19;;-1:-1:-1;;;;;58495:4:0;:14;;;;:29;;58518:4;;58495:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58473:51;;58548:35;58553:11;58566:16;58548:4;:35::i;:::-;58533:50;;58592:37;;;58422:215;58646:16;58664:15;58683:17;:15;:17::i;:::-;58645:55;;;;58709:11;:9;:11::i;:::-;58756:15;:13;:15::i;:::-;58826:29;;-1:-1:-1;;;58826:29:0;;58804:19;;-1:-1:-1;;;;;58826:4:0;:14;;;;:29;;58849:4;;58826:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58804:51;-1:-1:-1;58864:23:0;58890:21;:8;58903:7;58890:12;:21::i;:::-;58864:47;-1:-1:-1;58918:15:0;58936:32;58864:47;58956:11;58936:19;:32::i;:::-;58918:50;;58977:12;58992:5;-1:-1:-1;;;;;58992:16:0;;59017:4;58992:31;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;;58977:56;;59100:4;59090:7;:14;59086:493;;;59135:4;59125:7;:14;59115:24;;59166:7;59152:11;:21;59148:320;;;59277:11;59267:21;;59148:320;;;59322:29;:7;59334:16;59322:11;:29::i;:::-;59308:11;:43;59304:164;;;59379:16;59364:31;;59304:164;;;59451:7;59437:11;:21;59422:36;;59304:164;59086:493;;;59505:7;59498:4;:14;59490:22;;59536:35;59541:11;59554:16;59536:4;:35::i;:::-;59521:50;;59086:493;58229:1355;;;;;;;;;;;;:::o;57367:180::-;57439:30;;-1:-1:-1;;;57439:30:0;;57421:15;;-1:-1:-1;;;;;57439:5:0;:15;;;;:30;;57463:4;;57439:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57421:48;-1:-1:-1;57480:11:0;;57476:66;;57517:7;;57502:32;;-1:-1:-1;;;57502:32:0;;-1:-1:-1;;;;;57502:5:0;:14;;;;;:32;;57517:7;;;;;57526;;57502:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;57367:180;:::o;13368:422::-;13735:20;13774:8;;;13368:422::o;19878:742::-;19993:12;20022:7;20018:595;;;-1:-1:-1;20053:10:0;20046:17;;20018:595;20167:17;;:21;20163:439;;20430:10;20424:17;20491:15;20478:10;20474:2;20470:19;20463:44;20378:148;20573:12;20566:20;;-1:-1:-1;;;20566:20:0;;;;;;;;:::i;69917:378::-;69973:36;;-1:-1:-1;;;69973:36:0;;69958:12;;48721:42;;69973:21;;:36;;70003:4;;69973:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69958:51;;70029:12;;70022:4;:19;70018:272;;;70076:16;;;70090:1;70076:16;;;;;;;;;70052:21;;70076:16;;;70052:21;;70076:16;;;;;-1:-1:-1;70076:16:0;70052:40;;48721:42;70101:4;70106:1;70101:7;;;;;;;;;;;;;:13;-1:-1:-1;;;;;70101:13:0;;;-1:-1:-1;;;;;70101:13:0;;;;;48808:42;70123:4;70128:1;70123:7;;;;;;;;;;;;;:14;-1:-1:-1;;;;;70123:14:0;;;-1:-1:-1;;;;;70123:14:0;;;;;70164:4;70146;70151:1;70146:7;;;;;;;;-1:-1:-1;;;;;70146:23:0;;;:7;;;;;;;;;;;:23;70180:102;;-1:-1:-1;;;70180:102:0;;48906:42;;70180:58;;:102;;70239:4;;70253:1;;70257:4;;70271;;70278:3;;70180:102;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;70180:102:0;;;;;;;;;;;;:::i;65421:859::-;65567:25;;65639:16;;65635:92;;65684:35;65707:11;65684:18;:8;65697:4;65684:12;:18::i;:35::-;65666:53;;65635:92;65753:25;:4;65762:15;65753:8;:25::i;:::-;65733:45;;65812:8;65791:17;:29;65787:80;;65851:8;65831:28;;65787:80;65898:13;65877:17;:34;65873:90;;65942:13;65922:33;;65873:90;65971:26;66000:6;;;;;;;;;-1:-1:-1;;;;;66000:6:0;-1:-1:-1;;;;;66000:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;65971:56;-1:-1:-1;65971:56:0;66040:27;:17;66062:4;66040:21;:27::i;:::-;:49;;:75;;;;;66113:2;66093:17;:22;66040:75;66036:239;;;66166:2;66177:6;:42;;-1:-1:-1;;;66177:42:0;;-1:-1:-1;;66146:22:0;;;;;66177:6;;;;-1:-1:-1;;;;;66177:6:0;;:23;;:42;;66146:22;;66177:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;66230:6:0;;:37;;-1:-1:-1;;;66230:37:0;;:6;;;;-1:-1:-1;;;;;66230:6:0;;:18;;:37;;66249:17;;66230:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;66036:239;65421:859;;;;;;;;:::o;66527:625::-;66669:23;;66729:31;66755:4;66729:21;:4;66738:11;66729:8;:21::i;:31::-;66701:59;-1:-1:-1;66785:31:0;66701:59;66807:8;66785:21;:31::i;:::-;66767:49;;66848:11;66829:15;:30;66825:82;;66888:11;66870:29;;66825:82;66935:2;66917:15;:20;66913:234;;;66984:2;67003:6;:30;;-1:-1:-1;;;67003:30:0;;-1:-1:-1;;66966:20:0;;;;;67003:6;;;;-1:-1:-1;;;;;67003:6:0;;:13;;:30;;66966:20;;67003:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;66995:63;;;;-1:-1:-1;;;66995:63:0;;;;;;;:::i;:::-;67075:6;;67087:29;;-1:-1:-1;;;67087:29:0;;67075:6;;;;-1:-1:-1;;;;;67075:6:0;;;;:11;;67087:4;:14;;;;:29;;67110:4;;67087:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67075:42;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47;67067:72;;;;-1:-1:-1;;;67067:72:0;;;;;;;:::i;:::-;66527:625;;;;;;;:::o;69723:156::-;69786:16;;;69800:1;69786:16;;;;;;;;;69760:23;;69786:16;;;;;;;;;;;-1:-1:-1;69786:16:0;69760:42;;69821:6;;;;;;;;;-1:-1:-1;;;;;69821:6:0;69809;69816:1;69809:9;;;;;;;;-1:-1:-1;;;;;69809:18:0;;;:9;;;;;;;;;;;:18;69834:39;;-1:-1:-1;;;69834:39:0;;48631:42;;69834:16;;:39;;69859:4;;69866:6;;69834:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3635:241::-;;3739:2;3727:9;3718:7;3714:23;3710:32;3707:2;;;-1:-1;;3745:12;3707:2;85:6;72:20;97:33;124:5;97:33;:::i;3883:263::-;;3998:2;3986:9;3977:7;3973:23;3969:32;3966:2;;;-1:-1;;4004:12;3966:2;226:6;220:13;238:33;265:5;238:33;:::i;4153:491::-;;;;4291:2;4279:9;4270:7;4266:23;4262:32;4259:2;;;-1:-1;;4297:12;4259:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;4349:63;-1:-1;4449:2;4488:22;;72:20;97:33;72:20;97:33;:::i;:::-;4253:391;;4457:63;;-1:-1;;;4557:2;4596:22;;;;3424:20;;4253:391::o;4651:867::-;;;;;;;4842:3;4830:9;4821:7;4817:23;4813:33;4810:2;;;-1:-1;;4849:12;4810:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;4901:63;-1:-1;5001:2;5040:22;;72:20;97:33;72:20;97:33;:::i;:::-;5009:63;-1:-1;5109:2;5148:22;;3424:20;;-1:-1;5217:2;5256:22;;3424:20;;-1:-1;5353:3;5338:19;;5325:33;5378:18;5367:30;;;5364:2;;;-1:-1;;5400:12;5364:2;5485:6;5474:9;5470:22;;;1425:3;1418:4;1410:6;1406:17;1402:27;1392:2;;-1:-1;;1433:12;1392:2;1476:6;1463:20;5378:18;1495:6;1492:30;1489:2;;;-1:-1;;1525:12;1489:2;1620:3;5001:2;1600:17;1561:6;1586:32;;1583:41;1580:2;;;-1:-1;;1627:12;1580:2;5001;1561:6;1557:17;5420:82;;;;;;;;4804:714;;;;;;;;:::o;5525:392::-;;5665:2;;5653:9;5644:7;5640:23;5636:32;5633:2;;;-1:-1;;5671:12;5633:2;5722:17;5716:24;5760:18;5752:6;5749:30;5746:2;;;-1:-1;;5782:12;5746:2;5869:22;;422:4;410:17;;406:27;-1:-1;396:2;;-1:-1;;437:12;396:2;477:6;471:13;499:80;514:64;571:6;514:64;:::i;:::-;499:80;:::i;:::-;607:21;;;664:14;;;;639:17;;;753;;;744:27;;;;741:36;-1:-1;738:2;;;-1:-1;;780:12;738:2;-1:-1;806:10;;800:217;825:6;822:1;819:13;800:217;;;3572:13;;893:61;;847:1;840:9;;;;;968:14;;;;996;;800:217;;;-1:-1;5802:99;5627:290;-1:-1;;;;;;;5627:290::o;5924:235::-;;6025:2;6013:9;6004:7;6000:23;5996:32;5993:2;;;-1:-1;;6031:12;5993:2;1108:6;1095:20;1120:30;1144:5;1120:30;:::i;6166:257::-;;6278:2;6266:9;6257:7;6253:23;6249:32;6246:2;;;-1:-1;;6284:12;6246:2;1243:6;1237:13;1255:30;1279:5;1255:30;:::i;6430:360::-;;;6548:2;6536:9;6527:7;6523:23;6519:32;6516:2;;;-1:-1;;6554:12;6516:2;1108:6;1095:20;1120:30;1144:5;1120:30;:::i;:::-;6606:60;6703:2;6742:22;;;;3424:20;;-1:-1;;;6510:280::o;6797:523::-;;;;6940:2;6928:9;6919:7;6915:23;6911:32;6908:2;;;-1:-1;;6946:12;6908:2;1243:6;1237:13;1255:30;1279:5;1255:30;:::i;:::-;7106:2;7156:22;;3572:13;7225:2;7272:22;;1237:13;6998:71;;-1:-1;3572:13;-1:-1;1255:30;1237:13;1255:30;:::i;:::-;7233:71;;;;6902:418;;;;;:::o;7631:328::-;;7778:3;;7766:9;7757:7;7753:23;7749:33;7746:2;;;-1:-1;;7785:12;7746:2;2028:22;7778:3;2028:22;:::i;:::-;2019:31;;3578:6;3572:13;2124:16;2117:86;2270:2;2339:9;2335:22;3572:13;2270:2;2289:5;2285:16;2278:86;2430:2;2499:9;2495:22;3572:13;2430:2;2449:5;2445:16;2438:86;2590:2;2659:9;2655:22;3572:13;2590:2;2609:5;2605:16;2598:86;2751:3;2821:9;2817:22;3572:13;2751:3;2771:5;2767:16;2760:86;2912:3;2982:9;2978:22;3572:13;2912:3;2932:5;2928:16;2921:86;3073:3;3143:9;3139:22;3572:13;3073:3;3093:5;3089:16;3082:86;3234:3;3304:9;3300:22;3572:13;3234:3;3254:5;3250:16;3243:86;7837:106;;;;7740:219;;;;:::o;7966:241::-;;8070:2;8058:9;8049:7;8045:23;8041:32;8038:2;;;-1:-1;;8076:12;8038:2;-1:-1;3424:20;;8032:175;-1:-1;8032:175::o;8214:263::-;;8329:2;8317:9;8308:7;8304:23;8300:32;8297:2;;;-1:-1;;8335:12;8297:2;-1:-1;3572:13;;8291:186;-1:-1;8291:186::o;8484:535::-;;;;8633:2;8621:9;8612:7;8608:23;8604:32;8601:2;;;-1:-1;;8639:12;8601:2;3578:6;3572:13;8691:74;;8802:2;8856:9;8852:22;3572:13;8810:74;;8921:2;8975:9;8971:22;3572:13;8929:74;;8595:424;;;;;:::o;9026:672::-;;;;;9192:3;9180:9;9171:7;9167:23;9163:33;9160:2;;;-1:-1;;9199:12;9160:2;-1:-1;;3572:13;;9362:2;9412:22;;3572:13;9481:2;9531:22;;3572:13;9600:2;9650:22;;;3572:13;;;;;-1:-1;3572:13;;-1:-1;9154:544;-1:-1;9154:544::o;10509:690::-;;10702:5;46603:12;47436:6;47431:3;47424:19;47473:4;;47468:3;47464:14;10714:93;;47473:4;10878:5;46284:14;-1:-1;10917:260;10942:6;10939:1;10936:13;10917:260;;;11003:13;;-1:-1;;;;;48355:54;10309:37;;9859:14;;;;47149;;;;5378:18;10957:9;10917:260;;;-1:-1;11183:10;;10633:566;-1:-1;;;;;10633:566::o;12131:343::-;;12273:5;46603:12;47436:6;47431:3;47424:19;12366:52;12411:6;47473:4;47468:3;47464:14;47473:4;12392:5;12388:16;12366:52;:::i;:::-;50701:7;50685:14;-1:-1;;50681:28;12430:39;;;;47473:4;12430:39;;12221:253;-1:-1;;12221:253::o;24364:271::-;;12641:5;46603:12;12752:52;12797:6;12792:3;12785:4;12778:5;12774:16;12752:52;:::i;:::-;12816:16;;;;;24498:137;-1:-1;;24498:137::o;24642:222::-;-1:-1;;;;;48355:54;;;;10309:37;;24769:2;24754:18;;24740:124::o;24871:333::-;-1:-1;;;;;48355:54;;;10309:37;;48355:54;;25190:2;25175:18;;10309:37;25026:2;25011:18;;24997:207::o;25211:511::-;-1:-1;;;;;48355:54;;;10309:37;;25431:2;25549;25534:18;;;25527:48;;;46603:12;;25416:18;;;47424:19;;;25211:511;;46284:14;;;;48366:42;;25549:2;47464:14;;;;25211:511;11700:290;11725:6;11722:1;11719:13;11700:290;;;11786:13;;48355:54;;10309:37;;47149:14;;;;10071;;;;11747:1;11740:9;11700:290;;;-1:-1;25581:131;;25402:320;-1:-1;;;;;;;;25402:320::o;25729:333::-;-1:-1;;;;;48355:54;;;;10309:37;;26048:2;26033:18;;24315:37;25884:2;25869:18;;25855:207::o;26069:528::-;;5378:18;;48366:42;;;48068:5;48355:54;10316:3;10309:37;24345:5;26434:2;26423:9;26419:18;24315:37;26270:2;26471;26460:9;26456:18;26449:48;26511:76;26270:2;26259:9;26255:18;26573:6;26511:76;:::i;:::-;26503:84;26241:356;-1:-1;;;;;26241:356::o;26604:370::-;;26781:2;26802:17;26795:47;26856:108;26781:2;26770:9;26766:18;26950:6;26856:108;:::i;26981:210::-;48152:13;;48145:21;12085:34;;27102:2;27087:18;;27073:118::o;27198:321::-;48152:13;;48145:21;12085:34;;27505:2;27490:18;;24315:37;27347:2;27332:18;;27318:201::o;28576:310::-;;28723:2;28744:17;28737:47;28798:78;28723:2;28712:9;28708:18;28862:6;28798:78;:::i;28893:416::-;29093:2;29107:47;;;14242:2;29078:18;;;47424:19;-1:-1;;;47464:14;;;14258:34;14311:12;;;29064:245::o;29316:416::-;29516:2;29530:47;;;14562:1;29501:18;;;47424:19;-1:-1;;;47464:14;;;14577:28;14624:12;;;29487:245::o;29739:416::-;29939:2;29953:47;;;14875:2;29924:18;;;47424:19;14911:34;47464:14;;;14891:55;-1:-1;;;14966:12;;;14959:38;15016:12;;;29910:245::o;30162:416::-;30362:2;30376:47;;;15267:2;30347:18;;;47424:19;15303:29;47464:14;;;15283:50;15352:12;;;30333:245::o;30585:416::-;30785:2;30799:47;;;15603:2;30770:18;;;47424:19;15639:25;47464:14;;;15619:46;15684:12;;;30756:245::o;31008:416::-;31208:2;31222:47;;;15935:2;31193:18;;;47424:19;-1:-1;;;47464:14;;;15951:35;16005:12;;;31179:245::o;31431:416::-;31631:2;31645:47;;;16256:2;31616:18;;;47424:19;16292:32;47464:14;;;16272:53;16344:12;;;31602:245::o;31854:416::-;32054:2;32068:47;;;32039:18;;;47424:19;16631:34;47464:14;;;16611:55;16685:12;;;32025:245::o;32277:416::-;32477:2;32491:47;;;16936:2;32462:18;;;47424:19;-1:-1;;;47464:14;;;16952:45;17016:12;;;32448:245::o;32700:416::-;32900:2;32914:47;;;17267:2;32885:18;;;47424:19;-1:-1;;;47464:14;;;17283:39;17341:12;;;32871:245::o;33123:416::-;33323:2;33337:47;;;17592:2;33308:18;;;47424:19;17628:34;47464:14;;;17608:55;-1:-1;;;17683:12;;;17676:30;17725:12;;;33294:245::o;33546:416::-;33746:2;33760:47;;;17976:2;33731:18;;;47424:19;18012:31;47464:14;;;17992:52;18063:12;;;33717:245::o;33969:416::-;34169:2;34183:47;;;18314:2;34154:18;;;47424:19;18350:28;47464:14;;;18330:49;18398:12;;;34140:245::o;34392:416::-;34592:2;34606:47;;;18649:2;34577:18;;;47424:19;-1:-1;;;47464:14;;;18665:35;18719:12;;;34563:245::o;34815:416::-;35015:2;35029:47;;;18970:2;35000:18;;;47424:19;19006:27;47464:14;;;18986:48;19053:12;;;34986:245::o;35238:416::-;35438:2;35452:47;;;19304:2;35423:18;;;47424:19;-1:-1;;;47464:14;;;19320:38;19377:12;;;35409:245::o;35661:416::-;35861:2;35875:47;;;19628:2;35846:18;;;47424:19;19664:34;47464:14;;;19644:55;-1:-1;;;19719:12;;;19712:25;19756:12;;;35832:245::o;36084:416::-;36284:2;36298:47;;;20007:1;36269:18;;;47424:19;-1:-1;;;47464:14;;;20022:29;20070:12;;;36255:245::o;36507:416::-;36707:2;36721:47;;;20321:1;36692:18;;;47424:19;-1:-1;;;47464:14;;;20336:30;20385:12;;;36678:245::o;36930:416::-;37130:2;37144:47;;;20636:2;37115:18;;;47424:19;20672:29;47464:14;;;20652:50;20721:12;;;37101:245::o;37353:416::-;37553:2;37567:47;;;20972:2;37538:18;;;47424:19;-1:-1;;;47464:14;;;20988:41;21048:12;;;37524:245::o;37776:416::-;37976:2;37990:47;;;21299:2;37961:18;;;47424:19;-1:-1;;;47464:14;;;21315:33;21367:12;;;37947:245::o;38199:416::-;38399:2;38413:47;;;21618:2;38384:18;;;47424:19;21654:31;47464:14;;;21634:52;21705:12;;;38370:245::o;38622:416::-;38822:2;38836:47;;;21956:2;38807:18;;;47424:19;-1:-1;;;47464:14;;;21972:34;22025:12;;;38793:245::o;39045:416::-;39245:2;39259:47;;;22276:2;39230:18;;;47424:19;-1:-1;;;47464:14;;;22292:34;22345:12;;;39216:245::o;39468:416::-;39668:2;39682:47;;;22596:2;39653:18;;;47424:19;22632:34;47464:14;;;22612:55;-1:-1;;;22687:12;;;22680:34;22733:12;;;39639:245::o;39891:416::-;40091:2;40105:47;;;22984:2;40076:18;;;47424:19;-1:-1;;;47464:14;;;23000:33;23052:12;;;40062:245::o;40314:416::-;40514:2;40528:47;;;23303:2;40499:18;;;47424:19;23339:34;47464:14;;;23319:55;-1:-1;;;23394:12;;;23387:46;23452:12;;;40485:245::o;40737:416::-;40937:2;40951:47;;;23703:2;40922:18;;;47424:19;23739:34;47464:14;;;23719:55;-1:-1;;;23794:12;;;23787:31;23837:12;;;40908:245::o;41160:416::-;41360:2;41374:47;;;24088:2;41345:18;;;47424:19;24124:34;47464:14;;;24104:55;-1:-1;;;24179:12;;;24172:27;24218:12;;;41331:245::o;41583:222::-;24315:37;;;41710:2;41695:18;;41681:124::o;41812:481::-;;24345:5;24322:3;24315:37;42017:2;42135;42124:9;42120:18;42113:48;42175:108;42017:2;42006:9;42002:18;42269:6;42175:108;:::i;42300:333::-;24315:37;;;42619:2;42604:18;;24315:37;42455:2;42440:18;;42426:207::o;42640:816::-;;24345:5;24322:3;24315:37;24345:5;43094:2;43083:9;43079:18;24315:37;42929:3;43131:2;43120:9;43116:18;43109:48;43171:108;42929:3;42918:9;42914:19;43265:6;43171:108;:::i;:::-;-1:-1;;;;;48355:54;;;;43358:2;43343:18;;10309:37;-1:-1;43441:3;43426:19;24315:37;43163:116;42900:556;-1:-1;;;42900:556::o;43463:544::-;24315:37;;;43833:2;43818:18;;24315:37;;;;48152:13;48145:21;43910:2;43895:18;;12085:34;-1:-1;;;;;48355:54;43993:2;43978:18;;10309:37;43668:3;43653:19;;43639:368::o;44581:444::-;24315:37;;;44928:2;44913:18;;24315:37;;;;45011:2;44996:18;;24315:37;44764:2;44749:18;;44735:290::o;45032:556::-;24315:37;;;45408:2;45393:18;;24315:37;;;;45491:2;45476:18;;24315:37;45574:2;45559:18;;24315:37;45243:3;45228:19;;45214:374::o;45595:256::-;45657:2;45651:9;45683:17;;;45758:18;45743:34;;45779:22;;;45740:62;45737:2;;;45815:1;;45805:12;45737:2;45657;45824:22;45635:216;;-1:-1;45635:216::o;45858:304::-;;46017:18;46009:6;46006:30;46003:2;;;-1:-1;;46039:12;46003:2;-1:-1;46084:4;46072:17;;;46137:15;;45940:222::o;50341:268::-;50406:1;50413:101;50427:6;50424:1;50421:13;50413:101;;;50494:11;;;50488:18;50475:11;;;50468:39;50449:2;50442:10;50413:101;;;50529:6;50526:1;50523:13;50520:2;;;-1:-1;;50406:1;50576:16;;50569:27;50390:219::o;50722:117::-;-1:-1;;;;;48355:54;;50781:35;;50771:2;;50830:1;;50820:12;50846:111;50927:5;48152:13;48145:21;50905:5;50902:32;50892:2;;50948:1;;50938:12

Swarm Source

ipfs://f4916f945fe02a582c250294c3c87656f8d8158f6706e11191e0264ffb112570
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.