ETH Price: $1,786.97 (+13.24%)

Contract

0xe8CD0DE416e98dF926ff318D96E5049d4DaC8459

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Execute3292011372025-04-23 0:23:414 hrs ago1745367821IN
0xe8CD0DE4...d4DaC8459
0.14184423 ETH0.000011860.01
Execute3291998572025-04-23 0:18:214 hrs ago1745367501IN
0xe8CD0DE4...d4DaC8459
0.13625801 ETH0.000007430.011841
Execute3291991842025-04-23 0:15:314 hrs ago1745367331IN
0xe8CD0DE4...d4DaC8459
0.08998596 ETH0.000012070.01
Execute3290928872025-04-22 16:51:3311 hrs ago1745340693IN
0xe8CD0DE4...d4DaC8459
0 ETH0.000016170.01
Execute3290928512025-04-22 16:51:2411 hrs ago1745340684IN
0xe8CD0DE4...d4DaC8459
0.00648774 ETH0.00002250.01
Execute3290917332025-04-22 16:46:4211 hrs ago1745340402IN
0xe8CD0DE4...d4DaC8459
0 ETH0.000014690.01
Execute3290914792025-04-22 16:45:3911 hrs ago1745340339IN
0xe8CD0DE4...d4DaC8459
0.07102799 ETH0.000019950.01
Execute3290905312025-04-22 16:41:4111 hrs ago1745340101IN
0xe8CD0DE4...d4DaC8459
0 ETH0.000021480.01
Execute3290901962025-04-22 16:40:1611 hrs ago1745340016IN
0xe8CD0DE4...d4DaC8459
0 ETH0.00001860.01
Execute3290895732025-04-22 16:37:4311 hrs ago1745339863IN
0xe8CD0DE4...d4DaC8459
0 ETH0.000018740.01
Execute3280775622025-04-19 17:56:063 days ago1745085366IN
0xe8CD0DE4...d4DaC8459
0 ETH0.000008540.01
Execute3280774462025-04-19 17:55:373 days ago1745085337IN
0xe8CD0DE4...d4DaC8459
0 ETH0.000002020.01
Execute3279116642025-04-19 6:23:173 days ago1745043797IN
0xe8CD0DE4...d4DaC8459
0.00612382 ETH0.000011830.01
Execute3274626062025-04-17 23:01:415 days ago1744930901IN
0xe8CD0DE4...d4DaC8459
0 ETH0.000008330.01
Execute3274624212025-04-17 23:00:555 days ago1744930855IN
0xe8CD0DE4...d4DaC8459
0 ETH0.00000760.01
Execute3274621082025-04-17 22:59:365 days ago1744930776IN
0xe8CD0DE4...d4DaC8459
0 ETH0.000008330.01
Execute3274619702025-04-17 22:59:015 days ago1744930741IN
0xe8CD0DE4...d4DaC8459
0.01 ETH0.000001930.01
Execute3274616522025-04-17 22:57:415 days ago1744930661IN
0xe8CD0DE4...d4DaC8459
0 ETH0.000008770.01
Execute3274613792025-04-17 22:56:315 days ago1744930591IN
0xe8CD0DE4...d4DaC8459
0.02058124 ETH0.000005580.01
Execute3274578312025-04-17 22:41:375 days ago1744929697IN
0xe8CD0DE4...d4DaC8459
0.00074647 ETH0.000012190.01
Execute3270263772025-04-16 16:38:166 days ago1744821496IN
0xe8CD0DE4...d4DaC8459
0.068083 ETH0.000015640.011297
Execute3270262412025-04-16 16:37:426 days ago1744821462IN
0xe8CD0DE4...d4DaC8459
0.63183523 ETH0.000017530.012737
Execute3270254152025-04-16 16:34:156 days ago1744821255IN
0xe8CD0DE4...d4DaC8459
0.51507867 ETH0.000014340.01
Execute3270243902025-04-16 16:29:596 days ago1744820999IN
0xe8CD0DE4...d4DaC8459
0 ETH0.000007040.01
Execute3270229232025-04-16 16:23:476 days ago1744820627IN
0xe8CD0DE4...d4DaC8459
0 ETH0.000009260.013759
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
3292011372025-04-23 0:23:414 hrs ago1745367821
0xe8CD0DE4...d4DaC8459
0.14184423 ETH
3291998572025-04-23 0:18:214 hrs ago1745367501
0xe8CD0DE4...d4DaC8459
0.00001369 ETH
3291998572025-04-23 0:18:214 hrs ago1745367501
0xe8CD0DE4...d4DaC8459
0.00001369 ETH
3291998572025-04-23 0:18:214 hrs ago1745367501
0xe8CD0DE4...d4DaC8459
0.13625801 ETH
3291991842025-04-23 0:15:314 hrs ago1745367331
0xe8CD0DE4...d4DaC8459
0.08998596 ETH
3290928872025-04-22 16:51:3311 hrs ago1745340693
0xe8CD0DE4...d4DaC8459
0.0161609 ETH
3290928872025-04-22 16:51:3311 hrs ago1745340693
0xe8CD0DE4...d4DaC8459
0.0161609 ETH
3290928512025-04-22 16:51:2411 hrs ago1745340684
0xe8CD0DE4...d4DaC8459
0.00648774 ETH
3290917332025-04-22 16:46:4211 hrs ago1745340402
0xe8CD0DE4...d4DaC8459
0.48443724 ETH
3290917332025-04-22 16:46:4211 hrs ago1745340402
0xe8CD0DE4...d4DaC8459
0.48443724 ETH
3290914792025-04-22 16:45:3911 hrs ago1745340339
0xe8CD0DE4...d4DaC8459
0.00000707 ETH
3290914792025-04-22 16:45:3911 hrs ago1745340339
0xe8CD0DE4...d4DaC8459
0.00000707 ETH
3290914792025-04-22 16:45:3911 hrs ago1745340339
0xe8CD0DE4...d4DaC8459
0.07102799 ETH
3290905312025-04-22 16:41:4111 hrs ago1745340101
0xe8CD0DE4...d4DaC8459
0.00576058 ETH
3290905312025-04-22 16:41:4111 hrs ago1745340101
0xe8CD0DE4...d4DaC8459
0.00576058 ETH
3290895732025-04-22 16:37:4311 hrs ago1745339863
0xe8CD0DE4...d4DaC8459
0.0000352 ETH
3290895732025-04-22 16:37:4311 hrs ago1745339863
0xe8CD0DE4...d4DaC8459
0.0000352 ETH
3279116642025-04-19 6:23:173 days ago1745043797
0xe8CD0DE4...d4DaC8459
0.00612382 ETH
3274624212025-04-17 23:00:555 days ago1744930855
0xe8CD0DE4...d4DaC8459
0.00313251 ETH
3274624212025-04-17 23:00:555 days ago1744930855
0xe8CD0DE4...d4DaC8459
0.00313251 ETH
3274619702025-04-17 22:59:015 days ago1744930741
0xe8CD0DE4...d4DaC8459
0.01 ETH
3274613792025-04-17 22:56:315 days ago1744930591
0xe8CD0DE4...d4DaC8459
0.00000548 ETH
3274613792025-04-17 22:56:315 days ago1744930591
0xe8CD0DE4...d4DaC8459
0.00000548 ETH
3274613792025-04-17 22:56:315 days ago1744930591
0xe8CD0DE4...d4DaC8459
0.02058124 ETH
3274578312025-04-17 22:41:375 days ago1744929697
0xe8CD0DE4...d4DaC8459
0.00074647 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ImpermaxV3UniV3Router01

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, BSL 1.1 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2025-03-13
*/

// File: contracts\interfaces\IERC20.sol

pragma solidity >=0.5.0;
pragma experimental ABIEncoderV2;


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

    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view 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);
}

// File: contracts\interfaces\IERC721.sol

pragma solidity >=0.5.0;

interface IERC721 {
	event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
	event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
	event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
	
	function name() external view returns (string memory);
	function symbol() external view returns (string memory);
	function balanceOf(address owner) external view returns (uint256 balance);
	function ownerOf(uint256 tokenId) external view returns (address owner);
	function getApproved(uint256 tokenId) external view returns (address operator);
	function isApprovedForAll(address owner, address operator) external view returns (bool);
	
	function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
	function safeTransferFrom(address from, address to, uint256 tokenId) external;
	function transferFrom(address from, address to, uint256 tokenId) external;
	function approve(address to, uint256 tokenId) external;
	function setApprovalForAll(address operator, bool approved) external;
	function permit(address spender, uint tokenId, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
}

// File: contracts\interfaces\IWETH.sol

pragma solidity >=0.5.0;

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

// File: contracts\interfaces\IV3BaseRouter01.sol

pragma solidity >=0.5.0;
interface IV3BaseRouter01 {
	struct LendingPool {
		address nftlp;
		address collateral;
		address[2] borrowables;
		address[2] tokens;
	}
	function getLendingPool(address nftlp) external view returns (LendingPool memory pool);
	function factory() external view returns (address);
	
	function execute(
		address nftlp,
		uint _tokenId,
		bytes calldata actionsData,
		bytes calldata permitsData,
		bool withCollateralTransfer
	) external payable;
}

// File: contracts\libraries\Math.sol

pragma solidity >=0.5.0;

// a library for performing various math operations
// forked from: https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/libraries/Math.sol

library Math {
    function min(uint x, uint y) internal pure returns (uint z) {
        z = x < y ? x : y;
    }
    function max(uint x, uint y) internal pure returns (uint z) {
        z = x > y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint y) internal pure returns (uint z) {
        if (y > 3) {
            z = y;
            uint x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

// File: contracts\libraries\SafeMath.sol

pragma solidity >=0.5.0;

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol
// Subject to the MIT license.

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, errorMessage);

        return c;
    }

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

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

        return c;
    }

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

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

// File: contracts\libraries\TransferHelper.sol

// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.5.0;

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeApprove: approve failed'
        );
    }

    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeTransfer: transfer failed'
        );
    }

    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::transferFrom: transferFrom failed'
        );
    }

    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call.value(value)(new bytes(0));
        require(success, 'TransferHelper::safeTransferETH: ETH transfer failed');
    }
}

// File: contracts\interfaces\IAllowanceTransfer.sol

// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
interface IAllowanceTransfer {

	function DOMAIN_SEPARATOR() external view returns (bytes32);

    /// @notice The permit data for a token
    struct PermitDetails {
        // ERC20 token address
        address token;
        // the maximum amount allowed to spend
        uint160 amount;
        // timestamp at which a spender's token allowances become invalid
        uint48 expiration;
        // an incrementing value indexed per owner,token,and spender for each signature
        uint48 nonce;
    }

    /// @notice The permit message signed for a single token allowance
    struct PermitSingle {
        // the permit data for a single token alownce
        PermitDetails details;
        // address permissioned on the allowed tokens
        address spender;
        // deadline on the permit signature
        uint256 sigDeadline;
    }

    /// @notice The permit message signed for multiple token allowances
    struct PermitBatch {
        // the permit data for multiple token allowances
        PermitDetails[] details;
        // address permissioned on the allowed tokens
        address spender;
        // deadline on the permit signature
        uint256 sigDeadline;
    }

    /// @notice The saved permissions
    /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message
    /// @dev Setting amount to type(uint160).max sets an unlimited approval
    struct PackedAllowance {
        // amount allowed
        uint160 amount;
        // permission expiry
        uint48 expiration;
        // an incrementing value indexed per owner,token,and spender for each signature
        uint48 nonce;
    }

    /// @notice A token spender pair.
    struct TokenSpenderPair {
        // the token the spender is approved
        address token;
        // the spender address
        address spender;
    }

    /// @notice Details for a token transfer.
    struct AllowanceTransferDetails {
        // the owner of the token
        address from;
        // the recipient of the token
        address to;
        // the amount of the token
        uint160 amount;
        // the token to be transferred
        address token;
    }

    /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.
    /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]
    /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.
    function allowance(address user, address token, address spender)
        external
        view
        returns (uint160 amount, uint48 expiration, uint48 nonce);

    /// @notice Approves the spender to use up to amount of the specified token up until the expiration
    /// @param token The token to approve
    /// @param spender The spender address to approve
    /// @param amount The approved amount of the token
    /// @param expiration The timestamp at which the approval is no longer valid
    /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve
    /// @dev Setting amount to type(uint160).max sets an unlimited approval
    function approve(address token, address spender, uint160 amount, uint48 expiration) external;

    /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature
    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce
    /// @param owner The owner of the tokens being approved
    /// @param permitSingle Data signed over by the owner specifying the terms of approval
    /// @param signature The owner's signature over the permit data
    function permit(address owner, PermitSingle calldata permitSingle, bytes calldata signature) external;

    /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature
    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce
    /// @param owner The owner of the tokens being approved
    /// @param permitBatch Data signed over by the owner specifying the terms of approval
    /// @param signature The owner's signature over the permit data
    function permit(address owner, PermitBatch calldata permitBatch, bytes calldata signature) external;

    /// @notice Transfer approved tokens from one address to another
    /// @param from The address to transfer from
    /// @param to The address of the recipient
    /// @param amount The amount of the token to transfer
    /// @param token The token address to transfer
    /// @dev Requires the from address to have approved at least the desired amount
    /// of tokens to msg.sender.
    function transferFrom(address from, address to, uint160 amount, address token) external;

    /// @notice Transfer approved tokens in a batch
    /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers
    /// @dev Requires the from addresses to have approved at least the desired amount
    /// of tokens to msg.sender.
    function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;

    /// @notice Enables performing a "lockdown" of the sender's Permit2 identity
    /// by batch revoking approvals
    /// @param approvals Array of approvals to revoke.
    function lockdown(TokenSpenderPair[] calldata approvals) external;

    /// @notice Invalidate nonces for a given (token, spender) pair
    /// @param token The token to invalidate nonces for
    /// @param spender The spender to invalidate nonces for
    /// @param newNonce The new nonce to set. Invalidates all nonces less than it.
    /// @dev Can't invalidate more than 2**16 nonces per transaction.
    function invalidateNonces(address token, address spender, uint48 newNonce) external;
}

// File: contracts\impermax-v3-core\interfaces\IBorrowable.sol

pragma solidity >=0.5.0;

interface IBorrowable {

	/*** Impermax ERC20 ***/
	
	event Transfer(address indexed from, address indexed to, uint value);
	event Approval(address indexed owner, address indexed spender, uint value);
	
	function name() external view returns (string memory);
	function symbol() external view returns (string memory);
	function decimals() external view 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;
	
	/*** Pool Token ***/
	
	event Mint(address indexed sender, address indexed minter, uint mintAmount, uint mintTokens);
	event Redeem(address indexed sender, address indexed redeemer, uint redeemAmount, uint redeemTokens);
	event Sync(uint totalBalance);
	
	function underlying() external view returns (address);
	function factory() external view returns (address);
	function totalBalance() external view returns (uint);
	function MINIMUM_LIQUIDITY() external pure returns (uint);

	function exchangeRate() external returns (uint);
	function mint(address minter) external returns (uint mintTokens);
	function redeem(address redeemer) external returns (uint redeemAmount);
	function skim(address to) external;
	function sync() external;
	
	function _setFactory() external;
	
	/*** Borrowable ***/

	event BorrowApproval(address indexed owner, address indexed spender, uint value);
	event Borrow(address indexed sender, uint256 indexed tokenId, address indexed receiver, uint borrowAmount, uint repayAmount, uint accountBorrowsPrior, uint accountBorrows, uint totalBorrows);
	event Liquidate(address indexed sender, uint256 indexed tokenId, address indexed liquidator, uint seizeTokenId, uint repayAmount, uint accountBorrowsPrior, uint accountBorrows, uint totalBorrows);
	event RestructureDebt(uint256 indexed tokenId, uint reduceToRatio, uint repayAmount, uint accountBorrowsPrior, uint accountBorrows, uint totalBorrows);
	
	function collateral() external view returns (address);
	function reserveFactor() external view returns (uint);
	function exchangeRateLast() external view returns (uint);
	function borrowIndex() external view returns (uint);
	function totalBorrows() external view returns (uint);
	function borrowAllowance(address owner, address spender) external view returns (uint);
	function borrowBalance(uint tokenId) external view returns (uint);	
	function currentBorrowBalance(uint tokenId) external returns (uint);	
	
	function BORROW_PERMIT_TYPEHASH() external pure returns (bytes32);
	function borrowApprove(address spender, uint256 value) external returns (bool);
	function borrowPermit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
	function borrow(uint256 tokenId, address receiver, uint borrowAmount, bytes calldata data) external;
	function liquidate(uint256 tokenId, uint repayAmount, address liquidator, bytes calldata data) external returns (uint seizeTokenId);
	function restructureDebt(uint256 tokenId, uint256 reduceToRatio) external;
	
	/*** Borrowable Interest Rate Model ***/

	event AccrueInterest(uint interestAccumulated, uint borrowIndex, uint totalBorrows);
	event CalculateKink(uint kinkRate);
	event CalculateBorrowRate(uint borrowRate);
	
	function KINK_BORROW_RATE_MAX() external pure returns (uint);
	function KINK_BORROW_RATE_MIN() external pure returns (uint);
	function KINK_MULTIPLIER() external pure returns (uint);
	function borrowRate() external view returns (uint);
	function kinkBorrowRate() external view returns (uint);
	function kinkUtilizationRate() external view returns (uint);
	function adjustSpeed() external view returns (uint);
	function rateUpdateTimestamp() external view returns (uint32);
	function accrualTimestamp() external view returns (uint32);
	
	function accrueInterest() external;
	
	/*** Borrowable Setter ***/

	event NewReserveFactor(uint newReserveFactor);
	event NewKinkUtilizationRate(uint newKinkUtilizationRate);
	event NewAdjustSpeed(uint newAdjustSpeed);
	event NewDebtCeiling(uint newDebtCeiling);

	function RESERVE_FACTOR_MAX() external pure returns (uint);
	function KINK_UR_MIN() external pure returns (uint);
	function KINK_UR_MAX() external pure returns (uint);
	function ADJUST_SPEED_MIN() external pure returns (uint);
	function ADJUST_SPEED_MAX() external pure returns (uint);
	
	function _initialize (
		string calldata _name, 
		string calldata _symbol,
		address _underlying, 
		address _collateral
	) external;
	function _setReserveFactor(uint newReserveFactor) external;
	function _setKinkUtilizationRate(uint newKinkUtilizationRate) external;
	function _setAdjustSpeed(uint newAdjustSpeed) external;
}

// File: contracts\impermax-v3-core\interfaces\IPoolToken.sol

pragma solidity >=0.5.0;

interface IPoolToken {

	/*** Impermax ERC20 ***/
	
	event Transfer(address indexed from, address indexed to, uint value);
	event Approval(address indexed owner, address indexed spender, uint value);
	
	function name() external view returns (string memory);
	function symbol() external view returns (string memory);
	function decimals() external view 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;
	
	/*** Pool Token ***/
	
	event Mint(address indexed sender, address indexed minter, uint mintAmount, uint mintTokens);
	event Redeem(address indexed sender, address indexed redeemer, uint redeemAmount, uint redeemTokens);
	event Sync(uint totalBalance);
	
	function underlying() external view returns (address);
	function factory() external view returns (address);
	function totalBalance() external view returns (uint);
	function MINIMUM_LIQUIDITY() external pure returns (uint);

	function exchangeRate() external returns (uint);
	function mint(address minter) external returns (uint mintTokens);
	function redeem(address redeemer) external returns (uint redeemAmount);
	function skim(address to) external;
	function sync() external;
	
	function _setFactory() external;
}

// File: contracts\libraries\ImpermaxPermit.sol

pragma solidity >=0.5.0;library ImpermaxPermit {

	address constant PERMIT2_ADDRESS = 0x000000000022D473030F116dDEE9F6B43aC78BA3;
	
	enum PermitType {
		PERMIT1,
		PERMIT_NFT,
		PERMIT2_SINGLE,
		PERMIT2_BATCH,
		PERMIT_BORROW
	}
	struct Permit {
		PermitType permitType;
		bytes permitData;
		bytes signature;
	}
	struct Permit1Data {
		address token;
		uint amount;
		uint deadline;
	}
	struct PermitNftData {
		address erc721;
		uint tokenId;
		uint deadline;
	}
	
	bytes32 constant UPPER_BIT_MASK = (0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
	function decodeSignature(bytes memory signature) private pure returns (bytes32 r, bytes32 s, uint8 v) {
		if (signature.length == 65) {
			(r, s) = abi.decode(signature, (bytes32, bytes32));
			v = uint8(signature[64]);
		} else if (signature.length == 64) {
			// EIP-2098
			bytes32 vs;
			(r, vs) = abi.decode(signature, (bytes32, bytes32));
			s = vs & UPPER_BIT_MASK;
			v = uint8(uint256(vs >> 255)) + 27;
		} else {
			revert("ImpermaxRouter: INVALID_SIGNATURE_LENGTH");
		}
	}
		
	function permit1(
		address token,
		uint amount, 
		uint deadline,
		bytes memory signature
	) private {	
		(bytes32 r, bytes32 s, uint8 v) = decodeSignature(signature);
		IPoolToken(token).permit(msg.sender, address(this), amount, deadline, v, r, s);
	}
	
	function permitNft(
		address erc721, 
		uint tokenId, 
		uint deadline,
		bytes memory signature
	) private {
		(bytes32 r, bytes32 s, uint8 v) = decodeSignature(signature);
		IERC721(erc721).permit(address(this), tokenId, deadline, v, r, s);
	}
		
	function permitBorrow(
		address borrowable,
		uint amount, 
		uint deadline,
		bytes memory signature
	) private {	
		(bytes32 r, bytes32 s, uint8 v) = decodeSignature(signature);
		IBorrowable(borrowable).borrowPermit(msg.sender, address(this), amount, deadline, v, r, s);
	}
	
	function executePermit(Permit memory permit) public {
		if (permit.permitType == PermitType.PERMIT1) {
			Permit1Data memory decoded = abi.decode(permit.permitData, (Permit1Data));
			permit1(
				decoded.token,
				decoded.amount,
				decoded.deadline,
				permit.signature
			);
		}
		else if (permit.permitType == PermitType.PERMIT_NFT) {
			PermitNftData memory decoded = abi.decode(permit.permitData, (PermitNftData));
			permitNft(
				decoded.erc721,
				decoded.tokenId,
				decoded.deadline,
				permit.signature
			);
		}
		else if (permit.permitType == PermitType.PERMIT2_SINGLE) {
			IAllowanceTransfer.PermitSingle memory decoded = abi.decode(permit.permitData, (IAllowanceTransfer.PermitSingle));
			IAllowanceTransfer(PERMIT2_ADDRESS).permit(msg.sender, decoded, permit.signature);
		}
		else if (permit.permitType == PermitType.PERMIT2_BATCH) {
			IAllowanceTransfer.PermitBatch memory decoded = abi.decode(permit.permitData, (IAllowanceTransfer.PermitBatch));
			IAllowanceTransfer(PERMIT2_ADDRESS).permit(msg.sender, decoded, permit.signature);
		}
		else if (permit.permitType == PermitType.PERMIT_BORROW) {
			Permit1Data memory decoded = abi.decode(permit.permitData, (Permit1Data));
			permitBorrow(
				decoded.token,
				decoded.amount,
				decoded.deadline,
				permit.signature
			);
		}
		else revert("ImpermaxRouter: INVALID_PERMIT");
	}
	
	function executePermits(Permit[] memory permits) public {
		for (uint i = 0; i < permits.length; i++) {
			executePermit(permits[i]);
		}
	}
	
	function executePermits(bytes memory permitsData) public {
		Permit[] memory permits = abi.decode(permitsData, (Permit[]));
		executePermits(permits);
	}
	
	function safeTransferFrom(address token, address from, address to, uint256 value) external {
		uint allowance = IERC20(token).allowance(from, address(this));
		if (allowance >= value) return TransferHelper.safeTransferFrom(token, from, to, value);
		IAllowanceTransfer(PERMIT2_ADDRESS).transferFrom(from, to, safe160(value), token);
	}
	
    function safe160(uint n) private pure returns (uint160) {
        require(n < 2**160, "Impermax: SAFE160");
        return uint160(n);
    }
}

// File: contracts\libraries\Actions.sol

pragma solidity =0.5.16;
library Actions {

	enum Type {
		BORROW, 
		REPAY_USER,
		REPAY_ROUTER,
		WITHDRAW_TOKEN,
		WITHDRAW_ETH,
		NO_ACTION,
		MINT_UNIV2_EMPTY, 
		MINT_UNIV2_INTERNAL, 
		MINT_UNIV2, 
		REDEEM_UNIV2,
		BORROW_AND_MINT_UNIV2,
		MINT_UNIV3_EMPTY, 
		MINT_UNIV3_INTERNAL, 
		MINT_UNIV3, 
		REDEEM_UNIV3,
		BORROW_AND_MINT_UNIV3
	}
	struct Action {
		Type actionType;
		bytes actionData;
		bytes nextAction;
	}
	
	struct BorrowData {
		uint8 index;
		uint amount;
		address to;
	}
	struct RepayUserData {
		uint8 index;
		uint amountMax;
	}
	struct RepayRouterData {
		uint8 index;
		uint amountMax;
		address refundTo;
	}
	struct WithdrawTokenData {
		address token;
		address to;
	}
	struct WithdrawEthData {
		address to;
	}
	struct MintUniV2InternalData {
		uint lpAmountUser;
		uint amount0User;
		uint amount1User;
		uint amount0Router;
		uint amount1Router;
	}
	struct MintUniV2Data {
		uint lpAmountUser;
		uint amount0Desired;
		uint amount1Desired;
		uint amount0Min;
		uint amount1Min;
	}
	struct RedeemUniV2Data {
		uint percentage;
		uint amount0Min;
		uint amount1Min;
		address to;
	}
	struct BorrowAndMintUniV2Data {
		uint lpAmountUser;
		uint amount0User;
		uint amount1User;
		uint amount0Desired;
		uint amount1Desired;
		uint amount0Min;
		uint amount1Min;
	}
	struct MintUniV3EmptyData {
		uint24 fee;
		int24 tickLower;
		int24 tickUpper;
	}
	struct MintUniV3InternalData {
		uint128 liquidity;
		uint amount0User;
		uint amount1User;
		uint amount0Router;
		uint amount1Router;
	}
	struct MintUniV3Data {
		uint amount0Desired;
		uint amount1Desired;
		uint amount0Min;
		uint amount1Min;
	}
	struct RedeemUniV3Data {
		uint percentage;
		uint amount0Min;
		uint amount1Min;
		address to;
	}
	struct BorrowAndMintUniV3Data {
		uint amount0User;
		uint amount1User;
		uint amount0Desired;
		uint amount1Desired;
		uint amount0Min;
		uint amount1Min;
	}
	
	/*** Actions sorter: sorts actions and composite actions ***/
	
	function actionsSorter(Action[] memory actions, Action memory nextAction) public pure returns (Action memory) {
		require(actions.length > 0, "ImpermaxRouter: UNEXPECTED_ACTIONS_LENGTH");
		actions[actions.length-1].nextAction = abi.encode(nextAction);
		for(uint i = actions.length-1; i > 0; i--) {
			actions[i-1].nextAction = abi.encode(actions[i]);
		}
		return actions[0];
	}
	function actionsSorter(Action[] memory actions) public pure returns (Action memory) {
		return actionsSorter(actions, getNoAction());
	}
	
	/*** Action Getters ***/
	
	function _getAction(Type actionType, bytes memory actionData) private pure returns (Action memory) {
		return Action({
			actionType: actionType,
			actionData: actionData,
			nextAction: bytes("")
		});
	}
	
	function getNoAction() public pure returns (Action memory) {
		return _getAction(Type.NO_ACTION, bytes(""));
	}
	
	function getBorrowAction(uint8 index, uint amount, address to) external pure returns (Action memory) {
		return _getAction(Type.BORROW, abi.encode(BorrowData({
			index: index,
			amount: amount,
			to: to
		})));
	}
	
	function getRepayUserAction(uint8 index, uint amountMax) external pure returns (Action memory) {
		return _getAction(Type.REPAY_USER, abi.encode(RepayUserData({
			index: index,
			amountMax: amountMax
		})));
	}
	function getRepayRouterAction(uint8 index, uint amountMax, address refundTo) external pure returns (Action memory) {
		return _getAction(Type.REPAY_ROUTER, abi.encode(RepayRouterData({
			index: index,
			amountMax: amountMax,
			refundTo: refundTo
		})));
	}
	
	function getWithdrawTokenAction(address token, address to) external pure returns (Action memory) {
		return _getAction(Type.WITHDRAW_TOKEN, abi.encode(WithdrawTokenData({
			token: token,
			to: to
		})));
	}
	
	function getWithdrawEthAction(address to) external pure returns (Action memory) {
		return _getAction(Type.WITHDRAW_ETH, abi.encode(WithdrawEthData({
			to: to
		})));
	}
	
	function getMintUniV2EmptyAction() external pure returns (Action memory) {
		return _getAction(Type.MINT_UNIV2_EMPTY, bytes(""));
	}
	function getMintUniV2InternalAction(uint lpAmountUser, uint amount0User, uint amount1User, uint amount0Router, uint amount1Router) external pure returns (Action memory) {
		return _getAction(Type.MINT_UNIV2_INTERNAL, abi.encode(MintUniV2InternalData({
			lpAmountUser: lpAmountUser,
			amount0User: amount0User,
			amount1User: amount1User,
			amount0Router: amount0Router,
			amount1Router: amount1Router
		})));
	}
	function getMintUniV2Action(uint lpAmountUser, uint amount0Desired, uint amount1Desired, uint amount0Min, uint amount1Min) external pure returns (Action memory) {
		return _getAction(Type.MINT_UNIV2, abi.encode(MintUniV2Data({
			lpAmountUser: lpAmountUser,
			amount0Desired: amount0Desired,
			amount1Desired: amount1Desired,
			amount0Min: amount0Min,
			amount1Min: amount1Min
		})));
	}
	
	function getRedeemUniV2Action(uint percentage, uint amount0Min, uint amount1Min, address to) external pure returns (Action memory) {
		return _getAction(Type.REDEEM_UNIV2, abi.encode(RedeemUniV2Data({
			percentage: percentage,
			amount0Min: amount0Min,
			amount1Min: amount1Min,
			to: to
		})));
	}
	
	function getMintUniV3EmptyAction(uint24 fee, int24 tickLower, int24 tickUpper) external pure returns (Action memory) {
		return _getAction(Type.MINT_UNIV3_EMPTY, abi.encode(MintUniV3EmptyData({
			fee: fee,
			tickLower: tickLower,
			tickUpper: tickUpper
		})));
	}
	
	function getBorrowAndMintUniV2Action(
		uint lpAmountUser,
		uint amount0User,
		uint amount1User,
		uint amount0Desired,	// intended as user amount + router amount
		uint amount1Desired,	// intended as user amount + router amount
		uint amount0Min,		// intended as user amount + router amount
		uint amount1Min			// intended as user amount + router amount
	) external pure returns (Action memory) {
		return _getAction(Type.BORROW_AND_MINT_UNIV2, abi.encode(BorrowAndMintUniV2Data({
			lpAmountUser: lpAmountUser,
			amount0User: amount0User,
			amount1User: amount1User,
			amount0Desired: amount0Desired,
			amount1Desired: amount1Desired,
			amount0Min: amount0Min,
			amount1Min: amount1Min
		})));
	}
	
	function getMintUniV3Action(uint amount0Desired, uint amount1Desired, uint amount0Min, uint amount1Min) external pure returns (Action memory) {
		return _getAction(Type.MINT_UNIV3, abi.encode(MintUniV3Data({
			amount0Desired: amount0Desired,
			amount1Desired: amount1Desired,
			amount0Min: amount0Min,
			amount1Min: amount1Min
		})));
	}
	
	function getMintUniV3InternalAction(uint128 liquidity, uint amount0User, uint amount1User, uint amount0Router, uint amount1Router) external pure returns (Action memory) {
		return _getAction(Type.MINT_UNIV3_INTERNAL, abi.encode(MintUniV3InternalData({
			liquidity: liquidity,
			amount0User: amount0User,
			amount1User: amount1User,
			amount0Router: amount0Router,
			amount1Router: amount1Router
		})));
	}
	
	function getRedeemUniV3Action(uint percentage, uint amount0Min, uint amount1Min, address to) external pure returns (Action memory) {
		return _getAction(Type.REDEEM_UNIV3, abi.encode(RedeemUniV3Data({
			percentage: percentage,
			amount0Min: amount0Min,
			amount1Min: amount1Min,
			to: to
		})));
	}
	
	function getBorrowAndMintUniV3Action(
		uint amount0User,
		uint amount1User,
		uint amount0Desired,	// intended as user amount + router amount
		uint amount1Desired,	// intended as user amount + router amount
		uint amount0Min,		// intended as user amount + router amount
		uint amount1Min			// intended as user amount + router amount
	) external pure returns (Action memory) {
		return _getAction(Type.BORROW_AND_MINT_UNIV3, abi.encode(BorrowAndMintUniV3Data({
			amount0User: amount0User,
			amount1User: amount1User,
			amount0Desired: amount0Desired,
			amount1Desired: amount1Desired,
			amount0Min: amount0Min,
			amount1Min: amount1Min
		})));
	}
}

// File: contracts\impermax-v3-core\interfaces\IFactory.sol

pragma solidity >=0.5.0;

interface IFactory {
	event LendingPoolInitialized(address indexed nftlp, address indexed token0, address indexed token1,
		address collateral, address borrowable0, address borrowable1, uint lendingPoolId);
	event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin);
	event NewAdmin(address oldAdmin, address newAdmin);
	event NewReservesPendingAdmin(address oldReservesPendingAdmin, address newReservesPendingAdmin);
	event NewReservesAdmin(address oldReservesAdmin, address newReservesAdmin);
	event NewReservesManager(address oldReservesManager, address newReservesManager);
	
	function admin() external view returns (address);
	function pendingAdmin() external view returns (address);
	function reservesAdmin() external view returns (address);
	function reservesPendingAdmin() external view returns (address);
	function reservesManager() external view returns (address);

	function getLendingPool(address nftlp) external view returns (
		bool initialized, 
		uint24 lendingPoolId, 
		address collateral, 
		address borrowable0, 
		address borrowable1
	);
	function allLendingPools(uint) external view returns (address nftlp);
	function allLendingPoolsLength() external view returns (uint);
	
	function bDeployer() external view returns (address);
	function cDeployer() external view returns (address);

	function createCollateral(address nftlp) external returns (address collateral);
	function createBorrowable0(address nftlp) external returns (address borrowable0);
	function createBorrowable1(address nftlp) external returns (address borrowable1);
	function initializeLendingPool(address nftlp) external;

	function _setPendingAdmin(address newPendingAdmin) external;
	function _acceptAdmin() external;
	function _setReservesPendingAdmin(address newPendingAdmin) external;
	function _acceptReservesAdmin() external;
	function _setReservesManager(address newReservesManager) external;
}

