ETH Price: $3,458.91 (-0.70%)
Gas: 2 Gwei

Contract

0xa600524F0c73647476D269AAAebe4F9b86eA3D7d
 
Transaction Hash
Method
Block
From
To
Value
Swap Pipt To Eth115709212021-01-01 21:34:541277 days ago1609536894IN
0xa600524F...b86eA3D7d
0 ETH0.0471657234.1
Swap Pipt To Eth115512622020-12-29 21:16:461280 days ago1609276606IN
0xa600524F...b86eA3D7d
0 ETH0.0671023559
Swap Pipt To Erc...115512622020-12-29 21:16:461280 days ago1609276606IN
0xa600524F...b86eA3D7d
0 ETH0.0889939860
Swap Pipt To Erc...115511812020-12-29 20:55:301280 days ago1609275330IN
0xa600524F...b86eA3D7d
0 ETH0.0297211260
Swap Pipt To Erc...115505142020-12-29 18:24:581280 days ago1609266298IN
0xa600524F...b86eA3D7d
0 ETH0.1208680583.3
Swap Pipt To Erc...115504172020-12-29 18:02:321280 days ago1609264952IN
0xa600524F...b86eA3D7d
0 ETH0.1214300783
Swap Pipt To Erc...115503572020-12-29 17:51:421280 days ago1609264302IN
0xa600524F...b86eA3D7d
0 ETH0.1564799107
Swap Pipt To Eth115501562020-12-29 17:07:351280 days ago1609261655IN
0xa600524F...b86eA3D7d
0 ETH0.17073156120
Swap Eth To Pipt115493102020-12-29 13:49:161280 days ago1609249756IN
0xa600524F...b86eA3D7d
2 ETH0.1065375660
Swap Pipt To Eth115489172020-12-29 12:29:091280 days ago1609244949IN
0xa600524F...b86eA3D7d
0 ETH0.1197249485.3
Swap Eth To Pipt115488052020-12-29 12:03:401280 days ago1609243420IN
0xa600524F...b86eA3D7d
10 ETH0.1557083487.9
Swap Eth To Pipt115481872020-12-29 9:46:211280 days ago1609235181IN
0xa600524F...b86eA3D7d
1 ETH0.1396500880
Swap Pipt To Eth115480982020-12-29 9:27:201280 days ago1609234040IN
0xa600524F...b86eA3D7d
0 ETH0.083047560
Swap Pipt To Eth115479582020-12-29 8:57:331280 days ago1609232253IN
0xa600524F...b86eA3D7d
0 ETH0.0763578755
Swap Pipt To Eth115476772020-12-29 7:55:461280 days ago1609228546IN
0xa600524F...b86eA3D7d
0 ETH0.11274680
Swap Eth To Pipt115464802020-12-29 3:26:071281 days ago1609212367IN
0xa600524F...b86eA3D7d
4.65789999 ETH0.1252163171
Swap Pipt To Eth115463842020-12-29 3:05:581281 days ago1609211158IN
0xa600524F...b86eA3D7d
0 ETH0.1274852691
Swap Eth To Pipt115455052020-12-28 23:46:551281 days ago1609199215IN
0xa600524F...b86eA3D7d
2.3 ETH0.0729782241.1
Swap Pipt To Eth115453732020-12-28 23:15:291281 days ago1609197329IN
0xa600524F...b86eA3D7d
0 ETH0.1379607798
Swap Pipt To Erc...115449462020-12-28 21:37:511281 days ago1609191471IN
0xa600524F...b86eA3D7d
0 ETH0.0778933552.5
Swap Eth To Pipt115446722020-12-28 20:37:441281 days ago1609187864IN
0xa600524F...b86eA3D7d
1.11131 ETH0.0968344355
Swap Pipt To Eth115442492020-12-28 19:09:431281 days ago1609182583IN
0xa600524F...b86eA3D7d
0 ETH0.0610868244
Swap Eth To Pipt115430402020-12-28 14:38:341281 days ago1609166314IN
0xa600524F...b86eA3D7d
1 ETH0.50800659286.1
Swap Eth To Pipt115424182020-12-28 12:23:191281 days ago1609158199IN
0xa600524F...b86eA3D7d
24.5 ETH0.25036326141
Swap Eth To Pipt115422842020-12-28 11:56:071281 days ago1609156567IN
0xa600524F...b86eA3D7d
23 ETH0.1305071474
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
118470152021-02-13 7:44:571234 days ago1613202297
0xa600524F...b86eA3D7d
0.17917179 ETH
118470152021-02-13 7:44:571234 days ago1613202297
0xa600524F...b86eA3D7d
0.17917179 ETH
118470152021-02-13 7:44:571234 days ago1613202297
0xa600524F...b86eA3D7d
9.13027375 ETH
118470152021-02-13 7:44:571234 days ago1613202297
0xa600524F...b86eA3D7d
9.13027375 ETH
118127842021-02-08 1:16:431240 days ago1612747003
0xa600524F...b86eA3D7d
11.53276841 ETH
118127842021-02-08 1:16:431240 days ago1612747003
0xa600524F...b86eA3D7d
11.53276841 ETH
118103062021-02-07 16:09:451240 days ago1612714185
0xa600524F...b86eA3D7d
23.61348371 ETH
118103062021-02-07 16:09:451240 days ago1612714185
0xa600524F...b86eA3D7d
23.61348371 ETH
117921932021-02-04 21:13:201243 days ago1612473200
0xa600524F...b86eA3D7d
18.77654715 ETH
117921932021-02-04 21:13:201243 days ago1612473200
0xa600524F...b86eA3D7d
18.77654715 ETH
117867842021-02-04 1:23:041244 days ago1612401784
0xa600524F...b86eA3D7d
23.5953616 ETH
117867842021-02-04 1:23:041244 days ago1612401784
0xa600524F...b86eA3D7d
23.5953616 ETH
117774112021-02-02 14:40:061245 days ago1612276806
0xa600524F...b86eA3D7d
14.0707967 ETH
117774112021-02-02 14:40:061245 days ago1612276806
0xa600524F...b86eA3D7d
14.0707967 ETH
117584842021-01-30 16:58:491248 days ago1612025929
0xa600524F...b86eA3D7d
16.12995838 ETH
117584842021-01-30 16:58:491248 days ago1612025929
0xa600524F...b86eA3D7d
16.12995838 ETH
117474242021-01-28 23:51:151250 days ago1611877875
0xa600524F...b86eA3D7d
0.38746264 ETH
117474242021-01-28 23:51:151250 days ago1611877875
0xa600524F...b86eA3D7d
0.38746264 ETH
117474242021-01-28 23:51:151250 days ago1611877875
0xa600524F...b86eA3D7d
20.5984917 ETH
117474242021-01-28 23:51:151250 days ago1611877875
0xa600524F...b86eA3D7d
20.5984917 ETH
117474232021-01-28 23:51:101250 days ago1611877870
0xa600524F...b86eA3D7d
0.42196385 ETH
117474232021-01-28 23:51:101250 days ago1611877870
0xa600524F...b86eA3D7d
0.42196385 ETH
117474232021-01-28 23:51:101250 days ago1611877870
0xa600524F...b86eA3D7d
22.56860117 ETH
117474232021-01-28 23:51:101250 days ago1611877870
0xa600524F...b86eA3D7d
22.56860117 ETH
117341082021-01-26 22:32:411252 days ago1611700361
0xa600524F...b86eA3D7d
12.70937358 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Erc20PiptSwap

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 2 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-12-02
*/

/*
https://powerpool.finance/

          wrrrw r wrr
         ppwr rrr wppr0       prwwwrp                                 prwwwrp                   wr0
        rr 0rrrwrrprpwp0      pp   pr  prrrr0 pp   0r  prrrr0  0rwrrr pp   pr  prrrr0  prrrr0    r0
        rrp pr   wr00rrp      prwww0  pp   wr pp w00r prwwwpr  0rw    prwww0  pp   wr pp   wr    r0
        r0rprprwrrrp pr0      pp      wr   pr pp rwwr wr       0r     pp      wr   pr wr   pr    r0
         prwr wrr0wpwr        00        www0   0w0ww    www0   0w     00        www0    www0   0www0
          wrr ww0rrrr

*/

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

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

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

pragma solidity ^0.6.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: @openzeppelin/contracts/utils/Address.sol

pragma solidity ^0.6.2;

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

pragma solidity ^0.6.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: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.6.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol

pragma solidity ^0.6.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/interfaces/BMathInterface.sol

pragma solidity 0.6.12;

interface BMathInterface {
  function calcInGivenOut(
    uint256 tokenBalanceIn,
    uint256 tokenWeightIn,
    uint256 tokenBalanceOut,
    uint256 tokenWeightOut,
    uint256 tokenAmountOut,
    uint256 swapFee
  ) external pure returns (uint256 tokenAmountIn);
}

// File: contracts/interfaces/BPoolInterface.sol

pragma solidity 0.6.12;



interface BPoolInterface is IERC20, BMathInterface {
  function joinPool(uint256 poolAmountOut, uint256[] calldata maxAmountsIn) external;

  function exitPool(uint256 poolAmountIn, uint256[] calldata minAmountsOut) external;

  function swapExactAmountIn(
    address,
    uint256,
    address,
    uint256,
    uint256
  ) external returns (uint256, uint256);

  function swapExactAmountOut(
    address,
    uint256,
    address,
    uint256,
    uint256
  ) external returns (uint256, uint256);

  function joinswapExternAmountIn(
    address,
    uint256,
    uint256
  ) external returns (uint256);

  function joinswapPoolAmountOut(
    address,
    uint256,
    uint256
  ) external returns (uint256);

  function exitswapPoolAmountIn(
    address,
    uint256,
    uint256
  ) external returns (uint256);

  function exitswapExternAmountOut(
    address,
    uint256,
    uint256
  ) external returns (uint256);

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

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

  function getSwapFee() external view returns (uint256);

  function getTotalDenormalizedWeight() external view returns (uint256);

  function getCommunityFee()
    external
    view
    returns (
      uint256,
      uint256,
      uint256,
      address
    );

  function calcAmountWithCommunityFee(
    uint256,
    uint256,
    address
  ) external view returns (uint256, uint256);

  function getRestrictions() external view returns (address);

  function isPublicSwap() external view returns (bool);

  function isFinalized() external view returns (bool);

  function isBound(address t) external view returns (bool);

  function getCurrentTokens() external view returns (address[] memory tokens);

  function getFinalTokens() external view returns (address[] memory tokens);

  function setSwapFee(uint256) external;

  function setCommunityFeeAndReceiver(
    uint256,
    uint256,
    uint256,
    address
  ) external;

  function setController(address) external;

  function setPublicSwap(bool) external;

  function finalize() external;

  function bind(
    address,
    uint256,
    uint256
  ) external;

  function rebind(
    address,
    uint256,
    uint256
  ) external;

  function unbind(address) external;

  function callVoting(
    address voting,
    bytes4 signature,
    bytes calldata args,
    uint256 value
  ) external;

  function getMinWeight() external view returns (uint256);

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

// File: contracts/interfaces/TokenInterface.sol

pragma solidity 0.6.12;


interface TokenInterface is IERC20 {
  function deposit() external payable;

  function withdraw(uint256) external;
}

// File: contracts/interfaces/IPoolRestrictions.sol

pragma solidity 0.6.12;

interface IPoolRestrictions {
  function getMaxTotalSupply(address _pool) external view returns (uint256);

  function isVotingSignatureAllowed(address _votingAddress, bytes4 _signature) external view returns (bool);

  function isVotingSenderAllowed(address _votingAddress, address _sender) external view returns (bool);

  function isWithoutFee(address _addr) external view returns (bool);
}

// File: contracts/interfaces/IUniswapV2Pair.sol

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
  event Approval(address indexed owner, address indexed spender, uint256 value);
  event Transfer(address indexed from, address indexed to, uint256 value);

  function name() external pure returns (string memory);

  function symbol() external pure returns (string memory);

  function decimals() external pure returns (uint8);

  function totalSupply() external view returns (uint256);

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

  function allowance(address owner, address spender) external view returns (uint256);

  function approve(address spender, uint256 value) external returns (bool);

  function transfer(address to, uint256 value) external returns (bool);

  function transferFrom(
    address from,
    address to,
    uint256 value
  ) external returns (bool);

  function DOMAIN_SEPARATOR() external view returns (bytes32);

  function PERMIT_TYPEHASH() external pure returns (bytes32);

  function nonces(address owner) external view returns (uint256);

  function permit(
    address owner,
    address spender,
    uint256 value,
    uint256 deadline,
    uint8 v,
    bytes32 r,
    bytes32 s
  ) external;

  event Mint(address indexed sender, uint256 amount0, uint256 amount1);
  event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to);
  event Swap(
    address indexed sender,
    uint256 amount0In,
    uint256 amount1In,
    uint256 amount0Out,
    uint256 amount1Out,
    address indexed to
  );
  event Sync(uint112 reserve0, uint112 reserve1);

  function MINIMUM_LIQUIDITY() external pure returns (uint256);

  function factory() external view returns (address);

  function token0() external view returns (address);

  function token1() external view returns (address);

  function getReserves()
    external
    view
    returns (
      uint112 reserve0,
      uint112 reserve1,
      uint32 blockTimestampLast
    );

  function price0CumulativeLast() external view returns (uint256);

  function price1CumulativeLast() external view returns (uint256);

  function kLast() external view returns (uint256);

  function mint(address to) external returns (uint256 liquidity);

  function burn(address to) external returns (uint256 amount0, uint256 amount1);

  function swap(
    uint256 amount0Out,
    uint256 amount1Out,
    address to,
    bytes calldata data
  ) external;

  function skim(address to) external;

  function sync() external;

  function initialize(address, address) external;
}

// File: contracts/interfaces/IUniswapV2Factory.sol

pragma solidity >=0.5.0;

interface IUniswapV2Factory {
  event PairCreated(address indexed token0, address indexed token1, address pair, uint256);

  function feeTo() external view returns (address);

  function feeToSetter() external view returns (address);

  function migrator() external view returns (address);

  function getPair(address tokenA, address tokenB) external view returns (address pair);

  function allPairs(uint256) external view returns (address pair);

  function allPairsLength() external view returns (uint256);

  function createPair(address tokenA, address tokenB) external returns (address pair);

  function setFeeTo(address) external;

  function setFeeToSetter(address) external;

  function setMigrator(address) external;
}

// File: contracts/lib/SafeMathUniswap.sol

pragma solidity =0.6.12;

// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)

library SafeMathUniswap {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, 'ds-math-add-overflow');
    }

    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, 'ds-math-sub-underflow');
    }

    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow');
    }
}

// File: contracts/lib/UniswapV2Library.sol

pragma solidity >=0.5.0;



library UniswapV2Library {
    using SafeMathUniswap for uint;

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(uint(keccak256(abi.encodePacked(
                hex'ff',
                factory,
                keccak256(abi.encodePacked(token0, token1)),
                hex'e18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303' // init code hash
            ))));
    }

    // fetches and sorts the reserves for a pair
    function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {
        (address token0,) = sortTokens(tokenA, tokenB);
        (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();
        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
    }

    // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
    function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) {
        require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        amountB = amountA.mul(reserveB) / reserveA;
    }

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) {
        require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        uint amountInWithFee = amountIn.mul(997);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) {
        require(amountOut > 0, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        uint numerator = reserveIn.mul(amountOut).mul(1000);
        uint denominator = reserveOut.sub(amountOut).mul(997);
        amountIn = (numerator / denominator).add(1);
    }

    // performs chained getAmountOut calculations on any number of pairs
    function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[0] = amountIn;
        for (uint i; i < path.length - 1; i++) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]);
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);
        }
    }

    // performs chained getAmountIn calculations on any number of pairs
    function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[amounts.length - 1] = amountOut;
        for (uint i = path.length - 1; i > 0; i--) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]);
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);
        }
    }
}

// File: contracts/EthPiptSwap.sol

pragma solidity 0.6.12;











