FTM Price: $0.629709 (-0.25%)
Gas: 41 GWei
 

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Value
Create Decrease ...669636632023-08-14 3:14:23307 days ago1691982863IN
0x26e6C476...71dA5e607
0.25 FTM0.0062193517.95208408
Create Decrease ...665965552023-08-04 1:33:38317 days ago1691112818IN
0x26e6C476...71dA5e607
0.25 FTM0.0208714560.24133075
Create Decrease ...664961312023-07-31 23:28:28320 days ago1690846108IN
0x26e6C476...71dA5e607
0.25 FTM0.0091372926.3738359
Create Decrease ...659445762023-07-17 8:52:55335 days ago1689583975IN
0x26e6C476...71dA5e607
0.25 FTM0.16950023478
Create Decrease ...658134132023-07-14 22:03:03337 days ago1689372183IN
0x26e6C476...71dA5e607
0.36021258 FTM0.21138449562
Create Decrease ...658131342023-07-14 21:58:18337 days ago1689371898IN
0x26e6C476...71dA5e607
0.36021258 FTM0.19689764551
Create Decrease ...657983382023-07-14 18:05:50337 days ago1689357950IN
0x26e6C476...71dA5e607
0.51011554 FTM0.24339692702.45232731
Create Decrease ...657648712023-07-14 9:36:58338 days ago1689327418IN
0x26e6C476...71dA5e607
0.25 FTM2.104736275,772.85370413
Create Decrease ...657434012023-07-14 1:36:55338 days ago1689298615IN
0x26e6C476...71dA5e607
0.25 FTM0.03918865113.11032766
Create Decrease ...657219522023-07-13 18:56:36338 days ago1689274596IN
0x26e6C476...71dA5e607
0.25 FTM0.11772883339.82264303
Create Decrease ...657120862023-07-13 15:38:08339 days ago1689262688IN
0x26e6C476...71dA5e607
0.25 FTM0.03882468106.48482414
Create Decrease ...656541052023-07-12 15:35:09340 days ago1689176109IN
0x26e6C476...71dA5e607
1.22569761 FTM0.574153551,656.92272907
Create Decrease ...656212222023-07-12 1:57:01340 days ago1689127021IN
0x26e6C476...71dA5e607
0.25 FTM0.04378159126.36329938
Create Decrease ...655496442023-07-10 22:43:12341 days ago1689028992IN
0x26e6C476...71dA5e607
2.49443433 FTM1.243190463,588.12050002
Create Decrease ...655418692023-07-10 20:35:37341 days ago1689021337IN
0x26e6C476...71dA5e607
1.03957304 FTM0.49015271,414.64335792
Create Decrease ...655386822023-07-10 19:37:10341 days ago1689017830IN
0x26e6C476...71dA5e607
1.0920482 FTM0.80437142,334.71225547
Create Decrease ...655198382023-07-10 14:35:27342 days ago1688999727IN
0x26e6C476...71dA5e607
0.33490053 FTM0.16777265460.12382733
Set Max Global S...655181382023-07-10 14:06:02342 days ago1688997962IN
0x26e6C476...71dA5e607
0 FTM0.02937868465.79605806
Create Increase ...654745012023-07-10 0:34:33342 days ago1688949273IN
0x26e6C476...71dA5e607
1,800.25 FTM0.10279978282.58079313
Create Decrease ...654707912023-07-09 23:21:01342 days ago1688944861IN
0x26e6C476...71dA5e607
0.96343983 FTM0.11089971304.17483382
Create Decrease ...654514682023-07-09 16:47:55342 days ago1688921275IN
0x26e6C476...71dA5e607
0.27625577 FTM0.578460821,669.61308236
Set Max Global S...654319682023-07-09 11:07:01343 days ago1688900821IN
0x26e6C476...71dA5e607
0 FTM0.02379455458.18682577
Set Max Global S...654319182023-07-09 11:06:01343 days ago1688900761IN
0x26e6C476...71dA5e607
0 FTM0.02530246462.2974261
Set Max Global S...654315852023-07-09 11:00:04343 days ago1688900404IN
0x26e6C476...71dA5e607
0 FTM0.02796911463.67893052
Create Decrease ...653909742023-07-08 20:59:36343 days ago1688849976IN
0x26e6C476...71dA5e607
1.52081069 FTM0.741620932,049.5032031
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To Value
669636692023-08-14 3:14:38307 days ago1691982878
0x26e6C476...71dA5e607
0.25 FTM
669636692023-08-14 3:14:38307 days ago1691982878
0x26e6C476...71dA5e607
0.25 FTM
669636632023-08-14 3:14:23307 days ago1691982863
0x26e6C476...71dA5e607
0.25 FTM
665965852023-08-04 1:34:54317 days ago1691112894
0x26e6C476...71dA5e607
0.25 FTM
665965852023-08-04 1:34:54317 days ago1691112894
0x26e6C476...71dA5e607
0.25 FTM
665965552023-08-04 1:33:38317 days ago1691112818
0x26e6C476...71dA5e607
0.25 FTM
664961342023-07-31 23:28:34320 days ago1690846114
0x26e6C476...71dA5e607
0.25 FTM
664961342023-07-31 23:28:34320 days ago1690846114
0x26e6C476...71dA5e607
0.25 FTM
664961312023-07-31 23:28:28320 days ago1690846108
0x26e6C476...71dA5e607
0.25 FTM
659445832023-07-17 8:53:08335 days ago1689583988
0x26e6C476...71dA5e607
0.25 FTM
659445832023-07-17 8:53:08335 days ago1689583988
0x26e6C476...71dA5e607
0.25 FTM
659445832023-07-17 8:53:08335 days ago1689583988
0x26e6C476...71dA5e607
586.73770116 FTM
659445832023-07-17 8:53:08335 days ago1689583988
0x26e6C476...71dA5e607
586.73770116 FTM
659445762023-07-17 8:52:55335 days ago1689583975
0x26e6C476...71dA5e607
0.25 FTM
658134172023-07-14 22:03:06337 days ago1689372186
0x26e6C476...71dA5e607
0.36021258 FTM
658134172023-07-14 22:03:06337 days ago1689372186
0x26e6C476...71dA5e607
0.36021258 FTM
658134132023-07-14 22:03:03337 days ago1689372183
0x26e6C476...71dA5e607
0.36021258 FTM
658131402023-07-14 21:58:24337 days ago1689371904
0x26e6C476...71dA5e607
0.36021258 FTM
658131402023-07-14 21:58:24337 days ago1689371904
0x26e6C476...71dA5e607
0.36021258 FTM
658131342023-07-14 21:58:18337 days ago1689371898
0x26e6C476...71dA5e607
0.36021258 FTM
657983392023-07-14 18:05:53337 days ago1689357953
0x26e6C476...71dA5e607
0.51011554 FTM
657983392023-07-14 18:05:53337 days ago1689357953
0x26e6C476...71dA5e607
0.51011554 FTM
657983382023-07-14 18:05:50337 days ago1689357950
0x26e6C476...71dA5e607
0.51011554 FTM
657648752023-07-14 9:37:01338 days ago1689327421
0x26e6C476...71dA5e607
0.25 FTM
657648752023-07-14 9:37:01338 days ago1689327421
0x26e6C476...71dA5e607
0.25 FTM
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PositionRouter

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at ftmscan.com on 2023-03-04
*/

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

// File contracts/access/Governable.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

contract Governable {
    address public gov;

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

    modifier onlyGov() {
        require(msg.sender == gov, "Governable: forbidden");
        _;
    }

    function setGov(address _gov) external onlyGov {
        gov = _gov;
    }
}


// File contracts/libraries/token/IERC20.sol



pragma solidity 0.6.12;

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

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

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

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

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

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

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

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


// File contracts/libraries/utils/Address.sol



pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File contracts/libraries/math/SafeMath.sol



pragma solidity 0.6.12;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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


// File contracts/libraries/token/SafeERC20.sol



pragma solidity 0.6.12;
/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

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

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

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

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

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

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

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


// File contracts/tokens/interfaces/IWETH.sol


pragma solidity 0.6.12;

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


// File contracts/libraries/utils/ReentrancyGuard.sol



pragma solidity 0.6.12;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}


// File contracts/core/interfaces/IShortsTracker.sol



pragma solidity 0.6.12;

interface IShortsTracker {
    function isGlobalShortDataReady() external view returns (bool);
    function globalShortAveragePrices(address _token) external view returns (uint256);
    function getNextGlobalShortData(
        address _account,
        address _collateralToken,
        address _indexToken,
        uint256 _nextPrice,
        uint256 _sizeDelta,
        bool _isIncrease
    ) external view returns (uint256, uint256);
    function updateGlobalShortData(
        address _account,
        address _collateralToken,
        address _indexToken,
        bool _isLong,
        uint256 _sizeDelta,
        uint256 _markPrice,
        bool _isIncrease
    ) external;
    function setIsGlobalShortDataReady(bool value) external;
    function setInitData(address[] calldata _tokens, uint256[] calldata _averagePrices) external;
}


// File contracts/core/interfaces/IRouter.sol



pragma solidity 0.6.12;

interface IRouter {
    function addPlugin(address _plugin) external;
    function pluginTransfer(address _token, address _account, address _receiver, uint256 _amount) external;
    function pluginIncreasePosition(address _account, address _collateralToken, address _indexToken, uint256 _sizeDelta, bool _isLong) external;
    function pluginDecreasePosition(address _account, address _collateralToken, address _indexToken, uint256 _collateralDelta, uint256 _sizeDelta, bool _isLong, address _receiver) external returns (uint256);
    function swap(address[] memory _path, uint256 _amountIn, uint256 _minOut, address _receiver) external;
}


// File contracts/core/interfaces/IOrderBook.sol



pragma solidity 0.6.12;

interface IOrderBook {
	function getSwapOrder(address _account, uint256 _orderIndex) external view returns (
        address path0, 
        address path1,
        address path2,
        uint256 amountIn,
        uint256 minOut,
        uint256 triggerRatio,
        bool triggerAboveThreshold,
        bool shouldUnwrap,
        uint256 executionFee
    );

    function getIncreaseOrder(address _account, uint256 _orderIndex) external view returns (
        address purchaseToken, 
        uint256 purchaseTokenAmount,
        address collateralToken,
        address indexToken,
        uint256 sizeDelta,
        bool isLong,
        uint256 triggerPrice,
        bool triggerAboveThreshold,
        uint256 executionFee
    );

    function getDecreaseOrder(address _account, uint256 _orderIndex) external view returns (
        address collateralToken,
        uint256 collateralDelta,
        address indexToken,
        uint256 sizeDelta,
        bool isLong,
        uint256 triggerPrice,
        bool triggerAboveThreshold,
        uint256 executionFee
    );

    function executeSwapOrder(address, uint256, address payable) external;
    function executeDecreaseOrder(address, uint256, address payable) external;
    function executeIncreaseOrder(address, uint256, address payable) external;
}


// File contracts/core/interfaces/IBasePositionManager.sol



pragma solidity 0.6.12;

interface IBasePositionManager {
    function maxGlobalLongSizes(address _token) external view returns (uint256);
    function maxGlobalShortSizes(address _token) external view returns (uint256);
}


// File contracts/core/interfaces/IVaultUtils.sol



pragma solidity 0.6.12;

interface IVaultUtils {
    function updateCumulativeFundingRate(address _collateralToken, address _indexToken) external returns (bool);
    function validateIncreasePosition(address _account, address _collateralToken, address _indexToken, uint256 _sizeDelta, bool _isLong) external view;
    function validateDecreasePosition(address _account, address _collateralToken, address _indexToken, uint256 _collateralDelta, uint256 _sizeDelta, bool _isLong, address _receiver) external view;
    function validateLiquidation(address _account, address _collateralToken, address _indexToken, bool _isLong, bool _raise) external view returns (uint256, uint256);
    function getEntryFundingRate(address _collateralToken, address _indexToken, bool _isLong) external view returns (uint256);
    function getPositionFee(address _account, address _collateralToken, address _indexToken, bool _isLong, uint256 _sizeDelta) external view returns (uint256);
    function getFundingFee(address _account, address _collateralToken, address _indexToken, bool _isLong, uint256 _size, uint256 _entryFundingRate) external view returns (uint256);
    function getBuyUsdgFeeBasisPoints(address _token, uint256 _usdgAmount) external view returns (uint256);
    function getSellUsdgFeeBasisPoints(address _token, uint256 _usdgAmount) external view returns (uint256);
    function getSwapFeeBasisPoints(address _tokenIn, address _tokenOut, uint256 _usdgAmount) external view returns (uint256);
    function getFeeBasisPoints(address _token, uint256 _usdgDelta, uint256 _feeBasisPoints, uint256 _taxBasisPoints, bool _increment) external view returns (uint256);
}


// File contracts/core/interfaces/IVault.sol



pragma solidity 0.6.12;
interface IVault {
    function isInitialized() external view returns (bool);
    function isSwapEnabled() external view returns (bool);
    function isLeverageEnabled() external view returns (bool);

    function setVaultUtils(IVaultUtils _vaultUtils) external;
    function setError(uint256 _errorCode, string calldata _error) external;

    function router() external view returns (address);
    function usdg() external view returns (address);
    function gov() external view returns (address);

    function whitelistedTokenCount() external view returns (uint256);
    function maxLeverage() external view returns (uint256);

    function minProfitTime() external view returns (uint256);
    function hasDynamicFees() external view returns (bool);
    function fundingInterval() external view returns (uint256);
    function totalTokenWeights() external view returns (uint256);
    function getTargetUsdgAmount(address _token) external view returns (uint256);

    function inManagerMode() external view returns (bool);
    function inPrivateLiquidationMode() external view returns (bool);

    function maxGasPrice() external view returns (uint256);

    function approvedRouters(address _account, address _router) external view returns (bool);
    function isLiquidator(address _account) external view returns (bool);
    function isManager(address _account) external view returns (bool);

    function minProfitBasisPoints(address _token) external view returns (uint256);
    function tokenBalances(address _token) external view returns (uint256);
    function lastFundingTimes(address _token) external view returns (uint256);

    function setMaxLeverage(uint256 _maxLeverage) external;
    function setInManagerMode(bool _inManagerMode) external;
    function setManager(address _manager, bool _isManager) external;
    function setIsSwapEnabled(bool _isSwapEnabled) external;
    function setIsLeverageEnabled(bool _isLeverageEnabled) external;
    function setMaxGasPrice(uint256 _maxGasPrice) external;
    function setUsdgAmount(address _token, uint256 _amount) external;
    function setBufferAmount(address _token, uint256 _amount) external;
    function setMaxGlobalShortSize(address _token, uint256 _amount) external;
    function setInPrivateLiquidationMode(bool _inPrivateLiquidationMode) external;
    function setLiquidator(address _liquidator, bool _isActive) external;

    function setFundingRate(uint256 _fundingInterval, uint256 _fundingRateFactor, uint256 _stableFundingRateFactor) external;

    function setFees(
        uint256 _taxBasisPoints,
        uint256 _stableTaxBasisPoints,
        uint256 _mintBurnFeeBasisPoints,
        uint256 _swapFeeBasisPoints,
        uint256 _stableSwapFeeBasisPoints,
        uint256 _marginFeeBasisPoints,
        uint256 _liquidationFeeUsd,
        uint256 _minProfitTime,
        bool _hasDynamicFees
    ) external;

    function setTokenConfig(
        address _token,
        uint256 _tokenDecimals,
        uint256 _redemptionBps,
        uint256 _minProfitBps,
        uint256 _maxUsdgAmount,
        bool _isStable,
        bool _isShortable
    ) external;

    function setPriceFeed(address _priceFeed) external;
    function withdrawFees(address _token, address _receiver) external returns (uint256);

    function directPoolDeposit(address _token) external;
    function buyUSDG(address _token, address _receiver) external returns (uint256);
    function sellUSDG(address _token, address _receiver) external returns (uint256);
    function swap(address _tokenIn, address _tokenOut, address _receiver) external returns (uint256);
    function increasePosition(address _account, address _collateralToken, address _indexToken, uint256 _sizeDelta, bool _isLong) external;
    function decreasePosition(address _account, address _collateralToken, address _indexToken, uint256 _collateralDelta, uint256 _sizeDelta, bool _isLong, address _receiver) external returns (uint256);
    function validateLiquidation(address _account, address _collateralToken, address _indexToken, bool _isLong, bool _raise) external view returns (uint256, uint256);
    function liquidatePosition(address _account, address _collateralToken, address _indexToken, bool _isLong, address _feeReceiver) external;
    function tokenToUsdMin(address _token, uint256 _tokenAmount) external view returns (uint256);

    function priceFeed() external view returns (address);
    function fundingRateFactor() external view returns (uint256);
    function stableFundingRateFactor() external view returns (uint256);
    function cumulativeFundingRates(address _token) external view returns (uint256);
    function getNextFundingRate(address _token) external view returns (uint256);
    function getFeeBasisPoints(address _token, uint256 _usdgDelta, uint256 _feeBasisPoints, uint256 _taxBasisPoints, bool _increment) external view returns (uint256);

    function liquidationFeeUsd() external view returns (uint256);
    function taxBasisPoints() external view returns (uint256);
    function stableTaxBasisPoints() external view returns (uint256);
    function mintBurnFeeBasisPoints() external view returns (uint256);
    function swapFeeBasisPoints() external view returns (uint256);
    function stableSwapFeeBasisPoints() external view returns (uint256);
    function marginFeeBasisPoints() external view returns (uint256);

    function allWhitelistedTokensLength() external view returns (uint256);
    function allWhitelistedTokens(uint256) external view returns (address);
    function whitelistedTokens(address _token) external view returns (bool);
    function stableTokens(address _token) external view returns (bool);
    function shortableTokens(address _token) external view returns (bool);
    function feeReserves(address _token) external view returns (uint256);
    function globalShortSizes(address _token) external view returns (uint256);
    function globalShortAveragePrices(address _token) external view returns (uint256);
    function maxGlobalShortSizes(address _token) external view returns (uint256);
    function tokenDecimals(address _token) external view returns (uint256);
    function tokenWeights(address _token) external view returns (uint256);
    function guaranteedUsd(address _token) external view returns (uint256);
    function poolAmounts(address _token) external view returns (uint256);
    function bufferAmounts(address _token) external view returns (uint256);
    function reservedAmounts(address _token) external view returns (uint256);
    function usdgAmounts(address _token) external view returns (uint256);
    function maxUsdgAmounts(address _token) external view returns (uint256);
    function getRedemptionAmount(address _token, uint256 _usdgAmount) external view returns (uint256);
    function getMaxPrice(address _token) external view returns (uint256);
    function getMinPrice(address _token) external view returns (uint256);

    function getDelta(address _indexToken, uint256 _size, uint256 _averagePrice, bool _isLong, uint256 _lastIncreasedTime) external view returns (bool, uint256);
    function getPosition(address _account, address _collateralToken, address _indexToken, bool _isLong) external view returns (uint256, uint256, uint256, uint256, uint256, uint256, bool, uint256);
}


// File contracts/peripherals/interfaces/ITimelock.sol



pragma solidity 0.6.12;

interface ITimelock {
    function setAdmin(address _admin) external;
    function enableLeverage(address _vault) external;
    function disableLeverage(address _vault) external;
    function setIsLeverageEnabled(address _vault, bool _isLeverageEnabled) external;
    function signalSetGov(address _target, address _gov) external;
}


// File contracts/referrals/interfaces/IReferralStorage.sol



pragma solidity 0.6.12;

interface IReferralStorage {
    function codeOwners(bytes32 _code) external view returns (address);
    function traderReferralCodes(address _account) external view returns (bytes32);
    function referrerDiscountShares(address _account) external view returns (uint256);
    function referrerTiers(address _account) external view returns (uint256);
    function getTraderReferralInfo(address _account) external view returns (bytes32, address);
    function setTraderReferralCode(address _account, bytes32 _code) external;
    function setTier(uint256 _tierId, uint256 _totalRebate, uint256 _discountShare) external;
    function setReferrerTier(address _referrer, uint256 _tierId) external;
    function govSetCodeOwner(bytes32 _code, address _newAccount) external;
}


// File contracts/core/BasePositionManager.sol



pragma solidity ^0.6.0;
contract BasePositionManager is IBasePositionManager, ReentrancyGuard, Governable {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using Address for address payable;

    uint256 public constant BASIS_POINTS_DIVISOR = 10000;

    address public admin;

    address public vault;
    address public shortsTracker;
    address public router;
    address public weth;

    // to prevent using the deposit and withdrawal of collateral as a zero fee swap,
    // there is a small depositFee charged if a collateral deposit results in the decrease
    // of leverage for an existing position
    // increasePositionBufferBps allows for a small amount of decrease of leverage
    uint256 public depositFee;
    uint256 public increasePositionBufferBps = 100;

    address public referralStorage;

    mapping (address => uint256) public feeReserves;

    mapping (address => uint256) public override maxGlobalLongSizes;
    mapping (address => uint256) public override maxGlobalShortSizes;

    event SetDepositFee(uint256 depositFee);
    event SetIncreasePositionBufferBps(uint256 increasePositionBufferBps);
    event SetReferralStorage(address referralStorage);
    event SetAdmin(address admin);
    event WithdrawFees(address token, address receiver, uint256 amount);

    event SetMaxGlobalSizes(
        address[] tokens,
        uint256[] longSizes,
        uint256[] shortSizes
    );

    event IncreasePositionReferral(
        address account,
        uint256 sizeDelta,
        uint256 marginFeeBasisPoints,
        bytes32 referralCode,
        address referrer
    );

    event DecreasePositionReferral(
        address account,
        uint256 sizeDelta,
        uint256 marginFeeBasisPoints,
        bytes32 referralCode,
        address referrer
    );

    modifier onlyAdmin() {
        require(msg.sender == admin, "BasePositionManager: forbidden");
        _;
    }

    constructor(
        address _vault,
        address _router,
        address _shortsTracker,
        address _weth,
        uint256 _depositFee
    ) public {
        vault = _vault;
        router = _router;
        weth = _weth;
        depositFee = _depositFee;
        shortsTracker = _shortsTracker;

        admin = msg.sender;
    }

    receive() external payable {
        require(msg.sender == weth, "BasePositionManager: invalid sender");
    }

    function setAdmin(address _admin) external onlyGov {
        admin = _admin;
        emit SetAdmin(_admin);
    }

    function setDepositFee(uint256 _depositFee) external onlyAdmin {
        depositFee = _depositFee;
        emit SetDepositFee(_depositFee);
    }

    function setIncreasePositionBufferBps(uint256 _increasePositionBufferBps) external onlyAdmin {
        increasePositionBufferBps = _increasePositionBufferBps;
        emit SetIncreasePositionBufferBps(_increasePositionBufferBps);
    }

    function setReferralStorage(address _referralStorage) external onlyAdmin {
        referralStorage = _referralStorage;
        emit SetReferralStorage(_referralStorage);
    }

    function setMaxGlobalSizes(
        address[] memory _tokens,
        uint256[] memory _longSizes,
        uint256[] memory _shortSizes
    ) external onlyAdmin {
        for (uint256 i = 0; i < _tokens.length; i++) {
            address token = _tokens[i];
            maxGlobalLongSizes[token] = _longSizes[i];
            maxGlobalShortSizes[token] = _shortSizes[i];
        }

        emit SetMaxGlobalSizes(_tokens, _longSizes, _shortSizes);
    }

    function withdrawFees(address _token, address _receiver) external onlyAdmin {
        uint256 amount = feeReserves[_token];
        if (amount == 0) { return; }

        feeReserves[_token] = 0;
        IERC20(_token).safeTransfer(_receiver, amount);

        emit WithdrawFees(_token, _receiver, amount);
    }

    function approve(address _token, address _spender, uint256 _amount) external onlyGov {
        IERC20(_token).approve(_spender, _amount);
    }

    function sendValue(address payable _receiver, uint256 _amount) external onlyGov {
        _receiver.sendValue(_amount);
    }

    function _validateMaxGlobalSize(address _indexToken, bool _isLong, uint256 _sizeDelta) internal view {
        if (_sizeDelta == 0) {
            return;
        }

        if (_isLong) {
            uint256 maxGlobalLongSize = maxGlobalLongSizes[_indexToken];
            if (maxGlobalLongSize > 0 && IVault(vault).guaranteedUsd(_indexToken).add(_sizeDelta) > maxGlobalLongSize) {
                revert("BasePositionManager: max global longs exceeded");
            }
        } else {
            uint256 maxGlobalShortSize = maxGlobalShortSizes[_indexToken];
            if (maxGlobalShortSize > 0 && IVault(vault).globalShortSizes(_indexToken).add(_sizeDelta) > maxGlobalShortSize) {
                revert("BasePositionManager: max global shorts exceeded");
            }
        }
    }

    function _increasePosition(address _account, address _collateralToken, address _indexToken, uint256 _sizeDelta, bool _isLong, uint256 _price) internal {
        address _vault = vault;

        uint256 markPrice = _isLong ? IVault(_vault).getMaxPrice(_indexToken) : IVault(_vault).getMinPrice(_indexToken);
        if (_isLong) {
            require(markPrice <= _price, "BasePositionManager: mark price higher than limit");
        } else {
            require(markPrice >= _price, "BasePositionManager: mark price lower than limit");
        }

        _validateMaxGlobalSize(_indexToken, _isLong, _sizeDelta);

        address timelock = IVault(_vault).gov();

        // should be called strictly before position is updated in Vault
        IShortsTracker(shortsTracker).updateGlobalShortData(_account, _collateralToken, _indexToken, _isLong, _sizeDelta, markPrice, true);

        ITimelock(timelock).enableLeverage(_vault);
        IRouter(router).pluginIncreasePosition(_account, _collateralToken, _indexToken, _sizeDelta, _isLong);
        ITimelock(timelock).disableLeverage(_vault);

        _emitIncreasePositionReferral(_account, _sizeDelta);
    }

    function _decreasePosition(address _account, address _collateralToken, address _indexToken, uint256 _collateralDelta, uint256 _sizeDelta, bool _isLong, address _receiver, uint256 _price) internal returns (uint256) {
        address _vault = vault;

        uint256 markPrice = _isLong ? IVault(_vault).getMinPrice(_indexToken) : IVault(_vault).getMaxPrice(_indexToken);
        if (_isLong) {
            require(markPrice >= _price, "BasePositionManager: mark price lower than limit");
        } else {
            require(markPrice <= _price, "BasePositionManager: mark price higher than limit");
        }

        address timelock = IVault(_vault).gov();

        // should be called strictly before position is updated in Vault
        IShortsTracker(shortsTracker).updateGlobalShortData(_account, _collateralToken, _indexToken, _isLong, _sizeDelta, markPrice, false);

        ITimelock(timelock).enableLeverage(_vault);
        uint256 amountOut = IRouter(router).pluginDecreasePosition(_account, _collateralToken, _indexToken, _collateralDelta, _sizeDelta, _isLong, _receiver);
        ITimelock(timelock).disableLeverage(_vault);

        _emitDecreasePositionReferral(_account, _sizeDelta);

        return amountOut;
    }

    function _emitIncreasePositionReferral(address _account, uint256 _sizeDelta) internal {
        address _referralStorage = referralStorage;
        if (_referralStorage == address(0)) {
            return;
        }

        (bytes32 referralCode, address referrer) = IReferralStorage(_referralStorage).getTraderReferralInfo(_account);
        emit IncreasePositionReferral(
            _account,
            _sizeDelta,
            IVault(vault).marginFeeBasisPoints(),
            referralCode,
            referrer
        );
    }

    function _emitDecreasePositionReferral(address _account, uint256 _sizeDelta) internal {
        address _referralStorage = referralStorage;
        if (_referralStorage == address(0)) {
            return;
        }

        (bytes32 referralCode, address referrer) = IReferralStorage(_referralStorage).getTraderReferralInfo(_account);

        if (referralCode == bytes32(0)) {
            return;
        }

        emit DecreasePositionReferral(
            _account,
            _sizeDelta,
            IVault(vault).marginFeeBasisPoints(),
            referralCode,
            referrer
        );
    }

    function _swap(address[] memory _path, uint256 _minOut, address _receiver) internal returns (uint256) {
        if (_path.length == 2) {
            return _vaultSwap(_path[0], _path[1], _minOut, _receiver);
        }
        revert("BasePositionManager: invalid _path.length");
    }

    function _vaultSwap(address _tokenIn, address _tokenOut, uint256 _minOut, address _receiver) internal returns (uint256) {
        uint256 amountOut = IVault(vault).swap(_tokenIn, _tokenOut, _receiver);
        require(amountOut >= _minOut, "BasePositionManager: insufficient amountOut");
        return amountOut;
    }

    function _transferInETH() internal {
        if (msg.value != 0) {
            IWETH(weth).deposit{value: msg.value}();
        }
    }

    function _transferOutETHWithGasLimitIgnoreFail(uint256 _amountOut, address payable _receiver) internal {
        IWETH(weth).withdraw(_amountOut);

        // use `send` instead of `transfer` to not revert whole transaction in case ETH transfer was failed
        // it has limit of 2300 gas
        // this is to avoid front-running
        _receiver.send(_amountOut);
    }

    function _collectFees(
        address _account,
        address[] memory _path,
        uint256 _amountIn,
        address _indexToken,
        bool _isLong,
        uint256 _sizeDelta
    ) internal returns (uint256) {
        bool shouldDeductFee = _shouldDeductFee(
            _account,
            _path,
            _amountIn,
            _indexToken,
            _isLong,
            _sizeDelta
        );

        if (shouldDeductFee) {
            uint256 afterFeeAmount = _amountIn.mul(BASIS_POINTS_DIVISOR.sub(depositFee)).div(BASIS_POINTS_DIVISOR);
            uint256 feeAmount = _amountIn.sub(afterFeeAmount);
            address feeToken = _path[_path.length - 1];
            feeReserves[feeToken] = feeReserves[feeToken].add(feeAmount);
            return afterFeeAmount;
        }

        return _amountIn;
    }

    function _shouldDeductFee(
        address _account,
        address[] memory _path,
        uint256 _amountIn,
        address _indexToken,
        bool _isLong,
        uint256 _sizeDelta
    ) internal view returns (bool) {
        // if the position is a short, do not charge a fee
        if (!_isLong) { return false; }

        // if the position size is not increasing, this is a collateral deposit
        if (_sizeDelta == 0) { return true; }

        address collateralToken = _path[_path.length - 1];

        IVault _vault = IVault(vault);
        (uint256 size, uint256 collateral, , , , , , ) = _vault.getPosition(_account, collateralToken, _indexToken, _isLong);

        // if there is no existing position, do not charge a fee
        if (size == 0) { return false; }

        uint256 nextSize = size.add(_sizeDelta);
        uint256 collateralDelta = _vault.tokenToUsdMin(collateralToken, _amountIn);
        uint256 nextCollateral = collateral.add(collateralDelta);

        uint256 prevLeverage = size.mul(BASIS_POINTS_DIVISOR).div(collateral);
        // allow for a maximum of a increasePositionBufferBps decrease since there might be some swap fees taken from the collateral
        uint256 nextLeverage = nextSize.mul(BASIS_POINTS_DIVISOR + increasePositionBufferBps).div(nextCollateral);

        // deduct a fee if the leverage is decreased
        return nextLeverage < prevLeverage;
    }
}


