POL Price: $0.321929 (+0.89%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Trade315668942022-08-06 0:01:08923 days ago1659744068IN
0x413226Da...4082dECE4
0 POL0.0025756636.8
Trade315668942022-08-06 0:01:08923 days ago1659744068IN
0x413226Da...4082dECE4
0 POL0.0021599739
Trade307688722022-07-16 0:01:33944 days ago1657929693IN
0x413226Da...4082dECE4
0 POL0.0017471931
Trade259713682022-03-15 14:16:111066 days ago1647353771IN
0x413226Da...4082dECE4
82.5875947 POL0.0042139131.44310077
Trade259394832022-03-14 16:35:501067 days ago1647275750IN
0x413226Da...4082dECE4
641 POL0.004103730.62629497
Trade255759432022-03-04 15:48:291077 days ago1646408909IN
0x413226Da...4082dECE4
350 POL0.0245016739
Trade255207682022-03-03 5:27:221079 days ago1646285242IN
0x413226Da...4082dECE4
0 POL0.020712285
Trade255195222022-03-03 4:38:531079 days ago1646282333IN
0x413226Da...4082dECE4
0 POL0.0075680531.7761
Trade255176492022-03-03 3:30:151079 days ago1646278215IN
0x413226Da...4082dECE4
0 POL0.0052953731.6743
Trade255152872022-03-03 1:57:431079 days ago1646272663IN
0x413226Da...4082dECE4
0 POL0.0162020430
Trade255141962022-03-03 1:15:531079 days ago1646270153IN
0x413226Da...4082dECE4
0 POL0.0080712733.88900271
Trade255127102022-03-03 0:18:201079 days ago1646266700IN
0x413226Da...4082dECE4
58 POL0.0115812131.3265
Trade255124132022-03-03 0:06:471079 days ago1646266007IN
0x413226Da...4082dECE4
0 POL0.0126215835.54333811
Trade255118062022-03-02 23:44:511079 days ago1646264691IN
0x413226Da...4082dECE4
0 POL0.0107978543
Trade255108452022-03-02 23:07:351079 days ago1646262455IN
0x413226Da...4082dECE4
0 POL0.005888630.7252
Trade255107222022-03-02 23:03:071079 days ago1646262187IN
0x413226Da...4082dECE4
0.448259 POL0.0144751630.694
Trade255105752022-03-02 22:55:531079 days ago1646261753IN
0x413226Da...4082dECE4
0 POL0.013500730.506
Trade255091712022-03-02 22:02:211079 days ago1646258541IN
0x413226Da...4082dECE4
2.1 POL0.0266178238.6084
Trade255091212022-03-02 22:00:411079 days ago1646258441IN
0x413226Da...4082dECE4
0 POL0.0378641100
Trade255090342022-03-02 21:57:391079 days ago1646258259IN
0x413226Da...4082dECE4
0 POL0.051289100
Trade255089992022-03-02 21:55:121079 days ago1646258112IN
0x413226Da...4082dECE4
0 POL0.0187413100
Trade255085682022-03-02 21:40:041079 days ago1646257204IN
0x413226Da...4082dECE4
0 POL0.0073220130.7415
Trade255079772022-03-02 21:17:381079 days ago1646255858IN
0x413226Da...4082dECE4
7 POL0.0292660234.5522
Trade255079612022-03-02 21:17:021079 days ago1646255822IN
0x413226Da...4082dECE4
7 POL0.01836835.28000003
Trade255066382022-03-02 20:27:031079 days ago1646252823IN
0x413226Da...4082dECE4
0 POL0.0190113233.134
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
259713682022-03-15 14:16:111066 days ago1647353771
0x413226Da...4082dECE4
82.5050071 POL
259713682022-03-15 14:16:111066 days ago1647353771
0x413226Da...4082dECE4
0.08258759 POL
259394832022-03-14 16:35:501067 days ago1647275750
0x413226Da...4082dECE4
640.359 POL
259394832022-03-14 16:35:501067 days ago1647275750
0x413226Da...4082dECE4
0.641 POL
255759432022-03-04 15:48:291077 days ago1646408909
0x413226Da...4082dECE4
349.65 POL
255759432022-03-04 15:48:291077 days ago1646408909
0x413226Da...4082dECE4
0.35 POL
255127102022-03-03 0:18:201079 days ago1646266700
0x413226Da...4082dECE4
57.942 POL
255127102022-03-03 0:18:201079 days ago1646266700
0x413226Da...4082dECE4
0.058 POL
255124132022-03-03 0:06:471079 days ago1646266007
0x413226Da...4082dECE4
3.28199038 POL
255124132022-03-03 0:06:471079 days ago1646266007
0x413226Da...4082dECE4
3.28199038 POL
255107222022-03-02 23:03:071079 days ago1646262187
0x413226Da...4082dECE4
0.44781074 POL
255107222022-03-02 23:03:071079 days ago1646262187
0x413226Da...4082dECE4
0.00044825 POL
255105752022-03-02 22:55:531079 days ago1646261753
0x413226Da...4082dECE4
0.51495283 POL
255105752022-03-02 22:55:531079 days ago1646261753
0x413226Da...4082dECE4
0.00051546 POL
255105752022-03-02 22:55:531079 days ago1646261753
0x413226Da...4082dECE4
0.5154683 POL
255091712022-03-02 22:02:211079 days ago1646258541
0x413226Da...4082dECE4
2.0979 POL
255091712022-03-02 22:02:211079 days ago1646258541
0x413226Da...4082dECE4
0.0021 POL
255090342022-03-02 21:57:391079 days ago1646258259
0x413226Da...4082dECE4
50.58849103 POL
255090342022-03-02 21:57:391079 days ago1646258259
0x413226Da...4082dECE4
50.58849103 POL
255079772022-03-02 21:17:381079 days ago1646255858
0x413226Da...4082dECE4
6.993 POL
255079772022-03-02 21:17:381079 days ago1646255858
0x413226Da...4082dECE4
0.007 POL
255079612022-03-02 21:17:021079 days ago1646255822
0x413226Da...4082dECE4
6.993 POL
255079612022-03-02 21:17:021079 days ago1646255822
0x413226Da...4082dECE4
0.007 POL
255066382022-03-02 20:27:031079 days ago1646252823
0x413226Da...4082dECE4
323.96190607 POL
255066382022-03-02 20:27:031079 days ago1646252823
0x413226Da...4082dECE4
0.32428619 POL
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ArkenDexV3

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-01-10
*/

// SPDX-License-Identifier: UNLICENSED
// Sources flattened with hardhat v2.6.4 https://hardhat.org

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


pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


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


pragma solidity ^0.8.0;

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

        uint256 size;
        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");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// File @openzeppelin/contracts/token/ERC20/utils/[email protected]


pragma solidity ^0.8.0;


/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using 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'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


// File @openzeppelin/contracts/utils/math/[email protected]


pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

    /**
     * @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 a - b;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

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


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


pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}


// File @openzeppelin/contracts/access/[email protected]


pragma solidity ^0.8.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.
 */
abstract 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() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File @uniswap/v2-core/contracts/interfaces/[email protected]

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint 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 (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint 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 (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    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 (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}


// File @uniswap/v2-periphery/contracts/interfaces/[email protected]

pragma solidity >=0.6.2;

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

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

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


// File @uniswap/v3-core/contracts/interfaces/pool/[email protected]

pragma solidity >=0.5.0;

/// @title Pool state that never changes
/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values
interface IUniswapV3PoolImmutables {
    /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface
    /// @return The contract address
    function factory() external view returns (address);

    /// @notice The first of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token0() external view returns (address);

    /// @notice The second of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token1() external view returns (address);

    /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6
    /// @return The fee
    function fee() external view returns (uint24);

    /// @notice The pool tick spacing
    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive
    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...
    /// This value is an int24 to avoid casting even though it is always positive.
    /// @return The tick spacing
    function tickSpacing() external view returns (int24);

    /// @notice The maximum amount of position liquidity that can use any tick in the range
    /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and
    /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool
    /// @return The max amount of liquidity per tick
    function maxLiquidityPerTick() external view returns (uint128);
}


// File @uniswap/v3-core/contracts/interfaces/pool/[email protected]

pragma solidity >=0.5.0;

/// @title Pool state that can change
/// @notice These methods compose the pool's state, and can change with any frequency including multiple times
/// per transaction
interface IUniswapV3PoolState {
    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas
    /// when accessed externally.
    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value
    /// tick The current tick of the pool, i.e. according to the last tick transition that was run.
    /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick
    /// boundary.
    /// observationIndex The index of the last oracle observation that was written,
    /// observationCardinality The current maximum number of observations stored in the pool,
    /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.
    /// feeProtocol The protocol fee for both tokens of the pool.
    /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0
    /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.
    /// unlocked Whether the pool is currently locked to reentrancy
    function slot0()
        external
        view
        returns (
            uint160 sqrtPriceX96,
            int24 tick,
            uint16 observationIndex,
            uint16 observationCardinality,
            uint16 observationCardinalityNext,
            uint8 feeProtocol,
            bool unlocked
        );

    /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool
    /// @dev This value can overflow the uint256
    function feeGrowthGlobal0X128() external view returns (uint256);

    /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool
    /// @dev This value can overflow the uint256
    function feeGrowthGlobal1X128() external view returns (uint256);

    /// @notice The amounts of token0 and token1 that are owed to the protocol
    /// @dev Protocol fees will never exceed uint128 max in either token
    function protocolFees() external view returns (uint128 token0, uint128 token1);

    /// @notice The currently in range liquidity available to the pool
    /// @dev This value has no relationship to the total liquidity across all ticks
    function liquidity() external view returns (uint128);

    /// @notice Look up information about a specific tick in the pool
    /// @param tick The tick to look up
    /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or
    /// tick upper,
    /// liquidityNet how much liquidity changes when the pool price crosses the tick,
    /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,
    /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,
    /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick
    /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,
    /// secondsOutside the seconds spent on the other side of the tick from the current tick,
    /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.
    /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.
    /// In addition, these values are only relative and must be used only in comparison to previous snapshots for
    /// a specific position.
    function ticks(int24 tick)
        external
        view
        returns (
            uint128 liquidityGross,
            int128 liquidityNet,
            uint256 feeGrowthOutside0X128,
            uint256 feeGrowthOutside1X128,
            int56 tickCumulativeOutside,
            uint160 secondsPerLiquidityOutsideX128,
            uint32 secondsOutside,
            bool initialized
        );

    /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information
    function tickBitmap(int16 wordPosition) external view returns (uint256);

    /// @notice Returns the information about a position by the position's key
    /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper
    /// @return _liquidity The amount of liquidity in the position,
    /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,
    /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,
    /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,
    /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke
    function positions(bytes32 key)
        external
        view
        returns (
            uint128 _liquidity,
            uint256 feeGrowthInside0LastX128,
            uint256 feeGrowthInside1LastX128,
            uint128 tokensOwed0,
            uint128 tokensOwed1
        );

    /// @notice Returns data about a specific observation index
    /// @param index The element of the observations array to fetch
    /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time
    /// ago, rather than at a specific index in the array.
    /// @return blockTimestamp The timestamp of the observation,
    /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,
    /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,
    /// Returns initialized whether the observation has been initialized and the values are safe to use
    function observations(uint256 index)
        external
        view
        returns (
            uint32 blockTimestamp,
            int56 tickCumulative,
            uint160 secondsPerLiquidityCumulativeX128,
            bool initialized
        );
}


// File @uniswap/v3-core/contracts/interfaces/pool/[email protected]

pragma solidity >=0.5.0;

/// @title Pool state that is not stored
/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the
/// blockchain. The functions here may have variable gas costs.
interface IUniswapV3PoolDerivedState {
    /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp
    /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing
    /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,
    /// you must call it with secondsAgos = [3600, 0].
    /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in
    /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.
    /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned
    /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp
    /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block
    /// timestamp
    function observe(uint32[] calldata secondsAgos)
        external
        view
        returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);

    /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range
    /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.
    /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first
    /// snapshot is taken and the second snapshot is taken.
    /// @param tickLower The lower tick of the range
    /// @param tickUpper The upper tick of the range
    /// @return tickCumulativeInside The snapshot of the tick accumulator for the range
    /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range
    /// @return secondsInside The snapshot of seconds per liquidity for the range
    function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)
        external
        view
        returns (
            int56 tickCumulativeInside,
            uint160 secondsPerLiquidityInsideX128,
            uint32 secondsInside
        );
}


// File @uniswap/v3-core/contracts/interfaces/pool/[email protected]

pragma solidity >=0.5.0;

/// @title Permissionless pool actions
/// @notice Contains pool methods that can be called by anyone
interface IUniswapV3PoolActions {
    /// @notice Sets the initial price for the pool
    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value
    /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96
    function initialize(uint160 sqrtPriceX96) external;

    /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position
    /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback
    /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends
    /// on tickLower, tickUpper, the amount of liquidity, and the current price.
    /// @param recipient The address for which the liquidity will be created
    /// @param tickLower The lower tick of the position in which to add liquidity
    /// @param tickUpper The upper tick of the position in which to add liquidity
    /// @param amount The amount of liquidity to mint
    /// @param data Any data that should be passed through to the callback
    /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback
    /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback
    function mint(
        address recipient,
        int24 tickLower,
        int24 tickUpper,
        uint128 amount,
        bytes calldata data
    ) external returns (uint256 amount0, uint256 amount1);

    /// @notice Collects tokens owed to a position
    /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.
    /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or
    /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the
    /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.
    /// @param recipient The address which should receive the fees collected
    /// @param tickLower The lower tick of the position for which to collect fees
    /// @param tickUpper The upper tick of the position for which to collect fees
    /// @param amount0Requested How much token0 should be withdrawn from the fees owed
    /// @param amount1Requested How much token1 should be withdrawn from the fees owed
    /// @return amount0 The amount of fees collected in token0
    /// @return amount1 The amount of fees collected in token1
    function collect(
        address recipient,
        int24 tickLower,
        int24 tickUpper,
        uint128 amount0Requested,
        uint128 amount1Requested
    ) external returns (uint128 amount0, uint128 amount1);

    /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position
    /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0
    /// @dev Fees must be collected separately via a call to #collect
    /// @param tickLower The lower tick of the position for which to burn liquidity
    /// @param tickUpper The upper tick of the position for which to burn liquidity
    /// @param amount How much liquidity to burn
    /// @return amount0 The amount of token0 sent to the recipient
    /// @return amount1 The amount of token1 sent to the recipient
    function burn(
        int24 tickLower,
        int24 tickUpper,
        uint128 amount
    ) external returns (uint256 amount0, uint256 amount1);

    /// @notice Swap token0 for token1, or token1 for token0
    /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback
    /// @param recipient The address to receive the output of the swap
    /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0
    /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)
    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this
    /// value after the swap. If one for zero, the price cannot be greater than this value after the swap
    /// @param data Any data to be passed through to the callback
    /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive
    /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive
    function swap(
        address recipient,
        bool zeroForOne,
        int256 amountSpecified,
        uint160 sqrtPriceLimitX96,
        bytes calldata data
    ) external returns (int256 amount0, int256 amount1);

    /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback
    /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback
    /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling
    /// with 0 amount{0,1} and sending the donation amount(s) from the callback
    /// @param recipient The address which will receive the token0 and token1 amounts
    /// @param amount0 The amount of token0 to send
    /// @param amount1 The amount of token1 to send
    /// @param data Any data to be passed through to the callback
    function flash(
        address recipient,
        uint256 amount0,
        uint256 amount1,
        bytes calldata data
    ) external;

    /// @notice Increase the maximum number of price and liquidity observations that this pool will store
    /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to
    /// the input observationCardinalityNext.
    /// @param observationCardinalityNext The desired minimum number of observations for the pool to store
    function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;
}


// File @uniswap/v3-core/contracts/interfaces/pool/[email protected]

pragma solidity >=0.5.0;

/// @title Permissioned pool actions
/// @notice Contains pool methods that may only be called by the factory owner
interface IUniswapV3PoolOwnerActions {
    /// @notice Set the denominator of the protocol's % share of the fees
    /// @param feeProtocol0 new protocol fee for token0 of the pool
    /// @param feeProtocol1 new protocol fee for token1 of the pool
    function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;

    /// @notice Collect the protocol fee accrued to the pool
    /// @param recipient The address to which collected protocol fees should be sent
    /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1
    /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0
    /// @return amount0 The protocol fee collected in token0
    /// @return amount1 The protocol fee collected in token1
    function collectProtocol(
        address recipient,
        uint128 amount0Requested,
        uint128 amount1Requested
    ) external returns (uint128 amount0, uint128 amount1);
}


// File @uniswap/v3-core/contracts/interfaces/pool/[email protected]

pragma solidity >=0.5.0;

/// @title Events emitted by a pool
/// @notice Contains all events emitted by the pool
interface IUniswapV3PoolEvents {
    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool
    /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize
    /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96
    /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool
    event Initialize(uint160 sqrtPriceX96, int24 tick);

    /// @notice Emitted when liquidity is minted for a given position
    /// @param sender The address that minted the liquidity
    /// @param owner The owner of the position and recipient of any minted liquidity
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount The amount of liquidity minted to the position range
    /// @param amount0 How much token0 was required for the minted liquidity
    /// @param amount1 How much token1 was required for the minted liquidity
    event Mint(
        address sender,
        address indexed owner,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount,
        uint256 amount0,
        uint256 amount1
    );

    /// @notice Emitted when fees are collected by the owner of a position
    /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees
    /// @param owner The owner of the position for which fees are collected
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount0 The amount of token0 fees collected
    /// @param amount1 The amount of token1 fees collected
    event Collect(
        address indexed owner,
        address recipient,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount0,
        uint128 amount1
    );

    /// @notice Emitted when a position's liquidity is removed
    /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect
    /// @param owner The owner of the position for which liquidity is removed
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount The amount of liquidity to remove
    /// @param amount0 The amount of token0 withdrawn
    /// @param amount1 The amount of token1 withdrawn
    event Burn(
        address indexed owner,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount,
        uint256 amount0,
        uint256 amount1
    );

    /// @notice Emitted by the pool for any swaps between token0 and token1
    /// @param sender The address that initiated the swap call, and that received the callback
    /// @param recipient The address that received the output of the swap
    /// @param amount0 The delta of the token0 balance of the pool
    /// @param amount1 The delta of the token1 balance of the pool
    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96
    /// @param liquidity The liquidity of the pool after the swap
    /// @param tick The log base 1.0001 of price of the pool after the swap
    event Swap(
        address indexed sender,
        address indexed recipient,
        int256 amount0,
        int256 amount1,
        uint160 sqrtPriceX96,
        uint128 liquidity,
        int24 tick
    );

    /// @notice Emitted by the pool for any flashes of token0/token1
    /// @param sender The address that initiated the swap call, and that received the callback
    /// @param recipient The address that received the tokens from flash
    /// @param amount0 The amount of token0 that was flashed
    /// @param amount1 The amount of token1 that was flashed
    /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee
    /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee
    event Flash(
        address indexed sender,
        address indexed recipient,
        uint256 amount0,
        uint256 amount1,
        uint256 paid0,
        uint256 paid1
    );

    /// @notice Emitted by the pool for increases to the number of observations that can be stored
    /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index
    /// just before a mint/swap/burn.
    /// @param observationCardinalityNextOld The previous value of the next observation cardinality
    /// @param observationCardinalityNextNew The updated value of the next observation cardinality
    event IncreaseObservationCardinalityNext(
        uint16 observationCardinalityNextOld,
        uint16 observationCardinalityNextNew
    );

    /// @notice Emitted when the protocol fee is changed by the pool
    /// @param feeProtocol0Old The previous value of the token0 protocol fee
    /// @param feeProtocol1Old The previous value of the token1 protocol fee
    /// @param feeProtocol0New The updated value of the token0 protocol fee
    /// @param feeProtocol1New The updated value of the token1 protocol fee
    event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New);

    /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner
    /// @param sender The address that collects the protocol fees
    /// @param recipient The address that receives the collected protocol fees
    /// @param amount0 The amount of token0 protocol fees that is withdrawn
    /// @param amount0 The amount of token1 protocol fees that is withdrawn
    event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1);
}


// File @uniswap/v3-core/contracts/interfaces/[email protected]

pragma solidity >=0.5.0;