contract EthPiptSwap is Ownable {
  using SafeMath for uint256;
  using SafeERC20 for IERC20;
  using SafeERC20 for TokenInterface;
  using SafeERC20 for BPoolInterface;

  TokenInterface public weth;
  TokenInterface public cvp;
  BPoolInterface public pipt;

  uint256[] public feeLevels;
  uint256[] public feeAmounts;
  address public feePayout;
  address public feeManager;

  mapping(address => address) public uniswapEthPairByTokenAddress;
  mapping(address => bool) public reApproveTokens;
  uint256 public defaultSlippage;

  struct CalculationStruct {
    uint256 tokenAmount;
    uint256 ethAmount;
    uint256 tokenReserve;
    uint256 ethReserve;
  }

  event SetTokenSetting(address indexed token, bool indexed reApprove, address indexed uniswapPair);
  event SetDefaultSlippage(uint256 newDefaultSlippage);
  event SetFees(
    address indexed sender,
    uint256[] newFeeLevels,
    uint256[] newFeeAmounts,
    address indexed feePayout,
    address indexed feeManager
  );

  event EthToPiptSwap(
    address indexed user,
    uint256 ethInAmount,
    uint256 ethSwapFee,
    uint256 poolOutAmount,
    uint256 poolCommunityFee
  );
  event OddEth(address indexed user, uint256 amount);
  event PiptToEthSwap(
    address indexed user,
    uint256 poolInAmount,
    uint256 poolCommunityFee,
    uint256 ethOutAmount,
    uint256 ethSwapFee
  );
  event PayoutCVP(address indexed receiver, uint256 wethAmount, uint256 cvpAmount);

  constructor(
    address _weth,
    address _cvp,
    address _pipt,
    address _feeManager
  ) public Ownable() {
    weth = TokenInterface(_weth);
    cvp = TokenInterface(_cvp);
    pipt = BPoolInterface(_pipt);
    feeManager = _feeManager;
    defaultSlippage = 0.02 ether;
  }

  modifier onlyFeeManagerOrOwner() {
    require(msg.sender == feeManager || msg.sender == owner(), "NOT_FEE_MANAGER");
    _;
  }

  receive() external payable {
    if (msg.sender != tx.origin) {
      return;
    }
    swapEthToPipt(defaultSlippage);
  }

  function swapEthToPipt(uint256 _slippage) public payable {
    (, uint256 swapAmount) = calcEthFee(msg.value);

    address[] memory tokens = pipt.getCurrentTokens();

    (, , uint256 poolAmountOut) = calcSwapEthToPiptInputs(swapAmount, tokens, _slippage);

    weth.deposit{ value: msg.value }();

    _swapWethToPiptByPoolOut(msg.value, poolAmountOut);
  }

  function swapEthToPiptByPoolOut(uint256 _poolAmountOut) external payable {
    weth.deposit{ value: msg.value }();

    _swapWethToPiptByPoolOut(msg.value, _poolAmountOut);
  }

  function swapPiptToEth(uint256 _poolAmountIn) external {
    uint256 ethOutAmount = _swapPiptToWeth(_poolAmountIn);

    weth.withdraw(ethOutAmount);
    msg.sender.transfer(ethOutAmount);
  }

  function convertOddToCvpAndSendToPayout(address[] memory oddTokens) external {
    require(msg.sender == tx.origin && !Address.isContract(msg.sender), "CONTRACT_NOT_ALLOWED");

    uint256 len = oddTokens.length;

    for (uint256 i = 0; i < len; i++) {
      uint256 tokenBalance = TokenInterface(oddTokens[i]).balanceOf(address(this));
      IUniswapV2Pair tokenPair = _uniswapPairFor(oddTokens[i]);

      (uint256 tokenReserve, uint256 ethReserve, ) = tokenPair.getReserves();
      uint256 wethOut = UniswapV2Library.getAmountOut(tokenBalance, tokenReserve, ethReserve);

      TokenInterface(oddTokens[i]).safeTransfer(address(tokenPair), tokenBalance);

      tokenPair.swap(uint256(0), wethOut, address(this), new bytes(0));
    }

    uint256 wethBalance = weth.balanceOf(address(this));

    IUniswapV2Pair cvpPair = _uniswapPairFor(address(cvp));

    (uint256 cvpReserve, uint256 ethReserve, ) = cvpPair.getReserves();
    uint256 cvpOut = UniswapV2Library.getAmountOut(wethBalance, ethReserve, cvpReserve);

    weth.safeTransfer(address(cvpPair), wethBalance);

    cvpPair.swap(cvpOut, uint256(0), address(this), new bytes(0));

    cvp.safeTransfer(feePayout, cvpOut);

    emit PayoutCVP(feePayout, wethBalance, cvpOut);
  }

  function setFees(
    uint256[] calldata _feeLevels,
    uint256[] calldata _feeAmounts,
    address _feePayout,
    address _feeManager
  ) external onlyFeeManagerOrOwner {
    feeLevels = _feeLevels;
    feeAmounts = _feeAmounts;
    feePayout = _feePayout;
    feeManager = _feeManager;

    emit SetFees(msg.sender, _feeLevels, _feeAmounts, _feePayout, _feeManager);
  }

  function setTokensSettings(
    address[] memory _tokens,
    address[] memory _pairs,
    bool[] memory _reapprove
  ) external onlyOwner {
    uint256 len = _tokens.length;
    require(len == _pairs.length && len == _reapprove.length, "LENGTHS_NOT_EQUAL");
    for (uint256 i = 0; i < len; i++) {
      uniswapEthPairByTokenAddress[_tokens[i]] = _pairs[i];
      reApproveTokens[_tokens[i]] = _reapprove[i];
      emit SetTokenSetting(_tokens[i], _reapprove[i], _pairs[i]);
    }
  }

  function fetchUnswapPairsFromFactory(address _factory, address[] calldata _tokens) external onlyOwner {
    uint256 len = _tokens.length;
    for (uint256 i = 0; i < len; i++) {
      uniswapEthPairByTokenAddress[_tokens[i]] = IUniswapV2Factory(_factory).getPair(_tokens[i], address(weth));
    }
  }

  function setDefaultSlippage(uint256 _defaultSlippage) external onlyOwner {
    defaultSlippage = _defaultSlippage;
    emit SetDefaultSlippage(_defaultSlippage);
  }

  function calcSwapEthToPiptInputs(
    uint256 _ethValue,
    address[] memory _tokens,
    uint256 _slippage
  )
    public
    view
    returns (
      uint256[] memory tokensInPipt,
      uint256[] memory ethInUniswap,
      uint256 poolOut
    )
  {
    _ethValue = _ethValue.sub(_ethValue.mul(_slippage).div(1 ether));

    // get shares and eth required for each share
    CalculationStruct[] memory calculations = new CalculationStruct[](_tokens.length);

    uint256 totalEthRequired = 0;
    {
      uint256 piptTotalSupply = pipt.totalSupply();
      // get pool out for 1 ether as 100% for calculate shares
      // poolOut by 1 ether first token join = piptTotalSupply.mul(1 ether).div(pipt.getBalance(_tokens[0]))
      // poolRatio = poolOut/totalSupply
      uint256 poolRatio =
        piptTotalSupply.mul(1 ether).div(pipt.getBalance(_tokens[0])).mul(1 ether).div(piptTotalSupply);

      for (uint256 i = 0; i < _tokens.length; i++) {
        // token share relatively 1 ether of first token
        calculations[i].tokenAmount = poolRatio.mul(pipt.getBalance(_tokens[i])).div(1 ether);

        (calculations[i].tokenReserve, calculations[i].ethReserve, ) = _uniswapPairFor(_tokens[i]).getReserves();
        calculations[i].ethAmount = UniswapV2Library.getAmountIn(
          calculations[i].tokenAmount,
          calculations[i].ethReserve,
          calculations[i].tokenReserve
        );
        totalEthRequired = totalEthRequired.add(calculations[i].ethAmount);
      }
    }

    // calculate eth and tokensIn based on shares and normalize if totalEthRequired more than 100%
    tokensInPipt = new uint256[](_tokens.length);
    ethInUniswap = new uint256[](_tokens.length);
    for (uint256 i = 0; i < _tokens.length; i++) {
      ethInUniswap[i] = _ethValue.mul(calculations[i].ethAmount.mul(1 ether).div(totalEthRequired)).div(1 ether);
      tokensInPipt[i] = calculations[i].tokenAmount.mul(_ethValue.mul(1 ether).div(totalEthRequired)).div(1 ether);
    }

    poolOut = pipt.totalSupply().mul(tokensInPipt[0]).div(pipt.getBalance(_tokens[0]));
  }

  function calcSwapPiptToEthInputs(uint256 _poolAmountIn, address[] memory _tokens)
    public
    view
    returns (
      uint256[] memory tokensOutPipt,
      uint256[] memory ethOutUniswap,
      uint256 totalEthOut,
      uint256 poolAmountFee
    )
  {
    tokensOutPipt = new uint256[](_tokens.length);
    ethOutUniswap = new uint256[](_tokens.length);

    (, , uint256 communityExitFee, ) = pipt.getCommunityFee();

    uint256 poolAmountInAfterFee;
    (poolAmountInAfterFee, poolAmountFee) = pipt.calcAmountWithCommunityFee(
      _poolAmountIn,
      communityExitFee,
      address(this)
    );

    uint256 poolRatio = poolAmountInAfterFee.mul(1 ether).div(pipt.totalSupply());

    totalEthOut = 0;
    for (uint256 i = 0; i < _tokens.length; i++) {
      tokensOutPipt[i] = poolRatio.mul(pipt.getBalance(_tokens[i])).div(1 ether);

      (uint256 tokenReserve, uint256 ethReserve, ) = _uniswapPairFor(_tokens[i]).getReserves();
      ethOutUniswap[i] = UniswapV2Library.getAmountOut(tokensOutPipt[i], tokenReserve, ethReserve);
      totalEthOut = totalEthOut.add(ethOutUniswap[i]);
    }
  }

  function calcNeedEthToPoolOut(uint256 _poolAmountOut, uint256 _slippage) public view returns (uint256) {
    uint256 ratio = _poolAmountOut.mul(1 ether).div(pipt.totalSupply()).add(10);

    address[] memory tokens = pipt.getCurrentTokens();
    uint256 len = tokens.length;

    CalculationStruct[] memory calculations = new CalculationStruct[](len);
    uint256[] memory tokensInPipt = new uint256[](len);

    uint256 totalEthSwap = 0;
    for (uint256 i = 0; i < len; i++) {
      IUniswapV2Pair tokenPair = _uniswapPairFor(tokens[i]);

      (calculations[i].tokenReserve, calculations[i].ethReserve, ) = tokenPair.getReserves();
      tokensInPipt[i] = ratio.mul(pipt.getBalance(tokens[i])).div(1 ether);
      totalEthSwap = UniswapV2Library
        .getAmountIn(tokensInPipt[i], calculations[i].ethReserve, calculations[i].tokenReserve)
        .add(totalEthSwap);
    }
    return totalEthSwap.add(totalEthSwap.mul(_slippage).div(1 ether));
  }

  function calcEthFee(uint256 ethAmount) public view returns (uint256 ethFee, uint256 ethAfterFee) {
    ethFee = 0;
    uint256 len = feeLevels.length;
    for (uint256 i = 0; i < len; i++) {
      if (ethAmount >= feeLevels[i]) {
        ethFee = ethAmount.mul(feeAmounts[i]).div(1 ether);
        break;
      }
    }
    ethAfterFee = ethAmount.sub(ethFee);
  }

  function getFeeLevels() external view returns (uint256[] memory) {
    return feeLevels;
  }

  function getFeeAmounts() external view returns (uint256[] memory) {
    return feeAmounts;
  }

  function _uniswapPairFor(address token) internal view returns (IUniswapV2Pair) {
    return IUniswapV2Pair(uniswapEthPairByTokenAddress[token]);
  }

  function _swapWethToPiptByPoolOut(uint256 _wethAmount, uint256 _poolAmountOut) internal {
    require(_wethAmount > 0, "ETH_REQUIRED");

    {
      address poolRestrictions = pipt.getRestrictions();
      if (address(poolRestrictions) != address(0)) {
        uint256 maxTotalSupply = IPoolRestrictions(poolRestrictions).getMaxTotalSupply(address(pipt));
        require(pipt.totalSupply().add(_poolAmountOut) <= maxTotalSupply, "PIPT_MAX_SUPPLY");
      }
    }

    (uint256 feeAmount, uint256 swapAmount) = calcEthFee(_wethAmount);

    uint256 ratio = _poolAmountOut.mul(1 ether).div(pipt.totalSupply()).add(10);

    address[] memory tokens = pipt.getCurrentTokens();
    uint256 len = tokens.length;

    CalculationStruct[] memory calculations = new CalculationStruct[](len);
    uint256[] memory tokensInPipt = new uint256[](len);

    uint256 totalEthSwap = 0;
    for (uint256 i = 0; i < len; i++) {
      IUniswapV2Pair tokenPair = _uniswapPairFor(tokens[i]);

      (calculations[i].tokenReserve, calculations[i].ethReserve, ) = tokenPair.getReserves();
      tokensInPipt[i] = ratio.mul(pipt.getBalance(tokens[i])).div(1 ether);
      calculations[i].ethAmount = UniswapV2Library.getAmountIn(
        tokensInPipt[i],
        calculations[i].ethReserve,
        calculations[i].tokenReserve
      );

      weth.safeTransfer(address(tokenPair), calculations[i].ethAmount);

      tokenPair.swap(tokensInPipt[i], uint256(0), address(this), new bytes(0));
      totalEthSwap = totalEthSwap.add(calculations[i].ethAmount);

      if (reApproveTokens[tokens[i]]) {
        TokenInterface(tokens[i]).approve(address(pipt), 0);
      }

      TokenInterface(tokens[i]).approve(address(pipt), tokensInPipt[i]);
    }

    (, uint256 communityJoinFee, , ) = pipt.getCommunityFee();
    (uint256 poolAmountOutAfterFee, uint256 poolAmountOutFee) =
      pipt.calcAmountWithCommunityFee(_poolAmountOut, communityJoinFee, address(this));

    emit EthToPiptSwap(msg.sender, swapAmount, feeAmount, _poolAmountOut, poolAmountOutFee);

    pipt.joinPool(_poolAmountOut, tokensInPipt);
    pipt.safeTransfer(msg.sender, poolAmountOutAfterFee);

    uint256 ethDiff = swapAmount.sub(totalEthSwap);
    if (ethDiff > 0) {
      weth.withdraw(ethDiff);
      msg.sender.transfer(ethDiff);
      emit OddEth(msg.sender, ethDiff);
    }
  }

  function _swapPiptToWeth(uint256 _poolAmountIn) internal returns (uint256) {
    address[] memory tokens = pipt.getCurrentTokens();
    uint256 len = tokens.length;

    (uint256[] memory tokensOutPipt, uint256[] memory ethOutUniswap, uint256 totalEthOut, uint256 poolAmountFee) =
      calcSwapPiptToEthInputs(_poolAmountIn, tokens);

    pipt.safeTransferFrom(msg.sender, address(this), _poolAmountIn);

    pipt.approve(address(pipt), _poolAmountIn);

    pipt.exitPool(_poolAmountIn, tokensOutPipt);

    for (uint256 i = 0; i < len; i++) {
      IUniswapV2Pair tokenPair = _uniswapPairFor(tokens[i]);
      TokenInterface(tokens[i]).safeTransfer(address(tokenPair), tokensOutPipt[i]);
      tokenPair.swap(uint256(0), ethOutUniswap[i], address(this), new bytes(0));
    }

    (uint256 ethFeeAmount, uint256 ethOutAmount) = calcEthFee(totalEthOut);

    emit PiptToEthSwap(msg.sender, _poolAmountIn, poolAmountFee, ethOutAmount, ethFeeAmount);

    return ethOutAmount;
  }
}

// File: contracts/Erc20PiptSwap.sol

pragma solidity 0.6.12;