// File contracts/core/interfaces/IPositionRouter.sol



pragma solidity 0.6.12;

interface IPositionRouter {
    function increasePositionRequestKeysStart() external returns (uint256);
    function decreasePositionRequestKeysStart() external returns (uint256);
    function executeIncreasePositions(uint256 _count, address payable _executionFeeReceiver) external;
    function executeDecreasePositions(uint256 _count, address payable _executionFeeReceiver) external;
}


// File contracts/core/interfaces/IPositionRouterCallbackReceiver.sol



pragma solidity ^0.6.0;

interface IPositionRouterCallbackReceiver {
    function gmxPositionCallback(bytes32 positionKey, bool isExecuted, bool isIncrease) external;
}


// File contracts/core/PositionRouter.sol



pragma solidity ^0.6.0;
contract PositionRouter is BasePositionManager, IPositionRouter {
    using Address for address;

    struct IncreasePositionRequest {
        address account;
        address[] path;
        address indexToken;
        uint256 amountIn;
        uint256 minOut;
        uint256 sizeDelta;
        bool isLong;
        uint256 acceptablePrice;
        uint256 executionFee;
        uint256 blockNumber;
        uint256 blockTime;
        bool hasCollateralInETH;
        address callbackTarget;
    }

    struct DecreasePositionRequest {
        address account;
        address[] path;
        address indexToken;
        uint256 collateralDelta;
        uint256 sizeDelta;
        bool isLong;
        address receiver;
        uint256 acceptablePrice;
        uint256 minOut;
        uint256 executionFee;
        uint256 blockNumber;
        uint256 blockTime;
        bool withdrawETH;
        address callbackTarget;
    }

    uint256 public minExecutionFee;

    uint256 public minBlockDelayKeeper;
    uint256 public minTimeDelayPublic;
    uint256 public maxTimeDelay;

    bool public isLeverageEnabled = true;

    bytes32[] public increasePositionRequestKeys;
    bytes32[] public decreasePositionRequestKeys;

    uint256 public override increasePositionRequestKeysStart;
    uint256 public override decreasePositionRequestKeysStart;

    uint256 public callbackGasLimit;

    mapping (address => bool) public isPositionKeeper;

    mapping (address => uint256) public increasePositionsIndex;
    mapping (bytes32 => IncreasePositionRequest) public increasePositionRequests;

    mapping (address => uint256) public decreasePositionsIndex;
    mapping (bytes32 => DecreasePositionRequest) public decreasePositionRequests;

    event CreateIncreasePosition(
        address indexed account,
        address[] path,
        address indexToken,
        uint256 amountIn,
        uint256 minOut,
        uint256 sizeDelta,
        bool isLong,
        uint256 acceptablePrice,
        uint256 executionFee,
        uint256 index,
        uint256 queueIndex,
        uint256 blockNumber,
        uint256 blockTime,
        uint256 gasPrice
    );

    event ExecuteIncreasePosition(
        address indexed account,
        address[] path,
        address indexToken,
        uint256 amountIn,
        uint256 minOut,
        uint256 sizeDelta,
        bool isLong,
        uint256 acceptablePrice,
        uint256 executionFee,
        uint256 blockGap,
        uint256 timeGap
    );

    event CancelIncreasePosition(
        address indexed account,
        address[] path,
        address indexToken,
        uint256 amountIn,
        uint256 minOut,
        uint256 sizeDelta,
        bool isLong,
        uint256 acceptablePrice,
        uint256 executionFee,
        uint256 blockGap,
        uint256 timeGap
    );

    event CreateDecreasePosition(
        address indexed account,
        address[] path,
        address indexToken,
        uint256 collateralDelta,
        uint256 sizeDelta,
        bool isLong,
        address receiver,
        uint256 acceptablePrice,
        uint256 minOut,
        uint256 executionFee,
        uint256 index,
        uint256 queueIndex,
        uint256 blockNumber,
        uint256 blockTime
    );

    event ExecuteDecreasePosition(
        address indexed account,
        address[] path,
        address indexToken,
        uint256 collateralDelta,
        uint256 sizeDelta,
        bool isLong,
        address receiver,
        uint256 acceptablePrice,
        uint256 minOut,
        uint256 executionFee,
        uint256 blockGap,
        uint256 timeGap
    );

    event CancelDecreasePosition(
        address indexed account,
        address[] path,
        address indexToken,
        uint256 collateralDelta,
        uint256 sizeDelta,
        bool isLong,
        address receiver,
        uint256 acceptablePrice,
        uint256 minOut,
        uint256 executionFee,
        uint256 blockGap,
        uint256 timeGap
    );

    event SetPositionKeeper(address indexed account, bool isActive);
    event SetMinExecutionFee(uint256 minExecutionFee);
    event SetIsLeverageEnabled(bool isLeverageEnabled);
    event SetDelayValues(uint256 minBlockDelayKeeper, uint256 minTimeDelayPublic, uint256 maxTimeDelay);
    event SetRequestKeysStartValues(uint256 increasePositionRequestKeysStart, uint256 decreasePositionRequestKeysStart);
    event SetCallbackGasLimit(uint256 callbackGasLimit);
    event Callback(address callbackTarget, bool success);

    modifier onlyPositionKeeper() {
        require(isPositionKeeper[msg.sender], "403");
        _;
    }

    constructor(
        address _vault,
        address _router,
        address _weth,
        address _shortsTracker,
        uint256 _depositFee,
        uint256 _minExecutionFee
    ) public BasePositionManager(_vault, _router, _shortsTracker, _weth, _depositFee) {
        minExecutionFee = _minExecutionFee;
    }

    function setPositionKeeper(address _account, bool _isActive) external onlyAdmin {
        isPositionKeeper[_account] = _isActive;
        emit SetPositionKeeper(_account, _isActive);
    }

    function setCallbackGasLimit(uint256 _callbackGasLimit) external onlyAdmin {
        callbackGasLimit = _callbackGasLimit;
        emit SetCallbackGasLimit(_callbackGasLimit);
    }

    function setMinExecutionFee(uint256 _minExecutionFee) external onlyAdmin {
        minExecutionFee = _minExecutionFee;
        emit SetMinExecutionFee(_minExecutionFee);
    }

    function setIsLeverageEnabled(bool _isLeverageEnabled) external onlyAdmin {
        isLeverageEnabled = _isLeverageEnabled;
        emit SetIsLeverageEnabled(_isLeverageEnabled);
    }

    function setDelayValues(uint256 _minBlockDelayKeeper, uint256 _minTimeDelayPublic, uint256 _maxTimeDelay) external onlyAdmin {
        minBlockDelayKeeper = _minBlockDelayKeeper;
        minTimeDelayPublic = _minTimeDelayPublic;
        maxTimeDelay = _maxTimeDelay;
        emit SetDelayValues(_minBlockDelayKeeper, _minTimeDelayPublic, _maxTimeDelay);
    }

    function setRequestKeysStartValues(uint256 _increasePositionRequestKeysStart, uint256 _decreasePositionRequestKeysStart) external onlyAdmin {
        increasePositionRequestKeysStart = _increasePositionRequestKeysStart;
        decreasePositionRequestKeysStart = _decreasePositionRequestKeysStart;

        emit SetRequestKeysStartValues(_increasePositionRequestKeysStart, _decreasePositionRequestKeysStart);
    }

    function executeIncreasePositions(uint256 _endIndex, address payable _executionFeeReceiver) external override onlyPositionKeeper {
        uint256 index = increasePositionRequestKeysStart;
        uint256 length = increasePositionRequestKeys.length;

        if (index >= length) { return; }

        if (_endIndex > length) {
            _endIndex = length;
        }

        while (index < _endIndex) {
            bytes32 key = increasePositionRequestKeys[index];

            // if the request was executed then delete the key from the array
            // if the request was not executed then break from the loop, this can happen if the
            // minimum number of blocks has not yet passed
            // an error could be thrown if the request is too old or if the slippage is
            // higher than what the user specified, or if there is insufficient liquidity for the position
            // in case an error was thrown, cancel the request
            try this.executeIncreasePosition(key, _executionFeeReceiver) returns (bool _wasExecuted) {
                if (!_wasExecuted) { break; }
            } catch {
                // wrap this call in a try catch to prevent invalid cancels from blocking the loop
                try this.cancelIncreasePosition(key, _executionFeeReceiver) returns (bool _wasCancelled) {
                    if (!_wasCancelled) { break; }
                } catch {}
            }

            delete increasePositionRequestKeys[index];
            index++;
        }

        increasePositionRequestKeysStart = index;
    }

    function executeDecreasePositions(uint256 _endIndex, address payable _executionFeeReceiver) external override onlyPositionKeeper {
        uint256 index = decreasePositionRequestKeysStart;
        uint256 length = decreasePositionRequestKeys.length;

        if (index >= length) { return; }

        if (_endIndex > length) {
            _endIndex = length;
        }

        while (index < _endIndex) {
            bytes32 key = decreasePositionRequestKeys[index];

            // if the request was executed then delete the key from the array
            // if the request was not executed then break from the loop, this can happen if the
            // minimum number of blocks has not yet passed
            // an error could be thrown if the request is too old
            // in case an error was thrown, cancel the request
            try this.executeDecreasePosition(key, _executionFeeReceiver) returns (bool _wasExecuted) {
                if (!_wasExecuted) { break; }
            } catch {
                // wrap this call in a try catch to prevent invalid cancels from blocking the loop
                try this.cancelDecreasePosition(key, _executionFeeReceiver) returns (bool _wasCancelled) {
                    if (!_wasCancelled) { break; }
                } catch {}
            }

            delete decreasePositionRequestKeys[index];
            index++;
        }

        decreasePositionRequestKeysStart = index;
    }

    function createIncreasePosition(
        address[] memory _path,
        address _indexToken,
        uint256 _amountIn,
        uint256 _minOut,
        uint256 _sizeDelta,
        bool _isLong,
        uint256 _acceptablePrice,
        uint256 _executionFee,
        bytes32 _referralCode,
        address _callbackTarget
    ) external payable nonReentrant returns (bytes32) {
        require(_executionFee >= minExecutionFee, "fee");
        require(msg.value == _executionFee, "val");
        require(_path.length == 1 || _path.length == 2, "len");

        _transferInETH();
        _setTraderReferralCode(_referralCode);

        if (_amountIn > 0) {
            IRouter(router).pluginTransfer(_path[0], msg.sender, address(this), _amountIn);
        }

        return _createIncreasePosition(
            msg.sender,
            _path,
            _indexToken,
            _amountIn,
            _minOut,
            _sizeDelta,
            _isLong,
            _acceptablePrice,
            _executionFee,
            false,
            _callbackTarget
        );
    }

    function createIncreasePositionETH(
        address[] memory _path,
        address _indexToken,
        uint256 _minOut,
        uint256 _sizeDelta,
        bool _isLong,
        uint256 _acceptablePrice,
        uint256 _executionFee,
        bytes32 _referralCode,
        address _callbackTarget
    ) external payable nonReentrant returns (bytes32) {
        require(_executionFee >= minExecutionFee, "fee");
        require(msg.value >= _executionFee, "val");
        require(_path.length == 1 || _path.length == 2, "len");
        require(_path[0] == weth, "path");
        _transferInETH();
        _setTraderReferralCode(_referralCode);

        uint256 amountIn = msg.value.sub(_executionFee);

        return _createIncreasePosition(
            msg.sender,
            _path,
            _indexToken,
            amountIn,
            _minOut,
            _sizeDelta,
            _isLong,
            _acceptablePrice,
            _executionFee,
            true,
            _callbackTarget
        );
    }

    function createDecreasePosition(
        address[] memory _path,
        address _indexToken,
        uint256 _collateralDelta,
        uint256 _sizeDelta,
        bool _isLong,
        address _receiver,
        uint256 _acceptablePrice,
        uint256 _minOut,
        uint256 _executionFee,
        bool _withdrawETH,
        address _callbackTarget
    ) external payable nonReentrant returns (bytes32) {
        require(_executionFee >= minExecutionFee, "fee");
        require(msg.value == _executionFee, "val");
        require(_path.length == 1 || _path.length == 2, "len");

        if (_withdrawETH) {
            require(_path[_path.length - 1] == weth, "path");
        }

        _transferInETH();

        return _createDecreasePosition(
            msg.sender,
            _path,
            _indexToken,
            _collateralDelta,
            _sizeDelta,
            _isLong,
            _receiver,
            _acceptablePrice,
            _minOut,
            _executionFee,
            _withdrawETH,
            _callbackTarget
        );
    }

    function getRequestQueueLengths() external view returns (uint256, uint256, uint256, uint256) {
        return (
            increasePositionRequestKeysStart,
            increasePositionRequestKeys.length,
            decreasePositionRequestKeysStart,
            decreasePositionRequestKeys.length
        );
    }

    function executeIncreasePosition(bytes32 _key, address payable _executionFeeReceiver) public nonReentrant returns (bool) {
        IncreasePositionRequest memory request = increasePositionRequests[_key];
        // if the request was already executed or cancelled, return true so that the executeIncreasePositions loop will continue executing the next request
        if (request.account == address(0)) { return true; }

        bool shouldExecute = _validateExecution(request.blockNumber, request.blockTime, request.account);
        if (!shouldExecute) { return false; }

        delete increasePositionRequests[_key];

        if (request.amountIn > 0) {
            uint256 amountIn = request.amountIn;

            if (request.path.length > 1) {
                IERC20(request.path[0]).safeTransfer(vault, request.amountIn);
                amountIn = _swap(request.path, request.minOut, address(this));
            }

            uint256 afterFeeAmount = _collectFees(msg.sender, request.path, amountIn, request.indexToken, request.isLong, request.sizeDelta);
            IERC20(request.path[request.path.length - 1]).safeTransfer(vault, afterFeeAmount);
        }

        _increasePosition(request.account, request.path[request.path.length - 1], request.indexToken, request.sizeDelta, request.isLong, request.acceptablePrice);

        _transferOutETHWithGasLimitIgnoreFail(request.executionFee, _executionFeeReceiver);

        emit ExecuteIncreasePosition(
            request.account,
            request.path,
            request.indexToken,
            request.amountIn,
            request.minOut,
            request.sizeDelta,
            request.isLong,
            request.acceptablePrice,
            request.executionFee,
            block.number.sub(request.blockNumber),
            block.timestamp.sub(request.blockTime)
        );

        _callRequestCallback(request.callbackTarget, _key, true, true);

        return true;
    }

    function cancelIncreasePosition(bytes32 _key, address payable _executionFeeReceiver) public nonReentrant returns (bool) {
        IncreasePositionRequest memory request = increasePositionRequests[_key];
        // if the request was already executed or cancelled, return true so that the executeIncreasePositions loop will continue executing the next request
        if (request.account == address(0)) { return true; }

        bool shouldCancel = _validateCancellation(request.blockNumber, request.blockTime, request.account);
        if (!shouldCancel) { return false; }

        delete increasePositionRequests[_key];

        if (request.hasCollateralInETH) {
            _transferOutETHWithGasLimitIgnoreFail(request.amountIn, payable(request.account));
        } else {
            IERC20(request.path[0]).safeTransfer(request.account, request.amountIn);
        }

       _transferOutETHWithGasLimitIgnoreFail(request.executionFee, _executionFeeReceiver);

        emit CancelIncreasePosition(
            request.account,
            request.path,
            request.indexToken,
            request.amountIn,
            request.minOut,
            request.sizeDelta,
            request.isLong,
            request.acceptablePrice,
            request.executionFee,
            block.number.sub(request.blockNumber),
            block.timestamp.sub(request.blockTime)
        );

        _callRequestCallback(request.callbackTarget, _key, false, true);

        return true;
    }

    function executeDecreasePosition(bytes32 _key, address payable _executionFeeReceiver) public nonReentrant returns (bool) {
        DecreasePositionRequest memory request = decreasePositionRequests[_key];
        // if the request was already executed or cancelled, return true so that the executeDecreasePositions loop will continue executing the next request
        if (request.account == address(0)) { return true; }

        bool shouldExecute = _validateExecution(request.blockNumber, request.blockTime, request.account);
        if (!shouldExecute) { return false; }

        delete decreasePositionRequests[_key];

        uint256 amountOut = _decreasePosition(request.account, request.path[0], request.indexToken, request.collateralDelta, request.sizeDelta, request.isLong, address(this), request.acceptablePrice);

        if (amountOut > 0) {
            if (request.path.length > 1) {
                IERC20(request.path[0]).safeTransfer(vault, amountOut);
                amountOut = _swap(request.path, request.minOut, address(this));
            }

            if (request.withdrawETH) {
               _transferOutETHWithGasLimitIgnoreFail(amountOut, payable(request.receiver));
            } else {
               IERC20(request.path[request.path.length - 1]).safeTransfer(request.receiver, amountOut);
            }
        }

       _transferOutETHWithGasLimitIgnoreFail(request.executionFee, _executionFeeReceiver);

        emit ExecuteDecreasePosition(
            request.account,
            request.path,
            request.indexToken,
            request.collateralDelta,
            request.sizeDelta,
            request.isLong,
            request.receiver,
            request.acceptablePrice,
            request.minOut,
            request.executionFee,
            block.number.sub(request.blockNumber),
            block.timestamp.sub(request.blockTime)
        );

        _callRequestCallback(request.callbackTarget, _key, true, false);

        return true;
    }

    function cancelDecreasePosition(bytes32 _key, address payable _executionFeeReceiver) public nonReentrant returns (bool) {
        DecreasePositionRequest memory request = decreasePositionRequests[_key];
        // if the request was already executed or cancelled, return true so that the executeDecreasePositions loop will continue executing the next request
        if (request.account == address(0)) { return true; }

        bool shouldCancel = _validateCancellation(request.blockNumber, request.blockTime, request.account);
        if (!shouldCancel) { return false; }

        delete decreasePositionRequests[_key];

       _transferOutETHWithGasLimitIgnoreFail(request.executionFee, _executionFeeReceiver);

        emit CancelDecreasePosition(
            request.account,
            request.path,
            request.indexToken,
            request.collateralDelta,
            request.sizeDelta,
            request.isLong,
            request.receiver,
            request.acceptablePrice,
            request.minOut,
            request.executionFee,
            block.number.sub(request.blockNumber),
            block.timestamp.sub(request.blockTime)
        );

        _callRequestCallback(request.callbackTarget, _key, false, false);

        return true;
    }

    function getRequestKey(address _account, uint256 _index) public pure returns (bytes32) {
        return keccak256(abi.encodePacked(_account, _index));
    }

    function getIncreasePositionRequestPath(bytes32 _key) public view returns (address[] memory) {
        IncreasePositionRequest memory request = increasePositionRequests[_key];
        return request.path;
    }

    function getDecreasePositionRequestPath(bytes32 _key) public view returns (address[] memory) {
        DecreasePositionRequest memory request = decreasePositionRequests[_key];
        return request.path;
    }

    function _setTraderReferralCode(bytes32 _referralCode) internal {
        if (_referralCode != bytes32(0) && referralStorage != address(0)) {
            IReferralStorage(referralStorage).setTraderReferralCode(msg.sender, _referralCode);
        }
    }

    function _validateExecution(uint256 _positionBlockNumber, uint256 _positionBlockTime, address _account) internal view returns (bool) {
        if (_positionBlockTime.add(maxTimeDelay) <= block.timestamp) {
            revert("expired");
        }

        bool isKeeperCall = msg.sender == address(this) || isPositionKeeper[msg.sender];

        if (!isLeverageEnabled && !isKeeperCall) {
            revert("403");
        }

        if (isKeeperCall) {
            return _positionBlockNumber.add(minBlockDelayKeeper) <= block.number;
        }

        require(msg.sender == _account, "403");

        require(_positionBlockTime.add(minTimeDelayPublic) <= block.timestamp, "delay");

        return true;
    }

    function _validateCancellation(uint256 _positionBlockNumber, uint256 _positionBlockTime, address _account) internal view returns (bool) {
        bool isKeeperCall = msg.sender == address(this) || isPositionKeeper[msg.sender];

        if (!isLeverageEnabled && !isKeeperCall) {
            revert("403");
        }

        if (isKeeperCall) {
            return _positionBlockNumber.add(minBlockDelayKeeper) <= block.number;
        }

        require(msg.sender == _account, "403");

        require(_positionBlockTime.add(minTimeDelayPublic) <= block.timestamp, "delay");

        return true;
    }

    function _createIncreasePosition(
        address _account,
        address[] memory _path,
        address _indexToken,
        uint256 _amountIn,
        uint256 _minOut,
        uint256 _sizeDelta,
        bool _isLong,
        uint256 _acceptablePrice,
        uint256 _executionFee,
        bool _hasCollateralInETH,
        address _callbackTarget
    ) internal returns (bytes32) {
        IncreasePositionRequest memory request = IncreasePositionRequest(
            _account,
            _path,
            _indexToken,
            _amountIn,
            _minOut,
            _sizeDelta,
            _isLong,
            _acceptablePrice,
            _executionFee,
            block.number,
            block.timestamp,
            _hasCollateralInETH,
            _callbackTarget
        );

        (uint256 index, bytes32 requestKey) = _storeIncreasePositionRequest(request);
        emit CreateIncreasePosition(
            _account,
            _path,
            _indexToken,
            _amountIn,
            _minOut,
            _sizeDelta,
            _isLong,
            _acceptablePrice,
            _executionFee,
            index,
            increasePositionRequestKeys.length - 1,
            block.number,
            block.timestamp,
            tx.gasprice
        );

        return requestKey;
    }

    function _storeIncreasePositionRequest(IncreasePositionRequest memory _request) internal returns (uint256, bytes32) {
        address account = _request.account;
        uint256 index = increasePositionsIndex[account].add(1);
        increasePositionsIndex[account] = index;
        bytes32 key = getRequestKey(account, index);

        increasePositionRequests[key] = _request;
        increasePositionRequestKeys.push(key);

        return (index, key);
    }

    function _storeDecreasePositionRequest(DecreasePositionRequest memory _request) internal returns (uint256, bytes32) {
        address account = _request.account;
        uint256 index = decreasePositionsIndex[account].add(1);
        decreasePositionsIndex[account] = index;
        bytes32 key = getRequestKey(account, index);

        decreasePositionRequests[key] = _request;
        decreasePositionRequestKeys.push(key);

        return (index, key);
    }

    function _createDecreasePosition(
        address _account,
        address[] memory _path,
        address _indexToken,
        uint256 _collateralDelta,
        uint256 _sizeDelta,
        bool _isLong,
        address _receiver,
        uint256 _acceptablePrice,
        uint256 _minOut,
        uint256 _executionFee,
        bool _withdrawETH,
        address _callbackTarget
    ) internal returns (bytes32) {
        DecreasePositionRequest memory request = DecreasePositionRequest(
            _account,
            _path,
            _indexToken,
            _collateralDelta,
            _sizeDelta,
            _isLong,
            _receiver,
            _acceptablePrice,
            _minOut,
            _executionFee,
            block.number,
            block.timestamp,
            _withdrawETH,
            _callbackTarget
        );

        (uint256 index, bytes32 requestKey) = _storeDecreasePositionRequest(request);
        emit CreateDecreasePosition(
            request.account,
            request.path,
            request.indexToken,
            request.collateralDelta,
            request.sizeDelta,
            request.isLong,
            request.receiver,
            request.acceptablePrice,
            request.minOut,
            request.executionFee,
            index,
            decreasePositionRequestKeys.length - 1,
            block.number,
            block.timestamp
        );
        return requestKey;
    }

    function _callRequestCallback(
        address _callbackTarget,
        bytes32 _key,
        bool _wasExecuted,
        bool _isIncrease
    ) internal {
        if (_callbackTarget == address(0)) {
            return;
        }

        if (!_callbackTarget.isContract()) {
            return;
        }

        uint256 _gasLimit = callbackGasLimit;
        if (_gasLimit == 0) {
            return;
        }

        bool success;
        try IPositionRouterCallbackReceiver(_callbackTarget).gmxPositionCallback{ gas: _gasLimit }(_key, _wasExecuted, _isIncrease) {
            success = true;
        } catch {}

        emit Callback(_callbackTarget, success);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address","name":"_shortsTracker","type":"address"},{"internalType":"uint256","name":"_depositFee","type":"uint256"},{"internalType":"uint256","name":"_minExecutionFee","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"callbackTarget","type":"address"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"Callback","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"},{"indexed":false,"internalType":"address","name":"indexToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"collateralDelta","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sizeDelta","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isLong","type":"bool"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"acceptablePrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"executionFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockGap","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timeGap","type":"uint256"}],"name":"CancelDecreasePosition","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"},{"indexed":false,"internalType":"address","name":"indexToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sizeDelta","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isLong","type":"bool"},{"indexed":false,"internalType":"uint256","name":"acceptablePrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"executionFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockGap","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timeGap","type":"uint256"}],"name":"CancelIncreasePosition","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"},{"indexed":false,"internalType":"address","name":"indexToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"collateralDelta","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sizeDelta","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isLong","type":"bool"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"acceptablePrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"executionFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"queueIndex","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockTime","type":"uint256"}],"name":"CreateDecreasePosition","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"},{"indexed":false,"internalType":"address","name":"indexToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sizeDelta","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isLong","type":"bool"},{"indexed":false,"internalType":"uint256","name":"acceptablePrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"executionFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"queueIndex","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasPrice","type":"uint256"}],"name":"CreateIncreasePosition","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"sizeDelta","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"marginFeeBasisPoints","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"referralCode","type":"bytes32"},{"indexed":false,"internalType":"address","name":"referrer","type":"address"}],"name":"DecreasePositionReferral","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"},{"indexed":false,"internalType":"address","name":"indexToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"collateralDelta","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sizeDelta","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isLong","type":"bool"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"acceptablePrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"executionFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockGap","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timeGap","type":"uint256"}],"name":"ExecuteDecreasePosition","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"},{"indexed":false,"internalType":"address","name":"indexToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sizeDelta","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isLong","type":"bool"},{"indexed":false,"internalType":"uint256","name":"acceptablePrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"executionFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockGap","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timeGap","type":"uint256"}],"name":"ExecuteIncreasePosition","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"sizeDelta","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"marginFeeBasisPoints","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"referralCode","type":"bytes32"},{"indexed":false,"internalType":"address","name":"referrer","type":"address"}],"name":"IncreasePositionReferral","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"admin","type":"address"}],"name":"SetAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"callbackGasLimit","type":"uint256"}],"name":"SetCallbackGasLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minBlockDelayKeeper","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minTimeDelayPublic","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxTimeDelay","type":"uint256"}],"name":"SetDelayValues","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"depositFee","type":"uint256"}],"name":"SetDepositFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"increasePositionBufferBps","type":"uint256"}],"name":"SetIncreasePositionBufferBps","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isLeverageEnabled","type":"bool"}],"name":"SetIsLeverageEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"longSizes","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"shortSizes","type":"uint256[]"}],"name":"SetMaxGlobalSizes","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minExecutionFee","type":"uint256"}],"name":"SetMinExecutionFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"SetPositionKeeper","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"referralStorage","type":"address"}],"name":"SetReferralStorage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"increasePositionRequestKeysStart","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"decreasePositionRequestKeysStart","type":"uint256"}],"name":"SetRequestKeysStartValues","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawFees","type":"event"},{"inputs":[],"name":"BASIS_POINTS_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"callbackGasLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"address payable","name":"_executionFeeReceiver","type":"address"}],"name":"cancelDecreasePosition","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"address payable","name":"_executionFeeReceiver","type":"address"}],"name":"cancelIncreasePosition","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_path","type":"address[]"},{"internalType":"address","name":"_indexToken","type":"address"},{"internalType":"uint256","name":"_collateralDelta","type":"uint256"},{"internalType":"uint256","name":"_sizeDelta","type":"uint256"},{"internalType":"bool","name":"_isLong","type":"bool"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_acceptablePrice","type":"uint256"},{"internalType":"uint256","name":"_minOut","type":"uint256"},{"internalType":"uint256","name":"_executionFee","type":"uint256"},{"internalType":"bool","name":"_withdrawETH","type":"bool"},{"internalType":"address","name":"_callbackTarget","type":"address"}],"name":"createDecreasePosition","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_path","type":"address[]"},{"internalType":"address","name":"_indexToken","type":"address"},{"internalType":"uint256","name":"_amountIn","type":"uint256"},{"internalType":"uint256","name":"_minOut","type":"uint256"},{"internalType":"uint256","name":"_sizeDelta","type":"uint256"},{"internalType":"bool","name":"_isLong","type":"bool"},{"internalType":"uint256","name":"_acceptablePrice","type":"uint256"},{"internalType":"uint256","name":"_executionFee","type":"uint256"},{"internalType":"bytes32","name":"_referralCode","type":"bytes32"},{"internalType":"address","name":"_callbackTarget","type":"address"}],"name":"createIncreasePosition","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_path","type":"address[]"},{"internalType":"address","name":"_indexToken","type":"address"},{"internalType":"uint256","name":"_minOut","type":"uint256"},{"internalType":"uint256","name":"_sizeDelta","type":"uint256"},{"internalType":"bool","name":"_isLong","type":"bool"},{"internalType":"uint256","name":"_acceptablePrice","type":"uint256"},{"internalType":"uint256","name":"_executionFee","type":"uint256"},{"internalType":"bytes32","name":"_referralCode","type":"bytes32"},{"internalType":"address","name":"_callbackTarget","type":"address"}],"name":"createIncreasePositionETH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"decreasePositionRequestKeys","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decreasePositionRequestKeysStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"decreasePositionRequests","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"indexToken","type":"address"},{"internalType":"uint256","name":"collateralDelta","type":"uint256"},{"internalType":"uint256","name":"sizeDelta","type":"uint256"},{"internalType":"bool","name":"isLong","type":"bool"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"acceptablePrice","type":"uint256"},{"internalType":"uint256","name":"minOut","type":"uint256"},{"internalType":"uint256","name":"executionFee","type":"uint256"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"uint256","name":"blockTime","type":"uint256"},{"internalType":"bool","name":"withdrawETH","type":"bool"},{"internalType":"address","name":"callbackTarget","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"decreasePositionsIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"address payable","name":"_executionFeeReceiver","type":"address"}],"name":"executeDecreasePosition","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endIndex","type":"uint256"},{"internalType":"address payable","name":"_executionFeeReceiver","type":"address"}],"name":"executeDecreasePositions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"address payable","name":"_executionFeeReceiver","type":"address"}],"name":"executeIncreasePosition","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endIndex","type":"uint256"},{"internalType":"address payable","name":"_executionFeeReceiver","type":"address"}],"name":"executeIncreasePositions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"feeReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"}],"name":"getDecreasePositionRequestPath","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"}],"name":"getIncreasePositionRequestPath","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getRequestKey","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getRequestQueueLengths","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"increasePositionBufferBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"increasePositionRequestKeys","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"increasePositionRequestKeysStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"increasePositionRequests","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"indexToken","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"minOut","type":"uint256"},{"internalType":"uint256","name":"sizeDelta","type":"uint256"},{"internalType":"bool","name":"isLong","type":"bool"},{"internalType":"uint256","name":"acceptablePrice","type":"uint256"},{"internalType":"uint256","name":"executionFee","type":"uint256"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"uint256","name":"blockTime","type":"uint256"},{"internalType":"bool","name":"hasCollateralInETH","type":"bool"},{"internalType":"address","name":"callbackTarget","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"increasePositionsIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLeverageEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isPositionKeeper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxGlobalLongSizes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxGlobalShortSizes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTimeDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBlockDelayKeeper","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minExecutionFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTimeDelayPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralStorage","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_callbackGasLimit","type":"uint256"}],"name":"setCallbackGasLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minBlockDelayKeeper","type":"uint256"},{"internalType":"uint256","name":"_minTimeDelayPublic","type":"uint256"},{"internalType":"uint256","name":"_maxTimeDelay","type":"uint256"}],"name":"setDelayValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_depositFee","type":"uint256"}],"name":"setDepositFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gov","type":"address"}],"name":"setGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_increasePositionBufferBps","type":"uint256"}],"name":"setIncreasePositionBufferBps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isLeverageEnabled","type":"bool"}],"name":"setIsLeverageEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"uint256[]","name":"_longSizes","type":"uint256[]"},{"internalType":"uint256[]","name":"_shortSizes","type":"uint256[]"}],"name":"setMaxGlobalSizes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minExecutionFee","type":"uint256"}],"name":"setMinExecutionFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setPositionKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_referralStorage","type":"address"}],"name":"setReferralStorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_increasePositionRequestKeysStart","type":"uint256"},{"internalType":"uint256","name":"_decreasePositionRequestKeysStart","type":"uint256"}],"name":"setRequestKeysStartValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shortsTracker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"withdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260646008556011805460ff191660011790553480156200002357600080fd5b50604051620060bb380380620060bb833981810160405260c08110156200004957600080fd5b508051602082015160408301516060840151608085015160a090950151600160008181558154336001600160a01b031991821681179093556003805482166001600160a01b03998a16179055600580548216978916979097179096556006805487169588169590951790945560079690965560048054851695909216949094179055600280549092169093179055600d55615fd0908190620000eb90396000f3fe60806040526004361061027e5760003560e01c80626cc35e146102d357806304225954146103045780630d4d003d146103405780631045c74e1461038d578063126082cf146103c057806312d43a51146103d55780631bca8cf0146103ea5780631ce9cb8f146103ff5780631f28510614610432578063225fc9fd146104d4578063233bfe3b1461050d57806324a084df1461053757806324f746971461057057806327b42c0f14610585578063308aa81f146105be5780633422ead1146105ee57806336eba48a146106295780633a2a80c71461065c5780633e72a262146106715780633fc8cef3146106865780634067b1321461069b5780634278555f146106d1578063490ae210146106fb5780635841fcaa146107255780635b88e8c61461073a5780635d5c22e81461081357806360a362e21461088d57806362f8a3fe146108c6578063633451de146108ff57806363ae210314610932578063657bc5d01461094757806367a527931461095c578063704b6c02146109715780637be7d141146109a45780637c2eb9f714610a8f5780638a54942f14610abb57806395e9bbd714610ae55780639698d25a14610b0f57806398d1e03a14610b425780639a20810014610b575780639b57862014610b90578063ae4d7f9a14610ba5578063cb0269c914610bd8578063cfad57a214610bed578063e1f21c6714610c20578063ef12c67e14610c63578063f255527814610e15578063f2ae372f14610e50578063f2cea6a514610f2f578063f3883d8b14610f6a578063f851a44014610fa3578063f887ea4014610fb8578063fa44457714610fcd578063faf990f314611000578063fbfa77cf14611099578063fc2cee62146110ae576102ce565b366102ce576006546001600160a01b031633146102cc5760405162461bcd60e51b8152600401808060200182810382526023815260200180615f4e6023913960400191505060405180910390fd5b005b600080fd5b3480156102df57600080fd5b506102e86110d8565b604080516001600160a01b039092168252519081900360200190f35b34801561031057600080fd5b5061032e6004803603602081101561032757600080fd5b50356110e7565b60408051918252519081900360200190f35b34801561034c57600080fd5b506103796004803603604081101561036357600080fd5b50803590602001356001600160a01b0316611105565b604080519115158252519081900360200190f35b34801561039957600080fd5b5061032e600480360360208110156103b057600080fd5b50356001600160a01b03166115a3565b3480156103cc57600080fd5b5061032e6115b5565b3480156103e157600080fd5b506102e86115bb565b3480156103f657600080fd5b5061032e6115ca565b34801561040b57600080fd5b5061032e6004803603602081101561042257600080fd5b50356001600160a01b03166115d0565b34801561043e57600080fd5b5061045c6004803603602081101561045557600080fd5b50356115e2565b604080516001600160a01b039e8f1681529c8e1660208e01528c81019b909b5260608c019990995296151560808b0152948a1660a08a015260c089019390935260e088019190915261010087015261012086015261014085015215156101608401529092166101808201529051908190036101a00190f35b3480156104e057600080fd5b50610379600480360360408110156104f757600080fd5b50803590602001356001600160a01b0316611655565b34801561051957600080fd5b506102cc6004803603602081101561053057600080fd5b5035611a1f565b34801561054357600080fd5b506102cc6004803603604081101561055a57600080fd5b506001600160a01b038135169060200135611aa7565b34801561057c57600080fd5b5061032e611b0b565b34801561059157600080fd5b50610379600480360360408110156105a857600080fd5b50803590602001356001600160a01b0316611b11565b3480156105ca57600080fd5b506102cc600480360360408110156105e157600080fd5b5080359060200135611f73565b3480156105fa57600080fd5b506102cc6004803603604081101561061157600080fd5b506001600160a01b0381351690602001351515612009565b34801561063557600080fd5b506103796004803603602081101561064c57600080fd5b50356001600160a01b03166120b6565b34801561066857600080fd5b5061032e6120cb565b34801561067d57600080fd5b506103796120d1565b34801561069257600080fd5b506102e86120da565b3480156106a757600080fd5b506102cc600480360360608110156106be57600080fd5b50803590602081013590604001356120e9565b3480156106dd57600080fd5b5061032e600480360360208110156106f457600080fd5b503561218a565b34801561070757600080fd5b506102cc6004803603602081101561071e57600080fd5b5035612197565b34801561073157600080fd5b5061032e61221f565b61032e600480360361012081101561075157600080fd5b810190602081018135600160201b81111561076b57600080fd5b82018360208201111561077d57600080fd5b803590602001918460208302840111600160201b8311171561079e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505081356001600160a01b03908116935060208301359260408101359250606081013515159160808201359160a08101359160c08201359160e0013516612225565b34801561081f57600080fd5b5061083d6004803603602081101561083657600080fd5b50356123e1565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610879578181015183820152602001610861565b505050509050019250505060405180910390f35b34801561089957600080fd5b50610379600480360360408110156108b057600080fd5b50803590602001356001600160a01b0316612517565b3480156108d257600080fd5b5061032e600480360360408110156108e957600080fd5b506001600160a01b0381351690602001356128b5565b34801561090b57600080fd5b5061032e6004803603602081101561092257600080fd5b50356001600160a01b03166128fb565b34801561093e57600080fd5b5061032e61290d565b34801561095357600080fd5b506102e8612913565b34801561096857600080fd5b5061032e612922565b34801561097d57600080fd5b506102cc6004803603602081101561099457600080fd5b50356001600160a01b0316612928565b61032e60048036036101608110156109bb57600080fd5b810190602081018135600160201b8111156109d557600080fd5b8201836020820111156109e757600080fd5b803590602001918460208302840111600160201b83111715610a0857600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505081356001600160a01b039081169350602083013592604081013592506060810135151591608082013581169160a08101359160c08201359160e0810135916101008201351515916101200135166129c9565b348015610a9b57600080fd5b506102cc60048036036020811015610ab257600080fd5b50351515612b79565b348015610ac757600080fd5b506102cc60048036036020811015610ade57600080fd5b5035612c0d565b348015610af157600080fd5b5061083d60048036036020811015610b0857600080fd5b5035612c95565b348015610b1b57600080fd5b5061032e60048036036020811015610b3257600080fd5b50356001600160a01b0316612dc3565b348015610b4e57600080fd5b5061032e612dd5565b348015610b6357600080fd5b506102cc60048036036040811015610b7a57600080fd5b50803590602001356001600160a01b0316612ddb565b348015610b9c57600080fd5b5061032e612fb3565b348015610bb157600080fd5b506102cc60048036036020811015610bc857600080fd5b50356001600160a01b0316612fb9565b348015610be457600080fd5b5061032e61305a565b348015610bf957600080fd5b506102cc60048036036020811015610c1057600080fd5b50356001600160a01b0316613060565b348015610c2c57600080fd5b506102cc60048036036060811015610c4357600080fd5b506001600160a01b038135811691602081013590911690604001356130cf565b348015610c6f57600080fd5b506102cc60048036036060811015610c8657600080fd5b810190602081018135600160201b811115610ca057600080fd5b820183602082011115610cb257600080fd5b803590602001918460208302840111600160201b83111715610cd357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610d2257600080fd5b820183602082011115610d3457600080fd5b803590602001918460208302840111600160201b83111715610d5557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610da457600080fd5b820183602082011115610db657600080fd5b803590602001918460208302840111600160201b83111715610dd757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506131a4945050505050565b348015610e2157600080fd5b506102cc60048036036040811015610e3857600080fd5b506001600160a01b0381358116916020013516613393565b61032e6004803603610140811015610e6757600080fd5b810190602081018135600160201b811115610e8157600080fd5b820183602082011115610e9357600080fd5b803590602001918460208302840111600160201b83111715610eb457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550506001600160a01b038335811694506020840135936040810135935060608101359250608081013515159160a08201359160c08101359160e082013591610100013516613477565b348015610f3b57600080fd5b50610f4461365a565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610f7657600080fd5b506102cc60048036036040811015610f8d57600080fd5b50803590602001356001600160a01b031661366c565b348015610faf57600080fd5b506102e8613844565b348015610fc457600080fd5b506102e8613853565b348015610fd957600080fd5b5061032e60048036036020811015610ff057600080fd5b50356001600160a01b0316613862565b34801561100c57600080fd5b5061102a6004803603602081101561102357600080fd5b5035613874565b604080516001600160a01b039d8e1681529b8d1660208d01528b81019a909a5260608b019890985260808a019690965293151560a089015260c088019290925260e087015261010086015261012085015215156101408401529092166101608201529051908190036101800190f35b3480156110a557600080fd5b506102e86138e8565b3480156110ba57600080fd5b506102cc600480360360208110156110d157600080fd5b50356138f7565b6009546001600160a01b031681565b601281815481106110f457fe5b600091825260209091200154905081565b60006002600054141561114d576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b600260005561115a615b85565b6000848152601b602090815260409182902082516101c08101845281546001600160a01b03168152600182018054855181860281018601909652808652919492938581019392908301828280156111da57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116111bc575b505050918352505060028201546001600160a01b0390811660208301526003830154604083015260048301546060830152600583015460ff8082161515608085015261010091829004831660a0850152600685015460c0850152600785015460e08501526008850154828501526009850154610120850152600a850154610140850152600b90940154938416151561016084015290920482166101809091015281519192501661128e576001915050611598565b60006112a9826101400151836101600151846000015161397f565b9050806112bb57600092505050611598565b6000858152601b6020526040812080546001600160a01b0319168155906112e56001830182615c1c565b506002810180546001600160a01b0319169055600060038201819055600482018190556005820180546001600160a81b031990811690915560068301829055600783018290556008830182905560098301829055600a8301829055600b909201805490921690915582516020840151805161138b929190849061136457fe5b60200260200101518560400151866060015187608001518860a00151308a60e00151613b05565b9050801561143a57600183602001515111156113fb57600354602084015180516113e4926001600160a01b03169184916000906113c457fe5b60200260200101516001600160a01b0316613f9e9092919063ffffffff16565b6113f8836020015184610100015130613ff5565b90505b8261018001511561141957611414818460c00151614073565b61143a565b61143a8360c00151828560200151600187602001515103815181106113c457fe5b61144983610120015186614073565b82600001516001600160a01b03167f21435c5b618d77ff3657140cd3318e2cffaebc5e0e1b7318f56a9ba4044c3ed284602001518560400151866060015187608001518860a001518960c001518a60e001518b61010001518c61012001516114bf8e61014001514361410190919063ffffffff16565b6101608f01516114d0904290614101565b60405180806020018c6001600160a01b031681526020018b81526020018a81526020018915158152602001886001600160a01b0316815260200187815260200186815260200185815260200184815260200183815260200182810382528d818151815260200191508051906020019060200280838360005b83811015611560578181015183820152602001611548565b505050509050019c5050505050505050505050505060405180910390a2611590836101a001518760016000614143565b600193505050505b600160005592915050565b600b6020526000908152604090205481565b61271081565b6001546001600160a01b031681565b60155481565b600a6020526000908152604090205481565b601b602052600090815260409020805460028201546003830154600484015460058501546006860154600787015460088801546009890154600a8a0154600b909a01546001600160a01b03998a169a988a16999798969760ff80881698610100988990048316989093918216929104168d565b60006002600054141561169d576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b60026000556116aa615c3a565b60008481526019602090815260409182902082516101a08101845281546001600160a01b031681526001820180548551818602810186019096528086529194929385810193929083018282801561172a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161170c575b505050918352505060028201546001600160a01b039081166020830152600383015460408301526004830154606083015260058301546080830152600683015460ff908116151560a0840152600784015460c0840152600884015460e0840152600984015461010080850191909152600a850154610120850152600b909401549081161515610140840152929092048216610160909101528151919250166117d6576001915050611598565b60006117f18261012001518361014001518460000151614249565b90508061180357600092505050611598565b600085815260196020526040812080546001600160a01b03191681559061182d6001830182615c1c565b506002810180546001600160a01b0319169055600060038201819055600482018190556005820181905560068201805460ff19169055600782018190556008820181905560098201819055600a820155600b0180546001600160a81b0319169055610160820151156118b0576118ab82606001518360000151614073565b6118ce565b6118ce8260000151836060015184602001516000815181106113c457fe5b6118dd82610100015185614073565b81600001516001600160a01b03167f35b638e650e2328786fb405bd69d2083dbedc018d086662e74b775b4f1dae4bf83602001518460400151856060015186608001518760a001518860c001518960e001518a610100015161194d8c61012001514361410190919063ffffffff16565b6101408d015161195e904290614101565b60405180806020018b6001600160a01b031681526020018a8152602001898152602001888152602001871515815260200186815260200185815260200184815260200183815260200182810382528c818151815260200191508051906020019060200280838360005b838110156119df5781810151838201526020016119c7565b505050509050019b50505050505050505050505060405180910390a2611a0e8261018001518660006001614143565b600192505050600160005592915050565b6002546001600160a01b03163314611a6c576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b60088190556040805182815290517f21167d0d4661af93817ebce920f18986eed3d75d5e1c03f2aed05efcbafbc4529181900360200190a150565b6001546001600160a01b03163314611af4576040805162461bcd60e51b81526020600482015260156024820152600080516020615da9833981519152604482015290519081900360640190fd5b611b076001600160a01b038316826142b1565b5050565b60165481565b600060026000541415611b59576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b6002600055611b66615c3a565b60008481526019602090815260409182902082516101a08101845281546001600160a01b0316815260018201805485518186028101860190965280865291949293858101939290830182828015611be657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611bc8575b505050918352505060028201546001600160a01b039081166020830152600383015460408301526004830154606083015260058301546080830152600683015460ff908116151560a0840152600784015460c0840152600884015460e0840152600984015461010080850191909152600a850154610120850152600b90940154908116151561014084015292909204821661016090910152815191925016611c92576001915050611598565b6000611cad826101200151836101400151846000015161397f565b905080611cbf57600092505050611598565b600085815260196020526040812080546001600160a01b031916815590611ce96001830182615c1c565b506002810180546001600160a01b0319169055600060038201819055600482018190556005820181905560068201805460ff19169055600782018190556008820181905560098201819055600a820155600b0180546001600160a81b0319169055606082015115611df657606082015160208301515160011015611da557600354606084015160208501518051611d8f936001600160a01b03169291906000906113c457fe5b611da28360200151846080015130613ff5565b90505b6000611dc53385602001518487604001518860c001518960a00151614396565b60035460208601518051929350611df3926001600160a01b039092169184919060001981019081106113c457fe5b50505b815160208301518051611e349291906000198101908110611e1357fe5b602002602001015184604001518560a001518660c001518760e00151614475565b611e4382610100015185614073565b81600001516001600160a01b03167f1be316b94d38c07bd41cdb4913772d0a0a82802786a2f8b657b6e85dbcdfc64183602001518460400151856060015186608001518760a001518860c001518960e001518a6101000151611eb38c61012001514361410190919063ffffffff16565b6101408d0151611ec4904290614101565b60405180806020018b6001600160a01b031681526020018a8152602001898152602001888152602001871515815260200186815260200185815260200184815260200183815260200182810382528c818151815260200191508051906020019060200280838360005b83811015611f45578181015183820152602001611f2d565b505050509050019b50505050505050505050505060405180910390a2611a0e82610180015186600180614143565b6002546001600160a01b03163314611fc0576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b60148290556015819055604080518381526020810183905281517febb0f666150f4be5b60c45df8f3e49992510b0128027fe58eea6110f296493bc929181900390910190a15050565b6002546001600160a01b03163314612056576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b6001600160a01b038216600081815260176020908152604091829020805460ff1916851515908117909155825190815291517ffbabc02389290a451c6e600d05bf9887b99bfad39d8e1237e4e3df042e4941fe9281900390910190a25050565b60176020526000908152604090205460ff1681565b600f5481565b60115460ff1681565b6006546001600160a01b031681565b6002546001600160a01b03163314612136576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b600e839055600f8290556010819055604080518481526020810184905280820183905290517fb98e759701eaca2e60c25e91109003c1c7442ef731b5d569037063005da8254d9181900360600190a1505050565b601381815481106110f457fe5b6002546001600160a01b031633146121e4576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b60078190556040805182815290517f974fd3c1fcb4653dfc4fb740c4c692cd212d55c28f163f310128cb64d83006759181900360200190a150565b600e5481565b60006002600054141561226d576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b6002600055600d548410156122af576040805162461bcd60e51b815260206004820152600360248201526266656560e81b604482015290519081900360640190fd5b833410156122ea576040805162461bcd60e51b81526020600482015260036024820152621d985b60ea1b604482015290519081900360640190fd5b8951600114806122fb575089516002145b612332576040805162461bcd60e51b81526020600482015260036024820152623632b760e91b604482015290519081900360640190fd5b6006548a516001600160a01b03909116908b9060009061234e57fe5b60200260200101516001600160a01b03161461239a576040805162461bcd60e51b815260206004808301919091526024820152630e0c2e8d60e31b604482015290519081900360640190fd5b6123a261487d565b6123ab836148e9565b60006123b73486614101565b90506123cd338c8c848d8d8d8d8d60018d61495d565b60016000559b9a5050505050505050505050565b60606123eb615b85565b6000838152601b602090815260409182902082516101c08101845281546001600160a01b031681526001820180548551818602810186019096528086529194929385810193929083018282801561246b57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161244d575b505050918352505060028201546001600160a01b039081166020808401919091526003840154604084015260048401546060840152600584015460ff8082161515608086015261010091829004841660a0860152600686015460c0860152600786015460e08601526008860154828601526009860154610120860152600a860154610140860152600b909501549485161515610160850152909304166101809091015201519392505050565b60006002600054141561255f576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b600260005561256c615b85565b6000848152601b602090815260409182902082516101c08101845281546001600160a01b03168152600182018054855181860281018601909652808652919492938581019392908301828280156125ec57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116125ce575b505050918352505060028201546001600160a01b0390811660208301526003830154604083015260048301546060830152600583015460ff8082161515608085015261010091829004831660a0850152600685015460c0850152600785015460e08501526008850154828501526009850154610120850152600a850154610140850152600b9094015493841615156101608401529092048216610180909101528151919250166126a0576001915050611598565b60006126bb8261014001518361016001518460000151614249565b9050806126cd57600092505050611598565b6000858152601b6020526040812080546001600160a01b0319168155906126f76001830182615c1c565b506002810180546001600160a01b0319169055600060038201819055600482018190556005820180546001600160a81b031990811690915560068301829055600783018290556008830182905560098301829055600a830191909155600b9091018054909116905561012082015161276f9085614073565b81600001516001600160a01b03167f87abfd78e844f28318363bdf3da99eab2f4a2da9ff7ae365484507f7b6c3f80583602001518460400151856060015186608001518760a001518860c001518960e001518a61010001518b61012001516127e58d61014001514361410190919063ffffffff16565b6101608e01516127f6904290614101565b60405180806020018c6001600160a01b031681526020018b81526020018a81526020018915158152602001886001600160a01b0316815260200187815260200186815260200185815260200184815260200183815260200182810382528d818151815260200191508051906020019060200280838360005b8381101561288657818101518382015260200161286e565b505050509050019c5050505050505050505050505060405180910390a2611a0e826101a0015186600080614143565b6000828260405160200180836001600160a01b031660601b8152601401828152602001925050506040516020818303038152906040528051906020012090505b92915050565b60186020526000908152604090205481565b600d5481565b6004546001600160a01b031681565b60075481565b6001546001600160a01b03163314612975576040805162461bcd60e51b81526020600482015260156024820152600080516020615da9833981519152604482015290519081900360640190fd5b600280546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f5a272403b402d892977df56625f4164ccaf70ca3863991c43ecfe76a6905b0a19181900360200190a150565b600060026000541415612a11576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b6002600055600d54841015612a53576040805162461bcd60e51b815260206004820152600360248201526266656560e81b604482015290519081900360640190fd5b833414612a8d576040805162461bcd60e51b81526020600482015260036024820152621d985b60ea1b604482015290519081900360640190fd5b8b5160011480612a9e57508b516002145b612ad5576040805162461bcd60e51b81526020600482015260036024820152623632b760e91b604482015290519081900360640190fd5b8215612b48576006548c516001600160a01b03909116908d906000198101908110612afc57fe5b60200260200101516001600160a01b031614612b48576040805162461bcd60e51b815260206004808301919091526024820152630e0c2e8d60e31b604482015290519081900360640190fd5b612b5061487d565b612b64338d8d8d8d8d8d8d8d8d8d8d614af4565b60016000559c9b505050505050505050505050565b6002546001600160a01b03163314612bc6576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b6011805482151560ff19909116811790915560408051918252517f4eb87a5935d402aa24c01b45bfb30adefcd2328b480f2d967864de4b64ea929f9181900360200190a150565b6002546001600160a01b03163314612c5a576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b60168190556040805182815290517f22bd2c9f980325d046be74aaef5fc76df4a2bc3fbc7c5a1200fcc79fe80dab6c9181900360200190a150565b6060612c9f615c3a565b60008381526019602090815260409182902082516101a08101845281546001600160a01b0316815260018201805485518186028101860190965280865291949293858101939290830182828015612d1f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612d01575b505050918352505060028201546001600160a01b03908116602080840191909152600384015460408401526004840154606084015260058401546080840152600684015460ff908116151560a0850152600785015460c0850152600885015460e0850152600985015461010080860191909152600a860154610120860152600b90950154908116151561014085015293909304166101609091015201519392505050565b600c6020526000908152604090205481565b60085481565b3360009081526017602052604090205460ff16612e25576040805162461bcd60e51b815260206004820152600360248201526234303360e81b604482015290519081900360640190fd5b601454601254808210612e39575050611b07565b80841115612e45578093505b83821015612fab57600060128381548110612e5c57fe5b90600052602060002001549050306001600160a01b03166327b42c0f82866040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050602060405180830381600087803b158015612ec057600080fd5b505af1925050508015612ee557506040513d6020811015612ee057600080fd5b505160015b612f79576040805163225fc9fd60e01b8152600481018390526001600160a01b03861660248201529051309163225fc9fd9160448083019260209291908290030181600087803b158015612f3857600080fd5b505af1925050508015612f5d57506040513d6020811015612f5857600080fd5b505160015b612f6657612f74565b80612f72575050612fab565b505b612f87565b80612f85575050612fab565b505b60128381548110612f9457fe5b600091825260208220015550600190910190612e45565b506014555050565b60145481565b6002546001600160a01b03163314613006576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b600980546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f828abcccea18192c21d645e575652c49e20b986dab777906fc473d056b01b6a89181900360200190a150565b60105481565b6001546001600160a01b031633146130ad576040805162461bcd60e51b81526020600482015260156024820152600080516020615da9833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b0316331461311c576040805162461bcd60e51b81526020600482015260156024820152600080516020615da9833981519152604482015290519081900360640190fd5b826001600160a01b031663095ea7b383836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561317357600080fd5b505af1158015613187573d6000803e3d6000fd5b505050506040513d602081101561319d57600080fd5b5050505050565b6002546001600160a01b031633146131f1576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b60005b835181101561328c57600084828151811061320b57fe5b6020026020010151905083828151811061322157fe5b6020026020010151600b6000836001600160a01b03166001600160a01b031681526020019081526020016000208190555082828151811061325e57fe5b6020908102919091018101516001600160a01b039092166000908152600c90915260409020556001016131f4565b507fae32d569b058895b9620d6552b09aaffedc9a6f396be4d595a224ad09f8b213983838360405180806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156132f95781810151838201526020016132e1565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015613338578181015183820152602001613320565b50505050905001848103825285818151815260200191508051906020019060200280838360005b8381101561337757818101518382015260200161335f565b50505050905001965050505050505060405180910390a1505050565b6002546001600160a01b031633146133e0576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b6001600160a01b0382166000908152600a6020526040902054806134045750611b07565b6001600160a01b0383166000818152600a6020526040812055613428908383613f9e565b604080516001600160a01b0380861682528416602082015280820183905290517f4f1b51dd7a2fcb861aa2670f668be66835c4ee12b4bbbf037e4d0018f39819e49181900360600190a1505050565b6000600260005414156134bf576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b6002600055600d54841015613501576040805162461bcd60e51b815260206004820152600360248201526266656560e81b604482015290519081900360640190fd5b83341461353b576040805162461bcd60e51b81526020600482015260036024820152621d985b60ea1b604482015290519081900360640190fd5b8a516001148061354c57508a516002145b613583576040805162461bcd60e51b81526020600482015260036024820152623632b760e91b604482015290519081900360640190fd5b61358b61487d565b613594836148e9565b8815613646576005548b516001600160a01b0390911690631b827878908d906000906135bc57fe5b602002602001015133308d6040518563ffffffff1660e01b815260040180856001600160a01b03168152602001846001600160a01b03168152602001836001600160a01b03168152602001828152602001945050505050600060405180830381600087803b15801561362d57600080fd5b505af1158015613641573d6000803e3d6000fd5b505050505b6123cd338c8c8c8c8c8c8c8c60008c61495d565b60145460125460155460135490919293565b3360009081526017602052604090205460ff166136b6576040805162461bcd60e51b815260206004820152600360248201526234303360e81b604482015290519081900360640190fd5b6015546013548082106136ca575050611b07565b808411156136d6578093505b8382101561383c576000601383815481106136ed57fe5b90600052602060002001549050306001600160a01b0316630d4d003d82866040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050602060405180830381600087803b15801561375157600080fd5b505af192505050801561377657506040513d602081101561377157600080fd5b505160015b61380a5760408051633051b17160e11b8152600481018390526001600160a01b0386166024820152905130916360a362e29160448083019260209291908290030181600087803b1580156137c957600080fd5b505af19250505080156137ee57506040513d60208110156137e957600080fd5b505160015b6137f757613805565b8061380357505061383c565b505b613818565b8061381657505061383c565b505b6013838154811061382557fe5b6000918252602082200155506001909101906136d6565b506015555050565b6002546001600160a01b031681565b6005546001600160a01b031681565b601a6020526000908152604090205481565b6019602052600090815260409020805460028201546003830154600484015460058501546006860154600787015460088801546009890154600a8a0154600b909a01546001600160a01b03998a169a988a169997989697959660ff958616969495939492939092908216916101009004168c565b6003546001600160a01b031681565b6002546001600160a01b03163314613944576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b600d8190556040805182815290517f52a8358457e20bbb36e4086b83fb0749599f1893fe4c35a876c46dc4886d12db9181900360200190a150565b60004261399760105485614cce90919063ffffffff16565b116139d3576040805162461bcd60e51b8152602060048201526007602482015266195e1c1a5c995960ca1b604482015290519081900360640190fd5b6000333014806139f257503360009081526017602052604090205460ff165b60115490915060ff16158015613a06575080155b15613a3e576040805162461bcd60e51b815260206004820152600360248201526234303360e81b604482015290519081900360640190fd5b8015613a645743613a5a600e5487614cce90919063ffffffff16565b1115915050613afe565b336001600160a01b03841614613aa7576040805162461bcd60e51b815260206004820152600360248201526234303360e81b604482015290519081900360640190fd5b42613abd600f5486614cce90919063ffffffff16565b1115613af8576040805162461bcd60e51b815260206004820152600560248201526464656c617960d81b604482015290519081900360640190fd5b60019150505b9392505050565b6003546000906001600160a01b03168185613b9857816001600160a01b031663e124e6d28a6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613b6757600080fd5b505afa158015613b7b573d6000803e3d6000fd5b505050506040513d6020811015613b9157600080fd5b5051613c12565b816001600160a01b03166381a612d68a6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613be557600080fd5b505afa158015613bf9573d6000803e3d6000fd5b505050506040513d6020811015613c0f57600080fd5b50515b90508515613c5e5783811015613c595760405162461bcd60e51b8152600401808060200182810382526030815260200180615e546030913960400191505060405180910390fd5b613c9d565b83811115613c9d5760405162461bcd60e51b8152600401808060200182810382526031815260200180615ef46031913960400191505060405180910390fd5b6000826001600160a01b03166312d43a516040518163ffffffff1660e01b815260040160206040518083038186803b158015613cd857600080fd5b505afa158015613cec573d6000803e3d6000fd5b505050506040513d6020811015613d0257600080fd5b81019080805190602001909291905050509050600460009054906101000a90046001600160a01b03166001600160a01b031663f3238cec8d8d8d8b8d8860006040518863ffffffff1660e01b815260040180886001600160a01b03168152602001876001600160a01b03168152602001866001600160a01b0316815260200185151581526020018481526020018381526020018215158152602001975050505050505050600060405180830381600087803b158015613dc057600080fd5b505af1158015613dd4573d6000803e3d6000fd5b50505050806001600160a01b0316636d63c1d0846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015613e2757600080fd5b505af1158015613e3b573d6000803e3d6000fd5b505050506000600560009054906101000a90046001600160a01b03166001600160a01b0316632662166b8e8e8e8e8e8e8e6040518863ffffffff1660e01b815260040180886001600160a01b03168152602001876001600160a01b03168152602001866001600160a01b031681526020018581526020018481526020018315158152602001826001600160a01b03168152602001975050505050505050602060405180830381600087803b158015613ef257600080fd5b505af1158015613f06573d6000803e3d6000fd5b505050506040513d6020811015613f1c57600080fd5b50516040805163d3c87bbb60e01b81526001600160a01b03878116600483015291519293509084169163d3c87bbb9160248082019260009290919082900301818387803b158015613f6c57600080fd5b505af1158015613f80573d6000803e3d6000fd5b50505050613f8e8d8a614d26565b9c9b505050505050505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052613ff0908490614eaf565b505050565b600083516002141561403c576140358460008151811061401157fe5b60200260200101518560018151811061402657fe5b60200260200101518585614f60565b9050613afe565b60405162461bcd60e51b8152600401808060200182810382526029815260200180615f256029913960400191505060405180910390fd5b60065460408051632e1a7d4d60e01b81526004810185905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b1580156140c057600080fd5b505af11580156140d4573d6000803e3d6000fd5b50506040516001600160a01b038416925084156108fc02915084906000818181858888f150505050505050565b6000613afe83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250615036565b6001600160a01b03841661415657614243565b614168846001600160a01b03166150cd565b61417157614243565b6016548061417f5750614243565b6000856001600160a01b031663edf3daec838787876040518563ffffffff1660e01b815260040180848152602001831515815260200182151581526020019350505050600060405180830381600088803b1580156141dc57600080fd5b5087f1935050505080156141ee575060015b6141f7576141fb565b5060015b604080516001600160a01b0388168152821515602082015281517f46ddbd62fc1a7626fe9c43026cb0694aec0b031fe81ac66fb4cfe9381dc6fe72929181900390910190a150505b50505050565b600080333014806139f257503360009081526017602052604090205460ff1660115490915060ff16158015613a06575080613a3e576040805162461bcd60e51b815260206004820152600360248201526234303360e81b604482015290519081900360640190fd5b80471015614306576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d8060008114614351576040519150601f19603f3d011682016040523d82523d6000602084013e614356565b606091505b5050905080613ff05760405162461bcd60e51b815260040180806020018281038252603a815260200180615df4603a913960400191505060405180910390fd5b6000806143a78888888888886150d3565b905080156144665760006143de6127106143d86143d160075461271061410190919063ffffffff16565b8a906152b0565b90615309565b905060006143ec8883614101565b905060008960018b51038151811061440057fe5b6020026020010151905061444282600a6000846001600160a01b03166001600160a01b0316815260200190815260200160002054614cce90919063ffffffff16565b6001600160a01b039091166000908152600a602052604090205550915061446b9050565b859150505b9695505050505050565b6003546001600160a01b031660008361450657816001600160a01b03166381a612d6876040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156144d557600080fd5b505afa1580156144e9573d6000803e3d6000fd5b505050506040513d60208110156144ff57600080fd5b5051614580565b816001600160a01b031663e124e6d2876040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561455357600080fd5b505afa158015614567573d6000803e3d6000fd5b505050506040513d602081101561457d57600080fd5b50515b905083156145cc57828111156145c75760405162461bcd60e51b8152600401808060200182810382526031815260200180615ef46031913960400191505060405180910390fd5b61460b565b8281101561460b5760405162461bcd60e51b8152600401808060200182810382526030815260200180615e546030913960400191505060405180910390fd5b614616868587615348565b6000826001600160a01b03166312d43a516040518163ffffffff1660e01b815260040160206040518083038186803b15801561465157600080fd5b505afa158015614665573d6000803e3d6000fd5b505050506040513d602081101561467b57600080fd5b50516004805460408051633cc8e33b60e21b81526001600160a01b038e8116948201949094528c841660248201528b841660448201528915156064820152608481018b905260a48101879052600160c4820152905193945091169163f3238cec9160e48082019260009290919082900301818387803b1580156146fd57600080fd5b505af1158015614711573d6000803e3d6000fd5b50505050806001600160a01b0316636d63c1d0846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561476457600080fd5b505af1158015614778573d6000803e3d6000fd5b505060055460408051630f8ee8bb60e11b81526001600160a01b038e811660048301528d811660248301528c81166044830152606482018c90528a151560848301529151919092169350631f1dd176925060a480830192600092919082900301818387803b1580156147e957600080fd5b505af11580156147fd573d6000803e3d6000fd5b50505050806001600160a01b031663d3c87bbb846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561485057600080fd5b505af1158015614864573d6000803e3d6000fd5b5050505061487289876154fa565b505050505050505050565b34156148e757600660009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156148d357600080fd5b505af115801561319d573d6000803e3d6000fd5b565b801580159061490257506009546001600160a01b031615155b1561495a57600954604080516356b4b2ad60e01b81523360048201526024810184905290516001600160a01b03909216916356b4b2ad9160448082019260009290919082900301818387803b1580156148d357600080fd5b50565b6000614967615c3a565b604051806101a001604052808e6001600160a01b031681526020018d81526020018c6001600160a01b031681526020018b81526020018a815260200189815260200188151581526020018781526020018681526020014381526020014281526020018515158152602001846001600160a01b031681525090506000806149ec83615600565b915091508e6001600160a01b03167f5265bc4952da402633b3fc35f67ab4245493a0ab94dd8ab123667c8d45a4485c8f8f8f8f8f8f8f8f8b60016012805490500343423a60405180806020018e6001600160a01b031681526020018d81526020018c81526020018b81526020018a1515815260200189815260200188815260200187815260200186815260200185815260200184815260200183815260200182810382528f818151815260200191508051906020019060200280838360005b83811015614ac3578181015183820152602001614aab565b505050509050019e50505050505050505050505050505060405180910390a29e9d5050505050505050505050505050565b6000614afe615b85565b604051806101c001604052808f6001600160a01b031681526020018e81526020018d6001600160a01b031681526020018c81526020018b81526020018a15158152602001896001600160a01b031681526020018881526020018781526020018681526020014381526020014281526020018515158152602001846001600160a01b03168152509050600080614b928361579e565b9150915082600001516001600160a01b03167f81ed0476a7e785a9e4728fffd679ea97176ca1ac85e1003462558bb5677da57b84602001518560400151866060015187608001518860a001518960c001518a60e001518b61010001518c61012001518c600160138054905003434260405180806020018e6001600160a01b031681526020018d81526020018c81526020018b151581526020018a6001600160a01b0316815260200189815260200188815260200187815260200186815260200185815260200184815260200183815260200182810382528f818151815260200191508051906020019060200280838360005b83811015614c9c578181015183820152602001614c84565b505050509050019e50505050505050505050505050505060405180910390a29f9e505050505050505050505050505050565b600082820183811015613afe576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b6009546001600160a01b031680614d3d5750611b07565b600080826001600160a01b031663534ef883866040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050604080518083038186803b158015614d8c57600080fd5b505afa158015614da0573d6000803e3d6000fd5b505050506040513d6040811015614db657600080fd5b508051602090910151909250905081614dd157505050611b07565b7f474c763ff84bf2c2039a6d9fea955ecd0f724030e3c365b91169c6a16fe751b78585600360009054906101000a90046001600160a01b03166001600160a01b031663318bc6896040518163ffffffff1660e01b815260040160206040518083038186803b158015614e4257600080fd5b505afa158015614e56573d6000803e3d6000fd5b505050506040513d6020811015614e6c57600080fd5b5051604080516001600160a01b03948516815260208101939093528281019190915260608201869052918416608082015290519081900360a00190a15050505050565b6060614f04826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166159479092919063ffffffff16565b805190915015613ff057808060200190516020811015614f2357600080fd5b5051613ff05760405162461bcd60e51b815260040180806020018281038252602a815260200180615f71602a913960400191505060405180910390fd5b60035460408051634998b10960e11b81526001600160a01b03878116600483015286811660248301528481166044830152915160009384931691639331621291606480830192602092919082900301818787803b158015614fc057600080fd5b505af1158015614fd4573d6000803e3d6000fd5b505050506040513d6020811015614fea57600080fd5b505190508381101561502d5760405162461bcd60e51b815260040180806020018281038252602b815260200180615dc9602b913960400191505060405180910390fd5b95945050505050565b600081848411156150c55760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561508a578181015183820152602001615072565b50505050905090810190601f1680156150b75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b3b151590565b6000826150e25750600061446b565b816150ef5750600161446b565b60008660018851038151811061510157fe5b602090810291909101015160035460408051634a3f088d60e01b81526001600160a01b038c81166004830152808516602483015289811660448301528815156064830152915193945091169160009182918491634a3f088d91608480830192610100929190829003018186803b15801561517a57600080fd5b505afa15801561518e573d6000803e3d6000fd5b505050506040513d6101008110156151a557600080fd5b5080516020909101519092509050816151c557600094505050505061446b565b60006151d18388614cce565b90506000846001600160a01b0316630a48d5a9878d6040518363ffffffff1660e01b815260040180836001600160a01b031681526020018281526020019250505060206040518083038186803b15801561522a57600080fd5b505afa15801561523e573d6000803e3d6000fd5b505050506040513d602081101561525457600080fd5b5051905060006152648483614cce565b90506000615278856143d8886127106152b0565b90506000615299836143d860085461271001886152b090919063ffffffff16565b919091109f9e505050505050505050505050505050565b6000826152bf575060006128f5565b828202828482816152cc57fe5b0414613afe5760405162461bcd60e51b8152600401808060200182810382526021815260200180615ed36021913960400191505060405180910390fd5b6000613afe83836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b81525061595e565b8061535257613ff0565b8115615445576001600160a01b0383166000908152600b6020526040902054801580159061540357506003546040805163783a2b6760e11b81526001600160a01b0387811660048301529151849361540193879391169163f07456ce91602480820192602092909190829003018186803b1580156153cf57600080fd5b505afa1580156153e3573d6000803e3d6000fd5b505050506040513d60208110156153f957600080fd5b505190614cce565b115b1561543f5760405162461bcd60e51b815260040180806020018281038252602e815260200180615d5b602e913960400191505060405180910390fd5b50613ff0565b6001600160a01b0383166000908152600c602052604090205480158015906154be57506003546040805163114f1b5560e31b81526001600160a01b038781166004830152915184936154bc938793911691638a78daa891602480820192602092909190829003018186803b1580156153cf57600080fd5b115b156142435760405162461bcd60e51b815260040180806020018281038252602f815260200180615ea4602f913960400191505060405180910390fd5b6009546001600160a01b0316806155115750611b07565b600080826001600160a01b031663534ef883866040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050604080518083038186803b15801561556057600080fd5b505afa158015615574573d6000803e3d6000fd5b505050506040513d604081101561558a57600080fd5b5080516020918201516003546040805163318bc68960e01b815290519396509194507fc2414023ce7002ee98557d1e7be21e5559073336f2217ee5f9b2e50fd85f71ee93899389936001600160a01b039093169263318bc689926004808301939192829003018186803b158015614e4257600080fd5b80516001600160a01b03811660009081526018602052604081205490918291829061562c906001614cce565b6001600160a01b038316600090815260186020526040812082905590915061565483836128b5565b6000818152601960209081526040909120885181546001600160a01b0319166001600160a01b03909116178155888201518051939450899391926156a092600185019290910190615cc1565b5060408201516002820180546001600160a01b039283166001600160a01b0319909116179055606083015160038301556080830151600483015560a0830151600583015560c083015160068301805491151560ff1992831617905560e084015160078401556101008085015160088501556101208501516009850155610140850151600a850155610160850151600b90940180546101809096015190931602610100600160a81b0319931515949091169390931791909116919091179055601280546001810182556000919091527fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec344401819055909350915050915091565b80516001600160a01b0381166000908152601a60205260408120549091829182906157ca906001614cce565b6001600160a01b0383166000908152601a602052604081208290559091506157f283836128b5565b6000818152601b60209081526040909120885181546001600160a01b0319166001600160a01b039091161781558882015180519394508993919261583e92600185019290910190615cc1565b5060408201516002820180546001600160a01b039283166001600160a01b0319909116179055606083015160038301556080830151600483015560a083015160058301805460c08601518416610100908102610100600160a81b031994151560ff199384161785161790925560e0860151600686015581860151600786015561012086015160088601556101408601516009860155610160860151600a860155610180860151600b90950180546101a090970151909416909102931515941693909317909216179055601380546001810182556000919091527f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09001819055909350915050915091565b606061595684846000856159c3565b949350505050565b600081836159ad5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561508a578181015183820152602001615072565b5060008385816159b957fe5b0495945050505050565b606082471015615a045760405162461bcd60e51b8152600401808060200182810382526026815260200180615e2e6026913960400191505060405180910390fd5b615a0d856150cd565b615a5e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310615a9d5780518252601f199092019160209182019101615a7e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114615aff576040519150601f19603f3d011682016040523d82523d6000602084013e615b04565b606091505b5091509150615b14828286615b1f565b979650505050505050565b60608315615b2e575081613afe565b825115615b3e5782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561508a578181015183820152602001615072565b604051806101c0016040528060006001600160a01b031681526020016060815260200160006001600160a01b03168152602001600081526020016000815260200160001515815260200160006001600160a01b03168152602001600081526020016000815260200160008152602001600081526020016000815260200160001515815260200160006001600160a01b031681525090565b508054600082559060005260206000209081019061495a9190615d26565b604051806101a0016040528060006001600160a01b031681526020016060815260200160006001600160a01b031681526020016000815260200160008152602001600081526020016000151581526020016000815260200160008152602001600081526020016000815260200160001515815260200160006001600160a01b031681525090565b828054828255906000526020600020908101928215615d16579160200282015b82811115615d1657825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190615ce1565b50615d22929150615d3b565b5090565b5b80821115615d225760008155600101615d27565b5b80821115615d225780546001600160a01b0319168155600101615d3c56fe42617365506f736974696f6e4d616e616765723a206d617820676c6f62616c206c6f6e67732065786365656465645265656e7472616e637947756172643a207265656e7472616e742063616c6c00476f7665726e61626c653a20666f7262696464656e000000000000000000000042617365506f736974696f6e4d616e616765723a20696e73756666696369656e7420616d6f756e744f7574416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c42617365506f736974696f6e4d616e616765723a206d61726b207072696365206c6f776572207468616e206c696d697442617365506f736974696f6e4d616e616765723a20666f7262696464656e000042617365506f736974696f6e4d616e616765723a206d617820676c6f62616c2073686f727473206578636565646564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7742617365506f736974696f6e4d616e616765723a206d61726b20707269636520686967686572207468616e206c696d697442617365506f736974696f6e4d616e616765723a20696e76616c6964205f706174682e6c656e67746842617365506f736974696f6e4d616e616765723a20696e76616c69642073656e6465725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122029b55e9b5cbc63763169a9cdb9f34985b31d30185ef298559d0eff88fccef80b64736f6c634300060c00330000000000000000000000003cb54f0eb62c371065d739a34a775cc16f46563e0000000000000000000000003acf67bd8c291f9c5bbbb14ac0ec86f60abce36e00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83000000000000000000000000266d4c8dc144259acd034357dae69eca9ba569b8000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000003782dace9d90000