// File: contracts\impermax-v3-core\interfaces\IImpermaxCallee.sol

pragma solidity >=0.5.0;

interface IImpermaxCallee {
    function impermaxV3Borrow(address sender, uint256 tokenId, uint borrowAmount, bytes calldata data) external;
    function impermaxV3Redeem(address sender, uint256 tokenId, uint256 redeemTokenId, bytes calldata data) external;
}

// File: contracts\ImpermaxV3BaseRouter01.sol

pragma solidity =0.5.16;











contract ImpermaxV3BaseRouter01 is IV3BaseRouter01, IImpermaxCallee {
	using SafeMath for uint;

	address public factory;
	address public WETH;

	modifier permit(bytes memory permitsData) {
		ImpermaxPermit.executePermits(permitsData);
		_;
	}

	constructor(address _factory, address _WETH) public {
		factory = _factory;
		WETH = _WETH;
	}

	function () external payable {
		assert(msg.sender == WETH); // only accept ETH via fallback from the WETH contract
	}
	
	/*** Data Structures ***/
	
	// callbacks
	struct BorrowCallbackData {
		LendingPool pool;
		uint8 borrowableIndex;
		address msgSender;
		Actions.Action nextAction;
	}
	struct RedeemCallbackData {
		LendingPool pool;
		address msgSender;
		address redeemTo;
		uint amount0Min;
		uint amount1Min;
		Actions.Action nextAction;
	}
	
	/*** Primitive Actions ***/

	function _borrow(
		LendingPool memory pool,
		uint8 index,
		uint tokenId,
		address msgSender,
		uint amount,
		address to,
		Actions.Action memory nextAction
	) internal {
		bytes memory encoded = nextAction.actionType == Actions.Type.NO_ACTION || to != address(this)
			? bytes("")
			: abi.encode(BorrowCallbackData({
				pool: pool,
				borrowableIndex: index,
				msgSender: msgSender,
				nextAction: nextAction
			}));
		IBorrowable(pool.borrowables[index]).borrow(tokenId, to, amount, encoded);	
	}

	function _repayAmount(
		address borrowable,
		uint tokenId, 
		uint amountMax
	) internal returns (uint amount) { 
		uint borrowedAmount = IBorrowable(borrowable).currentBorrowBalance(tokenId);
		amount = Math.min(amountMax, borrowedAmount);
	}
	function _repayUser(
		LendingPool memory pool,
		uint8 index,
		uint tokenId,
		address msgSender,
		uint amountMax
	) internal {
		address borrowable = pool.borrowables[index];
		uint repayAmount = _repayAmount(borrowable, tokenId, amountMax);
		if (repayAmount == 0) return;
		ImpermaxPermit.safeTransferFrom(pool.tokens[index], msgSender, borrowable, repayAmount);
		IBorrowable(borrowable).borrow(tokenId, address(0), 0, new bytes(0));
	}
	function _repayRouter(
		LendingPool memory pool,
		uint8 index,
		uint tokenId,
		uint amountMax,
		address refundTo
	) internal {
		address borrowable = pool.borrowables[index];
		uint routerBalance = IERC20(pool.tokens[index]).balanceOf(address(this));
		amountMax = Math.min(amountMax, routerBalance);
		uint repayAmount = _repayAmount(borrowable, tokenId, amountMax);
		if (routerBalance > repayAmount && refundTo != address(this)) TransferHelper.safeTransfer(pool.tokens[index], refundTo, routerBalance - repayAmount);
		if (repayAmount == 0) return;
		TransferHelper.safeTransfer(pool.tokens[index], borrowable, repayAmount);
		IBorrowable(borrowable).borrow(tokenId, address(0), 0, new bytes(0));
	}
	
	function _withdrawToken(
		address token,
		address to
	) internal {
		uint routerBalance = IERC20(token).balanceOf(address(this));
		if (routerBalance > 0) TransferHelper.safeTransfer(token, to, routerBalance);
	}
	
	function _withdrawEth(
		address to
	) internal {
		uint routerBalance = IERC20(WETH).balanceOf(address(this));
		if (routerBalance == 0) return;
		IWETH(WETH).withdraw(routerBalance);
		TransferHelper.safeTransferETH(to, routerBalance);
	}

	/*** EXECUTE ***/
	
	function _execute(
		LendingPool memory pool,
		uint tokenId,
		address msgSender,
		Actions.Action memory action
	) internal returns (uint) {
		if (action.actionType == Actions.Type.NO_ACTION) return tokenId;
		Actions.Action memory nextAction = abi.decode(action.nextAction, (Actions.Action));
		if (action.actionType == Actions.Type.BORROW) {
			Actions.BorrowData memory decoded = abi.decode(action.actionData, (Actions.BorrowData));
			_borrow(
				pool,
				decoded.index,
				tokenId,
				msgSender,
				decoded.amount,
				decoded.to,
				nextAction
			);
			if (decoded.to == address(this)) return tokenId;
		}
		else if (action.actionType == Actions.Type.REPAY_USER) {
			Actions.RepayUserData memory decoded = abi.decode(action.actionData, (Actions.RepayUserData));
			_repayUser(
				pool,
				decoded.index,
				tokenId,
				msgSender,
				decoded.amountMax
			);
		}
		else if (action.actionType == Actions.Type.REPAY_ROUTER) {
			Actions.RepayRouterData memory decoded = abi.decode(action.actionData, (Actions.RepayRouterData));
			_repayRouter(
				pool,
				decoded.index,
				tokenId,
				decoded.amountMax,
				decoded.refundTo
			);
		}
		else if (action.actionType == Actions.Type.WITHDRAW_TOKEN) {
			Actions.WithdrawTokenData memory decoded = abi.decode(action.actionData, (Actions.WithdrawTokenData));
			_withdrawToken(
				decoded.token,
				decoded.to
			);
		}
		else if (action.actionType == Actions.Type.WITHDRAW_ETH) {
			Actions.WithdrawEthData memory decoded = abi.decode(action.actionData, (Actions.WithdrawEthData));
			_withdrawEth(
				decoded.to
			);
		}
		else revert("ImpermaxRouter: INVALID_ACTION");
		
		return _execute(
			pool,
			tokenId,
			msgSender,
			nextAction
		);
	}
	
	/*** External ***/
	
	function _checkFirstAction(Actions.Type actionType) internal; 
	
	function execute(
		address nftlp,
		uint tokenId,
		bytes calldata actionsData,
		bytes calldata permitsData,
		bool withCollateralTransfer
	) external payable permit(permitsData) {
		if (msg.value > 0) {
			IWETH(WETH).deposit.value(msg.value)();
		}
		
		Actions.Action[] memory actions = abi.decode(actionsData, (Actions.Action[]));
		
		LendingPool memory pool = getLendingPool(nftlp);
		if (tokenId != uint(-1)) {
			if (withCollateralTransfer) {
				IERC721(pool.collateral).transferFrom(msg.sender, address(this), tokenId);
			} else {
				require(IERC721(pool.collateral).ownerOf(tokenId) == msg.sender, "ImpermaxRouter: UNAUTHORIZED");
			}
		} else {
			_checkFirstAction(actions[0].actionType);
			withCollateralTransfer = true;
		}
			
		tokenId = _execute(
			pool,
			tokenId,
			msg.sender,
			Actions.actionsSorter(actions)
		);
		
		if (withCollateralTransfer) {
			IERC721(pool.collateral).transferFrom(address(this), msg.sender, tokenId);
		}
	}
	
	/*** Callbacks ***/
	
	function impermaxV3Borrow(address sender, uint256 tokenId, uint borrowAmount, bytes calldata data) external {
		borrowAmount;
		BorrowCallbackData memory decoded = abi.decode(data, (BorrowCallbackData));
		
		// only succeeds if called by a borrowable and if that borrowable has been called by the router
		address declaredCaller = getBorrowable(decoded.pool.nftlp, decoded.borrowableIndex);
		require(sender == address(this), "ImpermaxRouter: SENDER_NOT_ROUTER");
		require(msg.sender == declaredCaller, "ImpermaxRouter: UNAUTHORIZED_CALLER");
		
		_execute(
			decoded.pool,
			tokenId,
			decoded.msgSender,
			decoded.nextAction
		);
	}
	
	function _redeemStep2(LendingPool memory pool, uint redeemTokenId, uint amount0Min, uint amount1Min, address to) internal;
	function impermaxV3Redeem(address sender, uint256 tokenId, uint256 redeemTokenId, bytes calldata data) external {
		RedeemCallbackData memory decoded = abi.decode(data, (RedeemCallbackData));
		
		// only succeeds if called by a collateral and if that collateral has been called by the router
		address declaredCaller = getCollateral(decoded.pool.nftlp);
		require(sender == address(this), "ImpermaxRouter: SENDER_NOT_ROUTER");
		require(msg.sender == declaredCaller, "ImpermaxRouter: UNAUTHORIZED_CALLER");
		
		_redeemStep2(
			decoded.pool,
			redeemTokenId,
			decoded.amount0Min,
			decoded.amount1Min,
			decoded.redeemTo
		);
		
		_execute(
			decoded.pool,
			tokenId,
			decoded.msgSender,
			decoded.nextAction
		);
	}
	
	function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external pure returns (bytes4 returnValue) {
		operator; from; tokenId; data;
		return bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"));
	}
	
	/*** Utilities ***/
	
	function getBorrowable(address nftlp, uint8 index) public view returns (address borrowable) {
		require(index < 2, "ImpermaxRouter: INDEX_TOO_HIGH");
		(,,,address borrowable0, address borrowable1) = IFactory(factory).getLendingPool(nftlp);
		return index == 0 ? borrowable0 : borrowable1;
	}
	function getCollateral(address nftlp) public view returns (address collateral) {
		(,,collateral,,) = IFactory(factory).getLendingPool(nftlp);
	}
	
	function getLendingPool(address nftlp) public view returns (LendingPool memory pool) {
		pool.nftlp = nftlp;
		(,,pool.collateral,pool.borrowables[0],pool.borrowables[1]) = 
			IFactory(factory).getLendingPool(nftlp);
		pool.tokens[0] = IBorrowable(pool.borrowables[0]).underlying();
		pool.tokens[1] = IBorrowable(pool.borrowables[1]).underlying();
	}
}

// File: contracts\libraries\TickMath.sol

// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0 <0.8.0;