/// @title The interface for a Uniswap V3 Pool
/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform
/// to the ERC20 specification
/// @dev The pool interface is broken up into many smaller pieces
interface IUniswapV3Pool is
    IUniswapV3PoolImmutables,
    IUniswapV3PoolState,
    IUniswapV3PoolDerivedState,
    IUniswapV3PoolActions,
    IUniswapV3PoolOwnerActions,
    IUniswapV3PoolEvents
{

}


// File contracts/interfaces/IBakeryPair.sol

pragma solidity ^0.8.0;

interface IBakeryPair {
    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 swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to
    ) external;
}


// File contracts/interfaces/IDODOV2.sol


pragma solidity ^0.8.0;

interface IDODOV2 {
    function sellBase(address to) external returns (uint256 receiveQuoteAmount);

    function sellQuote(address to) external returns (uint256 receiveBaseAmount);

    function getVaultReserve()
        external
        view
        returns (uint256 baseReserve, uint256 quoteReserve);

    function _BASE_TOKEN_() external view returns (address);

    function _QUOTE_TOKEN_() external view returns (address);
}


// File contracts/interfaces/IWETH.sol


pragma solidity ^0.8.0;

interface IWETH {
    function deposit() external payable;

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

    function withdraw(uint256) external;
}


// File contracts/interfaces/IVyperSwap.sol


pragma solidity ^0.8.0;

interface IVyperSwap {
    function exchange(
        int128 tokenIndexFrom,
        int128 tokenIndexTo,
        uint256 dx,
        uint256 minDy
    ) external;
}


// File contracts/interfaces/IVyperUnderlyingSwap.sol


pragma solidity ^0.8.0;

interface IVyperUnderlyingSwap {
    function exchange(
        int128 tokenIndexFrom,
        int128 tokenIndexTo,
        uint256 dx,
        uint256 minDy
    ) external;

    function exchange_underlying(
        int128 tokenIndexFrom,
        int128 tokenIndexTo,
        uint256 dx,
        uint256 minDy
    ) external;
}


// File contracts/interfaces/IDoppleSwap.sol


pragma solidity ^0.8.0;

interface IDoppleSwap {
    function getTokenIndex(address tokenAddress) external view returns (uint8);

    function swap(
        uint8 tokenIndexFrom,
        uint8 tokenIndexTo,
        uint256 dx,
        uint256 minDy,
        uint256 deadline
    ) external returns (uint256);
}


// File contracts/interfaces/IDODOV2Proxy.sol


pragma solidity ^0.8.0;

interface IDODOV2Proxy {
    function dodoSwapV2ETHToToken(
        address toToken,
        uint256 minReturnAmount,
        address[] memory dodoPairs,
        uint256 directions,
        bool isIncentive,
        uint256 deadLine
    ) external payable returns (uint256 returnAmount);

    function dodoSwapV2TokenToETH(
        address fromToken,
        uint256 fromTokenAmount,
        uint256 minReturnAmount,
        address[] memory dodoPairs,
        uint256 directions,
        bool isIncentive,
        uint256 deadLine
    ) external returns (uint256 returnAmount);

    function dodoSwapV2TokenToToken(
        address fromToken,
        address toToken,
        uint256 fromTokenAmount,
        uint256 minReturnAmount,
        address[] memory dodoPairs,
        uint256 directions,
        bool isIncentive,
        uint256 deadLine
    ) external returns (uint256 returnAmount);

    function dodoSwapV1(
        address fromToken,
        address toToken,
        uint256 fromTokenAmount,
        uint256 minReturnAmount,
        address[] memory dodoPairs,
        uint256 directions,
        bool isIncentive,
        uint256 deadLine
    ) external payable returns (uint256 returnAmount);
}


// File contracts/interfaces/IBalancer.sol


pragma solidity ^0.8.0;

interface IAsset {
    // solhint-disable-previous-line no-empty-blocks
}

library Balancer {
    enum SwapKind {
        GIVEN_IN,
        GIVEN_OUT
    }

    struct FundManagement {
        address sender;
        bool fromInternalBalance;
        address payable recipient;
        bool toInternalBalance;
    }

    struct SingleSwap {
        bytes32 poolId;
        SwapKind kind;
        IAsset assetIn;
        IAsset assetOut;
        uint256 amount;
        bytes userData;
    }
}

interface IBalancerRouter {
    function swap(
        Balancer.SingleSwap memory singleSwap,
        Balancer.FundManagement memory funds,
        uint256 limit,
        uint256 deadline
    ) external payable returns (uint256);
}

interface IBalancerPool {
    function getPoolId() external view returns (bytes32);
}


// File contracts/interfaces/IArkenApprove.sol


pragma solidity ^0.8.0;

interface IArkenApprove {
    function transferToken(
        address token,
        address from,
        address to,
        uint256 amount
    ) external;

    function updateCallableAddress(address _callableAddress) external;
}


// File contracts/lib/OwnableUpgradeable.sol


pragma solidity ^0.8.0;