contract Erc20PiptSwap is EthPiptSwap {
  event Erc20ToPiptSwap(
    address indexed user,
    address indexed swapToken,
    uint256 erc20InAmount,
    uint256 ethInAmount,
    uint256 poolOutAmount
  );
  event PiptToErc20Swap(
    address indexed user,
    address indexed swapToken,
    uint256 poolInAmount,
    uint256 ethOutAmount,
    uint256 erc20OutAmount
  );

  constructor(
    address _weth,
    address _cvp,
    address _pipt,
    address _feeManager
  ) public EthPiptSwap(_weth, _cvp, _pipt, _feeManager) {}

  function swapErc20ToPipt(
    address _swapToken,
    uint256 _swapAmount,
    uint256 _slippage
  ) external {
    IERC20(_swapToken).safeTransferFrom(msg.sender, address(this), _swapAmount);

    IUniswapV2Pair tokenPair = _uniswapPairFor(_swapToken);
    (uint256 tokenReserve, uint256 ethReserve, ) = tokenPair.getReserves();
    uint256 ethAmount = UniswapV2Library.getAmountOut(_swapAmount, tokenReserve, ethReserve);

    IERC20(_swapToken).safeTransfer(address(tokenPair), _swapAmount);
    tokenPair.swap(uint256(0), ethAmount, address(this), new bytes(0));

    (, uint256 ethSwapAmount) = calcEthFee(ethAmount);
    address[] memory tokens = pipt.getCurrentTokens();
    (, , uint256 poolAmountOut) = calcSwapEthToPiptInputs(ethSwapAmount, tokens, _slippage);

    _swapWethToPiptByPoolOut(ethAmount, poolAmountOut);

    emit Erc20ToPiptSwap(msg.sender, _swapToken, _swapAmount, ethAmount, poolAmountOut);
  }

  function swapPiptToErc20(address _swapToken, uint256 _poolAmountIn) external {
    uint256 ethOut = _swapPiptToWeth(_poolAmountIn);

    IUniswapV2Pair tokenPair = _uniswapPairFor(_swapToken);

    (uint256 tokenReserve, uint256 ethReserve, ) = tokenPair.getReserves();
    uint256 erc20Out = UniswapV2Library.getAmountOut(ethOut, ethReserve, tokenReserve);

    weth.safeTransfer(address(tokenPair), ethOut);

    tokenPair.swap(erc20Out, uint256(0), address(this), new bytes(0));

    IERC20(_swapToken).safeTransfer(msg.sender, erc20Out);

    emit PiptToErc20Swap(msg.sender, _swapToken, _poolAmountIn, ethOut, erc20Out);
  }

  function calcSwapErc20ToPiptInputs(
    address _swapToken,
    uint256 _swapAmount,
    address[] memory _tokens,
    uint256 _slippage,
    bool _withFee
  )
    external
    view
    returns (
      uint256[] memory tokensInPipt,
      uint256[] memory ethInUniswap,
      uint256 poolOut
    )
  {
    (uint256 tokenReserve, uint256 ethReserve, ) = _uniswapPairFor(_swapToken).getReserves();
    uint256 ethAmount = UniswapV2Library.getAmountOut(_swapAmount, tokenReserve, ethReserve);
    if (_withFee) {
      (, ethAmount) = calcEthFee(ethAmount);
    }
    return calcSwapEthToPiptInputs(ethAmount, _tokens, _slippage);
  }

  function calcNeedErc20ToPoolOut(
    address _swapToken,
    uint256 _poolAmountOut,
    uint256 _slippage
  ) external view returns (uint256) {
    uint256 resultEth = calcNeedEthToPoolOut(_poolAmountOut, _slippage);
    (uint256 tokenReserve, uint256 ethReserve, ) = _uniswapPairFor(_swapToken).getReserves();
    return UniswapV2Library.getAmountIn(resultEth.mul(1003).div(1000), tokenReserve, ethReserve);
  }

  function calcSwapPiptToErc20Inputs(
    address _swapToken,
    uint256 _poolAmountIn,
    address[] memory _tokens,
    bool _withFee
  )
    external
    view
    returns (
      uint256[] memory tokensOutPipt,
      uint256[] memory ethOutUniswap,
      uint256 totalErc20Out,
      uint256 poolAmountFee
    )
  {
    uint256 totalEthOut;

    (tokensOutPipt, ethOutUniswap, totalEthOut, poolAmountFee) = calcSwapPiptToEthInputs(_poolAmountIn, _tokens);
    if (_withFee) {
      (, totalEthOut) = calcEthFee(totalEthOut);
    }
    (uint256 tokenReserve, uint256 ethReserve, ) = _uniswapPairFor(_swapToken).getReserves();
    totalErc20Out = UniswapV2Library.getAmountOut(totalEthOut, ethReserve, tokenReserve);
  }

  function calcErc20Fee(address _swapToken, uint256 _swapAmount)
    external
    view
    returns (
      uint256 erc20Fee,
      uint256 erc20AfterFee,
      uint256 ethFee,
      uint256 ethAfterFee
    )
  {
    (uint256 tokenReserve, uint256 ethReserve, ) = _uniswapPairFor(_swapToken).getReserves();
    uint256 ethAmount = UniswapV2Library.getAmountOut(_swapAmount, tokenReserve, ethReserve);

    (ethFee, ethAfterFee) = calcEthFee(ethAmount);

    if (ethFee != 0) {
      erc20Fee = UniswapV2Library.getAmountOut(ethFee, ethReserve, tokenReserve);
    }
    erc20AfterFee = UniswapV2Library.getAmountOut(ethAfterFee, ethReserve, tokenReserve);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address","name":"_cvp","type":"address"},{"internalType":"address","name":"_pipt","type":"address"},{"internalType":"address","name":"_feeManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"swapToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"erc20InAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethInAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"poolOutAmount","type":"uint256"}],"name":"Erc20ToPiptSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethInAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethSwapFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"poolOutAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"poolCommunityFee","type":"uint256"}],"name":"EthToPiptSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OddEth","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"wethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cvpAmount","type":"uint256"}],"name":"PayoutCVP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"swapToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"poolInAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethOutAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"erc20OutAmount","type":"uint256"}],"name":"PiptToErc20Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"poolInAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"poolCommunityFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethOutAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethSwapFee","type":"uint256"}],"name":"PiptToEthSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDefaultSlippage","type":"uint256"}],"name":"SetDefaultSlippage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"newFeeLevels","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"newFeeAmounts","type":"uint256[]"},{"indexed":true,"internalType":"address","name":"feePayout","type":"address"},{"indexed":true,"internalType":"address","name":"feeManager","type":"address"}],"name":"SetFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"bool","name":"reApprove","type":"bool"},{"indexed":true,"internalType":"address","name":"uniswapPair","type":"address"}],"name":"SetTokenSetting","type":"event"},{"inputs":[{"internalType":"address","name":"_swapToken","type":"address"},{"internalType":"uint256","name":"_swapAmount","type":"uint256"}],"name":"calcErc20Fee","outputs":[{"internalType":"uint256","name":"erc20Fee","type":"uint256"},{"internalType":"uint256","name":"erc20AfterFee","type":"uint256"},{"internalType":"uint256","name":"ethFee","type":"uint256"},{"internalType":"uint256","name":"ethAfterFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"calcEthFee","outputs":[{"internalType":"uint256","name":"ethFee","type":"uint256"},{"internalType":"uint256","name":"ethAfterFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_swapToken","type":"address"},{"internalType":"uint256","name":"_poolAmountOut","type":"uint256"},{"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"calcNeedErc20ToPoolOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolAmountOut","type":"uint256"},{"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"calcNeedEthToPoolOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_swapToken","type":"address"},{"internalType":"uint256","name":"_swapAmount","type":"uint256"},{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"uint256","name":"_slippage","type":"uint256"},{"internalType":"bool","name":"_withFee","type":"bool"}],"name":"calcSwapErc20ToPiptInputs","outputs":[{"internalType":"uint256[]","name":"tokensInPipt","type":"uint256[]"},{"internalType":"uint256[]","name":"ethInUniswap","type":"uint256[]"},{"internalType":"uint256","name":"poolOut","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ethValue","type":"uint256"},{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"calcSwapEthToPiptInputs","outputs":[{"internalType":"uint256[]","name":"tokensInPipt","type":"uint256[]"},{"internalType":"uint256[]","name":"ethInUniswap","type":"uint256[]"},{"internalType":"uint256","name":"poolOut","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_swapToken","type":"address"},{"internalType":"uint256","name":"_poolAmountIn","type":"uint256"},{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"bool","name":"_withFee","type":"bool"}],"name":"calcSwapPiptToErc20Inputs","outputs":[{"internalType":"uint256[]","name":"tokensOutPipt","type":"uint256[]"},{"internalType":"uint256[]","name":"ethOutUniswap","type":"uint256[]"},{"internalType":"uint256","name":"totalErc20Out","type":"uint256"},{"internalType":"uint256","name":"poolAmountFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolAmountIn","type":"uint256"},{"internalType":"address[]","name":"_tokens","type":"address[]"}],"name":"calcSwapPiptToEthInputs","outputs":[{"internalType":"uint256[]","name":"tokensOutPipt","type":"uint256[]"},{"internalType":"uint256[]","name":"ethOutUniswap","type":"uint256[]"},{"internalType":"uint256","name":"totalEthOut","type":"uint256"},{"internalType":"uint256","name":"poolAmountFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"oddTokens","type":"address[]"}],"name":"convertOddToCvpAndSendToPayout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cvp","outputs":[{"internalType":"contract TokenInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultSlippage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feeAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feeLevels","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feePayout","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address[]","name":"_tokens","type":"address[]"}],"name":"fetchUnswapPairsFromFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getFeeAmounts","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFeeLevels","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pipt","outputs":[{"internalType":"contract BPoolInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reApproveTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_defaultSlippage","type":"uint256"}],"name":"setDefaultSlippage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_feeLevels","type":"uint256[]"},{"internalType":"uint256[]","name":"_feeAmounts","type":"uint256[]"},{"internalType":"address","name":"_feePayout","type":"address"},{"internalType":"address","name":"_feeManager","type":"address"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"address[]","name":"_pairs","type":"address[]"},{"internalType":"bool[]","name":"_reapprove","type":"bool[]"}],"name":"setTokensSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_swapToken","type":"address"},{"internalType":"uint256","name":"_swapAmount","type":"uint256"},{"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"swapErc20ToPipt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"swapEthToPipt","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolAmountOut","type":"uint256"}],"name":"swapEthToPiptByPoolOut","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_swapToken","type":"address"},{"internalType":"uint256","name":"_poolAmountIn","type":"uint256"}],"name":"swapPiptToErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolAmountIn","type":"uint256"}],"name":"swapPiptToEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"uniswapEthPairByTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract TokenInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040516200517e3803806200517e833981810160405260808110156200003757600080fd5b50805160208201516040830151606090930151919290918383838360006200005e6200010c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039586166001600160a01b0319918216179091556002805494861694821694909417909355600380549285169284169290921790915560078054919093169116179055505066470de4df820000600a5550620001109050565b3390565b61505e80620001206000396000f3fe6080604052600436106101825760003560e01c8063032a9668146101a557806307953a93146101ec5780630b2a9b00146102515780630ffe6252146102ff578063175360a11461046b5780632828eea8146105d55780633929aa59146106185780633eb26b03146106495780633fc8cef31461065e578063433941901461067357806344bd1afd146106885780634d923532146106b25780635487404a1461086457806364c667ee1461088b578063715018a6146108a85780637ecdb40a146108bd578063857af01b146109485780638b01808c146109725780638da5cb5b1461099c5780638dccc567146109b1578063a2e6413714610a10578063a45098f714610a3a578063afc41f7a14610a6d578063b386711814610aac578063b4b48e5514610ac9578063bbf8eadc14610b7e578063bea0ea6014610c5a578063c6135f4314610c99578063d0fb020314610d50578063d3853b5b14610d65578063d8f14f2b14610d9e578063edc001bd14610db3578063f2fde38b14610de3576101a0565b366101a0573332146101935761019e565b61019e600a54610e16565b005b600080fd5b3480156101b157600080fd5b506101d8600480360360208110156101c857600080fd5b50356001600160a01b0316610fc7565b604080519115158252519081900360200190f35b3480156101f857600080fd5b50610201610fdc565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561023d578181015183820152602001610225565b505050509050019250505060405180910390f35b34801561025d57600080fd5b5061019e6004803603602081101561027457600080fd5b810190602081018135600160201b81111561028e57600080fd5b8201836020820111156102a057600080fd5b803590602001918460208302840111600160201b831117156102c157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611034945050505050565b34801561030b57600080fd5b506103c46004803603608081101561032257600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561035157600080fd5b82018360208201111561036357600080fd5b803590602001918460208302840111600160201b8311171561038457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505050503515159050611599565b604051808060200180602001858152602001848152602001838103835287818151815260200191508051906020019060200280838360005b838110156104145781810151838201526020016103fc565b50505050905001838103825286818151815260200191508051906020019060200280838360005b8381101561045357818101518382015260200161043b565b50505050905001965050505050505060405180910390f35b34801561047757600080fd5b50610535600480360360a081101561048e57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156104bd57600080fd5b8201836020820111156104cf57600080fd5b803590602001918460208302840111600160201b831117156104f057600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505082359350505060200135151561166b565b604051808060200180602001848152602001838103835286818151815260200191508051906020019060200280838360005b8381101561057f578181015183820152602001610567565b50505050905001838103825285818151815260200191508051906020019060200280838360005b838110156105be5781810151838201526020016105a6565b505050509050019550505050505060405180910390f35b3480156105e157600080fd5b506105ff600480360360208110156105f857600080fd5b5035611738565b6040805192835260208301919091528051918290030190f35b34801561062457600080fd5b5061062d6117c6565b604080516001600160a01b039092168252519081900360200190f35b34801561065557600080fd5b506102016117d5565b34801561066a57600080fd5b5061062d61182b565b34801561067f57600080fd5b5061062d61183a565b34801561069457600080fd5b5061019e600480360360208110156106ab57600080fd5b5035611849565b3480156106be57600080fd5b5061019e600480360360608110156106d557600080fd5b810190602081018135600160201b8111156106ef57600080fd5b82018360208201111561070157600080fd5b803590602001918460208302840111600160201b8311171561072257600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561077157600080fd5b82018360208201111561078357600080fd5b803590602001918460208302840111600160201b831117156107a457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156107f357600080fd5b82018360208201111561080557600080fd5b803590602001918460208302840111600160201b8311171561082657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506118dc945050505050565b34801561087057600080fd5b50610879611af4565b60408051918252519081900360200190f35b61019e600480360360208110156108a157600080fd5b5035610e16565b3480156108b457600080fd5b5061019e611afa565b3480156108c957600080fd5b5061019e600480360360408110156108e057600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561090a57600080fd5b82018360208201111561091c57600080fd5b803590602001918460208302840111600160201b8311171561093d57600080fd5b509092509050611b8a565b34801561095457600080fd5b506108796004803603602081101561096b57600080fd5b5035611ce5565b34801561097e57600080fd5b5061019e6004803603602081101561099557600080fd5b5035611d03565b3480156109a857600080fd5b5061062d611da8565b3480156109bd57600080fd5b506109ea600480360360408110156109d457600080fd5b506001600160a01b038135169060200135611db7565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610a1c57600080fd5b5061087960048036036020811015610a3357600080fd5b5035611e8e565b348015610a4657600080fd5b5061062d60048036036020811015610a5d57600080fd5b50356001600160a01b0316611e9b565b348015610a7957600080fd5b5061087960048036036060811015610a9057600080fd5b506001600160a01b038135169060208101359060400135611eb6565b61019e60048036036020811015610ac257600080fd5b5035611f73565b348015610ad557600080fd5b506103c460048036036040811015610aec57600080fd5b81359190810190604081016020820135600160201b811115610b0d57600080fd5b820183602082011115610b1f57600080fd5b803590602001918460208302840111600160201b83111715610b4057600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611fe9945050505050565b348015610b8a57600080fd5b5061019e60048036036080811015610ba157600080fd5b810190602081018135600160201b811115610bbb57600080fd5b820183602082011115610bcd57600080fd5b803590602001918460208302840111600160201b83111715610bee57600080fd5b919390929091602081019035600160201b811115610c0b57600080fd5b820183602082011115610c1d57600080fd5b803590602001918460208302840111600160201b83111715610c3e57600080fd5b91935091506001600160a01b03813581169160200135166123ec565b348015610c6657600080fd5b5061019e60048036036060811015610c7d57600080fd5b506001600160a01b03813516906020810135906040013561254b565b348015610ca557600080fd5b5061053560048036036060811015610cbc57600080fd5b81359190810190604081016020820135600160201b811115610cdd57600080fd5b820183602082011115610cef57600080fd5b803590602001918460208302840111600160201b83111715610d1057600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550509135925061288f915050565b348015610d5c57600080fd5b5061062d612ec0565b348015610d7157600080fd5b5061019e60048036036040811015610d8857600080fd5b506001600160a01b038135169060200135612ecf565b348015610daa57600080fd5b5061062d6130e0565b348015610dbf57600080fd5b5061087960048036036040811015610dd657600080fd5b50803590602001356130ef565b348015610def57600080fd5b5061019e60048036036020811015610e0657600080fd5b50356001600160a01b0316613519565b6000610e2134611738565b9150506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b158015610e7457600080fd5b505afa158015610e88573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610eb157600080fd5b8101908080516040519392919084600160201b821115610ed057600080fd5b908301906020820185811115610ee557600080fd5b82518660208202830111600160201b82111715610f0157600080fd5b82525081516020918201928201910280838360005b83811015610f2e578181015183820152602001610f16565b5050505090500160405250505090506000610f4a83838661288f565b92505050600160009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015610f9e57600080fd5b505af1158015610fb2573d6000803e3d6000fd5b5050505050610fc134826135ff565b50505050565b60096020526000908152604090205460ff1681565b6060600480548060200260200160405190810160405280929190818152602001828054801561102a57602002820191906000526020600020905b815481526020019060010190808311611016575b5050505050905090565b3332148015611049575061104733614215565b155b611091576040805162461bcd60e51b815260206004820152601460248201527310d3d395149050d517d393d517d0531313d5d15160621b604482015290519081900360640190fd5b805160005b818110156113085760008382815181106110ac57fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561110057600080fd5b505afa158015611114573d6000803e3d6000fd5b505050506040513d602081101561112a57600080fd5b505184519091506000906111519086908590811061114457fe5b602002602001015161421b565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561118f57600080fd5b505afa1580156111a3573d6000803e3d6000fd5b505050506040513d60608110156111b957600080fd5b5080516020909101516001600160701b03918216935016905060006111df858484614239565b905061121284868a89815181106111f257fe5b60200260200101516001600160a01b03166143119092919063ffffffff16565b604080516000808252602082019283905263022c0d9f60e01b835260248201818152604483018590523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f96899590939092909160c48501918083838b5b83811015611290578181015183820152602001611278565b50505050905090810190601f1680156112bd5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156112df57600080fd5b505af11580156112f3573d6000803e3d6000fd5b50506001909701965061109695505050505050565b50600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561135457600080fd5b505afa158015611368573d6000803e3d6000fd5b505050506040513d602081101561137e57600080fd5b505160025490915060009061139b906001600160a01b031661421b565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156113d957600080fd5b505afa1580156113ed573d6000803e3d6000fd5b505050506040513d606081101561140357600080fd5b5080516020909101516001600160701b0391821693501690506000611429858385614239565b600154909150611443906001600160a01b03168587614311565b604080516000808252602082019283905263022c0d9f60e01b835260248201848152604483018290523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f9689969590939092909160c48501918083838a5b838110156114c25781810151838201526020016114aa565b50505050905090810190601f1680156114ef5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561151157600080fd5b505af1158015611525573d6000803e3d6000fd5b505060065460025461154693506001600160a01b0390811692501683614311565b600654604080518781526020810184905281516001600160a01b03909316927f85dc9ac52b6013481d4ffbf17eacd0201080b84284b03e133365bf5736f87d75929181900390910190a250505050505050565b60608060008060006115ab8888611fe9565b929750909550909250905085156115c9576115c581611738565b9150505b6000806115d58b61421b565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561160d57600080fd5b505afa158015611621573d6000803e3d6000fd5b505050506040513d606081101561163757600080fd5b5080516020909101516001600160701b03918216935016905061165b838284614239565b9450505050945094509450949050565b606080600080600061167c8a61421b565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156116b457600080fd5b505afa1580156116c8573d6000803e3d6000fd5b505050506040513d60608110156116de57600080fd5b5080516020909101516001600160701b03918216935016905060006117048a8484614239565b905086156117195761171581611738565b9150505b611724818a8a61288f565b955095509550505050955095509592505050565b6004546000908190815b818110156117b3576004818154811061175757fe5b906000526020600020015485106117ab576117a4670de0b6b3a764000061179e6005848154811061178457fe5b90600052602060002001548861436390919063ffffffff16565b906143c3565b93506117b3565b600101611742565b506117be8484614402565b915050915091565b6003546001600160a01b031681565b6060600580548060200260200160405190810160405280929190818152602001828054801561102a5760200282019190600052602060002090815481526020019060010190808311611016575050505050905090565b6001546001600160a01b031681565b6006546001600160a01b031681565b611851614444565b6000546001600160a01b039081169116146118a1576040805162461bcd60e51b81526020600482018190526024820152600080516020614f94833981519152604482015290519081900360640190fd5b600a8190556040805182815290517f736741f2e67b4d201474b6dba54baed127c2ebe4b99e751e0ef45afc5c6ee5ac9181900360200190a150565b6118e4614444565b6000546001600160a01b03908116911614611934576040805162461bcd60e51b81526020600482018190526024820152600080516020614f94833981519152604482015290519081900360640190fd5b82518251811480156119465750815181145b61198b576040805162461bcd60e51b815260206004820152601160248201527013115391d51214d7d393d517d154555053607a1b604482015290519081900360640190fd5b60005b81811015611aed578381815181106119a257fe5b6020026020010151600860008784815181106119ba57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550828181518110611a1257fe5b602002602001015160096000878481518110611a2a57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550838181518110611a7557fe5b60200260200101516001600160a01b0316838281518110611a9257fe5b60200260200101511515868381518110611aa857fe5b60200260200101516001600160a01b03167f9b37efc6175537fc5ac9b6bf56a5f4eaf0dc4f40f8116b36837f7fed9056e8db60405160405180910390a460010161198e565b5050505050565b600a5481565b611b02614444565b6000546001600160a01b03908116911614611b52576040805162461bcd60e51b81526020600482018190526024820152600080516020614f94833981519152604482015290519081900360640190fd5b600080546040516001600160a01b0390911690600080516020614fb4833981519152908390a3600080546001600160a01b0319169055565b611b92614444565b6000546001600160a01b03908116911614611be2576040805162461bcd60e51b81526020600482018190526024820152600080516020614f94833981519152604482015290519081900360640190fd5b8060005b81811015611aed57846001600160a01b031663e6a43905858584818110611c0957fe5b6001546040805160e087901b6001600160e01b0319168152602093840295909501356001600160a01b0390811660048701529091166024850152516044808501949293509091829003018186803b158015611c6357600080fd5b505afa158015611c77573d6000803e3d6000fd5b505050506040513d6020811015611c8d57600080fd5b505160086000868685818110611c9f57fe5b6001600160a01b03602091820293909301358316845283019390935260409091016000208054939091166001600160a01b03199093169290921790915550600101611be6565b60048181548110611cf257fe5b600091825260209091200154905081565b6000611d0e82614448565b60015460408051632e1a7d4d60e01b81526004810184905290519293506001600160a01b0390911691632e1a7d4d9160248082019260009290919082900301818387803b158015611d5e57600080fd5b505af1158015611d72573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f19350505050158015611da3573d6000803e3d6000fd5b505050565b6000546001600160a01b031690565b600080600080600080611dc98861421b565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611e0157600080fd5b505afa158015611e15573d6000803e3d6000fd5b505050506040513d6060811015611e2b57600080fd5b5080516020909101516001600160701b0391821693501690506000611e51888484614239565b9050611e5c81611738565b90955093508415611e7557611e72858385614239565b96505b611e80848385614239565b955050505092959194509250565b60058181548110611cf257fe5b6008602052600090815260409020546001600160a01b031681565b600080611ec384846130ef565b9050600080611ed18761421b565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611f0957600080fd5b505afa158015611f1d573d6000803e3d6000fd5b505050506040513d6060811015611f3357600080fd5b5080516020909101516001600160701b039182169350169050611f68611f616103e861179e866103eb614363565b83836148b3565b979650505050505050565b600160009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015611fc357600080fd5b505af1158015611fd7573d6000803e3d6000fd5b5050505050611fe634826135ff565b50565b60608060008084516001600160401b038111801561200657600080fd5b50604051908082528060200260200182016040528015612030578160200160208202803683370190505b50935084516001600160401b038111801561204a57600080fd5b50604051908082528060200260200182016040528015612074578160200160208202803683370190505b5092506000600360009054906101000a90046001600160a01b03166001600160a01b03166390ad688b6040518163ffffffff1660e01b815260040160806040518083038186803b1580156120c757600080fd5b505afa1580156120db573d6000803e3d6000fd5b505050506040513d60808110156120f157600080fd5b506040908101516003548251631122d04760e11b8152600481018b90526024810183905230604482015283519294506000936001600160a01b0390921692632245a08e92606480840193919291829003018186803b15801561215257600080fd5b505afa158015612166573d6000803e3d6000fd5b505050506040513d604081101561217c57600080fd5b508051602091820151600354604080516318160ddd60e01b81529051929750929450600093612211936001600160a01b03909216926318160ddd926004808201939291829003018186803b1580156121d357600080fd5b505afa1580156121e7573d6000803e3d6000fd5b505050506040513d60208110156121fd57600080fd5b505161179e84670de0b6b3a7640000614363565b90506000945060005b88518110156123df5760035489516122ce91670de0b6b3a76400009161179e916001600160a01b03169063f8b2cb4f908e908790811061225657fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561229b57600080fd5b505afa1580156122af573d6000803e3d6000fd5b505050506040513d60208110156122c557600080fd5b50518590614363565b8882815181106122da57fe5b6020026020010181815250506000806122f88b848151811061114457fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561233057600080fd5b505afa158015612344573d6000803e3d6000fd5b505050506040513d606081101561235a57600080fd5b5080516020909101518b516001600160701b03928316945091169150612395908b908590811061238657fe5b60200260200101518383614239565b8984815181106123a157fe5b6020026020010181815250506123d38984815181106123bc57fe5b60200260200101518961498b90919063ffffffff16565b9750505060010161221a565b5050505092959194509250565b6007546001600160a01b031633148061241d5750612408611da8565b6001600160a01b0316336001600160a01b0316145b612460576040805162461bcd60e51b815260206004820152600f60248201526e2727aa2fa322a2afa6a0a720a3a2a960891b604482015290519081900360640190fd5b61246c60048787614e70565b5061247960058585614e70565b50600680546001600160a01b03199081166001600160a01b03858116918217909355600780549092169284169283179091556040805181815290810188905233907f135646ff0b37ad6450ec7feabebbaf3289860f4abe23d7aace3bc48e15232459908a908a908a908a908060208082019060608301908890880280828437600083820152601f01601f19169091018481038352858152602090810191508690860280828437600083820152604051601f909101601f19169092018290039850909650505050505050a4505050505050565b6125606001600160a01b0384163330856149e3565b600061256b8461421b565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156125a957600080fd5b505afa1580156125bd573d6000803e3d6000fd5b505050506040513d60608110156125d357600080fd5b5080516020909101516001600160701b03918216935016905060006125f9868484614239565b905061260f6001600160a01b0388168588614311565b604080516000808252602082019283905263022c0d9f60e01b835260248201818152604483018590523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f96899590939092909160c48501918083838b5b8381101561268d578181015183820152602001612675565b50505050905090810190601f1680156126ba5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156126dc57600080fd5b505af11580156126f0573d6000803e3d6000fd5b5050505060006126ff82611738565b9150506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b15801561275257600080fd5b505afa158015612766573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561278f57600080fd5b8101908080516040519392919084600160201b8211156127ae57600080fd5b9083019060208201858111156127c357600080fd5b82518660208202830111600160201b821117156127df57600080fd5b82525081516020918201928201910280838360005b8381101561280c5781810151838201526020016127f4565b505050509050016040525050509050600061282883838a61288f565b9250505061283684826135ff565b604080518a81526020810186905280820183905290516001600160a01b038c169133917fb2383c1452cfa9876e7eb3c9ade99c1353f1b2dbe5f2612cdb0446f181b030e89181900360600190a350505050505050505050565b60608060006128b46128ad670de0b6b3a764000061179e8988614363565b8790614402565b9550606085516001600160401b03811180156128cf57600080fd5b5060405190808252806020026020018201604052801561290957816020015b6128f6614ebb565b8152602001906001900390816128ee5790505b509050600080600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561295d57600080fd5b505afa158015612971573d6000803e3d6000fd5b505050506040513d602081101561298757600080fd5b810190808051906020019092919050505090506000612a698261179e670de0b6b3a7640000612a63600360009054906101000a90046001600160a01b03166001600160a01b031663f8b2cb4f8f6000815181106129e057fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612a2557600080fd5b505afa158015612a39573d6000803e3d6000fd5b505050506040513d6020811015612a4f57600080fd5b505161179e88670de0b6b3a7640000614363565b90614363565b905060005b8951811015612c2a576003548a51612aaa91670de0b6b3a76400009161179e916001600160a01b03169063f8b2cb4f908f908790811061225657fe5b858281518110612ab657fe5b60200260200101516000018181525050612ad58a828151811061114457fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015612b0d57600080fd5b505afa158015612b21573d6000803e3d6000fd5b505050506040513d6060811015612b3757600080fd5b50805160209091015186516001600160701b039283169290911690879084908110612b5e57fe5b6020026020010151604001878481518110612b7557fe5b602002602001015160600182815250828152505050612bda858281518110612b9957fe5b602002602001015160000151868381518110612bb157fe5b602002602001015160600151878481518110612bc957fe5b6020026020010151604001516148b3565b858281518110612be657fe5b60200260200101516020018181525050612c20858281518110612c0557fe5b6020026020010151602001518561498b90919063ffffffff16565b9350600101612a6e565b50505086516001600160401b0381118015612c4457600080fd5b50604051908082528060200260200182016040528015612c6e578160200160208202803683370190505b50945086516001600160401b0381118015612c8857600080fd5b50604051908082528060200260200182016040528015612cb2578160200160208202803683370190505b50935060005b8751811015612d8457612d0d670de0b6b3a764000061179e612d068561179e670de0b6b3a7640000898881518110612cec57fe5b60200260200101516020015161436390919063ffffffff16565b8c90614363565b858281518110612d1957fe5b6020908102919091010152612d65670de0b6b3a764000061179e612d3f85828e85614363565b868581518110612d4b57fe5b60200260200101516000015161436390919063ffffffff16565b868281518110612d7157fe5b6020908102919091010152600101612cb8565b506003548751612eb3916001600160a01b03169063f8b2cb4f908a90600090612da957fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612dee57600080fd5b505afa158015612e02573d6000803e3d6000fd5b505050506040513d6020811015612e1857600080fd5b5051865161179e908890600090612e2b57fe5b6020026020010151600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612e8157600080fd5b505afa158015612e95573d6000803e3d6000fd5b505050506040513d6020811015612eab57600080fd5b505190614363565b9250505093509350939050565b6007546001600160a01b031681565b6000612eda82614448565b90506000612ee78461421b565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015612f2557600080fd5b505afa158015612f39573d6000803e3d6000fd5b505050506040513d6060811015612f4f57600080fd5b5080516020909101516001600160701b0391821693501690506000612f75858385614239565b600154909150612f8f906001600160a01b03168587614311565b604080516000808252602082019283905263022c0d9f60e01b835260248201848152604483018290523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f9689969590939092909160c48501918083838a5b8381101561300e578181015183820152602001612ff6565b50505050905090810190601f16801561303b5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561305d57600080fd5b505af1158015613071573d6000803e3d6000fd5b5061308a925050506001600160a01b0388163383614311565b604080518781526020810187905280820183905290516001600160a01b0389169133917f3d8b014eb05b16fa729de7d54b5b93c42f1d2b265f79a9648875d8eb84569d7c9181900360600190a350505050505050565b6002546001600160a01b031681565b60008061314e600a613148600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612a2557600080fd5b9061498b565b90506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b1580156131a057600080fd5b505afa1580156131b4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156131dd57600080fd5b8101908080516040519392919084600160201b8211156131fc57600080fd5b90830190602082018581111561321157600080fd5b82518660208202830111600160201b8211171561322d57600080fd5b82525081516020918201928201910280838360005b8381101561325a578181015183820152602001613242565b5050505090500160405250505090506000815190506060816001600160401b038111801561328757600080fd5b506040519080825280602002602001820160405280156132c157816020015b6132ae614ebb565b8152602001906001900390816132a65790505b5090506060826001600160401b03811180156132dc57600080fd5b50604051908082528060200260200182016040528015613306578160200160208202803683370190505b5090506000805b848110156134e957600061332687838151811061114457fe5b9050806001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561336157600080fd5b505afa158015613375573d6000803e3d6000fd5b505050506040513d606081101561338b57600080fd5b50805160209091015186516001600160701b0392831692909116908790859081106133b257fe5b60200260200101516040018785815181106133c957fe5b60209081029190910101516060019190915252600354875161348791670de0b6b3a76400009161179e916001600160a01b03169063f8b2cb4f908c908890811061340f57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561345457600080fd5b505afa158015613468573d6000803e3d6000fd5b505050506040513d602081101561347e57600080fd5b50518b90614363565b84838151811061349357fe5b6020026020010181815250506134de836131488685815181106134b257fe5b60200260200101518886815181106134c657fe5b602002602001015160600151898781518110612bc957fe5b92505060010161330d565b5061350a613503670de0b6b3a764000061179e848c614363565b829061498b565b96505050505050505b92915050565b613521614444565b6000546001600160a01b03908116911614613571576040805162461bcd60e51b81526020600482018190526024820152600080516020614f94833981519152604482015290519081900360640190fd5b6001600160a01b0381166135b65760405162461bcd60e51b8152600401808060200182810382526026815260200180614ef96026913960400191505060405180910390fd5b600080546040516001600160a01b0380851693921691600080516020614fb483398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008211613643576040805162461bcd60e51b815260206004820152600c60248201526b11551217d49154555254915160a21b604482015290519081900360640190fd5b600354604080516318832b9760e31b815290516000926001600160a01b03169163c4195cb8916004808301926020929190829003018186803b15801561368857600080fd5b505afa15801561369c573d6000803e3d6000fd5b505050506040513d60208110156136b257600080fd5b505190506001600160a01b03811615613808576003546040805163afff324960e01b81526001600160a01b039283166004820152905160009284169163afff3249916024808301926020929190829003018186803b15801561371357600080fd5b505afa158015613727573d6000803e3d6000fd5b505050506040513d602081101561373d57600080fd5b5051600354604080516318160ddd60e01b8152905192935083926137c19287926001600160a01b03909116916318160ddd91600480820192602092909190829003018186803b15801561378f57600080fd5b505afa1580156137a3573d6000803e3d6000fd5b505050506040513d60208110156137b957600080fd5b50519061498b565b1115613806576040805162461bcd60e51b815260206004820152600f60248201526e504950545f4d41585f535550504c5960881b604482015290519081900360640190fd5b505b5060008061381584611738565b915091506000613871600a613148600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612a2557600080fd5b90506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b1580156138c357600080fd5b505afa1580156138d7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561390057600080fd5b8101908080516040519392919084600160201b82111561391f57600080fd5b90830190602082018581111561393457600080fd5b82518660208202830111600160201b8211171561395057600080fd5b82525081516020918201928201910280838360005b8381101561397d578181015183820152602001613965565b5050505090500160405250505090506000815190506060816001600160401b03811180156139aa57600080fd5b506040519080825280602002602001820160405280156139e457816020015b6139d1614ebb565b8152602001906001900390816139c95790505b5090506060826001600160401b03811180156139ff57600080fd5b50604051908082528060200260200182016040528015613a29578160200160208202803683370190505b5090506000805b84811015613ee5576000613a4987838151811061114457fe5b9050806001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015613a8457600080fd5b505afa158015613a98573d6000803e3d6000fd5b505050506040513d6060811015613aae57600080fd5b50805160209091015186516001600160701b039283169290911690879085908110613ad557fe5b6020026020010151604001878581518110613aec57fe5b602090810291909101015160600191909152526003548751613b3291670de0b6b3a76400009161179e916001600160a01b03169063f8b2cb4f908c908890811061340f57fe5b848381518110613b3e57fe5b602002602001018181525050613b85848381518110613b5957fe5b6020026020010151868481518110613b6d57fe5b602002602001015160600151878581518110612bc957fe5b858381518110613b9157fe5b60200260200101516020018181525050613bd281868481518110613bb157fe5b60209081029190910181015101516001546001600160a01b03169190614311565b806001600160a01b031663022c0d9f858481518110613bed57fe5b602002602001015160003060006001600160401b0381118015613c0f57600080fd5b506040519080825280601f01601f191660200182016040528015613c3a576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613ca2578181015183820152602001613c8a565b50505050905090810190601f168015613ccf5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015613cf157600080fd5b505af1158015613d05573d6000803e3d6000fd5b50505050613d33858381518110613d1857fe5b6020026020010151602001518461498b90919063ffffffff16565b925060096000888481518110613d4557fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff1615613e1e57868281518110613d7d57fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b031660006040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015613df157600080fd5b505af1158015613e05573d6000803e3d6000fd5b505050506040513d6020811015613e1b57600080fd5b50505b868281518110613e2a57fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b0316868581518110613e6257fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015613eb057600080fd5b505af1158015613ec4573d6000803e3d6000fd5b505050506040513d6020811015613eda57600080fd5b505050600101613a30565b50600354604080516390ad688b60e01b815290516000926001600160a01b0316916390ad688b916004808301926080929190829003018186803b158015613f2b57600080fd5b505afa158015613f3f573d6000803e3d6000fd5b505050506040513d6080811015613f5557600080fd5b506020015160035460408051631122d04760e11b8152600481018e905260248101849052306044820152815193945060009384936001600160a01b031692632245a08e9260648082019391829003018186803b158015613fb457600080fd5b505afa158015613fc8573d6000803e3d6000fd5b505050506040513d6040811015613fde57600080fd5b81019080805190602001909291908051906020019092919050505091509150336001600160a01b03167ff7093a83d1acda4f50efce57c1c9c84e33f0ac8d1dce73a8c7481a8088d8b2e68b8d8f856040518085815260200184815260200183815260200182815260200194505050505060405180910390a2600360009054906101000a90046001600160a01b03166001600160a01b0316634f69c0d48d876040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156140d15781810151838201526020016140b9565b505050509050019350505050600060405180830381600087803b1580156140f757600080fd5b505af115801561410b573d6000803e3d6000fd5b505060035461412792506001600160a01b031690503384614311565b60006141338b86614402565b905080156142055760015460408051632e1a7d4d60e01b81526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b15801561418857600080fd5b505af115801561419c573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f193505050501580156141cd573d6000803e3d6000fd5b5060408051828152905133917f9a97090a4f9b5abe836088fa365c3dac3128c8c9bdc5cad5f4c6bda184fa043f919081900360200190a25b5050505050505050505050505050565b3b151590565b6001600160a01b039081166000908152600860205260409020541690565b60008084116142795760405162461bcd60e51b815260040180806020018281038252602b815260200180614ffe602b913960400191505060405180910390fd5b6000831180156142895750600082115b6142c45760405162461bcd60e51b8152600401808060200182810382526028815260200180614f4b6028913960400191505060405180910390fd5b60006142d2856103e5614a3d565b905060006142e08285614a3d565b905060006142fa836142f4886103e8614a3d565b90614aa0565b905080828161430557fe5b04979650505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611da3908490614aef565b60008261437257506000613513565b8282028284828161437f57fe5b04146143bc5760405162461bcd60e51b8152600401808060200182810382526021815260200180614f736021913960400191505060405180910390fd5b9392505050565b60006143bc83836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b815250614ba0565b60006143bc83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614c42565b3390565b60006060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b15801561449a57600080fd5b505afa1580156144ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156144d757600080fd5b8101908080516040519392919084600160201b8211156144f657600080fd5b90830190602082018581111561450b57600080fd5b82518660208202830111600160201b8211171561452757600080fd5b82525081516020918201928201910280838360005b8381101561455457818101518382015260200161453c565b5050505090500160405250505090506000815190506060806000806145798887611fe9565b6003549397509195509350915061459b906001600160a01b031633308b6149e3565b6003546040805163095ea7b360e01b81526001600160a01b0390921660048301819052602483018b90529051909163095ea7b39160448083019260209291908290030181600087803b1580156145f057600080fd5b505af1158015614604573d6000803e3d6000fd5b505050506040513d602081101561461a57600080fd5b50506003546040805163b02f0b7360e01b8152600481018b8152602482019283528751604483015287516001600160a01b039094169363b02f0b73938d938a93926064909101906020858101910280838360005b8381101561468657818101518382015260200161466e565b505050509050019350505050600060405180830381600087803b1580156146ac57600080fd5b505af11580156146c0573d6000803e3d6000fd5b5050505060005b8581101561484a5760006146e088838151811061114457fe5b9050614706818784815181106146f257fe5b60200260200101518a85815181106111f257fe5b806001600160a01b031663022c0d9f600087858151811061472357fe5b60200260200101513060006001600160401b038111801561474357600080fd5b506040519080825280601f01601f19166020018201604052801561476e576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156147d65781810151838201526020016147be565b50505050905090810190601f1680156148035780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561482557600080fd5b505af1158015614839573d6000803e3d6000fd5b5050600190930192506146c7915050565b5060008061485784611738565b604080518d81526020810187905280820183905260608101849052905192945090925033917f32f099d0ac2a3a3a9b94fdb99b030574e3065fa12da504405e6262c1ae5585219181900360800190a29998505050505050505050565b60008084116148f35760405162461bcd60e51b815260040180806020018281038252602c815260200180614f1f602c913960400191505060405180910390fd5b6000831180156149035750600082115b61493e5760405162461bcd60e51b8152600401808060200182810382526028815260200180614f4b6028913960400191505060405180910390fd5b60006149566103e86149508688614a3d565b90614a3d565b9050600061496a6103e56149508689614c9c565b9050614981600182848161497a57fe5b0490614aa0565b9695505050505050565b6000828201838110156143bc576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610fc1908590614aef565b6000811580614a5857505080820282828281614a5557fe5b04145b613513576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b80820182811015613513576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b6060614b44826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614cec9092919063ffffffff16565b805190915015611da357808060200190516020811015614b6357600080fd5b5051611da35760405162461bcd60e51b815260040180806020018281038252602a815260200180614fd4602a913960400191505060405180910390fd5b60008183614c2c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614bf1578181015183820152602001614bd9565b50505050905090810190601f168015614c1e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581614c3857fe5b0495945050505050565b60008184841115614c945760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614bf1578181015183820152602001614bd9565b505050900390565b80820382811115613513576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6060614cfb8484600085614d03565b949350505050565b6060614d0e85614215565b614d5f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310614d9e5780518252601f199092019160209182019101614d7f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614e00576040519150601f19603f3d011682016040523d82523d6000602084013e614e05565b606091505b50915091508115614e19579150614cfb9050565b805115614e295780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315614bf1578181015183820152602001614bd9565b828054828255906000526020600020908101928215614eab579160200282015b82811115614eab578235825591602001919060010190614e90565b50614eb7929150614ee3565b5090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b5b80821115614eb75760008155600101614ee456fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220ba9f57025240a873b40dea4f2b1b43a5709ec543e8884bd0722f81953997075564736f6c634300060c0033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca100000000000000000000000026607ac599266b21d13c7acf7942c7701a8b699c000000000000000000000000b258302c3f209491d604165549079680708581cc

Deployed Bytecode

0x6080604052600436106101825760003560e01c8063032a9668146101a557806307953a93146101ec5780630b2a9b00146102515780630ffe6252146102ff578063175360a11461046b5780632828eea8146105d55780633929aa59146106185780633eb26b03146106495780633fc8cef31461065e578063433941901461067357806344bd1afd146106885780634d923532146106b25780635487404a1461086457806364c667ee1461088b578063715018a6146108a85780637ecdb40a146108bd578063857af01b146109485780638b01808c146109725780638da5cb5b1461099c5780638dccc567146109b1578063a2e6413714610a10578063a45098f714610a3a578063afc41f7a14610a6d578063b386711814610aac578063b4b48e5514610ac9578063bbf8eadc14610b7e578063bea0ea6014610c5a578063c6135f4314610c99578063d0fb020314610d50578063d3853b5b14610d65578063d8f14f2b14610d9e578063edc001bd14610db3578063f2fde38b14610de3576101a0565b366101a0573332146101935761019e565b61019e600a54610e16565b005b600080fd5b3480156101b157600080fd5b506101d8600480360360208110156101c857600080fd5b50356001600160a01b0316610fc7565b604080519115158252519081900360200190f35b3480156101f857600080fd5b50610201610fdc565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561023d578181015183820152602001610225565b505050509050019250505060405180910390f35b34801561025d57600080fd5b5061019e6004803603602081101561027457600080fd5b810190602081018135600160201b81111561028e57600080fd5b8201836020820111156102a057600080fd5b803590602001918460208302840111600160201b831117156102c157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611034945050505050565b34801561030b57600080fd5b506103c46004803603608081101561032257600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561035157600080fd5b82018360208201111561036357600080fd5b803590602001918460208302840111600160201b8311171561038457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505050503515159050611599565b604051808060200180602001858152602001848152602001838103835287818151815260200191508051906020019060200280838360005b838110156104145781810151838201526020016103fc565b50505050905001838103825286818151815260200191508051906020019060200280838360005b8381101561045357818101518382015260200161043b565b50505050905001965050505050505060405180910390f35b34801561047757600080fd5b50610535600480360360a081101561048e57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156104bd57600080fd5b8201836020820111156104cf57600080fd5b803590602001918460208302840111600160201b831117156104f057600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505082359350505060200135151561166b565b604051808060200180602001848152602001838103835286818151815260200191508051906020019060200280838360005b8381101561057f578181015183820152602001610567565b50505050905001838103825285818151815260200191508051906020019060200280838360005b838110156105be5781810151838201526020016105a6565b505050509050019550505050505060405180910390f35b3480156105e157600080fd5b506105ff600480360360208110156105f857600080fd5b5035611738565b6040805192835260208301919091528051918290030190f35b34801561062457600080fd5b5061062d6117c6565b604080516001600160a01b039092168252519081900360200190f35b34801561065557600080fd5b506102016117d5565b34801561066a57600080fd5b5061062d61182b565b34801561067f57600080fd5b5061062d61183a565b34801561069457600080fd5b5061019e600480360360208110156106ab57600080fd5b5035611849565b3480156106be57600080fd5b5061019e600480360360608110156106d557600080fd5b810190602081018135600160201b8111156106ef57600080fd5b82018360208201111561070157600080fd5b803590602001918460208302840111600160201b8311171561072257600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561077157600080fd5b82018360208201111561078357600080fd5b803590602001918460208302840111600160201b831117156107a457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156107f357600080fd5b82018360208201111561080557600080fd5b803590602001918460208302840111600160201b8311171561082657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506118dc945050505050565b34801561087057600080fd5b50610879611af4565b60408051918252519081900360200190f35b61019e600480360360208110156108a157600080fd5b5035610e16565b3480156108b457600080fd5b5061019e611afa565b3480156108c957600080fd5b5061019e600480360360408110156108e057600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561090a57600080fd5b82018360208201111561091c57600080fd5b803590602001918460208302840111600160201b8311171561093d57600080fd5b509092509050611b8a565b34801561095457600080fd5b506108796004803603602081101561096b57600080fd5b5035611ce5565b34801561097e57600080fd5b5061019e6004803603602081101561099557600080fd5b5035611d03565b3480156109a857600080fd5b5061062d611da8565b3480156109bd57600080fd5b506109ea600480360360408110156109d457600080fd5b506001600160a01b038135169060200135611db7565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610a1c57600080fd5b5061087960048036036020811015610a3357600080fd5b5035611e8e565b348015610a4657600080fd5b5061062d60048036036020811015610a5d57600080fd5b50356001600160a01b0316611e9b565b348015610a7957600080fd5b5061087960048036036060811015610a9057600080fd5b506001600160a01b038135169060208101359060400135611eb6565b61019e60048036036020811015610ac257600080fd5b5035611f73565b348015610ad557600080fd5b506103c460048036036040811015610aec57600080fd5b81359190810190604081016020820135600160201b811115610b0d57600080fd5b820183602082011115610b1f57600080fd5b803590602001918460208302840111600160201b83111715610b4057600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611fe9945050505050565b348015610b8a57600080fd5b5061019e60048036036080811015610ba157600080fd5b810190602081018135600160201b811115610bbb57600080fd5b820183602082011115610bcd57600080fd5b803590602001918460208302840111600160201b83111715610bee57600080fd5b919390929091602081019035600160201b811115610c0b57600080fd5b820183602082011115610c1d57600080fd5b803590602001918460208302840111600160201b83111715610c3e57600080fd5b91935091506001600160a01b03813581169160200135166123ec565b348015610c6657600080fd5b5061019e60048036036060811015610c7d57600080fd5b506001600160a01b03813516906020810135906040013561254b565b348015610ca557600080fd5b5061053560048036036060811015610cbc57600080fd5b81359190810190604081016020820135600160201b811115610cdd57600080fd5b820183602082011115610cef57600080fd5b803590602001918460208302840111600160201b83111715610d1057600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550509135925061288f915050565b348015610d5c57600080fd5b5061062d612ec0565b348015610d7157600080fd5b5061019e60048036036040811015610d8857600080fd5b506001600160a01b038135169060200135612ecf565b348015610daa57600080fd5b5061062d6130e0565b348015610dbf57600080fd5b5061087960048036036040811015610dd657600080fd5b50803590602001356130ef565b348015610def57600080fd5b5061019e60048036036020811015610e0657600080fd5b50356001600160a01b0316613519565b6000610e2134611738565b9150506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b158015610e7457600080fd5b505afa158015610e88573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610eb157600080fd5b8101908080516040519392919084600160201b821115610ed057600080fd5b908301906020820185811115610ee557600080fd5b82518660208202830111600160201b82111715610f0157600080fd5b82525081516020918201928201910280838360005b83811015610f2e578181015183820152602001610f16565b5050505090500160405250505090506000610f4a83838661288f565b92505050600160009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015610f9e57600080fd5b505af1158015610fb2573d6000803e3d6000fd5b5050505050610fc134826135ff565b50505050565b60096020526000908152604090205460ff1681565b6060600480548060200260200160405190810160405280929190818152602001828054801561102a57602002820191906000526020600020905b815481526020019060010190808311611016575b5050505050905090565b3332148015611049575061104733614215565b155b611091576040805162461bcd60e51b815260206004820152601460248201527310d3d395149050d517d393d517d0531313d5d15160621b604482015290519081900360640190fd5b805160005b818110156113085760008382815181106110ac57fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561110057600080fd5b505afa158015611114573d6000803e3d6000fd5b505050506040513d602081101561112a57600080fd5b505184519091506000906111519086908590811061114457fe5b602002602001015161421b565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561118f57600080fd5b505afa1580156111a3573d6000803e3d6000fd5b505050506040513d60608110156111b957600080fd5b5080516020909101516001600160701b03918216935016905060006111df858484614239565b905061121284868a89815181106111f257fe5b60200260200101516001600160a01b03166143119092919063ffffffff16565b604080516000808252602082019283905263022c0d9f60e01b835260248201818152604483018590523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f96899590939092909160c48501918083838b5b83811015611290578181015183820152602001611278565b50505050905090810190601f1680156112bd5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156112df57600080fd5b505af11580156112f3573d6000803e3d6000fd5b50506001909701965061109695505050505050565b50600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561135457600080fd5b505afa158015611368573d6000803e3d6000fd5b505050506040513d602081101561137e57600080fd5b505160025490915060009061139b906001600160a01b031661421b565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156113d957600080fd5b505afa1580156113ed573d6000803e3d6000fd5b505050506040513d606081101561140357600080fd5b5080516020909101516001600160701b0391821693501690506000611429858385614239565b600154909150611443906001600160a01b03168587614311565b604080516000808252602082019283905263022c0d9f60e01b835260248201848152604483018290523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f9689969590939092909160c48501918083838a5b838110156114c25781810151838201526020016114aa565b50505050905090810190601f1680156114ef5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561151157600080fd5b505af1158015611525573d6000803e3d6000fd5b505060065460025461154693506001600160a01b0390811692501683614311565b600654604080518781526020810184905281516001600160a01b03909316927f85dc9ac52b6013481d4ffbf17eacd0201080b84284b03e133365bf5736f87d75929181900390910190a250505050505050565b60608060008060006115ab8888611fe9565b929750909550909250905085156115c9576115c581611738565b9150505b6000806115d58b61421b565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561160d57600080fd5b505afa158015611621573d6000803e3d6000fd5b505050506040513d606081101561163757600080fd5b5080516020909101516001600160701b03918216935016905061165b838284614239565b9450505050945094509450949050565b606080600080600061167c8a61421b565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156116b457600080fd5b505afa1580156116c8573d6000803e3d6000fd5b505050506040513d60608110156116de57600080fd5b5080516020909101516001600160701b03918216935016905060006117048a8484614239565b905086156117195761171581611738565b9150505b611724818a8a61288f565b955095509550505050955095509592505050565b6004546000908190815b818110156117b3576004818154811061175757fe5b906000526020600020015485106117ab576117a4670de0b6b3a764000061179e6005848154811061178457fe5b90600052602060002001548861436390919063ffffffff16565b906143c3565b93506117b3565b600101611742565b506117be8484614402565b915050915091565b6003546001600160a01b031681565b6060600580548060200260200160405190810160405280929190818152602001828054801561102a5760200282019190600052602060002090815481526020019060010190808311611016575050505050905090565b6001546001600160a01b031681565b6006546001600160a01b031681565b611851614444565b6000546001600160a01b039081169116146118a1576040805162461bcd60e51b81526020600482018190526024820152600080516020614f94833981519152604482015290519081900360640190fd5b600a8190556040805182815290517f736741f2e67b4d201474b6dba54baed127c2ebe4b99e751e0ef45afc5c6ee5ac9181900360200190a150565b6118e4614444565b6000546001600160a01b03908116911614611934576040805162461bcd60e51b81526020600482018190526024820152600080516020614f94833981519152604482015290519081900360640190fd5b82518251811480156119465750815181145b61198b576040805162461bcd60e51b815260206004820152601160248201527013115391d51214d7d393d517d154555053607a1b604482015290519081900360640190fd5b60005b81811015611aed578381815181106119a257fe5b6020026020010151600860008784815181106119ba57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550828181518110611a1257fe5b602002602001015160096000878481518110611a2a57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550838181518110611a7557fe5b60200260200101516001600160a01b0316838281518110611a9257fe5b60200260200101511515868381518110611aa857fe5b60200260200101516001600160a01b03167f9b37efc6175537fc5ac9b6bf56a5f4eaf0dc4f40f8116b36837f7fed9056e8db60405160405180910390a460010161198e565b5050505050565b600a5481565b611b02614444565b6000546001600160a01b03908116911614611b52576040805162461bcd60e51b81526020600482018190526024820152600080516020614f94833981519152604482015290519081900360640190fd5b600080546040516001600160a01b0390911690600080516020614fb4833981519152908390a3600080546001600160a01b0319169055565b611b92614444565b6000546001600160a01b03908116911614611be2576040805162461bcd60e51b81526020600482018190526024820152600080516020614f94833981519152604482015290519081900360640190fd5b8060005b81811015611aed57846001600160a01b031663e6a43905858584818110611c0957fe5b6001546040805160e087901b6001600160e01b0319168152602093840295909501356001600160a01b0390811660048701529091166024850152516044808501949293509091829003018186803b158015611c6357600080fd5b505afa158015611c77573d6000803e3d6000fd5b505050506040513d6020811015611c8d57600080fd5b505160086000868685818110611c9f57fe5b6001600160a01b03602091820293909301358316845283019390935260409091016000208054939091166001600160a01b03199093169290921790915550600101611be6565b60048181548110611cf257fe5b600091825260209091200154905081565b6000611d0e82614448565b60015460408051632e1a7d4d60e01b81526004810184905290519293506001600160a01b0390911691632e1a7d4d9160248082019260009290919082900301818387803b158015611d5e57600080fd5b505af1158015611d72573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f19350505050158015611da3573d6000803e3d6000fd5b505050565b6000546001600160a01b031690565b600080600080600080611dc98861421b565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611e0157600080fd5b505afa158015611e15573d6000803e3d6000fd5b505050506040513d6060811015611e2b57600080fd5b5080516020909101516001600160701b0391821693501690506000611e51888484614239565b9050611e5c81611738565b90955093508415611e7557611e72858385614239565b96505b611e80848385614239565b955050505092959194509250565b60058181548110611cf257fe5b6008602052600090815260409020546001600160a01b031681565b600080611ec384846130ef565b9050600080611ed18761421b565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611f0957600080fd5b505afa158015611f1d573d6000803e3d6000fd5b505050506040513d6060811015611f3357600080fd5b5080516020909101516001600160701b039182169350169050611f68611f616103e861179e866103eb614363565b83836148b3565b979650505050505050565b600160009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015611fc357600080fd5b505af1158015611fd7573d6000803e3d6000fd5b5050505050611fe634826135ff565b50565b60608060008084516001600160401b038111801561200657600080fd5b50604051908082528060200260200182016040528015612030578160200160208202803683370190505b50935084516001600160401b038111801561204a57600080fd5b50604051908082528060200260200182016040528015612074578160200160208202803683370190505b5092506000600360009054906101000a90046001600160a01b03166001600160a01b03166390ad688b6040518163ffffffff1660e01b815260040160806040518083038186803b1580156120c757600080fd5b505afa1580156120db573d6000803e3d6000fd5b505050506040513d60808110156120f157600080fd5b506040908101516003548251631122d04760e11b8152600481018b90526024810183905230604482015283519294506000936001600160a01b0390921692632245a08e92606480840193919291829003018186803b15801561215257600080fd5b505afa158015612166573d6000803e3d6000fd5b505050506040513d604081101561217c57600080fd5b508051602091820151600354604080516318160ddd60e01b81529051929750929450600093612211936001600160a01b03909216926318160ddd926004808201939291829003018186803b1580156121d357600080fd5b505afa1580156121e7573d6000803e3d6000fd5b505050506040513d60208110156121fd57600080fd5b505161179e84670de0b6b3a7640000614363565b90506000945060005b88518110156123df5760035489516122ce91670de0b6b3a76400009161179e916001600160a01b03169063f8b2cb4f908e908790811061225657fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561229b57600080fd5b505afa1580156122af573d6000803e3d6000fd5b505050506040513d60208110156122c557600080fd5b50518590614363565b8882815181106122da57fe5b6020026020010181815250506000806122f88b848151811061114457fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561233057600080fd5b505afa158015612344573d6000803e3d6000fd5b505050506040513d606081101561235a57600080fd5b5080516020909101518b516001600160701b03928316945091169150612395908b908590811061238657fe5b60200260200101518383614239565b8984815181106123a157fe5b6020026020010181815250506123d38984815181106123bc57fe5b60200260200101518961498b90919063ffffffff16565b9750505060010161221a565b5050505092959194509250565b6007546001600160a01b031633148061241d5750612408611da8565b6001600160a01b0316336001600160a01b0316145b612460576040805162461bcd60e51b815260206004820152600f60248201526e2727aa2fa322a2afa6a0a720a3a2a960891b604482015290519081900360640190fd5b61246c60048787614e70565b5061247960058585614e70565b50600680546001600160a01b03199081166001600160a01b03858116918217909355600780549092169284169283179091556040805181815290810188905233907f135646ff0b37ad6450ec7feabebbaf3289860f4abe23d7aace3bc48e15232459908a908a908a908a908060208082019060608301908890880280828437600083820152601f01601f19169091018481038352858152602090810191508690860280828437600083820152604051601f909101601f19169092018290039850909650505050505050a4505050505050565b6125606001600160a01b0384163330856149e3565b600061256b8461421b565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156125a957600080fd5b505afa1580156125bd573d6000803e3d6000fd5b505050506040513d60608110156125d357600080fd5b5080516020909101516001600160701b03918216935016905060006125f9868484614239565b905061260f6001600160a01b0388168588614311565b604080516000808252602082019283905263022c0d9f60e01b835260248201818152604483018590523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f96899590939092909160c48501918083838b5b8381101561268d578181015183820152602001612675565b50505050905090810190601f1680156126ba5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156126dc57600080fd5b505af11580156126f0573d6000803e3d6000fd5b5050505060006126ff82611738565b9150506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b15801561275257600080fd5b505afa158015612766573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561278f57600080fd5b8101908080516040519392919084600160201b8211156127ae57600080fd5b9083019060208201858111156127c357600080fd5b82518660208202830111600160201b821117156127df57600080fd5b82525081516020918201928201910280838360005b8381101561280c5781810151838201526020016127f4565b505050509050016040525050509050600061282883838a61288f565b9250505061283684826135ff565b604080518a81526020810186905280820183905290516001600160a01b038c169133917fb2383c1452cfa9876e7eb3c9ade99c1353f1b2dbe5f2612cdb0446f181b030e89181900360600190a350505050505050505050565b60608060006128b46128ad670de0b6b3a764000061179e8988614363565b8790614402565b9550606085516001600160401b03811180156128cf57600080fd5b5060405190808252806020026020018201604052801561290957816020015b6128f6614ebb565b8152602001906001900390816128ee5790505b509050600080600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561295d57600080fd5b505afa158015612971573d6000803e3d6000fd5b505050506040513d602081101561298757600080fd5b810190808051906020019092919050505090506000612a698261179e670de0b6b3a7640000612a63600360009054906101000a90046001600160a01b03166001600160a01b031663f8b2cb4f8f6000815181106129e057fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612a2557600080fd5b505afa158015612a39573d6000803e3d6000fd5b505050506040513d6020811015612a4f57600080fd5b505161179e88670de0b6b3a7640000614363565b90614363565b905060005b8951811015612c2a576003548a51612aaa91670de0b6b3a76400009161179e916001600160a01b03169063f8b2cb4f908f908790811061225657fe5b858281518110612ab657fe5b60200260200101516000018181525050612ad58a828151811061114457fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015612b0d57600080fd5b505afa158015612b21573d6000803e3d6000fd5b505050506040513d6060811015612b3757600080fd5b50805160209091015186516001600160701b039283169290911690879084908110612b5e57fe5b6020026020010151604001878481518110612b7557fe5b602002602001015160600182815250828152505050612bda858281518110612b9957fe5b602002602001015160000151868381518110612bb157fe5b602002602001015160600151878481518110612bc957fe5b6020026020010151604001516148b3565b858281518110612be657fe5b60200260200101516020018181525050612c20858281518110612c0557fe5b6020026020010151602001518561498b90919063ffffffff16565b9350600101612a6e565b50505086516001600160401b0381118015612c4457600080fd5b50604051908082528060200260200182016040528015612c6e578160200160208202803683370190505b50945086516001600160401b0381118015612c8857600080fd5b50604051908082528060200260200182016040528015612cb2578160200160208202803683370190505b50935060005b8751811015612d8457612d0d670de0b6b3a764000061179e612d068561179e670de0b6b3a7640000898881518110612cec57fe5b60200260200101516020015161436390919063ffffffff16565b8c90614363565b858281518110612d1957fe5b6020908102919091010152612d65670de0b6b3a764000061179e612d3f85828e85614363565b868581518110612d4b57fe5b60200260200101516000015161436390919063ffffffff16565b868281518110612d7157fe5b6020908102919091010152600101612cb8565b506003548751612eb3916001600160a01b03169063f8b2cb4f908a90600090612da957fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612dee57600080fd5b505afa158015612e02573d6000803e3d6000fd5b505050506040513d6020811015612e1857600080fd5b5051865161179e908890600090612e2b57fe5b6020026020010151600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612e8157600080fd5b505afa158015612e95573d6000803e3d6000fd5b505050506040513d6020811015612eab57600080fd5b505190614363565b9250505093509350939050565b6007546001600160a01b031681565b6000612eda82614448565b90506000612ee78461421b565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015612f2557600080fd5b505afa158015612f39573d6000803e3d6000fd5b505050506040513d6060811015612f4f57600080fd5b5080516020909101516001600160701b0391821693501690506000612f75858385614239565b600154909150612f8f906001600160a01b03168587614311565b604080516000808252602082019283905263022c0d9f60e01b835260248201848152604483018290523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f9689969590939092909160c48501918083838a5b8381101561300e578181015183820152602001612ff6565b50505050905090810190601f16801561303b5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561305d57600080fd5b505af1158015613071573d6000803e3d6000fd5b5061308a925050506001600160a01b0388163383614311565b604080518781526020810187905280820183905290516001600160a01b0389169133917f3d8b014eb05b16fa729de7d54b5b93c42f1d2b265f79a9648875d8eb84569d7c9181900360600190a350505050505050565b6002546001600160a01b031681565b60008061314e600a613148600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612a2557600080fd5b9061498b565b90506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b1580156131a057600080fd5b505afa1580156131b4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156131dd57600080fd5b8101908080516040519392919084600160201b8211156131fc57600080fd5b90830190602082018581111561321157600080fd5b82518660208202830111600160201b8211171561322d57600080fd5b82525081516020918201928201910280838360005b8381101561325a578181015183820152602001613242565b5050505090500160405250505090506000815190506060816001600160401b038111801561328757600080fd5b506040519080825280602002602001820160405280156132c157816020015b6132ae614ebb565b8152602001906001900390816132a65790505b5090506060826001600160401b03811180156132dc57600080fd5b50604051908082528060200260200182016040528015613306578160200160208202803683370190505b5090506000805b848110156134e957600061332687838151811061114457fe5b9050806001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561336157600080fd5b505afa158015613375573d6000803e3d6000fd5b505050506040513d606081101561338b57600080fd5b50805160209091015186516001600160701b0392831692909116908790859081106133b257fe5b60200260200101516040018785815181106133c957fe5b60209081029190910101516060019190915252600354875161348791670de0b6b3a76400009161179e916001600160a01b03169063f8b2cb4f908c908890811061340f57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561345457600080fd5b505afa158015613468573d6000803e3d6000fd5b505050506040513d602081101561347e57600080fd5b50518b90614363565b84838151811061349357fe5b6020026020010181815250506134de836131488685815181106134b257fe5b60200260200101518886815181106134c657fe5b602002602001015160600151898781518110612bc957fe5b92505060010161330d565b5061350a613503670de0b6b3a764000061179e848c614363565b829061498b565b96505050505050505b92915050565b613521614444565b6000546001600160a01b03908116911614613571576040805162461bcd60e51b81526020600482018190526024820152600080516020614f94833981519152604482015290519081900360640190fd5b6001600160a01b0381166135b65760405162461bcd60e51b8152600401808060200182810382526026815260200180614ef96026913960400191505060405180910390fd5b600080546040516001600160a01b0380851693921691600080516020614fb483398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008211613643576040805162461bcd60e51b815260206004820152600c60248201526b11551217d49154555254915160a21b604482015290519081900360640190fd5b600354604080516318832b9760e31b815290516000926001600160a01b03169163c4195cb8916004808301926020929190829003018186803b15801561368857600080fd5b505afa15801561369c573d6000803e3d6000fd5b505050506040513d60208110156136b257600080fd5b505190506001600160a01b03811615613808576003546040805163afff324960e01b81526001600160a01b039283166004820152905160009284169163afff3249916024808301926020929190829003018186803b15801561371357600080fd5b505afa158015613727573d6000803e3d6000fd5b505050506040513d602081101561373d57600080fd5b5051600354604080516318160ddd60e01b8152905192935083926137c19287926001600160a01b03909116916318160ddd91600480820192602092909190829003018186803b15801561378f57600080fd5b505afa1580156137a3573d6000803e3d6000fd5b505050506040513d60208110156137b957600080fd5b50519061498b565b1115613806576040805162461bcd60e51b815260206004820152600f60248201526e504950545f4d41585f535550504c5960881b604482015290519081900360640190fd5b505b5060008061381584611738565b915091506000613871600a613148600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612a2557600080fd5b90506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b1580156138c357600080fd5b505afa1580156138d7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561390057600080fd5b8101908080516040519392919084600160201b82111561391f57600080fd5b90830190602082018581111561393457600080fd5b82518660208202830111600160201b8211171561395057600080fd5b82525081516020918201928201910280838360005b8381101561397d578181015183820152602001613965565b5050505090500160405250505090506000815190506060816001600160401b03811180156139aa57600080fd5b506040519080825280602002602001820160405280156139e457816020015b6139d1614ebb565b8152602001906001900390816139c95790505b5090506060826001600160401b03811180156139ff57600080fd5b50604051908082528060200260200182016040528015613a29578160200160208202803683370190505b5090506000805b84811015613ee5576000613a4987838151811061114457fe5b9050806001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015613a8457600080fd5b505afa158015613a98573d6000803e3d6000fd5b505050506040513d6060811015613aae57600080fd5b50805160209091015186516001600160701b039283169290911690879085908110613ad557fe5b6020026020010151604001878581518110613aec57fe5b602090810291909101015160600191909152526003548751613b3291670de0b6b3a76400009161179e916001600160a01b03169063f8b2cb4f908c908890811061340f57fe5b848381518110613b3e57fe5b602002602001018181525050613b85848381518110613b5957fe5b6020026020010151868481518110613b6d57fe5b602002602001015160600151878581518110612bc957fe5b858381518110613b9157fe5b60200260200101516020018181525050613bd281868481518110613bb157fe5b60209081029190910181015101516001546001600160a01b03169190614311565b806001600160a01b031663022c0d9f858481518110613bed57fe5b602002602001015160003060006001600160401b0381118015613c0f57600080fd5b506040519080825280601f01601f191660200182016040528015613c3a576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613ca2578181015183820152602001613c8a565b50505050905090810190601f168015613ccf5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015613cf157600080fd5b505af1158015613d05573d6000803e3d6000fd5b50505050613d33858381518110613d1857fe5b6020026020010151602001518461498b90919063ffffffff16565b925060096000888481518110613d4557fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff1615613e1e57868281518110613d7d57fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b031660006040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015613df157600080fd5b505af1158015613e05573d6000803e3d6000fd5b505050506040513d6020811015613e1b57600080fd5b50505b868281518110613e2a57fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b0316868581518110613e6257fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015613eb057600080fd5b505af1158015613ec4573d6000803e3d6000fd5b505050506040513d6020811015613eda57600080fd5b505050600101613a30565b50600354604080516390ad688b60e01b815290516000926001600160a01b0316916390ad688b916004808301926080929190829003018186803b158015613f2b57600080fd5b505afa158015613f3f573d6000803e3d6000fd5b505050506040513d6080811015613f5557600080fd5b506020015160035460408051631122d04760e11b8152600481018e905260248101849052306044820152815193945060009384936001600160a01b031692632245a08e9260648082019391829003018186803b158015613fb457600080fd5b505afa158015613fc8573d6000803e3d6000fd5b505050506040513d6040811015613fde57600080fd5b81019080805190602001909291908051906020019092919050505091509150336001600160a01b03167ff7093a83d1acda4f50efce57c1c9c84e33f0ac8d1dce73a8c7481a8088d8b2e68b8d8f856040518085815260200184815260200183815260200182815260200194505050505060405180910390a2600360009054906101000a90046001600160a01b03166001600160a01b0316634f69c0d48d876040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156140d15781810151838201526020016140b9565b505050509050019350505050600060405180830381600087803b1580156140f757600080fd5b505af115801561410b573d6000803e3d6000fd5b505060035461412792506001600160a01b031690503384614311565b60006141338b86614402565b905080156142055760015460408051632e1a7d4d60e01b81526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b15801561418857600080fd5b505af115801561419c573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f193505050501580156141cd573d6000803e3d6000fd5b5060408051828152905133917f9a97090a4f9b5abe836088fa365c3dac3128c8c9bdc5cad5f4c6bda184fa043f919081900360200190a25b5050505050505050505050505050565b3b151590565b6001600160a01b039081166000908152600860205260409020541690565b60008084116142795760405162461bcd60e51b815260040180806020018281038252602b815260200180614ffe602b913960400191505060405180910390fd5b6000831180156142895750600082115b6142c45760405162461bcd60e51b8152600401808060200182810382526028815260200180614f4b6028913960400191505060405180910390fd5b60006142d2856103e5614a3d565b905060006142e08285614a3d565b905060006142fa836142f4886103e8614a3d565b90614aa0565b905080828161430557fe5b04979650505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611da3908490614aef565b60008261437257506000613513565b8282028284828161437f57fe5b04146143bc5760405162461bcd60e51b8152600401808060200182810382526021815260200180614f736021913960400191505060405180910390fd5b9392505050565b60006143bc83836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b815250614ba0565b60006143bc83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614c42565b3390565b60006060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b15801561449a57600080fd5b505afa1580156144ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156144d757600080fd5b8101908080516040519392919084600160201b8211156144f657600080fd5b90830190602082018581111561450b57600080fd5b82518660208202830111600160201b8211171561452757600080fd5b82525081516020918201928201910280838360005b8381101561455457818101518382015260200161453c565b5050505090500160405250505090506000815190506060806000806145798887611fe9565b6003549397509195509350915061459b906001600160a01b031633308b6149e3565b6003546040805163095ea7b360e01b81526001600160a01b0390921660048301819052602483018b90529051909163095ea7b39160448083019260209291908290030181600087803b1580156145f057600080fd5b505af1158015614604573d6000803e3d6000fd5b505050506040513d602081101561461a57600080fd5b50506003546040805163b02f0b7360e01b8152600481018b8152602482019283528751604483015287516001600160a01b039094169363b02f0b73938d938a93926064909101906020858101910280838360005b8381101561468657818101518382015260200161466e565b505050509050019350505050600060405180830381600087803b1580156146ac57600080fd5b505af11580156146c0573d6000803e3d6000fd5b5050505060005b8581101561484a5760006146e088838151811061114457fe5b9050614706818784815181106146f257fe5b60200260200101518a85815181106111f257fe5b806001600160a01b031663022c0d9f600087858151811061472357fe5b60200260200101513060006001600160401b038111801561474357600080fd5b506040519080825280601f01601f19166020018201604052801561476e576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156147d65781810151838201526020016147be565b50505050905090810190601f1680156148035780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561482557600080fd5b505af1158015614839573d6000803e3d6000fd5b5050600190930192506146c7915050565b5060008061485784611738565b604080518d81526020810187905280820183905260608101849052905192945090925033917f32f099d0ac2a3a3a9b94fdb99b030574e3065fa12da504405e6262c1ae5585219181900360800190a29998505050505050505050565b60008084116148f35760405162461bcd60e51b815260040180806020018281038252602c815260200180614f1f602c913960400191505060405180910390fd5b6000831180156149035750600082115b61493e5760405162461bcd60e51b8152600401808060200182810382526028815260200180614f4b6028913960400191505060405180910390fd5b60006149566103e86149508688614a3d565b90614a3d565b9050600061496a6103e56149508689614c9c565b9050614981600182848161497a57fe5b0490614aa0565b9695505050505050565b6000828201838110156143bc576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610fc1908590614aef565b6000811580614a5857505080820282828281614a5557fe5b04145b613513576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b80820182811015613513576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b6060614b44826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614cec9092919063ffffffff16565b805190915015611da357808060200190516020811015614b6357600080fd5b5051611da35760405162461bcd60e51b815260040180806020018281038252602a815260200180614fd4602a913960400191505060405180910390fd5b60008183614c2c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614bf1578181015183820152602001614bd9565b50505050905090810190601f168015614c1e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581614c3857fe5b0495945050505050565b60008184841115614c945760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614bf1578181015183820152602001614bd9565b505050900390565b80820382811115613513576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6060614cfb8484600085614d03565b949350505050565b6060614d0e85614215565b614d5f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310614d9e5780518252601f199092019160209182019101614d7f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614e00576040519150601f19603f3d011682016040523d82523d6000602084013e614e05565b606091505b50915091508115614e19579150614cfb9050565b805115614e295780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315614bf1578181015183820152602001614bd9565b828054828255906000526020600020908101928215614eab579160200282015b82811115614eab578235825591602001919060010190614e90565b50614eb7929150614ee3565b5090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b5b80821115614eb75760008155600101614ee456fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220ba9f57025240a873b40dea4f2b1b43a5709ec543e8884bd0722f81953997075564736f6c634300060c0033

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

000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca100000000000000000000000026607ac599266b21d13c7acf7942c7701a8b699c000000000000000000000000b258302c3f209491d604165549079680708581cc

-----Decoded View---------------
Arg [0] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [1] : _cvp (address): 0x38e4adB44ef08F22F5B5b76A8f0c2d0dCbE7DcA1
Arg [2] : _pipt (address): 0x26607aC599266b21d13c7aCF7942c7701a8b699c
Arg [3] : _feeManager (address): 0xB258302C3f209491d604165549079680708581Cc

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [1] : 00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
Arg [2] : 00000000000000000000000026607ac599266b21d13c7acf7942c7701a8b699c
Arg [3] : 000000000000000000000000b258302c3f209491d604165549079680708581cc


Deployed Bytecode Sourcemap

48357:4661:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36364:10;36378:9;36364:23;36360:52;;36398:7;;36360:52;36418:30;36432:15;;36418:13;:30::i;:::-;48357:4661;;;;;34850:47;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34850:47:0;-1:-1:-1;;;;;34850:47:0;;:::i;:::-;;;;;;;;;;;;;;;;;;44522:94;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37224:1272;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37224:1272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37224:1272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37224:1272:0;;-1:-1:-1;37224:1272:0;;-1:-1:-1;;;;;37224:1272:0:i;51592:743::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51592:743:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51592:743:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51592:743:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51592:743:0;;-1:-1:-1;;;;51592:743:0;;;;-1:-1:-1;51592:743:0;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50507:652;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50507:652:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;50507:652:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;50507:652:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50507:652:0;;-1:-1:-1;;50507:652:0;;;-1:-1:-1;;;50507:652:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44143:373;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44143:373:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;34625:26;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;34625:26:0;;;;;;;;;;;;;;44622:96;;;;;;;;;;;;;:::i;34564:26::-;;;;;;;;;;;;;:::i;34721:24::-;;;;;;;;;;;;;:::i;39708:168::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39708:168:0;;:::i;38894:497::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38894:497:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38894:497:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38894:497:0;;;;;;;;-1:-1:-1;38894:497:0;;-1:-1:-1;;;;;38894:497:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38894:497:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38894:497:0;;;;;;;;-1:-1:-1;38894:497:0;;-1:-1:-1;;;;;38894:497:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38894:497:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38894:497:0;;-1:-1:-1;38894:497:0;;-1:-1:-1;;;;;38894:497:0:i;34902:30::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;36460:369;;;;;;;;;;;;;;;;-1:-1:-1;36460:369:0;;:::i;21287:148::-;;;;;;;;;;;;;:::i;39397:305::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39397:305:0;;;;;;;;;;;;;;;-1:-1:-1;;;39397:305:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39397:305:0;;;;;;;;;;-1:-1:-1;39397:305:0;;-1:-1:-1;39397:305:0;-1:-1:-1;39397:305:0;:::i;34658:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34658:26:0;;:::i;37021:197::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37021:197:0;;:::i;20645:79::-;;;;;;;;;;;;;:::i;52341:674::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52341:674:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34689:27;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34689:27:0;;:::i;34782:63::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34782:63:0;-1:-1:-1;;;;;34782:63:0;;:::i;51165:421::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;51165:421:0;;;;;;;;;;;;;:::i;36835:180::-;;;;;;;;;;;;;;;;-1:-1:-1;36835:180:0;;:::i;42019:1139::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;42019:1139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;42019:1139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42019:1139:0;;-1:-1:-1;42019:1139:0;;-1:-1:-1;;;;;42019:1139:0:i;38502:386::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38502:386:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38502:386:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38502:386:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38502:386:0;;;;;;;;;;;;-1:-1:-1;38502:386:0;-1:-1:-1;;;;;;38502:386:0;;;;;;;;;;:::i;48909:942::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;48909:942:0;;;;;;;;;;;;;:::i;39882:2131::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39882:2131:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39882:2131:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39882:2131:0;;-1:-1:-1;;39882:2131:0;;;-1:-1:-1;39882:2131:0;;-1:-1:-1;;39882:2131:0:i;34750:25::-;;;;;;;;;;;;;:::i;49857:644::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;49857:644:0;;;;;;;;:::i;34595:25::-;;;;;;;;;;;;;:::i;43164:973::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43164:973:0;;;;;;;:::i;21590:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21590:244:0;-1:-1:-1;;;;;21590:244:0;;:::i;36460:369::-;36527:18;36549:21;36560:9;36549:10;:21::i;:::-;36524:46;;;36579:23;36605:4;;;;;;;;;-1:-1:-1;;;;;36605:4:0;-1:-1:-1;;;;;36605:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36605:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36605:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36605:23:0;;;;;;;;;;;;-1:-1:-1;36605:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36579:49;;36642:21;36667:54;36691:10;36703:6;36711:9;36667:23;:54::i;:::-;36637:84;;;;36730:4;;;;;;;;;-1:-1:-1;;;;;36730:4:0;-1:-1:-1;;;;;36730:12:0;;36751:9;36730:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36773:50;36798:9;36809:13;36773:24;:50::i;:::-;36460:369;;;;:::o;34850:47::-;;;;;;;;;;;;;;;:::o;44522:94::-;44569:16;44601:9;44594:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44522:94;:::o;37224:1272::-;37316:10;37330:9;37316:23;:58;;;;;37344:30;37363:10;37344:18;:30::i;:::-;37343:31;37316:58;37308:91;;;;;-1:-1:-1;;;37308:91:0;;;;;;;;;;;;-1:-1:-1;;;37308:91:0;;;;;;;;;;;;;;;37422:16;;37408:11;37447:530;37471:3;37467:1;:7;37447:530;;;37490:20;37528:9;37538:1;37528:12;;;;;;;;;;;;;;-1:-1:-1;;;;;37513:38:0;;37560:4;37513:53;;;;;;;;;;;;;-1:-1:-1;;;;;37513:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37513:53:0;37618:12;;37513:53;;-1:-1:-1;37575:24:0;;37602:29;;37618:9;;37628:1;;37618:12;;;;;;;;;;;;37602:15;:29::i;:::-;37575:56;;37643:20;37665:18;37689:9;-1:-1:-1;;;;;37689:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37689:23:0;;;;;;;-1:-1:-1;;;;;37642:70:0;;;;-1:-1:-1;37642:70:0;;-1:-1:-1;37721:15:0;37739:69;37769:12;37642:70;;37739:29;:69::i;:::-;37721:87;;37819:75;37869:9;37881:12;37834:9;37844:1;37834:12;;;;;;;;;;;;;;-1:-1:-1;;;;;37819:41:0;;;:75;;;;;:::i;:::-;37956:12;;;37928:1;37956:12;;;;;;;;;;-1:-1:-1;;;37905:64:0;;;;;;;;;;;;;;37949:4;37905:64;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37905:14:0;;;;;37932:7;;37956:12;;37905:64;;;;;;;;;;37956:12;37928:1;37905:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37476:3:0;;;;;-1:-1:-1;37447:530:0;;-1:-1:-1;;;;;;37447:530:0;;-1:-1:-1;38007:4:0;;:29;;;-1:-1:-1;;;38007:29:0;;38030:4;38007:29;;;;;;37985:19;;-1:-1:-1;;;;;38007:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38007:29:0;38094:3;;38007:29;;-1:-1:-1;38045:22:0;;38070:29;;-1:-1:-1;;;;;38094:3:0;38070:15;:29::i;:::-;38045:54;;38109:18;38129;38153:7;-1:-1:-1;;;;;38153:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38153:21:0;;;;;;;-1:-1:-1;;;;;38108:66:0;;;;-1:-1:-1;38108:66:0;;-1:-1:-1;38181:14:0;38198:66;38228:11;38108:66;;38198:29;:66::i;:::-;38273:4;;38181:83;;-1:-1:-1;38273:48:0;;-1:-1:-1;;;;;38273:4:0;38299:7;38309:11;38273:17;:48::i;:::-;38378:12;;;38359:1;38378:12;;;;;;;;;;-1:-1:-1;;;38330:61:0;;;;;;;;;;;;;;38371:4;38330:61;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38330:12:0;;;;;38343:6;;38359:1;38378:12;;38330:61;;;;;;;;;;38378:12;38359:1;38330:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38417:9:0;;38400:3;;:35;;-1:-1:-1;;;;;;38400:3:0;;;;-1:-1:-1;38417:9:0;38428:6;38400:16;:35::i;:::-;38459:9;;38449:41;;;;;;;;;;;;;;-1:-1:-1;;;;;38459:9:0;;;;38449:41;;;;;;;;;;;37224:1272;;;;;;;:::o;51592:743::-;51782:30;51821;51860:21;51890;51929:19;52018:47;52042:13;52057:7;52018:23;:47::i;:::-;51957:108;;-1:-1:-1;51957:108:0;;-1:-1:-1;51957:108:0;;-1:-1:-1;51957:108:0;-1:-1:-1;52072:72:0;;;;52113:23;52124:11;52113:10;:23::i;:::-;52095:41;-1:-1:-1;;52072:72:0;52151:20;52173:18;52197:27;52213:10;52197:15;:27::i;:::-;-1:-1:-1;;;;;52197:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52197:41:0;;;;;;;-1:-1:-1;;;;;52150:88:0;;;;-1:-1:-1;52150:88:0;;-1:-1:-1;52261:68:0;52291:11;52150:88;;52261:29;:68::i;:::-;52245:84;;51592:743;;;;;;;;;;;;:::o;50507:652::-;50719:29;50757;50795:15;50829:20;50851:18;50875:27;50891:10;50875:15;:27::i;:::-;-1:-1:-1;;;;;50875:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50875:41:0;;;;;;;-1:-1:-1;;;;;50828:88:0;;;;-1:-1:-1;50828:88:0;;-1:-1:-1;50923:17:0;50943:68;50973:11;50828:88;;50943:29;:68::i;:::-;50923:88;;51022:8;51018:68;;;51057:21;51068:9;51057:10;:21::i;:::-;51041:37;-1:-1:-1;;51018:68:0;51099:54;51123:9;51134:7;51143:9;51099:23;:54::i;:::-;51092:61;;;;;;;;;50507:652;;;;;;;;;:::o;44143:373::-;44278:9;:16;44203:14;;;;;44301:168;44325:3;44321:1;:7;44301:168;;;44361:9;44371:1;44361:12;;;;;;;;;;;;;;;;44348:9;:25;44344:118;;44395:41;44428:7;44395:28;44409:10;44420:1;44409:13;;;;;;;;;;;;;;;;44395:9;:13;;:28;;;;:::i;:::-;:32;;:41::i;:::-;44386:50;;44447:5;;44344:118;44330:3;;44301:168;;;-1:-1:-1;44489:21:0;:9;44503:6;44489:13;:21::i;:::-;44475:35;;44143:373;;;;:::o;34625:26::-;;;-1:-1:-1;;;;;34625:26:0;;:::o;44622:96::-;44670:16;44702:10;44695:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44622:96;:::o;34564:26::-;;;-1:-1:-1;;;;;34564:26:0;;:::o;34721:24::-;;;-1:-1:-1;;;;;34721:24:0;;:::o;39708:168::-;20867:12;:10;:12::i;:::-;20857:6;;-1:-1:-1;;;;;20857:6:0;;;:22;;;20849:67;;;;;-1:-1:-1;;;20849:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20849:67:0;;;;;;;;;;;;;;;39788:15:::1;:34:::0;;;39834:36:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;39708:168:::0;:::o;38894:497::-;20867:12;:10;:12::i;:::-;20857:6;;-1:-1:-1;;;;;20857:6:0;;;:22;;;20849:67;;;;;-1:-1:-1;;;20849:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20849:67:0;;;;;;;;;;;;;;;39058:14;;39094:13;;39087:20;::::1;:48:::0;::::1;;;;39118:10;:17;39111:3;:24;39087:48;39079:78;;;::::0;;-1:-1:-1;;;39079:78:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;39079:78:0;;;;;;;;;;;;;::::1;;39169:9;39164:222;39188:3;39184:1;:7;39164:222;;;39250:6;39257:1;39250:9;;;;;;;;;;;;;;39207:28;:40;39236:7;39244:1;39236:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;39207:40:0::1;-1:-1:-1::0;;;;;39207:40:0::1;;;;;;;;;;;;;:52;;;;;-1:-1:-1::0;;;;;39207:52:0::1;;;;;-1:-1:-1::0;;;;;39207:52:0::1;;;;;;39298:10;39309:1;39298:13;;;;;;;;;;;;;;39268:15;:27;39284:7;39292:1;39284:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;39268:27:0::1;-1:-1:-1::0;;;;;39268:27:0::1;;;;;;;;;;;;;:43;;;;;;;;;;;;;;;;;;39368:6;39375:1;39368:9;;;;;;;;;;;;;;-1:-1:-1::0;;;;;39325:53:0::1;39353:10;39364:1;39353:13;;;;;;;;;;;;;;39325:53;;39341:7;39349:1;39341:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;39325:53:0::1;;;;;;;;;;;39193:3;;39164:222;;;;20927:1;38894:497:::0;;;:::o;34902:30::-;;;;:::o;21287:148::-;20867:12;:10;:12::i;:::-;20857:6;;-1:-1:-1;;;;;20857:6:0;;;:22;;;20849:67;;;;;-1:-1:-1;;;20849:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20849:67:0;;;;;;;;;;;;;;;21394:1:::1;21378:6:::0;;21357:40:::1;::::0;-1:-1:-1;;;;;21378:6:0;;::::1;::::0;-1:-1:-1;;;;;;;;;;;21357:40:0;21394:1;;21357:40:::1;21425:1;21408:19:::0;;-1:-1:-1;;;;;;21408:19:0::1;::::0;;21287:148::o;39397:305::-;20867:12;:10;:12::i;:::-;20857:6;;-1:-1:-1;;;;;20857:6:0;;;:22;;;20849:67;;;;;-1:-1:-1;;;20849:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20849:67:0;;;;;;;;;;;;;;;39520:7;39506:11:::1;39541:156;39565:3;39561:1;:7;39541:156;;;39645:8;-1:-1:-1::0;;;;;39627:35:0::1;;39663:7;;39671:1;39663:10;;;;;;;39683:4;::::0;39627:62:::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;;39627:62:0;;;39663:10:::1;::::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;;;;39663:10:0;;::::1;39627:62;::::0;::::1;::::0;39683:4;;::::1;39627:62:::0;;;;;;;;;;39663:10;;-1:-1:-1;39627:62:0;;;;;;;;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;39627:62:0;39584:28:::1;:40;39613:7:::0;;39621:1;39613:10;;::::1;;;;;-1:-1:-1::0;;;;;39613:10:0::1;::::0;;::::1;::::0;;;::::1;;::::0;::::1;39584:40:::0;;;::::1;::::0;;;;;;;;-1:-1:-1;39584:40:0;:105;;;;;::::1;-1:-1:-1::0;;;;;;39584:105:0;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;39584:105:0;39570:3:::1;39541:156;;34658:26:::0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34658:26:0;:::o;37021:197::-;37083:20;37106:30;37122:13;37106:15;:30::i;:::-;37145:4;;:27;;;-1:-1:-1;;;37145:27:0;;;;;;;;;;37083:53;;-1:-1:-1;;;;;;37145:4:0;;;;:13;;:27;;;;;:4;;:27;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37179:33:0;;:10;;-1:-1:-1;37179:33:0;;;;;-1:-1:-1;37199:12:0;;37179:33;;;;37199:12;37179:10;:33;;;;;;;;;;;;;;;;;;;;;37021:197;;:::o;20645:79::-;20683:7;20710:6;-1:-1:-1;;;;;20710:6:0;20645:79;:::o;52341:674::-;52450:16;52475:21;52505:14;52528:19;52566:20;52588:18;52612:27;52628:10;52612:15;:27::i;:::-;-1:-1:-1;;;;;52612:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52612:41:0;;;;;;;-1:-1:-1;;;;;52565:88:0;;;;-1:-1:-1;52565:88:0;;-1:-1:-1;52660:17:0;52680:68;52710:11;52565:88;;52680:29;:68::i;:::-;52660:88;;52781:21;52792:9;52781:10;:21::i;:::-;52757:45;;-1:-1:-1;52757:45:0;-1:-1:-1;52815:11:0;;52811:108;;52848:63;52878:6;52886:10;52898:12;52848:29;:63::i;:::-;52837:74;;52811:108;52941:68;52971:11;52984:10;52996:12;52941:29;:68::i;:::-;52925:84;;52341:674;;;;;;;;;;:::o;34689:27::-;;;;;;;;;;34782:63;;;;;;;;;;;;-1:-1:-1;;;;;34782:63:0;;:::o;51165:421::-;51303:7;51319:17;51339:47;51360:14;51376:9;51339:20;:47::i;:::-;51319:67;;51394:20;51416:18;51440:27;51456:10;51440:15;:27::i;:::-;-1:-1:-1;;;;;51440:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51440:41:0;;;;;;;-1:-1:-1;;;;;51393:88:0;;;;-1:-1:-1;51393:88:0;;-1:-1:-1;51495:85:0;51524:29;51548:4;51524:19;:9;51538:4;51524:13;:19::i;:29::-;51555:12;51569:10;51495:28;:85::i;:::-;51488:92;51165:421;-1:-1:-1;;;;;;;51165:421:0:o;36835:180::-;36915:4;;;;;;;;;-1:-1:-1;;;;;36915:4:0;-1:-1:-1;;;;;36915:12:0;;36936:9;36915:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36958:51;36983:9;36994:14;36958:24;:51::i;:::-;36835:180;:::o;42019:1139::-;42145:30;42184;42223:19;42251:21;42320:7;:14;-1:-1:-1;;;;;42306:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42306:29:0;;42290:45;;42372:7;:14;-1:-1:-1;;;;;42358:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42358:29:0;;42342:45;;42401:24;42431:4;;;;;;;;;-1:-1:-1;;;;;42431:4:0;-1:-1:-1;;;;;42431:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42431:22:0;;;;;42537:4;;:107;;-1:-1:-1;;;42537:107:0;;;;;;;;;;;;;;42632:4;42537:107;;;;;;42431:22;;-1:-1:-1;42462:28:0;;-1:-1:-1;;;;;42537:4:0;;;;:31;;:107;;;;;42431:22;;42537:107;;;;;;:4;:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42537:107:0;;;;;;;42711:4;;42537:107;42711:18;;-1:-1:-1;;;42711:18:0;;;;42537:107;;-1:-1:-1;42537:107:0;;-1:-1:-1;42653:17:0;;42673:57;;-1:-1:-1;;;;;42711:4:0;;;;:16;;:18;;;;;42537:107;42711:18;;;;;;:4;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42711:18:0;42673:33;:20;42698:7;42673:24;:33::i;:57::-;42653:77;;42753:1;42739:15;;42766:9;42761:392;42785:7;:14;42781:1;:18;42761:392;;;42848:4;;42864:10;;42834:55;;42881:7;;42834:42;;-1:-1:-1;;;;;42848:4:0;;:15;;42864:7;;42872:1;;42864:10;;;;;;;;;;;;42848:27;;;;;;;;;;;;;-1:-1:-1;;;;;42848:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42848:27:0;42834:9;;:13;:42::i;:55::-;42815:13;42829:1;42815:16;;;;;;;;;;;;;:74;;;;;42901:20;42923:18;42947:27;42963:7;42971:1;42963:10;;;;;;;42947:27;-1:-1:-1;;;;;42947:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42947:41:0;;;;;;;43046:16;;-1:-1:-1;;;;;42900:88:0;;;;-1:-1:-1;42900:88:0;;;-1:-1:-1;43016:73:0;;43046:13;;43060:1;;43046:16;;;;;;;;;;;;43064:12;43078:10;43016:29;:73::i;:::-;42997:13;43011:1;42997:16;;;;;;;;;;;;;:92;;;;;43112:33;43128:13;43142:1;43128:16;;;;;;;;;;;;;;43112:11;:15;;:33;;;;:::i;:::-;43098:47;-1:-1:-1;;;42801:3:0;;42761:392;;;;42019:1139;;;;;;;;;;:::o;38502:386::-;36251:10;;-1:-1:-1;;;;;36251:10:0;36237;:24;;:49;;;36279:7;:5;:7::i;:::-;-1:-1:-1;;;;;36265:21:0;:10;-1:-1:-1;;;;;36265:21:0;;36237:49;36229:77;;;;;-1:-1:-1;;;36229:77:0;;;;;;;;;;;;-1:-1:-1;;;36229:77:0;;;;;;;;;;;;;;;38686:22:::1;:9;38698:10:::0;;38686:22:::1;:::i;:::-;-1:-1:-1::0;38715:24:0::1;:10;38728:11:::0;;38715:24:::1;:::i;:::-;-1:-1:-1::0;38746:9:0::1;:22:::0;;-1:-1:-1;;;;;;38746:22:0;;::::1;-1:-1:-1::0;;;;;38746:22:0;;::::1;::::0;;::::1;::::0;;;38775:10:::1;:24:::0;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;38813:69:::1;::::0;;;;;;;;;;;38821:10:::1;::::0;38813:69:::1;::::0;38833:10;;38813:69;;38845:11;;;;38813:69;::::1;::::0;;::::1;::::0;;;;;38833:10;;38813:69;::::1;::::0;38833:10;38813:69;::::1;;::::0;;::::1;::::0;::::1;;-1:-1:-1::0;;38813:69:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;-1:-1:-1;38813:69:0;;;::::1;::::0;;;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;-1:-1:-1::0;;38813:69:0::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;38813:69:0;;-1:-1:-1;;;;;;;38813:69:0::1;38502:386:::0;;;;;;:::o;48909:942::-;49030:75;-1:-1:-1;;;;;49030:35:0;;49066:10;49086:4;49093:11;49030:35;:75::i;:::-;49114:24;49141:27;49157:10;49141:15;:27::i;:::-;49114:54;;49176:20;49198:18;49222:9;-1:-1:-1;;;;;49222:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49222:23:0;;;;;;;-1:-1:-1;;;;;49175:70:0;;;;-1:-1:-1;49175:70:0;;-1:-1:-1;49252:17:0;49272:68;49302:11;49175:70;;49272:29;:68::i;:::-;49252:88;-1:-1:-1;49349:64:0;-1:-1:-1;;;;;49349:31:0;;49389:9;49401:11;49349:31;:64::i;:::-;49473:12;;;49443:1;49473:12;;;;;;;;;;-1:-1:-1;;;49420:66:0;;;;;;;;;;;;;;49466:4;49420:66;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;49420:14:0;;;;;49447:9;;49473:12;;49420:66;;;;;;;;;;49473:12;49443:1;49420:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49498:21;49523;49534:9;49523:10;:21::i;:::-;49495:49;;;49551:23;49577:4;;;;;;;;;-1:-1:-1;;;;;49577:4:0;-1:-1:-1;;;;;49577:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49577:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49577:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49577:23:0;;;;;;;;;;;;-1:-1:-1;49577:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49551:49;;49612:21;49637:57;49661:13;49676:6;49684:9;49637:23;:57::i;:::-;49607:87;;;;49703:50;49728:9;49739:13;49703:24;:50::i;:::-;49767:78;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;49767:78:0;;;49783:10;;49767:78;;;;;;;;;48909:942;;;;;;;;;;:::o;39882:2131::-;40043:29;;40119:15;40164:52;40178:37;40207:7;40178:24;:9;40192;40178:13;:24::i;:37::-;40164:9;;:13;:52::i;:::-;40152:64;;40276:39;40342:7;:14;-1:-1:-1;;;;;40318:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;40276:81;;40366:24;40410:23;40436:4;;;;;;;;;-1:-1:-1;;;;;40436:4:0;-1:-1:-1;;;;;40436:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40410:44;;40679:17;40708:95;40787:15;40708:74;40774:7;40708:61;40741:4;;;;;;;;;-1:-1:-1;;;;;40741:4:0;-1:-1:-1;;;;;40741:15:0;;40757:7;40765:1;40757:10;;;;;;;;;;;;;;40741:27;;;;;;;;;;;;;-1:-1:-1;;;;;40741:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40741:27:0;40708:28;:15;40728:7;40708:19;:28::i;:61::-;:65;;:74::i;:95::-;40679:124;;40819:9;40814:601;40838:7;:14;40834:1;:18;40814:601;;;40972:4;;40988:10;;40958:55;;41005:7;;40958:42;;-1:-1:-1;;;;;40972:4:0;;:15;;40988:7;;40996:1;;40988:10;;;;;40958:55;40928:12;40941:1;40928:15;;;;;;;;;;;;;;:27;;:85;;;;;41089:27;41105:7;41113:1;41105:10;;;;;;;41089:27;-1:-1:-1;;;;;41089:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41089:41:0;;;;;;;41027:15;;-1:-1:-1;;;;;41026:104:0;;;;;;;;41027:12;;41040:1;;41027:15;;;;;;;;;;;;:28;;41057:12;41070:1;41057:15;;;;;;;;;;;;;;:26;;41026:104;;;;;;;;;;41169:159;41210:12;41223:1;41210:15;;;;;;;;;;;;;;:27;;;41250:12;41263:1;41250:15;;;;;;;;;;;;;;:26;;;41289:12;41302:1;41289:15;;;;;;;;;;;;;;:28;;;41169;:159::i;:::-;41141:12;41154:1;41141:15;;;;;;;;;;;;;;:25;;:187;;;;;41358:47;41379:12;41392:1;41379:15;;;;;;;;;;;;;;:25;;;41358:16;:20;;:47;;;;:::i;:::-;41339:66;-1:-1:-1;40854:3:0;;40814:601;;;;39882:2131;;41559:7;:14;-1:-1:-1;;;;;41545:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41545:29:0;;41530:44;;41610:7;:14;-1:-1:-1;;;;;41596:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41596:29:0;;41581:44;;41637:9;41632:285;41656:7;:14;41652:1;:18;41632:285;;;41704:88;41784:7;41704:75;41718:60;41761:16;41718:38;41748:7;41718:12;41731:1;41718:15;;;;;;;;;;;;;;:25;;;:29;;:38;;;;:::i;:60::-;41704:9;;:13;:75::i;:88::-;41686:12;41699:1;41686:15;;;;;;;;;;;;;;;;;:106;41819:90;41901:7;41819:77;41851:44;41878:16;41819:77;41851:9;41901:7;41851:13;:22::i;:44::-;41819:12;41832:1;41819:15;;;;;;;;;;;;;;:27;;;:31;;:77;;;;:::i;:90::-;41801:12;41814:1;41801:15;;;;;;;;;;;;;;;;;:108;41672:3;;41632:285;;;-1:-1:-1;41979:4:0;;41995:10;;41935:72;;-1:-1:-1;;;;;41979:4:0;;:15;;41995:7;;41979:4;;41995:10;;;;;;;;;;41979:27;;;;;;;;;;;;;-1:-1:-1;;;;;41979:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41979:27:0;41958:15;;41935:39;;41958:12;;41971:1;;41958:15;;;;;;;;;;41935:4;;;;;;;;;-1:-1:-1;;;;;41935:4:0;-1:-1:-1;;;;;41935:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41935:18:0;;:22;:39::i;:72::-;41925:82;;39882:2131;;;;;;;;;:::o;34750:25::-;;;-1:-1:-1;;;;;34750:25:0;;:::o;49857:644::-;49941:14;49958:30;49974:13;49958:15;:30::i;:::-;49941:47;;49997:24;50024:27;50040:10;50024:15;:27::i;:::-;49997:54;;50061:20;50083:18;50107:9;-1:-1:-1;;;;;50107:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50107:23:0;;;;;;;-1:-1:-1;;;;;50060:70:0;;;;-1:-1:-1;50060:70:0;;-1:-1:-1;50137:16:0;50156:63;50186:6;50060:70;;50156:29;:63::i;:::-;50228:4;;50137:82;;-1:-1:-1;50228:45:0;;-1:-1:-1;;;;;50228:4:0;50254:9;50266:6;50228:17;:45::i;:::-;50334:12;;;50315:1;50334:12;;;;;;;;;;-1:-1:-1;;;50282:65:0;;;;;;;;;;;;;;50327:4;50282:65;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50282:14:0;;;;;50297:8;;50315:1;50334:12;;50282:65;;;;;;;;;;50334:12;50315:1;50282:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50356:53:0;;-1:-1:-1;;;;;;;;50356:31:0;;50388:10;50400:8;50356:31;:53::i;:::-;50423:72;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50423:72:0;;;50439:10;;50423:72;;;;;;;;;49857:644;;;;;;;:::o;34595:25::-;;;-1:-1:-1;;;;;34595:25:0;;:::o;43164:973::-;43258:7;43274:13;43290:59;43346:2;43290:51;43322:4;;;;;;;;;-1:-1:-1;;;;;43322:4:0;-1:-1:-1;;;;;43322:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43290:51;:55;;:59::i;:::-;43274:75;;43358:23;43384:4;;;;;;;;;-1:-1:-1;;;;;43384:4:0;-1:-1:-1;;;;;43384:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;43384:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;43384:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;43384:23:0;;;;;;;;;;;;-1:-1:-1;43384:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43358:49;;43414:11;43428:6;:13;43414:27;;43450:39;43516:3;-1:-1:-1;;;;;43492:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;43450:70;;43527:29;43573:3;-1:-1:-1;;;;;43559:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43559:18:0;;43527:50;;43586:20;43622:9;43617:443;43641:3;43637:1;:7;43617:443;;;43660:24;43687:26;43703:6;43710:1;43703:9;;;;;;;43687:26;43660:53;;43787:9;-1:-1:-1;;;;;43787:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43787:23:0;;;;;;;43725:15;;-1:-1:-1;;;;;43724:86:0;;;;;;;;43725:12;;43738:1;;43725:15;;;;;;;;;;;;:28;;43755:12;43768:1;43755:15;;;;;;;;;;;;;;;;;;:26;;43724:86;;;;;43847:4;;43863:9;;43837:50;;43879:7;;43837:37;;-1:-1:-1;;;;;43847:4:0;;:15;;43863:6;;43870:1;;43863:9;;;;;;;;;;;;43847:26;;;;;;;;;;;;;-1:-1:-1;;;;;43847:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43847:26:0;43837:5;;:9;:37::i;:50::-;43819:12;43832:1;43819:15;;;;;;;;;;;;;:68;;;;;43911:141;44039:12;43911:113;43950:12;43963:1;43950:15;;;;;;;;;;;;;;43967:12;43980:1;43967:15;;;;;;;;;;;;;;:26;;;43995:12;44008:1;43995:15;;;;;;;43911:141;43896:156;-1:-1:-1;;43646:3:0;;43617:443;;;-1:-1:-1;44073:58:0;44090:40;44122:7;44090:27;:12;44107:9;44090:16;:27::i;:40::-;44073:12;;:16;:58::i;:::-;44066:65;;;;;;;;43164:973;;;;;:::o;21590:244::-;20867:12;:10;:12::i;:::-;20857:6;;-1:-1:-1;;;;;20857:6:0;;;:22;;;20849:67;;;;;-1:-1:-1;;;20849:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20849:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21679:22:0;::::1;21671:73;;;;-1:-1:-1::0;;;21671:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21781:6;::::0;;21760:38:::1;::::0;-1:-1:-1;;;;;21760:38:0;;::::1;::::0;21781:6;::::1;::::0;-1:-1:-1;;;;;;;;;;;21760:38:0;::::1;21809:6;:17:::0;;-1:-1:-1;;;;;;21809:17:0::1;-1:-1:-1::0;;;;;21809:17:0;;;::::1;::::0;;;::::1;::::0;;21590:244::o;44880:2393::-;44997:1;44983:11;:15;44975:40;;;;;-1:-1:-1;;;44975:40:0;;;;;;;;;;;;-1:-1:-1;;;44975:40:0;;;;;;;;;;;;;;;45060:4;;:22;;;-1:-1:-1;;;45060:22:0;;;;45033:24;;-1:-1:-1;;;;;45060:4:0;;:20;;:22;;;;;;;;;;;;;;:4;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45060:22:0;;-1:-1:-1;;;;;;45095:39:0;;;45091:254;;45234:4;;45172:68;;;-1:-1:-1;;;45172:68:0;;-1:-1:-1;;;;;45234:4:0;;;45172:68;;;;;;45147:22;;45172:53;;;;;:68;;;;;;;;;;;;;;:53;:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45172:68:0;45259:4;;:18;;;-1:-1:-1;;;45259:18:0;;;;45172:68;;-1:-1:-1;45172:68:0;;45259:38;;45282:14;;-1:-1:-1;;;;;45259:4:0;;;;:16;;:18;;;;;45172:68;;45259:18;;;;;;;;:4;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45259:18:0;;:22;:38::i;:::-;:56;;45251:84;;;;;-1:-1:-1;;;45251:84:0;;;;;;;;;;;;-1:-1:-1;;;45251:84:0;;;;;;;;;;;;;;;45091:254;;44880:2393;45361:17;45380:18;45402:23;45413:11;45402:10;:23::i;:::-;45360:65;;;;45434:13;45450:59;45506:2;45450:51;45482:4;;;;;;;;;-1:-1:-1;;;;;45482:4:0;-1:-1:-1;;;;;45482:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45450:59;45434:75;;45518:23;45544:4;;;;;;;;;-1:-1:-1;;;;;45544:4:0;-1:-1:-1;;;;;45544:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45544:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;45544:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;45544:23:0;;;;;;;;;;;;-1:-1:-1;45544:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45518:49;;45574:11;45588:6;:13;45574:27;;45610:39;45676:3;-1:-1:-1;;;;;45652:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;45610:70;;45687:29;45733:3;-1:-1:-1;;;;;45719:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45719:18:0;;45687:50;;45746:20;45782:9;45777:869;45801:3;45797:1;:7;45777:869;;;45820:24;45847:26;45863:6;45870:1;45863:9;;;;;;;45847:26;45820:53;;45947:9;-1:-1:-1;;;;;45947:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45947:23:0;;;;;;;45885:15;;-1:-1:-1;;;;;45884:86:0;;;;;;;;45885:12;;45898:1;;45885:15;;;;;;;;;;;;:28;;45915:12;45928:1;45915:15;;;;;;;;;;;;;;;;;;:26;;45884:86;;;;;46007:4;;46023:9;;45997:50;;46039:7;;45997:37;;-1:-1:-1;;;;;46007:4:0;;:15;;46023:6;;46030:1;;46023:9;;;;;45997:50;45979:12;45992:1;45979:15;;;;;;;;;;;;;:68;;;;;46084:139;46123:12;46136:1;46123:15;;;;;;;;;;;;;;46149:12;46162:1;46149:15;;;;;;;;;;;;;;:26;;;46186:12;46199:1;46186:15;;;;;;;46084:139;46056:12;46069:1;46056:15;;;;;;;;;;;;;;:25;;:167;;;;;46234:64;46260:9;46272:12;46285:1;46272:15;;;;;;;;;;;;;;;;;;;:25;;46234:4;;-1:-1:-1;;;;;46234:4:0;;:64;:17;:64::i;:::-;46309:9;-1:-1:-1;;;;;46309:14:0;;46324:12;46337:1;46324:15;;;;;;;;;;;;;;46349:1;46361:4;46378:1;-1:-1:-1;;;;;46368:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46368:12:0;;46309:72;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46309:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46405:43;46422:12;46435:1;46422:15;;;;;;;;;;;;;;:25;;;46405:12;:16;;:43;;;;:::i;:::-;46390:58;;46463:15;:26;46479:6;46486:1;46479:9;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46463:26:0;;;;;;;;;;;-1:-1:-1;46463:26:0;;;;46459:104;;;46517:6;46524:1;46517:9;;;;;;;;;;;;;;-1:-1:-1;;;;;46502:33:0;;46544:4;;;;;;;;;-1:-1:-1;;;;;46544:4:0;46551:1;46502:51;;;;;;;;;;;;;-1:-1:-1;;;;;46502:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46459:104:0;46588:6;46595:1;46588:9;;;;;;;;;;;;;;-1:-1:-1;;;;;46573:33:0;;46615:4;;;;;;;;;-1:-1:-1;;;;;46615:4:0;46622:12;46635:1;46622:15;;;;;;;;;;;;;;46573:65;;;;;;;;;;;;;-1:-1:-1;;;;;46573:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;45806:3:0;;45777:869;;;-1:-1:-1;46689:4:0;;:22;;;-1:-1:-1;;;46689:22:0;;;;46657:24;;-1:-1:-1;;;;;46689:4:0;;:20;;:22;;;;;;;;;;;;;;:4;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46689:22:0;;;46785:4;;46689:22;46785:80;;-1:-1:-1;;;46785:80:0;;;;;;;;;;;;;;46859:4;46785:80;;;;;;46689:22;;-1:-1:-1;46719:29:0;;;;-1:-1:-1;;;;;46785:4:0;;:31;;:80;;;;;;;;;;;:4;:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46718:147;;;;46893:10;-1:-1:-1;;;;;46879:82:0;;46905:10;46917:9;46928:14;46944:16;46879:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46970:4;;;;;;;;;-1:-1:-1;;;;;46970:4:0;-1:-1:-1;;;;;46970:13:0;;46984:14;47000:12;46970:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47020:4:0;;:52;;-1:-1:-1;;;;;;47020:4:0;;-1:-1:-1;47038:10:0;47050:21;47020:17;:52::i;:::-;47081:15;47099:28;:10;47114:12;47099:14;:28::i;:::-;47081:46;-1:-1:-1;47138:11:0;;47134:134;;47160:4;;:22;;;-1:-1:-1;;;47160:22:0;;;;;;;;;;-1:-1:-1;;;;;47160:4:0;;;;:13;;:22;;;;;:4;;:22;;;;;;;;:4;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47191:28:0;;:10;;-1:-1:-1;47191:28:0;;;;;-1:-1:-1;47211:7:0;;47191:28;;;;47211:7;47191:10;:28;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47233:27:0;;;;;;;;47240:10;;47233:27;;;;;;;;;;47134:134;44880:2393;;;;;;;;;;;;;;:::o;9571:422::-;9938:20;9977:8;;;9571:422::o;44724:150::-;-1:-1:-1;;;;;44832:35:0;;;44787:14;44832:35;;;:28;:35;;;;;;;;44724:150::o;31977:517::-;32070:14;32116:1;32105:8;:12;32097:68;;;;-1:-1:-1;;;32097:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32196:1;32184:9;:13;:31;;;;;32214:1;32201:10;:14;32184:31;32176:84;;;;-1:-1:-1;;;32176:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32271:20;32294:17;:8;32307:3;32294:12;:17::i;:::-;32271:40;-1:-1:-1;32322:14:0;32339:31;32271:40;32359:10;32339:19;:31::i;:::-;32322:48;-1:-1:-1;32381:16:0;32400:40;32424:15;32400:19;:9;32414:4;32400:13;:19::i;:::-;:23;;:40::i;:::-;32381:59;;32475:11;32463:9;:23;;;;;;;31977:517;-1:-1:-1;;;;;;;31977:517:0:o;15506:177::-;15616:58;;;-1:-1:-1;;;;;15616:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15616:58:0;-1:-1:-1;;;15616:58:0;;;15589:86;;15609:5;;15589:19;:86::i;2904:471::-;2962:7;3207:6;3203:47;;-1:-1:-1;3237:1:0;3230:8;;3203:47;3274:5;;;3278:1;3274;:5;:1;3298:5;;;;;:10;3290:56;;;;-1:-1:-1;;;3290:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3366:1;2904:471;-1:-1:-1;;;2904:471:0:o;3851:132::-;3909:7;3936:39;3940:1;3943;3936:39;;;;;;;;;;;;;-1:-1:-1;;;3936:39:0;;;:3;:39::i;2014:136::-;2072:7;2099:43;2103:1;2106;2099:43;;;;;;;;;;;;;;;;;:3;:43::i;19201:106::-;19289:10;19201:106;:::o;47279:1002::-;47345:7;47361:23;47387:4;;;;;;;;;-1:-1:-1;;;;;47387:4:0;-1:-1:-1;;;;;47387:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47387:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47387:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47387:23:0;;;;;;;;;;;;-1:-1:-1;47387:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47361:49;;47417:11;47431:6;:13;47417:27;;47454:30;47486;47518:19;47539:21;47571:46;47595:13;47610:6;47571:23;:46::i;:::-;47626:4;;47453:164;;-1:-1:-1;47453:164:0;;-1:-1:-1;47453:164:0;-1:-1:-1;47453:164:0;-1:-1:-1;47626:63:0;;-1:-1:-1;;;;;47626:4:0;47648:10;47668:4;47675:13;47626:21;:63::i;:::-;47698:4;;:42;;;-1:-1:-1;;;47698:42:0;;-1:-1:-1;;;;;47698:4:0;;;:42;;;;;;;;;;;;;;:4;;:12;;:42;;;;;;;;;;;;;;:4;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47749:4:0;;:43;;;-1:-1:-1;;;47749:43:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47749:4:0;;;;:13;;47763;;47778;;47749:43;;;;;;47698:42;47749:43;;;;;;;;:4;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47806:9;47801:271;47825:3;47821:1;:7;47801:271;;;47844:24;47871:26;47887:6;47894:1;47887:9;;;;;;;47871:26;47844:53;;47906:76;47953:9;47965:13;47979:1;47965:16;;;;;;;;;;;;;;47921:6;47928:1;47921:9;;;;;;;47906:76;47991:9;-1:-1:-1;;;;;47991:14:0;;48014:1;48018:13;48032:1;48018:16;;;;;;;;;;;;;;48044:4;48061:1;-1:-1:-1;;;;;48051:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48051:12:0;;47991:73;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47991:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47830:3:0;;;;;-1:-1:-1;47801:271:0;;-1:-1:-1;;47801:271:0;;;48081:20;48103;48127:23;48138:11;48127:10;:23::i;:::-;48164:83;;;;;;;;;;;;;;;;;;;;;;;;;;48080:70;;-1:-1:-1;48080:70:0;;-1:-1:-1;48178:10:0;;48164:83;;;;;;;;;48263:12;47279:1002;-1:-1:-1;;;;;;;;;47279:1002:0:o;32615:472::-;32708:13;32754:1;32742:9;:13;32734:70;;;;-1:-1:-1;;;32734:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32835:1;32823:9;:13;:31;;;;;32853:1;32840:10;:14;32823:31;32815:84;;;;-1:-1:-1;;;32815:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32910:14;32927:34;32956:4;32927:24;:9;32941;32927:13;:24::i;:::-;:28;;:34::i;:::-;32910:51;-1:-1:-1;32972:16:0;32991:34;33021:3;32991:25;:10;33006:9;32991:14;:25::i;:34::-;32972:53;;33047:32;33077:1;33060:11;33048:9;:23;;;;;;;33047:29;:32::i;:::-;33036:43;32615:472;-1:-1:-1;;;;;;32615:472:0:o;1550:181::-;1608:7;1640:5;;;1664:6;;;;1656:46;;;;;-1:-1:-1;;;1656:46:0;;;;;;;;;;;;-1:-1:-1;;;1656:46:0;;;;;;;;;;;;;;15691:205;15819:68;;;-1:-1:-1;;;;;15819:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15819:68:0;-1:-1:-1;;;15819:68:0;;;15792:96;;15812:5;;15792:19;:96::i;29653:142::-;29705:6;29732;;;:30;;-1:-1:-1;;29747:5:0;;;29761:1;29756;29747:5;29756:1;29742:15;;;;;:20;29732:30;29724:63;;;;;-1:-1:-1;;;29724:63:0;;;;;;;;;;;;-1:-1:-1;;;29724:63:0;;;;;;;;;;;;;;29380:128;29464:5;;;29459:16;;;;29451:49;;;;;-1:-1:-1;;;29451:49:0;;;;;;;;;;;;-1:-1:-1;;;29451:49:0;;;;;;;;;;;;;;17811:761;18235:23;18261:69;18289:4;18261:69;;;;;;;;;;;;;;;;;18269:5;-1:-1:-1;;;;;18261:27:0;;;:69;;;;;:::i;:::-;18345:17;;18235:95;;-1:-1:-1;18345:21:0;18341:224;;18487:10;18476:30;;;;;;;;;;;;;;;-1:-1:-1;18476:30:0;18468:85;;;;-1:-1:-1;;;18468:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4479:278;4565:7;4600:12;4593:5;4585:28;;;;-1:-1:-1;;;4585:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4624:9;4640:1;4636;:5;;;;;;;4479:278;-1:-1:-1;;;;;4479:278:0:o;2453:192::-;2539:7;2575:12;2567:6;;;;2559:29;;;;-1:-1:-1;;;2559:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2611:5:0;;;2453:192::o;29516:129::-;29600:5;;;29595:16;;;;29587:50;;;;;-1:-1:-1;;;29587:50:0;;;;;;;;;;;;-1:-1:-1;;;29587:50:0;;;;;;;;;;;;;;12489:196;12592:12;12624:53;12647:6;12655:4;12661:1;12664:12;12624:22;:53::i;:::-;12617:60;12489:196;-1:-1:-1;;;;12489:196:0:o;13866:979::-;13996:12;14029:18;14040:6;14029:10;:18::i;:::-;14021:60;;;;;-1:-1:-1;;;14021:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14155:12;14169:23;14196:6;-1:-1:-1;;;;;14196:11:0;14216:8;14227:4;14196:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14196:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14154:78;;;;14247:7;14243:595;;;14278:10;-1:-1:-1;14271:17:0;;-1:-1:-1;14271:17:0;14243:595;14392:17;;:21;14388:439;;14655:10;14649:17;14716:15;14703:10;14699:2;14695:19;14688:44;14603:148;14791:20;;-1:-1:-1;;;14791:20:0;;;;;;;;;;;;;;;;;14798:12;;14791:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://ba9f57025240a873b40dea4f2b1b43a5709ec543e8884bd0722f819539970755

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.