/// @title Math library for computing sqrt prices from ticks and vice versa
/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports
/// prices between 2**-128 and 2**128
library TickMath {
    /// @dev The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128
    int24 internal constant MIN_TICK = -887272;
    /// @dev The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128
    int24 internal constant MAX_TICK = -MIN_TICK;

    /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)
    uint160 internal constant MIN_SQRT_RATIO = 4295128739;
    /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)
    uint160 internal constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342;

    /// @notice Calculates sqrt(1.0001^tick) * 2^96
    /// @dev Throws if |tick| > max tick
    /// @param tick The input tick for the above formula
    /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the ratio of the two assets (token1/token0)
    /// at the given tick
    function getSqrtRatioAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {
        uint256 absTick = tick < 0 ? uint256(-int256(tick)) : uint256(int256(tick));
        require(absTick <= uint256(MAX_TICK), 'TickMath: T');

        uint256 ratio = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000;
        if (absTick & 0x2 != 0) ratio = (ratio * 0xfff97272373d413259a46990580e213a) >> 128;
        if (absTick & 0x4 != 0) ratio = (ratio * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;
        if (absTick & 0x8 != 0) ratio = (ratio * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;
        if (absTick & 0x10 != 0) ratio = (ratio * 0xffcb9843d60f6159c9db58835c926644) >> 128;
        if (absTick & 0x20 != 0) ratio = (ratio * 0xff973b41fa98c081472e6896dfb254c0) >> 128;
        if (absTick & 0x40 != 0) ratio = (ratio * 0xff2ea16466c96a3843ec78b326b52861) >> 128;
        if (absTick & 0x80 != 0) ratio = (ratio * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;
        if (absTick & 0x100 != 0) ratio = (ratio * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;
        if (absTick & 0x200 != 0) ratio = (ratio * 0xf987a7253ac413176f2b074cf7815e54) >> 128;
        if (absTick & 0x400 != 0) ratio = (ratio * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;
        if (absTick & 0x800 != 0) ratio = (ratio * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;
        if (absTick & 0x1000 != 0) ratio = (ratio * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;
        if (absTick & 0x2000 != 0) ratio = (ratio * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;
        if (absTick & 0x4000 != 0) ratio = (ratio * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;
        if (absTick & 0x8000 != 0) ratio = (ratio * 0x31be135f97d08fd981231505542fcfa6) >> 128;
        if (absTick & 0x10000 != 0) ratio = (ratio * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;
        if (absTick & 0x20000 != 0) ratio = (ratio * 0x5d6af8dedb81196699c329225ee604) >> 128;
        if (absTick & 0x40000 != 0) ratio = (ratio * 0x2216e584f5fa1ea926041bedfe98) >> 128;
        if (absTick & 0x80000 != 0) ratio = (ratio * 0x48a170391f7dc42444e8fa2) >> 128;

        if (tick > 0) ratio = uint256(-1) / ratio;

        // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.
        // we then downcast because we know the result always fits within 160 bits due to our tick input constraint
        // we round up in the division so getTickAtSqrtRatio of the output price is always consistent
        sqrtPriceX96 = uint160((ratio >> 32) + (ratio % (1 << 32) == 0 ? 0 : 1));
    }

    /// @notice Calculates the greatest tick value such that getRatioAtTick(tick) <= ratio
    /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_RATIO, as MIN_SQRT_RATIO is the lowest value getRatioAtTick may
    /// ever return.
    /// @param sqrtPriceX96 The sqrt ratio for which to compute the tick as a Q64.96
    /// @return tick The greatest tick for which the ratio is less than or equal to the input ratio
    function getTickAtSqrtRatio(uint160 sqrtPriceX96) internal pure returns (int24 tick) {
        // second inequality must be < because the price can never reach the price at the max tick
        require(sqrtPriceX96 >= MIN_SQRT_RATIO && sqrtPriceX96 < MAX_SQRT_RATIO, 'TickMath: R');
        uint256 ratio = uint256(sqrtPriceX96) << 32;

        uint256 r = ratio;
        uint256 msb = 0;

        assembly {
            let f := shl(7, gt(r, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(6, gt(r, 0xFFFFFFFFFFFFFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(5, gt(r, 0xFFFFFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(4, gt(r, 0xFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(3, gt(r, 0xFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(2, gt(r, 0xF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(1, gt(r, 0x3))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := gt(r, 0x1)
            msb := or(msb, f)
        }

        if (msb >= 128) r = ratio >> (msb - 127);
        else r = ratio << (127 - msb);

        int256 log_2 = (int256(msb) - 128) << 64;

        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(63, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(62, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(61, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(60, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(59, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(58, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(57, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(56, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(55, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(54, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(53, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(52, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(51, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(50, f))
        }

        int256 log_sqrt10001 = log_2 * 255738958999603826347141; // 128.128 number

        int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);
        int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);

        tick = tickLow == tickHi ? tickLow : getSqrtRatioAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow;
    }
}

// File: contracts\libraries\FullMath.sol

// SPDX-License-Identifier: MIT
pragma solidity >=0.4.0 <0.8.0;

/// @title Contains 512-bit math functions
/// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision
/// @dev Handles "phantom overflow" i.e., allows multiplication and division where an intermediate value overflows 256 bits
library FullMath {
    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
    /// @param a The multiplicand
    /// @param b The multiplier
    /// @param denominator The divisor
    /// @return result The 256-bit result
    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv
    function mulDiv(
        uint256 a,
        uint256 b,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        // 512-bit multiply [prod1 prod0] = a * b
        // Compute the product mod 2**256 and mod 2**256 - 1
        // then use the Chinese Remainder Theorem to reconstruct
        // the 512 bit result. The result is stored in two 256
        // variables such that product = prod1 * 2**256 + prod0
        uint256 prod0; // Least significant 256 bits of the product
        uint256 prod1; // Most significant 256 bits of the product
        assembly {
            let mm := mulmod(a, b, not(0))
            prod0 := mul(a, b)
            prod1 := sub(sub(mm, prod0), lt(mm, prod0))
        }

        // Handle non-overflow cases, 256 by 256 division
        if (prod1 == 0) {
            require(denominator > 0);
            assembly {
                result := div(prod0, denominator)
            }
            return result;
        }

        // Make sure the result is less than 2**256.
        // Also prevents denominator == 0
        require(denominator > prod1);

        ///////////////////////////////////////////////
        // 512 by 256 division.
        ///////////////////////////////////////////////

        // Make division exact by subtracting the remainder from [prod1 prod0]
        // Compute remainder using mulmod
        uint256 remainder;
        assembly {
            remainder := mulmod(a, b, denominator)
        }
        // Subtract 256 bit number from 512 bit number
        assembly {
            prod1 := sub(prod1, gt(remainder, prod0))
            prod0 := sub(prod0, remainder)
        }

        // Factor powers of two out of denominator
        // Compute largest power of two divisor of denominator.
        // Always >= 1.
        uint256 twos = -denominator & denominator;
        // Divide denominator by power of two
        assembly {
            denominator := div(denominator, twos)
        }

        // Divide [prod1 prod0] by the factors of two
        assembly {
            prod0 := div(prod0, twos)
        }
        // Shift in bits from prod1 into prod0. For this we need
        // to flip `twos` such that it is 2**256 / twos.
        // If twos is zero, then it becomes one
        assembly {
            twos := add(div(sub(0, twos), twos), 1)
        }
        prod0 |= prod1 * twos;

        // Invert denominator mod 2**256
        // Now that denominator is an odd number, it has an inverse
        // modulo 2**256 such that denominator * inv = 1 mod 2**256.
        // Compute the inverse by starting with a seed that is correct
        // correct for four bits. That is, denominator * inv = 1 mod 2**4
        uint256 inv = (3 * denominator) ^ 2;
        // Now use Newton-Raphson iteration to improve the precision.
        // Thanks to Hensel's lifting lemma, this also works in modular
        // arithmetic, doubling the correct bits in each step.
        inv *= 2 - denominator * inv; // inverse mod 2**8
        inv *= 2 - denominator * inv; // inverse mod 2**16
        inv *= 2 - denominator * inv; // inverse mod 2**32
        inv *= 2 - denominator * inv; // inverse mod 2**64
        inv *= 2 - denominator * inv; // inverse mod 2**128
        inv *= 2 - denominator * inv; // inverse mod 2**256

        // Because the division is now exact we can divide by multiplying
        // with the modular inverse of denominator. This will give us the
        // correct result modulo 2**256. Since the precoditions guarantee
        // that the outcome is less than 2**256, this is the final result.
        // We don't need to compute the high bits of the result and prod1
        // is no longer required.
        result = prod0 * inv;
        return result;
    }

    /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
    /// @param a The multiplicand
    /// @param b The multiplier
    /// @param denominator The divisor
    /// @return result The 256-bit result
    function mulDivRoundingUp(
        uint256 a,
        uint256 b,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        result = mulDiv(a, b, denominator);
        if (mulmod(a, b, denominator) > 0) {
            require(result < uint256(-1));
            result++;
        }
    }
}

// File: contracts\libraries\LiquidityAmounts.sol

// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Liquidity amount functions
/// @notice Provides functions for computing liquidity amounts from token amounts and prices
library LiquidityAmounts {
    uint constant Q96 = 2**96;
	
    /// @notice Downcasts uint256 to uint128
    /// @param x The uint258 to be downcasted
    /// @return y The passed value, downcasted to uint128
    function toUint128(uint256 x) private pure returns (uint128 y) {
        require((y = uint128(x)) == x);
    }

    /// @notice Computes the amount of liquidity received for a given amount of token0 and price range
    /// @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower))
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param amount0 The amount0 being sent in
    /// @return liquidity The amount of returned liquidity
    function getLiquidityForAmount0(
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint256 amount0
    ) internal pure returns (uint128 liquidity) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);
        uint256 intermediate = FullMath.mulDiv(sqrtRatioAX96, sqrtRatioBX96, Q96);
        return toUint128(FullMath.mulDiv(amount0, intermediate, sqrtRatioBX96 - sqrtRatioAX96));
    }

    /// @notice Computes the amount of liquidity received for a given amount of token1 and price range
    /// @dev Calculates amount1 / (sqrt(upper) - sqrt(lower)).
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param amount1 The amount1 being sent in
    /// @return liquidity The amount of returned liquidity
    function getLiquidityForAmount1(
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint256 amount1
    ) internal pure returns (uint128 liquidity) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);
        return toUint128(FullMath.mulDiv(amount1, Q96, sqrtRatioBX96 - sqrtRatioAX96));
    }

    /// @notice Computes the maximum amount of liquidity received for a given amount of token0, token1, the current
    /// pool prices and the prices at the tick boundaries
    /// @param sqrtRatioX96 A sqrt price representing the current pool prices
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param amount0 The amount of token0 being sent in
    /// @param amount1 The amount of token1 being sent in
    /// @return liquidity The maximum amount of liquidity received
    function getLiquidityForAmounts(
        uint160 sqrtRatioX96,
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint256 amount0,
        uint256 amount1
    ) internal pure returns (uint128 liquidity) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);

        if (sqrtRatioX96 <= sqrtRatioAX96) {
            liquidity = getLiquidityForAmount0(sqrtRatioAX96, sqrtRatioBX96, amount0);
        } else if (sqrtRatioX96 < sqrtRatioBX96) {
            uint128 liquidity0 = getLiquidityForAmount0(sqrtRatioX96, sqrtRatioBX96, amount0);
            uint128 liquidity1 = getLiquidityForAmount1(sqrtRatioAX96, sqrtRatioX96, amount1);

            liquidity = liquidity0 < liquidity1 ? liquidity0 : liquidity1;
        } else {
            liquidity = getLiquidityForAmount1(sqrtRatioAX96, sqrtRatioBX96, amount1);
        }
    }

    /// @notice Computes the amount of token0 for a given amount of liquidity and a price range
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param liquidity The liquidity being valued
    /// @return amount0 The amount of token0
    function getAmount0ForLiquidity(
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint128 liquidity
    ) internal pure returns (uint256 amount0) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);

        return
            FullMath.mulDiv(
                uint256(liquidity) << 96,
                sqrtRatioBX96 - sqrtRatioAX96,
                sqrtRatioBX96
            ) / sqrtRatioAX96;
    }

    /// @notice Computes the amount of token1 for a given amount of liquidity and a price range
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param liquidity The liquidity being valued
    /// @return amount1 The amount of token1
    function getAmount1ForLiquidity(
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint128 liquidity
    ) internal pure returns (uint256 amount1) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);

        return FullMath.mulDiv(liquidity, sqrtRatioBX96 - sqrtRatioAX96, Q96);
    }

    /// @notice Computes the token0 and token1 value for a given amount of liquidity, the current
    /// pool prices and the prices at the tick boundaries
    /// @param sqrtRatioX96 A sqrt price representing the current pool prices
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param liquidity The liquidity being valued
    /// @return amount0 The amount of token0
    /// @return amount1 The amount of token1
    function getAmountsForLiquidity(
        uint160 sqrtRatioX96,
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint128 liquidity
    ) internal pure returns (uint256 amount0, uint256 amount1) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);

        if (sqrtRatioX96 <= sqrtRatioAX96) {
            amount0 = getAmount0ForLiquidity(sqrtRatioAX96, sqrtRatioBX96, liquidity);
        } else if (sqrtRatioX96 < sqrtRatioBX96) {
            amount0 = getAmount0ForLiquidity(sqrtRatioX96, sqrtRatioBX96, liquidity);
            amount1 = getAmount1ForLiquidity(sqrtRatioAX96, sqrtRatioX96, liquidity);
        } else {
            amount1 = getAmount1ForLiquidity(sqrtRatioAX96, sqrtRatioBX96, liquidity);
        }
    }
}

// File: contracts\impermax-v3-core\extensions\interfaces\IUniswapV3Pool.sol

// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

interface IUniswapV3Pool {
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function fee() external view returns (uint24);
    function tickSpacing() external view returns (int24);
    function maxLiquidityPerTick() external view returns (uint128);
	
    function slot0()
        external
        view
        returns (
            uint160 sqrtPriceX96,
            int24 tick,
            uint16 observationIndex,
            uint16 observationCardinality,
            uint16 observationCardinalityNext,
            uint8 feeProtocol,
            bool unlocked
        );

    function feeGrowthGlobal0X128() external view returns (uint256);
    function feeGrowthGlobal1X128() external view returns (uint256);
    function protocolFees() external view returns (uint128, uint128);
    function liquidity() external view returns (uint128);

    function ticks(int24 tick)
        external
        view
        returns (
            uint128 liquidityGross,
            int128 liquidityNet,
            uint256 feeGrowthOutside0X128,
            uint256 feeGrowthOutside1X128,
            int56 tickCumulativeOutside,
            uint160 secondsPerLiquidityOutsideX128,
            uint32 secondsOutside,
            bool initialized
        );

    function tickBitmap(int16 wordPosition) external view returns (uint256);

    function positions(bytes32 key)
        external
        view
        returns (
            uint128 _liquidity,
            uint256 feeGrowthInside0LastX128,
            uint256 feeGrowthInside1LastX128,
            uint128 tokensOwed0,
            uint128 tokensOwed1
        );

    function observations(uint256 index)
        external
        view
        returns (
            uint32 blockTimestamp,
            int56 tickCumulative,
            uint160 secondsPerLiquidityCumulativeX128,
            bool initialized
        );
		
    function observe(uint32[] calldata secondsAgos)
        external
        view
        returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);

    function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)
        external
        view
        returns (
            int56 tickCumulativeInside,
            uint160 secondsPerLiquidityInsideX128,
            uint32 secondsInside
        );
		
    function initialize(uint160 sqrtPriceX96) external;

    function mint(
        address recipient,
        int24 tickLower,
        int24 tickUpper,
        uint128 amount,
        bytes calldata data
    ) external returns (uint256 amount0, uint256 amount1);

    function collect(
        address recipient,
        int24 tickLower,
        int24 tickUpper,
        uint128 amount0Requested,
        uint128 amount1Requested
    ) external returns (uint128 amount0, uint128 amount1);

    function burn(
        int24 tickLower,
        int24 tickUpper,
        uint128 amount
    ) external returns (uint256 amount0, uint256 amount1);

    function swap(
        address recipient,
        bool zeroForOne,
        int256 amountSpecified,
        uint160 sqrtPriceLimitX96,
        bytes calldata data
    ) external returns (int256 amount0, int256 amount1);
	
    function flash(
        address recipient,
        uint256 amount0,
        uint256 amount1,
        bytes calldata data
    ) external;

    function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;
}

// File: contracts\libraries\UniswapV3Math.sol

pragma solidity =0.5.16;
library UniswapV3Math {
	
	function optimalLiquidity(
		address uniswapV3Pool,
		int24 tickLower,
		int24 tickUpper,
		uint amount0Desired,
		uint amount1Desired,
		uint amount0Min,
		uint amount1Min
	) external view returns (uint128 liquidity, uint amount0, uint amount1) {		
		(uint160 sqrtPriceX96, , , , , , ) = IUniswapV3Pool(uniswapV3Pool).slot0();
		uint160 sqrtRatioAX96 = TickMath.getSqrtRatioAtTick(tickLower);
		uint160 sqrtRatioBX96 = TickMath.getSqrtRatioAtTick(tickUpper);

		liquidity = LiquidityAmounts.getLiquidityForAmounts(
			sqrtPriceX96,
			sqrtRatioAX96,
			sqrtRatioBX96,
			amount0Desired,
			amount1Desired
		);
		// get amountsOut
		(amount0, amount1) = LiquidityAmounts.getAmountsForLiquidity(
			sqrtPriceX96,
			sqrtRatioAX96,
			sqrtRatioBX96,
			liquidity
		);
		// round up to get amountsIn
		if (amount0 < amount0Desired) amount0++; 
		if (amount1 < amount1Desired) amount1++; 
		
		require(amount0 >= amount0Min, "ImpermaxRouter: INSUFFICIENT_0_AMOUNT");
		require(amount1 >= amount1Min, "ImpermaxRouter: INSUFFICIENT_1_AMOUNT");
	}
	
}

// File: contracts\impermax-v3-core\interfaces\ICollateral.sol

pragma solidity >=0.5.0;

interface ICollateral {
	
	/* ImpermaxERC721 */

	event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
	event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
	event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
	
	function name() external view returns (string memory);
	function symbol() external view returns (string memory);
	function balanceOf(address owner) external view returns (uint256 balance);
	function ownerOf(uint256 tokenId) external view returns (address owner);
	function getApproved(uint256 tokenId) external view returns (address operator);
	function isApprovedForAll(address owner, address operator) external view returns (bool);
	
	function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
	function safeTransferFrom(address from, address to, uint256 tokenId) external;
	function transferFrom(address from, address to, uint256 tokenId) external;
	function approve(address to, uint256 tokenId) external;
	function setApprovalForAll(address operator, bool approved) external;
	function permit(address spender, uint tokenId, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
	
	/* Collateral */
	
	event Mint(address indexed to, uint tokenId);
	event Redeem(address indexed to, uint tokenId, uint percentage, uint redeemTokenId);
	event Seize(address indexed to, uint tokenId, uint percentage, uint redeemTokenId);
	event RestructureBadDebt(uint tokenId, uint postLiquidationCollateralRatio);
	
	function underlying() external view returns (address);
	function factory() external view returns (address);
	function borrowable0() external view returns (address);
	function borrowable1() external view returns (address);
	function safetyMarginSqrt() external view returns (uint);
	function liquidationIncentive() external view returns (uint);
	function liquidationFee() external view returns (uint);
	function liquidationPenalty() external view returns (uint);

	function mint(address to, uint256 tokenId) external;
	function redeem(address to, uint256 tokenId, uint256 percentage, bytes calldata data) external returns (uint redeemTokenId);
	function redeem(address to, uint256 tokenId, uint256 percentage) external returns (uint redeemTokenId);
	function isLiquidatable(uint tokenId) external returns (bool);
	function isUnderwater(uint tokenId) external returns (bool);
	function canBorrow(uint tokenId, address borrowable, uint accountBorrows) external returns (bool);
	function restructureBadDebt(uint tokenId) external;
	function seize(uint tokenId, uint repayAmount, address liquidator, bytes calldata data) external returns (uint seizeTokenId);
	
	/* CSetter */
	
	event NewSafetyMargin(uint newSafetyMarginSqrt);
	event NewLiquidationIncentive(uint newLiquidationIncentive);
	event NewLiquidationFee(uint newLiquidationFee);

	function SAFETY_MARGIN_SQRT_MIN() external pure returns (uint);
	function SAFETY_MARGIN_SQRT_MAX() external pure returns (uint);
	function LIQUIDATION_INCENTIVE_MIN() external pure returns (uint);
	function LIQUIDATION_INCENTIVE_MAX() external pure returns (uint);
	function LIQUIDATION_FEE_MAX() external pure returns (uint);
	
	function _setFactory() external;
	function _initialize (
		string calldata _name,
		string calldata _symbol,
		address _underlying, 
		address _borrowable0, 
		address _borrowable1
	) external;
	function _setSafetyMarginSqrt(uint newSafetyMarginSqrt) external;
	function _setLiquidationIncentive(uint newLiquidationIncentive) external;
	function _setLiquidationFee(uint newLiquidationFee) external;
}

// File: contracts\impermax-v3-core\interfaces\INFTLP.sol

pragma solidity >=0.5.0;
interface INFTLP {
	struct RealXY {
		uint256 realX;
		uint256 realY;
	}
	
	struct RealXYs {
		RealXY lowestPrice;
		RealXY currentPrice;
		RealXY highestPrice;
	}
	
	// ERC-721
	function ownerOf(uint256 _tokenId) external view returns (address);
	function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
	function safeTransferFrom(address from, address to, uint256 tokenId) external;
	function transferFrom(address from, address to, uint256 tokenId) external;
	
	// Global state
	function token0() external view returns (address);
	function token1() external view returns (address);
	
	// Position state
	function getPositionData(uint256 _tokenId, uint256 _safetyMarginSqrt) external returns (
		uint256 priceSqrtX96,
		RealXYs memory realXYs
	);
	
	// Interactions
	
	function split(uint256 tokenId, uint256 percentage) external returns (uint256 newTokenId);
	function join(uint256 tokenId, uint256 tokenToJoin) external;
}

// File: contracts\impermax-v3-core\extensions\interfaces\ITokenizedUniswapV3Position.sol

pragma solidity >=0.5.0;
interface ITokenizedUniswapV3Position {
	
	// ERC-721
	
	function name() external view returns (string memory);
	function symbol() external view returns (string memory);
	function balanceOf(address owner) external view returns (uint256 balance);
	function ownerOf(uint256 tokenId) external view returns (address owner);
	function getApproved(uint256 tokenId) external view returns (address operator);
	function isApprovedForAll(address owner, address operator) external view returns (bool);
	
	function DOMAIN_SEPARATOR() external view returns (bytes32);
	function nonces(uint256 tokenId) external view returns (uint256);
	
	function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
	function safeTransferFrom(address from, address to, uint256 tokenId) external;
	function transferFrom(address from, address to, uint256 tokenId) external;
	function approve(address to, uint256 tokenId) external;
	function setApprovalForAll(address operator, bool approved) external;
	function permit(address spender, uint tokenId, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
	
	// INFTLP
	
	function token0() external view returns (address);
	function token1() external view returns (address);
	function getPositionData(uint256 _tokenId, uint256 _safetyMarginSqrt) external returns (
		uint256 priceSqrtX96,
		INFTLP.RealXYs memory realXYs
	);
	
	function join(uint256 tokenId, uint256 tokenToJoin) external;
	function split(uint256 tokenId, uint256 percentage) external returns (uint256 newTokenId);
	
	// ITokenizedUniswapV3Position
	
	struct Position {
		uint24 fee;
		int24 tickLower;
		int24 tickUpper;
		uint128 liquidity;
		uint256 feeGrowthInside0LastX128;
		uint256 feeGrowthInside1LastX128;
		uint256 unclaimedFees0;	
		uint256 unclaimedFees1;	
	}
	
	function factory() external view returns (address);
	function uniswapV3Factory() external view returns (address);
	
	function totalBalance(uint24 fee, int24 tickLower, int24 tickUpper) external view returns (uint256);
	
	function positions(uint256 tokenId) external view returns (
		uint24 fee,
		int24 tickLower,
		int24 tickUpper,
		uint128 liquidity,
		uint256 feeGrowthInside0LastX128,
		uint256 feeGrowthInside1LastX128,
		uint256 unclaimedFees0,
		uint256 unclaimedFees1
	);
	function positionsLength() external view returns (uint256);
	
	function getPool(uint24 fee) external view returns (address pool);
	
	function oraclePriceSqrtX96() external returns (uint256);
	
	event MintPosition(uint256 indexed tokenId, uint24 fee, int24 tickLower, int24 tickUpper);
	event UpdatePositionLiquidity(uint256 indexed tokenId, uint256 liquidity);
	event UpdatePositionFeeGrowthInside(uint256 indexed tokenId, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128);
	event UpdatePositionUnclaimedFees(uint256 indexed tokenId, uint256 unclaimedFees0, uint256 unclaimedFees1);

	function _initialize (
		address _uniswapV3Factory, 
		address _oracle, 
		address _token0, 
		address _token1
	) external;
	
	function mint(address to, uint24 fee, int24 tickLower, int24 tickUpper) external  returns (uint256 newTokenId);
	function redeem(address to, uint256 tokenId) external  returns (uint256 amount0, uint256 amount1);

}

// File: contracts\impermax-v3-core\extensions\interfaces\IUniswapV3Factory.sol

// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title The interface for the Uniswap V3 Factory
/// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees
interface IUniswapV3Factory {
    /// @notice Emitted when the owner of the factory is changed
    /// @param oldOwner The owner before the owner was changed
    /// @param newOwner The owner after the owner was changed
    event OwnerChanged(address indexed oldOwner, address indexed newOwner);

    /// @notice Emitted when a pool is created
    /// @param token0 The first token of the pool by address sort order
    /// @param token1 The second token of the pool by address sort order
    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip
    /// @param tickSpacing The minimum number of ticks between initialized ticks
    /// @param pool The address of the created pool
    event PoolCreated(
        address indexed token0,
        address indexed token1,
        uint24 indexed fee,
        int24 tickSpacing,
        address pool
    );

    /// @notice Emitted when a new fee amount is enabled for pool creation via the factory
    /// @param fee The enabled fee, denominated in hundredths of a bip
    /// @param tickSpacing The minimum number of ticks between initialized ticks for pools created with the given fee
    event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing);

    /// @notice Returns the current owner of the factory
    /// @dev Can be changed by the current owner via setOwner
    /// @return The address of the factory owner
    function owner() external view returns (address);

    /// @notice Returns the tick spacing for a given fee amount, if enabled, or 0 if not enabled
    /// @dev A fee amount can never be removed, so this value should be hard coded or cached in the calling context
    /// @param fee The enabled fee, denominated in hundredths of a bip. Returns 0 in case of unenabled fee
    /// @return The tick spacing
    function feeAmountTickSpacing(uint24 fee) external view returns (int24);

    /// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist
    /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order
    /// @param tokenA The contract address of either token0 or token1
    /// @param tokenB The contract address of the other token
    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip
    /// @return pool The pool address
    function getPool(
        address tokenA,
        address tokenB,
        uint24 fee
    ) external view returns (address pool);

    /// @notice Creates a pool for the given two tokens and fee
    /// @param tokenA One of the two tokens in the desired pool
    /// @param tokenB The other of the two tokens in the desired pool
    /// @param fee The desired fee for the pool
    /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved
    /// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments
    /// are invalid.
    /// @return pool The address of the newly created pool
    function createPool(
        address tokenA,
        address tokenB,
        uint24 fee
    ) external returns (address pool);

    /// @notice Updates the owner of the factory
    /// @dev Must be called by the current owner
    /// @param _owner The new owner of the factory
    function setOwner(address _owner) external;

    /// @notice Enables a fee amount with the given tickSpacing
    /// @dev Fee amounts may never be removed once enabled
    /// @param fee The fee amount to enable, denominated in hundredths of a bip (i.e. 1e-6)
    /// @param tickSpacing The spacing between ticks to be enforced for all pools created with the given fee amount
    function enableFeeAmount(uint24 fee, int24 tickSpacing) external;
}

// File: contracts\ImpermaxV3UniV3Router01.sol

pragma solidity =0.5.16;





contract ImpermaxV3UniV3Router01 is ImpermaxV3BaseRouter01 {
	address public uniswapV3Factory;
	
	constructor(address _factory, address _uniswapV3Factory, address _WETH) public ImpermaxV3BaseRouter01(_factory, _WETH) {
		uniswapV3Factory = _uniswapV3Factory;
	}
	
	/*** Data Structures ***/
	
	// callbacks
	struct UniV3MintCallbackData {
		address msgSender;
		address token0;
		address token1;
		uint24 fee;
		uint amount0Router;
		uint amount1Router;
	}
	
	/*** Primitive Actions ***/
	
	function _mintUniV3Empty(
		LendingPool memory pool,
		uint24 fee,
		int24 tickLower,
		int24 tickUpper
	) internal returns (uint tokenId) {
		tokenId = ITokenizedUniswapV3Position(pool.nftlp).mint(pool.collateral, fee, tickLower, tickUpper);
		ICollateral(pool.collateral).mint(address(this), tokenId);
	}
	function _mintUniV3Internal(
		LendingPool memory pool,
		uint tokenId,
		address msgSender,
		uint128 liquidity,
		uint amount0User,
		uint amount1User,
		uint amount0Router,
		uint amount1Router
	) internal {
		(uint24 fee, int24 tickLower, int24 tickUpper,,,,,) = ITokenizedUniswapV3Position(pool.nftlp).positions(tokenId);
		address uniswapV3Pool = ITokenizedUniswapV3Position(pool.nftlp).getPool(fee);
		
		// adjust amount for ETH
		// if the user has deposited native ETH, we need to subtract that amount from amountUser and add it to amountRouter
		int isEth = pool.tokens[0] == WETH ? 0 : pool.tokens[1] == WETH ? int(1) : -1;
		if (isEth != -1) {
			uint routerBalance = IERC20(WETH).balanceOf(address(this));
			if (isEth == 0 && routerBalance > amount0Router) {
				uint totalEthAmount = amount0User.add(amount0Router);
				amount0Router = Math.min(totalEthAmount, routerBalance);
				amount0User = totalEthAmount.sub(amount0Router);
			}
			if (isEth == 1 && routerBalance > amount1Router) {
				uint totalEthAmount = amount1User.add(amount1Router);
				amount1Router = Math.min(totalEthAmount, routerBalance);
				amount1User = totalEthAmount.sub(amount1Router);
			}
		}

		bytes memory encoded = abi.encode(UniV3MintCallbackData({
			msgSender: msgSender,
			token0: pool.tokens[0],
			token1: pool.tokens[1],
			fee: fee,
			amount0Router: amount0Router,
			amount1Router: amount1Router
		}));
		IUniswapV3Pool(uniswapV3Pool).mint(pool.nftlp, tickLower, tickUpper, liquidity, encoded);
		
		uint tokenToJoin = ITokenizedUniswapV3Position(pool.nftlp).mint(address(this), fee, tickLower, tickUpper);
		ITokenizedUniswapV3Position(pool.nftlp).join(tokenId, tokenToJoin);
	}
	function _mintUniV3(
		LendingPool memory pool,
		uint tokenId,
		address msgSender,
		uint amount0Desired,	// intended as user amount
		uint amount1Desired,	// intended as user amount
		uint amount0Min,
		uint amount1Min
	) internal {
		(uint24 fee, int24 tickLower, int24 tickUpper,,,,,) = ITokenizedUniswapV3Position(pool.nftlp).positions(tokenId);
		address uniswapV3Pool = ITokenizedUniswapV3Position(pool.nftlp).getPool(fee);
		(uint128 liquidity, uint amount0, uint amount1) = UniswapV3Math.optimalLiquidity(uniswapV3Pool, tickLower, tickUpper, amount0Desired, amount1Desired, amount0Min, amount1Min);
		_mintUniV3Internal(pool, tokenId, msgSender, liquidity, amount0, amount1, 0, 0);
	}
	
	function _redeemUniV3Step1(
		LendingPool memory pool,
		uint tokenId,
		address msgSender,
		uint percentage,
		uint amount0Min,
		uint amount1Min,
		address to,
		Actions.Action memory nextAction
	) internal {
		require(percentage > 0, "ImpermaxRouter: REDEEM_ZERO");
		bytes memory decoded = abi.encode(RedeemCallbackData({
			pool: pool,
			msgSender: msgSender,
			redeemTo: to,
			amount0Min: amount0Min,
			amount1Min: amount1Min,
			nextAction: nextAction
		}));
		ICollateral(pool.collateral).redeem(address(this), tokenId, percentage, decoded);
	}
	function _redeemStep2(
		LendingPool memory pool,
		uint redeemTokenId,
		uint amount0Min,
		uint amount1Min,
		address to
	) internal {
		(uint amount0, uint amount1) = ITokenizedUniswapV3Position(pool.nftlp).redeem(to, redeemTokenId);
		require(amount0 >= amount0Min, "ImpermaxRouter: INSUFFICIENT_0_AMOUNT");
		require(amount1 >= amount1Min, "ImpermaxRouter: INSUFFICIENT_1_AMOUNT");
	}
	
	/*** Composite Actions ***/
	
	function _borrowAndMintUniV3(
		LendingPool memory pool,
		uint tokenId,
		uint amount0User,
		uint amount1User,
		uint amount0,			// intended as user amount + router amount
		uint amount1,			// intended as user amount + router amount
		uint amount0Min,		// intended as user amount + router amount
		uint amount1Min			// intended as user amount + router amount
	) internal returns (Actions.Action[] memory a) {
		uint128 liquidity;
		{
		(uint24 fee, int24 tickLower, int24 tickUpper,,,,,) = ITokenizedUniswapV3Position(pool.nftlp).positions(tokenId);
		address uniswapV3Pool = ITokenizedUniswapV3Position(pool.nftlp).getPool(fee);
		(liquidity, amount0, amount1) = UniswapV3Math.optimalLiquidity(uniswapV3Pool, tickLower, tickUpper, amount0, amount1, amount0Min, amount1Min);
		}
		(uint amount0Router, uint amount1Router) = (
			amount0 > amount0User ? amount0 - amount0User : 0,
			amount1 > amount1User ? amount1 - amount1User : 0
		);

		require(amount0Router > 0 || amount1Router > 0, "ImpermaxRouter: NO_ACTUAL_BORROWING");
		if (amount0Router > 0 && amount1Router > 0) {
			a = new Actions.Action[](3);		
			a[0] = Actions.getBorrowAction(0, amount0Router, address(this));
			a[1] = Actions.getBorrowAction(1, amount1Router, address(this));
		} else {
			a = new Actions.Action[](2);
			if (amount0Router > 0)	a[0] = Actions.getBorrowAction(0, amount0Router, address(this));
			if (amount1Router > 0)	a[0] = Actions.getBorrowAction(1, amount1Router, address(this));
		}
		a[a.length-1] = Actions.getMintUniV3InternalAction(liquidity, amount0 - amount0Router, amount1 - amount1Router, amount0Router, amount1Router);
	}

	/*** EXECUTE ***/
	
	function _execute(
		LendingPool memory pool,
		uint tokenId,
		address msgSender,
		Actions.Action memory action
	) internal returns (uint) {
		if (action.actionType == Actions.Type.NO_ACTION) return tokenId;
		Actions.Action memory nextAction = abi.decode(action.nextAction, (Actions.Action));
		if (action.actionType == Actions.Type.MINT_UNIV3_EMPTY) {
			Actions.MintUniV3EmptyData memory decoded = abi.decode(action.actionData, (Actions.MintUniV3EmptyData));
			tokenId = _mintUniV3Empty(
				pool,
				decoded.fee,
				decoded.tickLower,
				decoded.tickUpper
			);
		}
		else if (action.actionType == Actions.Type.MINT_UNIV3_INTERNAL) {
			Actions.MintUniV3InternalData memory decoded = abi.decode(action.actionData, (Actions.MintUniV3InternalData));
			_mintUniV3Internal(
				pool,
				tokenId,
				msgSender,
				decoded.liquidity,
				decoded.amount0User,
				decoded.amount1User,
				decoded.amount0Router,
				decoded.amount1Router
			);
		}
		else if (action.actionType == Actions.Type.MINT_UNIV3) {
			Actions.MintUniV3Data memory decoded = abi.decode(action.actionData, (Actions.MintUniV3Data));
			_mintUniV3(
				pool,
				tokenId,
				msgSender,
				decoded.amount0Desired,
				decoded.amount1Desired,
				decoded.amount0Min,
				decoded.amount1Min
			);
		}
		else if (action.actionType == Actions.Type.REDEEM_UNIV3) {
			Actions.RedeemUniV3Data memory decoded = abi.decode(action.actionData, (Actions.RedeemUniV3Data));
			_redeemUniV3Step1(
				pool,
				tokenId,
				msgSender,
				decoded.percentage,
				decoded.amount0Min,
				decoded.amount1Min,
				decoded.to,
				nextAction
			);
			return tokenId;
		}
		else if (action.actionType == Actions.Type.BORROW_AND_MINT_UNIV3) {
			Actions.BorrowAndMintUniV3Data memory decoded = abi.decode(action.actionData, (Actions.BorrowAndMintUniV3Data));
			Actions.Action[] memory actions = _borrowAndMintUniV3(
				pool,
				tokenId,
				decoded.amount0User,
				decoded.amount1User,
				decoded.amount0Desired,
				decoded.amount1Desired,
				decoded.amount0Min,
				decoded.amount1Min
			);
			nextAction = Actions.actionsSorter(actions, nextAction);
		}
		else return super._execute(pool, tokenId, msgSender, action);
		
		return _execute(
			pool,
			tokenId,
			msgSender,
			nextAction
		);
	}
	
	function _checkFirstAction(Actions.Type actionType) internal {
		require(actionType == Actions.Type.MINT_UNIV3_EMPTY, "ImpermaxRouter: INVALID_FIRST_ACTION");
	}
	
	/*** Callbacks ***/
	
	function uniswapV3MintCallback(uint256 amount0Owed, uint256 amount1Owed, bytes calldata data) external {	
		UniV3MintCallbackData memory decoded = abi.decode(data, (UniV3MintCallbackData));
		
		// only succeeds if called by a uniswapV3Pool
		address uniswapV3Pool = IUniswapV3Factory(uniswapV3Factory).getPool(decoded.token0, decoded.token1, decoded.fee);
		require(msg.sender == uniswapV3Pool, "ImpermaxRouter: UNAUTHORIZED_CALLER");
		
		uint amount0Router = Math.min(amount0Owed, decoded.amount0Router);
		uint amount1Router = Math.min(amount1Owed, decoded.amount1Router);
		uint amount0User = amount0Router < amount0Owed ? amount0Owed - amount0Router : 0;
		uint amount1User = amount1Router < amount1Owed ? amount1Owed - amount1Router : 0;
		
		if (amount0User > 0) ImpermaxPermit.safeTransferFrom(decoded.token0, decoded.msgSender, uniswapV3Pool, amount0User);
		if (amount1User > 0) ImpermaxPermit.safeTransferFrom(decoded.token1, decoded.msgSender, uniswapV3Pool, amount1User);
		if (amount0Router > 0) TransferHelper.safeTransfer(decoded.token0, uniswapV3Pool, amount0Router);
		if (amount1Router > 0) TransferHelper.safeTransfer(decoded.token1, uniswapV3Pool, amount1Router);
	}
	
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_uniswapV3Factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"nftlp","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"actionsData","type":"bytes"},{"internalType":"bytes","name":"permitsData","type":"bytes"},{"internalType":"bool","name":"withCollateralTransfer","type":"bool"}],"name":"execute","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"nftlp","type":"address"},{"internalType":"uint8","name":"index","type":"uint8"}],"name":"getBorrowable","outputs":[{"internalType":"address","name":"borrowable","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"nftlp","type":"address"}],"name":"getCollateral","outputs":[{"internalType":"address","name":"collateral","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"nftlp","type":"address"}],"name":"getLendingPool","outputs":[{"components":[{"internalType":"address","name":"nftlp","type":"address"},{"internalType":"address","name":"collateral","type":"address"},{"internalType":"address[2]","name":"borrowables","type":"address[2]"},{"internalType":"address[2]","name":"tokens","type":"address[2]"}],"internalType":"struct IV3BaseRouter01.LendingPool","name":"pool","type":"tuple"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"borrowAmount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"impermaxV3Borrow","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"redeemTokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"impermaxV3Redeem","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"returnValue","type":"bytes4"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"uniswapV3Factory","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount0Owed","type":"uint256"},{"internalType":"uint256","name":"amount1Owed","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3MintCallback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620052ae380380620052ae83398101604081905262000034916200008a565b600080546001600160a01b039485166001600160a01b0319918216179091556001805492851692821692909217909155600280549290931691161790556200010a565b80516200008481620000f0565b92915050565b600080600060608486031215620000a057600080fd5b6000620000ae868662000077565b9350506020620000c18682870162000077565b9250506040620000d48682870162000077565b9150509250925092565b60006001600160a01b03821662000084565b620000fb81620000de565b81146200010757600080fd5b50565b615194806200011a6000396000f3fe6080604052600436106100bc5760003560e01c8063803aaa2611610074578063c45a01551161004e578063c45a0155146101ec578063d348799714610201578063ef974e9c14610221576100bc565b8063803aaa26146101975780639b56d6c9146101b7578063ad5c4648146101d7576100bc565b80634c85e029116100a55780634c85e029146101425780635b54918214610162578063748fa68214610184576100bc565b80630572bf5f146100df578063150b7a0214610115575b60015473ffffffffffffffffffffffffffffffffffffffff1633146100dd57fe5b005b3480156100eb57600080fd5b506100ff6100fa366004613c96565b610241565b60405161010c9190614e2f565b60405180910390f35b34801561012157600080fd5b50610135610130366004613cd2565b610486565b60405161010c9190614d07565b34801561014e57600080fd5b506100dd61015d366004613dfe565b6104a8565b34801561016e57600080fd5b506101776105a1565b60405161010c9190614ac6565b6100dd610192366004613d50565b6105bd565b3480156101a357600080fd5b506100dd6101b2366004613dfe565b610a24565b3480156101c357600080fd5b506101776101d2366004613c96565b610b1f565b3480156101e357600080fd5b50610177610bd1565b3480156101f857600080fd5b50610177610bed565b34801561020d57600080fd5b506100dd61021c36600461424b565b610c09565b34801561022d57600080fd5b5061017761023c366004613e33565b610ec7565b6102496131c0565b73ffffffffffffffffffffffffffffffffffffffff80831682526000546040517f0572bf5f000000000000000000000000000000000000000000000000000000008152911690630572bf5f906102a3908590600401614ac6565b60a06040518083038186803b1580156102bb57600080fd5b505afa1580156102cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506102f39190810190613ec0565b6040868101805173ffffffffffffffffffffffffffffffffffffffff93841660208083019190915294841690529382168388015292515183517f6f307dc3000000000000000000000000000000000000000000000000000000008152935191169450636f307dc39350600480840193829003018186803b15801561037657600080fd5b505afa15801561038a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506103ae9190810190613cb4565b606082015173ffffffffffffffffffffffffffffffffffffffff918216905260408083015160209081015182517f6f307dc30000000000000000000000000000000000000000000000000000000081529251931692636f307dc3926004808201939291829003018186803b15801561042557600080fd5b505afa158015610439573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061045d9190810190613cb4565b606082015173ffffffffffffffffffffffffffffffffffffffff91909116602090910152919050565b600060405161049490614abb565b604051809103902090505b95945050505050565b6104b06131f1565b6104bc82840184613f88565b905060006104d68260000151600001518360200151610ec7565b905073ffffffffffffffffffffffffffffffffffffffff87163014610530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d8e565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff82161461057f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d5e565b61059782600001518784604001518560600151610fd2565b5050505050505050565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517fc6e5944900000000000000000000000000000000000000000000000000000000815273fc637e2a0fa3305dfad9287031aff46bdad3b9f2925063c6e594499150610643908490600401614d15565b60006040518083038186803b15801561065b57600080fd5b505af415801561066f573d6000803e3d6000fd5b50505050600034111561070057600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156106e657600080fd5b505af11580156106fa573d6000803e3d6000fd5b50505050505b606061070e86880188613e6d565b90506107186131c0565b6107218a610241565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff89146108c25783156107c857806020015173ffffffffffffffffffffffffffffffffffffffff166323b872dd33308c6040518463ffffffff1660e01b815260040161079193929190614ae2565b600060405180830381600087803b1580156107ab57600080fd5b505af11580156107bf573d6000803e3d6000fd5b505050506108bd565b60208101516040517f6352211e000000000000000000000000000000000000000000000000000000008152339173ffffffffffffffffffffffffffffffffffffffff1690636352211e90610820908d90600401614eac565b60206040518083038186803b15801561083857600080fd5b505afa15801561084c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506108709190810190613cb4565b73ffffffffffffffffffffffffffffffffffffffff16146108bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dde565b6108e8565b6108e3826000815181106108d257fe5b6020026020010151600001516112de565b600193505b61099c818a3373990144c8c5944f1bbe7e1031f840a350c1c3c40f6382b329ce876040518263ffffffff1660e01b81526004016109259190614cd1565b60006040518083038186803b15801561093d57600080fd5b505af4158015610951573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526109979190810190613f35565b610fd2565b98508315610a1857806020015173ffffffffffffffffffffffffffffffffffffffff166323b872dd30338c6040518463ffffffff1660e01b81526004016109e593929190614ae2565b600060405180830381600087803b1580156109ff57600080fd5b505af1158015610a13573d6000803e3d6000fd5b505050505b50505050505050505050565b610a2c61321f565b610a3882840184614035565b805151909150600090610a4a90610b1f565b905073ffffffffffffffffffffffffffffffffffffffff87163014610a9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d8e565b3373ffffffffffffffffffffffffffffffffffffffff821614610aea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d5e565b610b07826000015186846060015185608001518660400151611326565b61059782600001518784602001518560a00151610fd2565b600080546040517f0572bf5f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690630572bf5f90610b76908590600401614ac6565b60a06040518083038186803b158015610b8e57600080fd5b505afa158015610ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610bc69190810190613ec0565b509095945050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b610c1161325b565b610c1d828401846140a6565b6002546020820151604080840151606085015191517f1698ee8200000000000000000000000000000000000000000000000000000000815294955060009473ffffffffffffffffffffffffffffffffffffffff90941693631698ee8293610c8993909291600401614bd3565b60206040518083038186803b158015610ca157600080fd5b505afa158015610cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610cd99190810190613cb4565b90503373ffffffffffffffffffffffffffffffffffffffff821614610d2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d5e565b6000610d3a87846080015161143a565b90506000610d4c878560a0015161143a565b90506000888310610d5e576000610d62565b8289035b90506000888310610d74576000610d78565b8289035b90508115610e0a57602086015186516040517fd9fc4b6100000000000000000000000000000000000000000000000000000000815273fc637e2a0fa3305dfad9287031aff46bdad3b9f29263d9fc4b6192610dd9928a908890600401614b9e565b60006040518083038186803b158015610df157600080fd5b505af4158015610e05573d6000803e3d6000fd5b505050505b8015610e9d57604080870151875191517fd9fc4b6100000000000000000000000000000000000000000000000000000000815273fc637e2a0fa3305dfad9287031aff46bdad3b9f29263d9fc4b6192610e6c929091908a908790600401614b9e565b60006040518083038186803b158015610e8457600080fd5b505af4158015610e98573d6000803e3d6000fd5b505050505b8315610eb257610eb286602001518686611452565b8215610a1857610a1886604001518685611452565b600060028260ff1610610f06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dae565b600080546040517f0572bf5f000000000000000000000000000000000000000000000000000000008152829173ffffffffffffffffffffffffffffffffffffffff1690630572bf5f90610f5d908890600401614ac6565b60a06040518083038186803b158015610f7557600080fd5b505afa158015610f89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610fad9190810190613ec0565b945094505050508360ff16600014610fc55780610fc7565b815b925050505b92915050565b600060058251600f811115610fe357fe5b1415610ff05750826112d6565b610ff8613290565b82604001518060200190516110109190810190613f35565b9050600b8351600f81111561102157fe5b14156110695761102f6132b2565b83602001518060200190516110479190810190613ff9565b90506110618782600001518360200151846040015161157c565b9550506112c6565b600c8351600f81111561107857fe5b14156110ca576110866132d2565b836020015180602001905161109e9190810190614017565b90506110c4878787846000015185602001518660400151876060015188608001516116c3565b506112c6565b600d8351600f8111156110d957fe5b1415611120576110e7613313565b83602001518060200190516110ff9190810190613fdb565b90506110c48787878460000151856020015186604001518760600151611c7f565b600e8351600f81111561112f57fe5b14156111815761113d61333b565b8360200151806020019051611155919081019061406a565b9050611177878787846000015185602001518660400151876060015189611e75565b85925050506112d6565b600f8351600f81111561119057fe5b14156112b25761119e613379565b83602001518060200190516111b69190810190613f6a565b905060606111e28888846000015185602001518660400151876060015188608001518960a00151611ff7565b6040517f413d5e9600000000000000000000000000000000000000000000000000000000815290915073990144c8c5944f1bbe7e1031f840a350c1c3c40f9063413d5e96906112379084908790600401614ce2565b60006040518083038186803b15801561124f57600080fd5b505af4158015611263573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526112a99190810190613f35565b925050506112c6565b6112be8686868661273b565b9150506112d6565b6112d286868684610fd2565b9150505b949350505050565b600b81600f8111156112ec57fe5b14611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dbe565b50565b600080866000015173ffffffffffffffffffffffffffffffffffffffff16631e9a695084886040518363ffffffff1660e01b8152600401611368929190614cc3565b6040805180830381600087803b15801561138157600080fd5b505af1158015611395573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506113b9919081019061421b565b91509150848210156113f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d9e565b83811015611431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dfe565b50505050505050565b6000818310611449578161144b565b825b9392505050565b600060608473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401611485929190614cc3565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516114d39190614aaf565b6000604051808303816000865af19150503d8060008114611510576040519150601f19603f3d011682016040523d82523d6000602084013e611515565b606091505b509150915081801561153f57508051158061153f57508080602001905161153f9190810190613ea2565b611575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614e0e565b5050505050565b835160208501516040517f9622816500000000000000000000000000000000000000000000000000000000815260009273ffffffffffffffffffffffffffffffffffffffff16916396228165916115dc9190889088908890600401614cb5565b602060405180830381600087803b1580156115f657600080fd5b505af115801561160a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061162e91908101906141fd565b60208601516040517f40c10f1900000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff16906340c10f19906116899030908590600401614b3f565b600060405180830381600087803b1580156116a357600080fd5b505af11580156116b7573d6000803e3d6000fd5b50505050949350505050565b87516040517f99fbab880000000000000000000000000000000000000000000000000000000081526000918291829173ffffffffffffffffffffffffffffffffffffffff16906399fbab889061171d908d90600401614eac565b6101006040518083038186803b15801561173657600080fd5b505afa15801561174a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061176e919081019061414d565b505050505092509250925060008b6000015173ffffffffffffffffffffffffffffffffffffffff16636732df9e856040518263ffffffff1660e01b81526004016117b89190614e9e565b60206040518083038186803b1580156117d057600080fd5b505afa1580156117e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506118089190810190613cb4565b60015460608e01515191925060009173ffffffffffffffffffffffffffffffffffffffff90811691161461188f5760015460608e01516020015173ffffffffffffffffffffffffffffffffffffffff908116911614611887577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61188a565b60015b611892565b60005b9050807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146119f4576001546040517f70a0823100000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190611912903090600401614ad4565b60206040518083038186803b15801561192a57600080fd5b505afa15801561193e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061196291908101906141fd565b90508115801561197157508781115b156119aa5760006119888b8a63ffffffff61295416565b9050611994818361143a565b98506119a6818a63ffffffff61299316565b9a50505b8160011480156119b957508681115b156119f25760006119d08a8963ffffffff61295416565b90506119dc818361143a565b97506119ee818963ffffffff61299316565b9950505b505b60606040518060c001604052808d73ffffffffffffffffffffffffffffffffffffffff1681526020018f60600151600060028110611a2e57fe5b602002015173ffffffffffffffffffffffffffffffffffffffff1681526020018f60600151600160028110611a5f57fe5b602002015173ffffffffffffffffffffffffffffffffffffffff1681526020018762ffffff16815260200189815260200188815250604051602001611aa49190614e4e565b60405160208183030381529060405290508273ffffffffffffffffffffffffffffffffffffffff16633c8a7d8d8f6000015187878f866040518663ffffffff1660e01b8152600401611afa959493929190614bfb565b6040805180830381600087803b158015611b1357600080fd5b505af1158015611b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611b4b919081019061421b565b50508d516040517f9622816500000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff1690639622816590611ba99030908b908b908b90600401614b0a565b602060405180830381600087803b158015611bc357600080fd5b505af1158015611bd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611bfb91908101906141fd565b90508e6000015173ffffffffffffffffffffffffffffffffffffffff166379e66b468f836040518363ffffffff1660e01b8152600401611c3c929190614efd565b600060405180830381600087803b158015611c5657600080fd5b505af1158015611c6a573d6000803e3d6000fd5b50505050505050505050505050505050505050565b86516040517f99fbab880000000000000000000000000000000000000000000000000000000081526000918291829173ffffffffffffffffffffffffffffffffffffffff16906399fbab8890611cd9908c90600401614eac565b6101006040518083038186803b158015611cf257600080fd5b505afa158015611d06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611d2a919081019061414d565b505050505092509250925060008a6000015173ffffffffffffffffffffffffffffffffffffffff16636732df9e856040518263ffffffff1660e01b8152600401611d749190614e9e565b60206040518083038186803b158015611d8c57600080fd5b505afa158015611da0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611dc49190810190613cb4565b9050600080600073535be0e61eff05d571ad3cfea113636e256918fb6343cbdb468588888f8f8f8f6040518863ffffffff1660e01b8152600401611e0e9796959493929190614c4d565b60606040518083038186803b158015611e2657600080fd5b505af4158015611e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611e5e9190810190614100565b925092509250610a138e8e8e8686866000806116c3565b60008511611eaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dce565b60606040518060c001604052808a81526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200186815260200185815260200183815250604051602001611f1a9190614e3d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905260208b01517f3cf3e66400000000000000000000000000000000000000000000000000000000835290925073ffffffffffffffffffffffffffffffffffffffff1690633cf3e66490611fa59030908c908b908790600401614b5a565b602060405180830381600087803b158015611fbf57600080fd5b505af1158015611fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610a1891908101906141fd565b60606000806000808c6000015173ffffffffffffffffffffffffffffffffffffffff166399fbab888d6040518263ffffffff1660e01b815260040161203c9190614eac565b6101006040518083038186803b15801561205557600080fd5b505afa158015612069573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061208d919081019061414d565b505050505092509250925060008d6000015173ffffffffffffffffffffffffffffffffffffffff16636732df9e856040518263ffffffff1660e01b81526004016120d79190614e9e565b60206040518083038186803b1580156120ef57600080fd5b505afa158015612103573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506121279190810190613cb4565b905073535be0e61eff05d571ad3cfea113636e256918fb6343cbdb468285858e8e8e8e6040518863ffffffff1660e01b815260040161216c9796959493929190614c4d565b60606040518083038186803b15801561218457600080fd5b505af4158015612198573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506121bc9190810190614100565b909b50995094506000935083925050508988116121da5760006121de565b8988035b8988116121ec5760006121f0565b8988035b9150915060008211806122035750600081115b612239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d4e565b6000821180156122495750600081115b15612444576040805160038082526080820190925290816020015b61226c613290565b8152602001906001900390816122645750506040517fb2e0a0f800000000000000000000000000000000000000000000000000000000815290945073990144c8c5944f1bbe7e1031f840a350c1c3c40f9063b2e0a0f8906122d69060009086903090600401614d26565b60006040518083038186803b1580156122ee57600080fd5b505af4158015612302573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526123489190810190613f35565b8460008151811061235557fe5b60209081029190910101526040517fb2e0a0f800000000000000000000000000000000000000000000000000000000815273990144c8c5944f1bbe7e1031f840a350c1c3c40f9063b2e0a0f8906123b59060019085903090600401614d26565b60006040518083038186803b1580156123cd57600080fd5b505af41580156123e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526124279190810190613f35565b8460018151811061243457fe5b6020026020010181905250612643565b6040805160028082526060820190925290816020015b612462613290565b81526020019060019003908161245a579050509350811561255d576040517fb2e0a0f800000000000000000000000000000000000000000000000000000000815273990144c8c5944f1bbe7e1031f840a350c1c3c40f9063b2e0a0f8906124d29060009086903090600401614d26565b60006040518083038186803b1580156124ea57600080fd5b505af41580156124fe573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526125449190810190613f35565b8460008151811061255157fe5b60200260200101819052505b8015612643576040517fb2e0a0f800000000000000000000000000000000000000000000000000000000815273990144c8c5944f1bbe7e1031f840a350c1c3c40f9063b2e0a0f8906125b89060019085903090600401614d26565b60006040518083038186803b1580156125d057600080fd5b505af41580156125e4573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261262a9190810190613f35565b8460008151811061263757fe5b60200260200101819052505b6040517f7681288a00000000000000000000000000000000000000000000000000000000815273990144c8c5944f1bbe7e1031f840a350c1c3c40f90637681288a9061269f908690868d0390868d039088908890600401614e5c565b60006040518083038186803b1580156126b757600080fd5b505af41580156126cb573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526127119190810190613f35565b8460018651038151811061272157fe5b602002602001018190525050505098975050505050505050565b600060058251600f81111561274c57fe5b14156127595750826112d6565b612761613290565b82604001518060200190516127799190810190613f35565b905060008351600f81111561278a57fe5b14156127f9576127986132b2565b83602001518060200190516127b09190810190613fbd565b90506127cd878260000151888885602001518660400151886129d5565b604081015173ffffffffffffffffffffffffffffffffffffffff163014156110c45785925050506112d6565b60018351600f81111561280857fe5b1415612845576128166133af565b836020015180602001905161282e9190810190614088565b90506110c487826000015188888560200151612b0f565b60028351600f81111561285457fe5b1415612895576128626132b2565b836020015180602001905161287a9190810190613fbd565b90506110c48782600001518884602001518560400151612c69565b60038351600f8111156128a457fe5b14156128de576128b26133af565b83602001518060200190516128ca91908101906140e2565b90506110c481600001518260200151612e25565b60048351600f8111156128ed57fe5b1415612922576128fb6133c6565b836020015180602001905161291391908101906140c4565b90506110c48160000151612ee2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dee565b60008282018381101561144b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d6e565b600061144b83836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f770081525061302c565b606060058251600f8111156129e657fe5b1480612a08575073ffffffffffffffffffffffffffffffffffffffff83163014155b612a6a5760405180608001604052808981526020018860ff1681526020018673ffffffffffffffffffffffffffffffffffffffff16815260200183815250604051602001612a569190614e1e565b604051602081830303815290604052612a7b565b604051806020016040528060008152505b905087604001518760ff1660028110612a9057fe5b602002015173ffffffffffffffffffffffffffffffffffffffff166315f950fa878587856040518563ffffffff1660e01b8152600401612ad39493929190614ee2565b600060405180830381600087803b158015612aed57600080fd5b505af1158015612b01573d6000803e3d6000fd5b505050505050505050505050565b600085604001518560ff1660028110612b2457fe5b602002015190506000612b38828685613072565b905080612b46575050611575565b73fc637e2a0fa3305dfad9287031aff46bdad3b9f263d9fc4b6188606001518860ff1660028110612b7357fe5b60200201518685856040518563ffffffff1660e01b8152600401612b9a9493929190614b9e565b60006040518083038186803b158015612bb257600080fd5b505af4158015612bc6573d6000803e3d6000fd5b505060408051600080825260208201928390527f15f950fa0000000000000000000000000000000000000000000000000000000090925273ffffffffffffffffffffffffffffffffffffffff861693506315f950fa9250612c2e918991819060248101614eba565b600060405180830381600087803b158015612c4857600080fd5b505af1158015612c5c573d6000803e3d6000fd5b5050505050505050505050565b600085604001518560ff1660028110612c7e57fe5b60200201519050600086606001518660ff1660028110612c9a57fe5b602002015173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612cd79190614ad4565b60206040518083038186803b158015612cef57600080fd5b505afa158015612d03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612d2791908101906141fd565b9050612d33848261143a565b93506000612d42838787613072565b90508082118015612d69575073ffffffffffffffffffffffffffffffffffffffff84163014155b15612d9257612d9288606001518860ff1660028110612d8457fe5b602002015185838503611452565b80612d9f57505050611575565b612dc188606001518860ff1660028110612db557fe5b60200201518483611452565b60408051600080825260208201928390527f15f950fa0000000000000000000000000000000000000000000000000000000090925273ffffffffffffffffffffffffffffffffffffffff8516916315f950fa91612ad3918a91819060248101614eba565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190612e7a903090600401614ad4565b60206040518083038186803b158015612e9257600080fd5b505afa158015612ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612eca91908101906141fd565b90508015612edd57612edd838383611452565b505050565b6001546040517f70a0823100000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190612f39903090600401614ad4565b60206040518083038186803b158015612f5157600080fd5b505afa158015612f65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612f8991908101906141fd565b905080612f965750611323565b6001546040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690632e1a7d4d90612fec908490600401614eac565b600060405180830381600087803b15801561300657600080fd5b505af115801561301a573d6000803e3d6000fd5b50505050613028828261310c565b5050565b6000818484111561306a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105279190614d15565b505050900390565b6000808473ffffffffffffffffffffffffffffffffffffffff1663380e2a8b856040518263ffffffff1660e01b81526004016130ae9190614eac565b602060405180830381600087803b1580156130c857600080fd5b505af11580156130dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061310091908101906141fd565b905061049f838261143a565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040516131439190614aaf565b60006040518083038185875af1925050503d8060008114613180576040519150601f19603f3d011682016040523d82523d6000602084013e613185565b606091505b5050905080612edd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d7e565b60408051608081018252600080825260208201529081016131df6133d8565b81526020016131ec6133d8565b905290565b60405180608001604052806132046131c0565b815260006020820181905260408201526060016131ec613290565b6040518060c001604052806132326131c0565b81526000602082018190526040820181905260608201819052608082015260a0016131ec613290565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a081019190915290565b6040805160608101909152806000815260200160608152602001606081525090565b604080516060810182526000808252602082018190529181019190915290565b6040518060a0016040528060006fffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160008152602001600081525090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b6040518060800160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b604080518082019091526000808252602082015290565b60408051602081019091526000815290565b60405180604001604052806002906020820280388339509192915050565b8035610fcc816150fa565b8051610fcc816150fa565b600082601f83011261341d57600080fd5b600261343061342b82614f32565b614f0b565b9150818385602084028201111561344657600080fd5b60005b83811015613472578161345c88826133f6565b8452506020928301929190910190600101613449565b5050505092915050565b600082601f83011261348d57600080fd5b813561349b61342b82614f50565b81815260209384019390925082018360005b8381101561347257813586016134c388826135ee565b84525060209283019291909101906001016134ad565b8035610fcc8161510e565b8051610fcc8161510e565b60008083601f84011261350157600080fd5b50813567ffffffffffffffff81111561351957600080fd5b60208301915083600182028301111561353157600080fd5b9250929050565b600082601f83011261354957600080fd5b813561355761342b82614f71565b9150808252602083016020830185838301111561357357600080fd5b61357e838284615090565b50505092915050565b600082601f83011261359857600080fd5b81516135a661342b82614f71565b915080825260208301602083018583830111156135c257600080fd5b61357e83828461509c565b8035610fcc81615117565b8051610fcc81615117565b8051610fcc81615124565b60006060828403121561360057600080fd5b61360a6060614f0b565b9050600061361884846135cd565b825250602082013567ffffffffffffffff81111561363557600080fd5b61364184828501613538565b602083015250604082013567ffffffffffffffff81111561366157600080fd5b61366d84828501613538565b60408301525092915050565b60006060828403121561368b57600080fd5b6136956060614f0b565b905060006136a384846135d8565b825250602082015167ffffffffffffffff8111156136c057600080fd5b6136cc84828501613587565b602083015250604082015167ffffffffffffffff8111156136ec57600080fd5b61366d84828501613587565b600060c0828403121561370a57600080fd5b61371460c0614f0b565b905060006137228484613c75565b825250602061373384848301613c75565b602083015250604061374784828501613c75565b604083015250606061375b84828501613c75565b606083015250608061376f84828501613c75565b60808301525060a061378384828501613c75565b60a08301525092915050565b600061012082840312156137a257600080fd5b6137ac6080614f0b565b905060006137ba8484613867565b82525060c06137cb84848301613c80565b60208301525060e06137df848285016133f6565b60408301525061010082013567ffffffffffffffff81111561380057600080fd5b61380c848285016135ee565b60608301525092915050565b60006060828403121561382a57600080fd5b6138346060614f0b565b905060006138428484613c8b565b825250602061385384848301613c75565b602083015250604061366d84828501613401565b600060c0828403121561387957600080fd5b6138836080614f0b565b9050600061389184846133f6565b82525060206138a2848483016133f6565b60208301525060406138b68482850161340c565b604083015250608061380c8482850161340c565b6000608082840312156138dc57600080fd5b6138e66080614f0b565b905060006138f48484613c75565b825250602061390584848301613c75565b602083015250604061391984828501613c75565b604083015250606061380c84828501613c75565b60006060828403121561393f57600080fd5b6139496060614f0b565b905060006139578484613c5f565b8252506020613968848483016135e3565b602083015250604061366d848285016135e3565b600060a0828403121561398e57600080fd5b61399860a0614f0b565b905060006139a68484613c49565b82525060206139b784848301613c75565b60208301525060406139cb84828501613c75565b60408301525060606139df84828501613c75565b60608301525060806139f384828501613c75565b60808301525092915050565b60006101608284031215613a1257600080fd5b613a1c60c0614f0b565b90506000613a2a8484613867565b82525060c0613a3b848483016133f6565b60208301525060e0613a4f848285016133f6565b604083015250610100613a6484828501613c6a565b606083015250610120613a7984828501613c6a565b60808301525061014082013567ffffffffffffffff811115613a9a57600080fd5b613783848285016135ee565b600060808284031215613ab857600080fd5b613ac26080614f0b565b90506000613ad08484613c75565b8252506020613ae184848301613c75565b6020830152506040613af584828501613c75565b604083015250606061380c84828501613401565b600060408284031215613b1b57600080fd5b613b256040614f0b565b90506000613b338484613c8b565b8252506020613b4484848301613c75565b60208301525092915050565b600060c08284031215613b6257600080fd5b613b6c60c0614f0b565b90506000613b7a84846133f6565b8252506020613b8b848483016133f6565b6020830152506040613b9f848285016133f6565b6040830152506060613bb384828501613c54565b6060830152506080613bc784828501613c6a565b60808301525060a061378384828501613c6a565b600060208284031215613bed57600080fd5b613bf76020614f0b565b90506000613c058484613401565b82525092915050565b600060408284031215613c2057600080fd5b613c2a6040614f0b565b90506000613c388484613401565b8252506020613b4484848301613401565b8051610fcc8161512d565b8035610fcc81615136565b8051610fcc81615136565b8035610fcc8161513f565b8051610fcc8161513f565b8035610fcc81615148565b8051610fcc81615148565b600060208284031215613ca857600080fd5b60006112d684846133f6565b600060208284031215613cc657600080fd5b60006112d68484613401565b600080600080600060808688031215613cea57600080fd5b6000613cf688886133f6565b9550506020613d07888289016133f6565b9450506040613d1888828901613c6a565b935050606086013567ffffffffffffffff811115613d3557600080fd5b613d41888289016134ef565b92509250509295509295909350565b600080600080600080600060a0888a031215613d6b57600080fd5b6000613d778a8a6133f6565b9750506020613d888a828b01613c6a565b965050604088013567ffffffffffffffff811115613da557600080fd5b613db18a828b016134ef565b9550955050606088013567ffffffffffffffff811115613dd057600080fd5b613ddc8a828b016134ef565b93509350506080613def8a828b016134d9565b91505092959891949750929550565b600080600080600060808688031215613e1657600080fd5b6000613e2288886133f6565b9550506020613d0788828901613c6a565b60008060408385031215613e4657600080fd5b6000613e5285856133f6565b9250506020613e6385828601613c80565b9150509250929050565b600060208284031215613e7f57600080fd5b813567ffffffffffffffff811115613e9657600080fd5b6112d68482850161347c565b600060208284031215613eb457600080fd5b60006112d684846134e4565b600080600080600060a08688031215613ed857600080fd5b6000613ee488886134e4565b9550506020613ef588828901613c5f565b9450506040613f0688828901613401565b9350506060613f1788828901613401565b9250506080613f2888828901613401565b9150509295509295909350565b600060208284031215613f4757600080fd5b815167ffffffffffffffff811115613f5e57600080fd5b6112d684828501613679565b600060c08284031215613f7c57600080fd5b60006112d684846136f8565b600060208284031215613f9a57600080fd5b813567ffffffffffffffff811115613fb157600080fd5b6112d68482850161378f565b600060608284031215613fcf57600080fd5b60006112d68484613818565b600060808284031215613fed57600080fd5b60006112d684846138ca565b60006060828403121561400b57600080fd5b60006112d6848461392d565b600060a0828403121561402957600080fd5b60006112d6848461397c565b60006020828403121561404757600080fd5b813567ffffffffffffffff81111561405e57600080fd5b6112d6848285016139ff565b60006080828403121561407c57600080fd5b60006112d68484613aa6565b60006040828403121561409a57600080fd5b60006112d68484613b09565b600060c082840312156140b857600080fd5b60006112d68484613b50565b6000602082840312156140d657600080fd5b60006112d68484613bdb565b6000604082840312156140f457600080fd5b60006112d68484613c0e565b60008060006060848603121561411557600080fd5b60006141218686613c49565b935050602061413286828701613c75565b925050604061414386828701613c75565b9150509250925092565b600080600080600080600080610100898b03121561416a57600080fd5b60006141768b8b613c5f565b98505060206141878b828c016135e3565b97505060406141988b828c016135e3565b96505060606141a98b828c01613c49565b95505060806141ba8b828c01613c75565b94505060a06141cb8b828c01613c75565b93505060c06141dc8b828c01613c75565b92505060e06141ed8b828c01613c75565b9150509295985092959890939650565b60006020828403121561420f57600080fd5b60006112d68484613c75565b6000806040838503121561422e57600080fd5b600061423a8585613c75565b9250506020613e6385828601613c75565b6000806000806060858703121561426157600080fd5b600061426d8787613c6a565b945050602061427e87828801613c6a565b935050604085013567ffffffffffffffff81111561429b57600080fd5b6142a7878288016134ef565b95989497509550505050565b60006142bf83836142e2565b505060200190565b600061144b83836148b5565b6142dc81615059565b82525050565b6142dc81614fd8565b6142f481614fc0565b6142fe8184614fca565b925061430982614fb7565b8060005b8381101561433757815161432187826142b3565b965061432c83614fba565b92505060010161430d565b505050505050565b600061434a82614fc6565b6143548185614fcf565b93508360208202850161436685614fba565b8060005b858110156143a0578484038952815161438385826142c7565b945061438e83614fba565b60209a909a019992505060010161436a565b5091979650505050505050565b6142dc81614fe8565b60006143c182614fc6565b6143cb8185614fcf565b93506143db81856020860161509c565b6143e4816150c8565b9093019392505050565b60006143f982614fc6565b6144038185614fca565b935061441381856020860161509c565b9290920192915050565b6142dc81615064565b6142dc81615017565b6142dc8161506f565b6142dc8161507a565b600061444e602383614fcf565b7f496d7065726d6178526f757465723a204e4f5f41435455414c5f424f52524f5781527f494e470000000000000000000000000000000000000000000000000000000000602082015260400192915050565b60006144ad602f83614fca565b7f6f6e455243373231526563656976656428616464726573732c6164647265737381527f2c75696e743235362c62797465732900000000000000000000000000000000006020820152602f0192915050565b600061450c602383614fcf565b7f496d7065726d6178526f757465723a20554e415554484f52495a45445f43414c81527f4c45520000000000000000000000000000000000000000000000000000000000602082015260400192915050565b600061456b601b83614fcf565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b60006145a4603483614fcf565b7f5472616e7366657248656c7065723a3a736166655472616e736665724554483a81527f20455448207472616e73666572206661696c6564000000000000000000000000602082015260400192915050565b6000614603602183614fcf565b7f496d7065726d6178526f757465723a2053454e4445525f4e4f545f524f55544581527f5200000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000614662602583614fcf565b7f496d7065726d6178526f757465723a20494e53554646494349454e545f305f4181527f4d4f554e54000000000000000000000000000000000000000000000000000000602082015260400192915050565b60006146c1601e83614fcf565b7f496d7065726d6178526f757465723a20494e4445585f544f4f5f484947480000815260200192915050565b60006146fa602483614fcf565b7f496d7065726d6178526f757465723a20494e56414c49445f46495253545f414381527f54494f4e00000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000614759601b83614fcf565b7f496d7065726d6178526f757465723a2052454445454d5f5a45524f0000000000815260200192915050565b6000614792601c83614fcf565b7f496d7065726d6178526f757465723a20554e415554484f52495a454400000000815260200192915050565b60006147cb601e83614fcf565b7f496d7065726d6178526f757465723a20494e56414c49445f414354494f4e0000815260200192915050565b6000614804602583614fcf565b7f496d7065726d6178526f757465723a20494e53554646494349454e545f315f4181527f4d4f554e54000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000614863602d83614fcf565b7f5472616e7366657248656c7065723a3a736166655472616e736665723a20747281527f616e73666572206661696c656400000000000000000000000000000000000000602082015260400192915050565b805160009060608401906148c9858261441d565b50602083015184820360208601526148e182826143b6565b9150506040830151848203604086015261049f82826143b6565b8051600090610120840190614910858261494f565b50602083015161492360c0860182614aa6565b50604083015161493660e08601826142e2565b50606083015184820361010086015261049f82826148b5565b805160c083019061496084826142e2565b50602082015161497360208501826142e2565b50604082015161498660408501826142eb565b50606082015161499960808501826142eb565b50505050565b80516000906101608401906149b4858261494f565b5060208301516149c760c08601826142e2565b5060408301516149da60e08601826142e2565b5060608301516149ee610100860182614a9d565b506080830151614a02610120860182614a9d565b5060a083015184820361014086015261049f82826148b5565b805160c0830190614a2c84826142e2565b506020820151614a3f60208501826142e2565b506040820151614a5260408501826142e2565b506060820151614a656060850182614a94565b506080820151614a786080850182614a9d565b5060a082015161499960a0850182614a9d565b6142dc8161501d565b6142dc8161504b565b6142dc81614fb7565b6142dc81615053565b600061144b82846143ee565b6000610fcc826144a0565b60208101610fcc82846142e2565b60208101610fcc82846142d3565b60608101614af082866142d3565b614afd60208301856142d3565b6112d66040830184614a9d565b60808101614b1882876142d3565b614b256020830186614a94565b614b326040830185614426565b61049f6060830184614426565b60408101614b4d82856142d3565b61144b6020830184614a9d565b60808101614b6882876142d3565b614b756020830186614a9d565b614b826040830185614a9d565b8181036060830152614b9481846143b6565b9695505050505050565b60808101614bac82876142e2565b614bb960208301866142e2565b614bc660408301856142e2565b61049f6060830184614a9d565b60608101614be182866142e2565b614bee60208301856142e2565b6112d66040830184614a94565b60a08101614c0982886142e2565b614c166020830187614426565b614c236040830186614426565b614c306060830185614a8b565b8181036080830152614c4281846143b6565b979650505050505050565b60e08101614c5b828a6142e2565b614c686020830189614426565b614c756040830188614426565b614c826060830187614a9d565b614c8f6080830186614a9d565b614c9c60a0830185614a9d565b614ca960c0830184614a9d565b98975050505050505050565b60808101614b1882876142e2565b60408101614b4d82856142e2565b6020808252810161144b818461433f565b60408082528101614cf3818561433f565b905081810360208301526112d681846148b5565b60208101610fcc82846143ad565b6020808252810161144b81846143b6565b60608101614d348286614438565b614d416020830185614a9d565b6112d660408301846142d3565b60208082528101610fcc81614441565b60208082528101610fcc816144ff565b60208082528101610fcc8161455e565b60208082528101610fcc81614597565b60208082528101610fcc816145f6565b60208082528101610fcc81614655565b60208082528101610fcc816146b4565b60208082528101610fcc816146ed565b60208082528101610fcc8161474c565b60208082528101610fcc81614785565b60208082528101610fcc816147be565b60208082528101610fcc816147f7565b60208082528101610fcc81614856565b6020808252810161144b81846148fb565b60c08101610fcc828461494f565b6020808252810161144b818461499f565b60c08101610fcc8284614a1b565b60a08101614e6a8288614a8b565b614e776020830187614a9d565b614e846040830186614a9d565b614e916060830185614a9d565b614b946080830184614a9d565b60208101610fcc8284614a94565b60208101610fcc8284614a9d565b60808101614ec88287614a9d565b614ed560208301866142d3565b614b82604083018561442f565b60808101614ef08287614a9d565b614b7560208301866142e2565b60408101614b4d8285614a9d565b60405181810167ffffffffffffffff81118282101715614f2a57600080fd5b604052919050565b600067ffffffffffffffff821115614f4957600080fd5b5060200290565b600067ffffffffffffffff821115614f6757600080fd5b5060209081020190565b600067ffffffffffffffff821115614f8857600080fd5b506020601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b90565b60200190565b50600290565b5190565b919050565b90815260200190565b6000610fcc82615032565b151590565b7fffffffff000000000000000000000000000000000000000000000000000000001690565b80614fca816150f0565b60020b90565b6fffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b62ffffff1690565b60ff1690565b6000610fcc82615085565b6000610fcc8261500d565b6000610fcc82614fb7565b6000610fcc82615053565b6000610fcc82614fd8565b82818337506000910152565b60005b838110156150b757818101518382015260200161509f565b838111156149995750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b6010811061132357fe5b61510381614fd8565b811461132357600080fd5b61510381614fe3565b6010811061132357600080fd5b61510381615017565b6151038161501d565b6151038161504b565b61510381614fb7565b6151038161505356fea365627a7a72315820b99ce1b608bcfbe3f94169c6e1e62367f1429b5e809d464c5929b157c811fbdb6c6578706572696d656e74616cf564736f6c634300051000400000000000000000000000004ff3262ba2983ee8950d9d082f03277a58bf7eb10000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f98400000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1

Deployed Bytecode

0x6080604052600436106100bc5760003560e01c8063803aaa2611610074578063c45a01551161004e578063c45a0155146101ec578063d348799714610201578063ef974e9c14610221576100bc565b8063803aaa26146101975780639b56d6c9146101b7578063ad5c4648146101d7576100bc565b80634c85e029116100a55780634c85e029146101425780635b54918214610162578063748fa68214610184576100bc565b80630572bf5f146100df578063150b7a0214610115575b60015473ffffffffffffffffffffffffffffffffffffffff1633146100dd57fe5b005b3480156100eb57600080fd5b506100ff6100fa366004613c96565b610241565b60405161010c9190614e2f565b60405180910390f35b34801561012157600080fd5b50610135610130366004613cd2565b610486565b60405161010c9190614d07565b34801561014e57600080fd5b506100dd61015d366004613dfe565b6104a8565b34801561016e57600080fd5b506101776105a1565b60405161010c9190614ac6565b6100dd610192366004613d50565b6105bd565b3480156101a357600080fd5b506100dd6101b2366004613dfe565b610a24565b3480156101c357600080fd5b506101776101d2366004613c96565b610b1f565b3480156101e357600080fd5b50610177610bd1565b3480156101f857600080fd5b50610177610bed565b34801561020d57600080fd5b506100dd61021c36600461424b565b610c09565b34801561022d57600080fd5b5061017761023c366004613e33565b610ec7565b6102496131c0565b73ffffffffffffffffffffffffffffffffffffffff80831682526000546040517f0572bf5f000000000000000000000000000000000000000000000000000000008152911690630572bf5f906102a3908590600401614ac6565b60a06040518083038186803b1580156102bb57600080fd5b505afa1580156102cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506102f39190810190613ec0565b6040868101805173ffffffffffffffffffffffffffffffffffffffff93841660208083019190915294841690529382168388015292515183517f6f307dc3000000000000000000000000000000000000000000000000000000008152935191169450636f307dc39350600480840193829003018186803b15801561037657600080fd5b505afa15801561038a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506103ae9190810190613cb4565b606082015173ffffffffffffffffffffffffffffffffffffffff918216905260408083015160209081015182517f6f307dc30000000000000000000000000000000000000000000000000000000081529251931692636f307dc3926004808201939291829003018186803b15801561042557600080fd5b505afa158015610439573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061045d9190810190613cb4565b606082015173ffffffffffffffffffffffffffffffffffffffff91909116602090910152919050565b600060405161049490614abb565b604051809103902090505b95945050505050565b6104b06131f1565b6104bc82840184613f88565b905060006104d68260000151600001518360200151610ec7565b905073ffffffffffffffffffffffffffffffffffffffff87163014610530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d8e565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff82161461057f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d5e565b61059782600001518784604001518560600151610fd2565b5050505050505050565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517fc6e5944900000000000000000000000000000000000000000000000000000000815273fc637e2a0fa3305dfad9287031aff46bdad3b9f2925063c6e594499150610643908490600401614d15565b60006040518083038186803b15801561065b57600080fd5b505af415801561066f573d6000803e3d6000fd5b50505050600034111561070057600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156106e657600080fd5b505af11580156106fa573d6000803e3d6000fd5b50505050505b606061070e86880188613e6d565b90506107186131c0565b6107218a610241565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff89146108c25783156107c857806020015173ffffffffffffffffffffffffffffffffffffffff166323b872dd33308c6040518463ffffffff1660e01b815260040161079193929190614ae2565b600060405180830381600087803b1580156107ab57600080fd5b505af11580156107bf573d6000803e3d6000fd5b505050506108bd565b60208101516040517f6352211e000000000000000000000000000000000000000000000000000000008152339173ffffffffffffffffffffffffffffffffffffffff1690636352211e90610820908d90600401614eac565b60206040518083038186803b15801561083857600080fd5b505afa15801561084c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506108709190810190613cb4565b73ffffffffffffffffffffffffffffffffffffffff16146108bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dde565b6108e8565b6108e3826000815181106108d257fe5b6020026020010151600001516112de565b600193505b61099c818a3373990144c8c5944f1bbe7e1031f840a350c1c3c40f6382b329ce876040518263ffffffff1660e01b81526004016109259190614cd1565b60006040518083038186803b15801561093d57600080fd5b505af4158015610951573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526109979190810190613f35565b610fd2565b98508315610a1857806020015173ffffffffffffffffffffffffffffffffffffffff166323b872dd30338c6040518463ffffffff1660e01b81526004016109e593929190614ae2565b600060405180830381600087803b1580156109ff57600080fd5b505af1158015610a13573d6000803e3d6000fd5b505050505b50505050505050505050565b610a2c61321f565b610a3882840184614035565b805151909150600090610a4a90610b1f565b905073ffffffffffffffffffffffffffffffffffffffff87163014610a9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d8e565b3373ffffffffffffffffffffffffffffffffffffffff821614610aea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d5e565b610b07826000015186846060015185608001518660400151611326565b61059782600001518784602001518560a00151610fd2565b600080546040517f0572bf5f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690630572bf5f90610b76908590600401614ac6565b60a06040518083038186803b158015610b8e57600080fd5b505afa158015610ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610bc69190810190613ec0565b509095945050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b610c1161325b565b610c1d828401846140a6565b6002546020820151604080840151606085015191517f1698ee8200000000000000000000000000000000000000000000000000000000815294955060009473ffffffffffffffffffffffffffffffffffffffff90941693631698ee8293610c8993909291600401614bd3565b60206040518083038186803b158015610ca157600080fd5b505afa158015610cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610cd99190810190613cb4565b90503373ffffffffffffffffffffffffffffffffffffffff821614610d2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d5e565b6000610d3a87846080015161143a565b90506000610d4c878560a0015161143a565b90506000888310610d5e576000610d62565b8289035b90506000888310610d74576000610d78565b8289035b90508115610e0a57602086015186516040517fd9fc4b6100000000000000000000000000000000000000000000000000000000815273fc637e2a0fa3305dfad9287031aff46bdad3b9f29263d9fc4b6192610dd9928a908890600401614b9e565b60006040518083038186803b158015610df157600080fd5b505af4158015610e05573d6000803e3d6000fd5b505050505b8015610e9d57604080870151875191517fd9fc4b6100000000000000000000000000000000000000000000000000000000815273fc637e2a0fa3305dfad9287031aff46bdad3b9f29263d9fc4b6192610e6c929091908a908790600401614b9e565b60006040518083038186803b158015610e8457600080fd5b505af4158015610e98573d6000803e3d6000fd5b505050505b8315610eb257610eb286602001518686611452565b8215610a1857610a1886604001518685611452565b600060028260ff1610610f06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dae565b600080546040517f0572bf5f000000000000000000000000000000000000000000000000000000008152829173ffffffffffffffffffffffffffffffffffffffff1690630572bf5f90610f5d908890600401614ac6565b60a06040518083038186803b158015610f7557600080fd5b505afa158015610f89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610fad9190810190613ec0565b945094505050508360ff16600014610fc55780610fc7565b815b925050505b92915050565b600060058251600f811115610fe357fe5b1415610ff05750826112d6565b610ff8613290565b82604001518060200190516110109190810190613f35565b9050600b8351600f81111561102157fe5b14156110695761102f6132b2565b83602001518060200190516110479190810190613ff9565b90506110618782600001518360200151846040015161157c565b9550506112c6565b600c8351600f81111561107857fe5b14156110ca576110866132d2565b836020015180602001905161109e9190810190614017565b90506110c4878787846000015185602001518660400151876060015188608001516116c3565b506112c6565b600d8351600f8111156110d957fe5b1415611120576110e7613313565b83602001518060200190516110ff9190810190613fdb565b90506110c48787878460000151856020015186604001518760600151611c7f565b600e8351600f81111561112f57fe5b14156111815761113d61333b565b8360200151806020019051611155919081019061406a565b9050611177878787846000015185602001518660400151876060015189611e75565b85925050506112d6565b600f8351600f81111561119057fe5b14156112b25761119e613379565b83602001518060200190516111b69190810190613f6a565b905060606111e28888846000015185602001518660400151876060015188608001518960a00151611ff7565b6040517f413d5e9600000000000000000000000000000000000000000000000000000000815290915073990144c8c5944f1bbe7e1031f840a350c1c3c40f9063413d5e96906112379084908790600401614ce2565b60006040518083038186803b15801561124f57600080fd5b505af4158015611263573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526112a99190810190613f35565b925050506112c6565b6112be8686868661273b565b9150506112d6565b6112d286868684610fd2565b9150505b949350505050565b600b81600f8111156112ec57fe5b14611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dbe565b50565b600080866000015173ffffffffffffffffffffffffffffffffffffffff16631e9a695084886040518363ffffffff1660e01b8152600401611368929190614cc3565b6040805180830381600087803b15801561138157600080fd5b505af1158015611395573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506113b9919081019061421b565b91509150848210156113f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d9e565b83811015611431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dfe565b50505050505050565b6000818310611449578161144b565b825b9392505050565b600060608473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401611485929190614cc3565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516114d39190614aaf565b6000604051808303816000865af19150503d8060008114611510576040519150601f19603f3d011682016040523d82523d6000602084013e611515565b606091505b509150915081801561153f57508051158061153f57508080602001905161153f9190810190613ea2565b611575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614e0e565b5050505050565b835160208501516040517f9622816500000000000000000000000000000000000000000000000000000000815260009273ffffffffffffffffffffffffffffffffffffffff16916396228165916115dc9190889088908890600401614cb5565b602060405180830381600087803b1580156115f657600080fd5b505af115801561160a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061162e91908101906141fd565b60208601516040517f40c10f1900000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff16906340c10f19906116899030908590600401614b3f565b600060405180830381600087803b1580156116a357600080fd5b505af11580156116b7573d6000803e3d6000fd5b50505050949350505050565b87516040517f99fbab880000000000000000000000000000000000000000000000000000000081526000918291829173ffffffffffffffffffffffffffffffffffffffff16906399fbab889061171d908d90600401614eac565b6101006040518083038186803b15801561173657600080fd5b505afa15801561174a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061176e919081019061414d565b505050505092509250925060008b6000015173ffffffffffffffffffffffffffffffffffffffff16636732df9e856040518263ffffffff1660e01b81526004016117b89190614e9e565b60206040518083038186803b1580156117d057600080fd5b505afa1580156117e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506118089190810190613cb4565b60015460608e01515191925060009173ffffffffffffffffffffffffffffffffffffffff90811691161461188f5760015460608e01516020015173ffffffffffffffffffffffffffffffffffffffff908116911614611887577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61188a565b60015b611892565b60005b9050807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146119f4576001546040517f70a0823100000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190611912903090600401614ad4565b60206040518083038186803b15801561192a57600080fd5b505afa15801561193e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061196291908101906141fd565b90508115801561197157508781115b156119aa5760006119888b8a63ffffffff61295416565b9050611994818361143a565b98506119a6818a63ffffffff61299316565b9a50505b8160011480156119b957508681115b156119f25760006119d08a8963ffffffff61295416565b90506119dc818361143a565b97506119ee818963ffffffff61299316565b9950505b505b60606040518060c001604052808d73ffffffffffffffffffffffffffffffffffffffff1681526020018f60600151600060028110611a2e57fe5b602002015173ffffffffffffffffffffffffffffffffffffffff1681526020018f60600151600160028110611a5f57fe5b602002015173ffffffffffffffffffffffffffffffffffffffff1681526020018762ffffff16815260200189815260200188815250604051602001611aa49190614e4e565b60405160208183030381529060405290508273ffffffffffffffffffffffffffffffffffffffff16633c8a7d8d8f6000015187878f866040518663ffffffff1660e01b8152600401611afa959493929190614bfb565b6040805180830381600087803b158015611b1357600080fd5b505af1158015611b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611b4b919081019061421b565b50508d516040517f9622816500000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff1690639622816590611ba99030908b908b908b90600401614b0a565b602060405180830381600087803b158015611bc357600080fd5b505af1158015611bd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611bfb91908101906141fd565b90508e6000015173ffffffffffffffffffffffffffffffffffffffff166379e66b468f836040518363ffffffff1660e01b8152600401611c3c929190614efd565b600060405180830381600087803b158015611c5657600080fd5b505af1158015611c6a573d6000803e3d6000fd5b50505050505050505050505050505050505050565b86516040517f99fbab880000000000000000000000000000000000000000000000000000000081526000918291829173ffffffffffffffffffffffffffffffffffffffff16906399fbab8890611cd9908c90600401614eac565b6101006040518083038186803b158015611cf257600080fd5b505afa158015611d06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611d2a919081019061414d565b505050505092509250925060008a6000015173ffffffffffffffffffffffffffffffffffffffff16636732df9e856040518263ffffffff1660e01b8152600401611d749190614e9e565b60206040518083038186803b158015611d8c57600080fd5b505afa158015611da0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611dc49190810190613cb4565b9050600080600073535be0e61eff05d571ad3cfea113636e256918fb6343cbdb468588888f8f8f8f6040518863ffffffff1660e01b8152600401611e0e9796959493929190614c4d565b60606040518083038186803b158015611e2657600080fd5b505af4158015611e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611e5e9190810190614100565b925092509250610a138e8e8e8686866000806116c3565b60008511611eaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dce565b60606040518060c001604052808a81526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200186815260200185815260200183815250604051602001611f1a9190614e3d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905260208b01517f3cf3e66400000000000000000000000000000000000000000000000000000000835290925073ffffffffffffffffffffffffffffffffffffffff1690633cf3e66490611fa59030908c908b908790600401614b5a565b602060405180830381600087803b158015611fbf57600080fd5b505af1158015611fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610a1891908101906141fd565b60606000806000808c6000015173ffffffffffffffffffffffffffffffffffffffff166399fbab888d6040518263ffffffff1660e01b815260040161203c9190614eac565b6101006040518083038186803b15801561205557600080fd5b505afa158015612069573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061208d919081019061414d565b505050505092509250925060008d6000015173ffffffffffffffffffffffffffffffffffffffff16636732df9e856040518263ffffffff1660e01b81526004016120d79190614e9e565b60206040518083038186803b1580156120ef57600080fd5b505afa158015612103573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506121279190810190613cb4565b905073535be0e61eff05d571ad3cfea113636e256918fb6343cbdb468285858e8e8e8e6040518863ffffffff1660e01b815260040161216c9796959493929190614c4d565b60606040518083038186803b15801561218457600080fd5b505af4158015612198573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506121bc9190810190614100565b909b50995094506000935083925050508988116121da5760006121de565b8988035b8988116121ec5760006121f0565b8988035b9150915060008211806122035750600081115b612239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d4e565b6000821180156122495750600081115b15612444576040805160038082526080820190925290816020015b61226c613290565b8152602001906001900390816122645750506040517fb2e0a0f800000000000000000000000000000000000000000000000000000000815290945073990144c8c5944f1bbe7e1031f840a350c1c3c40f9063b2e0a0f8906122d69060009086903090600401614d26565b60006040518083038186803b1580156122ee57600080fd5b505af4158015612302573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526123489190810190613f35565b8460008151811061235557fe5b60209081029190910101526040517fb2e0a0f800000000000000000000000000000000000000000000000000000000815273990144c8c5944f1bbe7e1031f840a350c1c3c40f9063b2e0a0f8906123b59060019085903090600401614d26565b60006040518083038186803b1580156123cd57600080fd5b505af41580156123e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526124279190810190613f35565b8460018151811061243457fe5b6020026020010181905250612643565b6040805160028082526060820190925290816020015b612462613290565b81526020019060019003908161245a579050509350811561255d576040517fb2e0a0f800000000000000000000000000000000000000000000000000000000815273990144c8c5944f1bbe7e1031f840a350c1c3c40f9063b2e0a0f8906124d29060009086903090600401614d26565b60006040518083038186803b1580156124ea57600080fd5b505af41580156124fe573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526125449190810190613f35565b8460008151811061255157fe5b60200260200101819052505b8015612643576040517fb2e0a0f800000000000000000000000000000000000000000000000000000000815273990144c8c5944f1bbe7e1031f840a350c1c3c40f9063b2e0a0f8906125b89060019085903090600401614d26565b60006040518083038186803b1580156125d057600080fd5b505af41580156125e4573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261262a9190810190613f35565b8460008151811061263757fe5b60200260200101819052505b6040517f7681288a00000000000000000000000000000000000000000000000000000000815273990144c8c5944f1bbe7e1031f840a350c1c3c40f90637681288a9061269f908690868d0390868d039088908890600401614e5c565b60006040518083038186803b1580156126b757600080fd5b505af41580156126cb573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526127119190810190613f35565b8460018651038151811061272157fe5b602002602001018190525050505098975050505050505050565b600060058251600f81111561274c57fe5b14156127595750826112d6565b612761613290565b82604001518060200190516127799190810190613f35565b905060008351600f81111561278a57fe5b14156127f9576127986132b2565b83602001518060200190516127b09190810190613fbd565b90506127cd878260000151888885602001518660400151886129d5565b604081015173ffffffffffffffffffffffffffffffffffffffff163014156110c45785925050506112d6565b60018351600f81111561280857fe5b1415612845576128166133af565b836020015180602001905161282e9190810190614088565b90506110c487826000015188888560200151612b0f565b60028351600f81111561285457fe5b1415612895576128626132b2565b836020015180602001905161287a9190810190613fbd565b90506110c48782600001518884602001518560400151612c69565b60038351600f8111156128a457fe5b14156128de576128b26133af565b83602001518060200190516128ca91908101906140e2565b90506110c481600001518260200151612e25565b60048351600f8111156128ed57fe5b1415612922576128fb6133c6565b836020015180602001905161291391908101906140c4565b90506110c48160000151612ee2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614dee565b60008282018381101561144b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d6e565b600061144b83836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f770081525061302c565b606060058251600f8111156129e657fe5b1480612a08575073ffffffffffffffffffffffffffffffffffffffff83163014155b612a6a5760405180608001604052808981526020018860ff1681526020018673ffffffffffffffffffffffffffffffffffffffff16815260200183815250604051602001612a569190614e1e565b604051602081830303815290604052612a7b565b604051806020016040528060008152505b905087604001518760ff1660028110612a9057fe5b602002015173ffffffffffffffffffffffffffffffffffffffff166315f950fa878587856040518563ffffffff1660e01b8152600401612ad39493929190614ee2565b600060405180830381600087803b158015612aed57600080fd5b505af1158015612b01573d6000803e3d6000fd5b505050505050505050505050565b600085604001518560ff1660028110612b2457fe5b602002015190506000612b38828685613072565b905080612b46575050611575565b73fc637e2a0fa3305dfad9287031aff46bdad3b9f263d9fc4b6188606001518860ff1660028110612b7357fe5b60200201518685856040518563ffffffff1660e01b8152600401612b9a9493929190614b9e565b60006040518083038186803b158015612bb257600080fd5b505af4158015612bc6573d6000803e3d6000fd5b505060408051600080825260208201928390527f15f950fa0000000000000000000000000000000000000000000000000000000090925273ffffffffffffffffffffffffffffffffffffffff861693506315f950fa9250612c2e918991819060248101614eba565b600060405180830381600087803b158015612c4857600080fd5b505af1158015612c5c573d6000803e3d6000fd5b5050505050505050505050565b600085604001518560ff1660028110612c7e57fe5b60200201519050600086606001518660ff1660028110612c9a57fe5b602002015173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612cd79190614ad4565b60206040518083038186803b158015612cef57600080fd5b505afa158015612d03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612d2791908101906141fd565b9050612d33848261143a565b93506000612d42838787613072565b90508082118015612d69575073ffffffffffffffffffffffffffffffffffffffff84163014155b15612d9257612d9288606001518860ff1660028110612d8457fe5b602002015185838503611452565b80612d9f57505050611575565b612dc188606001518860ff1660028110612db557fe5b60200201518483611452565b60408051600080825260208201928390527f15f950fa0000000000000000000000000000000000000000000000000000000090925273ffffffffffffffffffffffffffffffffffffffff8516916315f950fa91612ad3918a91819060248101614eba565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190612e7a903090600401614ad4565b60206040518083038186803b158015612e9257600080fd5b505afa158015612ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612eca91908101906141fd565b90508015612edd57612edd838383611452565b505050565b6001546040517f70a0823100000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190612f39903090600401614ad4565b60206040518083038186803b158015612f5157600080fd5b505afa158015612f65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612f8991908101906141fd565b905080612f965750611323565b6001546040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690632e1a7d4d90612fec908490600401614eac565b600060405180830381600087803b15801561300657600080fd5b505af115801561301a573d6000803e3d6000fd5b50505050613028828261310c565b5050565b6000818484111561306a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105279190614d15565b505050900390565b6000808473ffffffffffffffffffffffffffffffffffffffff1663380e2a8b856040518263ffffffff1660e01b81526004016130ae9190614eac565b602060405180830381600087803b1580156130c857600080fd5b505af11580156130dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061310091908101906141fd565b905061049f838261143a565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040516131439190614aaf565b60006040518083038185875af1925050503d8060008114613180576040519150601f19603f3d011682016040523d82523d6000602084013e613185565b606091505b5050905080612edd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052790614d7e565b60408051608081018252600080825260208201529081016131df6133d8565b81526020016131ec6133d8565b905290565b60405180608001604052806132046131c0565b815260006020820181905260408201526060016131ec613290565b6040518060c001604052806132326131c0565b81526000602082018190526040820181905260608201819052608082015260a0016131ec613290565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a081019190915290565b6040805160608101909152806000815260200160608152602001606081525090565b604080516060810182526000808252602082018190529181019190915290565b6040518060a0016040528060006fffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160008152602001600081525090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b6040518060800160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b604080518082019091526000808252602082015290565b60408051602081019091526000815290565b60405180604001604052806002906020820280388339509192915050565b8035610fcc816150fa565b8051610fcc816150fa565b600082601f83011261341d57600080fd5b600261343061342b82614f32565b614f0b565b9150818385602084028201111561344657600080fd5b60005b83811015613472578161345c88826133f6565b8452506020928301929190910190600101613449565b5050505092915050565b600082601f83011261348d57600080fd5b813561349b61342b82614f50565b81815260209384019390925082018360005b8381101561347257813586016134c388826135ee565b84525060209283019291909101906001016134ad565b8035610fcc8161510e565b8051610fcc8161510e565b60008083601f84011261350157600080fd5b50813567ffffffffffffffff81111561351957600080fd5b60208301915083600182028301111561353157600080fd5b9250929050565b600082601f83011261354957600080fd5b813561355761342b82614f71565b9150808252602083016020830185838301111561357357600080fd5b61357e838284615090565b50505092915050565b600082601f83011261359857600080fd5b81516135a661342b82614f71565b915080825260208301602083018583830111156135c257600080fd5b61357e83828461509c565b8035610fcc81615117565b8051610fcc81615117565b8051610fcc81615124565b60006060828403121561360057600080fd5b61360a6060614f0b565b9050600061361884846135cd565b825250602082013567ffffffffffffffff81111561363557600080fd5b61364184828501613538565b602083015250604082013567ffffffffffffffff81111561366157600080fd5b61366d84828501613538565b60408301525092915050565b60006060828403121561368b57600080fd5b6136956060614f0b565b905060006136a384846135d8565b825250602082015167ffffffffffffffff8111156136c057600080fd5b6136cc84828501613587565b602083015250604082015167ffffffffffffffff8111156136ec57600080fd5b61366d84828501613587565b600060c0828403121561370a57600080fd5b61371460c0614f0b565b905060006137228484613c75565b825250602061373384848301613c75565b602083015250604061374784828501613c75565b604083015250606061375b84828501613c75565b606083015250608061376f84828501613c75565b60808301525060a061378384828501613c75565b60a08301525092915050565b600061012082840312156137a257600080fd5b6137ac6080614f0b565b905060006137ba8484613867565b82525060c06137cb84848301613c80565b60208301525060e06137df848285016133f6565b60408301525061010082013567ffffffffffffffff81111561380057600080fd5b61380c848285016135ee565b60608301525092915050565b60006060828403121561382a57600080fd5b6138346060614f0b565b905060006138428484613c8b565b825250602061385384848301613c75565b602083015250604061366d84828501613401565b600060c0828403121561387957600080fd5b6138836080614f0b565b9050600061389184846133f6565b82525060206138a2848483016133f6565b60208301525060406138b68482850161340c565b604083015250608061380c8482850161340c565b6000608082840312156138dc57600080fd5b6138e66080614f0b565b905060006138f48484613c75565b825250602061390584848301613c75565b602083015250604061391984828501613c75565b604083015250606061380c84828501613c75565b60006060828403121561393f57600080fd5b6139496060614f0b565b905060006139578484613c5f565b8252506020613968848483016135e3565b602083015250604061366d848285016135e3565b600060a0828403121561398e57600080fd5b61399860a0614f0b565b905060006139a68484613c49565b82525060206139b784848301613c75565b60208301525060406139cb84828501613c75565b60408301525060606139df84828501613c75565b60608301525060806139f384828501613c75565b60808301525092915050565b60006101608284031215613a1257600080fd5b613a1c60c0614f0b565b90506000613a2a8484613867565b82525060c0613a3b848483016133f6565b60208301525060e0613a4f848285016133f6565b604083015250610100613a6484828501613c6a565b606083015250610120613a7984828501613c6a565b60808301525061014082013567ffffffffffffffff811115613a9a57600080fd5b613783848285016135ee565b600060808284031215613ab857600080fd5b613ac26080614f0b565b90506000613ad08484613c75565b8252506020613ae184848301613c75565b6020830152506040613af584828501613c75565b604083015250606061380c84828501613401565b600060408284031215613b1b57600080fd5b613b256040614f0b565b90506000613b338484613c8b565b8252506020613b4484848301613c75565b60208301525092915050565b600060c08284031215613b6257600080fd5b613b6c60c0614f0b565b90506000613b7a84846133f6565b8252506020613b8b848483016133f6565b6020830152506040613b9f848285016133f6565b6040830152506060613bb384828501613c54565b6060830152506080613bc784828501613c6a565b60808301525060a061378384828501613c6a565b600060208284031215613bed57600080fd5b613bf76020614f0b565b90506000613c058484613401565b82525092915050565b600060408284031215613c2057600080fd5b613c2a6040614f0b565b90506000613c388484613401565b8252506020613b4484848301613401565b8051610fcc8161512d565b8035610fcc81615136565b8051610fcc81615136565b8035610fcc8161513f565b8051610fcc8161513f565b8035610fcc81615148565b8051610fcc81615148565b600060208284031215613ca857600080fd5b60006112d684846133f6565b600060208284031215613cc657600080fd5b60006112d68484613401565b600080600080600060808688031215613cea57600080fd5b6000613cf688886133f6565b9550506020613d07888289016133f6565b9450506040613d1888828901613c6a565b935050606086013567ffffffffffffffff811115613d3557600080fd5b613d41888289016134ef565b92509250509295509295909350565b600080600080600080600060a0888a031215613d6b57600080fd5b6000613d778a8a6133f6565b9750506020613d888a828b01613c6a565b965050604088013567ffffffffffffffff811115613da557600080fd5b613db18a828b016134ef565b9550955050606088013567ffffffffffffffff811115613dd057600080fd5b613ddc8a828b016134ef565b93509350506080613def8a828b016134d9565b91505092959891949750929550565b600080600080600060808688031215613e1657600080fd5b6000613e2288886133f6565b9550506020613d0788828901613c6a565b60008060408385031215613e4657600080fd5b6000613e5285856133f6565b9250506020613e6385828601613c80565b9150509250929050565b600060208284031215613e7f57600080fd5b813567ffffffffffffffff811115613e9657600080fd5b6112d68482850161347c565b600060208284031215613eb457600080fd5b60006112d684846134e4565b600080600080600060a08688031215613ed857600080fd5b6000613ee488886134e4565b9550506020613ef588828901613c5f565b9450506040613f0688828901613401565b9350506060613f1788828901613401565b9250506080613f2888828901613401565b9150509295509295909350565b600060208284031215613f4757600080fd5b815167ffffffffffffffff811115613f5e57600080fd5b6112d684828501613679565b600060c08284031215613f7c57600080fd5b60006112d684846136f8565b600060208284031215613f9a57600080fd5b813567ffffffffffffffff811115613fb157600080fd5b6112d68482850161378f565b600060608284031215613fcf57600080fd5b60006112d68484613818565b600060808284031215613fed57600080fd5b60006112d684846138ca565b60006060828403121561400b57600080fd5b60006112d6848461392d565b600060a0828403121561402957600080fd5b60006112d6848461397c565b60006020828403121561404757600080fd5b813567ffffffffffffffff81111561405e57600080fd5b6112d6848285016139ff565b60006080828403121561407c57600080fd5b60006112d68484613aa6565b60006040828403121561409a57600080fd5b60006112d68484613b09565b600060c082840312156140b857600080fd5b60006112d68484613b50565b6000602082840312156140d657600080fd5b60006112d68484613bdb565b6000604082840312156140f457600080fd5b60006112d68484613c0e565b60008060006060848603121561411557600080fd5b60006141218686613c49565b935050602061413286828701613c75565b925050604061414386828701613c75565b9150509250925092565b600080600080600080600080610100898b03121561416a57600080fd5b60006141768b8b613c5f565b98505060206141878b828c016135e3565b97505060406141988b828c016135e3565b96505060606141a98b828c01613c49565b95505060806141ba8b828c01613c75565b94505060a06141cb8b828c01613c75565b93505060c06141dc8b828c01613c75565b92505060e06141ed8b828c01613c75565b9150509295985092959890939650565b60006020828403121561420f57600080fd5b60006112d68484613c75565b6000806040838503121561422e57600080fd5b600061423a8585613c75565b9250506020613e6385828601613c75565b6000806000806060858703121561426157600080fd5b600061426d8787613c6a565b945050602061427e87828801613c6a565b935050604085013567ffffffffffffffff81111561429b57600080fd5b6142a7878288016134ef565b95989497509550505050565b60006142bf83836142e2565b505060200190565b600061144b83836148b5565b6142dc81615059565b82525050565b6142dc81614fd8565b6142f481614fc0565b6142fe8184614fca565b925061430982614fb7565b8060005b8381101561433757815161432187826142b3565b965061432c83614fba565b92505060010161430d565b505050505050565b600061434a82614fc6565b6143548185614fcf565b93508360208202850161436685614fba565b8060005b858110156143a0578484038952815161438385826142c7565b945061438e83614fba565b60209a909a019992505060010161436a565b5091979650505050505050565b6142dc81614fe8565b60006143c182614fc6565b6143cb8185614fcf565b93506143db81856020860161509c565b6143e4816150c8565b9093019392505050565b60006143f982614fc6565b6144038185614fca565b935061441381856020860161509c565b9290920192915050565b6142dc81615064565b6142dc81615017565b6142dc8161506f565b6142dc8161507a565b600061444e602383614fcf565b7f496d7065726d6178526f757465723a204e4f5f41435455414c5f424f52524f5781527f494e470000000000000000000000000000000000000000000000000000000000602082015260400192915050565b60006144ad602f83614fca565b7f6f6e455243373231526563656976656428616464726573732c6164647265737381527f2c75696e743235362c62797465732900000000000000000000000000000000006020820152602f0192915050565b600061450c602383614fcf565b7f496d7065726d6178526f757465723a20554e415554484f52495a45445f43414c81527f4c45520000000000000000000000000000000000000000000000000000000000602082015260400192915050565b600061456b601b83614fcf565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b60006145a4603483614fcf565b7f5472616e7366657248656c7065723a3a736166655472616e736665724554483a81527f20455448207472616e73666572206661696c6564000000000000000000000000602082015260400192915050565b6000614603602183614fcf565b7f496d7065726d6178526f757465723a2053454e4445525f4e4f545f524f55544581527f5200000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000614662602583614fcf565b7f496d7065726d6178526f757465723a20494e53554646494349454e545f305f4181527f4d4f554e54000000000000000000000000000000000000000000000000000000602082015260400192915050565b60006146c1601e83614fcf565b7f496d7065726d6178526f757465723a20494e4445585f544f4f5f484947480000815260200192915050565b60006146fa602483614fcf565b7f496d7065726d6178526f757465723a20494e56414c49445f46495253545f414381527f54494f4e00000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000614759601b83614fcf565b7f496d7065726d6178526f757465723a2052454445454d5f5a45524f0000000000815260200192915050565b6000614792601c83614fcf565b7f496d7065726d6178526f757465723a20554e415554484f52495a454400000000815260200192915050565b60006147cb601e83614fcf565b7f496d7065726d6178526f757465723a20494e56414c49445f414354494f4e0000815260200192915050565b6000614804602583614fcf565b7f496d7065726d6178526f757465723a20494e53554646494349454e545f315f4181527f4d4f554e54000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000614863602d83614fcf565b7f5472616e7366657248656c7065723a3a736166655472616e736665723a20747281527f616e73666572206661696c656400000000000000000000000000000000000000602082015260400192915050565b805160009060608401906148c9858261441d565b50602083015184820360208601526148e182826143b6565b9150506040830151848203604086015261049f82826143b6565b8051600090610120840190614910858261494f565b50602083015161492360c0860182614aa6565b50604083015161493660e08601826142e2565b50606083015184820361010086015261049f82826148b5565b805160c083019061496084826142e2565b50602082015161497360208501826142e2565b50604082015161498660408501826142eb565b50606082015161499960808501826142eb565b50505050565b80516000906101608401906149b4858261494f565b5060208301516149c760c08601826142e2565b5060408301516149da60e08601826142e2565b5060608301516149ee610100860182614a9d565b506080830151614a02610120860182614a9d565b5060a083015184820361014086015261049f82826148b5565b805160c0830190614a2c84826142e2565b506020820151614a3f60208501826142e2565b506040820151614a5260408501826142e2565b506060820151614a656060850182614a94565b506080820151614a786080850182614a9d565b5060a082015161499960a0850182614a9d565b6142dc8161501d565b6142dc8161504b565b6142dc81614fb7565b6142dc81615053565b600061144b82846143ee565b6000610fcc826144a0565b60208101610fcc82846142e2565b60208101610fcc82846142d3565b60608101614af082866142d3565b614afd60208301856142d3565b6112d66040830184614a9d565b60808101614b1882876142d3565b614b256020830186614a94565b614b326040830185614426565b61049f6060830184614426565b60408101614b4d82856142d3565b61144b6020830184614a9d565b60808101614b6882876142d3565b614b756020830186614a9d565b614b826040830185614a9d565b8181036060830152614b9481846143b6565b9695505050505050565b60808101614bac82876142e2565b614bb960208301866142e2565b614bc660408301856142e2565b61049f6060830184614a9d565b60608101614be182866142e2565b614bee60208301856142e2565b6112d66040830184614a94565b60a08101614c0982886142e2565b614c166020830187614426565b614c236040830186614426565b614c306060830185614a8b565b8181036080830152614c4281846143b6565b979650505050505050565b60e08101614c5b828a6142e2565b614c686020830189614426565b614c756040830188614426565b614c826060830187614a9d565b614c8f6080830186614a9d565b614c9c60a0830185614a9d565b614ca960c0830184614a9d565b98975050505050505050565b60808101614b1882876142e2565b60408101614b4d82856142e2565b6020808252810161144b818461433f565b60408082528101614cf3818561433f565b905081810360208301526112d681846148b5565b60208101610fcc82846143ad565b6020808252810161144b81846143b6565b60608101614d348286614438565b614d416020830185614a9d565b6112d660408301846142d3565b60208082528101610fcc81614441565b60208082528101610fcc816144ff565b60208082528101610fcc8161455e565b60208082528101610fcc81614597565b60208082528101610fcc816145f6565b60208082528101610fcc81614655565b60208082528101610fcc816146b4565b60208082528101610fcc816146ed565b60208082528101610fcc8161474c565b60208082528101610fcc81614785565b60208082528101610fcc816147be565b60208082528101610fcc816147f7565b60208082528101610fcc81614856565b6020808252810161144b81846148fb565b60c08101610fcc828461494f565b6020808252810161144b818461499f565b60c08101610fcc8284614a1b565b60a08101614e6a8288614a8b565b614e776020830187614a9d565b614e846040830186614a9d565b614e916060830185614a9d565b614b946080830184614a9d565b60208101610fcc8284614a94565b60208101610fcc8284614a9d565b60808101614ec88287614a9d565b614ed560208301866142d3565b614b82604083018561442f565b60808101614ef08287614a9d565b614b7560208301866142e2565b60408101614b4d8285614a9d565b60405181810167ffffffffffffffff81118282101715614f2a57600080fd5b604052919050565b600067ffffffffffffffff821115614f4957600080fd5b5060200290565b600067ffffffffffffffff821115614f6757600080fd5b5060209081020190565b600067ffffffffffffffff821115614f8857600080fd5b506020601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b90565b60200190565b50600290565b5190565b919050565b90815260200190565b6000610fcc82615032565b151590565b7fffffffff000000000000000000000000000000000000000000000000000000001690565b80614fca816150f0565b60020b90565b6fffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b62ffffff1690565b60ff1690565b6000610fcc82615085565b6000610fcc8261500d565b6000610fcc82614fb7565b6000610fcc82615053565b6000610fcc82614fd8565b82818337506000910152565b60005b838110156150b757818101518382015260200161509f565b838111156149995750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b6010811061132357fe5b61510381614fd8565b811461132357600080fd5b61510381614fe3565b6010811061132357600080fd5b61510381615017565b6151038161501d565b6151038161504b565b61510381614fb7565b6151038161505356fea365627a7a72315820b99ce1b608bcfbe3f94169c6e1e62367f1429b5e809d464c5929b157c811fbdb6c6578706572696d656e74616cf564736f6c63430005100040

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

0000000000000000000000004ff3262ba2983ee8950d9d082f03277a58bf7eb10000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f98400000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1

-----Decoded View---------------
Arg [0] : _factory (address): 0x4FF3262Ba2983Ee8950d9d082f03277a58BF7eb1
Arg [1] : _uniswapV3Factory (address): 0x1F98431c8aD98523631AE4a59f267346ea31F984
Arg [2] : _WETH (address): 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000004ff3262ba2983ee8950d9d082f03277a58bf7eb1
Arg [1] : 0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f984
Arg [2] : 00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1


Deployed Bytecode Sourcemap

88591:9730:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41449:4;;;;41435:10;:18;41428:26;;;;88591:9730;49570:358;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;49570:358:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;48829:258;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;48829:258:0;;;;;;;;:::i;:::-;;;;;;;;47287:655;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;47287:655:0;;;;;;;;:::i;88654:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;88654:31:0;;;:::i;:::-;;;;;;;;46256:1000;;;;;;;;;:::i;48073:750::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;48073:750:0;;;;;;;;:::i;49417:147::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;49417:147:0;;;;;;;;:::i;41162:19::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41162:19:0;;;:::i;41136:22::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41136:22:0;;;:::i;97111:1204::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;97111:1204:0;;;;;;;;:::i;49118:296::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;49118:296:0;;;;;;;;:::i;49570:358::-;49630:23;;:::i;:::-;49660:18;;;;;;:10;49759:7;49750:39;;;;;49759:7;;;49750:32;;:39;;49673:5;;49750:39;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49750:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49750:39:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;49750:39:0;;;;;;;;;49702:16;;;;;;49683:106;;;;49686:15;49722:19;;;49683:106;;;;;;;;;;;;49686:15;;;49683:106;49823:16;;:19;49811:45;;;;;;;:43;;;-1:-1:-1;49811:43:0;;-1:-1:-1;49811:45:0;;;;;;;;;;:43;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;49811:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49811:45:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;49811:45:0;;;;;;;;;49794:11;;;;:62;;;;;;49890:16;;;;;49794:14;49890:19;;;;49878:45;;;;;;;:43;;;;;:45;;;;;49794:14;49878:45;;;;;;:43;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;49878:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49878:45:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;49878:45:0;;;;;;;;;49861:11;;;;:62;;;;;:14;;;;:62;:11;49570:358;-1:-1:-1;49570:358:0:o;48829:258::-;48948:18;49021:60;;;;;;;;;;;;;;49007:75;;48829:258;;;;;;;;:::o;47287:655::-;47417:33;;:::i;:::-;47453:38;;;;47464:4;47453:38;;;47417:74;;47599:22;47624:58;47638:7;:12;;;:18;;;47658:7;:23;;;47624:13;:58::i;:::-;47599:83;-1:-1:-1;47695:23:0;;;47713:4;47695:23;47687:69;;;;;;;;;;;;;;;;;;;;;;47769:10;:28;;;;47761:76;;;;;;;;;;;;;;47846:91;47860:7;:12;;;47878:7;47891;:17;;;47914:7;:18;;;47846:8;:91::i;:::-;;47287:655;;;;;;;:::o;88654:31::-;;;;;;:::o;46256:1000::-;46430:11;;41187:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;41234:42:0;;;;;:14;;-1:-1:-1;41234:29:0;;-1:-1:-1;41234:42:0;;41264:11;;41234:42;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41234:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;41234:42:0;;;;46464:1;46452:9;:13;46448:69;;;46479:4;;;;;;;;;;;46473:19;;;46499:9;46473:38;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46473:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46473:38:0;;;;;46448:69;46525:31;46559:43;;;;46570:11;46559:43;;;46525:77;;46611:23;;:::i;:::-;46637:21;46652:5;46637:14;:21::i;:::-;46611:47;;46683:2;46667:7;:19;46663:360;;46698:22;46694:231;;;46737:4;:15;;;46729:37;;;46767:10;46787:4;46794:7;46729:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46729:73:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46729:73:0;;;;46694:231;;;46838:15;;;;46830:41;;;;;46875:10;;46830:55;:32;;;;:41;;46863:7;;46830:41;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46830:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46830:41:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;46830:41:0;;;;;;;;;:55;;;46822:96;;;;;;;;;;;;;;46663:360;;;46942:40;46960:7;46968:1;46960:10;;;;;;;;;;;;;;:21;;;46942:17;:40::i;:::-;47013:4;46988:29;;46663:360;47042:88;47056:4;47066:7;47079:10;47095:7;:21;47117:7;47095:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47095:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47095:30:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;47095:30:0;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;47095:30:0;;;;;;;;;47042:8;:88::i;:::-;47032:98;;47143:22;47139:113;;;47181:4;:15;;;47173:37;;;47219:4;47226:10;47238:7;47173:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47173:73:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47173:73:0;;;;47139:113;41281:1;;46256:1000;;;;;;;;:::o;48073:750::-;48190:33;;:::i;:::-;48226:38;;;;48237:4;48226:38;;;48411:12;;:18;48190:74;;-1:-1:-1;48372:22:0;;48397:33;;:13;:33::i;:::-;48372:58;-1:-1:-1;48443:23:0;;;48461:4;48443:23;48435:69;;;;;;;;;;;;;;48517:10;:28;;;;48509:76;;;;;;;;;;;;;;48594:124;48612:7;:12;;;48630:13;48649:7;:18;;;48673:7;:18;;;48697:7;:16;;;48594:12;:124::i;:::-;48727:91;48741:7;:12;;;48759:7;48772;:17;;;48795:7;:18;;;48727:8;:91::i;49417:147::-;49476:18;49529:7;;49520:39;;;;;49529:7;;;;;49520:32;;:39;;49553:5;;49520:39;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49520:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49520:39:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;49520:39:0;;;;;;;;;-1:-1:-1;49501:58:0;;49417:147;-1:-1:-1;;;;;49417:147:0:o;41162:19::-;;;;;;:::o;41136:22::-;;;;;;:::o;97111:1204::-;97220:36;;:::i;:::-;97259:41;;;;97270:4;97259:41;;;97400:16;;97426:14;;;;97442;;;;;97458:11;;;;97382:88;;;;;97220:80;;-1:-1:-1;97358:21:0;;97400:16;;;;;97382:43;;:88;;97426:14;;97442;97382:88;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;97382:88:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;97382:88:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;97382:88:0;;;;;;;;;97358:112;-1:-1:-1;97483:10:0;:27;;;;97475:75;;;;;;;;;;;;;;97559:18;97580:44;97589:11;97602:7;:21;;;97580:8;:44::i;:::-;97559:65;;97629:18;97650:44;97659:11;97672:7;:21;;;97650:8;:44::i;:::-;97629:65;;97699:16;97734:11;97718:13;:27;:61;;97778:1;97718:61;;;97762:13;97748:11;:27;97718:61;97699:80;;97784:16;97819:11;97803:13;:27;:61;;97863:1;97803:61;;;97847:13;97833:11;:27;97803:61;97784:80;-1:-1:-1;97877:15:0;;97873:115;;97926:14;;;;97942:17;;97894:94;;;;;:14;;:31;;:94;;97961:13;;97976:11;;97894:94;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;97894:94:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;97894:94:0;;;;97873:115;97997:15;;97993:115;;98046:14;;;;;98062:17;;98014:94;;;;;:14;;:31;;:94;;98046:14;;98062:17;98081:13;;98096:11;;98014:94;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;98014:94:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;98014:94:0;;;;97993:115;98117:17;;98113:96;;98136:73;98164:7;:14;;;98180:13;98195;98136:27;:73::i;:::-;98218:17;;98214:96;;98237:73;98265:7;:14;;;98281:13;98296;98237:27;:73::i;49118:296::-;49190:18;49231:1;49223:5;:9;;;49215:52;;;;;;;;;;;;;;49276:19;49329:7;;49320:39;;;;;49276:19;;49329:7;;;49320:32;;:39;;49353:5;;49320:39;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49320:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49320:39:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;49320:39:0;;;;;;;;;49272:87;;;;;;;49371:5;:10;;49380:1;49371:10;:38;;49398:11;49371:38;;;49384:11;49371:38;49364:45;;;;49118:296;;;;;:::o;94568:2343::-;94708:4;94744:22;94723:17;;:43;;;;;;;;;94719:63;;;-1:-1:-1;94775:7:0;94768:14;;94719:63;94787:32;;:::i;:::-;94833:6;:17;;;94822:47;;;;;;;;;;;;;;94787:82;-1:-1:-1;94899:29:0;94878:17;;:50;;;;;;;;;94874:1949;;;94936:41;;:::i;:::-;94991:6;:17;;;94980:59;;;;;;;;;;;;;;94936:103;;95055:98;95077:4;95088:7;:11;;;95106:7;:17;;;95130:7;:17;;;95055:15;:98::i;:::-;95045:108;;94874:1949;;;;95193:32;95172:17;;:53;;;;;;;;;95168:1655;;;95233:44;;:::i;:::-;95291:6;:17;;;95280:62;;;;;;;;;;;;;;95233:109;;95348:197;95373:4;95384:7;95398:9;95414:7;:17;;;95438:7;:19;;;95464:7;:19;;;95490:7;:21;;;95518:7;:21;;;95348:18;:197::i;:::-;95168:1655;;;;95585:23;95564:17;;:44;;;;;;;;;95560:1263;;;95616:36;;:::i;:::-;95666:6;:17;;;95655:54;;;;;;;;;;;;;;95616:93;;95715:165;95732:4;95743:7;95757:9;95773:7;:22;;;95802:7;:22;;;95831:7;:18;;;95856:7;:18;;;95715:10;:165::i;95560:1263::-;95920:25;95899:17;;:46;;;;;;;;;95895:928;;;95953:38;;:::i;:::-;96005:6;:17;;;95994:56;;;;;;;;;;;;;;95953:97;;96056:173;96080:4;96091:7;96105:9;96121:7;:18;;;96146:7;:18;;;96171:7;:18;;;96196:7;:10;;;96213;96056:17;:173::i;:::-;96242:7;96235:14;;;;;;95895:928;96289:34;96268:17;;:55;;;;;;;;;96264:559;;;96331:45;;:::i;:::-;96390:6;:17;;;96379:63;;;;;;;;;;;;;;96331:111;;96448:31;96482:210;96508:4;96519:7;96533;:19;;;96559:7;:19;;;96585:7;:22;;;96614:7;:22;;;96643:7;:18;;;96668:7;:18;;;96482:19;:210::i;:::-;96711:42;;;;;96448:244;;-1:-1:-1;96711:7:0;;:21;;:42;;96448:244;;96742:10;;96711:42;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;96711:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;96711:42:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;96711:42:0;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;96711:42:0;;;;;;;;;96698:55;;96264:559;;;;;96775:48;96790:4;96796:7;96805:9;96816:6;96775:14;:48::i;:::-;96768:55;;;;;96264:559;96839:67;96853:4;96863:7;96876:9;96891:10;96839:8;:67::i;:::-;96832:74;;;94568:2343;;;;;;;:::o;96917:163::-;97005:29;96991:10;:43;;;;;;;;;96983:92;;;;;;;;;;;;;;96917:163;:::o;92445:399::-;92592:12;92606;92650:4;:10;;;92622:46;;;92669:2;92673:13;92622:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;92622:65:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;92622:65:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;92622:65:0;;;;;;;;;92591:96;;;;92711:10;92700:7;:21;;92692:71;;;;;;;;;;;;;;92787:10;92776:7;:21;;92768:71;;;;;;;;;;;;;;92445:399;;;;;;;:::o;3270:96::-;3322:6;3349:1;3345;:5;:13;;3357:1;3345:13;;;3353:1;3345:13;3341:17;3270:96;-1:-1:-1;;;3270:96:0:o;11263:449::-;11449:12;11463:17;11484:5;:10;;11518;11530:2;11534:5;11495:45;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;11495:45:0;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;11495:45:0;11484:57;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;11448:93:0;;;;11574:7;:57;;;;-1:-1:-1;11586:11:0;;:16;;:44;;;11617:4;11606:24;;;;;;;;;;;;;;11552:152;;;;;;;;;;;;;;11263:449;;;;;:::o;89103:314::-;89290:10;;89307:15;;;;89262:88;;;;;89233:12;;89262:44;;;;;:88;;89307:15;89324:3;;89329:9;;89340;;89262:88;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;89262:88:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89262:88:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;89262:88:0;;;;;;;;;89367:15;;;;89355:57;;;;;89252:98;;-1:-1:-1;89355:33:0;;;;;:57;;89397:4;;89252:98;;89355:57;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;89355:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89355:57:0;;;;89103:314;;;;;;:::o;89420:1729::-;89725:10;;89697:58;;;;;89644:10;;;;;;89697:49;;;;;:58;;89747:7;;89697:58;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;89697:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89697:58:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;89697:58:0;;;;;;;;;89643:112;;;;;;;;;;;89760:21;89812:4;:10;;;89784:47;;;89832:3;89784:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;89784:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89784:52:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;89784:52:0;;;;;;;;;90022:4;;90004:11;;;;:14;89760:76;;-1:-1:-1;89992:9:0;;90022:4;90004:22;;;90022:4;;90004:22;:65;;90051:4;;90033:11;;;;:14;;;90051:4;90033:22;;;90051:4;;90033:22;:36;;90067:2;90033:36;;;90062:1;90033:36;90004:65;;;90029:1;90004:65;89992:77;;90078:5;90087:2;90078:11;90074:559;;90125:4;;90118:37;;;;;90097:18;;90125:4;;;90118:22;;:37;;90149:4;;90118:37;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;90118:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;90118:37:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;90118:37:0;;;;;;;;;90097:58;-1:-1:-1;90165:10:0;;:43;;;;;90195:13;90179;:29;90165:43;90161:231;;;90217:19;90239:30;:11;90255:13;90239:30;:15;:30;:::i;:::-;90217:52;;90292:39;90301:14;90317:13;90292:8;:39::i;:::-;90276:55;-1:-1:-1;90352:33:0;:14;90276:55;90352:33;:18;:33;:::i;:::-;90338:47;;90161:231;;90401:5;90410:1;90401:10;:43;;;;;90431:13;90415;:29;90401:43;90397:231;;;90453:19;90475:30;:11;90491:13;90475:30;:15;:30;:::i;:::-;90453:52;;90528:39;90537:14;90553:13;90528:8;:39::i;:::-;90512:55;-1:-1:-1;90588:33:0;:14;90512:55;90588:33;:18;:33;:::i;:::-;90574:47;;90397:231;;90074:559;;90639:20;90673:192;;;;;;;;90712:9;90673:192;;;;;;90735:4;:11;;;90747:1;90735:14;;;;;;;;;;;90673:192;;;;;;90763:4;:11;;;90775:1;90763:14;;;;;;;;;;;90673:192;;;;;;90788:3;90673:192;;;;;;90812:13;90673:192;;;;90846:13;90673:192;;;90662:204;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;90662:204:0;;;90639:227;;90886:13;90871:34;;;90906:4;:10;;;90918:9;90929;90940;90951:7;90871:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;90871:88:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;90871:88:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;90871:88:0;;;;;;;;;-1:-1:-1;;91015:10:0;;90987:86;;;;;90968:16;;90987:44;;;;;:86;;91040:4;;91047:3;;91052:9;;91063;;90987:86;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;90987:86:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;90987:86:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;90987:86:0;;;;;;;;;90968:105;;91106:4;:10;;;91078:44;;;91123:7;91132:11;91078:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;91078:66:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;91078:66:0;;;;89420:1729;;;;;;;;;;;;;;;:::o;91152:707::-;91481:10;;91453:58;;;;;91400:10;;;;;;91453:49;;;;;:58;;91503:7;;91453:58;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;91453:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;91453:58:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;91453:58:0;;;;;;;;;91399:112;;;;;;;;;;;91516:21;91568:4;:10;;;91540:47;;;91588:3;91540:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;91540:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;91540:52:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;91540:52:0;;;;;;;;;91516:76;;91598:17;91617:12;91631;91647:13;:30;91678:13;91693:9;91704;91715:14;91731;91747:10;91759;91647:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;91647:123:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;91647:123:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;91647:123:0;;;;;;;;;91597:173;;;;;;91775:79;91794:4;91800:7;91809:9;91820;91831:7;91840;91849:1;91852;91775:18;:79::i;91865:577::-;92110:1;92097:10;:14;92089:54;;;;;;;;;;;;;;92148:20;92182:169;;;;;;;;92213:4;92182:169;;;;92234:9;92182:169;;;;;;92259:2;92182:169;;;;;;92279:10;92182:169;;;;92307:10;92182:169;;;;92335:10;92182:169;;;92171:181;;;;;;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;92171:181:0;;;;49:4:-1;92369:15:0;;;92357:80;;;92171:181;;-1:-1:-1;92357:35:0;;;;;:80;;92401:4;;92408:7;;92417:10;;92171:181;;92357:80;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;92357:80:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;92357:80:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;92357:80:0;;;;;;;;92883:1657;93274:25;93306:17;93334:10;93346:15;93363;93415:4;:10;;;93387:49;;;93437:7;93387:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;93387:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;93387:58:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;93387:58:0;;;;;;;;;93333:112;;;;;;;;;;;93450:21;93502:4;:10;;;93474:47;;;93522:3;93474:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;93474:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;93474:52:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;93474:52:0;;;;;;;;;93450:76;;93563:13;:30;93594:13;93609:9;93620;93631:7;93640;93649:10;93661;93563:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;93563:109:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;93563:109:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;93563:109:0;;;;;;;;;93531:141;;-1:-1:-1;93531:141:0;-1:-1:-1;93531:141:0;-1:-1:-1;93683:18:0;;-1:-1:-1;93683:18:0;;-1:-1:-1;;;93731:21:0;;;:49;;93779:1;93731:49;;;93765:11;93755:7;:21;93731:49;93796:11;93786:7;:21;:49;;93834:1;93786:49;;;93820:11;93810:7;:21;93786:49;93682:158;;;;93871:1;93855:13;:17;:38;;;;93892:1;93876:13;:17;93855:38;93847:86;;;;;;;;;;;;;;93958:1;93942:13;:17;:38;;;;;93979:1;93963:13;:17;93942:38;93938:452;;;93992:23;;;94013:1;93992:23;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;94030:56:0;;;;;93988:27;;-1:-1:-1;94030:7:0;;:23;;:56;;94054:1;;94057:13;;94080:4;;94030:56;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94030:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94030:56:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;94030:56:0;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;94030:56:0;;;;;;;;;94023:1;94025;94023:4;;;;;;;;;;;;;;;;;:63;94099:56;;;;;:7;;:23;;:56;;94123:1;;94126:13;;94149:4;;94099:56;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94099:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94099:56:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;94099:56:0;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;94099:56:0;;;;;;;;;94092:1;94094;94092:4;;;;;;;;;;;;;:63;;;;93938:452;;;94177:23;;;94198:1;94177:23;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;94173:27:0;-1:-1:-1;94210:17:0;;94206:86;;94236:56;;;;;:7;;:23;;:56;;94260:1;;94263:13;;94286:4;;94236:56;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94236:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94236:56:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;94236:56:0;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;94236:56:0;;;;;;;;;94229:1;94231;94229:4;;;;;;;;;;;;;:63;;;;94206:86;94302:17;;94298:86;;94328:56;;;;;:7;;:23;;:56;;94352:1;;94355:13;;94378:4;;94328:56;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94328:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94328:56:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;94328:56:0;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;94328:56:0;;;;;;;;;94321:1;94323;94321:4;;;;;;;;;;;;;:63;;;;94298:86;94410:125;;;;;:7;;:34;;:125;;94445:9;;94456:23;;;;94481;;;;94466:13;;94491;;94410:125;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94410:125:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94410:125:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;94410:125:0;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;94410:125:0;;;;;;;;;94394:1;94405;94396;:8;:10;94394:13;;;;;;;;;;;;;:141;;;;92883:1657;;;;;;;;;;;;;:::o;44375:1783::-;44515:4;44551:22;44530:17;;:43;;;;;;;;;44526:63;;;-1:-1:-1;44582:7:0;44575:14;;44526:63;44594:32;;:::i;:::-;44640:6;:17;;;44629:47;;;;;;;;;;;;;;44594:82;-1:-1:-1;44706:19:0;44685:17;;:40;;;;;;;;;44681:1389;;;44733:33;;:::i;:::-;44780:6;:17;;;44769:51;;;;;;;;;;;;;;44733:87;;44826:129;44840:4;44851:7;:13;;;44871:7;44885:9;44901:7;:14;;;44922:7;:10;;;44939;44826:7;:129::i;:::-;44965:10;;;;:27;;44987:4;44965:27;44961:47;;;45001:7;44994:14;;;;;;44681:1389;45048:23;45027:17;;:44;;;;;;;;;45023:1047;;;45079:36;;:::i;:::-;45129:6;:17;;;45118:54;;;;;;;;;;;;;;45079:93;;45178:101;45195:4;45206:7;:13;;;45226:7;45240:9;45256:7;:17;;;45178:10;:101::i;45023:1047::-;45319:25;45298:17;;:46;;;;;;;;;45294:776;;;45352:38;;:::i;:::-;45404:6;:17;;;45393:56;;;;;;;;;;;;;;45352:97;;45455:110;45474:4;45485:7;:13;;;45505:7;45519;:17;;;45543:7;:16;;;45455:12;:110::i;45294:776::-;45605:27;45584:17;;:48;;;;;;;;;45580:490;;;45640:40;;:::i;:::-;45694:6;:17;;;45683:58;;;;;;;;;;;;;;45640:101;;45747:57;45768:7;:13;;;45788:7;:10;;;45747:14;:57::i;45580:490::-;45844:25;45823:17;;:46;;;;;;;;;45819:251;;;45877:38;;:::i;:::-;45929:6;:17;;;45918:56;;;;;;;;;;;;;;45877:97;;45980:35;45999:7;:10;;;45980:12;:35::i;45819:251::-;46030:40;;;;;;;;;;;4927:181;4985:7;5017:5;;;5041:6;;;;5033:46;;;;;;;;;;;;;5820:137;5878:7;5905:44;5909:1;5912;5905:44;;;;;;;;;;;;;;;;;:3;:44::i;41902:526::-;42088:20;42136:22;42111:21;;:47;;;;;;;;;:70;;;-1:-1:-1;42162:19:0;;;42176:4;42162:19;;42111:70;:233;;42215:128;;;;;;;;42247:4;42215:128;;;;42275:5;42215:128;;;;;;42298:9;42215:128;;;;;;42326:10;42215:128;;;42204:140;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;42204:140:0;;;42111:233;;;42188:9;;;;;;;;;;;;42111:233;42088:256;;42361:4;:16;;;42378:5;42361:23;;;;;;;;;;;;;42349:43;;;42393:7;42402:2;42406:6;42414:7;42349:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42349:73:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42349:73:0;;;;41902:526;;;;;;;;:::o;42688:455::-;42828:18;42849:4;:16;;;42866:5;42849:23;;;;;;;;;;;;;42828:44;;42877:16;42896:44;42909:10;42921:7;42930:9;42896:12;:44::i;:::-;42877:63;-1:-1:-1;42949:16:0;42945:29;;42967:7;;;;42945:29;42978:14;:31;43010:4;:11;;;43022:5;43010:18;;;;;;;;;;;;;43030:9;43041:10;43053:11;42978:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42978:87:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;43125:12:0;;;43118:1;43125:12;;;;;;;;;;43070:68;;;;:30;;;;-1:-1:-1;43070:30:0;;-1:-1:-1;43070:68:0;;43101:7;;43118:1;;43070:68;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43070:68:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43070:68:0;;;;42688:455;;;;;;;:::o;43146:722::-;43287:18;43308:4;:16;;;43325:5;43308:23;;;;;;;;;;;;;43287:44;;43336:18;43364:4;:11;;;43376:5;43364:18;;;;;;;;;;;;;43357:36;;;43402:4;43357:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43357:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43357:51:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;43357:51:0;;;;;;;;;43336:72;;43425:34;43434:9;43445:13;43425:8;:34::i;:::-;43413:46;;43464:16;43483:44;43496:10;43508:7;43517:9;43483:12;:44::i;:::-;43464:63;;43552:11;43536:13;:27;:56;;;;-1:-1:-1;43567:25:0;;;43587:4;43567:25;;43536:56;43532:148;;;43594:86;43622:4;:11;;;43634:5;43622:18;;;;;;;;;;;;;43642:8;43668:11;43652:13;:27;43594;:86::i;:::-;43689:16;43685:29;;43707:7;;;;;43685:29;43718:72;43746:4;:11;;;43758:5;43746:18;;;;;;;;;;;;;43766:10;43778:11;43718:27;:72::i;:::-;43850:12;;;43843:1;43850:12;;;;;;;;;;43795:68;;;;:30;;;;;;:68;;43826:7;;43843:1;;43795:68;;;;;43874:220;43970:38;;;;;43949:18;;43970:23;;;;;;:38;;44002:4;;43970:38;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43970:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43970:38:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;43970:38:0;;;;;;;;;43949:59;-1:-1:-1;44017:17:0;;44013:76;;44036:53;44064:5;44071:2;44075:13;44036:27;:53::i;:::-;43874:220;;;:::o;44100:247::-;44183:4;;44176:37;;;;;44155:18;;44183:4;;;44176:22;;:37;;44207:4;;44176:37;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44176:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44176:37:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;44176:37:0;;;;;;;;;44155:58;-1:-1:-1;44222:18:0;44218:31;;44242:7;;;44218:31;44259:4;;44253:35;;;;;44259:4;;;;;44253:20;;:35;;44274:13;;44253:35;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44253:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44253:35:0;;;;44293:49;44324:2;44328:13;44293:30;:49::i;:::-;44100:247;;:::o;6246:192::-;6332:7;6368:12;6360:6;;;;6352:29;;;;;;;;;;;;;;;-1:-1:-1;;;6404:5:0;;;6246:192::o;42433:252::-;42537:11;42556:19;42590:10;42578:44;;;42623:7;42578:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42578:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42578:53:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;42578:53:0;;;;;;;;;42556:75;;42645:35;42654:9;42665:14;42645:8;:35::i;12226:216::-;12338:12;;;12299;12338;;;;;;;;;12317:7;;;;12331:5;;12317:34;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;12298:53:0;;;12370:7;12362:72;;;;;;;;;;;;;88591:9730;;;;;;;;;-1:-1:-1;88591:9730:0;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;88591:9730:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;88591:9730:0;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;88591:9730:0;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;88591:9730:0;;;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;88591:9730:0;;;:::o;:::-;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;-1:-1;88591:9730:0;;;-1:-1:-1;;88591:9730:0:o;5:130:-1:-;72:20;;97:33;72:20;97:33;;142:134;220:13;;238:33;220:13;238:33;;302:608;;413:3;406:4;398:6;394:17;390:27;380:2;;431:1;428;421:12;380:2;455:4;474:74;489:58;540:6;489:58;;;474:74;;;465:83;;565:5;624:6;671:3;663:4;655:6;651:17;646:3;642:27;639:36;636:2;;;688:1;685;678:12;636:2;713:1;698:206;723:6;720:1;717:13;698:206;;;781:3;803:37;836:3;824:10;803:37;;;791:50;;-1:-1;864:4;855:14;;;;883;;;;;745:1;738:9;698:206;;;702:14;373:537;;;;;;;;950:730;;1083:3;1076:4;1068:6;1064:17;1060:27;1050:2;;1101:1;1098;1091:12;1050:2;1138:6;1125:20;1160:96;1175:80;1248:6;1175:80;;1160:96;1284:21;;;1328:4;1316:17;;;;1151:105;;-1:-1;1341:14;;1316:17;1436:1;1421:253;1446:6;1443:1;1440:13;1421:253;;;1529:3;1516:17;1508:6;1504:30;1553:57;1606:3;1594:10;1553:57;;;1541:70;;-1:-1;1634:4;1625:14;;;;1653;;;;;1468:1;1461:9;1421:253;;1688:124;1752:20;;1777:30;1752:20;1777:30;;1819:128;1894:13;;1912:30;1894:13;1912:30;;1968:336;;;2082:3;2075:4;2067:6;2063:17;2059:27;2049:2;;2100:1;2097;2090:12;2049:2;-1:-1;2120:20;;2160:18;2149:30;;2146:2;;;2192:1;2189;2182:12;2146:2;2226:4;2218:6;2214:17;2202:29;;2277:3;2269:4;2261:6;2257:17;2247:8;2243:32;2240:41;2237:2;;;2294:1;2291;2284:12;2237:2;2042:262;;;;;;2313:432;;2410:3;2403:4;2395:6;2391:17;2387:27;2377:2;;2428:1;2425;2418:12;2377:2;2465:6;2452:20;2487:60;2502:44;2539:6;2502:44;;2487:60;2478:69;;2567:6;2560:5;2553:21;2603:4;2595:6;2591:17;2636:4;2629:5;2625:16;2671:3;2662:6;2657:3;2653:16;2650:25;2647:2;;;2688:1;2685;2678:12;2647:2;2698:41;2732:6;2727:3;2722;2698:41;;;2370:375;;;;;;;;2754:434;;2862:3;2855:4;2847:6;2843:17;2839:27;2829:2;;2880:1;2877;2870:12;2829:2;2910:6;2904:13;2932:60;2947:44;2984:6;2947:44;;2932:60;2923:69;;3012:6;3005:5;2998:21;3048:4;3040:6;3036:17;3081:4;3074:5;3070:16;3116:3;3107:6;3102:3;3098:16;3095:25;3092:2;;;3133:1;3130;3123:12;3092:2;3143:39;3175:6;3170:3;3165;3143:39;;3196:148;3272:20;;3297:42;3272:20;3297:42;;3351:152;3438:13;;3456:42;3438:13;3456:42;;3510:130;3586:13;;3604:31;3586:13;3604:31;;3675:815;;3784:4;3772:9;3767:3;3763:19;3759:30;3756:2;;;3802:1;3799;3792:12;3756:2;3820:20;3835:4;3820:20;;;3811:29;-1:-1;3896:1;3928:58;3982:3;3962:9;3928:58;;;3903:84;;-1:-1;4082:2;4067:18;;4054:32;4106:18;4095:30;;4092:2;;;4138:1;4135;4128:12;4092:2;4173:54;4223:3;4214:6;4203:9;4199:22;4173:54;;;4166:4;4159:5;4155:16;4148:80;4008:231;4323:2;4312:9;4308:18;4295:32;4347:18;4339:6;4336:30;4333:2;;;4379:1;4376;4369:12;4333:2;4414:54;4464:3;4455:6;4444:9;4440:22;4414:54;;;4407:4;4400:5;4396:16;4389:80;4249:231;3750:740;;;;;4525:845;;4645:4;4633:9;4628:3;4624:19;4620:30;4617:2;;;4663:1;4660;4653:12;4617:2;4681:20;4696:4;4681:20;;;4672:29;-1:-1;4757:1;4789:69;4854:3;4834:9;4789:69;;;4764:95;;-1:-1;4947:2;4932:18;;4926:25;4971:18;4960:30;;4957:2;;;5003:1;5000;4993:12;4957:2;5038:65;5099:3;5090:6;5079:9;5075:22;5038:65;;;5031:4;5024:5;5020:16;5013:91;4880:235;5192:2;5181:9;5177:18;5171:25;5216:18;5208:6;5205:30;5202:2;;;5248:1;5245;5238:12;5202:2;5283:65;5344:3;5335:6;5324:9;5320:22;5283:65;;6305:1179;;6441:4;6429:9;6424:3;6420:19;6416:30;6413:2;;;6459:1;6456;6449:12;6413:2;6477:20;6492:4;6477:20;;;6468:29;-1:-1;6554:1;6586:60;6642:3;6622:9;6586:60;;;6561:86;;-1:-1;6715:2;6748:60;6804:3;6780:22;;;6748:60;;;6741:4;6734:5;6730:16;6723:86;6668:152;6880:2;6913:60;6969:3;6960:6;6949:9;6945:22;6913:60;;;6906:4;6899:5;6895:16;6888:86;6830:155;7045:2;7078:60;7134:3;7125:6;7114:9;7110:22;7078:60;;;7071:4;7064:5;7060:16;7053:86;6995:155;7206:3;7240:60;7296:3;7287:6;7276:9;7272:22;7240:60;;;7233:4;7226:5;7222:16;7215:86;7160:152;7368:3;7402:60;7458:3;7449:6;7438:9;7434:22;7402:60;;;7395:4;7388:5;7384:16;7377:86;7322:152;6407:1077;;;;;7546:917;;7667:6;7655:9;7650:3;7646:19;7642:32;7639:2;;;7687:1;7684;7677:12;7639:2;7705:20;7720:4;7705:20;;;7696:29;-1:-1;7775:1;7807:73;7876:3;7856:9;7807:73;;;7782:99;;-1:-1;7953:3;7987:47;8030:3;8006:22;;;7987:47;;;7980:4;7973:5;7969:16;7962:73;7902:144;8101:3;8135:49;8180:3;8171:6;8160:9;8156:22;8135:49;;;8128:4;8121:5;8117:16;8110:75;8056:140;8280:3;8269:9;8265:19;8252:33;8305:18;8297:6;8294:30;8291:2;;;8337:1;8334;8327:12;8291:2;8372:69;8437:3;8428:6;8417:9;8413:22;8372:69;;;8365:4;8358:5;8354:16;8347:95;8206:247;7633:830;;;;;8502:653;;8626:4;8614:9;8609:3;8605:19;8601:30;8598:2;;;8644:1;8641;8634:12;8598:2;8662:20;8677:4;8662:20;;;8653:29;-1:-1;8733:1;8765:58;8819:3;8799:9;8765:58;;;8740:84;;-1:-1;8887:2;8920:60;8976:3;8952:22;;;8920:60;;;8913:4;8906:5;8902:16;8895:86;8845:147;9040:2;9073:60;9129:3;9120:6;9109:9;9105:22;9073:60;;9203:809;;9316:4;9304:9;9299:3;9295:19;9291:30;9288:2;;;9334:1;9331;9324:12;9288:2;9352:20;9367:4;9352:20;;;9343:29;-1:-1;9423:1;9455:49;9500:3;9480:9;9455:49;;;9430:75;;-1:-1;9572:2;9605:49;9650:3;9626:22;;;9605:49;;;9598:4;9591:5;9587:16;9580:75;9526:140;9723:2;9756:68;9820:3;9811:6;9800:9;9796:22;9756:68;;;9749:4;9742:5;9738:16;9731:94;9676:160;9888:3;9922:68;9986:3;9977:6;9966:9;9962:22;9922:68;;10054:844;;10181:4;10169:9;10164:3;10160:19;10156:30;10153:2;;;10199:1;10196;10189:12;10153:2;10217:20;10232:4;10217:20;;;10208:29;-1:-1;10297:1;10329:60;10385:3;10365:9;10329:60;;;10304:86;;-1:-1;10461:2;10494:60;10550:3;10526:22;;;10494:60;;;10487:4;10480:5;10476:16;10469:86;10411:155;10622:2;10655:60;10711:3;10702:6;10691:9;10687:22;10655:60;;;10648:4;10641:5;10637:16;10630:86;10576:151;10783:2;10816:60;10872:3;10863:6;10852:9;10848:22;10816:60;;10945:666;;11077:4;11065:9;11060:3;11056:19;11052:30;11049:2;;;11095:1;11092;11085:12;11049:2;11113:20;11128:4;11113:20;;;11104:29;-1:-1;11182:1;11214:59;11269:3;11249:9;11214:59;;;11189:85;;-1:-1;11340:2;11373:58;11427:3;11403:22;;;11373:58;;;11366:4;11359:5;11355:16;11348:84;11295:148;11498:2;11531:58;11585:3;11576:6;11565:9;11561:22;11531:58;;11661:1013;;11796:4;11784:9;11779:3;11775:19;11771:30;11768:2;;;11814:1;11811;11804:12;11768:2;11832:20;11847:4;11832:20;;;11823:29;-1:-1;11907:1;11939:60;11995:3;11975:9;11939:60;;;11914:86;;-1:-1;12068:2;12101:60;12157:3;12133:22;;;12101:60;;;12094:4;12087:5;12083:16;12076:86;12021:152;12230:2;12263:60;12319:3;12310:6;12299:9;12295:22;12263:60;;;12256:4;12249:5;12245:16;12238:86;12183:152;12394:2;12427:60;12483:3;12474:6;12463:9;12459:22;12427:60;;;12420:4;12413:5;12409:16;12402:86;12345:154;12558:3;12592:60;12648:3;12639:6;12628:9;12624:22;12592:60;;;12585:4;12578:5;12574:16;12567:86;12509:155;11762:912;;;;;12736:1214;;12857:6;12845:9;12840:3;12836:19;12832:32;12829:2;;;12877:1;12874;12867:12;12829:2;12895:20;12910:4;12895:20;;;12886:29;-1:-1;12965:1;12997:73;13066:3;13046:9;12997:73;;;12972:99;;-1:-1;13137:3;13171:49;13216:3;13192:22;;;13171:49;;;13164:4;13157:5;13153:16;13146:75;13092:140;13286:3;13320:49;13365:3;13356:6;13345:9;13341:22;13320:49;;;13313:4;13306:5;13302:16;13295:75;13242:139;13437:3;13471:49;13516:3;13507:6;13496:9;13492:22;13471:49;;;13464:4;13457:5;13453:16;13446:75;13391:141;13588:3;13622:49;13667:3;13658:6;13647:9;13643:22;13622:49;;;13615:4;13608:5;13604:16;13597:75;13542:141;13767:3;13756:9;13752:19;13739:33;13792:18;13784:6;13781:30;13778:2;;;13824:1;13821;13814:12;13778:2;13859:69;13924:3;13915:6;13904:9;13900:22;13859:69;;13994:830;;14123:4;14111:9;14106:3;14102:19;14098:30;14095:2;;;14141:1;14138;14131:12;14095:2;14159:20;14174:4;14159:20;;;14150:29;-1:-1;14235:1;14267:60;14323:3;14303:9;14267:60;;;14242:86;;-1:-1;14395:2;14428:60;14484:3;14460:22;;;14428:60;;;14421:4;14414:5;14410:16;14403:86;14349:151;14556:2;14589:60;14645:3;14636:6;14625:9;14621:22;14589:60;;;14582:4;14575:5;14571:16;14564:86;14510:151;14709:2;14742:60;14798:3;14789:6;14778:9;14774:22;14742:60;;15577:506;;15704:4;15692:9;15687:3;15683:19;15679:30;15676:2;;;15722:1;15719;15712:12;15676:2;15740:20;15755:4;15740:20;;;15731:29;-1:-1;15811:1;15843:58;15897:3;15877:9;15843:58;;;15818:84;;-1:-1;15968:2;16001:60;16057:3;16033:22;;;16001:60;;;15994:4;15987:5;15983:16;15976:86;15923:150;15670:413;;;;;16149:1080;;16273:4;16261:9;16256:3;16252:19;16248:30;16245:2;;;16291:1;16288;16281:12;16245:2;16309:20;16324:4;16309:20;;;16300:29;-1:-1;16384:1;16416:49;16461:3;16441:9;16416:49;;;16391:75;;-1:-1;16529:2;16562:49;16607:3;16583:22;;;16562:49;;;16555:4;16548:5;16544:16;16537:75;16487:136;16675:2;16708:49;16753:3;16744:6;16733:9;16729:22;16708:49;;;16701:4;16694:5;16690:16;16683:75;16633:136;16818:2;16851:48;16895:3;16886:6;16875:9;16871:22;16851:48;;;16844:4;16837:5;16833:16;16826:74;16779:132;16970:3;17004:49;17049:3;17040:6;17029:9;17025:22;17004:49;;;16997:4;16990:5;16986:16;16979:75;16921:144;17124:3;17158:49;17203:3;17194:6;17183:9;17179:22;17158:49;;17273:347;;17402:4;17390:9;17385:3;17381:19;17377:30;17374:2;;;17420:1;17417;17410:12;17374:2;17438:20;17453:4;17438:20;;;17429:29;-1:-1;17506:1;17538:60;17594:3;17574:9;17538:60;;;17513:86;;-1:-1;17524:5;17368:252;-1:-1;;17368:252;17666:505;;17797:4;17785:9;17780:3;17776:19;17772:30;17769:2;;;17815:1;17812;17805:12;17769:2;17833:20;17848:4;17833:20;;;17824:29;-1:-1;17904:1;17936:60;17992:3;17972:9;17936:60;;;17911:86;;-1:-1;18056:2;18089:60;18145:3;18121:22;;;18089:60;;18178:134;18256:13;;18274:33;18256:13;18274:33;;18319:128;18385:20;;18410:32;18385:20;18410:32;;18454:132;18531:13;;18549:32;18531:13;18549:32;;18593:130;18660:20;;18685:33;18660:20;18685:33;;18730:134;18808:13;;18826:33;18808:13;18826:33;;18871:126;18936:20;;18961:31;18936:20;18961:31;;19004:130;19080:13;;19098:31;19080:13;19098:31;;19141:241;;19245:2;19233:9;19224:7;19220:23;19216:32;19213:2;;;19261:1;19258;19251:12;19213:2;19296:1;19313:53;19358:7;19338:9;19313:53;;19389:263;;19504:2;19492:9;19483:7;19479:23;19475:32;19472:2;;;19520:1;19517;19510:12;19472:2;19555:1;19572:64;19628:7;19608:9;19572:64;;19659:741;;;;;;19833:3;19821:9;19812:7;19808:23;19804:33;19801:2;;;19850:1;19847;19840:12;19801:2;19885:1;19902:53;19947:7;19927:9;19902:53;;;19892:63;;19864:97;19992:2;20010:53;20055:7;20046:6;20035:9;20031:22;20010:53;;;20000:63;;19971:98;20100:2;20118:53;20163:7;20154:6;20143:9;20139:22;20118:53;;;20108:63;;20079:98;20236:2;20225:9;20221:18;20208:32;20260:18;20252:6;20249:30;20246:2;;;20292:1;20289;20282:12;20246:2;20320:64;20376:7;20367:6;20356:9;20352:22;20320:64;;;20310:74;;;;20187:203;19795:605;;;;;;;;;20407:985;;;;;;;;20614:3;20602:9;20593:7;20589:23;20585:33;20582:2;;;20631:1;20628;20621:12;20582:2;20666:1;20683:53;20728:7;20708:9;20683:53;;;20673:63;;20645:97;20773:2;20791:53;20836:7;20827:6;20816:9;20812:22;20791:53;;;20781:63;;20752:98;20909:2;20898:9;20894:18;20881:32;20933:18;20925:6;20922:30;20919:2;;;20965:1;20962;20955:12;20919:2;20993:64;21049:7;21040:6;21029:9;21025:22;20993:64;;;20983:74;;;;20860:203;21122:2;21111:9;21107:18;21094:32;21146:18;21138:6;21135:30;21132:2;;;21178:1;21175;21168:12;21132:2;21206:64;21262:7;21253:6;21242:9;21238:22;21206:64;;;21196:74;;;;21073:203;21307:3;21326:50;21368:7;21359:6;21348:9;21344:22;21326:50;;;21316:60;;21286:96;20576:816;;;;;;;;;;;21399:741;;;;;;21573:3;21561:9;21552:7;21548:23;21544:33;21541:2;;;21590:1;21587;21580:12;21541:2;21625:1;21642:53;21687:7;21667:9;21642:53;;;21632:63;;21604:97;21732:2;21750:53;21795:7;21786:6;21775:9;21771:22;21750:53;;22147:362;;;22266:2;22254:9;22245:7;22241:23;22237:32;22234:2;;;22282:1;22279;22272:12;22234:2;22317:1;22334:53;22379:7;22359:9;22334:53;;;22324:63;;22296:97;22424:2;22442:51;22485:7;22476:6;22465:9;22461:22;22442:51;;;22432:61;;22403:96;22228:281;;;;;;22516:409;;22661:2;22649:9;22640:7;22636:23;22632:32;22629:2;;;22677:1;22674;22667:12;22629:2;22712:31;;22763:18;22752:30;;22749:2;;;22795:1;22792;22785:12;22749:2;22815:94;22901:7;22892:6;22881:9;22877:22;22815:94;;22932:257;;23044:2;23032:9;23023:7;23019:23;23015:32;23012:2;;;23060:1;23057;23050:12;23012:2;23095:1;23112:61;23165:7;23145:9;23112:61;;23196:801;;;;;;23375:3;23363:9;23354:7;23350:23;23346:33;23343:2;;;23392:1;23389;23382:12;23343:2;23427:1;23444:61;23497:7;23477:9;23444:61;;;23434:71;;23406:105;23542:2;23560:63;23615:7;23606:6;23595:9;23591:22;23560:63;;;23550:73;;23521:108;23660:2;23678:64;23734:7;23725:6;23714:9;23710:22;23678:64;;;23668:74;;23639:109;23779:2;23797:64;23853:7;23844:6;23833:9;23829:22;23797:64;;;23787:74;;23758:109;23898:3;23917:64;23973:7;23964:6;23953:9;23949:22;23917:64;;;23907:74;;23877:110;23337:660;;;;;;;;;24004:382;;24139:2;24127:9;24118:7;24114:23;24110:32;24107:2;;;24155:1;24152;24145:12;24107:2;24190:24;;24234:18;24223:30;;24220:2;;;24266:1;24263;24256:12;24220:2;24286:84;24362:7;24353:6;24342:9;24338:22;24286:84;;24790:336;;24941:3;24929:9;24920:7;24916:23;24912:33;24909:2;;;24958:1;24955;24948:12;24909:2;24993:1;25010:100;25102:7;25082:9;25010:100;;25133:391;;25269:2;25257:9;25248:7;25244:23;25240:32;25237:2;;;25285:1;25282;25275:12;25237:2;25320:31;;25371:18;25360:30;;25357:2;;;25403:1;25400;25393:12;25357:2;25423:85;25500:7;25491:6;25480:9;25476:22;25423:85;;25531:311;;25670:2;25658:9;25649:7;25645:23;25641:32;25638:2;;;25686:1;25683;25676:12;25638:2;25721:1;25738:88;25818:7;25798:9;25738:88;;25849:318;;25991:3;25979:9;25970:7;25966:23;25962:33;25959:2;;;26008:1;26005;25998:12;25959:2;26043:1;26060:91;26143:7;26123:9;26060:91;;26174:327;;26321:2;26309:9;26300:7;26296:23;26292:32;26289:2;;;26337:1;26334;26327:12;26289:2;26372:1;26389:96;26477:7;26457:9;26389:96;;26508:334;;26658:3;26646:9;26637:7;26633:23;26629:33;26626:2;;;26675:1;26672;26665:12;26626:2;26710:1;26727:99;26818:7;26798:9;26727:99;;26849:391;;26985:2;26973:9;26964:7;26960:23;26956:32;26953:2;;;27001:1;26998;26991:12;26953:2;27036:31;;27087:18;27076:30;;27073:2;;;27119:1;27116;27109:12;27073:2;27139:85;27216:7;27207:6;27196:9;27192:22;27139:85;;27247:322;;27391:3;27379:9;27370:7;27366:23;27362:33;27359:2;;;27408:1;27405;27398:12;27359:2;27443:1;27460:93;27545:7;27525:9;27460:93;;27904:317;;28046:2;28034:9;28025:7;28021:23;28017:32;28014:2;;;28062:1;28059;28052:12;28014:2;28097:1;28114:91;28197:7;28177:9;28114:91;;28228:312;;28367:3;28355:9;28346:7;28342:23;28338:33;28335:2;;;28384:1;28381;28374:12;28335:2;28419:1;28436:88;28516:7;28496:9;28436:88;;28547:321;;28691:2;28679:9;28670:7;28666:23;28662:32;28659:2;;;28707:1;28704;28697:12;28659:2;28742:1;28759:93;28844:7;28824:9;28759:93;;28875:325;;29021:2;29009:9;29000:7;28996:23;28992:32;28989:2;;;29037:1;29034;29027:12;28989:2;29072:1;29089:95;29176:7;29156:9;29089:95;;29207:535;;;;29356:2;29344:9;29335:7;29331:23;29327:32;29324:2;;;29372:1;29369;29362:12;29324:2;29407:1;29424:64;29480:7;29460:9;29424:64;;;29414:74;;29386:108;29525:2;29543:64;29599:7;29590:6;29579:9;29575:22;29543:64;;;29533:74;;29504:109;29644:2;29662:64;29718:7;29709:6;29698:9;29694:22;29662:64;;;29652:74;;29623:109;29318:424;;;;;;29749:1210;;;;;;;;;29978:3;29966:9;29957:7;29953:23;29949:33;29946:2;;;29995:1;29992;29985:12;29946:2;30030:1;30047:63;30102:7;30082:9;30047:63;;;30037:73;;30009:107;30147:2;30165:62;30219:7;30210:6;30199:9;30195:22;30165:62;;;30155:72;;30126:107;30264:2;30282:62;30336:7;30327:6;30316:9;30312:22;30282:62;;;30272:72;;30243:107;30381:2;30399:64;30455:7;30446:6;30435:9;30431:22;30399:64;;;30389:74;;30360:109;30500:3;30519:64;30575:7;30566:6;30555:9;30551:22;30519:64;;;30509:74;;30479:110;30620:3;30639:64;30695:7;30686:6;30675:9;30671:22;30639:64;;;30629:74;;30599:110;30740:3;30759:64;30815:7;30806:6;30795:9;30791:22;30759:64;;;30749:74;;30719:110;30860:3;30879:64;30935:7;30926:6;30915:9;30911:22;30879:64;;;30869:74;;30839:110;29940:1019;;;;;;;;;;;;30966:263;;31081:2;31069:9;31060:7;31056:23;31052:32;31049:2;;;31097:1;31094;31087:12;31049:2;31132:1;31149:64;31205:7;31185:9;31149:64;;31236:399;;;31368:2;31356:9;31347:7;31343:23;31339:32;31336:2;;;31384:1;31381;31374:12;31336:2;31419:1;31436:64;31492:7;31472:9;31436:64;;;31426:74;;31398:108;31537:2;31555:64;31611:7;31602:6;31591:9;31587:22;31555:64;;31642:615;;;;;31799:2;31787:9;31778:7;31774:23;31770:32;31767:2;;;31815:1;31812;31805:12;31767:2;31850:1;31867:53;31912:7;31892:9;31867:53;;;31857:63;;31829:97;31957:2;31975:53;32020:7;32011:6;32000:9;31996:22;31975:53;;;31965:63;;31936:98;32093:2;32082:9;32078:18;32065:32;32117:18;32109:6;32106:30;32103:2;;;32149:1;32146;32139:12;32103:2;32177:64;32233:7;32224:6;32213:9;32209:22;32177:64;;;31761:496;;;;-1:-1;32167:74;-1:-1;;;;31761:496;32265:173;;32352:46;32394:3;32386:6;32352:46;;;-1:-1;;32427:4;32418:14;;32345:93;32447:253;;32596:98;32690:3;32682:6;32596:98;;32708:142;32799:45;32838:5;32799:45;;;32794:3;32787:58;32781:69;;;33014:103;33087:24;33105:5;33087:24;;33405:624;33524:48;33566:5;33524:48;;;33585:74;33652:6;33647:3;33585:74;;;33578:81;;33680:50;33724:5;33680:50;;;33750:7;33778:1;33763:254;33788:6;33785:1;33782:13;33763:254;;;33855:6;33849:13;33876:63;33935:3;33920:13;33876:63;;;33869:70;;33956:54;34003:6;33956:54;;;33946:64;-1:-1;;33810:1;33803:9;33763:254;;;33767:14;33503:526;;;;;;34096:1032;;34289:74;34357:5;34289:74;;;34376:114;34483:6;34478:3;34376:114;;;34369:121;;34513:3;34555:4;34547:6;34543:17;34538:3;34534:27;34582:76;34652:5;34582:76;;;34678:7;34706:1;34691:398;34716:6;34713:1;34710:13;34691:398;;;34778:9;34772:4;34768:20;34763:3;34756:33;34823:6;34817:13;34845:112;34952:4;34937:13;34845:112;;;34837:120;;34974:80;35047:6;34974:80;;;35077:4;35068:14;;;;;34964:90;-1:-1;;34738:1;34731:9;34691:398;;;-1:-1;35102:4;;34268:860;-1:-1;;;;;;;34268:860;35136:110;35217:23;35234:5;35217:23;;35253:343;;35363:38;35395:5;35363:38;;;35413:70;35476:6;35471:3;35413:70;;;35406:77;;35488:52;35533:6;35528:3;35521:4;35514:5;35510:16;35488:52;;;35561:29;35583:6;35561:29;;;35552:39;;;;35343:253;-1:-1;;;35343:253;35969:356;;36097:38;36129:5;36097:38;;;36147:88;36228:6;36223:3;36147:88;;;36140:95;;36240:52;36285:6;36280:3;36273:4;36266:5;36262:16;36240:52;;;36304:16;;;;;36077:248;-1:-1;;36077:248;37689:130;37769:44;37807:5;37769:44;;37971:107;38050:22;38066:5;38050:22;;38207:142;38298:45;38337:5;38298:45;;38356:146;38453:43;38490:5;38453:43;;39017:372;;39177:67;39241:2;39236:3;39177:67;;;39277:34;39257:55;;39346:5;39341:2;39332:12;;39325:27;39380:2;39371:12;;39163:226;-1:-1;;39163:226;39398:420;;39576:85;39658:2;39653:3;39576:85;;;39694:34;39674:55;;39763:17;39758:2;39749:12;;39742:39;39809:2;39800:12;;39562:256;-1:-1;;39562:256;39827:372;;39987:67;40051:2;40046:3;39987:67;;;40087:34;40067:55;;40156:5;40151:2;40142:12;;40135:27;40190:2;40181:12;;39973:226;-1:-1;;39973:226;40208:327;;40368:67;40432:2;40427:3;40368:67;;;40468:29;40448:50;;40526:2;40517:12;;40354:181;-1:-1;;40354:181;40544:389;;40704:67;40768:2;40763:3;40704:67;;;40804:34;40784:55;;40873:22;40868:2;40859:12;;40852:44;40924:2;40915:12;;40690:243;-1:-1;;40690:243;40942:370;;41102:67;41166:2;41161:3;41102:67;;;41202:34;41182:55;;41271:3;41266:2;41257:12;;41250:25;41303:2;41294:12;;41088:224;-1:-1;;41088:224;41321:374;;41481:67;41545:2;41540:3;41481:67;;;41581:34;41561:55;;41650:7;41645:2;41636:12;;41629:29;41686:2;41677:12;;41467:228;-1:-1;;41467:228;41704:330;;41864:67;41928:2;41923:3;41864:67;;;41964:32;41944:53;;42025:2;42016:12;;41850:184;-1:-1;;41850:184;42043:373;;42203:67;42267:2;42262:3;42203:67;;;42303:34;42283:55;;42372:6;42367:2;42358:12;;42351:28;42407:2;42398:12;;42189:227;-1:-1;;42189:227;42425:327;;42585:67;42649:2;42644:3;42585:67;;;42685:29;42665:50;;42743:2;42734:12;;42571:181;-1:-1;;42571:181;42761:328;;42921:67;42985:2;42980:3;42921:67;;;43021:30;43001:51;;43080:2;43071:12;;42907:182;-1:-1;;42907:182;43098:330;;43258:67;43322:2;43317:3;43258:67;;;43358:32;43338:53;;43419:2;43410:12;;43244:184;-1:-1;;43244:184;43437:374;;43597:67;43661:2;43656:3;43597:67;;;43697:34;43677:55;;43766:7;43761:2;43752:12;;43745:29;43802:2;43793:12;;43583:228;-1:-1;;43583:228;43820:382;;43980:67;44044:2;44039:3;43980:67;;;44080:34;44060:55;;44149:15;44144:2;44135:12;;44128:37;44193:2;44184:12;;43966:236;-1:-1;;43966:236;44263:844;44492:23;;44263:844;;44420:4;44411:14;;;44521:78;44415:3;44492:23;44521:78;;;44440:165;44684:4;44677:5;44673:16;44667:23;44736:3;44730:4;44726:14;44719:4;44714:3;44710:14;44703:38;44756:75;44826:4;44812:12;44756:75;;;44748:83;;44615:228;44922:4;44915:5;44911:16;44905:23;44974:3;44968:4;44964:14;44957:4;44952:3;44948:14;44941:38;44994:75;45064:4;45050:12;44994:75;;46969:995;47206:23;;46969:995;;47138:6;47129:16;;;47235:115;47133:3;47206:23;47235:115;;;47160:196;47440:4;47433:5;47429:16;47423:23;47452:59;47505:4;47500:3;47496:14;47482:12;47452:59;;;47366:151;47595:4;47588:5;47584:16;47578:23;47607:63;47664:4;47659:3;47655:14;47641:12;47607:63;;;47527:149;47755:4;47748:5;47744:16;47738:23;47809:3;47803:4;47799:14;47790:6;47785:3;47781:16;47774:40;47829:97;47921:4;47907:12;47829:97;;48050:890;48266:23;;48199:4;48190:14;;;48295:63;48194:3;48266:23;48295:63;;;48219:145;48443:4;48436:5;48432:16;48426:23;48455:63;48512:4;48507:3;48503:14;48489:12;48455:63;;;48374:150;48604:4;48597:5;48593:16;48587:23;48616:105;48715:4;48710:3;48706:14;48692:12;48616:105;;;48534:193;48802:4;48795:5;48791:16;48785:23;48814:105;48913:4;48908:3;48904:14;48890:12;48814:105;;;48737:188;48172:768;;;;50016:1316;50253:23;;50016:1316;;50185:6;50176:16;;;50282:115;50180:3;50253:23;50282:115;;;50207:196;50481:4;50474:5;50470:16;50464:23;50493:63;50550:4;50545:3;50541:14;50527:12;50493:63;;;50413:149;50639:4;50632:5;50628:16;50622:23;50651:63;50708:4;50703:3;50699:14;50685:12;50651:63;;;50572:148;50799:4;50792:5;50788:16;50782:23;50811:65;50868:6;50863:3;50859:16;50845:12;50811:65;;;50730:152;50961:4;50954:5;50950:16;50944:23;50973:65;51030:6;51025:3;51021:16;51007:12;50973:65;;;50892:152;51123:4;51116:5;51112:16;51106:23;51177:3;51171:4;51167:14;51158:6;51153:3;51149:16;51142:40;51197:97;51289:4;51275:12;51197:97;;51454:1140;51692:23;;51621:4;51612:14;;;51721:63;51616:3;51692:23;51721:63;;;51641:149;51865:4;51858:5;51854:16;51848:23;51877:63;51934:4;51929:3;51925:14;51911:12;51877:63;;;51800:146;52021:4;52014:5;52010:16;52004:23;52033:63;52090:4;52085:3;52081:14;52067:12;52033:63;;;51956:146;52174:4;52167:5;52163:16;52157:23;52186:61;52241:4;52236:3;52232:14;52218:12;52186:61;;;52112:141;52335:4;52328:5;52324:16;52318:23;52347:63;52404:4;52399:3;52395:14;52381:12;52347:63;;;52263:153;52498:4;52491:5;52487:16;52481:23;52510:63;52567:4;52562:3;52558:14;52544:12;52510:63;;52601:113;52684:24;52702:5;52684:24;;52849:100;52920:23;52937:5;52920:23;;53073:103;53146:24;53164:5;53146:24;;53431:97;53500:22;53516:5;53500:22;;53535:254;;53675:89;53760:3;53751:6;53675:89;;54065:372;;54264:148;54408:3;54264:148;;54444:213;54562:2;54547:18;;54576:71;54551:9;54620:6;54576:71;;54664:229;54790:2;54775:18;;54804:79;54779:9;54856:6;54804:79;;54900:467;55090:2;55075:18;;55104:79;55079:9;55156:6;55104:79;;;55194:80;55270:2;55259:9;55255:18;55246:6;55194:80;;;55285:72;55353:2;55342:9;55338:18;55329:6;55285:72;;55374:543;55574:3;55559:19;;55589:79;55563:9;55641:6;55589:79;;;55679:70;55745:2;55734:9;55730:18;55721:6;55679:70;;;55760:68;55824:2;55813:9;55809:18;55800:6;55760:68;;;55839;55903:2;55892:9;55888:18;55879:6;55839:68;;55924:340;56078:2;56063:18;;56092:79;56067:9;56144:6;56092:79;;;56182:72;56250:2;56239:9;56235:18;56226:6;56182:72;;56271:647;56499:3;56484:19;;56514:79;56488:9;56566:6;56514:79;;;56604:72;56672:2;56661:9;56657:18;56648:6;56604:72;;;56687;56755:2;56744:9;56740:18;56731:6;56687:72;;;56807:9;56801:4;56797:20;56792:2;56781:9;56777:18;56770:48;56832:76;56903:4;56894:6;56832:76;;;56824:84;56470:448;-1:-1;;;;;;56470:448;56925:587;57135:3;57120:19;;57150:79;57124:9;57202:6;57150:79;;;57240:80;57316:2;57305:9;57301:18;57292:6;57240:80;;;57331;57407:2;57396:9;57392:18;57383:6;57331:80;;;57422;57498:2;57487:9;57483:18;57474:6;57422:80;;57519:431;57691:2;57676:18;;57705:71;57680:9;57749:6;57705:71;;;57787:72;57855:2;57844:9;57840:18;57831:6;57787:72;;;57870:70;57936:2;57925:9;57921:18;57912:6;57870:70;;57957:727;58197:3;58182:19;;58212:71;58186:9;58256:6;58212:71;;;58294:68;58358:2;58347:9;58343:18;58334:6;58294:68;;;58373;58437:2;58426:9;58422:18;58413:6;58373:68;;;58452:72;58520:2;58509:9;58505:18;58496:6;58452:72;;;58573:9;58567:4;58563:20;58557:3;58546:9;58542:19;58535:49;58598:76;58669:4;58660:6;58598:76;;;58590:84;58168:516;-1:-1;;;;;;;58168:516;58691:931;58977:3;58962:19;;58992:79;58966:9;59044:6;58992:79;;;59082:76;59154:2;59143:9;59139:18;59130:6;59082:76;;;59169;59241:2;59230:9;59226:18;59217:6;59169:76;;;59256:80;59332:2;59321:9;59317:18;59308:6;59256:80;;;59347:81;59423:3;59412:9;59408:19;59399:6;59347:81;;;59439;59515:3;59504:9;59500:19;59491:6;59439:81;;;59531;59607:3;59596:9;59592:19;59583:6;59531:81;;;58948:674;;;;;;;;;;;59629:527;59821:3;59806:19;;59836:71;59810:9;59880:6;59836:71;;60163:324;60309:2;60294:18;;60323:71;60298:9;60367:6;60323:71;;60494:457;60710:2;60724:47;;;60695:18;;60785:156;60695:18;60927:6;60785:156;;60958:720;61250:2;61264:47;;;61235:18;;61325:156;61235:18;61467:6;61325:156;;;61317:164;;61529:9;61523:4;61519:20;61514:2;61503:9;61499:18;61492:48;61554:114;61663:4;61654:6;61554:114;;61685:209;61801:2;61786:18;;61815:69;61790:9;61857:6;61815:69;;61901:313;62045:2;62059:47;;;62030:18;;62120:84;62030:18;62190:6;62120:84;;62221:495;62417:2;62402:18;;62431:85;62406:9;62489:6;62431:85;;;62527:80;62603:2;62592:9;62588:18;62579:6;62527:80;;;62618:88;62702:2;62691:9;62687:18;62678:6;62618:88;;63533:407;63724:2;63738:47;;;63709:18;;63799:131;63709:18;63799:131;;63947:407;64138:2;64152:47;;;64123:18;;64213:131;64123:18;64213:131;;64361:407;64552:2;64566:47;;;64537:18;;64627:131;64537:18;64627:131;;64775:407;64966:2;64980:47;;;64951:18;;65041:131;64951:18;65041:131;;65189:407;65380:2;65394:47;;;65365:18;;65455:131;65365:18;65455:131;;65603:407;65794:2;65808:47;;;65779:18;;65869:131;65779:18;65869:131;;66017:407;66208:2;66222:47;;;66193:18;;66283:131;66193:18;66283:131;;66431:407;66622:2;66636:47;;;66607:18;;66697:131;66607:18;66697:131;;66845:407;67036:2;67050:47;;;67021:18;;67111:131;67021:18;67111:131;;67259:407;67450:2;67464:47;;;67435:18;;67525:131;67435:18;67525:131;;67673:407;67864:2;67878:47;;;67849:18;;67939:131;67849:18;67939:131;;68087:407;68278:2;68292:47;;;68263:18;;68353:131;68263:18;68353:131;;68501:407;68692:2;68706:47;;;68677:18;;68767:131;68677:18;68767:131;;68915:397;69101:2;69115:47;;;69086:18;;69176:126;69086:18;69288:6;69176:126;;69319:326;69493:3;69478:19;;69508:127;69482:9;69608:6;69508:127;;69652:397;69838:2;69852:47;;;69823:18;;69913:126;69823:18;70025:6;69913:126;;70056:362;70248:3;70233:19;;70263:145;70237:9;70381:6;70263:145;;70425:707;70663:3;70648:19;;70678:79;70652:9;70730:6;70678:79;;;70768:80;70844:2;70833:9;70829:18;70820:6;70768:80;;;70859;70935:2;70924:9;70920:18;70911:6;70859:80;;;70950;71026:2;71015:9;71011:18;71002:6;70950:80;;;71041:81;71117:3;71106:9;71102:19;71093:6;71041:81;;71139:209;71255:2;71240:18;;71269:69;71244:9;71311:6;71269:69;;71355:213;71473:2;71458:18;;71487:71;71462:9;71531:6;71487:71;;71575:655;71807:3;71792:19;;71822:71;71796:9;71866:6;71822:71;;;71904:80;71980:2;71969:9;71965:18;71956:6;71904:80;;;71995;72071:2;72060:9;72056:18;72047:6;71995:80;;72237:631;72457:3;72442:19;;72472:71;72446:9;72516:6;72472:71;;;72554:72;72622:2;72611:9;72607:18;72598:6;72554:72;;72875:324;73021:2;73006:18;;73035:71;73010:9;73079:6;73035:71;;73206:256;73268:2;73262:9;73294:17;;;73369:18;73354:34;;73390:22;;;73351:62;73348:2;;;73426:1;73423;73416:12;73348:2;73442;73435:22;73246:216;;-1:-1;73246:216;73469:240;;73622:18;73614:6;73611:30;73608:2;;;73654:1;73651;73644:12;73608:2;-1:-1;73689:4;73677:17;;73545:164;73716:320;;73891:18;73883:6;73880:30;73877:2;;;73923:1;73920;73913:12;73877:2;-1:-1;73958:4;73946:17;;;74011:15;;73814:222;74043:317;;74182:18;74174:6;74171:30;74168:2;;;74214:1;74211;74204:12;74168:2;-1:-1;74345:4;74281;74258:17;;;;74277:9;74254:33;74335:15;;74105:255;74367:93;74447:3;74433:27;74467:171;74611:4;74602:14;;74559:79;74645:104;-1:-1;74735:4;;74713:36;74756:157;74879:12;;74850:63;75546:130;75667:3;75645:31;-1:-1;75645:31;75685:206;75831:19;;;75880:4;75871:14;;75824:67;77058:91;;77120:24;77138:5;77120:24;;77156:85;77222:13;77215:21;;77198:43;77248:144;77320:66;77309:78;;77292:100;77399:124;77470:5;77476:42;77470:5;77476:42;;77530:85;77601:1;77590:20;;77573:42;77622:113;77695:34;77684:46;;77667:68;77742:121;77815:42;77804:54;;77787:76;77870:86;77942:8;77931:20;;77914:42;78042:81;78113:4;78102:16;;78085:38;78130:129;;78217:37;78248:5;78217:37;;78266:124;;78352:33;78379:5;78352:33;;78397:116;;78484:24;78502:5;78484:24;;78520:112;;78605:22;78621:5;78605:22;;78758:121;;78837:37;78868:5;78837:37;;79002:145;79083:6;79078:3;79073;79060:30;-1:-1;79139:1;79121:16;;79114:27;79053:94;79156:268;79221:1;79228:101;79242:6;79239:1;79236:13;79228:101;;;79309:11;;;79303:18;79290:11;;;79283:39;79264:2;79257:10;79228:101;;;79344:6;79341:1;79338:13;79335:2;;;-1:-1;;79409:1;79391:16;;79384:27;79205:219;79432:97;79520:2;79500:14;79516:7;79496:28;;79480:49;79537:101;79615:2;79608:5;79605:13;79595:2;;79622:9;79645:117;79714:24;79732:5;79714:24;;;79707:5;79704:35;79694:2;;79753:1;79750;79743:12;79769:111;79835:21;79850:5;79835:21;;79887:104;79965:2;79958:5;79955:13;79945:2;;79982:1;79979;79972:12;79998:113;80065:22;80081:5;80065:22;;80118:117;80187:24;80205:5;80187:24;;80242:115;80310:23;80327:5;80310:23;;80364:117;80433:24;80451:5;80433:24;;80488:113;80555:22;80571:5;80555:22;

Swarm Source

bzzr://b99ce1b608bcfbe3f94169c6e1e62367f1429b5e809d464c5929b157c811fbdb

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.