abstract contract OwnableUpgradeable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function ownableUpgradeableInitialize() internal {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _setOwner(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'
        );
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File contracts/lib/UniswapV2Library.sol

pragma solidity ^0.8.0;


library UniswapV2Library {
    using SafeMath for uint256;

    // 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(
            uint160(
                uint256(
                    keccak256(
                        abi.encodePacked(
                            hex'ff',
                            factory,
                            keccak256(abi.encodePacked(token0, token1)),
                            hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash
                        )
                    )
                )
            )
        );
    }

    // fetches and sorts the reserves for a pair
    function getReserves(
        address factory,
        address tokenA,
        address tokenB
    ) internal view returns (uint256 reserveA, uint256 reserveB) {
        (address token0, ) = sortTokens(tokenA, tokenB);
        (uint256 reserve0, uint256 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(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) internal pure returns (uint256 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(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut,
        uint256 amountAfterFee // 9970 = fee 0.3%
    ) internal pure returns (uint256 amountOut) {
        require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT');
        require(
            reserveIn > 0 && reserveOut > 0,
            'UniswapV2Library: INSUFFICIENT_LIQUIDITY'
        );
        uint256 amountInWithFee = amountIn.mul(amountAfterFee);
        uint256 numerator = amountInWithFee.mul(reserveOut);
        uint256 denominator = reserveIn.mul(10000).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(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut,
        uint256 amountAfterFee // 9970 = fee 0.3%
    ) internal pure returns (uint256 amountIn) {
        require(amountOut > 0, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT');
        require(
            reserveIn > 0 && reserveOut > 0,
            'UniswapV2Library: INSUFFICIENT_LIQUIDITY'
        );
        uint256 numerator = reserveIn.mul(amountOut).mul(10000);
        uint256 denominator = reserveOut.sub(amountOut).mul(amountAfterFee);
        amountIn = (numerator / denominator).add(1);
    }

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

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


// File contracts/ArkenDexV3.sol


pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2;

















// import 'hardhat/console.sol';

contract ArkenDexV3 is Ownable {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    uint256 constant MAX_INT = 2**256 - 1;
    uint256 public constant _DEADLINE_ = 2**256 - 1;
    address public constant _ETH_ = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

    // Uniswap V3
    uint160 internal constant MIN_SQRT_RATIO = 4295128739 + 1;
    uint160 internal constant MAX_SQRT_RATIO =
        1461446703485210103287273052203988822378723970342 - 1;

    address payable public _FEE_WALLET_ADDR_;
    address public _DODO_APPROVE_ADDR_;
    address public _WETH_;
    address public _WETH_DFYN_;
    address public _ARKEN_APPROVE_;

    /*
    ==============================================================================

    █▀▀ █░█ █▀▀ █▄░█ ▀█▀ █▀
    ██▄ ▀▄▀ ██▄ █░▀█ ░█░ ▄█

    ==============================================================================
    */
    event Swapped(
        address srcToken,
        address dstToken,
        uint256 amountIn,
        uint256 returnAmount
    );
    event FeeWalletUpdated(address newFeeWallet);
    event WETHUpdated(address newWETH);
    event WETHDfynUpdated(address newWETHDfyn);
    event DODOApproveUpdated(address newDODOApproveAddress);
    event ArkenApproveUpdated(address newArkenApproveAddress);
    event FeeRateUpdated(uint256 feeRate);

    /*
    ==============================================================================

    █▀▀ █▀█ █▄░█ █▀▀ █ █▀▀ █░█ █▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ █▀
    █▄▄ █▄█ █░▀█ █▀░ █ █▄█ █▄█ █▀▄ █▀█ ░█░ █ █▄█ █░▀█ ▄█

    ==============================================================================
    */
    constructor(
        address _ownerAddress,
        address payable _feeWalletAddress,
        address _wrappedEther,
        address _wrappedEtherDfyn,
        address _dodoApproveAddress,
        address _arkenApprove
    ) {
        transferOwnership(_ownerAddress);
        _FEE_WALLET_ADDR_ = _feeWalletAddress;
        _DODO_APPROVE_ADDR_ = _dodoApproveAddress;
        _WETH_ = _wrappedEther;
        _WETH_DFYN_ = _wrappedEtherDfyn;
        _ARKEN_APPROVE_ = _arkenApprove;
    }

    receive() external payable {}

    fallback() external payable {}

    function updateFeeWallet(address payable _feeWallet) external onlyOwner {
        require(_feeWallet != address(0), 'fee wallet zero address');
        _FEE_WALLET_ADDR_ = _feeWallet;
        emit FeeWalletUpdated(_FEE_WALLET_ADDR_);
    }

    function updateWETH(address _weth) external onlyOwner {
        require(_weth != address(0), 'WETH zero address');
        _WETH_ = _weth;
        emit WETHUpdated(_WETH_);
    }

    function updateWETHDfyn(address _weth_dfyn) external onlyOwner {
        require(_weth_dfyn != address(0), 'WETH dfyn zero address');
        _WETH_DFYN_ = _weth_dfyn;
        emit WETHDfynUpdated(_WETH_DFYN_);
    }

    function updateDODOApproveAddress(address _dodoApproveAddress)
        external
        onlyOwner
    {
        require(_dodoApproveAddress != address(0), 'dodo approve zero address');
        _DODO_APPROVE_ADDR_ = _dodoApproveAddress;
        emit DODOApproveUpdated(_DODO_APPROVE_ADDR_);
    }

    function updateArkenApprove(address _arkenApprove) external onlyOwner {
        require(_arkenApprove != address(0), 'arken approve zero address');
        _ARKEN_APPROVE_ = _arkenApprove;
        emit ArkenApproveUpdated(_ARKEN_APPROVE_);
    }

    /*
    ==================================================================================

    ▀█▀ █▀█ ▄▀█ █▀▄ █▀▀ ░   ▀█▀ █▀█ ▄▀█ █▀▄ █▀▀ ░   ▀█▀ █▀█ ▄▀█ █▀▄ █▀▀ ░
    ░█░ █▀▄ █▀█ █▄▀ ██▄ ▄   ░█░ █▀▄ █▀█ █▄▀ ██▄ ▄   ░█░ █▀▄ █▀█ █▄▀ ██▄ ▄

    ==================================================================================
    */

    enum RouterInterface {
        UNISWAP_V2,
        BAKERY,
        VYPER,
        VYPER_UNDERLYING,
        DOPPLE,
        DODO_V2,
        DODO_V1,
        DFYN,
        BALANCER,
        UNISWAP_V3
    }
    struct TradeRoute {
        address routerAddress;
        address lpAddress;
        address fromToken;
        address toToken;
        address from;
        address to;
        uint32 part;
        uint8 direction; // DODO
        int16 fromTokenIndex; // Vyper
        int16 toTokenIndex; // Vyper
        uint16 amountAfterFee; // 9970 = fee 0.3% -- 10000 = no fee
        RouterInterface dexInterface; // uint8
    }
    struct TradeDescription {
        address srcToken;
        address dstToken;
        uint256 amountIn;
        uint256 amountOutMin;
        address payable to;
        TradeRoute[] routes;
        bool isRouterSource;
        bool isSourceFee;
    }
    struct TradeData {
        uint256 amountIn;
    }
    struct UniswapV3CallbackData {
        address token0;
        address token1;
    }

    function trade(TradeDescription memory desc) external payable {
        require(desc.amountIn > 0, 'Amount-in needs to be more than zero');
        if (_ETH_ == desc.srcToken) {
            require(
                desc.amountIn == msg.value,
                'Ether value not match amount-in'
            );
            require(
                desc.isRouterSource,
                'Source token Ether requires isRouterSource=true'
            );
        }

        uint256 beforeDstAmt = _getBalance(desc.dstToken, desc.to);

        uint256 returnAmount = _trade(desc);

        if (returnAmount > 0) {
            if (_ETH_ == desc.dstToken) {
                (bool sent, ) = desc.to.call{value: returnAmount}('');
                require(sent, 'Failed to send Ether');
            } else {
                IERC20(desc.dstToken).safeTransfer(desc.to, returnAmount);
            }
        }

        uint256 receivedAmt = _getBalance(desc.dstToken, desc.to).sub(
            beforeDstAmt
        );
        require(
            receivedAmt >= desc.amountOutMin,
            'Received token is not enough'
        );

        emit Swapped(desc.srcToken, desc.dstToken, desc.amountIn, receivedAmt);
    }

    function _trade(TradeDescription memory desc)
        internal
        returns (uint256 returnAmount)
    {
        TradeData memory data = TradeData({amountIn: desc.amountIn});
        if (desc.isSourceFee) {
            if (_ETH_ == desc.srcToken) {
                data.amountIn = _collectFee(desc.amountIn, desc.srcToken);
            } else {
                uint256 fee = _calculateFee(desc.amountIn);
                require(fee < desc.amountIn, 'Fee exceeds amount');
                _transferFromSender(
                    desc.srcToken,
                    _FEE_WALLET_ADDR_,
                    fee,
                    desc.srcToken,
                    data
                );
            }
        }
        if (desc.isRouterSource && _ETH_ != desc.srcToken) {
            _transferFromSender(
                desc.srcToken,
                address(this),
                data.amountIn,
                desc.srcToken,
                data
            );
        }
        if (_ETH_ == desc.srcToken) {
            _wrapEther(_WETH_, address(this).balance);
        }

        for (uint256 i = 0; i < desc.routes.length; i++) {
            _tradeRoute(desc.routes[i], desc, data);
        }

        if (_ETH_ == desc.dstToken) {
            returnAmount = IERC20(_WETH_).balanceOf(address(this));
            _unwrapEther(_WETH_, returnAmount);
        } else {
            returnAmount = IERC20(desc.dstToken).balanceOf(address(this));
        }
        if (!desc.isSourceFee) {
            require(
                returnAmount >= desc.amountOutMin,
                'Return amount is not enough'
            );
            returnAmount = _collectFee(returnAmount, desc.dstToken);
        }
    }

    /*

    █▀▄ █▀▀ ▀▄▀
    █▄▀ ██▄ █░█

    */

    function _tradeRoute(
        TradeRoute memory route,
        TradeDescription memory desc,
        TradeData memory data
    ) internal {
        require(
            route.part <= 100000000,
            'Route percentage can not exceed 100000000'
        );
        require(
            route.fromToken != _ETH_ && route.toToken != _ETH_,
            'TradeRoute from/to token cannot be Ether'
        );
        if (route.from == address(1)) {
            require(
                route.fromToken == desc.srcToken,
                'Cannot transfer token from msg.sender'
            );
        }
        uint256 amountIn;
        if (route.from == address(0)) {
            amountIn = IERC20(
                route.fromToken == _WETH_DFYN_ ? _WETH_ : route.fromToken
            ).balanceOf(address(this)).mul(route.part).div(100000000);
        } else if (route.from == address(1)) {
            amountIn = data.amountIn.mul(route.part).div(100000000);
        }
        if (route.dexInterface == RouterInterface.UNISWAP_V2) {
            _tradeUniswapV2(route, amountIn, desc, data);
        } else if (route.dexInterface == RouterInterface.BAKERY) {
            _tradeBakery(route, amountIn, desc, data);
        } else if (route.dexInterface == RouterInterface.DODO_V2) {
            _tradeDODOV2(route, amountIn, desc, data);
        } else if (route.dexInterface == RouterInterface.DODO_V1) {
            _tradeDODOV1(route, amountIn);
        } else if (route.dexInterface == RouterInterface.DFYN) {
            _tradeDfyn(route, amountIn, desc, data);
        } else if (route.dexInterface == RouterInterface.VYPER) {
            _tradeVyper(route, amountIn);
        } else if (route.dexInterface == RouterInterface.VYPER_UNDERLYING) {
            _tradeVyperUnderlying(route, amountIn);
        } else if (route.dexInterface == RouterInterface.DOPPLE) {
            _tradeDopple(route, amountIn);
        } else if (route.dexInterface == RouterInterface.BALANCER) {
            _tradeBalancer(route, amountIn);
        } else if (route.dexInterface == RouterInterface.UNISWAP_V3) {
            _tradeUniswapV3(route, amountIn, desc);
        } else {
            require(false, 'unknown router interface');
        }
    }

    function _tradeUniswapV2(
        TradeRoute memory route,
        uint256 amountIn,
        TradeDescription memory desc,
        TradeData memory data
    ) internal {
        if (route.from == address(0)) {
            IERC20(route.fromToken).safeTransfer(route.lpAddress, amountIn);
        } else if (route.from == address(1)) {
            _transferFromSender(
                route.fromToken,
                route.lpAddress,
                amountIn,
                desc.srcToken,
                data
            );
        }
        IUniswapV2Pair pair = IUniswapV2Pair(route.lpAddress);
        (uint256 reserve0, uint256 reserve1, ) = pair.getReserves();
        (uint256 reserveFrom, uint256 reserveTo) = route.fromToken ==
            pair.token0()
            ? (reserve0, reserve1)
            : (reserve1, reserve0);
        amountIn = IERC20(route.fromToken).balanceOf(route.lpAddress).sub(
            reserveFrom
        );
        uint256 amountOut = UniswapV2Library.getAmountOut(
            amountIn,
            reserveFrom,
            reserveTo,
            route.amountAfterFee
        );
        address to = route.to;
        if (to == address(0)) to = address(this);
        if (to == address(1)) to = desc.to;
        if (route.toToken == pair.token0()) {
            pair.swap(amountOut, 0, to, '');
        } else {
            pair.swap(0, amountOut, to, '');
        }
    }

    function _tradeDfyn(
        TradeRoute memory route,
        uint256 amountIn,
        TradeDescription memory desc,
        TradeData memory data
    ) internal {
        if (route.fromToken == _WETH_DFYN_) {
            _unwrapEther(_WETH_, amountIn);
            _wrapEther(_WETH_DFYN_, amountIn);
        }
        _tradeUniswapV2(route, amountIn, desc, data);
        if (route.toToken == _WETH_DFYN_) {
            uint256 amountOut = IERC20(_WETH_DFYN_).balanceOf(address(this));
            _unwrapEther(_WETH_DFYN_, amountOut);
            _wrapEther(_WETH_, amountOut);
        }
    }

    function _tradeBakery(
        TradeRoute memory route,
        uint256 amountIn,
        TradeDescription memory desc,
        TradeData memory data
    ) internal {
        if (route.from == address(0)) {
            IERC20(route.fromToken).safeTransfer(route.lpAddress, amountIn);
        } else if (route.from == address(1)) {
            _transferFromSender(
                route.fromToken,
                route.lpAddress,
                amountIn,
                desc.srcToken,
                data
            );
        }
        IBakeryPair pair = IBakeryPair(route.lpAddress);
        (uint256 reserve0, uint256 reserve1, ) = pair.getReserves();
        (uint256 reserveFrom, uint256 reserveTo) = route.fromToken ==
            pair.token0()
            ? (reserve0, reserve1)
            : (reserve1, reserve0);
        amountIn = IERC20(route.fromToken).balanceOf(route.lpAddress).sub(
            reserveFrom
        );
        uint256 amountOut = UniswapV2Library.getAmountOut(
            amountIn,
            reserveFrom,
            reserveTo,
            route.amountAfterFee
        );
        address to = route.to;
        if (to == address(0)) to = address(this);
        if (to == address(1)) to = desc.to;
        if (route.toToken == pair.token0()) {
            pair.swap(amountOut, 0, to);
        } else {
            pair.swap(0, amountOut, to);
        }
    }

    function _tradeUniswapV3(
        TradeRoute memory route,
        uint256 amountIn,
        TradeDescription memory desc
    ) internal {
        require(route.from == address(0), 'route.from should be zero address');
        IUniswapV3Pool pool = IUniswapV3Pool(route.lpAddress);
        bool zeroForOne = pool.token0() == route.fromToken;
        address to = route.to;
        if (to == address(0)) to = address(this);
        if (to == address(1)) to = desc.to;
        pool.swap(
            to,
            zeroForOne,
            int256(amountIn),
            zeroForOne ? MIN_SQRT_RATIO : MAX_SQRT_RATIO,
            abi.encode(
                UniswapV3CallbackData({
                    token0: pool.token0(),
                    token1: pool.token1()
                })
            )
        );
    }

    function _tradeDODOV2(
        TradeRoute memory route,
        uint256 amountIn,
        TradeDescription memory desc,
        TradeData memory data
    ) internal {
        if (route.from == address(0)) {
            IERC20(route.fromToken).safeTransfer(route.lpAddress, amountIn);
        } else if (route.from == address(1)) {
            _transferFromSender(
                route.fromToken,
                route.lpAddress,
                amountIn,
                desc.srcToken,
                data
            );
        }
        address to = route.to;
        if (to == address(0)) to = address(this);
        if (to == address(1)) to = desc.to;
        if (IDODOV2(route.lpAddress)._BASE_TOKEN_() == route.fromToken) {
            IDODOV2(route.lpAddress).sellBase(to);
        } else {
            IDODOV2(route.lpAddress).sellQuote(to);
        }
    }

    function _tradeDODOV1(TradeRoute memory route, uint256 amountIn) internal {
        require(route.from == address(0), 'route.from should be zero address');
        _increaseAllowance(route.fromToken, _DODO_APPROVE_ADDR_, amountIn);
        address[] memory dodoPairs = new address[](1);
        dodoPairs[0] = route.lpAddress;
        IDODOV2Proxy(route.routerAddress).dodoSwapV1(
            route.fromToken,
            route.toToken,
            amountIn,
            1,
            dodoPairs,
            route.direction,
            false,
            _DEADLINE_
        );
    }

    function _tradeVyper(TradeRoute memory route, uint256 amountIn) internal {
        require(route.from == address(0), 'route.from should be zero address');
        _increaseAllowance(route.fromToken, route.routerAddress, amountIn);
        IVyperSwap(route.routerAddress).exchange(
            route.fromTokenIndex,
            route.toTokenIndex,
            amountIn,
            0
        );
    }

    function _tradeVyperUnderlying(TradeRoute memory route, uint256 amountIn)
        internal
    {
        require(route.from == address(0), 'route.from should be zero address');
        _increaseAllowance(route.fromToken, route.routerAddress, amountIn);
        IVyperUnderlyingSwap(route.routerAddress).exchange_underlying(
            route.fromTokenIndex,
            route.toTokenIndex,
            amountIn,
            0
        );
    }

    function _tradeDopple(TradeRoute memory route, uint256 amountIn) internal {
        require(route.from == address(0), 'route.from should be zero address');
        _increaseAllowance(route.fromToken, route.routerAddress, amountIn);
        IDoppleSwap doppleSwap = IDoppleSwap(route.routerAddress);
        uint8 tokenIndexFrom = doppleSwap.getTokenIndex(route.fromToken);
        uint8 tokenIndexTo = doppleSwap.getTokenIndex(route.toToken);
        doppleSwap.swap(tokenIndexFrom, tokenIndexTo, amountIn, 0, _DEADLINE_);
    }

    function _tradeBalancer(TradeRoute memory route, uint256 amountIn)
        internal
    {
        require(route.from == address(0), 'route.from should be zero address');
        _increaseAllowance(route.fromToken, route.routerAddress, amountIn);
        IBalancerRouter(route.routerAddress).swap(
            Balancer.SingleSwap({
                poolId: IBalancerPool(route.lpAddress).getPoolId(),
                kind: Balancer.SwapKind.GIVEN_IN,
                assetIn: IAsset(route.fromToken),
                assetOut: IAsset(route.toToken),
                amount: amountIn,
                userData: '0x'
            }),
            Balancer.FundManagement({
                sender: address(this),
                fromInternalBalance: false,
                recipient: payable(this),
                toInternalBalance: false
            }),
            0,
            _DEADLINE_
        );
    }

    function uniswapV3SwapCallback(
        int256 amount0Delta,
        int256 amount1Delta,
        bytes calldata _data
    ) external {
        UniswapV3CallbackData memory data = abi.decode(
            _data,
            (UniswapV3CallbackData)
        );
        if (amount0Delta > 0) {
            IERC20(data.token0).safeTransfer(msg.sender, uint256(amount0Delta));
        } else if (amount1Delta > 0) {
            IERC20(data.token1).safeTransfer(msg.sender, uint256(amount1Delta));
        }
    }

    /*

    █▀▀ █▀█ █░░ █░░ █▀▀ █▀▀ ▀█▀   █▀▀ █▀▀ █▀▀
    █▄▄ █▄█ █▄▄ █▄▄ ██▄ █▄▄ ░█░   █▀░ ██▄ ██▄

    */

    function _collectFee(uint256 amount, address token)
        internal
        returns (uint256 remainingAmount)
    {
        uint256 fee = _calculateFee(amount);
        require(fee < amount, 'Fee exceeds amount');
        remainingAmount = amount.sub(fee);
        if (_ETH_ == token) {
            (bool sent, ) = _FEE_WALLET_ADDR_.call{value: fee}('');
            require(sent, 'Failed to send Ether too fee');
        } else {
            IERC20(token).safeTransfer(_FEE_WALLET_ADDR_, fee);
        }
    }

    function _calculateFee(uint256 amount) internal pure returns (uint256 fee) {
        return amount.div(1000);
    }

    // internal functions

    function _transferFromSender(
        address token,
        address to,
        uint256 amount,
        address srcToken,
        TradeData memory data
    ) internal {
        data.amountIn = data.amountIn.sub(amount);
        if (srcToken != _ETH_) {
            IArkenApprove(_ARKEN_APPROVE_).transferToken(
                address(token),
                msg.sender,
                to,
                amount
            );
        } else {
            _wrapEther(_WETH_, amount);
            if (to != address(this)) {
                IERC20(_WETH_).safeTransfer(to, amount);
            }
        }
    }

    function _wrapEther(address weth, uint256 amount) internal {
        IWETH(weth).deposit{value: amount}();
    }

    function _unwrapEther(address weth, uint256 amount) internal {
        IWETH(weth).withdraw(amount);
    }

    function _increaseAllowance(
        address token,
        address spender,
        uint256 amount
    ) internal {
        uint256 allowance = IERC20(token).allowance(address(this), spender);
        if (amount > allowance) {
            uint256 increaseAmount = MAX_INT.sub(allowance);
            IERC20(token).safeIncreaseAllowance(spender, increaseAmount);
        }
    }

    function _getBalance(address token, address account)
        internal
        view
        returns (uint256)
    {
        if (_ETH_ == token) {
            return account.balance;
        } else {
            return IERC20(token).balanceOf(account);
        }
    }

    /*

    █▀▄ █▀▀ █░█
    █▄▀ ██▄ ▀▄▀

    */
    function testTransfer(TradeDescription memory desc)
        external
        payable
        returns (uint256 returnAmount)
    {
        IERC20 dstToken = IERC20(desc.dstToken);
        returnAmount = _trade(desc);
        uint256 beforeAmount = dstToken.balanceOf(desc.to);
        dstToken.safeTransfer(desc.to, returnAmount);
        uint256 afterAmount = dstToken.balanceOf(desc.to);
        uint256 got = afterAmount.sub(beforeAmount);
        require(got == returnAmount, 'ArkenTester: Has Tax');
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_ownerAddress","type":"address"},{"internalType":"address payable","name":"_feeWalletAddress","type":"address"},{"internalType":"address","name":"_wrappedEther","type":"address"},{"internalType":"address","name":"_wrappedEtherDfyn","type":"address"},{"internalType":"address","name":"_dodoApproveAddress","type":"address"},{"internalType":"address","name":"_arkenApprove","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newArkenApproveAddress","type":"address"}],"name":"ArkenApproveUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newDODOApproveAddress","type":"address"}],"name":"DODOApproveUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"feeRate","type":"uint256"}],"name":"FeeRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newFeeWallet","type":"address"}],"name":"FeeWalletUpdated","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":false,"internalType":"address","name":"srcToken","type":"address"},{"indexed":false,"internalType":"address","name":"dstToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"returnAmount","type":"uint256"}],"name":"Swapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newWETHDfyn","type":"address"}],"name":"WETHDfynUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newWETH","type":"address"}],"name":"WETHUpdated","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"_ARKEN_APPROVE_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_DEADLINE_","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_DODO_APPROVE_ADDR_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_ETH_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_FEE_WALLET_ADDR_","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_WETH_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_WETH_DFYN_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"srcToken","type":"address"},{"internalType":"address","name":"dstToken","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"},{"components":[{"internalType":"address","name":"routerAddress","type":"address"},{"internalType":"address","name":"lpAddress","type":"address"},{"internalType":"address","name":"fromToken","type":"address"},{"internalType":"address","name":"toToken","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"part","type":"uint32"},{"internalType":"uint8","name":"direction","type":"uint8"},{"internalType":"int16","name":"fromTokenIndex","type":"int16"},{"internalType":"int16","name":"toTokenIndex","type":"int16"},{"internalType":"uint16","name":"amountAfterFee","type":"uint16"},{"internalType":"enum ArkenDexV3.RouterInterface","name":"dexInterface","type":"uint8"}],"internalType":"struct ArkenDexV3.TradeRoute[]","name":"routes","type":"tuple[]"},{"internalType":"bool","name":"isRouterSource","type":"bool"},{"internalType":"bool","name":"isSourceFee","type":"bool"}],"internalType":"struct ArkenDexV3.TradeDescription","name":"desc","type":"tuple"}],"name":"testTransfer","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"srcToken","type":"address"},{"internalType":"address","name":"dstToken","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"},{"components":[{"internalType":"address","name":"routerAddress","type":"address"},{"internalType":"address","name":"lpAddress","type":"address"},{"internalType":"address","name":"fromToken","type":"address"},{"internalType":"address","name":"toToken","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"part","type":"uint32"},{"internalType":"uint8","name":"direction","type":"uint8"},{"internalType":"int16","name":"fromTokenIndex","type":"int16"},{"internalType":"int16","name":"toTokenIndex","type":"int16"},{"internalType":"uint16","name":"amountAfterFee","type":"uint16"},{"internalType":"enum ArkenDexV3.RouterInterface","name":"dexInterface","type":"uint8"}],"internalType":"struct ArkenDexV3.TradeRoute[]","name":"routes","type":"tuple[]"},{"internalType":"bool","name":"isRouterSource","type":"bool"},{"internalType":"bool","name":"isSourceFee","type":"bool"}],"internalType":"struct ArkenDexV3.TradeDescription","name":"desc","type":"tuple"}],"name":"trade","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_arkenApprove","type":"address"}],"name":"updateArkenApprove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dodoApproveAddress","type":"address"}],"name":"updateDODOApproveAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_feeWallet","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_weth","type":"address"}],"name":"updateWETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_weth_dfyn","type":"address"}],"name":"updateWETHDfyn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162003dd538038062003dd58339810160408190526200003491620001d3565b6200003f33620000ae565b6200004a86620000fe565b600180546001600160a01b03199081166001600160a01b03978816179091556002805482169387169390931790925560038054831694861694909417909355600480548216928516929092179091556005805490911691909216179055506200027d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146200015e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620001c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000155565b620001d081620000ae565b50565b60008060008060008060c08789031215620001ed57600080fd5b8651620001fa8162000267565b60208801519096506200020d8162000267565b6040880151909550620002208162000267565b6060880151909450620002338162000267565b6080880151909350620002468162000267565b60a0880151909250620002598162000267565b809150509295509295509295565b6001600160a01b0381168114620001d057600080fd5b613b48806200028d6000396000f3fe6080604052600436106101015760003560e01c80638b2c83161161008f578063d6d5b72711610061578063d6d5b727146102ac578063eab4fb91146102cc578063f2fde38b146102ec578063fa461e331461030c578063fe9440d71461032c57005b80638b2c8316146102265780638da5cb5b14610246578063a50f828614610264578063c165dd971461028457005b806349b42c9e116100d357806349b42c9e1461019e57806366718524146101b1578063715018a6146101d157806371ebf66c146101e65780638712d62c1461020657005b80630d4eec8f1461010a57806315550e311461014757806322d1fee6146101675780632a56e1a21461018857005b3661010857005b005b34801561011657600080fd5b5060035461012a906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561015357600080fd5b5060045461012a906001600160a01b031681565b61017a610175366004613530565b61034c565b60405190815260200161013e565b34801561019457600080fd5b5061017a60001981565b6101086101ac366004613530565b6104e4565b3480156101bd57600080fd5b506101086101cc36600461341c565b610823565b3480156101dd57600080fd5b506101086108f8565b3480156101f257600080fd5b5060015461012a906001600160a01b031681565b34801561021257600080fd5b5060025461012a906001600160a01b031681565b34801561023257600080fd5b5061010861024136600461341c565b61092e565b34801561025257600080fd5b506000546001600160a01b031661012a565b34801561027057600080fd5b5060055461012a906001600160a01b031681565b34801561029057600080fd5b5061012a73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b3480156102b857600080fd5b506101086102c736600461341c565b6109fc565b3480156102d857600080fd5b506101086102e736600461341c565b610aca565b3480156102f857600080fd5b5061010861030736600461341c565b610b91565b34801561031857600080fd5b506101086103273660046134b0565b610c2c565b34801561033857600080fd5b5061010861034736600461341c565b610c89565b602081015160009061035d83610d4b565b60808401516040516370a0823160e01b81526001600160a01b039182166004820152919350600091908316906370a082319060240160206040518083038186803b1580156103aa57600080fd5b505afa1580156103be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e29190613473565b60808501519091506103ff906001600160a01b03841690856110aa565b60808401516040516370a0823160e01b81526001600160a01b0391821660048201526000918416906370a082319060240160206040518083038186803b15801561044857600080fd5b505afa15801561045c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104809190613473565b9050600061048e8284611112565b90508481146104db5760405162461bcd60e51b8152602060048201526014602482015273082e4d6cadca8cae6e8cae4744090c2e640a8c2f60631b60448201526064015b60405180910390fd5b50505050919050565b60008160400151116105445760405162461bcd60e51b8152602060048201526024808201527f416d6f756e742d696e206e6565647320746f206265206d6f7265207468616e206044820152637a65726f60e01b60648201526084016104d2565b80516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee141561062657348160400151146105bd5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c7565206e6f74206d6174636820616d6f756e742d696e0060448201526064016104d2565b8060c001516106265760405162461bcd60e51b815260206004820152602f60248201527f536f7572636520746f6b656e204574686572207265717569726573206973526f60448201526e75746572536f757263653d7472756560881b60648201526084016104d2565b600061063a82602001518360800151611127565b9050600061064783610d4b565b9050801561074b5782602001516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b0316141561072557600083608001516001600160a01b03168260405160006040518083038185875af1925050503d80600081146106d2576040519150601f19603f3d011682016040523d82523d6000602084013e6106d7565b606091505b505090508061071f5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016104d2565b5061074b565b61074b83608001518285602001516001600160a01b03166110aa9092919063ffffffff16565b60006107698361076386602001518760800151611127565b90611112565b905083606001518110156107bf5760405162461bcd60e51b815260206004820152601c60248201527f526563656976656420746f6b656e206973206e6f7420656e6f7567680000000060448201526064016104d2565b835160208086015160408088015181516001600160a01b03958616815294909216928401929092528282015260608201839052517fa078c4190abe07940190effc1846be0ccf03ad6007bc9e93f9697d0b460befbb9181900360800190a150505050565b6000546001600160a01b0316331461084d5760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b0381166108a35760405162461bcd60e51b815260206004820152601760248201527f6665652077616c6c6574207a65726f206164647265737300000000000000000060448201526064016104d2565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f29acee77dafcfa0143d74a7ea236018f3a6e1fa71e27fc59bbfbc6b8ca8edccd906020015b60405180910390a150565b6000546001600160a01b031633146109225760405162461bcd60e51b81526004016104d29061382d565b61092c60006111df565b565b6000546001600160a01b031633146109585760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b0381166109ae5760405162461bcd60e51b815260206004820152601a60248201527f61726b656e20617070726f7665207a65726f206164647265737300000000000060448201526064016104d2565b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527fbf8272bb6f26e323c8e76a4b80605dcaf8b505cbb54af5597de0798f56f5479a906020016108ed565b6000546001600160a01b03163314610a265760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b038116610a7c5760405162461bcd60e51b815260206004820152601960248201527f646f646f20617070726f7665207a65726f20616464726573730000000000000060448201526064016104d2565b600280546001600160a01b0319166001600160a01b0383169081179091556040519081527fef5e94a3cc388a09413f0ff2f2d12bd910781c7da59abe92bfea953326723987906020016108ed565b6000546001600160a01b03163314610af45760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b038116610b435760405162461bcd60e51b815260206004820152601660248201527557455448206466796e207a65726f206164647265737360501b60448201526064016104d2565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527ff3154f728a6cb38c0e893edb4379759c060cff286ca456907299e6a498caaadd906020016108ed565b6000546001600160a01b03163314610bbb5760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b038116610c205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d2565b610c29816111df565b50565b6000610c3a82840184613607565b90506000851315610c60578051610c5b906001600160a01b031633876110aa565b610c82565b6000841315610c82576020810151610c82906001600160a01b031633866110aa565b5050505050565b6000546001600160a01b03163314610cb35760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b038116610cfd5760405162461bcd60e51b815260206004820152601160248201527057455448207a65726f206164647265737360781b60448201526064016104d2565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5f85e7e522385144040f94bcb1eeaeb07da5e11d6384c124c09f53986d0ed8bc906020016108ed565b6040805160208101825290820151815260e08201516000919015610e1e5782516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610da857610da18360400151846000015161122f565b8152610e1e565b6000610db7846040015161137c565b905083604001518110610e015760405162461bcd60e51b815260206004820152601260248201527111995948195e18d959591cc8185b5bdd5b9d60721b60448201526064016104d2565b8351600154610e1c91906001600160a01b031683828661138a565b505b8260c001518015610e4d575082516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14155b15610e645782518151610e6491903090828561138a565b82516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610ea057600354610ea0906001600160a01b031647611472565b60005b8360a0015151811015610eea57610ed88460a001518281518110610ec957610ec9613aa2565b602002602001015185846114ca565b80610ee281613a5b565b915050610ea3565b5082602001516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03161415610fb6576003546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015610f6057600080fd5b505afa158015610f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f989190613473565b600354909250610fb1906001600160a01b03168361199c565b611036565b60208301516040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015610ffb57600080fd5b505afa15801561100f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110339190613473565b91505b8260e001516110a45782606001518210156110935760405162461bcd60e51b815260206004820152601b60248201527f52657475726e20616d6f756e74206973206e6f7420656e6f756768000000000060448201526064016104d2565b6110a182846020015161122f565b91505b50919050565b6040516001600160a01b03831660248201526044810182905261110d90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526119fb565b505050565b600061111e8284613a18565b90505b92915050565b600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b038416141561115f57506001600160a01b03811631611121565b6040516370a0823160e01b81526001600160a01b0383811660048301528416906370a082319060240160206040518083038186803b1580156111a057600080fd5b505afa1580156111b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d89190613473565b9050611121565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008061123b8461137c565b90508381106112815760405162461bcd60e51b815260206004820152601260248201527111995948195e18d959591cc8185b5bdd5b9d60721b60448201526064016104d2565b61128b8482611112565b915073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b038416141561135b576001546040516000916001600160a01b03169083908381818185875af1925050503d80600081146112ff576040519150601f19603f3d011682016040523d82523d6000602084013e611304565b606091505b50509050806113555760405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f2073656e6420457468657220746f6f206665650000000060448201526064016104d2565b50611375565b600154611375906001600160a01b038581169116836110aa565b5092915050565b6000611121826103e8611acd565b80516113969084611112565b81526001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461143557600554604051632c54de4f60e01b81526001600160a01b03878116600483015233602483015286811660448301526064820186905290911690632c54de4f90608401600060405180830381600087803b15801561141857600080fd5b505af115801561142c573d6000803e3d6000fd5b50505050610c82565b60035461144b906001600160a01b031684611472565b6001600160a01b0384163014610c8257600354610c82906001600160a01b031685856110aa565b816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156114ad57600080fd5b505af11580156114c1573d6000803e3d6000fd5b50505050505050565b6305f5e1008360c0015163ffffffff16111561153a5760405162461bcd60e51b815260206004820152602960248201527f526f7574652070657263656e746167652063616e206e6f74206578636565642060448201526803130303030303030360bc1b60648201526084016104d2565b60408301516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1480159061158c575060608301516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14155b6115e95760405162461bcd60e51b815260206004820152602860248201527f5472616465526f7574652066726f6d2f746f20746f6b656e2063616e6e6f742060448201526731329022ba3432b960c11b60648201526084016104d2565b60808301516001600160a01b0316600114156116765781600001516001600160a01b031683604001516001600160a01b0316146116765760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74207472616e7366657220746f6b656e2066726f6d206d73672e7360448201526432b73232b960d91b60648201526084016104d2565b60808301516000906001600160a01b03166117645760c0840151600454604086015161175d926305f5e100926117579263ffffffff909216916001600160a01b039081169116146116cb5787604001516116d8565b6003546001600160a01b03165b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b15801561171957600080fd5b505afa15801561172d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117519190613473565b90611ad9565b90611acd565b90506117a6565b60808401516001600160a01b0316600114156117a6576117a36305f5e1006117578660c0015163ffffffff168560000151611ad990919063ffffffff16565b90505b600084610160015160098111156117bf576117bf613a8c565b14156117d6576117d184828585611ae5565b611996565b600184610160015160098111156117ef576117ef613a8c565b1415611801576117d184828585611efc565b6005846101600151600981111561181a5761181a613a8c565b141561182c576117d184828585612232565b6006846101600151600981111561184557611845613a8c565b1415611855576117d18482612468565b6007846101600151600981111561186e5761186e613a8c565b1415611880576117d184828585612594565b6002846101600151600981111561189957611899613a8c565b14156118a9576117d184826126b2565b600384610160015160098111156118c2576118c2613a8c565b14156118d2576117d18482612744565b600484610160015160098111156118eb576118eb613a8c565b14156118fb576117d184826127d6565b6008846101600151600981111561191457611914613a8c565b1415611924576117d1848261296c565b6009846101600151600981111561193d5761193d613a8c565b141561194e576117d1848285612b42565b60405162461bcd60e51b815260206004820152601860248201527f756e6b6e6f776e20726f7574657220696e74657266616365000000000000000060448201526064016104d2565b50505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03831690632e1a7d4d906024015b600060405180830381600087803b1580156119df57600080fd5b505af11580156119f3573d6000803e3d6000fd5b505050505050565b6000611a50826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612e259092919063ffffffff16565b80519091501561110d5780806020019051810190611a6e9190613456565b61110d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016104d2565b600061111e82846139d7565b600061111e82846139f9565b60808401516001600160a01b0316611b2257611b1d84602001518486604001516001600160a01b03166110aa9092919063ffffffff16565b611b51565b60808401516001600160a01b031660011415611b5157611b51846040015185602001518585600001518561138a565b600084602001519050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611b9657600080fd5b505afa158015611baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bce9190613666565b506001600160701b031691506001600160701b03169150600080846001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015611c2157600080fd5b505afa158015611c35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c599190613439565b6001600160a01b031689604001516001600160a01b031614611c7c578284611c7f565b83835b91509150611d1a828a604001516001600160a01b03166370a082318c602001516040518263ffffffff1660e01b8152600401611cca91906001600160a01b0391909116815260200190565b60206040518083038186803b158015611ce257600080fd5b505afa158015611cf6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107639190613473565b97506000611d338984848d610140015161ffff16612e3e565b60a08b01519091506001600160a01b038116611d4c5750305b6001600160a01b03811660011415611d65575060808801515b866001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015611d9e57600080fd5b505afa158015611db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd69190613439565b6001600160a01b03168b606001516001600160a01b03161415611e735760405163022c0d9f60e01b8152600481018390526000602482018190526001600160a01b03838116604484015260806064840152608483019190915288169063022c0d9f9060a4015b600060405180830381600087803b158015611e5657600080fd5b505af1158015611e6a573d6000803e3d6000fd5b50505050611eef565b60405163022c0d9f60e01b8152600060048201819052602482018490526001600160a01b03838116604484015260806064840152608483019190915288169063022c0d9f9060a4015b600060405180830381600087803b158015611ed657600080fd5b505af1158015611eea573d6000803e3d6000fd5b505050505b5050505050505050505050565b60808401516001600160a01b0316611f3957611f3484602001518486604001516001600160a01b03166110aa9092919063ffffffff16565b611f68565b60808401516001600160a01b031660011415611f6857611f68846040015185602001518585600001518561138a565b600084602001519050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611fad57600080fd5b505afa158015611fc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe59190613666565b506001600160701b031691506001600160701b03169150600080846001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561203857600080fd5b505afa15801561204c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120709190613439565b6001600160a01b031689604001516001600160a01b031614612093578284612096565b83835b915091506120e1828a604001516001600160a01b03166370a082318c602001516040518263ffffffff1660e01b8152600401611cca91906001600160a01b0391909116815260200190565b975060006120fa8984848d610140015161ffff16612e3e565b60a08b01519091506001600160a01b0381166121135750305b6001600160a01b0381166001141561212c575060808801515b866001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561216557600080fd5b505afa158015612179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219d9190613439565b6001600160a01b03168b606001516001600160a01b031614156121f6576040516336cd320560e11b815260048101839052600060248201526001600160a01b038281166044830152881690636d9a640a90606401611e3c565b6040516336cd320560e11b815260006004820152602481018390526001600160a01b038281166044830152881690636d9a640a90606401611ebc565b60808401516001600160a01b031661226f5761226a84602001518486604001516001600160a01b03166110aa9092919063ffffffff16565b61229e565b60808401516001600160a01b03166001141561229e5761229e846040015185602001518585600001518561138a565b60a08401516001600160a01b0381166122b45750305b6001600160a01b038116600114156122cd575060808201515b84604001516001600160a01b031685602001516001600160a01b0316634a248d2a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561231857600080fd5b505afa15801561232c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123509190613439565b6001600160a01b031614156123e6576020850151604051632f58056d60e21b81526001600160a01b0383811660048301529091169063bd6015b490602401602060405180830381600087803b1580156123a857600080fd5b505af11580156123bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e09190613473565b50610c82565b6020850151604051636ec9facd60e11b81526001600160a01b0383811660048301529091169063dd93f59a906024015b602060405180830381600087803b15801561243057600080fd5b505af1158015612444573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f39190613473565b60808201516001600160a01b0316156124935760405162461bcd60e51b81526004016104d2906137ec565b60408201516002546124af91906001600160a01b031683612f5c565b604080516001808252818301909252600091602080830190803683370190505090508260200151816000815181106124e9576124e9613aa2565b6001600160a01b0392831660209182029290920101528351604080860151606087015160e08801519251630dd4ebd960e01b81529390941693630dd4ebd993612542938891600191899160009060001990600401613712565b602060405180830381600087803b15801561255c57600080fd5b505af1158015612570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119969190613473565b60045460408501516001600160a01b03908116911614156125db576003546125c5906001600160a01b03168461199c565b6004546125db906001600160a01b031684611472565b6125e784848484611ae5565b60045460608501516001600160a01b039081169116141561199657600480546040516370a0823160e01b815230928101929092526000916001600160a01b03909116906370a082319060240160206040518083038186803b15801561264b57600080fd5b505afa15801561265f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126839190613473565b60045490915061269c906001600160a01b03168261199c565b600354610c82906001600160a01b031682611472565b60808201516001600160a01b0316156126dd5760405162461bcd60e51b81526004016104d2906137ec565b6126f08260400151836000015183612f5c565b8151610100830151610120840151604051630f7c084960e21b8152600192830b6004820152910b602482015260448101839052600060648201526001600160a01b0390911690633df02124906084016119c5565b60808201516001600160a01b03161561276f5760405162461bcd60e51b81526004016104d2906137ec565b6127828260400151836000015183612f5c565b8151610100830151610120840151604051635320bf6b60e11b8152600192830b6004820152910b602482015260448101839052600060648201526001600160a01b039091169063a6417ed6906084016119c5565b60808201516001600160a01b0316156128015760405162461bcd60e51b81526004016104d2906137ec565b6128148260400151836000015183612f5c565b815160408084015190516319b02f4960e21b81526001600160a01b0391821660048201526000918316906366c0bd249060240160206040518083038186803b15801561285f57600080fd5b505afa158015612873573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289791906136ad565b60608501516040516319b02f4960e21b81526001600160a01b039182166004820152919250600091908416906366c0bd249060240160206040518083038186803b1580156128e457600080fd5b505afa1580156128f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061291c91906136ad565b6040516348b4aac360e11b815260ff808516600483015282166024820152604481018690526000606482015260001960848201529091506001600160a01b0384169063916955869060a401612416565b60808201516001600160a01b0316156129975760405162461bcd60e51b81526004016104d2906137ec565b6129aa8260400151836000015183612f5c565b81600001516001600160a01b03166352bbbe296040518060c0016040528085602001516001600160a01b03166338fff2d06040518163ffffffff1660e01b815260040160206040518083038186803b158015612a0557600080fd5b505afa158015612a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3d9190613473565b81526020016000815260200185604001516001600160a01b0316815260200185606001516001600160a01b0316815260200184815260200160405180604001604052806002815260200161060f60f31b8152508152506040518060800160405280306001600160a01b03168152602001600015158152602001306001600160a01b031681526020016000151581525060006000196040518563ffffffff1660e01b8152600401612af09493929190613862565b602060405180830381600087803b158015612b0a57600080fd5b505af1158015612b1e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110d9190613473565b60808301516001600160a01b031615612b6d5760405162461bcd60e51b81526004016104d2906137ec565b600083602001519050600084604001516001600160a01b0316826001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015612bbf57600080fd5b505afa158015612bd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bf79190613439565b60a08701516001600160a01b039182169290921492508116612c165750305b6001600160a01b03811660011415612c2f575060808301515b826001600160a01b031663128acb0882848886612c605773fffd8963efd1fc6a506488495d951d5263988d25612c67565b6401000276a45b60405180604001604052808a6001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015612cab57600080fd5b505afa158015612cbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce39190613439565b6001600160a01b031681526020018a6001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015612d2a57600080fd5b505afa158015612d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d629190613439565b6001600160a01b03169052604051612d9b919060200181516001600160a01b039081168252602092830151169181019190915260400190565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401612dca95949392919061379e565b6040805180830381600087803b158015612de357600080fd5b505af1158015612df7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1b919061348c565b5050505050505050565b6060612e34848460008561300d565b90505b9392505050565b6000808511612ea35760405162461bcd60e51b815260206004820152602b60248201527f556e697377617056324c6962726172793a20494e53554646494349454e545f4960448201526a1394155517d05353d5539560aa1b60648201526084016104d2565b600084118015612eb35750600083115b612f105760405162461bcd60e51b815260206004820152602860248201527f556e697377617056324c6962726172793a20494e53554646494349454e545f4c604482015267495155494449545960c01b60648201526084016104d2565b6000612f1c8684611ad9565b90506000612f2a8286611ad9565b90506000612f4483612f3e89612710611ad9565b90613135565b9050612f5081836139d7565b98975050505050505050565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526000919085169063dd62ed3e9060440160206040518083038186803b158015612fa757600080fd5b505afa158015612fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fdf9190613473565b905080821115611996576000612ff760001983611112565b9050610c826001600160a01b0386168583613141565b60608247101561306e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016104d2565b843b6130bc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104d2565b600080866001600160a01b031685876040516130d891906136f6565b60006040518083038185875af1925050503d8060008114613115576040519150601f19603f3d011682016040523d82523d6000602084013e61311a565b606091505b509150915061312a828286613202565b979650505050505050565b600061111e82846139bf565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e9060440160206040518083038186803b15801561318d57600080fd5b505afa1580156131a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131c59190613473565b6131cf91906139bf565b6040516001600160a01b03851660248201526044810182905290915061199690859063095ea7b360e01b906064016110d6565b60608315613211575081612e37565b8251156132215782518084602001fd5b8160405162461bcd60e51b81526004016104d291906137d9565b803561324681613ace565b919050565b600082601f83011261325c57600080fd5b8135602067ffffffffffffffff82111561327857613278613ab8565b613286818360051b0161398e565b82815281810190858301610180808602880185018910156132a657600080fd5b6000805b878110156133a25782848c0312156132c0578182fd5b6132c8613940565b6132d18561323b565b81526132de88860161323b565b8882015260406132ef81870161323b565b90820152606061330086820161323b565b90820152608061331186820161323b565b9082015260a061332286820161323b565b9082015260c0613333868201613406565b9082015260e0613344868201613411565b908201526101006133568682016133cb565b908201526101206133688682016133cb565b9082015261014061337a8682016133f4565b9082015261016061338c8682016133bc565b90820152865294860194928201926001016132aa565b50929998505050505050505050565b803561324681613ae3565b8035600a811061324657600080fd5b8035600181900b811461324657600080fd5b80516001600160701b038116811461324657600080fd5b803561ffff8116811461324657600080fd5b803561324681613af1565b803561324681613b03565b60006020828403121561342e57600080fd5b8135612e3781613ace565b60006020828403121561344b57600080fd5b8151612e3781613ace565b60006020828403121561346857600080fd5b8151612e3781613ae3565b60006020828403121561348557600080fd5b5051919050565b6000806040838503121561349f57600080fd5b505080516020909101519092909150565b600080600080606085870312156134c657600080fd5b8435935060208501359250604085013567ffffffffffffffff808211156134ec57600080fd5b818701915087601f83011261350057600080fd5b81358181111561350f57600080fd5b88602082850101111561352157600080fd5b95989497505060200194505050565b60006020828403121561354257600080fd5b813567ffffffffffffffff8082111561355a57600080fd5b90830190610100828603121561356f57600080fd5b61357761396a565b6135808361323b565b815261358e6020840161323b565b602082015260408301356040820152606083013560608201526135b36080840161323b565b608082015260a0830135828111156135ca57600080fd5b6135d68782860161324b565b60a0830152506135e860c084016133b1565b60c08201526135f960e084016133b1565b60e082015295945050505050565b60006040828403121561361957600080fd5b6040516040810181811067ffffffffffffffff8211171561363c5761363c613ab8565b604052823561364a81613ace565b8152602083013561365a81613ace565b60208201529392505050565b60008060006060848603121561367b57600080fd5b613684846133dd565b9250613692602085016133dd565b915060408401516136a281613af1565b809150509250925092565b6000602082840312156136bf57600080fd5b8151612e3781613b03565b600081518084526136e2816020860160208601613a2f565b601f01601f19169290920160200192915050565b60008251613708818460208701613a2f565b9190910192915050565b6001600160a01b038981168252888116602080840191909152604083018990526060830188905261010060808401819052875190840181905260009261012085019289810192855b8181101561377857845184168652948201949382019360010161375a565b5050505060ff871660a085015250905092151560c082015260e001529695505050505050565b6001600160a01b0386811682528515156020830152604082018590528316606082015260a06080820181905260009061312a908301846136ca565b60208152600061111e60208301846136ca565b60208082526021908201527f726f7574652e66726f6d2073686f756c64206265207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60e08152845160e0820152600060208601516002811061389257634e487b7160e01b600052602160045260246000fd5b61010083015260408601516001600160a01b031661012083015260608601516138c76101408401826001600160a01b03169052565b50608086015161016083015260a086015160c06101808401526138ee6101a08401826136ca565b91505061392e602083018680516001600160a01b039081168352602080830151151590840152604080830151909116908301526060908101511515910152565b60a082019390935260c0015292915050565b604051610180810167ffffffffffffffff8111828210171561396457613964613ab8565b60405290565b604051610100810167ffffffffffffffff8111828210171561396457613964613ab8565b604051601f8201601f1916810167ffffffffffffffff811182821017156139b7576139b7613ab8565b604052919050565b600082198211156139d2576139d2613a76565b500190565b6000826139f457634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615613a1357613a13613a76565b500290565b600082821015613a2a57613a2a613a76565b500390565b60005b83811015613a4a578181015183820152602001613a32565b838111156119965750506000910152565b6000600019821415613a6f57613a6f613a76565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610c2957600080fd5b8015158114610c2957600080fd5b63ffffffff81168114610c2957600080fd5b60ff81168114610c2957600080fdfea2646970667358221220f80e2ef18031eaadaab92f2d2020a6f897e2b401082751c743f47f8b76a99d9e64736f6c6343000807003300000000000000000000000077777eef36045851c3e1832ac0815d0c894ce09f0000000000000000000000009f1c6b37dede7584e722681c8f9d55e5cf1788f50000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12700000000000000000000000004c28f48448720e9000907bc2611f73022fdce1fa0000000000000000000000006d310348d5c12009854dfcf72e0df9027e8cb4f40000000000000000000000007a6f2f4d44b3bd942caf771043835cb733e9d058