Deployed Bytecode

0x60806040526004361061027e5760003560e01c80626cc35e146102d357806304225954146103045780630d4d003d146103405780631045c74e1461038d578063126082cf146103c057806312d43a51146103d55780631bca8cf0146103ea5780631ce9cb8f146103ff5780631f28510614610432578063225fc9fd146104d4578063233bfe3b1461050d57806324a084df1461053757806324f746971461057057806327b42c0f14610585578063308aa81f146105be5780633422ead1146105ee57806336eba48a146106295780633a2a80c71461065c5780633e72a262146106715780633fc8cef3146106865780634067b1321461069b5780634278555f146106d1578063490ae210146106fb5780635841fcaa146107255780635b88e8c61461073a5780635d5c22e81461081357806360a362e21461088d57806362f8a3fe146108c6578063633451de146108ff57806363ae210314610932578063657bc5d01461094757806367a527931461095c578063704b6c02146109715780637be7d141146109a45780637c2eb9f714610a8f5780638a54942f14610abb57806395e9bbd714610ae55780639698d25a14610b0f57806398d1e03a14610b425780639a20810014610b575780639b57862014610b90578063ae4d7f9a14610ba5578063cb0269c914610bd8578063cfad57a214610bed578063e1f21c6714610c20578063ef12c67e14610c63578063f255527814610e15578063f2ae372f14610e50578063f2cea6a514610f2f578063f3883d8b14610f6a578063f851a44014610fa3578063f887ea4014610fb8578063fa44457714610fcd578063faf990f314611000578063fbfa77cf14611099578063fc2cee62146110ae576102ce565b366102ce576006546001600160a01b031633146102cc5760405162461bcd60e51b8152600401808060200182810382526023815260200180615f4e6023913960400191505060405180910390fd5b005b600080fd5b3480156102df57600080fd5b506102e86110d8565b604080516001600160a01b039092168252519081900360200190f35b34801561031057600080fd5b5061032e6004803603602081101561032757600080fd5b50356110e7565b60408051918252519081900360200190f35b34801561034c57600080fd5b506103796004803603604081101561036357600080fd5b50803590602001356001600160a01b0316611105565b604080519115158252519081900360200190f35b34801561039957600080fd5b5061032e600480360360208110156103b057600080fd5b50356001600160a01b03166115a3565b3480156103cc57600080fd5b5061032e6115b5565b3480156103e157600080fd5b506102e86115bb565b3480156103f657600080fd5b5061032e6115ca565b34801561040b57600080fd5b5061032e6004803603602081101561042257600080fd5b50356001600160a01b03166115d0565b34801561043e57600080fd5b5061045c6004803603602081101561045557600080fd5b50356115e2565b604080516001600160a01b039e8f1681529c8e1660208e01528c81019b909b5260608c019990995296151560808b0152948a1660a08a015260c089019390935260e088019190915261010087015261012086015261014085015215156101608401529092166101808201529051908190036101a00190f35b3480156104e057600080fd5b50610379600480360360408110156104f757600080fd5b50803590602001356001600160a01b0316611655565b34801561051957600080fd5b506102cc6004803603602081101561053057600080fd5b5035611a1f565b34801561054357600080fd5b506102cc6004803603604081101561055a57600080fd5b506001600160a01b038135169060200135611aa7565b34801561057c57600080fd5b5061032e611b0b565b34801561059157600080fd5b50610379600480360360408110156105a857600080fd5b50803590602001356001600160a01b0316611b11565b3480156105ca57600080fd5b506102cc600480360360408110156105e157600080fd5b5080359060200135611f73565b3480156105fa57600080fd5b506102cc6004803603604081101561061157600080fd5b506001600160a01b0381351690602001351515612009565b34801561063557600080fd5b506103796004803603602081101561064c57600080fd5b50356001600160a01b03166120b6565b34801561066857600080fd5b5061032e6120cb565b34801561067d57600080fd5b506103796120d1565b34801561069257600080fd5b506102e86120da565b3480156106a757600080fd5b506102cc600480360360608110156106be57600080fd5b50803590602081013590604001356120e9565b3480156106dd57600080fd5b5061032e600480360360208110156106f457600080fd5b503561218a565b34801561070757600080fd5b506102cc6004803603602081101561071e57600080fd5b5035612197565b34801561073157600080fd5b5061032e61221f565b61032e600480360361012081101561075157600080fd5b810190602081018135600160201b81111561076b57600080fd5b82018360208201111561077d57600080fd5b803590602001918460208302840111600160201b8311171561079e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505081356001600160a01b03908116935060208301359260408101359250606081013515159160808201359160a08101359160c08201359160e0013516612225565b34801561081f57600080fd5b5061083d6004803603602081101561083657600080fd5b50356123e1565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610879578181015183820152602001610861565b505050509050019250505060405180910390f35b34801561089957600080fd5b50610379600480360360408110156108b057600080fd5b50803590602001356001600160a01b0316612517565b3480156108d257600080fd5b5061032e600480360360408110156108e957600080fd5b506001600160a01b0381351690602001356128b5565b34801561090b57600080fd5b5061032e6004803603602081101561092257600080fd5b50356001600160a01b03166128fb565b34801561093e57600080fd5b5061032e61290d565b34801561095357600080fd5b506102e8612913565b34801561096857600080fd5b5061032e612922565b34801561097d57600080fd5b506102cc6004803603602081101561099457600080fd5b50356001600160a01b0316612928565b61032e60048036036101608110156109bb57600080fd5b810190602081018135600160201b8111156109d557600080fd5b8201836020820111156109e757600080fd5b803590602001918460208302840111600160201b83111715610a0857600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505081356001600160a01b039081169350602083013592604081013592506060810135151591608082013581169160a08101359160c08201359160e0810135916101008201351515916101200135166129c9565b348015610a9b57600080fd5b506102cc60048036036020811015610ab257600080fd5b50351515612b79565b348015610ac757600080fd5b506102cc60048036036020811015610ade57600080fd5b5035612c0d565b348015610af157600080fd5b5061083d60048036036020811015610b0857600080fd5b5035612c95565b348015610b1b57600080fd5b5061032e60048036036020811015610b3257600080fd5b50356001600160a01b0316612dc3565b348015610b4e57600080fd5b5061032e612dd5565b348015610b6357600080fd5b506102cc60048036036040811015610b7a57600080fd5b50803590602001356001600160a01b0316612ddb565b348015610b9c57600080fd5b5061032e612fb3565b348015610bb157600080fd5b506102cc60048036036020811015610bc857600080fd5b50356001600160a01b0316612fb9565b348015610be457600080fd5b5061032e61305a565b348015610bf957600080fd5b506102cc60048036036020811015610c1057600080fd5b50356001600160a01b0316613060565b348015610c2c57600080fd5b506102cc60048036036060811015610c4357600080fd5b506001600160a01b038135811691602081013590911690604001356130cf565b348015610c6f57600080fd5b506102cc60048036036060811015610c8657600080fd5b810190602081018135600160201b811115610ca057600080fd5b820183602082011115610cb257600080fd5b803590602001918460208302840111600160201b83111715610cd357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610d2257600080fd5b820183602082011115610d3457600080fd5b803590602001918460208302840111600160201b83111715610d5557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610da457600080fd5b820183602082011115610db657600080fd5b803590602001918460208302840111600160201b83111715610dd757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506131a4945050505050565b348015610e2157600080fd5b506102cc60048036036040811015610e3857600080fd5b506001600160a01b0381358116916020013516613393565b61032e6004803603610140811015610e6757600080fd5b810190602081018135600160201b811115610e8157600080fd5b820183602082011115610e9357600080fd5b803590602001918460208302840111600160201b83111715610eb457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550506001600160a01b038335811694506020840135936040810135935060608101359250608081013515159160a08201359160c08101359160e082013591610100013516613477565b348015610f3b57600080fd5b50610f4461365a565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610f7657600080fd5b506102cc60048036036040811015610f8d57600080fd5b50803590602001356001600160a01b031661366c565b348015610faf57600080fd5b506102e8613844565b348015610fc457600080fd5b506102e8613853565b348015610fd957600080fd5b5061032e60048036036020811015610ff057600080fd5b50356001600160a01b0316613862565b34801561100c57600080fd5b5061102a6004803603602081101561102357600080fd5b5035613874565b604080516001600160a01b039d8e1681529b8d1660208d01528b81019a909a5260608b019890985260808a019690965293151560a089015260c088019290925260e087015261010086015261012085015215156101408401529092166101608201529051908190036101800190f35b3480156110a557600080fd5b506102e86138e8565b3480156110ba57600080fd5b506102cc600480360360208110156110d157600080fd5b50356138f7565b6009546001600160a01b031681565b601281815481106110f457fe5b600091825260209091200154905081565b60006002600054141561114d576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b600260005561115a615b85565b6000848152601b602090815260409182902082516101c08101845281546001600160a01b03168152600182018054855181860281018601909652808652919492938581019392908301828280156111da57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116111bc575b505050918352505060028201546001600160a01b0390811660208301526003830154604083015260048301546060830152600583015460ff8082161515608085015261010091829004831660a0850152600685015460c0850152600785015460e08501526008850154828501526009850154610120850152600a850154610140850152600b90940154938416151561016084015290920482166101809091015281519192501661128e576001915050611598565b60006112a9826101400151836101600151846000015161397f565b9050806112bb57600092505050611598565b6000858152601b6020526040812080546001600160a01b0319168155906112e56001830182615c1c565b506002810180546001600160a01b0319169055600060038201819055600482018190556005820180546001600160a81b031990811690915560068301829055600783018290556008830182905560098301829055600a8301829055600b909201805490921690915582516020840151805161138b929190849061136457fe5b60200260200101518560400151866060015187608001518860a00151308a60e00151613b05565b9050801561143a57600183602001515111156113fb57600354602084015180516113e4926001600160a01b03169184916000906113c457fe5b60200260200101516001600160a01b0316613f9e9092919063ffffffff16565b6113f8836020015184610100015130613ff5565b90505b8261018001511561141957611414818460c00151614073565b61143a565b61143a8360c00151828560200151600187602001515103815181106113c457fe5b61144983610120015186614073565b82600001516001600160a01b03167f21435c5b618d77ff3657140cd3318e2cffaebc5e0e1b7318f56a9ba4044c3ed284602001518560400151866060015187608001518860a001518960c001518a60e001518b61010001518c61012001516114bf8e61014001514361410190919063ffffffff16565b6101608f01516114d0904290614101565b60405180806020018c6001600160a01b031681526020018b81526020018a81526020018915158152602001886001600160a01b0316815260200187815260200186815260200185815260200184815260200183815260200182810382528d818151815260200191508051906020019060200280838360005b83811015611560578181015183820152602001611548565b505050509050019c5050505050505050505050505060405180910390a2611590836101a001518760016000614143565b600193505050505b600160005592915050565b600b6020526000908152604090205481565b61271081565b6001546001600160a01b031681565b60155481565b600a6020526000908152604090205481565b601b602052600090815260409020805460028201546003830154600484015460058501546006860154600787015460088801546009890154600a8a0154600b909a01546001600160a01b03998a169a988a16999798969760ff80881698610100988990048316989093918216929104168d565b60006002600054141561169d576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b60026000556116aa615c3a565b60008481526019602090815260409182902082516101a08101845281546001600160a01b031681526001820180548551818602810186019096528086529194929385810193929083018282801561172a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161170c575b505050918352505060028201546001600160a01b039081166020830152600383015460408301526004830154606083015260058301546080830152600683015460ff908116151560a0840152600784015460c0840152600884015460e0840152600984015461010080850191909152600a850154610120850152600b909401549081161515610140840152929092048216610160909101528151919250166117d6576001915050611598565b60006117f18261012001518361014001518460000151614249565b90508061180357600092505050611598565b600085815260196020526040812080546001600160a01b03191681559061182d6001830182615c1c565b506002810180546001600160a01b0319169055600060038201819055600482018190556005820181905560068201805460ff19169055600782018190556008820181905560098201819055600a820155600b0180546001600160a81b0319169055610160820151156118b0576118ab82606001518360000151614073565b6118ce565b6118ce8260000151836060015184602001516000815181106113c457fe5b6118dd82610100015185614073565b81600001516001600160a01b03167f35b638e650e2328786fb405bd69d2083dbedc018d086662e74b775b4f1dae4bf83602001518460400151856060015186608001518760a001518860c001518960e001518a610100015161194d8c61012001514361410190919063ffffffff16565b6101408d015161195e904290614101565b60405180806020018b6001600160a01b031681526020018a8152602001898152602001888152602001871515815260200186815260200185815260200184815260200183815260200182810382528c818151815260200191508051906020019060200280838360005b838110156119df5781810151838201526020016119c7565b505050509050019b50505050505050505050505060405180910390a2611a0e8261018001518660006001614143565b600192505050600160005592915050565b6002546001600160a01b03163314611a6c576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b60088190556040805182815290517f21167d0d4661af93817ebce920f18986eed3d75d5e1c03f2aed05efcbafbc4529181900360200190a150565b6001546001600160a01b03163314611af4576040805162461bcd60e51b81526020600482015260156024820152600080516020615da9833981519152604482015290519081900360640190fd5b611b076001600160a01b038316826142b1565b5050565b60165481565b600060026000541415611b59576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b6002600055611b66615c3a565b60008481526019602090815260409182902082516101a08101845281546001600160a01b0316815260018201805485518186028101860190965280865291949293858101939290830182828015611be657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611bc8575b505050918352505060028201546001600160a01b039081166020830152600383015460408301526004830154606083015260058301546080830152600683015460ff908116151560a0840152600784015460c0840152600884015460e0840152600984015461010080850191909152600a850154610120850152600b90940154908116151561014084015292909204821661016090910152815191925016611c92576001915050611598565b6000611cad826101200151836101400151846000015161397f565b905080611cbf57600092505050611598565b600085815260196020526040812080546001600160a01b031916815590611ce96001830182615c1c565b506002810180546001600160a01b0319169055600060038201819055600482018190556005820181905560068201805460ff19169055600782018190556008820181905560098201819055600a820155600b0180546001600160a81b0319169055606082015115611df657606082015160208301515160011015611da557600354606084015160208501518051611d8f936001600160a01b03169291906000906113c457fe5b611da28360200151846080015130613ff5565b90505b6000611dc53385602001518487604001518860c001518960a00151614396565b60035460208601518051929350611df3926001600160a01b039092169184919060001981019081106113c457fe5b50505b815160208301518051611e349291906000198101908110611e1357fe5b602002602001015184604001518560a001518660c001518760e00151614475565b611e4382610100015185614073565b81600001516001600160a01b03167f1be316b94d38c07bd41cdb4913772d0a0a82802786a2f8b657b6e85dbcdfc64183602001518460400151856060015186608001518760a001518860c001518960e001518a6101000151611eb38c61012001514361410190919063ffffffff16565b6101408d0151611ec4904290614101565b60405180806020018b6001600160a01b031681526020018a8152602001898152602001888152602001871515815260200186815260200185815260200184815260200183815260200182810382528c818151815260200191508051906020019060200280838360005b83811015611f45578181015183820152602001611f2d565b505050509050019b50505050505050505050505060405180910390a2611a0e82610180015186600180614143565b6002546001600160a01b03163314611fc0576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b60148290556015819055604080518381526020810183905281517febb0f666150f4be5b60c45df8f3e49992510b0128027fe58eea6110f296493bc929181900390910190a15050565b6002546001600160a01b03163314612056576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b6001600160a01b038216600081815260176020908152604091829020805460ff1916851515908117909155825190815291517ffbabc02389290a451c6e600d05bf9887b99bfad39d8e1237e4e3df042e4941fe9281900390910190a25050565b60176020526000908152604090205460ff1681565b600f5481565b60115460ff1681565b6006546001600160a01b031681565b6002546001600160a01b03163314612136576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b600e839055600f8290556010819055604080518481526020810184905280820183905290517fb98e759701eaca2e60c25e91109003c1c7442ef731b5d569037063005da8254d9181900360600190a1505050565b601381815481106110f457fe5b6002546001600160a01b031633146121e4576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b60078190556040805182815290517f974fd3c1fcb4653dfc4fb740c4c692cd212d55c28f163f310128cb64d83006759181900360200190a150565b600e5481565b60006002600054141561226d576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b6002600055600d548410156122af576040805162461bcd60e51b815260206004820152600360248201526266656560e81b604482015290519081900360640190fd5b833410156122ea576040805162461bcd60e51b81526020600482015260036024820152621d985b60ea1b604482015290519081900360640190fd5b8951600114806122fb575089516002145b612332576040805162461bcd60e51b81526020600482015260036024820152623632b760e91b604482015290519081900360640190fd5b6006548a516001600160a01b03909116908b9060009061234e57fe5b60200260200101516001600160a01b03161461239a576040805162461bcd60e51b815260206004808301919091526024820152630e0c2e8d60e31b604482015290519081900360640190fd5b6123a261487d565b6123ab836148e9565b60006123b73486614101565b90506123cd338c8c848d8d8d8d8d60018d61495d565b60016000559b9a5050505050505050505050565b60606123eb615b85565b6000838152601b602090815260409182902082516101c08101845281546001600160a01b031681526001820180548551818602810186019096528086529194929385810193929083018282801561246b57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161244d575b505050918352505060028201546001600160a01b039081166020808401919091526003840154604084015260048401546060840152600584015460ff8082161515608086015261010091829004841660a0860152600686015460c0860152600786015460e08601526008860154828601526009860154610120860152600a860154610140860152600b909501549485161515610160850152909304166101809091015201519392505050565b60006002600054141561255f576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b600260005561256c615b85565b6000848152601b602090815260409182902082516101c08101845281546001600160a01b03168152600182018054855181860281018601909652808652919492938581019392908301828280156125ec57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116125ce575b505050918352505060028201546001600160a01b0390811660208301526003830154604083015260048301546060830152600583015460ff8082161515608085015261010091829004831660a0850152600685015460c0850152600785015460e08501526008850154828501526009850154610120850152600a850154610140850152600b9094015493841615156101608401529092048216610180909101528151919250166126a0576001915050611598565b60006126bb8261014001518361016001518460000151614249565b9050806126cd57600092505050611598565b6000858152601b6020526040812080546001600160a01b0319168155906126f76001830182615c1c565b506002810180546001600160a01b0319169055600060038201819055600482018190556005820180546001600160a81b031990811690915560068301829055600783018290556008830182905560098301829055600a830191909155600b9091018054909116905561012082015161276f9085614073565b81600001516001600160a01b03167f87abfd78e844f28318363bdf3da99eab2f4a2da9ff7ae365484507f7b6c3f80583602001518460400151856060015186608001518760a001518860c001518960e001518a61010001518b61012001516127e58d61014001514361410190919063ffffffff16565b6101608e01516127f6904290614101565b60405180806020018c6001600160a01b031681526020018b81526020018a81526020018915158152602001886001600160a01b0316815260200187815260200186815260200185815260200184815260200183815260200182810382528d818151815260200191508051906020019060200280838360005b8381101561288657818101518382015260200161286e565b505050509050019c5050505050505050505050505060405180910390a2611a0e826101a0015186600080614143565b6000828260405160200180836001600160a01b031660601b8152601401828152602001925050506040516020818303038152906040528051906020012090505b92915050565b60186020526000908152604090205481565b600d5481565b6004546001600160a01b031681565b60075481565b6001546001600160a01b03163314612975576040805162461bcd60e51b81526020600482015260156024820152600080516020615da9833981519152604482015290519081900360640190fd5b600280546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f5a272403b402d892977df56625f4164ccaf70ca3863991c43ecfe76a6905b0a19181900360200190a150565b600060026000541415612a11576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b6002600055600d54841015612a53576040805162461bcd60e51b815260206004820152600360248201526266656560e81b604482015290519081900360640190fd5b833414612a8d576040805162461bcd60e51b81526020600482015260036024820152621d985b60ea1b604482015290519081900360640190fd5b8b5160011480612a9e57508b516002145b612ad5576040805162461bcd60e51b81526020600482015260036024820152623632b760e91b604482015290519081900360640190fd5b8215612b48576006548c516001600160a01b03909116908d906000198101908110612afc57fe5b60200260200101516001600160a01b031614612b48576040805162461bcd60e51b815260206004808301919091526024820152630e0c2e8d60e31b604482015290519081900360640190fd5b612b5061487d565b612b64338d8d8d8d8d8d8d8d8d8d8d614af4565b60016000559c9b505050505050505050505050565b6002546001600160a01b03163314612bc6576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b6011805482151560ff19909116811790915560408051918252517f4eb87a5935d402aa24c01b45bfb30adefcd2328b480f2d967864de4b64ea929f9181900360200190a150565b6002546001600160a01b03163314612c5a576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b60168190556040805182815290517f22bd2c9f980325d046be74aaef5fc76df4a2bc3fbc7c5a1200fcc79fe80dab6c9181900360200190a150565b6060612c9f615c3a565b60008381526019602090815260409182902082516101a08101845281546001600160a01b0316815260018201805485518186028101860190965280865291949293858101939290830182828015612d1f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612d01575b505050918352505060028201546001600160a01b03908116602080840191909152600384015460408401526004840154606084015260058401546080840152600684015460ff908116151560a0850152600785015460c0850152600885015460e0850152600985015461010080860191909152600a860154610120860152600b90950154908116151561014085015293909304166101609091015201519392505050565b600c6020526000908152604090205481565b60085481565b3360009081526017602052604090205460ff16612e25576040805162461bcd60e51b815260206004820152600360248201526234303360e81b604482015290519081900360640190fd5b601454601254808210612e39575050611b07565b80841115612e45578093505b83821015612fab57600060128381548110612e5c57fe5b90600052602060002001549050306001600160a01b03166327b42c0f82866040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050602060405180830381600087803b158015612ec057600080fd5b505af1925050508015612ee557506040513d6020811015612ee057600080fd5b505160015b612f79576040805163225fc9fd60e01b8152600481018390526001600160a01b03861660248201529051309163225fc9fd9160448083019260209291908290030181600087803b158015612f3857600080fd5b505af1925050508015612f5d57506040513d6020811015612f5857600080fd5b505160015b612f6657612f74565b80612f72575050612fab565b505b612f87565b80612f85575050612fab565b505b60128381548110612f9457fe5b600091825260208220015550600190910190612e45565b506014555050565b60145481565b6002546001600160a01b03163314613006576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b600980546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f828abcccea18192c21d645e575652c49e20b986dab777906fc473d056b01b6a89181900360200190a150565b60105481565b6001546001600160a01b031633146130ad576040805162461bcd60e51b81526020600482015260156024820152600080516020615da9833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b0316331461311c576040805162461bcd60e51b81526020600482015260156024820152600080516020615da9833981519152604482015290519081900360640190fd5b826001600160a01b031663095ea7b383836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561317357600080fd5b505af1158015613187573d6000803e3d6000fd5b505050506040513d602081101561319d57600080fd5b5050505050565b6002546001600160a01b031633146131f1576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b60005b835181101561328c57600084828151811061320b57fe5b6020026020010151905083828151811061322157fe5b6020026020010151600b6000836001600160a01b03166001600160a01b031681526020019081526020016000208190555082828151811061325e57fe5b6020908102919091018101516001600160a01b039092166000908152600c90915260409020556001016131f4565b507fae32d569b058895b9620d6552b09aaffedc9a6f396be4d595a224ad09f8b213983838360405180806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156132f95781810151838201526020016132e1565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015613338578181015183820152602001613320565b50505050905001848103825285818151815260200191508051906020019060200280838360005b8381101561337757818101518382015260200161335f565b50505050905001965050505050505060405180910390a1505050565b6002546001600160a01b031633146133e0576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b6001600160a01b0382166000908152600a6020526040902054806134045750611b07565b6001600160a01b0383166000818152600a6020526040812055613428908383613f9e565b604080516001600160a01b0380861682528416602082015280820183905290517f4f1b51dd7a2fcb861aa2670f668be66835c4ee12b4bbbf037e4d0018f39819e49181900360600190a1505050565b6000600260005414156134bf576040805162461bcd60e51b815260206004820152601f6024820152600080516020615d89833981519152604482015290519081900360640190fd5b6002600055600d54841015613501576040805162461bcd60e51b815260206004820152600360248201526266656560e81b604482015290519081900360640190fd5b83341461353b576040805162461bcd60e51b81526020600482015260036024820152621d985b60ea1b604482015290519081900360640190fd5b8a516001148061354c57508a516002145b613583576040805162461bcd60e51b81526020600482015260036024820152623632b760e91b604482015290519081900360640190fd5b61358b61487d565b613594836148e9565b8815613646576005548b516001600160a01b0390911690631b827878908d906000906135bc57fe5b602002602001015133308d6040518563ffffffff1660e01b815260040180856001600160a01b03168152602001846001600160a01b03168152602001836001600160a01b03168152602001828152602001945050505050600060405180830381600087803b15801561362d57600080fd5b505af1158015613641573d6000803e3d6000fd5b505050505b6123cd338c8c8c8c8c8c8c8c60008c61495d565b60145460125460155460135490919293565b3360009081526017602052604090205460ff166136b6576040805162461bcd60e51b815260206004820152600360248201526234303360e81b604482015290519081900360640190fd5b6015546013548082106136ca575050611b07565b808411156136d6578093505b8382101561383c576000601383815481106136ed57fe5b90600052602060002001549050306001600160a01b0316630d4d003d82866040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050602060405180830381600087803b15801561375157600080fd5b505af192505050801561377657506040513d602081101561377157600080fd5b505160015b61380a5760408051633051b17160e11b8152600481018390526001600160a01b0386166024820152905130916360a362e29160448083019260209291908290030181600087803b1580156137c957600080fd5b505af19250505080156137ee57506040513d60208110156137e957600080fd5b505160015b6137f757613805565b8061380357505061383c565b505b613818565b8061381657505061383c565b505b6013838154811061382557fe5b6000918252602082200155506001909101906136d6565b506015555050565b6002546001600160a01b031681565b6005546001600160a01b031681565b601a6020526000908152604090205481565b6019602052600090815260409020805460028201546003830154600484015460058501546006860154600787015460088801546009890154600a8a0154600b909a01546001600160a01b03998a169a988a169997989697959660ff958616969495939492939092908216916101009004168c565b6003546001600160a01b031681565b6002546001600160a01b03163314613944576040805162461bcd60e51b815260206004820152601e6024820152600080516020615e84833981519152604482015290519081900360640190fd5b600d8190556040805182815290517f52a8358457e20bbb36e4086b83fb0749599f1893fe4c35a876c46dc4886d12db9181900360200190a150565b60004261399760105485614cce90919063ffffffff16565b116139d3576040805162461bcd60e51b8152602060048201526007602482015266195e1c1a5c995960ca1b604482015290519081900360640190fd5b6000333014806139f257503360009081526017602052604090205460ff165b60115490915060ff16158015613a06575080155b15613a3e576040805162461bcd60e51b815260206004820152600360248201526234303360e81b604482015290519081900360640190fd5b8015613a645743613a5a600e5487614cce90919063ffffffff16565b1115915050613afe565b336001600160a01b03841614613aa7576040805162461bcd60e51b815260206004820152600360248201526234303360e81b604482015290519081900360640190fd5b42613abd600f5486614cce90919063ffffffff16565b1115613af8576040805162461bcd60e51b815260206004820152600560248201526464656c617960d81b604482015290519081900360640190fd5b60019150505b9392505050565b6003546000906001600160a01b03168185613b9857816001600160a01b031663e124e6d28a6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613b6757600080fd5b505afa158015613b7b573d6000803e3d6000fd5b505050506040513d6020811015613b9157600080fd5b5051613c12565b816001600160a01b03166381a612d68a6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613be557600080fd5b505afa158015613bf9573d6000803e3d6000fd5b505050506040513d6020811015613c0f57600080fd5b50515b90508515613c5e5783811015613c595760405162461bcd60e51b8152600401808060200182810382526030815260200180615e546030913960400191505060405180910390fd5b613c9d565b83811115613c9d5760405162461bcd60e51b8152600401808060200182810382526031815260200180615ef46031913960400191505060405180910390fd5b6000826001600160a01b03166312d43a516040518163ffffffff1660e01b815260040160206040518083038186803b158015613cd857600080fd5b505afa158015613cec573d6000803e3d6000fd5b505050506040513d6020811015613d0257600080fd5b81019080805190602001909291905050509050600460009054906101000a90046001600160a01b03166001600160a01b031663f3238cec8d8d8d8b8d8860006040518863ffffffff1660e01b815260040180886001600160a01b03168152602001876001600160a01b03168152602001866001600160a01b0316815260200185151581526020018481526020018381526020018215158152602001975050505050505050600060405180830381600087803b158015613dc057600080fd5b505af1158015613dd4573d6000803e3d6000fd5b50505050806001600160a01b0316636d63c1d0846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015613e2757600080fd5b505af1158015613e3b573d6000803e3d6000fd5b505050506000600560009054906101000a90046001600160a01b03166001600160a01b0316632662166b8e8e8e8e8e8e8e6040518863ffffffff1660e01b815260040180886001600160a01b03168152602001876001600160a01b03168152602001866001600160a01b031681526020018581526020018481526020018315158152602001826001600160a01b03168152602001975050505050505050602060405180830381600087803b158015613ef257600080fd5b505af1158015613f06573d6000803e3d6000fd5b505050506040513d6020811015613f1c57600080fd5b50516040805163d3c87bbb60e01b81526001600160a01b03878116600483015291519293509084169163d3c87bbb9160248082019260009290919082900301818387803b158015613f6c57600080fd5b505af1158015613f80573d6000803e3d6000fd5b50505050613f8e8d8a614d26565b9c9b505050505050505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052613ff0908490614eaf565b505050565b600083516002141561403c576140358460008151811061401157fe5b60200260200101518560018151811061402657fe5b60200260200101518585614f60565b9050613afe565b60405162461bcd60e51b8152600401808060200182810382526029815260200180615f256029913960400191505060405180910390fd5b60065460408051632e1a7d4d60e01b81526004810185905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b1580156140c057600080fd5b505af11580156140d4573d6000803e3d6000fd5b50506040516001600160a01b038416925084156108fc02915084906000818181858888f150505050505050565b6000613afe83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250615036565b6001600160a01b03841661415657614243565b614168846001600160a01b03166150cd565b61417157614243565b6016548061417f5750614243565b6000856001600160a01b031663edf3daec838787876040518563ffffffff1660e01b815260040180848152602001831515815260200182151581526020019350505050600060405180830381600088803b1580156141dc57600080fd5b5087f1935050505080156141ee575060015b6141f7576141fb565b5060015b604080516001600160a01b0388168152821515602082015281517f46ddbd62fc1a7626fe9c43026cb0694aec0b031fe81ac66fb4cfe9381dc6fe72929181900390910190a150505b50505050565b600080333014806139f257503360009081526017602052604090205460ff1660115490915060ff16158015613a06575080613a3e576040805162461bcd60e51b815260206004820152600360248201526234303360e81b604482015290519081900360640190fd5b80471015614306576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d8060008114614351576040519150601f19603f3d011682016040523d82523d6000602084013e614356565b606091505b5050905080613ff05760405162461bcd60e51b815260040180806020018281038252603a815260200180615df4603a913960400191505060405180910390fd5b6000806143a78888888888886150d3565b905080156144665760006143de6127106143d86143d160075461271061410190919063ffffffff16565b8a906152b0565b90615309565b905060006143ec8883614101565b905060008960018b51038151811061440057fe5b6020026020010151905061444282600a6000846001600160a01b03166001600160a01b0316815260200190815260200160002054614cce90919063ffffffff16565b6001600160a01b039091166000908152600a602052604090205550915061446b9050565b859150505b9695505050505050565b6003546001600160a01b031660008361450657816001600160a01b03166381a612d6876040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156144d557600080fd5b505afa1580156144e9573d6000803e3d6000fd5b505050506040513d60208110156144ff57600080fd5b5051614580565b816001600160a01b031663e124e6d2876040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561455357600080fd5b505afa158015614567573d6000803e3d6000fd5b505050506040513d602081101561457d57600080fd5b50515b905083156145cc57828111156145c75760405162461bcd60e51b8152600401808060200182810382526031815260200180615ef46031913960400191505060405180910390fd5b61460b565b8281101561460b5760405162461bcd60e51b8152600401808060200182810382526030815260200180615e546030913960400191505060405180910390fd5b614616868587615348565b6000826001600160a01b03166312d43a516040518163ffffffff1660e01b815260040160206040518083038186803b15801561465157600080fd5b505afa158015614665573d6000803e3d6000fd5b505050506040513d602081101561467b57600080fd5b50516004805460408051633cc8e33b60e21b81526001600160a01b038e8116948201949094528c841660248201528b841660448201528915156064820152608481018b905260a48101879052600160c4820152905193945091169163f3238cec9160e48082019260009290919082900301818387803b1580156146fd57600080fd5b505af1158015614711573d6000803e3d6000fd5b50505050806001600160a01b0316636d63c1d0846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561476457600080fd5b505af1158015614778573d6000803e3d6000fd5b505060055460408051630f8ee8bb60e11b81526001600160a01b038e811660048301528d811660248301528c81166044830152606482018c90528a151560848301529151919092169350631f1dd176925060a480830192600092919082900301818387803b1580156147e957600080fd5b505af11580156147fd573d6000803e3d6000fd5b50505050806001600160a01b031663d3c87bbb846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561485057600080fd5b505af1158015614864573d6000803e3d6000fd5b5050505061487289876154fa565b505050505050505050565b34156148e757600660009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156148d357600080fd5b505af115801561319d573d6000803e3d6000fd5b565b801580159061490257506009546001600160a01b031615155b1561495a57600954604080516356b4b2ad60e01b81523360048201526024810184905290516001600160a01b03909216916356b4b2ad9160448082019260009290919082900301818387803b1580156148d357600080fd5b50565b6000614967615c3a565b604051806101a001604052808e6001600160a01b031681526020018d81526020018c6001600160a01b031681526020018b81526020018a815260200189815260200188151581526020018781526020018681526020014381526020014281526020018515158152602001846001600160a01b031681525090506000806149ec83615600565b915091508e6001600160a01b03167f5265bc4952da402633b3fc35f67ab4245493a0ab94dd8ab123667c8d45a4485c8f8f8f8f8f8f8f8f8b60016012805490500343423a60405180806020018e6001600160a01b031681526020018d81526020018c81526020018b81526020018a1515815260200189815260200188815260200187815260200186815260200185815260200184815260200183815260200182810382528f818151815260200191508051906020019060200280838360005b83811015614ac3578181015183820152602001614aab565b505050509050019e50505050505050505050505050505060405180910390a29e9d5050505050505050505050505050565b6000614afe615b85565b604051806101c001604052808f6001600160a01b031681526020018e81526020018d6001600160a01b031681526020018c81526020018b81526020018a15158152602001896001600160a01b031681526020018881526020018781526020018681526020014381526020014281526020018515158152602001846001600160a01b03168152509050600080614b928361579e565b9150915082600001516001600160a01b03167f81ed0476a7e785a9e4728fffd679ea97176ca1ac85e1003462558bb5677da57b84602001518560400151866060015187608001518860a001518960c001518a60e001518b61010001518c61012001518c600160138054905003434260405180806020018e6001600160a01b031681526020018d81526020018c81526020018b151581526020018a6001600160a01b0316815260200189815260200188815260200187815260200186815260200185815260200184815260200183815260200182810382528f818151815260200191508051906020019060200280838360005b83811015614c9c578181015183820152602001614c84565b505050509050019e50505050505050505050505050505060405180910390a29f9e505050505050505050505050505050565b600082820183811015613afe576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b6009546001600160a01b031680614d3d5750611b07565b600080826001600160a01b031663534ef883866040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050604080518083038186803b158015614d8c57600080fd5b505afa158015614da0573d6000803e3d6000fd5b505050506040513d6040811015614db657600080fd5b508051602090910151909250905081614dd157505050611b07565b7f474c763ff84bf2c2039a6d9fea955ecd0f724030e3c365b91169c6a16fe751b78585600360009054906101000a90046001600160a01b03166001600160a01b031663318bc6896040518163ffffffff1660e01b815260040160206040518083038186803b158015614e4257600080fd5b505afa158015614e56573d6000803e3d6000fd5b505050506040513d6020811015614e6c57600080fd5b5051604080516001600160a01b03948516815260208101939093528281019190915260608201869052918416608082015290519081900360a00190a15050505050565b6060614f04826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166159479092919063ffffffff16565b805190915015613ff057808060200190516020811015614f2357600080fd5b5051613ff05760405162461bcd60e51b815260040180806020018281038252602a815260200180615f71602a913960400191505060405180910390fd5b60035460408051634998b10960e11b81526001600160a01b03878116600483015286811660248301528481166044830152915160009384931691639331621291606480830192602092919082900301818787803b158015614fc057600080fd5b505af1158015614fd4573d6000803e3d6000fd5b505050506040513d6020811015614fea57600080fd5b505190508381101561502d5760405162461bcd60e51b815260040180806020018281038252602b815260200180615dc9602b913960400191505060405180910390fd5b95945050505050565b600081848411156150c55760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561508a578181015183820152602001615072565b50505050905090810190601f1680156150b75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b3b151590565b6000826150e25750600061446b565b816150ef5750600161446b565b60008660018851038151811061510157fe5b602090810291909101015160035460408051634a3f088d60e01b81526001600160a01b038c81166004830152808516602483015289811660448301528815156064830152915193945091169160009182918491634a3f088d91608480830192610100929190829003018186803b15801561517a57600080fd5b505afa15801561518e573d6000803e3d6000fd5b505050506040513d6101008110156151a557600080fd5b5080516020909101519092509050816151c557600094505050505061446b565b60006151d18388614cce565b90506000846001600160a01b0316630a48d5a9878d6040518363ffffffff1660e01b815260040180836001600160a01b031681526020018281526020019250505060206040518083038186803b15801561522a57600080fd5b505afa15801561523e573d6000803e3d6000fd5b505050506040513d602081101561525457600080fd5b5051905060006152648483614cce565b90506000615278856143d8886127106152b0565b90506000615299836143d860085461271001886152b090919063ffffffff16565b919091109f9e505050505050505050505050505050565b6000826152bf575060006128f5565b828202828482816152cc57fe5b0414613afe5760405162461bcd60e51b8152600401808060200182810382526021815260200180615ed36021913960400191505060405180910390fd5b6000613afe83836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b81525061595e565b8061535257613ff0565b8115615445576001600160a01b0383166000908152600b6020526040902054801580159061540357506003546040805163783a2b6760e11b81526001600160a01b0387811660048301529151849361540193879391169163f07456ce91602480820192602092909190829003018186803b1580156153cf57600080fd5b505afa1580156153e3573d6000803e3d6000fd5b505050506040513d60208110156153f957600080fd5b505190614cce565b115b1561543f5760405162461bcd60e51b815260040180806020018281038252602e815260200180615d5b602e913960400191505060405180910390fd5b50613ff0565b6001600160a01b0383166000908152600c602052604090205480158015906154be57506003546040805163114f1b5560e31b81526001600160a01b038781166004830152915184936154bc938793911691638a78daa891602480820192602092909190829003018186803b1580156153cf57600080fd5b115b156142435760405162461bcd60e51b815260040180806020018281038252602f815260200180615ea4602f913960400191505060405180910390fd5b6009546001600160a01b0316806155115750611b07565b600080826001600160a01b031663534ef883866040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050604080518083038186803b15801561556057600080fd5b505afa158015615574573d6000803e3d6000fd5b505050506040513d604081101561558a57600080fd5b5080516020918201516003546040805163318bc68960e01b815290519396509194507fc2414023ce7002ee98557d1e7be21e5559073336f2217ee5f9b2e50fd85f71ee93899389936001600160a01b039093169263318bc689926004808301939192829003018186803b158015614e4257600080fd5b80516001600160a01b03811660009081526018602052604081205490918291829061562c906001614cce565b6001600160a01b038316600090815260186020526040812082905590915061565483836128b5565b6000818152601960209081526040909120885181546001600160a01b0319166001600160a01b03909116178155888201518051939450899391926156a092600185019290910190615cc1565b5060408201516002820180546001600160a01b039283166001600160a01b0319909116179055606083015160038301556080830151600483015560a0830151600583015560c083015160068301805491151560ff1992831617905560e084015160078401556101008085015160088501556101208501516009850155610140850151600a850155610160850151600b90940180546101809096015190931602610100600160a81b0319931515949091169390931791909116919091179055601280546001810182556000919091527fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec344401819055909350915050915091565b80516001600160a01b0381166000908152601a60205260408120549091829182906157ca906001614cce565b6001600160a01b0383166000908152601a602052604081208290559091506157f283836128b5565b6000818152601b60209081526040909120885181546001600160a01b0319166001600160a01b039091161781558882015180519394508993919261583e92600185019290910190615cc1565b5060408201516002820180546001600160a01b039283166001600160a01b0319909116179055606083015160038301556080830151600483015560a083015160058301805460c08601518416610100908102610100600160a81b031994151560ff199384161785161790925560e0860151600686015581860151600786015561012086015160088601556101408601516009860155610160860151600a860155610180860151600b90950180546101a090970151909416909102931515941693909317909216179055601380546001810182556000919091527f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09001819055909350915050915091565b606061595684846000856159c3565b949350505050565b600081836159ad5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561508a578181015183820152602001615072565b5060008385816159b957fe5b0495945050505050565b606082471015615a045760405162461bcd60e51b8152600401808060200182810382526026815260200180615e2e6026913960400191505060405180910390fd5b615a0d856150cd565b615a5e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310615a9d5780518252601f199092019160209182019101615a7e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114615aff576040519150601f19603f3d011682016040523d82523d6000602084013e615b04565b606091505b5091509150615b14828286615b1f565b979650505050505050565b60608315615b2e575081613afe565b825115615b3e5782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561508a578181015183820152602001615072565b604051806101c0016040528060006001600160a01b031681526020016060815260200160006001600160a01b03168152602001600081526020016000815260200160001515815260200160006001600160a01b03168152602001600081526020016000815260200160008152602001600081526020016000815260200160001515815260200160006001600160a01b031681525090565b508054600082559060005260206000209081019061495a9190615d26565b604051806101a0016040528060006001600160a01b031681526020016060815260200160006001600160a01b031681526020016000815260200160008152602001600081526020016000151581526020016000815260200160008152602001600081526020016000815260200160001515815260200160006001600160a01b031681525090565b828054828255906000526020600020908101928215615d16579160200282015b82811115615d1657825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190615ce1565b50615d22929150615d3b565b5090565b5b80821115615d225760008155600101615d27565b5b80821115615d225780546001600160a01b0319168155600101615d3c56fe42617365506f736974696f6e4d616e616765723a206d617820676c6f62616c206c6f6e67732065786365656465645265656e7472616e637947756172643a207265656e7472616e742063616c6c00476f7665726e61626c653a20666f7262696464656e000000000000000000000042617365506f736974696f6e4d616e616765723a20696e73756666696369656e7420616d6f756e744f7574416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c42617365506f736974696f6e4d616e616765723a206d61726b207072696365206c6f776572207468616e206c696d697442617365506f736974696f6e4d616e616765723a20666f7262696464656e000042617365506f736974696f6e4d616e616765723a206d617820676c6f62616c2073686f727473206578636565646564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7742617365506f736974696f6e4d616e616765723a206d61726b20707269636520686967686572207468616e206c696d697442617365506f736974696f6e4d616e616765723a20696e76616c6964205f706174682e6c656e67746842617365506f736974696f6e4d616e616765723a20696e76616c69642073656e6465725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122029b55e9b5cbc63763169a9cdb9f34985b31d30185ef298559d0eff88fccef80b64736f6c634300060c0033

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