Deployed Bytecode

0x6080604052600436106101015760003560e01c80638b2c83161161008f578063d6d5b72711610061578063d6d5b727146102ac578063eab4fb91146102cc578063f2fde38b146102ec578063fa461e331461030c578063fe9440d71461032c57005b80638b2c8316146102265780638da5cb5b14610246578063a50f828614610264578063c165dd971461028457005b806349b42c9e116100d357806349b42c9e1461019e57806366718524146101b1578063715018a6146101d157806371ebf66c146101e65780638712d62c1461020657005b80630d4eec8f1461010a57806315550e311461014757806322d1fee6146101675780632a56e1a21461018857005b3661010857005b005b34801561011657600080fd5b5060035461012a906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561015357600080fd5b5060045461012a906001600160a01b031681565b61017a610175366004613530565b61034c565b60405190815260200161013e565b34801561019457600080fd5b5061017a60001981565b6101086101ac366004613530565b6104e4565b3480156101bd57600080fd5b506101086101cc36600461341c565b610823565b3480156101dd57600080fd5b506101086108f8565b3480156101f257600080fd5b5060015461012a906001600160a01b031681565b34801561021257600080fd5b5060025461012a906001600160a01b031681565b34801561023257600080fd5b5061010861024136600461341c565b61092e565b34801561025257600080fd5b506000546001600160a01b031661012a565b34801561027057600080fd5b5060055461012a906001600160a01b031681565b34801561029057600080fd5b5061012a73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b3480156102b857600080fd5b506101086102c736600461341c565b6109fc565b3480156102d857600080fd5b506101086102e736600461341c565b610aca565b3480156102f857600080fd5b5061010861030736600461341c565b610b91565b34801561031857600080fd5b506101086103273660046134b0565b610c2c565b34801561033857600080fd5b5061010861034736600461341c565b610c89565b602081015160009061035d83610d4b565b60808401516040516370a0823160e01b81526001600160a01b039182166004820152919350600091908316906370a082319060240160206040518083038186803b1580156103aa57600080fd5b505afa1580156103be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e29190613473565b60808501519091506103ff906001600160a01b03841690856110aa565b60808401516040516370a0823160e01b81526001600160a01b0391821660048201526000918416906370a082319060240160206040518083038186803b15801561044857600080fd5b505afa15801561045c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104809190613473565b9050600061048e8284611112565b90508481146104db5760405162461bcd60e51b8152602060048201526014602482015273082e4d6cadca8cae6e8cae4744090c2e640a8c2f60631b60448201526064015b60405180910390fd5b50505050919050565b60008160400151116105445760405162461bcd60e51b8152602060048201526024808201527f416d6f756e742d696e206e6565647320746f206265206d6f7265207468616e206044820152637a65726f60e01b60648201526084016104d2565b80516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee141561062657348160400151146105bd5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c7565206e6f74206d6174636820616d6f756e742d696e0060448201526064016104d2565b8060c001516106265760405162461bcd60e51b815260206004820152602f60248201527f536f7572636520746f6b656e204574686572207265717569726573206973526f60448201526e75746572536f757263653d7472756560881b60648201526084016104d2565b600061063a82602001518360800151611127565b9050600061064783610d4b565b9050801561074b5782602001516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b0316141561072557600083608001516001600160a01b03168260405160006040518083038185875af1925050503d80600081146106d2576040519150601f19603f3d011682016040523d82523d6000602084013e6106d7565b606091505b505090508061071f5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016104d2565b5061074b565b61074b83608001518285602001516001600160a01b03166110aa9092919063ffffffff16565b60006107698361076386602001518760800151611127565b90611112565b905083606001518110156107bf5760405162461bcd60e51b815260206004820152601c60248201527f526563656976656420746f6b656e206973206e6f7420656e6f7567680000000060448201526064016104d2565b835160208086015160408088015181516001600160a01b03958616815294909216928401929092528282015260608201839052517fa078c4190abe07940190effc1846be0ccf03ad6007bc9e93f9697d0b460befbb9181900360800190a150505050565b6000546001600160a01b0316331461084d5760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b0381166108a35760405162461bcd60e51b815260206004820152601760248201527f6665652077616c6c6574207a65726f206164647265737300000000000000000060448201526064016104d2565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f29acee77dafcfa0143d74a7ea236018f3a6e1fa71e27fc59bbfbc6b8ca8edccd906020015b60405180910390a150565b6000546001600160a01b031633146109225760405162461bcd60e51b81526004016104d29061382d565b61092c60006111df565b565b6000546001600160a01b031633146109585760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b0381166109ae5760405162461bcd60e51b815260206004820152601a60248201527f61726b656e20617070726f7665207a65726f206164647265737300000000000060448201526064016104d2565b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527fbf8272bb6f26e323c8e76a4b80605dcaf8b505cbb54af5597de0798f56f5479a906020016108ed565b6000546001600160a01b03163314610a265760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b038116610a7c5760405162461bcd60e51b815260206004820152601960248201527f646f646f20617070726f7665207a65726f20616464726573730000000000000060448201526064016104d2565b600280546001600160a01b0319166001600160a01b0383169081179091556040519081527fef5e94a3cc388a09413f0ff2f2d12bd910781c7da59abe92bfea953326723987906020016108ed565b6000546001600160a01b03163314610af45760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b038116610b435760405162461bcd60e51b815260206004820152601660248201527557455448206466796e207a65726f206164647265737360501b60448201526064016104d2565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527ff3154f728a6cb38c0e893edb4379759c060cff286ca456907299e6a498caaadd906020016108ed565b6000546001600160a01b03163314610bbb5760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b038116610c205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d2565b610c29816111df565b50565b6000610c3a82840184613607565b90506000851315610c60578051610c5b906001600160a01b031633876110aa565b610c82565b6000841315610c82576020810151610c82906001600160a01b031633866110aa565b5050505050565b6000546001600160a01b03163314610cb35760405162461bcd60e51b81526004016104d29061382d565b6001600160a01b038116610cfd5760405162461bcd60e51b815260206004820152601160248201527057455448207a65726f206164647265737360781b60448201526064016104d2565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5f85e7e522385144040f94bcb1eeaeb07da5e11d6384c124c09f53986d0ed8bc906020016108ed565b6040805160208101825290820151815260e08201516000919015610e1e5782516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610da857610da18360400151846000015161122f565b8152610e1e565b6000610db7846040015161137c565b905083604001518110610e015760405162461bcd60e51b815260206004820152601260248201527111995948195e18d959591cc8185b5bdd5b9d60721b60448201526064016104d2565b8351600154610e1c91906001600160a01b031683828661138a565b505b8260c001518015610e4d575082516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14155b15610e645782518151610e6491903090828561138a565b82516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610ea057600354610ea0906001600160a01b031647611472565b60005b8360a0015151811015610eea57610ed88460a001518281518110610ec957610ec9613aa2565b602002602001015185846114ca565b80610ee281613a5b565b915050610ea3565b5082602001516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03161415610fb6576003546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015610f6057600080fd5b505afa158015610f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f989190613473565b600354909250610fb1906001600160a01b03168361199c565b611036565b60208301516040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015610ffb57600080fd5b505afa15801561100f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110339190613473565b91505b8260e001516110a45782606001518210156110935760405162461bcd60e51b815260206004820152601b60248201527f52657475726e20616d6f756e74206973206e6f7420656e6f756768000000000060448201526064016104d2565b6110a182846020015161122f565b91505b50919050565b6040516001600160a01b03831660248201526044810182905261110d90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526119fb565b505050565b600061111e8284613a18565b90505b92915050565b600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b038416141561115f57506001600160a01b03811631611121565b6040516370a0823160e01b81526001600160a01b0383811660048301528416906370a082319060240160206040518083038186803b1580156111a057600080fd5b505afa1580156111b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d89190613473565b9050611121565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008061123b8461137c565b90508381106112815760405162461bcd60e51b815260206004820152601260248201527111995948195e18d959591cc8185b5bdd5b9d60721b60448201526064016104d2565b61128b8482611112565b915073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b038416141561135b576001546040516000916001600160a01b03169083908381818185875af1925050503d80600081146112ff576040519150601f19603f3d011682016040523d82523d6000602084013e611304565b606091505b50509050806113555760405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f2073656e6420457468657220746f6f206665650000000060448201526064016104d2565b50611375565b600154611375906001600160a01b038581169116836110aa565b5092915050565b6000611121826103e8611acd565b80516113969084611112565b81526001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461143557600554604051632c54de4f60e01b81526001600160a01b03878116600483015233602483015286811660448301526064820186905290911690632c54de4f90608401600060405180830381600087803b15801561141857600080fd5b505af115801561142c573d6000803e3d6000fd5b50505050610c82565b60035461144b906001600160a01b031684611472565b6001600160a01b0384163014610c8257600354610c82906001600160a01b031685856110aa565b816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156114ad57600080fd5b505af11580156114c1573d6000803e3d6000fd5b50505050505050565b6305f5e1008360c0015163ffffffff16111561153a5760405162461bcd60e51b815260206004820152602960248201527f526f7574652070657263656e746167652063616e206e6f74206578636565642060448201526803130303030303030360bc1b60648201526084016104d2565b60408301516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1480159061158c575060608301516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14155b6115e95760405162461bcd60e51b815260206004820152602860248201527f5472616465526f7574652066726f6d2f746f20746f6b656e2063616e6e6f742060448201526731329022ba3432b960c11b60648201526084016104d2565b60808301516001600160a01b0316600114156116765781600001516001600160a01b031683604001516001600160a01b0316146116765760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74207472616e7366657220746f6b656e2066726f6d206d73672e7360448201526432b73232b960d91b60648201526084016104d2565b60808301516000906001600160a01b03166117645760c0840151600454604086015161175d926305f5e100926117579263ffffffff909216916001600160a01b039081169116146116cb5787604001516116d8565b6003546001600160a01b03165b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b15801561171957600080fd5b505afa15801561172d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117519190613473565b90611ad9565b90611acd565b90506117a6565b60808401516001600160a01b0316600114156117a6576117a36305f5e1006117578660c0015163ffffffff168560000151611ad990919063ffffffff16565b90505b600084610160015160098111156117bf576117bf613a8c565b14156117d6576117d184828585611ae5565b611996565b600184610160015160098111156117ef576117ef613a8c565b1415611801576117d184828585611efc565b6005846101600151600981111561181a5761181a613a8c565b141561182c576117d184828585612232565b6006846101600151600981111561184557611845613a8c565b1415611855576117d18482612468565b6007846101600151600981111561186e5761186e613a8c565b1415611880576117d184828585612594565b6002846101600151600981111561189957611899613a8c565b14156118a9576117d184826126b2565b600384610160015160098111156118c2576118c2613a8c565b14156118d2576117d18482612744565b600484610160015160098111156118eb576118eb613a8c565b14156118fb576117d184826127d6565b6008846101600151600981111561191457611914613a8c565b1415611924576117d1848261296c565b6009846101600151600981111561193d5761193d613a8c565b141561194e576117d1848285612b42565b60405162461bcd60e51b815260206004820152601860248201527f756e6b6e6f776e20726f7574657220696e74657266616365000000000000000060448201526064016104d2565b50505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03831690632e1a7d4d906024015b600060405180830381600087803b1580156119df57600080fd5b505af11580156119f3573d6000803e3d6000fd5b505050505050565b6000611a50826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612e259092919063ffffffff16565b80519091501561110d5780806020019051810190611a6e9190613456565b61110d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016104d2565b600061111e82846139d7565b600061111e82846139f9565b60808401516001600160a01b0316611b2257611b1d84602001518486604001516001600160a01b03166110aa9092919063ffffffff16565b611b51565b60808401516001600160a01b031660011415611b5157611b51846040015185602001518585600001518561138a565b600084602001519050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611b9657600080fd5b505afa158015611baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bce9190613666565b506001600160701b031691506001600160701b03169150600080846001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015611c2157600080fd5b505afa158015611c35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c599190613439565b6001600160a01b031689604001516001600160a01b031614611c7c578284611c7f565b83835b91509150611d1a828a604001516001600160a01b03166370a082318c602001516040518263ffffffff1660e01b8152600401611cca91906001600160a01b0391909116815260200190565b60206040518083038186803b158015611ce257600080fd5b505afa158015611cf6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107639190613473565b97506000611d338984848d610140015161ffff16612e3e565b60a08b01519091506001600160a01b038116611d4c5750305b6001600160a01b03811660011415611d65575060808801515b866001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015611d9e57600080fd5b505afa158015611db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd69190613439565b6001600160a01b03168b606001516001600160a01b03161415611e735760405163022c0d9f60e01b8152600481018390526000602482018190526001600160a01b03838116604484015260806064840152608483019190915288169063022c0d9f9060a4015b600060405180830381600087803b158015611e5657600080fd5b505af1158015611e6a573d6000803e3d6000fd5b50505050611eef565b60405163022c0d9f60e01b8152600060048201819052602482018490526001600160a01b03838116604484015260806064840152608483019190915288169063022c0d9f9060a4015b600060405180830381600087803b158015611ed657600080fd5b505af1158015611eea573d6000803e3d6000fd5b505050505b5050505050505050505050565b60808401516001600160a01b0316611f3957611f3484602001518486604001516001600160a01b03166110aa9092919063ffffffff16565b611f68565b60808401516001600160a01b031660011415611f6857611f68846040015185602001518585600001518561138a565b600084602001519050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611fad57600080fd5b505afa158015611fc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe59190613666565b506001600160701b031691506001600160701b03169150600080846001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561203857600080fd5b505afa15801561204c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120709190613439565b6001600160a01b031689604001516001600160a01b031614612093578284612096565b83835b915091506120e1828a604001516001600160a01b03166370a082318c602001516040518263ffffffff1660e01b8152600401611cca91906001600160a01b0391909116815260200190565b975060006120fa8984848d610140015161ffff16612e3e565b60a08b01519091506001600160a01b0381166121135750305b6001600160a01b0381166001141561212c575060808801515b866001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561216557600080fd5b505afa158015612179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219d9190613439565b6001600160a01b03168b606001516001600160a01b031614156121f6576040516336cd320560e11b815260048101839052600060248201526001600160a01b038281166044830152881690636d9a640a90606401611e3c565b6040516336cd320560e11b815260006004820152602481018390526001600160a01b038281166044830152881690636d9a640a90606401611ebc565b60808401516001600160a01b031661226f5761226a84602001518486604001516001600160a01b03166110aa9092919063ffffffff16565b61229e565b60808401516001600160a01b03166001141561229e5761229e846040015185602001518585600001518561138a565b60a08401516001600160a01b0381166122b45750305b6001600160a01b038116600114156122cd575060808201515b84604001516001600160a01b031685602001516001600160a01b0316634a248d2a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561231857600080fd5b505afa15801561232c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123509190613439565b6001600160a01b031614156123e6576020850151604051632f58056d60e21b81526001600160a01b0383811660048301529091169063bd6015b490602401602060405180830381600087803b1580156123a857600080fd5b505af11580156123bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e09190613473565b50610c82565b6020850151604051636ec9facd60e11b81526001600160a01b0383811660048301529091169063dd93f59a906024015b602060405180830381600087803b15801561243057600080fd5b505af1158015612444573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f39190613473565b60808201516001600160a01b0316156124935760405162461bcd60e51b81526004016104d2906137ec565b60408201516002546124af91906001600160a01b031683612f5c565b604080516001808252818301909252600091602080830190803683370190505090508260200151816000815181106124e9576124e9613aa2565b6001600160a01b0392831660209182029290920101528351604080860151606087015160e08801519251630dd4ebd960e01b81529390941693630dd4ebd993612542938891600191899160009060001990600401613712565b602060405180830381600087803b15801561255c57600080fd5b505af1158015612570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119969190613473565b60045460408501516001600160a01b03908116911614156125db576003546125c5906001600160a01b03168461199c565b6004546125db906001600160a01b031684611472565b6125e784848484611ae5565b60045460608501516001600160a01b039081169116141561199657600480546040516370a0823160e01b815230928101929092526000916001600160a01b03909116906370a082319060240160206040518083038186803b15801561264b57600080fd5b505afa15801561265f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126839190613473565b60045490915061269c906001600160a01b03168261199c565b600354610c82906001600160a01b031682611472565b60808201516001600160a01b0316156126dd5760405162461bcd60e51b81526004016104d2906137ec565b6126f08260400151836000015183612f5c565b8151610100830151610120840151604051630f7c084960e21b8152600192830b6004820152910b602482015260448101839052600060648201526001600160a01b0390911690633df02124906084016119c5565b60808201516001600160a01b03161561276f5760405162461bcd60e51b81526004016104d2906137ec565b6127828260400151836000015183612f5c565b8151610100830151610120840151604051635320bf6b60e11b8152600192830b6004820152910b602482015260448101839052600060648201526001600160a01b039091169063a6417ed6906084016119c5565b60808201516001600160a01b0316156128015760405162461bcd60e51b81526004016104d2906137ec565b6128148260400151836000015183612f5c565b815160408084015190516319b02f4960e21b81526001600160a01b0391821660048201526000918316906366c0bd249060240160206040518083038186803b15801561285f57600080fd5b505afa158015612873573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289791906136ad565b60608501516040516319b02f4960e21b81526001600160a01b039182166004820152919250600091908416906366c0bd249060240160206040518083038186803b1580156128e457600080fd5b505afa1580156128f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061291c91906136ad565b6040516348b4aac360e11b815260ff808516600483015282166024820152604481018690526000606482015260001960848201529091506001600160a01b0384169063916955869060a401612416565b60808201516001600160a01b0316156129975760405162461bcd60e51b81526004016104d2906137ec565b6129aa8260400151836000015183612f5c565b81600001516001600160a01b03166352bbbe296040518060c0016040528085602001516001600160a01b03166338fff2d06040518163ffffffff1660e01b815260040160206040518083038186803b158015612a0557600080fd5b505afa158015612a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3d9190613473565b81526020016000815260200185604001516001600160a01b0316815260200185606001516001600160a01b0316815260200184815260200160405180604001604052806002815260200161060f60f31b8152508152506040518060800160405280306001600160a01b03168152602001600015158152602001306001600160a01b031681526020016000151581525060006000196040518563ffffffff1660e01b8152600401612af09493929190613862565b602060405180830381600087803b158015612b0a57600080fd5b505af1158015612b1e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110d9190613473565b60808301516001600160a01b031615612b6d5760405162461bcd60e51b81526004016104d2906137ec565b600083602001519050600084604001516001600160a01b0316826001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015612bbf57600080fd5b505afa158015612bd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bf79190613439565b60a08701516001600160a01b039182169290921492508116612c165750305b6001600160a01b03811660011415612c2f575060808301515b826001600160a01b031663128acb0882848886612c605773fffd8963efd1fc6a506488495d951d5263988d25612c67565b6401000276a45b60405180604001604052808a6001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015612cab57600080fd5b505afa158015612cbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce39190613439565b6001600160a01b031681526020018a6001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015612d2a57600080fd5b505afa158015612d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d629190613439565b6001600160a01b03169052604051612d9b919060200181516001600160a01b039081168252602092830151169181019190915260400190565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401612dca95949392919061379e565b6040805180830381600087803b158015612de357600080fd5b505af1158015612df7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1b919061348c565b5050505050505050565b6060612e34848460008561300d565b90505b9392505050565b6000808511612ea35760405162461bcd60e51b815260206004820152602b60248201527f556e697377617056324c6962726172793a20494e53554646494349454e545f4960448201526a1394155517d05353d5539560aa1b60648201526084016104d2565b600084118015612eb35750600083115b612f105760405162461bcd60e51b815260206004820152602860248201527f556e697377617056324c6962726172793a20494e53554646494349454e545f4c604482015267495155494449545960c01b60648201526084016104d2565b6000612f1c8684611ad9565b90506000612f2a8286611ad9565b90506000612f4483612f3e89612710611ad9565b90613135565b9050612f5081836139d7565b98975050505050505050565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526000919085169063dd62ed3e9060440160206040518083038186803b158015612fa757600080fd5b505afa158015612fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fdf9190613473565b905080821115611996576000612ff760001983611112565b9050610c826001600160a01b0386168583613141565b60608247101561306e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016104d2565b843b6130bc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104d2565b600080866001600160a01b031685876040516130d891906136f6565b60006040518083038185875af1925050503d8060008114613115576040519150601f19603f3d011682016040523d82523d6000602084013e61311a565b606091505b509150915061312a828286613202565b979650505050505050565b600061111e82846139bf565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e9060440160206040518083038186803b15801561318d57600080fd5b505afa1580156131a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131c59190613473565b6131cf91906139bf565b6040516001600160a01b03851660248201526044810182905290915061199690859063095ea7b360e01b906064016110d6565b60608315613211575081612e37565b8251156132215782518084602001fd5b8160405162461bcd60e51b81526004016104d291906137d9565b803561324681613ace565b919050565b600082601f83011261325c57600080fd5b8135602067ffffffffffffffff82111561327857613278613ab8565b613286818360051b0161398e565b82815281810190858301610180808602880185018910156132a657600080fd5b6000805b878110156133a25782848c0312156132c0578182fd5b6132c8613940565b6132d18561323b565b81526132de88860161323b565b8882015260406132ef81870161323b565b90820152606061330086820161323b565b90820152608061331186820161323b565b9082015260a061332286820161323b565b9082015260c0613333868201613406565b9082015260e0613344868201613411565b908201526101006133568682016133cb565b908201526101206133688682016133cb565b9082015261014061337a8682016133f4565b9082015261016061338c8682016133bc565b90820152865294860194928201926001016132aa565b50929998505050505050505050565b803561324681613ae3565b8035600a811061324657600080fd5b8035600181900b811461324657600080fd5b80516001600160701b038116811461324657600080fd5b803561ffff8116811461324657600080fd5b803561324681613af1565b803561324681613b03565b60006020828403121561342e57600080fd5b8135612e3781613ace565b60006020828403121561344b57600080fd5b8151612e3781613ace565b60006020828403121561346857600080fd5b8151612e3781613ae3565b60006020828403121561348557600080fd5b5051919050565b6000806040838503121561349f57600080fd5b505080516020909101519092909150565b600080600080606085870312156134c657600080fd5b8435935060208501359250604085013567ffffffffffffffff808211156134ec57600080fd5b818701915087601f83011261350057600080fd5b81358181111561350f57600080fd5b88602082850101111561352157600080fd5b95989497505060200194505050565b60006020828403121561354257600080fd5b813567ffffffffffffffff8082111561355a57600080fd5b90830190610100828603121561356f57600080fd5b61357761396a565b6135808361323b565b815261358e6020840161323b565b602082015260408301356040820152606083013560608201526135b36080840161323b565b608082015260a0830135828111156135ca57600080fd5b6135d68782860161324b565b60a0830152506135e860c084016133b1565b60c08201526135f960e084016133b1565b60e082015295945050505050565b60006040828403121561361957600080fd5b6040516040810181811067ffffffffffffffff8211171561363c5761363c613ab8565b604052823561364a81613ace565b8152602083013561365a81613ace565b60208201529392505050565b60008060006060848603121561367b57600080fd5b613684846133dd565b9250613692602085016133dd565b915060408401516136a281613af1565b809150509250925092565b6000602082840312156136bf57600080fd5b8151612e3781613b03565b600081518084526136e2816020860160208601613a2f565b601f01601f19169290920160200192915050565b60008251613708818460208701613a2f565b9190910192915050565b6001600160a01b038981168252888116602080840191909152604083018990526060830188905261010060808401819052875190840181905260009261012085019289810192855b8181101561377857845184168652948201949382019360010161375a565b5050505060ff871660a085015250905092151560c082015260e001529695505050505050565b6001600160a01b0386811682528515156020830152604082018590528316606082015260a06080820181905260009061312a908301846136ca565b60208152600061111e60208301846136ca565b60208082526021908201527f726f7574652e66726f6d2073686f756c64206265207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60e08152845160e0820152600060208601516002811061389257634e487b7160e01b600052602160045260246000fd5b61010083015260408601516001600160a01b031661012083015260608601516138c76101408401826001600160a01b03169052565b50608086015161016083015260a086015160c06101808401526138ee6101a08401826136ca565b91505061392e602083018680516001600160a01b039081168352602080830151151590840152604080830151909116908301526060908101511515910152565b60a082019390935260c0015292915050565b604051610180810167ffffffffffffffff8111828210171561396457613964613ab8565b60405290565b604051610100810167ffffffffffffffff8111828210171561396457613964613ab8565b604051601f8201601f1916810167ffffffffffffffff811182821017156139b7576139b7613ab8565b604052919050565b600082198211156139d2576139d2613a76565b500190565b6000826139f457634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615613a1357613a13613a76565b500290565b600082821015613a2a57613a2a613a76565b500390565b60005b83811015613a4a578181015183820152602001613a32565b838111156119965750506000910152565b6000600019821415613a6f57613a6f613a76565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610c2957600080fd5b8015158114610c2957600080fd5b63ffffffff81168114610c2957600080fd5b60ff81168114610c2957600080fdfea2646970667358221220f80e2ef18031eaadaab92f2d2020a6f897e2b401082751c743f47f8b76a99d9e64736f6c63430008070033

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

00000000000000000000000077777eef36045851c3e1832ac0815d0c894ce09f0000000000000000000000009f1c6b37dede7584e722681c8f9d55e5cf1788f50000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12700000000000000000000000004c28f48448720e9000907bc2611f73022fdce1fa0000000000000000000000006d310348d5c12009854dfcf72e0df9027e8cb4f40000000000000000000000007a6f2f4d44b3bd942caf771043835cb733e9d058

-----Decoded View---------------
Arg [0] : _ownerAddress (address): 0x77777EEf36045851c3E1832AC0815D0C894cE09f
Arg [1] : _feeWalletAddress (address): 0x9F1c6b37deDE7584E722681C8f9D55E5CF1788f5
Arg [2] : _wrappedEther (address): 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270
Arg [3] : _wrappedEtherDfyn (address): 0x4c28f48448720e9000907BC2611F73022fdcE1fA
Arg [4] : _dodoApproveAddress (address): 0x6D310348d5c12009854DFCf72e0DF9027e8cb4f4
Arg [5] : _arkenApprove (address): 0x7A6F2f4d44B3Bd942CaF771043835cb733E9D058

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000077777eef36045851c3e1832ac0815d0c894ce09f
Arg [1] : 0000000000000000000000009f1c6b37dede7584e722681c8f9d55e5cf1788f5
Arg [2] : 0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270
Arg [3] : 0000000000000000000000004c28f48448720e9000907bc2611f73022fdce1fa
Arg [4] : 0000000000000000000000006d310348d5c12009854dfcf72e0df9027e8cb4f4
Arg [5] : 0000000000000000000000007a6f2f4d44b3bd942caf771043835cb733e9d058