0000000000000000000000003cb54f0eb62c371065d739a34a775cc16f46563e0000000000000000000000003acf67bd8c291f9c5bbbb14ac0ec86f60abce36e00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83000000000000000000000000266d4c8dc144259acd034357dae69eca9ba569b8000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000003782dace9d90000

-----Decoded View---------------
Arg [0] : _vault (address): 0x3CB54f0eB62C371065D739A34a775CC16f46563e
Arg [1] : _router (address): 0x3Acf67bD8C291F9C5bbBB14AC0eC86F60ABCE36E
Arg [2] : _weth (address): 0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83
Arg [3] : _shortsTracker (address): 0x266D4C8DC144259ACd034357dae69EcA9Ba569b8
Arg [4] : _depositFee (uint256): 30
Arg [5] : _minExecutionFee (uint256): 250000000000000000

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000003cb54f0eb62c371065d739a34a775cc16f46563e
Arg [1] : 0000000000000000000000003acf67bd8c291f9c5bbbb14ac0ec86f60abce36e
Arg [2] : 00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83
Arg [3] : 000000000000000000000000266d4c8dc144259acd034357dae69eca9ba569b8
Arg [4] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [5] : 00000000000000000000000000000000000000000000000003782dace9d90000


Deployed Bytecode Sourcemap