Deployed Bytecode Sourcemap

69968:22800:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70540:21;;;;;;;;;;-1:-1:-1;70540:21:0;;;;-1:-1:-1;;;;;70540:21:0;;;;;;-1:-1:-1;;;;;9561:32:1;;;9543:51;;9531:2;9516:18;70540:21:0;;;;;;;;70568:26;;;;;;;;;;-1:-1:-1;70568:26:0;;;;-1:-1:-1;;;;;70568:26:0;;;92244:521;;;;;;:::i;:::-;;:::i;:::-;;;26517:25:1;;;26505:2;26490:18;92244:521:0;26371:177:1;70118:47:0;;;;;;;;;;;;-1:-1:-1;;70118:47:0;;75461:1239;;;;;;:::i;:::-;;:::i;72526:243::-;;;;;;;;;;-1:-1:-1;72526:243:0;;;;;:::i;:::-;;:::i;24438:94::-;;;;;;;;;;;;;:::i;70452:40::-;;;;;;;;;;-1:-1:-1;70452:40:0;;;;-1:-1:-1;;;;;70452:40:0;;;70499:34;;;;;;;;;;-1:-1:-1;70499:34:0;;;;-1:-1:-1;;;;;70499:34:0;;;73505:249;;;;;;;;;;-1:-1:-1;73505:249:0;;;;;:::i;:::-;;:::i;23787:87::-;;;;;;;;;;-1:-1:-1;23833:7:0;23860:6;-1:-1:-1;;;;;23860:6:0;23787:87;;70601:30;;;;;;;;;;-1:-1:-1;70601:30:0;;;;-1:-1:-1;;;;;70601:30:0;;;70172:74;;;;;;;;;;;;70204:42;70172:74;;73195:302;;;;;;;;;;-1:-1:-1;73195:302:0;;;;;:::i;:::-;;:::i;72967:220::-;;;;;;;;;;-1:-1:-1;72967:220:0;;;;;:::i;:::-;;:::i;24687:192::-;;;;;;;;;;-1:-1:-1;24687:192:0;;;;;:::i;:::-;;:::i;89097:520::-;;;;;;;;;;-1:-1:-1;89097:520:0;;;;;:::i;:::-;;:::i;72777:182::-;;;;;;;;;;-1:-1:-1;72777:182:0;;;;;:::i;:::-;;:::i;92244:521::-;92412:13;;;;92349:20;;92452:12;92412:4;92452:6;:12::i;:::-;92517:7;;;;92498:27;;-1:-1:-1;;;92498:27:0;;-1:-1:-1;;;;;9561:32:1;;;92498:27:0;;;9543:51:1;92437:27:0;;-1:-1:-1;92475:20:0;;92498:18;;;;;;9516::1;;92498:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;92558:7;;;;92475:50;;-1:-1:-1;92536:44:0;;-1:-1:-1;;;;;92536:21:0;;;92567:12;92536:21;:44::i;:::-;92632:7;;;;92613:27;;-1:-1:-1;;;92613:27:0;;-1:-1:-1;;;;;9561:32:1;;;92613:27:0;;;9543:51:1;92591:19:0;;92613:18;;;;;9516::1;;92613:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;92591:49;-1:-1:-1;92651:11:0;92665:29;92591:49;92681:12;92665:15;:29::i;:::-;92651:43;;92720:12;92713:3;:19;92705:52;;;;-1:-1:-1;;;92705:52:0;;17332:2:1;92705:52:0;;;17314:21:1;17371:2;17351:18;;;17344:30;-1:-1:-1;;;17390:18:1;;;17383:50;17450:18;;92705:52:0;;;;;;;;;92376:389;;;;92244:521;;;:::o;75461:1239::-;75558:1;75542:4;:13;;;:17;75534:66;;;;-1:-1:-1;;;75534:66:0;;19155:2:1;75534:66:0;;;19137:21:1;19194:2;19174:18;;;19167:30;19233:34;19213:18;;;19206:62;-1:-1:-1;;;19284:18:1;;;19277:34;19328:19;;75534:66:0;18953:400:1;75534:66:0;75624:13;;-1:-1:-1;;;;;75615:22:0;70204:42;75615:22;75611:317;;;75697:9;75680:4;:13;;;:26;75654:119;;;;-1:-1:-1;;;75654:119:0;;17681:2:1;75654:119:0;;;17663:21:1;17720:2;17700:18;;;17693:30;17759:33;17739:18;;;17732:61;17810:18;;75654:119:0;17479:355:1;75654:119:0;75814:4;:19;;;75788:128;;;;-1:-1:-1;;;75788:128:0;;22555:2:1;75788:128:0;;;22537:21:1;22594:2;22574:18;;;22567:30;22633:34;22613:18;;;22606:62;-1:-1:-1;;;22684:18:1;;;22677:45;22739:19;;75788:128:0;22353:411:1;75788:128:0;75940:20;75963:35;75975:4;:13;;;75990:4;:7;;;75963:11;:35::i;:::-;75940:58;;76011:20;76034:12;76041:4;76034:6;:12::i;:::-;76011:35;-1:-1:-1;76063:16:0;;76059:318;;76109:4;:13;;;-1:-1:-1;;;;;76100:22:0;70204:42;-1:-1:-1;;;;;76100:22:0;;76096:270;;;76144:9;76159:4;:7;;;-1:-1:-1;;;;;76159:12:0;76179;76159:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76143:53;;;76223:4;76215:37;;;;-1:-1:-1;;;76215:37:0;;16983:2:1;76215:37:0;;;16965:21:1;17022:2;17002:18;;;16995:30;-1:-1:-1;;;17041:18:1;;;17034:50;17101:18;;76215:37:0;16781:344:1;76215:37:0;76124:144;76096:270;;;76293:57;76328:4;:7;;;76337:12;76300:4;:13;;;-1:-1:-1;;;;;76293:34:0;;;:57;;;;;:::i;:::-;76389:19;76411:77;76465:12;76411:35;76423:4;:13;;;76438:4;:7;;;76411:11;:35::i;:::-;:39;;:77::i;:::-;76389:99;;76536:4;:17;;;76521:11;:32;;76499:110;;;;-1:-1:-1;;;76499:110:0;;16626:2:1;76499:110:0;;;16608:21:1;16665:2;16645:18;;;16638:30;16704;16684:18;;;16677:58;16752:18;;76499:110:0;16424:352:1;76499:110:0;76635:13;;76650;;;;;76665;;;;;76627:65;;-1:-1:-1;;;;;12347:15:1;;;12329:34;;12399:15;;;;12379:18;;;12372:43;;;;12431:18;;;12424:34;12489:2;12474:18;;12467:34;;;76627:65:0;;;;;;12278:3:1;76627:65:0;;;75523:1177;;;75461:1239;:::o;72526:243::-;23833:7;23860:6;-1:-1:-1;;;;;23860:6:0;22651:10;24007:23;23999:68;;;;-1:-1:-1;;;23999:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;72617:24:0;::::1;72609:60;;;::::0;-1:-1:-1;;;72609:60:0;;18041:2:1;72609:60:0::1;::::0;::::1;18023:21:1::0;18080:2;18060:18;;;18053:30;18119:25;18099:18;;;18092:53;18162:18;;72609:60:0::1;17839:347:1::0;72609:60:0::1;72680:17;:30:::0;;-1:-1:-1;;;;;;72680:30:0::1;-1:-1:-1::0;;;;;72680:30:0;::::1;::::0;;::::1;::::0;;;72726:35:::1;::::0;9543:51:1;;;72726:35:0::1;::::0;9531:2:1;9516:18;72726:35:0::1;;;;;;;;72526:243:::0;:::o;24438:94::-;23833:7;23860:6;-1:-1:-1;;;;;23860:6:0;22651:10;24007:23;23999:68;;;;-1:-1:-1;;;23999:68:0;;;;;;;:::i;:::-;24503:21:::1;24521:1;24503:9;:21::i;:::-;24438:94::o:0;73505:249::-;23833:7;23860:6;-1:-1:-1;;;;;23860:6:0;22651:10;24007:23;23999:68;;;;-1:-1:-1;;;23999:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;73594:27:0;::::1;73586:66;;;::::0;-1:-1:-1;;;73586:66:0;;18800:2:1;73586:66:0::1;::::0;::::1;18782:21:1::0;18839:2;18819:18;;;18812:30;18878:28;18858:18;;;18851:56;18924:18;;73586:66:0::1;18598:350:1::0;73586:66:0::1;73663:15;:31:::0;;-1:-1:-1;;;;;;73663:31:0::1;-1:-1:-1::0;;;;;73663:31:0;::::1;::::0;;::::1;::::0;;;73710:36:::1;::::0;9543:51:1;;;73710:36:0::1;::::0;9531:2:1;9516:18;73710:36:0::1;9397:203:1::0;73195:302:0;23833:7;23860:6;-1:-1:-1;;;;;23860:6:0;22651:10;24007:23;23999:68;;;;-1:-1:-1;;;23999:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;73319:33:0;::::1;73311:71;;;::::0;-1:-1:-1;;;73311:71:0;;21792:2:1;73311:71:0::1;::::0;::::1;21774:21:1::0;21831:2;21811:18;;;21804:30;21870:27;21850:18;;;21843:55;21915:18;;73311:71:0::1;21590:349:1::0;73311:71:0::1;73393:19;:41:::0;;-1:-1:-1;;;;;;73393:41:0::1;-1:-1:-1::0;;;;;73393:41:0;::::1;::::0;;::::1;::::0;;;73450:39:::1;::::0;9543:51:1;;;73450:39:0::1;::::0;9531:2:1;9516:18;73450:39:0::1;9397:203:1::0;72967:220:0;23833:7;23860:6;-1:-1:-1;;;;;23860:6:0;22651:10;24007:23;23999:68;;;;-1:-1:-1;;;23999:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;73049:24:0;::::1;73041:59;;;::::0;-1:-1:-1;;;73041:59:0;;24150:2:1;73041:59:0::1;::::0;::::1;24132:21:1::0;24189:2;24169:18;;;24162:30;-1:-1:-1;;;24208:18:1;;;24201:52;24270:18;;73041:59:0::1;23948:346:1::0;73041:59:0::1;73111:11;:24:::0;;-1:-1:-1;;;;;;73111:24:0::1;-1:-1:-1::0;;;;;73111:24:0;::::1;::::0;;::::1;::::0;;;73151:28:::1;::::0;9543:51:1;;;73151:28:0::1;::::0;9531:2:1;9516:18;73151:28:0::1;9397:203:1::0;24687:192:0;23833:7;23860:6;-1:-1:-1;;;;;23860:6:0;22651:10;24007:23;23999:68;;;;-1:-1:-1;;;23999:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;24776:22:0;::::1;24768:73;;;::::0;-1:-1:-1;;;24768:73:0;;16219:2:1;24768:73:0::1;::::0;::::1;16201:21:1::0;16258:2;16238:18;;;16231:30;16297:34;16277:18;;;16270:62;-1:-1:-1;;;16348:18:1;;;16341:36;16394:19;;24768:73:0::1;16017:402:1::0;24768:73:0::1;24852:19;24862:8;24852:9;:19::i;:::-;24687:192:::0;:::o;89097:520::-;89246:33;89282:79;;;;89307:5;89282:79;:::i;:::-;89246:115;;89391:1;89376:12;:16;89372:238;;;89416:11;;89409:67;;-1:-1:-1;;;;;89409:32:0;89442:10;89462:12;89409:32;:67::i;:::-;89372:238;;;89513:1;89498:12;:16;89494:116;;;89538:11;;;;89531:67;;-1:-1:-1;;;;;89531:32:0;89564:10;89584:12;89531:32;:67::i;:::-;89235:382;89097:520;;;;:::o;72777:182::-;23833:7;23860:6;-1:-1:-1;;;;;23860:6:0;22651:10;24007:23;23999:68;;;;-1:-1:-1;;;23999:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;72850:19:0;::::1;72842:49;;;::::0;-1:-1:-1;;;72842:49:0;;15873:2:1;72842:49:0::1;::::0;::::1;15855:21:1::0;15912:2;15892:18;;;15885:30;-1:-1:-1;;;15931:18:1;;;15924:47;15988:18;;72842:49:0::1;15671:341:1::0;72842:49:0::1;72902:6;:14:::0;;-1:-1:-1;;;;;;72902:14:0::1;-1:-1:-1::0;;;;;72902:14:0;::::1;::::0;;::::1;::::0;;;72932:19:::1;::::0;9543:51:1;;;72932:19:0::1;::::0;9531:2:1;9516:18;72932:19:0::1;9397:203:1::0;76708:1762:0;76852:36;;;;;;;;76873:13;;;;76852:36;;76903:16;;;;76790:20;;76852:36;76899:542;;;76949:13;;-1:-1:-1;;;;;76940:22:0;70204:42;76940:22;76936:494;;;76999:41;77011:4;:13;;;77026:4;:13;;;76999:11;:41::i;:::-;76983:57;;76936:494;;;77081:11;77095:28;77109:4;:13;;;77095;:28::i;:::-;77081:42;;77156:4;:13;;;77150:3;:19;77142:50;;;;-1:-1:-1;;;77142:50:0;;20727:2:1;77142:50:0;;;20709:21:1;20766:2;20746:18;;;20739:30;-1:-1:-1;;;20785:18:1;;;20778:48;20843:18;;77142:50:0;20525:342:1;77142:50:0;77253:13;;77289:17;;77211:203;;77253:13;-1:-1:-1;;;;;77289:17:0;77329:3;77253:13;77391:4;77211:19;:203::i;:::-;77062:368;76936:494;77455:4;:19;;;:45;;;;-1:-1:-1;77487:13:0;;-1:-1:-1;;;;;77478:22:0;70204:42;77478:22;;77455:45;77451:263;;;77555:13;;77619;;77517:185;;77555:13;77595:4;;77555:13;77619:4;77517:19;:185::i;:::-;77737:13;;-1:-1:-1;;;;;77728:22:0;70204:42;77728:22;77724:96;;;77778:6;;77767:41;;-1:-1:-1;;;;;77778:6:0;77786:21;77767:10;:41::i;:::-;77837:9;77832:115;77856:4;:11;;;:18;77852:1;:22;77832:115;;;77896:39;77908:4;:11;;;77920:1;77908:14;;;;;;;;:::i;:::-;;;;;;;77924:4;77930;77896:11;:39::i;:::-;77876:3;;;;:::i;:::-;;;;77832:115;;;;77972:4;:13;;;-1:-1:-1;;;;;77963:22:0;70204:42;-1:-1:-1;;;;;77963:22:0;;77959:252;;;78024:6;;78017:39;;-1:-1:-1;;;78017:39:0;;78050:4;78017:39;;;9543:51:1;-1:-1:-1;;;;;78024:6:0;;;;78017:24;;9516:18:1;;78017:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78084:6;;78002:54;;-1:-1:-1;78071:34:0;;-1:-1:-1;;;;;78084:6:0;78002:54;78071:12;:34::i;:::-;77959:252;;;78160:13;;;;78153:46;;-1:-1:-1;;;78153:46:0;;78193:4;78153:46;;;9543:51:1;-1:-1:-1;;;;;78153:31:0;;;;;;9516:18:1;;78153:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78138:61;;77959:252;78226:4;:16;;;78221:242;;78301:4;:17;;;78285:12;:33;;78259:122;;;;-1:-1:-1;;;78259:122:0;;19969:2:1;78259:122:0;;;19951:21:1;20008:2;19988:18;;;19981:30;20047:29;20027:18;;;20020:57;20094:18;;78259:122:0;19767:351:1;78259:122:0;78411:40;78423:12;78437:4;:13;;;78411:11;:40::i;:::-;78396:55;;78221:242;76817:1653;76708:1762;;;:::o;11681:211::-;11825:58;;-1:-1:-1;;;;;13277:32:1;;11825:58:0;;;13259:51:1;13326:18;;;13319:34;;;11798:86:0;;11818:5;;-1:-1:-1;;;11848:23:0;13232:18:1;;11825:58:0;;;;-1:-1:-1;;11825:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;11825:58:0;-1:-1:-1;;;;;;11825:58:0;;;;;;;;;;11798:19;:86::i;:::-;11681:211;;;:::o;18156:98::-;18214:7;18241:5;18245:1;18241;:5;:::i;:::-;18234:12;;18156:98;;;;;:::o;91862:276::-;91965:7;70204:42;-1:-1:-1;;;;;91994:14:0;;;91990:141;;;-1:-1:-1;;;;;;92032:15:0;;;92025:22;;91990:141;92087:32;;-1:-1:-1;;;92087:32:0;;-1:-1:-1;;;;;9561:32:1;;;92087::0;;;9543:51:1;92087:23:0;;;;;9516:18:1;;92087:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;92080:39;;;;24887:173;24943:16;24962:6;;-1:-1:-1;;;;;24979:17:0;;;-1:-1:-1;;;;;;24979:17:0;;;;;;25012:40;;24962:6;;;;;;;25012:40;;24943:16;25012:40;24932:128;24887:173;:::o;89901:524::-;89989:23;90030:11;90044:21;90058:6;90044:13;:21::i;:::-;90030:35;;90090:6;90084:3;:12;90076:43;;;;-1:-1:-1;;;90076:43:0;;20727:2:1;90076:43:0;;;20709:21:1;20766:2;20746:18;;;20739:30;-1:-1:-1;;;20785:18:1;;;20778:48;20843:18;;90076:43:0;20525:342:1;90076:43:0;90148:15;:6;90159:3;90148:10;:15::i;:::-;90130:33;-1:-1:-1;70204:42:0;-1:-1:-1;;;;;90178:14:0;;;90174:244;;;90225:17;;:38;;90210:9;;-1:-1:-1;;;;;90225:17:0;;90255:3;;90210:9;90225:38;90210:9;90225:38;90255:3;90225:17;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90209:54;;;90286:4;90278:45;;;;-1:-1:-1;;;90278:45:0;;21435:2:1;90278:45:0;;;21417:21:1;21474:2;21454:18;;;21447:30;21513;21493:18;;;21486:58;21561:18;;90278:45:0;21233:352:1;90278:45:0;90194:141;90174:244;;;90383:17;;90356:50;;-1:-1:-1;;;;;90356:26:0;;;;90383:17;90402:3;90356:26;:50::i;:::-;90019:406;89901:524;;;;:::o;90433:117::-;90495:11;90526:16;:6;90537:4;90526:10;:16::i;90587:633::-;90788:13;;:25;;90806:6;90788:17;:25::i;:::-;90772:41;;-1:-1:-1;;;;;90828:17:0;;70204:42;90828:17;90824:389;;90876:15;;90862:167;;-1:-1:-1;;;90862:167:0;;-1:-1:-1;;;;;10641:15:1;;;90862:167:0;;;10623:34:1;90958:10:0;10673:18:1;;;10666:43;10745:15;;;10725:18;;;10718:43;10777:18;;;10770:34;;;90876:15:0;;;;90862:44;;10557:19:1;;90862:167:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90824:389;;;91073:6;;91062:26;;-1:-1:-1;;;;;91073:6:0;91081;91062:10;:26::i;:::-;-1:-1:-1;;;;;91107:19:0;;91121:4;91107:19;91103:99;;91154:6;;91147:39;;-1:-1:-1;;;;;91154:6:0;91175:2;91179:6;91147:27;:39::i;91228:114::-;91304:4;-1:-1:-1;;;;;91298:19:0;;91325:6;91298:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91228:114;;:::o;78578:2286::-;78767:9;78753:5;:10;;;:23;;;;78731:114;;;;-1:-1:-1;;;78731:114:0;;22971:2:1;78731:114:0;;;22953:21:1;23010:2;22990:18;;;22983:30;23049:34;23029:18;;;23022:62;-1:-1:-1;;;23100:18:1;;;23093:39;23149:19;;78731:114:0;22769:405:1;78731:114:0;78878:15;;;;-1:-1:-1;;;;;78878:24:0;70204:42;78878:24;;;;:50;;-1:-1:-1;78906:13:0;;;;-1:-1:-1;;;;;78906:22:0;70204:42;78906:22;;78878:50;78856:140;;;;-1:-1:-1;;;78856:140:0;;22146:2:1;78856:140:0;;;22128:21:1;22185:2;22165:18;;;22158:30;22224:34;22204:18;;;22197:62;-1:-1:-1;;;22275:18:1;;;22268:38;22323:19;;78856:140:0;21944:404:1;78856:140:0;79011:10;;;;-1:-1:-1;;;;;79011:24:0;79033:1;79011:24;79007:188;;;79097:4;:13;;;-1:-1:-1;;;;;79078:32:0;:5;:15;;;-1:-1:-1;;;;;79078:32:0;;79052:131;;;;-1:-1:-1;;;79052:131:0;;15114:2:1;79052:131:0;;;15096:21:1;15153:2;15133:18;;;15126:30;15192:34;15172:18;;;15165:62;-1:-1:-1;;;15243:18:1;;;15236:35;15288:19;;79052:131:0;14912:401:1;79052:131:0;79236:10;;;;79205:16;;-1:-1:-1;;;;;79236:24:0;79232:339;;79415:10;;;;79332:11;;79313:15;;;;79288:153;;79431:9;;79288:138;;;;;;;-1:-1:-1;;;;;79313:30:0;;;79332:11;;79313:30;:57;;79355:5;:15;;;79313:57;;;79346:6;;-1:-1:-1;;;;;79346:6:0;79313:57;79288:122;;-1:-1:-1;;;79288:122:0;;79404:4;79288:122;;;9543:51:1;-1:-1:-1;;;;;79288:107:0;;;;;;;9516:18:1;;79288:122:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:126;;:138::i;:::-;:142;;:153::i;:::-;79277:164;;79232:339;;;79463:10;;;;-1:-1:-1;;;;;79463:24:0;79485:1;79463:24;79459:112;;;79515:44;79549:9;79515:29;79533:5;:10;;;79515:29;;:4;:13;;;:17;;:29;;;;:::i;:44::-;79504:55;;79459:112;79607:26;79585:5;:18;;;:48;;;;;;;;:::i;:::-;;79581:1276;;;79650:44;79666:5;79673:8;79683:4;79689;79650:15;:44::i;:::-;79581:1276;;;79738:22;79716:5;:18;;;:44;;;;;;;;:::i;:::-;;79712:1145;;;79777:41;79790:5;79797:8;79807:4;79813;79777:12;:41::i;79712:1145::-;79862:23;79840:5;:18;;;:45;;;;;;;;:::i;:::-;;79836:1021;;;79902:41;79915:5;79922:8;79932:4;79938;79902:12;:41::i;79836:1021::-;79987:23;79965:5;:18;;;:45;;;;;;;;:::i;:::-;;79961:896;;;80027:29;80040:5;80047:8;80027:12;:29::i;79961:896::-;80100:20;80078:5;:18;;;:42;;;;;;;;:::i;:::-;;80074:783;;;80137:39;80148:5;80155:8;80165:4;80171;80137:10;:39::i;80074:783::-;80220:21;80198:5;:18;;;:43;;;;;;;;:::i;:::-;;80194:663;;;80258:28;80270:5;80277:8;80258:11;:28::i;80194:663::-;80330:32;80308:5;:18;;;:54;;;;;;;;:::i;:::-;;80304:553;;;80379:38;80401:5;80408:8;80379:21;:38::i;80304:553::-;80461:22;80439:5;:18;;;:44;;;;;;;;:::i;:::-;;80435:422;;;80500:29;80513:5;80520:8;80500:12;:29::i;80435:422::-;80573:24;80551:5;:18;;;:46;;;;;;;;:::i;:::-;;80547:310;;;80614:31;80629:5;80636:8;80614:14;:31::i;80547:310::-;80689:26;80667:5;:18;;;:48;;;;;;;;:::i;:::-;;80663:194;;;80732:38;80748:5;80755:8;80765:4;80732:15;:38::i;80663:194::-;80803:42;;-1:-1:-1;;;80803:42:0;;15520:2:1;80803:42:0;;;15502:21:1;15559:2;15539:18;;;15532:30;15598:26;15578:18;;;15571:54;15642:18;;80803:42:0;15318:348:1;80803:42:0;78720:2144;78578:2286;;;:::o;91350:108::-;91422:28;;-1:-1:-1;;;91422:28:0;;;;;26517:25:1;;;-1:-1:-1;;;;;91422:20:0;;;;;26490:18:1;;91422:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91350:108;;:::o;14254:716::-;14678:23;14704:69;14732:4;14704:69;;;;;;;;;;;;;;;;;14712:5;-1:-1:-1;;;;;14704:27:0;;;:69;;;;;:::i;:::-;14788:17;;14678:95;;-1:-1:-1;14788:21:0;14784:179;;14885:10;14874:30;;;;;;;;;;;;:::i;:::-;14866:85;;;;-1:-1:-1;;;14866:85:0;;23739:2:1;14866:85:0;;;23721:21:1;23778:2;23758:18;;;23751:30;23817:34;23797:18;;;23790:62;-1:-1:-1;;;23868:18:1;;;23861:40;23918:19;;14866:85:0;23537:406:1;18912:98:0;18970:7;18997:5;19001:1;18997;:5;:::i;18513:98::-;18571:7;18598:5;18602:1;18598;:5;:::i;80872:1451::-;81060:10;;;;-1:-1:-1;;;;;81060:24:0;81056:367;;81101:63;81138:5;:15;;;81155:8;81108:5;:15;;;-1:-1:-1;;;;;81101:36:0;;;:63;;;;;:::i;:::-;81056:367;;;81186:10;;;;-1:-1:-1;;;;;81186:24:0;81208:1;81186:24;81182:241;;;81227:184;81265:5;:15;;;81299:5;:15;;;81333:8;81360:4;:13;;;81392:4;81227:19;:184::i;:::-;81433:19;81470:5;:15;;;81433:53;;81498:16;81516;81538:4;-1:-1:-1;;;;;81538:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;81497:59;-1:-1:-1;;;;;81497:59:0;;;-1:-1:-1;;;;;81497:59:0;;;81568:19;81589:17;81642:4;-1:-1:-1;;;;;81642:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;81610:45:0;:5;:15;;;-1:-1:-1;;;;;81610:45:0;;:117;;81708:8;81718;81610:117;;;81672:8;81682;81610:117;81567:160;;;;81749:91;81818:11;81756:5;:15;;;-1:-1:-1;;;;;81749:33:0;;81783:5;:15;;;81749:50;;;;;;;;;;;;;;-1:-1:-1;;;;;9561:32:1;;;;9543:51;;9531:2;9516:18;;9397:203;81749:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:91::-;81738:102;;81851:17;81871:148;81915:8;81938:11;81964:9;81988:5;:20;;;81871:148;;:29;:148::i;:::-;82043:8;;;;81851:168;;-1:-1:-1;;;;;;82066:16:0;;82062:40;;-1:-1:-1;82097:4:0;82062:40;-1:-1:-1;;;;;82117:16:0;;82131:1;82117:16;82113:34;;;-1:-1:-1;82140:7:0;;;;82113:34;82179:4;-1:-1:-1;;;;;82179:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;82162:30:0;:5;:13;;;-1:-1:-1;;;;;82162:30:0;;82158:158;;;82209:31;;-1:-1:-1;;;82209:31:0;;;;;14425:25:1;;;82230:1:0;14466:18:1;;;14459:34;;;-1:-1:-1;;;;;14529:32:1;;;14509:18;;;14502:60;14598:3;14578:18;;;14571:31;14618:19;;;14611:30;;;;82209:9:0;;;;;14658:19:1;;82209:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82158:158;;;82273:31;;-1:-1:-1;;;82273:31:0;;82283:1;82273:31;;;14425:25:1;;;14466:18;;;14459:34;;;-1:-1:-1;;;;;14529:32:1;;;14509:18;;;14502:60;14598:3;14578:18;;;14571:31;14618:19;;;14611:30;;;;82273:9:0;;;;;14658:19:1;;82273:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82158:158;81045:1278;;;;;;;80872:1451;;;;:::o;82951:1434::-;83136:10;;;;-1:-1:-1;;;;;83136:24:0;83132:367;;83177:63;83214:5;:15;;;83231:8;83184:5;:15;;;-1:-1:-1;;;;;83177:36:0;;;:63;;;;;:::i;:::-;83132:367;;;83262:10;;;;-1:-1:-1;;;;;83262:24:0;83284:1;83262:24;83258:241;;;83303:184;83341:5;:15;;;83375:5;:15;;;83409:8;83436:4;:13;;;83468:4;83303:19;:184::i;:::-;83509:16;83540:5;:15;;;83509:47;;83568:16;83586;83608:4;-1:-1:-1;;;;;83608:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;83567:59;-1:-1:-1;;;;;83567:59:0;;;-1:-1:-1;;;;;83567:59:0;;;83638:19;83659:17;83712:4;-1:-1:-1;;;;;83712:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;83680:45:0;:5;:15;;;-1:-1:-1;;;;;83680:45:0;;:117;;83778:8;83788;83680:117;;;83742:8;83752;83680:117;83637:160;;;;83819:91;83888:11;83826:5;:15;;;-1:-1:-1;;;;;83819:33:0;;83853:5;:15;;;83819:50;;;;;;;;;;;;;;-1:-1:-1;;;;;9561:32:1;;;;9543:51;;9531:2;9516:18;;9397:203;83819:91:0;83808:102;;83921:17;83941:148;83985:8;84008:11;84034:9;84058:5;:20;;;83941:148;;:29;:148::i;:::-;84113:8;;;;83921:168;;-1:-1:-1;;;;;;84136:16:0;;84132:40;;-1:-1:-1;84167:4:0;84132:40;-1:-1:-1;;;;;84187:16:0;;84201:1;84187:16;84183:34;;;-1:-1:-1;84210:7:0;;;;84183:34;84249:4;-1:-1:-1;;;;;84249:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;84232:30:0;:5;:13;;;-1:-1:-1;;;;;84232:30:0;;84228:150;;;84279:27;;-1:-1:-1;;;84279:27:0;;;;;14002:25:1;;;84300:1:0;14043:18:1;;;14036:34;-1:-1:-1;;;;;14106:32:1;;;14086:18;;;14079:60;84279:9:0;;;;;13975:18:1;;84279:27:0;13792:353:1;84228:150:0;84339:27;;-1:-1:-1;;;84339:27:0;;84349:1;84339:27;;;14002:25:1;14043:18;;;14036:34;;;-1:-1:-1;;;;;14106:32:1;;;14086:18;;;14079:60;84339:9:0;;;;;13975:18:1;;84339:27:0;13792:353:1;85236:892:0;85421:10;;;;-1:-1:-1;;;;;85421:24:0;85417:367;;85462:63;85499:5;:15;;;85516:8;85469:5;:15;;;-1:-1:-1;;;;;85462:36:0;;;:63;;;;;:::i;:::-;85417:367;;;85547:10;;;;-1:-1:-1;;;;;85547:24:0;85569:1;85547:24;85543:241;;;85588:184;85626:5;:15;;;85660:5;:15;;;85694:8;85721:4;:13;;;85753:4;85588:19;:184::i;:::-;85807:8;;;;-1:-1:-1;;;;;85830:16:0;;85826:40;;-1:-1:-1;85861:4:0;85826:40;-1:-1:-1;;;;;85881:16:0;;85895:1;85881:16;85877:34;;;-1:-1:-1;85904:7:0;;;;85877:34;85969:5;:15;;;-1:-1:-1;;;;;85926:58:0;85934:5;:15;;;-1:-1:-1;;;;;85926:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;85926:58:0;;85922:199;;;86009:15;;;;86001:37;;-1:-1:-1;;;86001:37:0;;-1:-1:-1;;;;;9561:32:1;;;86001:37:0;;;9543:51:1;86001:33:0;;;;;;9516:18:1;;86001:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;85922:199;;;86079:15;;;;86071:38;;-1:-1:-1;;;86071:38:0;;-1:-1:-1;;;;;9561:32:1;;;86071:38:0;;;9543:51:1;86071:34:0;;;;;;9516:18:1;;86071:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;86136:599::-;86229:10;;;;-1:-1:-1;;;;;86229:24:0;;86221:70;;;;-1:-1:-1;;;86221:70:0;;;;;;;:::i;:::-;86321:15;;;;86338:19;;86302:66;;86321:15;-1:-1:-1;;;;;86338:19:0;86359:8;86302:18;:66::i;:::-;86408:16;;;86422:1;86408:16;;;;;;;;;86379:26;;86408:16;;;;;;;;;;;-1:-1:-1;86408:16:0;86379:45;;86450:5;:15;;;86435:9;86445:1;86435:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;86435:30:0;;;:12;;;;;;;;;:30;86489:19;;86535:15;;;;;86565:13;;;;86656:15;;;;86476:251;;-1:-1:-1;;;86476:251:0;;:44;;;;;;;:251;;86593:8;;86616:1;;86632:9;;86489:19;;-1:-1:-1;;70155:10:0;86476:251;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;82331:612::-;82533:11;;82514:15;;;;-1:-1:-1;;;;;82514:30:0;;;82533:11;;82514:30;82510:141;;;82574:6;;82561:30;;-1:-1:-1;;;;;82574:6:0;82582:8;82561:12;:30::i;:::-;82617:11;;82606:33;;-1:-1:-1;;;;;82617:11:0;82630:8;82606:10;:33::i;:::-;82661:44;82677:5;82684:8;82694:4;82700;82661:15;:44::i;:::-;82737:11;;82720:13;;;;-1:-1:-1;;;;;82720:28:0;;;82737:11;;82720:28;82716:220;;;82792:11;;;82785:44;;-1:-1:-1;;;82785:44:0;;82823:4;82785:44;;;9543:51:1;;;;82765:17:0;;-1:-1:-1;;;;;82792:11:0;;;;82785:29;;9516:18:1;;82785:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;82857:11;;82765:64;;-1:-1:-1;82844:36:0;;-1:-1:-1;;;;;82857:11:0;82765:64;82844:12;:36::i;:::-;82906:6;;82895:29;;-1:-1:-1;;;;;82906:6:0;82914:9;82895:10;:29::i;86743:408::-;86835:10;;;;-1:-1:-1;;;;;86835:24:0;;86827:70;;;;-1:-1:-1;;;86827:70:0;;;;;;;:::i;:::-;86908:66;86927:5;:15;;;86944:5;:19;;;86965:8;86908:18;:66::i;:::-;86996:19;;87040:20;;;;87075:18;;;;86985:158;;-1:-1:-1;;;86985:158:0;;13626:1:1;13615:21;;;86985:158:0;;;13597:40:1;13673:21;;13653:18;;;13646:49;13711:18;;;13704:34;;;86996:19:0;13754:18:1;;;13747:34;-1:-1:-1;;;;;86985:40:0;;;;;;13569:19:1;;86985:158:0;13364:423:1;87159:453:0;87275:10;;;;-1:-1:-1;;;;;87275:24:0;;87267:70;;;;-1:-1:-1;;;87267:70:0;;;;;;;:::i;:::-;87348:66;87367:5;:15;;;87384:5;:19;;;87405:8;87348:18;:66::i;:::-;87446:19;;87501:20;;;;87536:18;;;;87425:179;;-1:-1:-1;;;87425:179:0;;13626:1:1;13615:21;;;87425:179:0;;;13597:40:1;13673:21;;13653:18;;;13646:49;13711:18;;;13704:34;;;87446:19:0;13754:18:1;;;13747:34;-1:-1:-1;;;;;87425:61:0;;;;;;13569:19:1;;87425:179:0;13364:423:1;87620:535:0;87713:10;;;;-1:-1:-1;;;;;87713:24:0;;87705:70;;;;-1:-1:-1;;;87705:70:0;;;;;;;:::i;:::-;87786:66;87805:5;:15;;;87822:5;:19;;;87843:8;87786:18;:66::i;:::-;87900:19;;87979:15;;;;;87954:41;;-1:-1:-1;;;87954:41:0;;-1:-1:-1;;;;;9561:32:1;;;87954:41:0;;;9543:51:1;87863:22:0;;87954:24;;;;;9516:18:1;;87954:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;88052:13;;;;88027:39;;-1:-1:-1;;;88027:39:0;;-1:-1:-1;;;;;9561:32:1;;;88027:39:0;;;9543:51:1;87931:64:0;;-1:-1:-1;88006:18:0;;88027:24;;;;;;9516:18:1;;88027:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;88077:70;;-1:-1:-1;;;88077:70:0;;27738:4:1;27726:17;;;88077:70:0;;;27708:36:1;27780:17;;27760:18;;;27753:45;27814:18;;;27807:34;;;88133:1:0;27857:18:1;;;27850:34;-1:-1:-1;;27900:19:1;;;27893:35;88006:60:0;;-1:-1:-1;;;;;;88077:15:0;;;;;27680:19:1;;88077:70:0;27449:485:1;88163:926:0;88272:10;;;;-1:-1:-1;;;;;88272:24:0;;88264:70;;;;-1:-1:-1;;;88264:70:0;;;;;;;:::i;:::-;88345:66;88364:5;:15;;;88381:5;:19;;;88402:8;88345:18;:66::i;:::-;88438:5;:19;;;-1:-1:-1;;;;;88422:41:0;;88478:325;;;;;;;;88539:5;:15;;;-1:-1:-1;;;;;88525:40:0;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;88478:325;;;;88592:26;88478:325;;;;88653:5;:15;;;-1:-1:-1;;;;;88478:325:0;;;;;88705:5;:13;;;-1:-1:-1;;;;;88478:325:0;;;;;88746:8;88478:325;;;;;;;;;;;;;;;;;-1:-1:-1;;;88478:325:0;;;;;;88818:211;;;;;;;;88877:4;-1:-1:-1;;;;;88818:211:0;;;;;88922:5;88818:211;;;;;;88965:4;-1:-1:-1;;;;;88818:211:0;;;;;89008:5;88818:211;;;;;89044:1;-1:-1:-1;;88422:659:0;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;84393:835::-;84553:10;;;;-1:-1:-1;;;;;84553:24:0;;84545:70;;;;-1:-1:-1;;;84545:70:0;;;;;;;:::i;:::-;84626:19;84663:5;:15;;;84626:53;;84690:15;84725:5;:15;;;-1:-1:-1;;;;;84708:32:0;:4;-1:-1:-1;;;;;84708:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;84764:8;;;;-1:-1:-1;;;;;84708:32:0;;;;;;;;-1:-1:-1;84787:16:0;;84783:40;;-1:-1:-1;84818:4:0;84783:40;-1:-1:-1;;;;;84838:16:0;;84852:1;84838:16;84834:34;;;-1:-1:-1;84861:7:0;;;;84834:34;84879:4;-1:-1:-1;;;;;84879:9:0;;84903:2;84920:10;84952:8;84976:10;:44;;70390:53;84976:44;;;70317:14;84976:44;85064:130;;;;;;;;85117:4;-1:-1:-1;;;;;85117:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;85064:130:0;;;;;85161:4;-1:-1:-1;;;;;85161:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;85064:130:0;;;85035:174;;;;;;;26269:13:1;;-1:-1:-1;;;;;26265:22:1;;;26247:41;;26348:4;26336:17;;;26330:24;26326:33;26304:20;;;26297:63;;;;26197:2;26182:18;;25985:381;85035:174:0;;;;;;;;;;;;;84879:341;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;84534:694;;;84393:835;;;:::o;6523:229::-;6660:12;6692:52;6714:6;6722:4;6728:1;6731:12;6692:21;:52::i;:::-;6685:59;;6523:229;;;;;;:::o;66666:673::-;66854:17;66903:1;66892:8;:12;66884:68;;;;-1:-1:-1;;;66884:68:0;;24501:2:1;66884:68:0;;;24483:21:1;24540:2;24520:18;;;24513:30;24579:34;24559:18;;;24552:62;-1:-1:-1;;;24630:18:1;;;24623:41;24681:19;;66884:68:0;24299:407:1;66884:68:0;66997:1;66985:9;:13;:31;;;;;67015:1;67002:10;:14;66985:31;66963:121;;;;-1:-1:-1;;;66963:121:0;;19560:2:1;66963:121:0;;;19542:21:1;19599:2;19579:18;;;19572:30;19638:34;19618:18;;;19611:62;-1:-1:-1;;;19689:18:1;;;19682:38;19737:19;;66963:121:0;19358:404:1;66963:121:0;67095:23;67121:28;:8;67134:14;67121:12;:28::i;:::-;67095:54;-1:-1:-1;67160:17:0;67180:31;67095:54;67200:10;67180:19;:31::i;:::-;67160:51;-1:-1:-1;67222:19:0;67244:41;67269:15;67244:20;:9;67258:5;67244:13;:20::i;:::-;:24;;:41::i;:::-;67222:63;-1:-1:-1;67308:23:0;67222:63;67308:9;:23;:::i;:::-;67296:35;66666:673;-1:-1:-1;;;;;;;;66666:673:0:o;91466:388::-;91616:47;;-1:-1:-1;;;91616:47:0;;91648:4;91616:47;;;10257:34:1;-1:-1:-1;;;;;10327:15:1;;;10307:18;;;10300:43;91596:17:0;;91616:23;;;;;;10192:18:1;;91616:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;91596:67;;91687:9;91678:6;:18;91674:173;;;91713:22;91738;-1:-1:-1;;91750:9:0;91738:11;:22::i;:::-;91713:47;-1:-1:-1;91775:60:0;-1:-1:-1;;;;;91775:35:0;;91811:7;91713:47;91775:35;:60::i;7643:510::-;7813:12;7871:5;7846:21;:30;;7838:81;;;;-1:-1:-1;;;7838:81:0;;18393:2:1;7838:81:0;;;18375:21:1;18432:2;18412:18;;;18405:30;18471:34;18451:18;;;18444:62;-1:-1:-1;;;18522:18:1;;;18515:36;18568:19;;7838:81:0;18191:402:1;7838:81:0;4040:20;;7930:60;;;;-1:-1:-1;;;7930:60:0;;23381:2:1;7930:60:0;;;23363:21:1;23420:2;23400:18;;;23393:30;23459:31;23439:18;;;23432:59;23508:18;;7930:60:0;23179:353:1;7930:60:0;8004:12;8018:23;8045:6;-1:-1:-1;;;;;8045:11:0;8064:5;8071:4;8045:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8003:73;;;;8094:51;8111:7;8120:10;8132:12;8094:16;:51::i;:::-;8087:58;7643:510;-1:-1:-1;;;;;;;7643:510:0:o;17775:98::-;17833:7;17860:5;17864:1;17860;:5;:::i;13041:317::-;13195:39;;-1:-1:-1;;;13195:39:0;;13219:4;13195:39;;;10257:34:1;-1:-1:-1;;;;;10327:15:1;;;10307:18;;;10300:43;13172:20:0;;13237:5;;13195:15;;;;;10192:18:1;;13195:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47;;;;:::i;:::-;13280:69;;-1:-1:-1;;;;;13277:32:1;;13280:69:0;;;13259:51:1;13326:18;;;13319:34;;;13172:70:0;;-1:-1:-1;13253:97:0;;13273:5;;-1:-1:-1;;;13303:22:0;13232:18:1;;13280:69:0;13085:274:1;10329:712:0;10479:12;10508:7;10504:530;;;-1:-1:-1;10539:10:0;10532:17;;10504:530;10653:17;;:21;10649:374;;10851:10;10845:17;10912:15;10899:10;10895:2;10891:19;10884:44;10649:374;10994:12;10987:20;;-1:-1:-1;;;10987:20:0;;;;;;;;:::i;14:134:1:-;82:20;;111:31;82:20;111:31;:::i;:::-;14:134;;;:::o;153:1949::-;217:5;270:3;263:4;255:6;251:17;247:27;237:55;;288:1;285;278:12;237:55;324:6;311:20;350:4;373:18;369:2;366:26;363:52;;;395:18;;:::i;:::-;435:36;467:2;462;459:1;455:10;451:19;435:36;:::i;:::-;505:15;;;536:12;;;;568:15;;;602:6;639:11;;;627:24;;623:33;;620:42;-1:-1:-1;617:62:1;;;675:1;672;665:12;617:62;697:1;718;728:1345;744:2;739:3;736:11;728:1345;;;815:2;809:3;804;800:13;796:22;793:42;;;831:1;828;821:12;793:42;861:22;;:::i;:::-;910:23;929:3;910:23;:::i;:::-;903:5;896:38;970:32;998:2;993:3;989:12;970:32;:::i;:::-;965:2;958:5;954:14;947:56;1026:2;1064:32;1092:2;1087:3;1083:12;1064:32;:::i;:::-;1048:14;;;1041:56;1120:2;1158:32;1177:12;;;1158:32;:::i;:::-;1142:14;;;1135:56;1214:3;1253:32;1272:12;;;1253:32;:::i;:::-;1237:14;;;1230:56;1309:3;1348:32;1367:12;;;1348:32;:::i;:::-;1332:14;;;1325:56;1404:3;1443:31;1461:12;;;1443:31;:::i;:::-;1427:14;;;1420:55;1498:3;1537:30;1554:12;;;1537:30;:::i;:::-;1521:14;;;1514:54;1592:3;1632:31;1649:13;;;1632:31;:::i;:::-;1615:15;;;1608:56;1688:3;1728:31;1745:13;;;1728:31;:::i;:::-;1711:15;;;1704:56;1784:3;1824:32;1842:13;;;1824:32;:::i;:::-;1807:15;;;1800:57;1881:3;1921:46;1953:13;;;1921:46;:::i;:::-;1904:15;;;1897:71;1981:18;;2019:12;;;;2051;;;;766:1;757:11;728:1345;;;-1:-1:-1;2091:5:1;;153:1949;-1:-1:-1;;;;;;;;;153:1949:1:o;2107:128::-;2172:20;;2201:28;2172:20;2201:28;:::i;2240:157::-;2321:20;;2370:2;2360:13;;2350:41;;2387:1;2384;2377:12;2402:160;2468:20;;2528:1;2517:20;;;2507:31;;2497:59;;2552:1;2549;2542:12;2567:188;2646:13;;-1:-1:-1;;;;;2688:42:1;;2678:53;;2668:81;;2745:1;2742;2735:12;2760:159;2827:20;;2887:6;2876:18;;2866:29;;2856:57;;2909:1;2906;2899:12;2924:132;2991:20;;3020:30;2991:20;3020:30;:::i;3061:130::-;3127:20;;3156:29;3127:20;3156:29;:::i;3196:247::-;3255:6;3308:2;3296:9;3287:7;3283:23;3279:32;3276:52;;;3324:1;3321;3314:12;3276:52;3363:9;3350:23;3382:31;3407:5;3382:31;:::i;3448:251::-;3518:6;3571:2;3559:9;3550:7;3546:23;3542:32;3539:52;;;3587:1;3584;3577:12;3539:52;3619:9;3613:16;3638:31;3663:5;3638:31;:::i;3964:245::-;4031:6;4084:2;4072:9;4063:7;4059:23;4055:32;4052:52;;;4100:1;4097;4090:12;4052:52;4132:9;4126:16;4151:28;4173:5;4151:28;:::i;4214:184::-;4284:6;4337:2;4325:9;4316:7;4312:23;4308:32;4305:52;;;4353:1;4350;4343:12;4305:52;-1:-1:-1;4376:16:1;;4214:184;-1:-1:-1;4214:184:1:o;4403:243::-;4480:6;4488;4541:2;4529:9;4520:7;4516:23;4512:32;4509:52;;;4557:1;4554;4547:12;4509:52;-1:-1:-1;;4580:16:1;;4636:2;4621:18;;;4615:25;4580:16;;4615:25;;-1:-1:-1;4403:243:1:o;4651:725::-;4737:6;4745;4753;4761;4814:2;4802:9;4793:7;4789:23;4785:32;4782:52;;;4830:1;4827;4820:12;4782:52;4866:9;4853:23;4843:33;;4923:2;4912:9;4908:18;4895:32;4885:42;;4978:2;4967:9;4963:18;4950:32;5001:18;5042:2;5034:6;5031:14;5028:34;;;5058:1;5055;5048:12;5028:34;5096:6;5085:9;5081:22;5071:32;;5141:7;5134:4;5130:2;5126:13;5122:27;5112:55;;5163:1;5160;5153:12;5112:55;5203:2;5190:16;5229:2;5221:6;5218:14;5215:34;;;5245:1;5242;5235:12;5215:34;5290:7;5285:2;5276:6;5272:2;5268:15;5264:24;5261:37;5258:57;;;5311:1;5308;5301:12;5258:57;4651:725;;;;-1:-1:-1;;5342:2:1;5334:11;;-1:-1:-1;;;4651:725:1:o;5381:1079::-;5474:6;5527:2;5515:9;5506:7;5502:23;5498:32;5495:52;;;5543:1;5540;5533:12;5495:52;5583:9;5570:23;5612:18;5653:2;5645:6;5642:14;5639:34;;;5669:1;5666;5659:12;5639:34;5692:22;;;;5748:6;5730:16;;;5726:29;5723:49;;;5768:1;5765;5758:12;5723:49;5794:22;;:::i;:::-;5839;5858:2;5839:22;:::i;:::-;5832:5;5825:37;5894:31;5921:2;5917;5913:11;5894:31;:::i;:::-;5889:2;5882:5;5878:14;5871:55;5979:2;5975;5971:11;5958:25;5953:2;5946:5;5942:14;5935:49;6037:2;6033;6029:11;6016:25;6011:2;6004:5;6000:14;5993:49;6075:32;6102:3;6098:2;6094:12;6075:32;:::i;:::-;6069:3;6062:5;6058:15;6051:57;6154:3;6150:2;6146:12;6133:26;6184:2;6174:8;6171:16;6168:36;;;6200:1;6197;6190:12;6168:36;6237:66;6295:7;6284:8;6280:2;6276:17;6237:66;:::i;:::-;6231:3;6224:5;6220:15;6213:91;;6337:29;6361:3;6357:2;6353:12;6337:29;:::i;:::-;6331:3;6324:5;6320:15;6313:54;6400:29;6424:3;6420:2;6416:12;6400:29;:::i;:::-;6394:3;6383:15;;6376:54;6387:5;5381:1079;-1:-1:-1;;;;;5381:1079:1:o;6465:658::-;6563:6;6616:2;6604:9;6595:7;6591:23;6587:32;6584:52;;;6632:1;6629;6622:12;6584:52;6665:2;6659:9;6707:2;6699:6;6695:15;6776:6;6764:10;6761:22;6740:18;6728:10;6725:34;6722:62;6719:88;;;6787:18;;:::i;:::-;6823:2;6816:22;6860:23;;6892:31;6860:23;6892:31;:::i;:::-;6932:21;;7005:2;6990:18;;6977:32;7018:33;6977:32;7018:33;:::i;:::-;7079:2;7067:15;;7060:32;7071:6;6465:658;-1:-1:-1;;;6465:658:1:o;7128:419::-;7215:6;7223;7231;7284:2;7272:9;7263:7;7259:23;7255:32;7252:52;;;7300:1;7297;7290:12;7252:52;7323:40;7353:9;7323:40;:::i;:::-;7313:50;;7382:49;7427:2;7416:9;7412:18;7382:49;:::i;:::-;7372:59;;7474:2;7463:9;7459:18;7453:25;7487:30;7511:5;7487:30;:::i;:::-;7536:5;7526:15;;;7128:419;;;;;:::o;7741:247::-;7809:6;7862:2;7850:9;7841:7;7837:23;7833:32;7830:52;;;7878:1;7875;7868:12;7830:52;7910:9;7904:16;7929:29;7952:5;7929:29;:::i;8206:257::-;8247:3;8285:5;8279:12;8312:6;8307:3;8300:19;8328:63;8384:6;8377:4;8372:3;8368:14;8361:4;8354:5;8350:16;8328:63;:::i;:::-;8445:2;8424:15;-1:-1:-1;;8420:29:1;8411:39;;;;8452:4;8407:50;;8206:257;-1:-1:-1;;8206:257:1:o;8908:274::-;9037:3;9075:6;9069:13;9091:53;9137:6;9132:3;9125:4;9117:6;9113:17;9091:53;:::i;:::-;9160:16;;;;;8908:274;-1:-1:-1;;8908:274:1:o;10815:1240::-;-1:-1:-1;;;;;11291:15:1;;;11273:34;;11364:15;;;11326:2;11344:18;;;11337:43;;;;11411:2;11396:18;;11389:34;;;11454:2;11439:18;;11432:34;;;11182:3;11497;11482:19;;11475:31;;;11555:13;;11208:18;;;11577:22;;;11153:4;;11630:3;11615:19;;;11657:15;;;;11153:4;11700:178;11714:6;11711:1;11708:13;11700:178;;;11779:13;;11775:22;;11763:35;;11818:12;;;;11853:15;;;;11736:1;11729:9;11700:178;;;-1:-1:-1;;;;8895:4:1;8884:16;;11947:3;11932:19;;8872:29;-1:-1:-1;11895:3:1;-1:-1:-1;8180:13:1;;8173:21;12000:3;11985:19;;8161:34;12036:3;12021:19;12014:35;10815:1240;;-1:-1:-1;;;;;;10815:1240:1:o;12512:568::-;-1:-1:-1;;;;;12801:15:1;;;12783:34;;12860:14;;12853:22;12848:2;12833:18;;12826:50;12907:2;12892:18;;12885:34;;;12955:15;;12950:2;12935:18;;12928:43;12763:3;13002;12987:19;;12980:32;;;12726:4;;13029:45;;13054:19;;13046:6;13029:45;:::i;14688:219::-;14837:2;14826:9;14819:21;14800:4;14857:44;14897:2;14886:9;14882:18;14874:6;14857:44;:::i;20123:397::-;20325:2;20307:21;;;20364:2;20344:18;;;20337:30;20403:34;20398:2;20383:18;;20376:62;-1:-1:-1;;;20469:2:1;20454:18;;20447:31;20510:3;20495:19;;20123:397::o;20872:356::-;21074:2;21056:21;;;21093:18;;;21086:30;21152:34;21147:2;21132:18;;21125:62;21219:2;21204:18;;20872:356::o;24711:1269::-;25052:3;25041:9;25034:22;25099:6;25093:13;25087:3;25076:9;25072:19;25065:42;25015:4;25154;25146:6;25142:17;25136:24;25196:1;25182:12;25179:19;25169:150;;25241:10;25236:3;25232:20;25229:1;25222:31;25276:4;25273:1;25266:15;25304:4;25301:1;25294:15;25169:150;25350:3;25335:19;;25328:41;25428:4;25416:17;;25410:24;-1:-1:-1;;;;;25406:50:1;25400:3;25385:19;;25378:79;25506:4;25494:17;;25488:24;25521:63;25579:3;25564:19;;25488:24;-1:-1:-1;;;;;8067:31:1;8055:44;;7993:112;25521:63;;25639:4;25631:6;25627:17;25621:24;25615:3;25604:9;25600:19;25593:53;25695:4;25687:6;25683:17;25677:24;25738:4;25732:3;25721:9;25717:19;25710:33;25760:53;25808:3;25797:9;25793:19;25777:14;25760:53;:::i;:::-;25752:61;;;25822:62;25878:4;25867:9;25863:20;25855:6;8590:12;;-1:-1:-1;;;;;8586:21:1;;;8574:34;;8671:4;8660:16;;;8654:23;8647:31;8640:39;8624:14;;;8617:63;8733:4;8722:16;;;8716:23;8712:32;;;8696:14;;;8689:56;8808:4;8797:16;;;8791:23;8784:31;8777:39;8761:14;;8754:63;8468:355;25822:62;25915:4;25900:20;;25893:36;;;;25960:4;25945:20;25938:36;24711:1269;;-1:-1:-1;;24711:1269:1:o;27939:255::-;28011:2;28005:9;28053:6;28041:19;;28090:18;28075:34;;28111:22;;;28072:62;28069:88;;;28137:18;;:::i;:::-;28173:2;28166:22;27939:255;:::o;28199:::-;28271:2;28265:9;28313:6;28301:19;;28350:18;28335:34;;28371:22;;;28332:62;28329:88;;;28397:18;;:::i;28459:275::-;28530:2;28524:9;28595:2;28576:13;;-1:-1:-1;;28572:27:1;28560:40;;28630:18;28615:34;;28651:22;;;28612:62;28609:88;;;28677:18;;:::i;:::-;28713:2;28706:22;28459:275;;-1:-1:-1;28459:275:1:o;28739:128::-;28779:3;28810:1;28806:6;28803:1;28800:13;28797:39;;;28816:18;;:::i;:::-;-1:-1:-1;28852:9:1;;28739:128::o;28872:217::-;28912:1;28938;28928:132;;28982:10;28977:3;28973:20;28970:1;28963:31;29017:4;29014:1;29007:15;29045:4;29042:1;29035:15;28928:132;-1:-1:-1;29074:9:1;;28872:217::o;29094:168::-;29134:7;29200:1;29196;29192:6;29188:14;29185:1;29182:21;29177:1;29170:9;29163:17;29159:45;29156:71;;;29207:18;;:::i;:::-;-1:-1:-1;29247:9:1;;29094:168::o;29267:125::-;29307:4;29335:1;29332;29329:8;29326:34;;;29340:18;;:::i;:::-;-1:-1:-1;29377:9:1;;29267:125::o;29397:258::-;29469:1;29479:113;29493:6;29490:1;29487:13;29479:113;;;29569:11;;;29563:18;29550:11;;;29543:39;29515:2;29508:10;29479:113;;;29610:6;29607:1;29604:13;29601:48;;;-1:-1:-1;;29645:1:1;29627:16;;29620:27;29397:258::o;29660:135::-;29699:3;-1:-1:-1;;29720:17:1;;29717:43;;;29740:18;;:::i;:::-;-1:-1:-1;29787:1:1;29776:13;;29660:135::o;29800:127::-;29861:10;29856:3;29852:20;29849:1;29842:31;29892:4;29889:1;29882:15;29916:4;29913:1;29906:15;29932:127;29993:10;29988:3;29984:20;29981:1;29974:31;30024:4;30021:1;30014:15;30048:4;30045:1;30038:15;30064:127;30125:10;30120:3;30116:20;30113:1;30106:31;30156:4;30153:1;30146:15;30180:4;30177:1;30170:15;30196:127;30257:10;30252:3;30248:20;30245:1;30238:31;30288:4;30285:1;30278:15;30312:4;30309:1;30302:15;30328:131;-1:-1:-1;;;;;30403:31:1;;30393:42;;30383:70;;30449:1;30446;30439:12;30464:118;30550:5;30543:13;30536:21;30529:5;30526:32;30516:60;;30572:1;30569;30562:12;30587:121;30672:10;30665:5;30661:22;30654:5;30651:33;30641:61;;30698:1;30695;30688:12;30713:114;30797:4;30790:5;30786:16;30779:5;30776:27;30766:55;;30817:1;30814;30807:12

Swarm Source

ipfs://f80e2ef18031eaadaab92f2d2020a6f897e2b401082751c743f47f8b76a99d9e

Block Transaction 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
[ 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.