50386:27136:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39763:4;;-1:-1:-1;;;;;39763:4:0;39749:10;:18;39741:66;;;;-1:-1:-1;;;39741:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50386:27136;;;;;38170:30;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;38170:30:0;;;;;;;;;;;;;;51557:44;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51557:44:0;;:::i;:::-;;;;;;;;;;;;;;;;67353:2045;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67353:2045:0;;;;;;-1:-1:-1;;;;;67353:2045:0;;:::i;:::-;;;;;;;;;;;;;;;;;;38265:63;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38265:63:0;-1:-1:-1;;;;;38265:63:0;;:::i;37568:52::-;;;;;;;;;;;;;:::i;197:18::-;;;;;;;;;;;;;:::i;51724:56::-;;;;;;;;;;;;;:::i;38209:47::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38209:47:0;-1:-1:-1;;;;;38209:47:0;;:::i;52102:76::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52102:76:0;;:::i;:::-;;;;-1:-1:-1;;;;;52102:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65820:1525;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65820:1525:0;;;;;;-1:-1:-1;;;;;65820:1525:0;;:::i;40103:238::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40103:238:0;;:::i;41487:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41487:127:0;;;;;;;;:::i;51789:31::-;;;;;;;;;;;;;:::i;63814:1998::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63814:1998:0;;;;;;-1:-1:-1;;;;;63814:1998:0;;:::i;56666:419::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56666:419:0;;;;;;;:::i;55522:191::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55522:191:0;;;;;;;;;;:::i;51829:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51829:49:0;-1:-1:-1;;;;;51829:49:0;;:::i;51436:33::-;;;;;;;;;;;;;:::i;51512:36::-;;;;;;;;;;;;;:::i;37748:19::-;;;;;;;;;;;;;:::i;56294:364::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56294:364:0;;;;;;;;;;;;:::i;51608:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51608:44:0;;:::i;39947:148::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39947:148:0;;:::i;51395:34::-;;;;;;;;;;;;;:::i;61311:1053::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61311:1053:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61311:1053:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61311:1053:0;;-1:-1:-1;;;61311:1053:0;;-1:-1:-1;;;;;61311:1053:0;;;;-1:-1:-1;61311:1053:0;;;;;;;;;;-1:-1:-1;61311:1053:0;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;71109:213::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71109:213:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69406:1308;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69406:1308:0;;;;;;-1:-1:-1;;;;;69406:1308:0;;:::i;70722:158::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;70722:158:0;;;;;;;;:::i;51887:58::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51887:58:0;-1:-1:-1;;;;;51887:58:0;;:::i;51356:30::-;;;;;;;;;;;;;:::i;37685:28::-;;;;;;;;;;;;;:::i;38083:25::-;;;;;;;;;;;;;:::i;39823:116::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39823:116:0;-1:-1:-1;;;;;39823:116:0;;:::i;62372:1104::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62372:1104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62372:1104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62372:1104:0;;-1:-1:-1;;;62372:1104:0;;-1:-1:-1;;;;;62372:1104:0;;;;-1:-1:-1;62372:1104:0;;;;;;;;;;-1:-1:-1;62372:1104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;56099:187::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56099:187:0;;;;:::i;55721:184::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55721:184:0;;:::i;70888:213::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70888:213:0;;:::i;38335:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38335:64:0;-1:-1:-1;;;;;38335:64:0;;:::i;38115:46::-;;;;;;;;;;;;;:::i;57093:1605::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57093:1605:0;;;;;;-1:-1:-1;;;;;57093:1605:0;;:::i;51661:56::-;;;;;;;;;;;;;:::i;40349:178::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40349:178:0;-1:-1:-1;;;;;40349:178:0;;:::i;51476:27::-;;;;;;;;;;;;;:::i;397:76::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;397:76:0;-1:-1:-1;;;;;397:76:0;;:::i;41334:145::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41334:145:0;;;;;;;;;;;;;;;;;:::i;40535:464::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40535:464:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40535:464:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40535:464:0;;;;;;;;-1:-1:-1;40535:464:0;;-1:-1:-1;;;;;40535:464:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40535:464:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40535:464:0;;;;;;;;-1:-1:-1;40535:464:0;;-1:-1:-1;;;;;40535:464:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40535:464:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40535:464:0;;-1:-1:-1;40535:464:0;;-1:-1:-1;;;;;40535:464:0:i;41007:319::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41007:319:0;;;;;;;;;;:::i;60189:1114::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60189:1114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60189:1114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60189:1114:0;;-1:-1:-1;;;;;;;60189:1114:0;;;;;-1:-1:-1;60189:1114:0;;;;;;;;;;-1:-1:-1;60189:1114:0;;;;;-1:-1:-1;60189:1114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;63484:322::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58706:1475;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58706:1475:0;;;;;;-1:-1:-1;;;;;58706:1475:0;;:::i;37629:20::-;;;;;;;;;;;;;:::i;37720:21::-;;;;;;;;;;;;;:::i;52037:58::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52037:58:0;-1:-1:-1;;;;;52037:58:0;;:::i;51952:76::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51952:76:0;;:::i;:::-;;;;-1:-1:-1;;;;;51952:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37658:20;;;;;;;;;;;;;:::i;55913:178::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55913:178:0;;:::i;38170:30::-;;;-1:-1:-1;;;;;38170:30:0;;:::o;51557:44::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51557:44:0;:::o;67353:2045::-;67468:4;22381:1;22987:7;;:19;;22979:63;;;;;-1:-1:-1;;;22979:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22979:63:0;;;;;;;;;;;;;;;22381:1;23120:7;:18;67485:38:::1;;:::i;:::-;67526:30;::::0;;;:24:::1;:30;::::0;;;;;;;;67485:71;;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;67485:71:0::1;::::0;;;;::::1;::::0;;;;;;::::1;::::0;;;;;;;;;;;;67526:30;;67485:71;;::::1;::::0;;;;::::1;::::0;;;::::1;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;67485:71:0::1;::::0;;;;;::::1;::::0;::::1;;::::0;;::::1;;;;-1:-1:-1::0;;;67485:71:0;;;-1:-1:-1;;67485:71:0::1;::::0;::::1;::::0;-1:-1:-1;;;;;67485:71:0;;::::1;;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;::::1;;;::::0;;;;;;::::1;::::0;::::1;::::0;;;;;67728:15;;67485:71;;-1:-1:-1;67728:29:0::1;67724:51;;67768:4;67761:11;;;;;67724:51;67787:18;67808:75;67827:7;:19;;;67848:7;:17;;;67867:7;:15;;;67808:18;:75::i;:::-;67787:96;;67899:13;67894:37;;67923:5;67916:12;;;;;;67894:37;67950:30;::::0;;;:24:::1;:30;::::0;;;;67943:37;;-1:-1:-1;;;;;;67943:37:0::1;::::0;;67950:30;67943:37:::1;::::0;;::::1;67950:30:::0;67943:37:::1;:::i;:::-;-1:-1:-1::0;67943:37:0::1;::::0;::::1;::::0;;-1:-1:-1;;;;;;67943:37:0::1;::::0;;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;;67943:37:0;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;;;;;;68031:15;;68048:12:::1;::::0;::::1;::::0;:15;;68013:171:::1;::::0;68031:15;68048:12;67943:37;;68048:15:::1;;;;;;;;;;68065:7;:18;;;68085:7;:23;;;68110:7;:17;;;68129:7;:14;;;68153:4;68160:7;:23;;;68013:17;:171::i;:::-;67993:191:::0;-1:-1:-1;68201:13:0;;68197:521:::1;;68257:1;68235:7;:12;;;:19;:23;68231:199;;;68316:5;::::0;68286:12:::1;::::0;::::1;::::0;:15;;68279:54:::1;::::0;-1:-1:-1;;;;;68316:5:0::1;::::0;68323:9;;68316:5:::1;::::0;68286:15:::1;;;;;;;;;;-1:-1:-1::0;;;;;68279:36:0::1;;;:54;;;;;:::i;:::-;68364:50;68370:7;:12;;;68384:7;:14;;;68408:4;68364:5;:50::i;:::-;68352:62;;68231:199;68450:7;:19;;;68446:261;;;68489:75;68527:9;68546:7;:16;;;68489:37;:75::i;:::-;68446:261;;;68604:87;68663:7;:16;;;68681:9;68611:7;:12;;;68646:1;68624:7;:12;;;:19;:23;68611:37;;;;;;;68604:87;68729:82;68767:7;:20;;;68789:21;68729:37;:82::i;:::-;68867:7;:15;;;-1:-1:-1::0;;;;;68829:461:0::1;;68897:7;:12;;;68924:7;:18;;;68957:7;:23;;;68995:7;:17;;;69027:7;:14;;;69056:7;:16;;;69087:7;:23;;;69125:7;:14;;;69154:7;:20;;;69189:37;69206:7;:19;;;69189:12;:16;;:37;;;;:::i;:::-;69261:17;::::0;::::1;::::0;69241:38:::1;::::0;:15:::1;::::0;:19:::1;:38::i;:::-;68829:461;;;;;;;-1:-1:-1::0;;;;;68829:461:0::1;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;68829:461:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69303:63;69324:7;:22;;;69348:4;69354;69360:5;69303:20;:63::i;:::-;69386:4;69379:11;;;;;23151:1;22337::::0;23299:7;:22;67353:2045;;-1:-1:-1;;67353:2045:0:o;38265:63::-;;;;;;;;;;;;;:::o;37568:52::-;37615:5;37568:52;:::o;197:18::-;;;-1:-1:-1;;;;;197:18:0;;:::o;51724:56::-;;;;:::o;38209:47::-;;;;;;;;;;;;;:::o;52102:76::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52102:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;65820:1525::-;65934:4;22381:1;22987:7;;:19;;22979:63;;;;;-1:-1:-1;;;22979:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22979:63:0;;;;;;;;;;;;;;;22381:1;23120:7;:18;65951:38:::1;;:::i;:::-;65992:30;::::0;;;:24:::1;:30;::::0;;;;;;;;65951:71;;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;65951:71:0::1;::::0;;;;::::1;::::0;;;;;;::::1;::::0;;;;;;;;;;;;65992:30;;65951:71;;::::1;::::0;;;;::::1;::::0;;;::::1;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;65951:71:0::1;::::0;;;;;::::1;::::0;::::1;;::::0;;::::1;;;;-1:-1:-1::0;;;65951:71:0;;;-1:-1:-1;;65951:71:0::1;::::0;::::1;::::0;-1:-1:-1;;;;;65951:71:0;;::::1;;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;::::0;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;::::1;;;::::0;;;;;;;::::1;::::0;::::1;::::0;;;;;66194:15;;65951:71;;-1:-1:-1;66194:29:0::1;66190:51;;66234:4;66227:11;;;;;66190:51;66253:17;66273:78;66295:7;:19;;;66316:7;:17;;;66335:7;:15;;;66273:21;:78::i;:::-;66253:98;;66367:12;66362:36;;66390:5;66383:12;;;;;;66362:36;66417:30;::::0;;;:24:::1;:30;::::0;;;;66410:37;;-1:-1:-1;;;;;;66410:37:0::1;::::0;;66417:30;66410:37:::1;::::0;;::::1;66417:30:::0;66410:37:::1;:::i;:::-;-1:-1:-1::0;66410:37:0::1;::::0;::::1;::::0;;-1:-1:-1;;;;;;66410:37:0::1;::::0;;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;66410:37:0::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;;::::0;;-1:-1:-1;;;;;;66410:37:0;;;66464:26:::1;::::0;::::1;::::0;66460:244:::1;;;66507:81;66545:7;:16;;;66571:7;:15;;;66507:37;:81::i;:::-;66460:244;;;66621:71;66658:7;:15;;;66675:7;:16;;;66628:7;:12;;;66641:1;66628:15;;;;;;;66621:71;66715:82;66753:7;:20;;;66775:21;66715:37;:82::i;:::-;66852:7;:15;;;-1:-1:-1::0;;;;;66815:422:0::1;;66882:7;:12;;;66909:7;:18;;;66942:7;:16;;;66973:7;:14;;;67002:7;:17;;;67034:7;:14;;;67063:7;:23;;;67101:7;:20;;;67136:37;67153:7;:19;;;67136:12;:16;;:37;;;;:::i;:::-;67208:17;::::0;::::1;::::0;67188:38:::1;::::0;:15:::1;::::0;:19:::1;:38::i;:::-;66815:422;;;;;;;-1:-1:-1::0;;;;;66815:422:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67250:63;67271:7;:22;;;67295:4;67301:5;67308:4;67250:20;:63::i;:::-;67333:4;67326:11;;;;22337:1:::0;23299:7;:22;65820:1525;;-1:-1:-1;;65820:1525:0:o;40103:238::-;39273:5;;-1:-1:-1;;;;;39273:5:0;39259:10;:19;39251:62;;;;;-1:-1:-1;;;39251:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39251:62:0;;;;;;;;;;;;;;;40207:25:::1;:54:::0;;;40277:56:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;40103:238:::0;:::o;41487:127::-;340:3;;-1:-1:-1;;;;;340:3:0;326:10;:17;318:51;;;;;-1:-1:-1;;;318:51:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;318:51:0;;;;;;;;;;;;;;;41578:28:::1;-1:-1:-1::0;;;;;41578:19:0;::::1;41598:7:::0;41578:19:::1;:28::i;:::-;41487:127:::0;;:::o;51789:31::-;;;;:::o;63814:1998::-;63929:4;22381:1;22987:7;;:19;;22979:63;;;;;-1:-1:-1;;;22979:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22979:63:0;;;;;;;;;;;;;;;22381:1;23120:7;:18;63946:38:::1;;:::i;:::-;63987:30;::::0;;;:24:::1;:30;::::0;;;;;;;;63946:71;;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;63946:71:0::1;::::0;;;;::::1;::::0;;;;;;::::1;::::0;;;;;;;;;;;;63987:30;;63946:71;;::::1;::::0;;;;::::1;::::0;;;::::1;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;63946:71:0::1;::::0;;;;;::::1;::::0;::::1;;::::0;;::::1;;;;-1:-1:-1::0;;;63946:71:0;;;-1:-1:-1;;63946:71:0::1;::::0;::::1;::::0;-1:-1:-1;;;;;63946:71:0;;::::1;;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;::::0;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;::::1;;;::::0;;;;;;;::::1;::::0;::::1;::::0;;;;;64189:15;;63946:71;;-1:-1:-1;64189:29:0::1;64185:51;;64229:4;64222:11;;;;;64185:51;64248:18;64269:75;64288:7;:19;;;64309:7;:17;;;64328:7;:15;;;64269:18;:75::i;:::-;64248:96;;64360:13;64355:37;;64384:5;64377:12;;;;;;64355:37;64411:30;::::0;;;:24:::1;:30;::::0;;;;64404:37;;-1:-1:-1;;;;;;64404:37:0::1;::::0;;64411:30;64404:37:::1;::::0;;::::1;64411:30:::0;64404:37:::1;:::i;:::-;-1:-1:-1::0;64404:37:0::1;::::0;::::1;::::0;;-1:-1:-1;;;;;;64404:37:0::1;::::0;;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;64404:37:0::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;;::::0;;-1:-1:-1;;;;;;64404:37:0;;;64458:16:::1;::::0;::::1;::::0;:20;64454:550:::1;;64514:16;::::0;::::1;::::0;64551:12:::1;::::0;::::1;::::0;:19;64573:1:::1;-1:-1:-1::0;64547:205:0::1;;;64632:5;::::0;64639:16:::1;::::0;::::1;::::0;64602:12:::1;::::0;::::1;::::0;:15;;64595:61:::1;::::0;-1:-1:-1;;;;;64632:5:0::1;::::0;64639:16;64602:12;64632:5:::1;::::0;64602:15:::1;;;64595:61;64686:50;64692:7;:12;;;64706:7;:14;;;64730:4;64686:5;:50::i;:::-;64675:61;;64547:205;64768:22;64793:103;64806:10;64818:7;:12;;;64832:8;64842:7;:18;;;64862:7;:14;;;64878:7;:17;;;64793:12;:103::i;:::-;64970:5;::::0;64918:12:::1;::::0;::::1;::::0;64931:19;;64768:128;;-1:-1:-1;64911:81:0::1;::::0;-1:-1:-1;;;;;64970:5:0;;::::1;::::0;64768:128;;64918:12;-1:-1:-1;;64931:23:0;;;64918:37;::::1;;;;64911:81;64454:550;;;65034:15:::0;;65051:12:::1;::::0;::::1;::::0;65064:19;;65016:153:::1;::::0;65034:15;65051:12;-1:-1:-1;;65064:23:0;;;65051:37;::::1;;;;;;;;;;;65090:7;:18;;;65110:7;:17;;;65129:7;:14;;;65145:7;:23;;;65016:17;:153::i;:::-;65182:82;65220:7;:20;;;65242:21;65182:37;:82::i;:::-;65320:7;:15;;;-1:-1:-1::0;;;;;65282:423:0::1;;65350:7;:12;;;65377:7;:18;;;65410:7;:16;;;65441:7;:14;;;65470:7;:17;;;65502:7;:14;;;65531:7;:23;;;65569:7;:20;;;65604:37;65621:7;:19;;;65604:12;:16;;:37;;;;:::i;:::-;65676:17;::::0;::::1;::::0;65656:38:::1;::::0;:15:::1;::::0;:19:::1;:38::i;:::-;65282:423;;;;;;;-1:-1:-1::0;;;;;65282:423:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65718:62;65739:7;:22;;;65763:4;65769;65775::::0;65718:20:::1;:62::i;56666:419::-:0;39273:5;;-1:-1:-1;;;;;39273:5:0;39259:10;:19;39251:62;;;;;-1:-1:-1;;;39251:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39251:62:0;;;;;;;;;;;;;;;56817:32:::1;:68:::0;;;56896:32:::1;:68:::0;;;56982:95:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;56666:419:::0;;:::o;55522:191::-;39273:5;;-1:-1:-1;;;;;39273:5:0;39259:10;:19;39251:62;;;;;-1:-1:-1;;;39251:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39251:62:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;55613:26:0;::::1;;::::0;;;:16:::1;:26;::::0;;;;;;;;:38;;-1:-1:-1;;55613:38:0::1;::::0;::::1;;::::0;;::::1;::::0;;;55667;;;;;;;::::1;::::0;;;;;;;;::::1;55522:191:::0;;:::o;51829:49::-;;;;;;;;;;;;;;;:::o;51436:33::-;;;;:::o;51512:36::-;;;;;;:::o;37748:19::-;;;-1:-1:-1;;;;;37748:19:0;;:::o;56294:364::-;39273:5;;-1:-1:-1;;;;;39273:5:0;39259:10;:19;39251:62;;;;;-1:-1:-1;;;39251:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39251:62:0;;;;;;;;;;;;;;;56430:19:::1;:42:::0;;;56483:18:::1;:40:::0;;;56534:12:::1;:28:::0;;;56578:72:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;::::1;::::0;;;;;;;::::1;56294:364:::0;;;:::o;51608:44::-;;;;;;;;;;39947:148;39273:5;;-1:-1:-1;;;;;39273:5:0;39259:10;:19;39251:62;;;;;-1:-1:-1;;;39251:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39251:62:0;;;;;;;;;;;;;;;40021:10:::1;:24:::0;;;40061:26:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;39947:148:::0;:::o;51395:34::-;;;;:::o;61311:1053::-;61666:7;22381:1;22987:7;;:19;;22979:63;;;;;-1:-1:-1;;;22979:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22979:63:0;;;;;;;;;;;;;;;22381:1;23120:7;:18;61711:15:::1;::::0;61694:32;::::1;;61686:48;;;::::0;;-1:-1:-1;;;61686:48:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;61686:48:0;;;;;;;;;;;;;::::1;;61766:13;61753:9;:26;;61745:42;;;::::0;;-1:-1:-1;;;61745:42:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;61745:42:0;;;;;;;;;;;;;::::1;;61806:5;:12;61822:1;61806:17;:38;;;;61827:5;:12;61843:1;61827:17;61806:38;61798:54;;;::::0;;-1:-1:-1;;;61798:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;61798:54:0;;;;;;;;;;;;;::::1;;61883:4;::::0;61871:8;;-1:-1:-1;;;;;61883:4:0;;::::1;::::0;61871:5;;61883:4:::1;::::0;61871:8:::1;;;;;;;;;;-1:-1:-1::0;;;;;61871:16:0::1;;61863:33;;;::::0;;-1:-1:-1;;;61863:33:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;61863:33:0;;;;;;;;;;;;;::::1;;61907:16;:14;:16::i;:::-;61934:37;61957:13;61934:22;:37::i;:::-;61984:16;62003:28;:9;62017:13:::0;62003::::1;:28::i;:::-;61984:47;;62051:305;62089:10;62114:5;62134:11;62160:8;62183:7;62205:10;62230:7;62252:16;62283:13;62311:4;62330:15;62051:23;:305::i;:::-;22337:1:::0;23299:7;:22;62044:312;61311:1053;-1:-1:-1;;;;;;;;;;;61311:1053:0:o;71109:213::-;71184:16;71213:38;;:::i;:::-;71254:30;;;;:24;:30;;;;;;;;;71213:71;;;;;;;;;-1:-1:-1;;;;;71213:71:0;;;;;;;;;;;;;;;;;;;;;;;;;71254:30;;71213:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;71213:71:0;;;;;;;;;;;;;;;;-1:-1:-1;;;71213:71:0;;;-1:-1:-1;;71213:71:0;;;;-1:-1:-1;;;;;71213:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71302:12;;;71109:213;-1:-1:-1;;;71109:213:0:o;69406:1308::-;69520:4;22381:1;22987:7;;:19;;22979:63;;;;;-1:-1:-1;;;22979:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22979:63:0;;;;;;;;;;;;;;;22381:1;23120:7;:18;69537:38:::1;;:::i;:::-;69578:30;::::0;;;:24:::1;:30;::::0;;;;;;;;69537:71;;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;69537:71:0::1;::::0;;;;::::1;::::0;;;;;;::::1;::::0;;;;;;;;;;;;69578:30;;69537:71;;::::1;::::0;;;;::::1;::::0;;;::::1;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;69537:71:0::1;::::0;;;;;::::1;::::0;::::1;;::::0;;::::1;;;;-1:-1:-1::0;;;69537:71:0;;;-1:-1:-1;;69537:71:0::1;::::0;::::1;::::0;-1:-1:-1;;;;;69537:71:0;;::::1;;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;::::1;;;::::0;;;;;;::::1;::::0;::::1;::::0;;;;;69780:15;;69537:71;;-1:-1:-1;69780:29:0::1;69776:51;;69820:4;69813:11;;;;;69776:51;69839:17;69859:78;69881:7;:19;;;69902:7;:17;;;69921:7;:15;;;69859:21;:78::i;:::-;69839:98;;69953:12;69948:36;;69976:5;69969:12;;;;;;69948:36;70003:30;::::0;;;:24:::1;:30;::::0;;;;69996:37;;-1:-1:-1;;;;;;69996:37:0::1;::::0;;70003:30;69996:37:::1;::::0;;::::1;70003:30:::0;69996:37:::1;:::i;:::-;-1:-1:-1::0;69996:37:0::1;::::0;::::1;::::0;;-1:-1:-1;;;;;;69996:37:0::1;::::0;;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;;69996:37:0;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;;;;;;70083:20:::1;::::0;::::1;::::0;70045:82:::1;::::0;70105:21;70045:37:::1;:82::i;:::-;70182:7;:15;;;-1:-1:-1::0;;;;;70145:460:0::1;;70212:7;:12;;;70239:7;:18;;;70272:7;:23;;;70310:7;:17;;;70342:7;:14;;;70371:7;:16;;;70402:7;:23;;;70440:7;:14;;;70469:7;:20;;;70504:37;70521:7;:19;;;70504:12;:16;;:37;;;;:::i;:::-;70576:17;::::0;::::1;::::0;70556:38:::1;::::0;:15:::1;::::0;:19:::1;:38::i;:::-;70145:460;;;;;;;-1:-1:-1::0;;;;;70145:460:0::1;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;70145:460:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70618:64;70639:7;:22;;;70663:4;70669:5;70676::::0;70618:20:::1;:64::i;70722:158::-:0;70800:7;70854:8;70864:6;70837:34;;;;;;-1:-1:-1;;;;;70837:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;70827:45;;;;;;70820:52;;70722:158;;;;;:::o;51887:58::-;;;;;;;;;;;;;:::o;51356:30::-;;;;:::o;37685:28::-;;;-1:-1:-1;;;;;37685:28:0;;:::o;38083:25::-;;;;:::o;39823:116::-;340:3;;-1:-1:-1;;;;;340:3:0;326:10;:17;318:51;;;;;-1:-1:-1;;;318:51:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;318:51:0;;;;;;;;;;;;;;;39885:5:::1;:14:::0;;-1:-1:-1;;;;;39885:14:0;::::1;-1:-1:-1::0;;;;;;39885:14:0;;::::1;::::0;::::1;::::0;;;39915:16:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;39823:116:::0;:::o;62372:1104::-;62783:7;22381:1;22987:7;;:19;;22979:63;;;;;-1:-1:-1;;;22979:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22979:63:0;;;;;;;;;;;;;;;22381:1;23120:7;:18;62828:15:::1;::::0;62811:32;::::1;;62803:48;;;::::0;;-1:-1:-1;;;62803:48:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;62803:48:0;;;;;;;;;;;;;::::1;;62883:13;62870:9;:26;62862:42;;;::::0;;-1:-1:-1;;;62862:42:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;62862:42:0;;;;;;;;;;;;;::::1;;62923:5;:12;62939:1;62923:17;:38;;;;62944:5;:12;62960:1;62944:17;62923:38;62915:54;;;::::0;;-1:-1:-1;;;62915:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;62915:54:0;;;;;;;;;;;;;::::1;;62986:12;62982:93;;;63050:4;::::0;63029:12;;-1:-1:-1;;;;;63050:4:0;;::::1;::::0;63023:5;;-1:-1:-1;;63029:16:0;;;63023:23;::::1;;;;;;;;;;;-1:-1:-1::0;;;;;63023:31:0::1;;63015:48;;;::::0;;-1:-1:-1;;;63015:48:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;63015:48:0;;;;;;;;;;;;;::::1;;63087:16;:14;:16::i;:::-;63123:345;63161:10;63186:5;63206:11;63232:16;63263:10;63288:7;63310:9;63334:16;63365:7;63387:13;63415:12;63442:15;63123:23;:345::i;:::-;22337:1:::0;23299:7;:22;63116:352;62372:1104;-1:-1:-1;;;;;;;;;;;;62372:1104:0:o;56099:187::-;39273:5;;-1:-1:-1;;;;;39273:5:0;39259:10;:19;39251:62;;;;;-1:-1:-1;;;39251:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39251:62:0;;;;;;;;;;;;;;;56184:17:::1;:38:::0;;;::::1;;-1:-1:-1::0;;56184:38:0;;::::1;::::0;::::1;::::0;;;56238:40:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;56099:187:::0;:::o;55721:184::-;39273:5;;-1:-1:-1;;;;;39273:5:0;39259:10;:19;39251:62;;;;;-1:-1:-1;;;39251:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39251:62:0;;;;;;;;;;;;;;;55807:16:::1;:36:::0;;;55859:38:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;55721:184:::0;:::o;70888:213::-;70963:16;70992:38;;:::i;:::-;71033:30;;;;:24;:30;;;;;;;;;70992:71;;;;;;;;;-1:-1:-1;;;;;70992:71:0;;;;;;;;;;;;;;;;;;;;;;;;;71033:30;;70992:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;70992:71:0;;;;;;;;;;;;;;;;-1:-1:-1;;;70992:71:0;;;-1:-1:-1;;70992:71:0;;;;-1:-1:-1;;;;;70992:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71081:12;;;70888:213;-1:-1:-1;;;70888:213:0:o;38335:64::-;;;;;;;;;;;;;:::o;38115:46::-;;;;:::o;57093:1605::-;55142:10;55125:28;;;;:16;:28;;;;;;;;55117:44;;;;;-1:-1:-1;;;55117:44:0;;;;;;;;;;;;-1:-1:-1;;;55117:44:0;;;;;;;;;;;;;;;57249:32:::1;::::0;57309:27:::1;:34:::0;57360:15;;::::1;57356:32;;57379:7;;;;57356:32;57416:6;57404:9;:18;57400:69;;;57451:6;57439:18;;57400:69;57496:9;57488:5;:17;57481:1157;;;57522:11;57536:27;57564:5;57536:34;;;;;;;;;;;;;;;;57522:48;;58088:4;-1:-1:-1::0;;;;;58088:28:0::1;;58117:3;58122:21;58088:56;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;58088:56:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;58088:56:0;::::1;;58084:463;;58366:55;::::0;;-1:-1:-1;;;58366:55:0;;::::1;::::0;::::1;::::0;;;-1:-1:-1;;;;;58366:55:0;::::1;::::0;;;;;;:4:::1;::::0;:27:::1;::::0;:55;;;;;::::1;::::0;;;;;;;;-1:-1:-1;58366:4:0;:55;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;58366:55:0;::::1;;58362:170;;;;;58479:13;58474:30;;58496:5;;;;58474:30;58422:101;58362:170;58084:463;;;58197:12;58192:29;;58213:5;;;;58192:29;58145:91;58084:463;58570:27;58598:5;58570:34;;;;;;;;;::::0;;;::::1;::::0;;::::1;58563:41:::0;-1:-1:-1;58619:7:0::1;::::0;;::::1;::::0;57481:1157:::1;;;-1:-1:-1::0;58650:32:0::1;:40:::0;57093:1605;;:::o;51661:56::-;;;;:::o;40349:178::-;39273:5;;-1:-1:-1;;;;;39273:5:0;39259:10;:19;39251:62;;;;;-1:-1:-1;;;39251:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39251:62:0;;;;;;;;;;;;;;;40433:15:::1;:34:::0;;-1:-1:-1;;;;;40433:34:0;::::1;-1:-1:-1::0;;;;;;40433:34:0;;::::1;::::0;::::1;::::0;;;40483:36:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;40349:178:::0;:::o;51476:27::-;;;;:::o;397:76::-;340:3;;-1:-1:-1;;;;;340:3:0;326:10;:17;318:51;;;;;-1:-1:-1;;;318:51:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;318:51:0;;;;;;;;;;;;;;;455:3:::1;:10:::0;;-1:-1:-1;;;;;;455:10:0::1;-1:-1:-1::0;;;;;455:10:0;;;::::1;::::0;;;::::1;::::0;;397:76::o;41334:145::-;340:3;;-1:-1:-1;;;;;340:3:0;326:10;:17;318:51;;;;;-1:-1:-1;;;318:51:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;318:51:0;;;;;;;;;;;;;;;41437:6:::1;-1:-1:-1::0;;;;;41430:22:0::1;;41453:8;41463:7;41430:41;;;;;;;;;;;;;-1:-1:-1::0;;;;;41430:41:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;;;41334:145:0:o;40535:464::-;39273:5;;-1:-1:-1;;;;;39273:5:0;39259:10;:19;39251:62;;;;;-1:-1:-1;;;39251:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39251:62:0;;;;;;;;;;;;;;;40716:9:::1;40711:212;40735:7;:14;40731:1;:18;40711:212;;;40771:13;40787:7;40795:1;40787:10;;;;;;;;;;;;;;40771:26;;40840:10;40851:1;40840:13;;;;;;;;;;;;;;40812:18;:25;40831:5;-1:-1:-1::0;;;;;40812:25:0::1;-1:-1:-1::0;;;;;40812:25:0::1;;;;;;;;;;;;:41;;;;40897:11;40909:1;40897:14;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;40868:26:0;;::::1;;::::0;;;:19:::1;:26:::0;;;;;;:43;40751:3:::1;;40711:212;;;;40940:51;40958:7;40967:10;40979:11;40940:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;40535:464:::0;;;:::o;41007:319::-;39273:5;;-1:-1:-1;;;;;39273:5:0;39259:10;:19;39251:62;;;;;-1:-1:-1;;;39251:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39251:62:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;41111:19:0;::::1;41094:14;41111:19:::0;;;:11:::1;:19;::::0;;;;;41145:11;41141:28:::1;;41160:7;;;41141:28;-1:-1:-1::0;;;;;41181:19:0;::::1;41203:1;41181:19:::0;;;:11:::1;:19;::::0;;;;:23;41215:46:::1;::::0;41243:9;41254:6;41215:27:::1;:46::i;:::-;41279:39;::::0;;-1:-1:-1;;;;;41279:39:0;;::::1;::::0;;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;;::::1;39324:1;41007:319:::0;;:::o;60189:1114::-;60569:7;22381:1;22987:7;;:19;;22979:63;;;;;-1:-1:-1;;;22979:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22979:63:0;;;;;;;;;;;;;;;22381:1;23120:7;:18;60614:15:::1;::::0;60597:32;::::1;;60589:48;;;::::0;;-1:-1:-1;;;60589:48:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;60589:48:0;;;;;;;;;;;;;::::1;;60669:13;60656:9;:26;60648:42;;;::::0;;-1:-1:-1;;;60648:42:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;60648:42:0;;;;;;;;;;;;;::::1;;60709:5;:12;60725:1;60709:17;:38;;;;60730:5;:12;60746:1;60730:17;60709:38;60701:54;;;::::0;;-1:-1:-1;;;60701:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;60701:54:0;;;;;;;;;;;;;::::1;;60768:16;:14;:16::i;:::-;60795:37;60818:13;60795:22;:37::i;:::-;60849:13:::0;;60845:124:::1;;60887:6;::::0;60910:8;;-1:-1:-1;;;;;60887:6:0;;::::1;::::0;60879:30:::1;::::0;60910:5;;60887:6:::1;::::0;60910:8:::1;;;;;;;;;;60920:10;60940:4;60947:9;60879:78;;;;;;;;;;;;;-1:-1:-1::0;;;;;60879:78:0::1;;;;;;-1:-1:-1::0;;;;;60879:78:0::1;;;;;;-1:-1:-1::0;;;;;60879:78:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;60845:124;60988:307;61026:10;61051:5;61071:11;61097:9;61121:7;61143:10;61168:7;61190:16;61221:13;61249:5;61269:15;60988:23;:307::i;63484:322::-:0;63610:32;;63657:27;:34;63706:32;;63753:27;:34;63484:322;;;;:::o;58706:1475::-;55142:10;55125:28;;;;:16;:28;;;;;;;;55117:44;;;;;-1:-1:-1;;;55117:44:0;;;;;;;;;;;;-1:-1:-1;;;55117:44:0;;;;;;;;;;;;;;;58862:32:::1;::::0;58922:27:::1;:34:::0;58973:15;;::::1;58969:32;;58992:7;;;;58969:32;59029:6;59017:9;:18;59013:69;;;59064:6;59052:18;;59013:69;59109:9;59101:5;:17;59094:1027;;;59135:11;59149:27;59177:5;59149:34;;;;;;;;;;;;;;;;59135:48;;59571:4;-1:-1:-1::0;;;;;59571:28:0::1;;59600:3;59605:21;59571:56;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;59571:56:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;59571:56:0;::::1;;59567:463;;59849:55;::::0;;-1:-1:-1;;;59849:55:0;;::::1;::::0;::::1;::::0;;;-1:-1:-1;;;;;59849:55:0;::::1;::::0;;;;;;:4:::1;::::0;:27:::1;::::0;:55;;;;;::::1;::::0;;;;;;;;-1:-1:-1;59849:4:0;:55;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;59849:55:0;::::1;;59845:170;;;;;59962:13;59957:30;;59979:5;;;;59957:30;59905:101;59845:170;59567:463;;;59680:12;59675:29;;59696:5;;;;59675:29;59628:91;59567:463;60053:27;60081:5;60053:34;;;;;;;;;::::0;;;::::1;::::0;;::::1;60046:41:::0;-1:-1:-1;60102:7:0::1;::::0;;::::1;::::0;59094:1027:::1;;;-1:-1:-1::0;60133:32:0::1;:40:::0;58706:1475;;:::o;37629:20::-;;;-1:-1:-1;;;;;37629:20:0;;:::o;37720:21::-;;;-1:-1:-1;;;;;37720:21:0;;:::o;52037:58::-;;;;;;;;;;;;;:::o;51952:76::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51952:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37658:20::-;;;-1:-1:-1;;;;;37658:20:0;;:::o;55913:178::-;39273:5;;-1:-1:-1;;;;;39273:5:0;39259:10;:19;39251:62;;;;;-1:-1:-1;;;39251:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39251:62:0;;;;;;;;;;;;;;;55997:15:::1;:34:::0;;;56047:36:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;55913:178:::0;:::o;71595:733::-;71722:4;71783:15;71743:36;71766:12;;71743:18;:22;;:36;;;;:::i;:::-;:55;71739:105;;71815:17;;;-1:-1:-1;;;71815:17:0;;;;;;;;;;;;-1:-1:-1;;;71815:17:0;;;;;;;;;;;;;;71739:105;71856:17;71876:10;71898:4;71876:27;;:59;;-1:-1:-1;71924:10:0;71907:28;;;;:16;:28;;;;;;;;71876:59;71953:17;;71856:79;;-1:-1:-1;71953:17:0;;71952:18;:35;;;;;71975:12;71974:13;71952:35;71948:81;;;72004:13;;;-1:-1:-1;;;72004:13:0;;;;;;;;;;;;-1:-1:-1;;;72004:13:0;;;;;;;;;;;;;;71948:81;72045:12;72041:113;;;72130:12;72081:45;72106:19;;72081:20;:24;;:45;;;;:::i;:::-;:61;;72074:68;;;;;72041:113;72174:10;-1:-1:-1;;;;;72174:22:0;;;72166:38;;;;;-1:-1:-1;;;72166:38:0;;;;;;;;;;;;-1:-1:-1;;;72166:38:0;;;;;;;;;;;;;;;72271:15;72225:42;72248:18;;72225;:22;;:42;;;;:::i;:::-;:61;;72217:79;;;;;-1:-1:-1;;;72217:79:0;;;;;;;;;;;;-1:-1:-1;;;72217:79:0;;;;;;;;;;;;;;;72316:4;72309:11;;;71595:733;;;;;;:::o;43628:1255::-;43870:5;;43833:7;;-1:-1:-1;;;;;43870:5:0;43833:7;43908;:91;;43967:6;-1:-1:-1;;;;;43960:26:0;;43987:11;43960:39;;;;;;;;;;;;;-1:-1:-1;;;;;43960:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43960:39:0;43908:91;;;43925:6;-1:-1:-1;;;;;43918:26:0;;43945:11;43918:39;;;;;;;;;;;;;-1:-1:-1;;;;;43918:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43918:39:0;43908:91;43888:111;;44014:7;44010:234;;;44059:6;44046:9;:19;;44038:80;;;;-1:-1:-1;;;44038:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44010:234;;;44172:6;44159:9;:19;;44151:81;;;;-1:-1:-1;;;44151:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44256:16;44282:6;-1:-1:-1;;;;;44275:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44256:39;;44397:13;;;;;;;;;-1:-1:-1;;;;;44397:13:0;-1:-1:-1;;;;;44382:51:0;;44434:8;44444:16;44462:11;44475:7;44484:10;44496:9;44507:5;44382:131;;;;;;;;;;;;;-1:-1:-1;;;;;44382:131:0;;;;;;-1:-1:-1;;;;;44382:131:0;;;;;;-1:-1:-1;;;;;44382:131:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44536:8;-1:-1:-1;;;;;44526:34:0;;44561:6;44526:42;;;;;;;;;;;;;-1:-1:-1;;;;;44526:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44579:17;44607:6;;;;;;;;;-1:-1:-1;;;;;44607:6:0;-1:-1:-1;;;;;44599:38:0;;44638:8;44648:16;44666:11;44679:16;44697:10;44709:7;44718:9;44599:129;;;;;;;;;;;;;-1:-1:-1;;;;;44599:129:0;;;;;;-1:-1:-1;;;;;44599:129:0;;;;;;-1:-1:-1;;;;;44599:129:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44599:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44599:129:0;44739:43;;;-1:-1:-1;;;44739:43:0;;-1:-1:-1;;;;;44739:43:0;;;;;;;;;44599:129;;-1:-1:-1;44739:35:0;;;;;;:43;;;;;-1:-1:-1;;44739:43:0;;;;;;;;-1:-1:-1;44739:35:0;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44795:51;44825:8;44835:10;44795:29;:51::i;:::-;44866:9;43628:1255;-1:-1:-1;;;;;;;;;;;;43628:1255:0:o;17319:177::-;17429:58;;;-1:-1:-1;;;;;17429:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17429:58:0;-1:-1:-1;;;17429:58:0;;;17402:86;;17422:5;;17402:19;:86::i;:::-;17319:177;;;:::o;46082:289::-;46175:7;46199:5;:12;46215:1;46199:17;46195:107;;;46240:50;46251:5;46257:1;46251:8;;;;;;;;;;;;;;46261:5;46267:1;46261:8;;;;;;;;;;;;;;46271:7;46280:9;46240:10;:50::i;:::-;46233:57;;;;46195:107;46312:51;;-1:-1:-1;;;46312:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46857:382;46977:4;;46971:32;;;-1:-1:-1;;;46971:32:0;;;;;;;;;;-1:-1:-1;;;;;46977:4:0;;;;46971:20;;:32;;;;;46977:4;;46971:32;;;;;;;;46977:4;;46971:32;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47205:26:0;;-1:-1:-1;;;;;47205:14:0;;;-1:-1:-1;47205:26:0;;;;;-1:-1:-1;47220:10:0;;47205:26;;;;47220:10;47205:14;:26;;-1:-1:-1;;;;;;;46857:382:0:o;12682:136::-;12740:7;12767:43;12771:1;12774;12767:43;;;;;;;;;;;;;;;;;:3;:43::i;76822:697::-;-1:-1:-1;;;;;76995:29:0;;76991:68;;77041:7;;76991:68;77076:28;:15;-1:-1:-1;;;;;77076:26:0;;:28::i;:::-;77071:68;;77121:7;;77071:68;77171:16;;77202:14;77198:53;;77233:7;;;77198:53;77263:12;77322:15;-1:-1:-1;;;;;77290:68:0;;77365:9;77377:4;77383:12;77397:11;77290:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77286:174;;;;;-1:-1:-1;77435:4:0;77286:174;77477:34;;;-1:-1:-1;;;;;77477:34:0;;;;;;;;;;;;;;;;;;;;;;;;76822:697;;;;;;;:::o;72336:619::-;72466:4;;72503:10;72525:4;72503:27;;:59;;-1:-1:-1;72551:10:0;72534:28;;;;:16;:28;;;;;;;;72580:17;;72483:79;;-1:-1:-1;72580:17:0;;72579:18;:35;;;;;72602:12;72575:81;;72631:13;;;-1:-1:-1;;;72631:13:0;;;;;;;;;;;;-1:-1:-1;;;72631:13:0;;;;;;;;;;;;;;5394:397;5509:6;5484:21;:31;;5476:73;;;;;-1:-1:-1;;;5476:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5659:35;;5641:12;;-1:-1:-1;;;;;5659:14:0;;;5682:6;;5641:12;5659:35;5641:12;5659:35;5682:6;5659:14;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5640:54;;;5713:7;5705:78;;;;-1:-1:-1;;;5705:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47247:858;47464:7;47484:20;47507:167;47538:8;47561:5;47581:9;47605:11;47631:7;47653:10;47507:16;:167::i;:::-;47484:190;;47691:15;47687:382;;;47723:22;47748:77;37615:5;47748:51;47762:36;47787:10;;37615:5;47762:24;;:36;;;;:::i;:::-;47748:9;;:13;:51::i;:::-;:55;;:77::i;:::-;47723:102;-1:-1:-1;47840:17:0;47860:29;:9;47723:102;47860:13;:29::i;:::-;47840:49;;47904:16;47923:5;47944:1;47929:5;:12;:16;47923:23;;;;;;;;;;;;;;47904:42;;47985:36;48011:9;47985:11;:21;47997:8;-1:-1:-1;;;;;47985:21:0;-1:-1:-1;;;;;47985:21:0;;;;;;;;;;;;;:25;;:36;;;;:::i;:::-;-1:-1:-1;;;;;47961:21:0;;;;;;;:11;:21;;;;;:60;-1:-1:-1;48043:14:0;-1:-1:-1;48036:21:0;;-1:-1:-1;48036:21:0;47687:382;48088:9;48081:16;;;47247:858;;;;;;;;;:::o;42438:1182::-;42617:5;;-1:-1:-1;;;;;42617:5:0;42600:14;42655:7;:91;;42714:6;-1:-1:-1;;;;;42707:26:0;;42734:11;42707:39;;;;;;;;;;;;;-1:-1:-1;;;;;42707:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42707:39:0;42655:91;;;42672:6;-1:-1:-1;;;;;42665:26:0;;42692:11;42665:39;;;;;;;;;;;;;-1:-1:-1;;;;;42665:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42665:39:0;42655:91;42635:111;;42761:7;42757:234;;;42806:6;42793:9;:19;;42785:81;;;;-1:-1:-1;;;42785:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42757:234;;;42920:6;42907:9;:19;;42899:80;;;;-1:-1:-1;;;42899:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43003:56;43026:11;43039:7;43048:10;43003:22;:56::i;:::-;43072:16;43098:6;-1:-1:-1;;;;;43091:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43091:20:0;43213:13;;;43198:130;;;-1:-1:-1;;;43198:130:0;;-1:-1:-1;;;;;43198:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43213:13;43198:130;;;;;;43091:20;;-1:-1:-1;43213:13:0;;;43198:51;;:130;;;;;43213:13;;43198:130;;;;;;;;43213:13;;43198:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43351:8;-1:-1:-1;;;;;43341:34:0;;43376:6;43341:42;;;;;;;;;;;;;-1:-1:-1;;;;;43341:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;43402:6:0;;43394:100;;;-1:-1:-1;;;43394:100:0;;-1:-1:-1;;;;;43394:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43402:6;;;;;-1:-1:-1;43394:38:0;;-1:-1:-1;43394:100:0;;;;;43402:6;;43394:100;;;;;;;43402:6;;43394:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43515:8;-1:-1:-1;;;;;43505:35:0;;43541:6;43505:43;;;;;;;;;;;;;-1:-1:-1;;;;;43505:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43561:51;43591:8;43601:10;43561:29;:51::i;:::-;42438:1182;;;;;;;;;:::o;46710:139::-;46760:9;:14;46756:86;;46797:4;;;;;;;;;-1:-1:-1;;;;;46797:4:0;-1:-1:-1;;;;;46791:19:0;;46818:9;46791:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46756:86;46710:139::o;71330:257::-;71409:27;;;;;:60;;-1:-1:-1;71440:15:0;;-1:-1:-1;;;;;71440:15:0;:29;;71409:60;71405:175;;;71503:15;;71486:82;;;-1:-1:-1;;;71486:82:0;;71542:10;71486:82;;;;;;;;;;;;-1:-1:-1;;;;;71503:15:0;;;;71486:55;;:82;;;;;71503:15;;71486:82;;;;;;;;71503:15;;71486:82;;;;;;;;;;71405:175;71330:257;:::o;72963:1380::-;73353:7;73373:38;;:::i;:::-;73414:376;;;;;;;;73452:8;-1:-1:-1;;;;;73414:376:0;;;;;73475:5;73414:376;;;;73495:11;-1:-1:-1;;;;;73414:376:0;;;;;73521:9;73414:376;;;;73545:7;73414:376;;;;73567:10;73414:376;;;;73592:7;73414:376;;;;;;73614:16;73414:376;;;;73645:13;73414:376;;;;73673:12;73414:376;;;;73700:15;73414:376;;;;73730:19;73414:376;;;;;;73764:15;-1:-1:-1;;;;;73414:376:0;;;;73373:417;;73804:13;73819:18;73841:38;73871:7;73841:29;:38::i;:::-;73803:76;;;;73932:8;-1:-1:-1;;;;;73895:410:0;;73955:5;73975:11;74001:9;74025:7;74047:10;74072:7;74094:16;74125:13;74153:5;74210:1;74173:27;:34;;;;:38;74226:12;74253:15;74283:11;73895:410;;;;;;;-1:-1:-1;;;;;73895:410:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74325:10;72963:1380;-1:-1:-1;;;;;;;;;;;;;;72963:1380:0:o;75309:1505::-;75727:7;75747:38;;:::i;:::-;75788:400;;;;;;;;75826:8;-1:-1:-1;;;;;75788:400:0;;;;;75849:5;75788:400;;;;75869:11;-1:-1:-1;;;;;75788:400:0;;;;;75895:16;75788:400;;;;75926:10;75788:400;;;;75951:7;75788:400;;;;;;75973:9;-1:-1:-1;;;;;75788:400:0;;;;;75997:16;75788:400;;;;76028:7;75788:400;;;;76050:13;75788:400;;;;76078:12;75788:400;;;;76105:15;75788:400;;;;76135:12;75788:400;;;;;;76162:15;-1:-1:-1;;;;;75788:400:0;;;;75747:441;;76202:13;76217:18;76239:38;76269:7;76239:29;:38::i;:::-;76201:76;;;;76330:7;:15;;;-1:-1:-1;;;;;76293:485:0;;76360:7;:12;;;76387:7;:18;;;76420:7;:23;;;76458:7;:17;;;76490:7;:14;;;76519:7;:16;;;76550:7;:23;;;76588:7;:14;;;76617:7;:20;;;76652:5;76709:1;76672:27;:34;;;;:38;76725:12;76752:15;76293:485;;;;;;;-1:-1:-1;;;;;76293:485:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;76293:485:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76796:10;75309:1505;-1:-1:-1;;;;;;;;;;;;;;;75309:1505:0:o;12218:181::-;12276:7;12308:5;;;12332:6;;;;12324:46;;;;;-1:-1:-1;;;12324:46:0;;;;;;;;;;;;-1:-1:-1;;;12324:46:0;;;;;;;;;;;;;;45447:627;45571:15;;-1:-1:-1;;;;;45571:15:0;45601:30;45597:69;;45648:7;;;45597:69;45679:20;45701:16;45738;-1:-1:-1;;;;;45721:56:0;;45778:8;45721:66;;;;;;;;;;;;;-1:-1:-1;;;;;45721:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45721:66:0;;;;;;;;;-1:-1:-1;45721:66:0;-1:-1:-1;45804:26:0;45800:65;;45847:7;;;;;45800:65;45882:184;45921:8;45944:10;45976:5;;;;;;;;;-1:-1:-1;;;;;45976:5:0;-1:-1:-1;;;;;45969:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45969:36:0;45882:184;;;-1:-1:-1;;;;;45882:184:0;;;;;45969:36;45882:184;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45447:627;;;;;:::o;19624:761::-;20048:23;20074:69;20102:4;20074:69;;;;;;;;;;;;;;;;;20082:5;-1:-1:-1;;;;;20074:27:0;;;:69;;;;;:::i;:::-;20158:17;;20048:95;;-1:-1:-1;20158:21:0;20154:224;;20300:10;20289:30;;;;;;;;;;;;;;;-1:-1:-1;20289:30:0;20281:85;;;;-1:-1:-1;;;20281:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46379:323;46537:5;;46530:50;;;-1:-1:-1;;;46530:50:0;;-1:-1:-1;;;;;46530:50:0;;;;;;;;;;;;;;;;;;;;;;;46490:7;;;;46537:5;;46530:18;;:50;;;;;;;;;;;;;;46490:7;46537:5;46530:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46530:50:0;;-1:-1:-1;46599:20:0;;;;46591:76;;;;-1:-1:-1;;;46591:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46685:9;46379:323;-1:-1:-1;;;;;46379:323:0:o;13121:192::-;13207:7;13243:12;13235:6;;;;13227:29;;;;-1:-1:-1;;;13227:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13279:5:0;;;13121:192::o;4037:422::-;4404:20;4443:8;;;4037:422::o;48113:1449::-;48339:4;48421:7;48416:31;;-1:-1:-1;48439:5:0;48432:12;;48416:31;48544:15;48540:37;;-1:-1:-1;48570:4:0;48563:11;;48540:37;48589:23;48615:5;48636:1;48621:5;:12;:16;48615:23;;;;;;;;;;;;;;;;;;48674:5;;48740:67;;;-1:-1:-1;;;48740:67:0;;-1:-1:-1;;;;;48740:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48615:23;;-1:-1:-1;48674:5:0;;;48651:13;;;;48674:5;;48740:18;;:67;;;;;48674:5;;48740:67;;;;;;;48674:5;48740:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48740:67:0;;;;;;;;;-1:-1:-1;48740:67:0;-1:-1:-1;48890:9:0;48886:32;;48910:5;48903:12;;;;;;;;48886:32;48930:16;48949:20;:4;48958:10;48949:8;:20::i;:::-;48930:39;;48980:23;49006:6;-1:-1:-1;;;;;49006:20:0;;49027:15;49044:9;49006:48;;;;;;;;;;;;;-1:-1:-1;;;;;49006:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49006:48:0;;-1:-1:-1;49065:22:0;49090:31;:10;49006:48;49090:14;:31::i;:::-;49065:56;-1:-1:-1;49134:20:0;49157:46;49192:10;49157:30;:4;37615:5;49157:8;:30::i;:46::-;49134:69;;49348:20;49371:82;49438:14;49371:62;49407:25;;37615:5;49384:48;49371:8;:12;;:62;;;;:::i;:82::-;49527:27;;;;;48113:1449;-1:-1:-1;;;;;;;;;;;;;;;48113:1449:0:o;13572:471::-;13630:7;13875:6;13871:47;;-1:-1:-1;13905:1:0;13898:8;;13871:47;13942:5;;;13946:1;13942;:5;:1;13966:5;;;;;:10;13958:56;;;;-1:-1:-1;;;13958:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14519:132;14577:7;14604:39;14608:1;14611;14604:39;;;;;;;;;;;;;-1:-1:-1;;;14604:39:0;;;:3;:39::i;41622:808::-;41738:15;41734:54;;41770:7;;41734:54;41804:7;41800:623;;;-1:-1:-1;;;;;41856:31:0;;41828:25;41856:31;;;:18;:31;;;;;;41906:21;;;;;:101;;-1:-1:-1;41938:5:0;;41931:40;;;-1:-1:-1;;;41931:40:0;;-1:-1:-1;;;;;41931:40:0;;;;;;;;;41990:17;;41931:56;;41976:10;;41938:5;;;41931:27;;:40;;;;;;;;;;;;;;;41938:5;41931:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41931:40:0;;:44;:56::i;:::-;:76;41906:101;41902:198;;;42028:56;;-1:-1:-1;;;42028:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41902:198;41800:623;;;;-1:-1:-1;;;;;42161:32:0;;42132:26;42161:32;;;:19;:32;;;;;;42212:22;;;;;:106;;-1:-1:-1;42245:5:0;;42238:43;;;-1:-1:-1;;;42238:43:0;;-1:-1:-1;;;;;42238:43:0;;;;;;;;;42300:18;;42238:59;;42286:10;;42245:5;;;42238:30;;:43;;;;;;;;;;;;;;;42245:5;42238:43;;;;;;;;;;:59;:80;42212:106;42208:204;;;42339:57;;-1:-1:-1;;;42339:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44891:548;45015:15;;-1:-1:-1;;;;;45015:15:0;45045:30;45041:69;;45092:7;;;45041:69;45123:20;45145:16;45182;-1:-1:-1;;;;;45165:56:0;;45222:8;45165:66;;;;;;;;;;;;;-1:-1:-1;;;;;45165:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45165:66:0;;;;;;;45341:5;;45165:66;45334:36;;-1:-1:-1;;;45334:36:0;;;;45165:66;;-1:-1:-1;45165:66:0;;-1:-1:-1;45247:184:0;;45286:8;;45309:10;;-1:-1:-1;;;;;45341:5:0;;;;45334:34;;:36;;;;;45165:66;;45334:36;;;;;45341:5;45334:36;;;;;;;;;;74351:471;74496:16;;-1:-1:-1;;;;;74539:31:0;;74449:7;74539:31;;;:22;:31;;;;;;74449:7;;;;;;74539:38;;74575:1;74539:35;:38::i;:::-;-1:-1:-1;;;;;74588:31:0;;;;;;:22;:31;;;;;:39;;;74523:54;;-1:-1:-1;74652:29:0;74611:7;74523:54;74652:13;:29::i;:::-;74694;;;;:24;:29;;;;;;;;:40;;;;-1:-1:-1;;;;;;74694:40:0;-1:-1:-1;;;;;74694:40:0;;;;;;;;;;;;:29;;-1:-1:-1;74694:40:0;;:29;;:40;;-1:-1:-1;74694:40:0;;;;;;;;:::i;:::-;-1:-1:-1;74694:40:0;;;;;;;;;-1:-1:-1;;;;;74694:40:0;;;-1:-1:-1;;;;;;74694:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;74694:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;74694:40:0;;;;;;;;;;;;;;;;;;;;;74745:27;:37;;74694:40;74745:37;;;;74694:40;74745:37;;;;;;;;;74803:5;;-1:-1:-1;74778:3:0;-1:-1:-1;;74351:471:0;;;:::o;74830:::-;74975:16;;-1:-1:-1;;;;;75018:31:0;;74928:7;75018:31;;;:22;:31;;;;;;74928:7;;;;;;75018:38;;75054:1;75018:35;:38::i;:::-;-1:-1:-1;;;;;75067:31:0;;;;;;:22;:31;;;;;:39;;;75002:54;;-1:-1:-1;75131:29:0;75090:7;75002:54;75131:13;:29::i;:::-;75173;;;;:24;:29;;;;;;;;:40;;;;-1:-1:-1;;;;;;75173:40:0;-1:-1:-1;;;;;75173:40:0;;;;;;;;;;;;:29;;-1:-1:-1;75173:40:0;;:29;;:40;;-1:-1:-1;75173:40:0;;;;;;;;:::i;:::-;-1:-1:-1;75173:40:0;;;;;;;;;-1:-1:-1;;;;;75173:40:0;;;-1:-1:-1;;;;;;75173:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;75173:40:0;;;-1:-1:-1;;75173:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75224:27;:37;;75173:40;75224:37;;;;75173:40;75224:37;;;;;;;;;75282:5;;-1:-1:-1;75257:3:0;-1:-1:-1;;74830:471:0;;;:::o;6955:195::-;7058:12;7090:52;7112:6;7120:4;7126:1;7129:12;7090:21;:52::i;:::-;7083:59;6955:195;-1:-1:-1;;;;6955:195:0:o;15147:278::-;15233:7;15268:12;15261:5;15253:28;;;;-1:-1:-1;;;15253:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15292:9;15308:1;15304;:5;;;;;;;15147:278;-1:-1:-1;;;;;15147:278:0:o;8007:530::-;8134:12;8192:5;8167:21;:30;;8159:81;;;;-1:-1:-1;;;8159:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8259:18;8270:6;8259:10;:18::i;:::-;8251:60;;;;;-1:-1:-1;;;8251:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8385:12;8399:23;8426:6;-1:-1:-1;;;;;8426:11:0;8446:5;8454:4;8426:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8426:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8384:75;;;;8477:52;8495:7;8504:10;8516:12;8477:17;:52::i;:::-;8470:59;8007:530;-1:-1:-1;;;;;;;8007:530:0:o;10547:742::-;10662:12;10691:7;10687:595;;;-1:-1:-1;10722:10:0;10715:17;;10687:595;10836:17;;:21;10832:439;;11099:10;11093:17;11160:15;11147:10;11143:2;11139:19;11132:44;11047:148;11235:20;;-1:-1:-1;;;11235:20:0;;;;;;;;;;;;;;;;;11242:12;;11235:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://29b55e9b5cbc63763169a9cdb9f34985b31d30185ef298559d0eff88fccef80b

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.