FTM Price: $0.542616 (+7.20%)
Gas: 41 GWei
 

Overview

Max Total Supply

1,527,212.73355496743310529 oFVM

Holders

467

Market

Price

$0.00 @ 0.000000 FTM

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 oFVM

Value
$0.00
0x790b5885869af1fbb989a5afe33d2e2d46cbd11d
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xfEFBC029...48729BF93
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
OptionTokenV2

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at ftmscan.com on 2023-06-30
*/

// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.13;


// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)




// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)



/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)



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

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


// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)




// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)



/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

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

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

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

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)



/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}


/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)




// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)



/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}


/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}




/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)
/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)
/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.
abstract contract ERC20 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 amount);

    event Approval(address indexed owner, address indexed spender, uint256 amount);

    /*//////////////////////////////////////////////////////////////
                            METADATA STORAGE
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    uint8 public immutable decimals;

    /*//////////////////////////////////////////////////////////////
                              ERC20 STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 public totalSupply;

    mapping(address => uint256) public balanceOf;

    mapping(address => mapping(address => uint256)) public allowance;

    /*//////////////////////////////////////////////////////////////
                            EIP-2612 STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 internal immutable INITIAL_CHAIN_ID;

    bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;

    mapping(address => uint256) public nonces;

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals
    ) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;

        INITIAL_CHAIN_ID = block.chainid;
        INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();
    }

    /*//////////////////////////////////////////////////////////////
                               ERC20 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 amount) public virtual returns (bool) {
        allowance[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);

        return true;
    }

    function transfer(address to, uint256 amount) public virtual returns (bool) {
        balanceOf[msg.sender] -= amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(msg.sender, to, amount);

        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual returns (bool) {
        uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.

        if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;

        balanceOf[from] -= amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(from, to, amount);

        return true;
    }

    /*//////////////////////////////////////////////////////////////
                             EIP-2612 LOGIC
    //////////////////////////////////////////////////////////////*/

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual {
        require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED");

        // Unchecked because the only math done is incrementing
        // the owner's nonce which cannot realistically overflow.
        unchecked {
            address recoveredAddress = ecrecover(
                keccak256(
                    abi.encodePacked(
                        "\x19\x01",
                        DOMAIN_SEPARATOR(),
                        keccak256(
                            abi.encode(
                                keccak256(
                                    "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"
                                ),
                                owner,
                                spender,
                                value,
                                nonces[owner]++,
                                deadline
                            )
                        )
                    )
                ),
                v,
                r,
                s
            );

            require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER");

            allowance[recoveredAddress][spender] = value;
        }

        emit Approval(owner, spender, value);
    }

    function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {
        return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();
    }

    function computeDomainSeparator() internal view virtual returns (bytes32) {
        return
            keccak256(
                abi.encode(
                    keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                    keccak256(bytes(name)),
                    keccak256("1"),
                    block.chainid,
                    address(this)
                )
            );
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 amount) internal virtual {
        totalSupply += amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(address(0), to, amount);
    }

    function _burn(address from, uint256 amount) internal virtual {
        balanceOf[from] -= amount;

        // Cannot underflow because a user's balance
        // will never be larger than the total supply.
        unchecked {
            totalSupply -= amount;
        }

        emit Transfer(from, address(0), amount);
    }
}



interface IERC20 {
    function totalSupply() external view returns (uint256);
    function transfer(address recipient, uint amount) external returns (bool);
    function decimals() external view returns (uint8);
    function symbol() external view returns (string memory);
    function balanceOf(address) external view returns (uint);
    function transferFrom(address sender, address recipient, uint amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint);
    function approve(address spender, uint value) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint value);
    event Approval(address indexed owner, address indexed spender, uint value);
}


interface IFlow {
    function totalSupply() external view returns (uint);
    function balanceOf(address) external view returns (uint);
    function approve(address spender, uint value) external returns (bool);
    function transfer(address, uint) external returns (bool);
    function transferFrom(address,address,uint) external returns (bool);
    function mint(address, uint) external returns (bool);
    function minter() external returns (address);
}



interface IGaugeV2 {
    function left(address token) external view returns (uint);
    function notifyRewardAmount(address token, uint amount) external;

    function depositWithLock(
        address account,
        uint256 amount,
        uint256 _lockDuration
    ) external;
}



interface IVoter {
    function _ve() external view returns (address);
    function governor() external view returns (address);
    function emergencyCouncil() external view returns (address);
    function attachTokenToGauge(uint _tokenId, address account) external;
    function detachTokenFromGauge(uint _tokenId, address account) external;
    function emitDeposit(uint _tokenId, address account, uint amount) external;
    function emitWithdraw(uint _tokenId, address account, uint amount) external;
    function isWhitelisted(address token) external view returns (bool);
    function notifyRewardAmount(uint amount) external;
    function distribute(address _gauge) external;
    function gauges(address) external view returns (address);
}



interface IVotingEscrow {

    struct Point {
        int128 bias;
        int128 slope; // # -dweight / dt
        uint256 ts;
        uint256 blk; // block
    }

    function token() external view returns (address);
    function team() external returns (address);
    function epoch() external view returns (uint);
    function point_history(uint loc) external view returns (Point memory);
    function user_point_history(uint tokenId, uint loc) external view returns (Point memory);
    function user_point_epoch(uint tokenId) external view returns (uint);

    function ownerOf(uint) external view returns (address);
    function isApprovedOrOwner(address, uint) external view returns (bool);
    function transferFrom(address, address, uint) external;

    function voting(uint tokenId) external;
    function abstain(uint tokenId) external;
    function attach(uint tokenId) external;
    function detach(uint tokenId) external;

    function checkpoint() external;
    function deposit_for(uint tokenId, uint value) external;
    function create_lock_for(uint, uint, address) external returns (uint);

    function balanceOfNFT(uint) external view returns (uint);
    function totalSupply() external view returns (uint);
}


interface IPair {
    function metadata() external view returns (uint dec0, uint dec1, uint r0, uint r1, bool st, address t0, address t1);
    function tokens() external returns (address, address);
    function token0() external returns (address);
    function token1() external returns (address);
    function transferFrom(address src, address dst, uint amount) external returns (bool);
    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function burn(address to) external returns (uint amount0, uint amount1);
    function mint(address to) external returns (uint liquidity);
    function getReserves() external view returns (uint _reserve0, uint _reserve1, uint _blockTimestampLast);
    function getAmountOut(uint, address) external view returns (uint);
    function setHasGauge(bool value) external;
    function setExternalBribe(address _externalBribe) external;
    function hasGauge() external view returns (bool);
    function stable() external view returns (bool);
    function prices(address tokenIn, uint amountIn, uint points) external view returns (uint[] memory);
}



interface IRouter {
    function pairFor(address tokenA, address tokenB, bool stable) external view returns (address pair);
    function getReserves(address tokenA, address tokenB, bool stable) external view returns (uint, uint);
    function addLiquidity(
        address tokenA,
        address tokenB,
        bool stable,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint, uint, uint);
}


/// @title Option Token
/// @notice Option token representing the right to purchase the underlying token
/// at TWAP reduced rate. Similar to call options but with a variable strike
/// price that's always at a certain discount to the market price.
/// @dev Assumes the underlying token and the payment token both use 18 decimals and revert on
// failure to transfer.

contract OptionTokenV2 is ERC20, AccessControl {
    /// -----------------------------------------------------------------------
    /// Constants
    /// -----------------------------------------------------------------------
    uint256 public constant MAX_DISCOUNT = 100; // 100%
    uint256 public constant MIN_DISCOUNT = 0; // 0%
    uint256 public constant MAX_TWAP_POINTS = 50; // 25 hours
    uint256 public constant FULL_LOCK = 52 * 7 * 86400; // 52 weeks
    uint256 public constant MAX_TEAM_FEE = 50; // 50%

    /// -----------------------------------------------------------------------
    /// Roles
    /// -----------------------------------------------------------------------
    /// @dev The identifier of the role which maintains other roles and settings
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN");

    /// @dev The identifier of the role which is allowed to mint options token
    bytes32 public constant MINTER_ROLE = keccak256("MINTER");

    /// @dev The identifier of the role which allows accounts to pause execrcising options
    /// in case of emergency
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER");

    /// -----------------------------------------------------------------------
    /// Errors
    /// -----------------------------------------------------------------------
    error OptionToken_PastDeadline();
    error OptionToken_NoAdminRole();
    error OptionToken_NoMinterRole();
    error OptionToken_NoPauserRole();
    error OptionToken_SlippageTooHigh();
    error OptionToken_InvalidDiscount();
    error OptionToken_InvalidLockDuration();
    error OptionToken_InvalidTeamFee();
    error OptionToken_Paused();
    error OptionToken_InvalidTwapPoints();
    error OptionToken_IncorrectPairToken();

    /// -----------------------------------------------------------------------
    /// Events
    /// -----------------------------------------------------------------------

    event Exercise(
        address indexed sender,
        address indexed recipient,
        uint256 amount,
        uint256 paymentAmount
    );
    event ExerciseVe(
        address indexed sender,
        address indexed recipient,
        uint256 amount,
        uint256 paymentAmount,
        uint256 nftId
    );
    event ExerciseLp(
        address indexed sender,
        address indexed recipient,
        uint256 amount,
        uint256 paymentAmount,
        uint256 lpAmount
    );
    event SetPairAndPaymentToken(
        IPair indexed newPair,
        address indexed newPaymentToken
    );
    event SetGauge(address indexed newGauge);
    event SetTreasury(address indexed newTreasury);
    event SetTeamFee(uint256 newFee);
    event SetRouter(address indexed newRouter);
    event SetDiscount(uint256 discount);
    event SetVeDiscount(uint256 veDiscount);
    event SetMinLPDiscount(uint256 lpMinDiscount);
    event SetMaxLPDiscount(uint256 lpMaxDiscount);
    event SetLockDurationForMaxLpDiscount(uint256 lockDurationForMaxLpDiscount);
    event SetLockDurationForMinLpDiscount(uint256 lockDurationForMinLpDiscount);
    event PauseStateChanged(bool isPaused);
    event SetTwapPoints(uint256 twapPoints);

    /// -----------------------------------------------------------------------
    /// Immutable parameters
    /// -----------------------------------------------------------------------

    /// @notice The token paid by the options token holder during redemption
    address public paymentToken;

    /// @notice The underlying token purchased during redemption
    address public immutable underlyingToken;

    /// @notice The voting escrow for locking FLOW to veFLOW
    address public immutable votingEscrow;

    /// @notice The voter contract
    address public immutable voter;

 

    /// -----------------------------------------------------------------------
    /// Storage variables
    /// -----------------------------------------------------------------------


       /// @notice The router for adding liquidity
    address public router; // this should not be immutable

    /// @notice The pair contract that provides the current TWAP price to purchase
    /// the underlying token while exercising options (the strike price)
    IPair public pair;

    /// @notice The guage contract for the pair
    address public gauge;

    /// @notice The treasury address which receives tokens paid during redemption
    address public treasury;

    /// @notice the discount given during exercising with locking to the LP
    uint256 public  maxLPDiscount = 20; //  User pays 20%
    uint256 public  minLPDiscount = 80; //  User pays 80%

    /// @notice the discount given during exercising. 30 = user pays 30%
    uint256 public discount = 90; // User pays 90%

    /// @notice the discount for locking to veFLOW
    uint256 public veDiscount = 10; // User pays 10%

    /// @notice the lock duration for max discount to create locked LP
    uint256 public lockDurationForMaxLpDiscount = FULL_LOCK; // 52 weeks

    // @notice the lock duration for max discount to create locked LP
    uint256 public lockDurationForMinLpDiscount = 7 * 86400; // 1 week

    /// @notice
    uint256 public teamFee = 10; // 10%

    /// @notice controls the duration of the twap used to calculate the strike price
    // each point represents 30 minutes. 4 points = 2 hours
    uint256 public twapPoints = 4;

    /// @notice Is excersizing options currently paused
    bool public isPaused;

    /// -----------------------------------------------------------------------
    /// Modifiers
    /// -----------------------------------------------------------------------
    /// @dev A modifier which checks that the caller has the admin role.
    modifier onlyAdmin() {
        if (!hasRole(ADMIN_ROLE, msg.sender)) revert OptionToken_NoAdminRole();
        _;
    }

    /// @dev A modifier which checks that the caller has the admin role.
    modifier onlyMinter() {
        if (
            !hasRole(ADMIN_ROLE, msg.sender) &&
            !hasRole(MINTER_ROLE, msg.sender)
        ) revert OptionToken_NoMinterRole();
        _;
    }

    /// @dev A modifier which checks that the caller has the pause role.
    modifier onlyPauser() {
        if (!hasRole(PAUSER_ROLE, msg.sender))
            revert OptionToken_NoPauserRole();
        _;
    }

    /// -----------------------------------------------------------------------
    /// Constructor
    /// -----------------------------------------------------------------------

    constructor(
        string memory _name,
        string memory _symbol,
        address _admin,
        address _paymentToken,
        address _underlyingToken,
        IPair _pair,
        address _gaugeFactory,
        address _treasury,
        address _voter,
        address _votingEscrow,
        address _router
    ) ERC20(_name, _symbol, 18) {
        _grantRole(ADMIN_ROLE, _admin);
        _grantRole(PAUSER_ROLE, _admin);
        _grantRole(ADMIN_ROLE, _gaugeFactory);
        _setRoleAdmin(ADMIN_ROLE, ADMIN_ROLE);
        _setRoleAdmin(MINTER_ROLE, ADMIN_ROLE);
        _setRoleAdmin(PAUSER_ROLE, ADMIN_ROLE);
        paymentToken = _paymentToken;
        underlyingToken = _underlyingToken;
        pair = _pair;
        treasury = _treasury;
        voter = _voter;
        votingEscrow = _votingEscrow;
        router = _router;

        emit SetPairAndPaymentToken(_pair, paymentToken);
        emit SetTreasury(_treasury);
        emit SetRouter(_router);
    }

    /// -----------------------------------------------------------------------
    /// External functions
    /// -----------------------------------------------------------------------

    /// @notice Exercises options tokens to purchase the underlying tokens.
    /// @dev The oracle may revert if it cannot give a secure result.
    /// @param _amount The amount of options tokens to exercise
    /// @param _maxPaymentAmount The maximum acceptable amount to pay. Used for slippage protection.
    /// @param _recipient The recipient of the purchased underlying tokens
    /// @return The amount paid to the treasury to purchase the underlying tokens
    function exercise(
        uint256 _amount,
        uint256 _maxPaymentAmount,
        address _recipient
    ) external returns (uint256) {
        return _exercise(_amount, _maxPaymentAmount, _recipient);
    }

    /// @notice Exercises options tokens to purchase the underlying tokens.
    /// @dev The oracle may revert if it cannot give a secure result.
    /// @param _amount The amount of options tokens to exercise
    /// @param _maxPaymentAmount The maximum acceptable amount to pay. Used for slippage protection.
    /// @param _recipient The recipient of the purchased underlying tokens
    /// @param _deadline The Unix timestamp (in seconds) after which the call will revert
    /// @return The amount paid to the treasury to purchase the underlying tokens
    function exercise(
        uint256 _amount,
        uint256 _maxPaymentAmount,
        address _recipient,
        uint256 _deadline
    ) external returns (uint256) {
        if (block.timestamp > _deadline) revert OptionToken_PastDeadline();
        return _exercise(_amount, _maxPaymentAmount, _recipient);
    }

    /// @notice Exercises options tokens to purchase the underlying tokens.
    /// @dev The oracle may revert if it cannot give a secure result.
    /// @param _amount The amount of options tokens to exercise
    /// @param _maxPaymentAmount The maximum acceptable amount to pay. Used for slippage protection.
    /// @param _recipient The recipient of the purchased underlying tokens
    /// @param _deadline The Unix timestamp (in seconds) after which the call will revert
    /// @return The amount paid to the treasury to purchase the underlying tokens
    function exerciseVe(
        uint256 _amount,
        uint256 _maxPaymentAmount,
        address _recipient,
        uint256 _deadline
    ) external returns (uint256, uint256) {
        if (block.timestamp > _deadline) revert OptionToken_PastDeadline();
        return _exerciseVe(_amount, _maxPaymentAmount, _recipient);
    }

    /// @notice Exercises options tokens to create LP and stake in gauges with lock.
    /// @dev The oracle may revert if it cannot give a secure result.
    /// @param _amount The amount of options tokens to exercise
    /// @param _maxPaymentAmount The maximum acceptable amount to pay. Used for slippage protection.
    /// @param _discount The desired discount
    /// @param _deadline The Unix timestamp (in seconds) after which the call will revert
    /// @return The amount paid to the treasury to purchase the underlying tokens

    function exerciseLp(
        uint256 _amount,
        uint256 _maxPaymentAmount,
        address _recipient,
        uint256 _discount,
        uint256 _deadline
    ) external returns (uint256, uint256) {
        if (block.timestamp > _deadline) revert OptionToken_PastDeadline();
        return _exerciseLp(_amount, _maxPaymentAmount, _recipient, _discount);
    }

    /// -----------------------------------------------------------------------
    /// Public functions
    /// -----------------------------------------------------------------------

    /// @notice Returns the discounted price in paymentTokens for a given amount of options tokens
    /// @param _amount The amount of options tokens to exercise
    /// @return The amount of payment tokens to pay to purchase the underlying tokens
    function getDiscountedPrice(uint256 _amount) public view returns (uint256) {
        return (getTimeWeightedAveragePrice(_amount) * discount) / 100;
    }

    /// @notice Returns the discounted price in paymentTokens for a given amount of options tokens redeemed to veFLOW
    /// @param _amount The amount of options tokens to exercise
    /// @return The amount of payment tokens to pay to purchase the underlying tokens
    function getVeDiscountedPrice(
        uint256 _amount
    ) public view returns (uint256) {
        return (getTimeWeightedAveragePrice(_amount) * veDiscount) / 100;
    }

    /// @notice Returns the discounted price in paymentTokens for a given amount of options tokens redeemed to veFLOW
    /// @param _amount The amount of options tokens to exercise
    /// @param _discount The discount amount
    /// @return The amount of payment tokens to pay to purchase the underlying tokens
    function getLpDiscountedPrice(
        uint256 _amount,
        uint256 _discount
    ) public view returns (uint256) {
        return (getTimeWeightedAveragePrice(_amount) * _discount) / 100;
    }

    /// @notice Returns the lock duration for a desired discount to create locked LP
    ///
    function getLockDurationForLpDiscount(
        uint256 _discount
    ) public view returns (uint256 duration) {
        (int256 slope, int256 intercept) = getSlopeInterceptForLpDiscount();
        duration = SignedMath.abs(slope * int256(_discount) + intercept);
    }

     // @notice Returns the amount in paymentTokens for a given amount of options tokens required for the LP exercise lp
    /// @param _amount The amount of options tokens to exercise
    /// @param _discount The discount amount
    function getPaymentTokenAmountForExerciseLp(uint256 _amount,uint256 _discount) public view returns (uint256 paymentAmount, uint256 paymentAmountToAddLiquidity)
    {
        paymentAmount = getLpDiscountedPrice(_amount, _discount);
        (uint256 underlyingReserve, uint256 paymentReserve) = IRouter(router).getReserves(underlyingToken, paymentToken, false);
        paymentAmountToAddLiquidity = (_amount * paymentReserve) / underlyingReserve;
    }

    function getSlopeInterceptForLpDiscount()
        public
        view
        returns (int256 slope, int256 intercept)
    {
        slope =
            int256(lockDurationForMaxLpDiscount - lockDurationForMinLpDiscount) /
            (int256(maxLPDiscount) - int256(minLPDiscount));
        intercept = int256(lockDurationForMinLpDiscount) - (slope * int256(minLPDiscount));
    }

    /// @notice Returns the average price in payment tokens over 2 hours for a given amount of underlying tokens
    /// @param _amount The amount of underlying tokens to purchase
    /// @return The amount of payment tokens
    function getTimeWeightedAveragePrice(
        uint256 _amount
    ) public view returns (uint256) {
        uint256[] memory amtsOut = IPair(pair).prices(
            underlyingToken,
            _amount,
            twapPoints
        );
        uint256 len = amtsOut.length;
        uint256 summedAmount;

        for (uint256 i = 0; i < len; i++) {
            summedAmount += amtsOut[i];
        }

        return summedAmount / twapPoints;
    }

    /// -----------------------------------------------------------------------
    /// Admin functions
    /// -----------------------------------------------------------------------

    /// @notice Sets the pair contract. Only callable by the admin.
    /// @param _pair The new pair contract
    function setPairAndPaymentToken(
        IPair _pair,
        address _paymentToken
    ) external onlyAdmin {
        (address token0, address token1) = _pair.tokens();
        if (
            !((token0 == _paymentToken && token1 == underlyingToken) ||
                (token0 == underlyingToken && token1 == _paymentToken))
        ) revert OptionToken_IncorrectPairToken();
        pair = _pair;
        gauge = IVoter(voter).gauges(address(_pair));
        paymentToken = _paymentToken;
        emit SetPairAndPaymentToken(_pair, _paymentToken);
    }

    /// @notice Update gauge address to match with Voter contract
    function updateGauge() external {
        address newGauge = IVoter(voter).gauges(address(pair));
        gauge = newGauge;
        emit SetGauge(newGauge);
    }

    /// @notice Sets the gauge address when the gauge is not listed in Voter. Only callable by the admin.
    /// @param _gauge The new treasury address
    function setGauge(address _gauge) external onlyAdmin {
        gauge = _gauge;
        emit SetGauge(_gauge);
    }

    /// @notice Sets the treasury address. Only callable by the admin.
    /// @param _treasury The new treasury address
    function setTreasury(address _treasury) external onlyAdmin {
        treasury = _treasury;
        emit SetTreasury(_treasury);
    }

    /// @notice Sets the router address. Only callable by the admin.
    /// @param _router The new router address
    function setRouter(address _router) external onlyAdmin {
        router = _router;
        emit SetRouter(_router);
    }

    /// @notice Sets the team fee. Only callable by the admin.
    /// @param _fee The new team fee.
    function setTeamFee(uint256 _fee) external onlyAdmin {
        if (_fee > MAX_TEAM_FEE) revert OptionToken_InvalidTeamFee();
        teamFee = _fee;
        emit SetTeamFee(_fee);
    }

    /// @notice Sets the discount amount. Only callable by the admin.
    /// @param _discount The new discount amount.
    function setDiscount(uint256 _discount) external onlyAdmin {
        if (_discount > MAX_DISCOUNT || _discount == MIN_DISCOUNT)
            revert OptionToken_InvalidDiscount();
        discount = _discount;
        emit SetDiscount(_discount);
    }

    /// @notice Sets the discount amount for locking. Only callable by the admin.
    /// @param _veDiscount The new discount amount.
    function setVeDiscount(uint256 _veDiscount) external onlyAdmin {
        if (_veDiscount > MAX_DISCOUNT || _veDiscount == MIN_DISCOUNT)
            revert OptionToken_InvalidDiscount();
        veDiscount = _veDiscount;
        emit SetVeDiscount(_veDiscount);
    }

    /// @notice Sets the discount amount for lp. Only callable by the admin.
    /// @param _lpMinDiscount The new discount amount.
    function setMinLPDiscount(uint256 _lpMinDiscount) external onlyAdmin {
        if (_lpMinDiscount > MAX_DISCOUNT || _lpMinDiscount == MIN_DISCOUNT || maxLPDiscount > _lpMinDiscount)
            revert OptionToken_InvalidDiscount();
        minLPDiscount = _lpMinDiscount;
        emit SetMinLPDiscount(_lpMinDiscount);
    }

    /// @notice Sets the discount amount for lp. Only callable by the admin.
    /// @param _lpMaxDiscount The new discount amount.
    function setMaxLPDiscount(uint256 _lpMaxDiscount) external onlyAdmin {
        if (_lpMaxDiscount > MAX_DISCOUNT || _lpMaxDiscount == MIN_DISCOUNT || _lpMaxDiscount > minLPDiscount)
            revert OptionToken_InvalidDiscount();
        maxLPDiscount = _lpMaxDiscount;
        emit SetMaxLPDiscount(_lpMaxDiscount);
    }

    /// @notice Sets the lock duration for max discount amount to create LP and stake in gauge. Only callable by the admin.
    /// @param _duration The new lock duration.
    function setLockDurationForMaxLpDiscount(
        uint256 _duration
    ) external onlyAdmin {
        if (_duration <= lockDurationForMinLpDiscount)
            revert OptionToken_InvalidLockDuration();
        lockDurationForMaxLpDiscount = _duration;
        emit SetLockDurationForMaxLpDiscount(_duration);
    }

    // @notice Sets the lock duration for min discount amount to create LP and stake in gauge. Only callable by the admin.
    /// @param _duration The new lock duration.
    function setLockDurationForMinLpDiscount(
        uint256 _duration
    ) external onlyAdmin {
        if (_duration > lockDurationForMaxLpDiscount)
            revert OptionToken_InvalidLockDuration();
        lockDurationForMinLpDiscount = _duration;
        emit SetLockDurationForMinLpDiscount(_duration);
    }

    /// @notice Sets the twap points. to control the length of our twap
    /// @param _twapPoints The new twap points.
    function setTwapPoints(uint256 _twapPoints) external onlyAdmin {
        if (_twapPoints > MAX_TWAP_POINTS || _twapPoints == 0)
            revert OptionToken_InvalidTwapPoints();
        twapPoints = _twapPoints;
        emit SetTwapPoints(_twapPoints);
    }

    /// @notice Called by the admin to mint options tokens. Admin must grant token approval.
    /// @param _to The address that will receive the minted options tokens
    /// @param _amount The amount of options tokens that will be minted
    function mint(address _to, uint256 _amount) external onlyMinter {
        // transfer underlying tokens from the caller
        _safeTransferFrom(underlyingToken, msg.sender, address(this), _amount);
        // mint options tokens
        _mint(_to, _amount);
    }

    /// @notice Called by the admin to burn options tokens and transfer underlying tokens to the caller.
    /// @param _amount The amount of options tokens that will be burned and underlying tokens transferred to the caller
    function burn(uint256 _amount) external onlyAdmin {
        // transfer underlying tokens to the caller
        _safeTransfer(underlyingToken, msg.sender, _amount);
        // burn option tokens
        _burn(msg.sender, _amount);
    }

    /// @notice called by the admin to re-enable option exercising from a paused state.
    function unPause() external onlyAdmin {
        if (!isPaused) return;
        isPaused = false;
        emit PauseStateChanged(false);
    }

    /// -----------------------------------------------------------------------
    /// Pauser functions
    /// -----------------------------------------------------------------------
    function pause() external onlyPauser {
        if (isPaused) return;
        isPaused = true;
        emit PauseStateChanged(true);
    }

    /// -----------------------------------------------------------------------
    /// Internal functions
    /// -----------------------------------------------------------------------

    function _exercise(
        uint256 _amount,
        uint256 _maxPaymentAmount,
        address _recipient
    ) internal returns (uint256 paymentAmount) {
        if (isPaused) revert OptionToken_Paused();

        // burn callers tokens
        _burn(msg.sender, _amount);
        paymentAmount = getDiscountedPrice(_amount);
        if (paymentAmount > _maxPaymentAmount)
            revert OptionToken_SlippageTooHigh();

        // transfer team fee to treasury and notify reward amount in gauge
        uint256 gaugeRewardAmount = _takeTeamFee(paymentToken, paymentAmount);
        _usePaymentAsGaugeReward(gaugeRewardAmount);

        // send underlying tokens to recipient
        _safeTransfer(underlyingToken, _recipient, _amount);

        emit Exercise(msg.sender, _recipient, _amount, paymentAmount);
    }

    function _exerciseVe(
        uint256 _amount,
        uint256 _maxPaymentAmount,
        address _recipient
    ) internal returns (uint256 paymentAmount, uint256 nftId) {
        if (isPaused) revert OptionToken_Paused();

        // burn callers tokens
        _burn(msg.sender, _amount);
        paymentAmount = getVeDiscountedPrice(_amount);
        if (paymentAmount > _maxPaymentAmount)
            revert OptionToken_SlippageTooHigh();

        // transfer team fee to treasury and notify reward amount in gauge
        uint256 gaugeRewardAmount = _takeTeamFee(paymentToken, paymentAmount);
        _usePaymentAsGaugeReward(gaugeRewardAmount);

        // lock underlying tokens to veFLOW
        _safeApprove(underlyingToken, votingEscrow, _amount);
        nftId = IVotingEscrow(votingEscrow).create_lock_for(
            _amount,
            FULL_LOCK,
            _recipient
        );

        emit ExerciseVe(msg.sender, _recipient, _amount, paymentAmount, nftId);
    }

    function _exerciseLp(
        uint256 _amount,   // the oTOKEN amount the user wants to redeem with
        uint256 _maxPaymentAmount, // the 
        address _recipient,
        uint256 _discount
    ) internal returns (uint256 paymentAmount, uint256 lpAmount) {
        if (isPaused) revert OptionToken_Paused();
        if (_discount > minLPDiscount || _discount < maxLPDiscount)
            revert OptionToken_InvalidDiscount();

        // burn callers tokens
        _burn(msg.sender, _amount);
        (uint256 paymentAmount,uint256 paymentAmountToAddLiquidity) =  getPaymentTokenAmountForExerciseLp(_amount,_discount);
        if (paymentAmount > _maxPaymentAmount)
            revert OptionToken_SlippageTooHigh();
          
        // Take team fee
        uint256 paymentGaugeRewardAmount = _takeTeamFee(
            paymentToken,
            paymentAmount
        );
        _safeTransferFrom(
            paymentToken,
            msg.sender,
            address(this),
            paymentGaugeRewardAmount + paymentAmountToAddLiquidity
        );

        // Create Lp for users
        _safeApprove(underlyingToken, router, _amount);
        _safeApprove(paymentToken, router, paymentAmountToAddLiquidity);
        (, , lpAmount) = IRouter(router).addLiquidity(
            underlyingToken,
            paymentToken,
            false,
            _amount,
            paymentAmountToAddLiquidity,
            1,
            1,
            address(this),
            block.timestamp
        );

        // Stake the LP in the gauge with lock
        address _gauge = gauge;
        _safeApprove(address(pair), _gauge, lpAmount);
        IGaugeV2(_gauge).depositWithLock(
            _recipient,
            lpAmount,
            getLockDurationForLpDiscount(_discount)
        );

        // notify gauge reward with payment token
        _transferRewardToGauge();

        emit ExerciseLp(
            msg.sender,
            _recipient,
            _amount,
            paymentAmount,
            lpAmount
        );
    }

    function _takeTeamFee(
        address token,
        uint256 paymentAmount
    ) internal returns (uint256 remaining) {
        uint256 _teamFee = (paymentAmount * teamFee) / 100;
        _safeTransferFrom(token, msg.sender, treasury, _teamFee);
        remaining = paymentAmount - _teamFee;
    }

    function _usePaymentAsGaugeReward(uint256 amount) internal {
        _safeTransferFrom(paymentToken, msg.sender, address(this), amount);
        _transferRewardToGauge();
    }

    function _transferRewardToGauge() internal {
        uint256 paymentTokenCollectedAmount = IERC20(paymentToken).balanceOf(address(this));

        uint256 leftRewards = IGaugeV2(gauge).left(paymentToken);

        if(paymentTokenCollectedAmount > leftRewards) { // we are sending rewards only if we have more then the current rewards in the gauge
            _safeApprove(paymentToken, gauge, paymentTokenCollectedAmount);
            IGaugeV2(gauge).notifyRewardAmount(paymentToken, paymentTokenCollectedAmount);
        }
    }

    function _safeTransfer(address token, address to, uint256 value) internal {
        require(token.code.length > 0);
        (bool success, bytes memory data) = token.call(
            abi.encodeWithSelector(IERC20.transfer.selector, to, value)
        );
        require(success && (data.length == 0 || abi.decode(data, (bool))));
    }

    function _safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        require(token.code.length > 0);
        (bool success, bytes memory data) = token.call(
            abi.encodeWithSelector(
                IERC20.transferFrom.selector,
                from,
                to,
                value
            )
        );
        require(success && (data.length == 0 || abi.decode(data, (bool))));
    }

    function _safeApprove(
        address token,
        address spender,
        uint256 value
    ) internal {
        require(token.code.length > 0);
        (bool success, bytes memory data) = token.call(
            abi.encodeWithSelector(IERC20.approve.selector, spender, value)
        );
        require(success && (data.length == 0 || abi.decode(data, (bool))));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_paymentToken","type":"address"},{"internalType":"address","name":"_underlyingToken","type":"address"},{"internalType":"contract IPair","name":"_pair","type":"address"},{"internalType":"address","name":"_gaugeFactory","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_voter","type":"address"},{"internalType":"address","name":"_votingEscrow","type":"address"},{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"OptionToken_IncorrectPairToken","type":"error"},{"inputs":[],"name":"OptionToken_InvalidDiscount","type":"error"},{"inputs":[],"name":"OptionToken_InvalidLockDuration","type":"error"},{"inputs":[],"name":"OptionToken_InvalidTeamFee","type":"error"},{"inputs":[],"name":"OptionToken_InvalidTwapPoints","type":"error"},{"inputs":[],"name":"OptionToken_NoAdminRole","type":"error"},{"inputs":[],"name":"OptionToken_NoMinterRole","type":"error"},{"inputs":[],"name":"OptionToken_NoPauserRole","type":"error"},{"inputs":[],"name":"OptionToken_PastDeadline","type":"error"},{"inputs":[],"name":"OptionToken_Paused","type":"error"},{"inputs":[],"name":"OptionToken_SlippageTooHigh","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"paymentAmount","type":"uint256"}],"name":"Exercise","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"paymentAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpAmount","type":"uint256"}],"name":"ExerciseLp","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"paymentAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"ExerciseVe","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isPaused","type":"bool"}],"name":"PauseStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"discount","type":"uint256"}],"name":"SetDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newGauge","type":"address"}],"name":"SetGauge","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lockDurationForMaxLpDiscount","type":"uint256"}],"name":"SetLockDurationForMaxLpDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lockDurationForMinLpDiscount","type":"uint256"}],"name":"SetLockDurationForMinLpDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lpMaxDiscount","type":"uint256"}],"name":"SetMaxLPDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lpMinDiscount","type":"uint256"}],"name":"SetMinLPDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IPair","name":"newPair","type":"address"},{"indexed":true,"internalType":"address","name":"newPaymentToken","type":"address"}],"name":"SetPairAndPaymentToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newRouter","type":"address"}],"name":"SetRouter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"SetTeamFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTreasury","type":"address"}],"name":"SetTreasury","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"twapPoints","type":"uint256"}],"name":"SetTwapPoints","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"veDiscount","type":"uint256"}],"name":"SetVeDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FULL_LOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_DISCOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TEAM_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TWAP_POINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_DISCOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxPaymentAmount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"exercise","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxPaymentAmount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"exercise","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxPaymentAmount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_discount","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"exerciseLp","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxPaymentAmount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"exerciseVe","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gauge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getDiscountedPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_discount","type":"uint256"}],"name":"getLockDurationForLpDiscount","outputs":[{"internalType":"uint256","name":"duration","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_discount","type":"uint256"}],"name":"getLpDiscountedPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_discount","type":"uint256"}],"name":"getPaymentTokenAmountForExerciseLp","outputs":[{"internalType":"uint256","name":"paymentAmount","type":"uint256"},{"internalType":"uint256","name":"paymentAmountToAddLiquidity","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSlopeInterceptForLpDiscount","outputs":[{"internalType":"int256","name":"slope","type":"int256"},{"internalType":"int256","name":"intercept","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getTimeWeightedAveragePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getVeDiscountedPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockDurationForMaxLpDiscount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockDurationForMinLpDiscount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLPDiscount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minLPDiscount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"contract IPair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paymentToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_discount","type":"uint256"}],"name":"setDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gauge","type":"address"}],"name":"setGauge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setLockDurationForMaxLpDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setLockDurationForMinLpDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lpMaxDiscount","type":"uint256"}],"name":"setMaxLPDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lpMinDiscount","type":"uint256"}],"name":"setMinLPDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IPair","name":"_pair","type":"address"},{"internalType":"address","name":"_paymentToken","type":"address"}],"name":"setPairAndPaymentToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setTeamFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_twapPoints","type":"uint256"}],"name":"setTwapPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_veDiscount","type":"uint256"}],"name":"setVeDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"twapPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"underlyingToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"updateGauge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"veDiscount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"voter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"votingEscrow","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6101406040526014600c556050600d55605a600e55600a600f556301dfe20060105562093a80601155600a60125560046013553480156200003f57600080fd5b5060405162003e3138038062003e318339810160408190526200006291620005c5565b8a8a601282600090805190602001906200007e92919062000435565b5081516200009490600190602085019062000435565b5060ff81166080524660a052620000aa620002a9565b60c05250620000cd915060008051602062003e1183398151915290508a62000345565b620000f97f539440820030c4994db4e31b6b800deafd503688728f932addfe7a410515c14c8a62000345565b6200011460008051602062003e118339815191528662000345565b6200012f60008051602062003e1183398151915280620003ea565b6200016a7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc960008051602062003e11833981519152620003ea565b620001a57f539440820030c4994db4e31b6b800deafd503688728f932addfe7a410515c14c60008051602062003e11833981519152620003ea565b600780546001600160a01b03808b166001600160a01b0319928316811790935589811660e052600980548a83169084168117909155600b805489841690851617905586821661012052858216610100526008805492861692909316919091179091556040517f8f7f94e208aee73a455947efb48867081ee05f8c16656f34f471c2fec95b8d6e90600090a36040516001600160a01b038516907fcb7ef3e545f5cdb893f5c568ba710fe08f336375a2d9fd66e161033f8fc09ef390600090a26040516001600160a01b038216907f6de4326a8b9054d72d9dbab97d27bc4edffadee7d966f5af9cc4eafdaf8e545590600090a25050505050505050505050620007bf565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620002dd91906200071c565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16620003e65760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003a53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600082815260066020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b8280546200044390620006e0565b90600052602060002090601f016020900481019282620004675760008555620004b2565b82601f106200048257805160ff1916838001178555620004b2565b82800160010185558215620004b2579182015b82811115620004b257825182559160200191906001019062000495565b50620004c0929150620004c4565b5090565b5b80821115620004c05760008155600101620004c5565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200050357600080fd5b81516001600160401b0380821115620005205762000520620004db565b604051601f8301601f19908116603f011681019082821181831017156200054b576200054b620004db565b816040528381526020925086838588010111156200056857600080fd5b600091505b838210156200058c57858201830151818301840152908201906200056d565b838211156200059e5760008385830101525b9695505050505050565b80516001600160a01b0381168114620005c057600080fd5b919050565b60008060008060008060008060008060006101608c8e031215620005e857600080fd5b8b516001600160401b03811115620005ff57600080fd5b6200060d8e828f01620004f1565b60208e0151909c5090506001600160401b038111156200062c57600080fd5b6200063a8e828f01620004f1565b9a50506200064b60408d01620005a8565b98506200065b60608d01620005a8565b97506200066b60808d01620005a8565b96506200067b60a08d01620005a8565b95506200068b60c08d01620005a8565b94506200069b60e08d01620005a8565b9350620006ac6101008d01620005a8565b9250620006bd6101208d01620005a8565b9150620006ce6101408d01620005a8565b90509295989b509295989b9093969950565b600181811c90821680620006f557607f821691505b6020821081036200071657634e487b7160e01b600052602260045260246000fd5b50919050565b600080835481600182811c9150808316806200073957607f831692505b602080841082036200075957634e487b7160e01b86526022600452602486fd5b8180156200077057600181146200078257620007b1565b60ff19861689528489019650620007b1565b60008a81526020902060005b86811015620007a95781548b8201529085019083016200078e565b505084890196505b509498975050505050505050565b60805160a05160c05160e05161010051610120516135a06200087160003960008181610628015281816111380152611e1401526000818161064f015281816123ce01526124230152600081816104f601528181610ed201528181610f3d015281816112eb0152818161192801528181611d3501528181611d71015281816123ad01528181612586015281816126d3015261273c01526000610d6e01526000610d390152600061057601526135a06000f3fe608060405234801561001057600080fd5b50600436106104285760003560e01c806379c797071161022b578063d539139311610130578063e6ec64ec116100b8578063f7b188a511610087578063f7b188a514610962578063f887ea401461096a578063f897bd1d1461097d578063fa4473b314610990578063fb1d6bd9146109a357600080fd5b8063e6ec64ec14610916578063e8772bb214610929578063f0f442601461093c578063f595c5ad1461094f57600080fd5b8063dabd2719116100ff578063dabd271914610896578063dd62ed3e146108a9578063de87db2f146108d4578063e3495569146108e7578063e63ab1e9146108ef57600080fd5b8063d539139314610840578063d547741f14610867578063d6379b721461087a578063d7c94efd1461088d57600080fd5b8063a217fddf116101b3578063b187bd2611610182578063b187bd26146107f1578063b3427576146107fe578063c0d7865514610807578063c7d1e3951461081a578063d505accf1461082d57600080fd5b8063a217fddf14610530578063a6f19c84146107b8578063a8aa1b31146107cb578063a9059cbb146107de57600080fd5b8063881326b3116101fa578063881326b3146105bd57806391d148541461077757806395d89b411461078a5780639e66645b14610792578063a1d50c3a146107a557600080fd5b806379c797071461073e5780637ecebe00146107465780638456cb5914610766578063860ca9bb1461076e57600080fd5b806336568abe1161033157806355a68ed3116102b95780636b6f4a9d116102885780636b6f4a9d146106da5780636e180f6a146106e357806370a08231146106f657806375b238fc14610716578063787dd9e41461072b57600080fd5b806355a68ed3146106985780635d283021146106ab57806361d027b3146106b457806362994c05146106c757600080fd5b806346c96aac1161030057806346c96aac146106235780634f2bfe5b1461064a57806350a566c51461067157806351217cbe1461068457806354cb03841461068d57600080fd5b806336568abe146105cd5780633cdfed56146105e057806340c10f19146105fd57806342966c681461061057600080fd5b80632495a599116103b45780633013ce29116103835780633013ce291461055e578063313ce56714610571578063339ccade146105aa57806334ba7a9e146105bd5780633644e515146105c557600080fd5b80632495a599146104f15780632ac8a92c146105305780632f2ff15d146105385780632fc1b0571461054b57600080fd5b8063095ea7b3116103fb578063095ea7b31461049657806318160ddd146104a95780631adb040a146104b257806323b872dd146104bb578063248a9ca3146104ce57600080fd5b806301ffc9a71461042d578063062e5bbe146104555780630694d1f11461046c57806306fdde0314610481575b600080fd5b61044061043b366004612d13565b6109b6565b60405190151581526020015b60405180910390f35b61045e600c5481565b60405190815260200161044c565b61047f61047a366004612d3d565b6109ed565b005b610489610a80565b60405161044c9190612d86565b6104406104a4366004612dce565b610b0e565b61045e60025481565b61045e60105481565b6104406104c9366004612dfa565b610b7a565b61045e6104dc366004612d3d565b60009081526006602052604090206001015490565b6105187f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161044c565b61045e600081565b61047f610546366004612e3b565b610c5a565b61047f610559366004612d3d565b610c84565b600754610518906001600160a01b031681565b6105987f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161044c565b61045e6105b8366004612d3d565b610d11565b61045e603281565b61045e610d35565b61047f6105db366004612e3b565b610d90565b6105e8610e13565b6040805192835260208301919091520161044c565b61047f61060b366004612dce565b610e63565b61047f61061e366004612d3d565b610f03565b6105187f000000000000000000000000000000000000000000000000000000000000000081565b6105187f000000000000000000000000000000000000000000000000000000000000000081565b61047f61067f366004612d3d565b610f70565b61045e600f5481565b61045e6301dfe20081565b61047f6106a6366004612e6b565b611011565b61045e60135481565b600b54610518906001600160a01b031681565b6105e86106d5366004612e88565b611090565b61045e600e5481565b61045e6106f1366004612d3d565b6110cc565b61045e610704366004612e6b565b60036020526000908152604090205481565b61045e60008051602061352b83398151915281565b61045e610739366004612d3d565b6110dc565b61047f611113565b61045e610754366004612e6b565b60056020526000908152604090205481565b61047f6111f1565b61045e600d5481565b610440610785366004612e3b565b611289565b6104896112b4565b6105e86107a0366004612ec7565b6112c1565b61045e6107b3366004612e88565b61139a565b600a54610518906001600160a01b031681565b600954610518906001600160a01b031681565b6104406107ec366004612dce565b6113d1565b6014546104409060ff1681565b61045e60115481565b61047f610815366004612e6b565b611437565b61045e610828366004612ec7565b6114b6565b61047f61083b366004612ee9565b6114df565b61045e7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b61047f610875366004612e3b565b611723565b61045e610888366004612f60565b611748565b61045e60125481565b61047f6108a4366004612d3d565b611755565b61045e6108b7366004612f99565b600460209081526000928352604080842090915290825290205481565b61047f6108e2366004612d3d565b6117ea565b61045e606481565b61045e7f539440820030c4994db4e31b6b800deafd503688728f932addfe7a410515c14c81565b61047f610924366004612d3d565b61187f565b61045e610937366004612d3d565b61190b565b61047f61094a366004612e6b565b611a0a565b61047f61095d366004612d3d565b611a89565b61047f611b2a565b600854610518906001600160a01b031681565b6105e861098b366004612fc7565b611ba5565b61047f61099e366004612d3d565b611be3565b61047f6109b1366004612f99565b611c78565b60006001600160e01b03198216637965db0b60e01b14806109e757506301ffc9a760e01b6001600160e01b03198316145b92915050565b610a0560008051602061352b83398151915233611289565b610a225760405163f982dd0f60e01b815260040160405180910390fd5b6011548111610a4457604051634dd99fe760e01b815260040160405180910390fd5b60108190556040518181527f9604eee1326ca00c5073dfa77c88157865a7db1ed7323c9b1e0bc2aa17fa2ea2906020015b60405180910390a150565b60008054610a8d90613010565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab990613010565b8015610b065780601f10610adb57610100808354040283529160200191610b06565b820191906000526020600020905b815481529060010190602001808311610ae957829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610b699086815260200190565b60405180910390a350600192915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610bd657610bb18382613060565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b03851660009081526003602052604081208054859290610bfe908490613060565b90915550506001600160a01b038085166000818152600360205260409081902080548701905551909187169060008051602061354b83398151915290610c479087815260200190565b60405180910390a3506001949350505050565b600082815260066020526040902060010154610c7581611ee1565b610c7f8383611eeb565b505050565b610c9c60008051602061352b83398151915233611289565b610cb95760405163f982dd0f60e01b815260040160405180910390fd5b601054811115610cdc57604051634dd99fe760e01b815260040160405180910390fd5b60118190556040518181527f5de612882d01106e49434ea40eed209dc8ad1a1f752a3388f45824f19b07abbb90602001610a75565b60006064600e54610d218461190b565b610d2b9190613077565b6109e791906130ac565b60007f00000000000000000000000000000000000000000000000000000000000000004614610d6b57610d66611f71565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b6001600160a01b0381163314610e055760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610e0f828261200b565b5050565b600080600d54600c54610e2691906130c0565b601154601054610e369190613060565b610e4091906130ff565b9150600d5482610e50919061312d565b601154610e5d91906130c0565b90509091565b610e7b60008051602061352b83398151915233611289565b158015610eaf5750610ead7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc933611289565b155b15610ecd57604051634fcb6d0160e01b815260040160405180910390fd5b610ef97f0000000000000000000000000000000000000000000000000000000000000000333084612072565b610e0f828261216a565b610f1b60008051602061352b83398151915233611289565b610f385760405163f982dd0f60e01b815260040160405180910390fd5b610f637f000000000000000000000000000000000000000000000000000000000000000033836121c4565b610f6d33826122c4565b50565b610f8860008051602061352b83398151915233611289565b610fa55760405163f982dd0f60e01b815260040160405180910390fd5b6064811180610fb2575080155b80610fbe575080600c54115b15610fdc576040516304a5f22d60e41b815260040160405180910390fd5b600d8190556040518181527feccba1be6a56ca0e2c089e59a99f130b3f0bbe23d7bb2d085c278d51b384205890602001610a75565b61102960008051602061352b83398151915233611289565b6110465760405163f982dd0f60e01b815260040160405180910390fd5b600a80546001600160a01b0319166001600160a01b0383169081179091556040517f17228b08e4c958112a0827a6d8dc8475dba58dd068a3d400800a606794db02a690600090a250565b600080824211156110b457604051632d56313160e11b815260040160405180910390fd5b6110bf868686612326565b9150915094509492505050565b60006064600f54610d218461190b565b60008060006110e9610e13565b909250905061110b816110fc868561312d565b61110691906131b2565b6124ea565b949350505050565b60095460405163b9a09fd560e01b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063b9a09fd590602401602060405180830381865afa15801561117f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a391906131f3565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250907f17228b08e4c958112a0827a6d8dc8475dba58dd068a3d400800a606794db02a690600090a250565b61121b7f539440820030c4994db4e31b6b800deafd503688728f932addfe7a410515c14c33611289565b611238576040516316390a3f60e31b815260040160405180910390fd5b60145460ff16611287576014805460ff191660019081179091556040519081527f4543baa938cb97f5073ec206ad35638cdb1f4db8f677d31579b2f6fe7d18c14a906020015b60405180910390a15b565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60018054610a8d90613010565b6000806112ce84846114b6565b600854600754604051635e60dab560e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152918216602482015260006044820181905293955083929190911690635e60dab5906064016040805180830381865afa158015611351573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113759190613210565b9092509050816113858288613077565b61138f91906130ac565b925050509250929050565b6000814211156113bd57604051632d56313160e11b815260040160405180910390fd5b6113c8858585612501565b95945050505050565b336000908152600360205260408120805483919083906113f2908490613060565b90915550506001600160a01b0383166000818152600360205260409081902080548501905551339060008051602061354b83398151915290610b699086815260200190565b61144f60008051602061352b83398151915233611289565b61146c5760405163f982dd0f60e01b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0383169081179091556040517f6de4326a8b9054d72d9dbab97d27bc4edffadee7d966f5af9cc4eafdaf8e545590600090a250565b60006064826114c48561190b565b6114ce9190613077565b6114d891906130ac565b9392505050565b4284101561152f5760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610dfc565b6000600161153b610d35565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015611647573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381161580159061167d5750876001600160a01b0316816001600160a01b0316145b6116ba5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610dfc565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60008281526006602052604090206001015461173e81611ee1565b610c7f838361200b565b600061110b848484612501565b61176d60008051602061352b83398151915233611289565b61178a5760405163f982dd0f60e01b815260040160405180910390fd5b6064811180611797575080155b156117b5576040516304a5f22d60e41b815260040160405180910390fd5b600e8190556040518181527ff247e4dd947ab13ba6c46412e403447a26e67109ba13945a20e3170e9acef88390602001610a75565b61180260008051602061352b83398151915233611289565b61181f5760405163f982dd0f60e01b815260040160405180910390fd5b606481118061182c575080155b1561184a576040516304a5f22d60e41b815260040160405180910390fd5b600f8190556040518181527f88bde7c07a2800f63dadeaab0c0dca2f3792c92736de0f8e6f89954bb0f3c7df90602001610a75565b61189760008051602061352b83398151915233611289565b6118b45760405163f982dd0f60e01b815260040160405180910390fd5b60328111156118d6576040516324fb142760e01b815260040160405180910390fd5b60128190556040518181527f1f959de556e9781ad22aee00c473b2854fa158982d05168c17263d4e1f00351890602001610a75565b600954601354604051635881c47560e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260248201859052604482019290925260009283921690635881c47590606401600060405180830381865afa15801561198a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119b2919081019061324a565b80519091506000805b828110156119fc578381815181106119d5576119d5613308565b6020026020010151826119e8919061331e565b9150806119f481613336565b9150506119bb565b506013546113c890826130ac565b611a2260008051602061352b83398151915233611289565b611a3f5760405163f982dd0f60e01b815260040160405180910390fd5b600b80546001600160a01b0319166001600160a01b0383169081179091556040517fcb7ef3e545f5cdb893f5c568ba710fe08f336375a2d9fd66e161033f8fc09ef390600090a250565b611aa160008051602061352b83398151915233611289565b611abe5760405163f982dd0f60e01b815260040160405180910390fd5b6064811180611acb575080155b80611ad75750600d5481115b15611af5576040516304a5f22d60e41b815260040160405180910390fd5b600c8190556040518181527f09734b71a2b91b11a979f46fe8751cc0a22e29af3006d1ba5196a7ace08798b490602001610a75565b611b4260008051602061352b83398151915233611289565b611b5f5760405163f982dd0f60e01b815260040160405180910390fd5b60145460ff1615611287576014805460ff19169055604051600081527f4543baa938cb97f5073ec206ad35638cdb1f4db8f677d31579b2f6fe7d18c14a9060200161127e565b60008082421115611bc957604051632d56313160e11b815260040160405180910390fd5b611bd5878787876125fa565b915091509550959350505050565b611bfb60008051602061352b83398151915233611289565b611c185760405163f982dd0f60e01b815260040160405180910390fd5b6032811180611c25575080155b15611c4357604051630ac0408560e01b815260040160405180910390fd5b60138190556040518181527f0ede3419bb2e44475a8c470a557b5e3fa75d2ea0c4a8519c9600579d4091678d90602001610a75565b611c9060008051602061352b83398151915233611289565b611cad5760405163f982dd0f60e01b815260040160405180910390fd5b600080836001600160a01b0316639d63848a6040518163ffffffff1660e01b815260040160408051808303816000875af1158015611cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d13919061334f565b91509150826001600160a01b0316826001600160a01b0316148015611d6957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316145b80611dc157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316148015611dc15750826001600160a01b0316816001600160a01b0316145b611dde5760405163a818b0ad60e01b815260040160405180910390fd5b600980546001600160a01b0319166001600160a01b0386811691821790925560405163b9a09fd560e01b815260048101919091527f00000000000000000000000000000000000000000000000000000000000000009091169063b9a09fd590602401602060405180830381865afa158015611e5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8191906131f3565b600a80546001600160a01b039283166001600160a01b0319918216179091556007805486841692168217905560405190918616907f8f7f94e208aee73a455947efb48867081ee05f8c16656f34f471c2fec95b8d6e90600090a350505050565b610f6d81336128f0565b611ef58282611289565b610e0f5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611f2d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051611fa3919061337e565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6120158282611289565b15610e0f5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000846001600160a01b03163b1161208957600080fd5b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291516000928392908816916120ed9190613419565b6000604051808303816000865af19150503d806000811461212a576040519150601f19603f3d011682016040523d82523d6000602084013e61212f565b606091505b50915091508180156121595750805115806121595750808060200190518101906121599190613435565b61216257600080fd5b505050505050565b806002600082825461217c919061331e565b90915550506001600160a01b03821660008181526003602090815260408083208054860190555184815260008051602061354b83398151915291015b60405180910390a35050565b6000836001600160a01b03163b116121db57600080fd5b6040516001600160a01b03838116602483015260448201839052600091829186169063a9059cbb60e01b906064015b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516122489190613419565b6000604051808303816000865af19150503d8060008114612285576040519150601f19603f3d011682016040523d82523d6000602084013e61228a565b606091505b50915091508180156122b45750805115806122b45750808060200190518101906122b49190613435565b6122bd57600080fd5b5050505050565b6001600160a01b038216600090815260036020526040812080548392906122ec908490613060565b90915550506002805482900390556040518181526000906001600160a01b0384169060008051602061354b833981519152906020016121b8565b601454600090819060ff161561234e5760405162b4aa3760e01b815260040160405180910390fd5b61235833866122c4565b612361856110cc565b915083821115612384576040516323a4850d60e21b815260040160405180910390fd5b60075460009061239d906001600160a01b031684612949565b90506123a88161298d565b6123f37f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000886129ad565b60405163d4e54c3b60e01b8152600481018790526301dfe20060248201526001600160a01b0385811660448301527f0000000000000000000000000000000000000000000000000000000000000000169063d4e54c3b906064016020604051808303816000875af115801561246c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124909190613457565b60408051888152602081018690529081018290529092506001600160a01b0385169033907f74b7132649649ee4ac2519ff0bb963ce812aaa4c8a0ad0f73c9ac1149fa6e3f49060600160405180910390a350935093915050565b6000808212156124fd57816000036109e7565b5090565b60145460009060ff16156125275760405162b4aa3760e01b815260040160405180910390fd5b61253133856122c4565b61253a84610d11565b90508281111561255d576040516323a4850d60e21b815260040160405180910390fd5b600754600090612576906001600160a01b031683612949565b90506125818161298d565b6125ac7f000000000000000000000000000000000000000000000000000000000000000084876121c4565b60408051868152602081018490526001600160a01b0385169133917fb1c971764663d561c0ec2baf395a55f33f0a79fabb35bbad580247ba2959523d910160405180910390a3509392505050565b601454600090819060ff16156126225760405162b4aa3760e01b815260040160405180910390fd5b600d548311806126335750600c5483105b15612651576040516304a5f22d60e41b815260040160405180910390fd5b61265b33876122c4565b60008061266888866112c1565b915091508682111561268d576040516323a4850d60e21b815260040160405180910390fd5b6007546000906126a6906001600160a01b031684612949565b6007549091506126ca906001600160a01b031633306126c5868661331e565b612072565b600854612702907f0000000000000000000000000000000000000000000000000000000000000000906001600160a01b03168b6129ad565b60075460085461271f916001600160a01b039081169116846129ad565b600854600754604051635a47ddc360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152918216602482015260006044820152606481018c905260848101859052600160a4820181905260c48201523060e482015242610104820152911690635a47ddc390610124016060604051808303816000875af11580156127c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127ea9190613470565b600a546009549197506001600160a01b03908116935061280d92501682876129ad565b806001600160a01b0316631f933c2d89876128278b6110dc565b6040516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091526044820152606401600060405180830381600087803b15801561287557600080fd5b505af1158015612889573d6000803e3d6000fd5b505050506128956129f7565b604080518b8152602081018690529081018690526001600160a01b0389169033907f49a80f92a21531b6bccc1cf51cb96a7f814282e7d6a69d0a4dea0167193cd3589060600160405180910390a35050505094509492505050565b6128fa8282611289565b610e0f5761290781612b65565b612912836020612b77565b60405160200161292392919061349e565b60408051601f198184030181529082905262461bcd60e51b8252610dfc91600401612d86565b60008060646012548461295c9190613077565b61296691906130ac565b600b5490915061298390859033906001600160a01b031684612072565b61110b8184613060565b6007546129a5906001600160a01b0316333084612072565b610f6d6129f7565b6000836001600160a01b03163b116129c457600080fd5b6040516001600160a01b03838116602483015260448201839052600091829186169063095ea7b360e01b9060640161220a565b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612a40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a649190613457565b600a54600754604051634cde602960e11b81526001600160a01b0391821660048201529293506000929116906399bcc05290602401602060405180830381865afa158015612ab6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ada9190613457565b905080821115610e0f57600754600a54612b01916001600160a01b039081169116846129ad565b600a5460075460405163b66503cf60e01b81526001600160a01b0391821660048201526024810185905291169063b66503cf90604401600060405180830381600087803b158015612b5157600080fd5b505af1158015612162573d6000803e3d6000fd5b60606109e76001600160a01b03831660145b60606000612b86836002613077565b612b9190600261331e565b67ffffffffffffffff811115612ba957612ba9613234565b6040519080825280601f01601f191660200182016040528015612bd3576020820181803683370190505b509050600360fc1b81600081518110612bee57612bee613308565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612c1d57612c1d613308565b60200101906001600160f81b031916908160001a9053506000612c41846002613077565b612c4c90600161331e565b90505b6001811115612cc4576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612c8057612c80613308565b1a60f81b828281518110612c9657612c96613308565b60200101906001600160f81b031916908160001a90535060049490941c93612cbd81613513565b9050612c4f565b5083156114d85760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610dfc565b600060208284031215612d2557600080fd5b81356001600160e01b0319811681146114d857600080fd5b600060208284031215612d4f57600080fd5b5035919050565b60005b83811015612d71578181015183820152602001612d59565b83811115612d80576000848401525b50505050565b6020815260008251806020840152612da5816040850160208701612d56565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610f6d57600080fd5b60008060408385031215612de157600080fd5b8235612dec81612db9565b946020939093013593505050565b600080600060608486031215612e0f57600080fd5b8335612e1a81612db9565b92506020840135612e2a81612db9565b929592945050506040919091013590565b60008060408385031215612e4e57600080fd5b823591506020830135612e6081612db9565b809150509250929050565b600060208284031215612e7d57600080fd5b81356114d881612db9565b60008060008060808587031215612e9e57600080fd5b84359350602085013592506040850135612eb781612db9565b9396929550929360600135925050565b60008060408385031215612eda57600080fd5b50508035926020909101359150565b600080600080600080600060e0888a031215612f0457600080fd5b8735612f0f81612db9565b96506020880135612f1f81612db9565b95506040880135945060608801359350608088013560ff81168114612f4357600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080600060608486031215612f7557600080fd5b83359250602084013591506040840135612f8e81612db9565b809150509250925092565b60008060408385031215612fac57600080fd5b8235612fb781612db9565b91506020830135612e6081612db9565b600080600080600060a08688031215612fdf57600080fd5b85359450602086013593506040860135612ff881612db9565b94979396509394606081013594506080013592915050565b600181811c9082168061302457607f821691505b60208210810361304457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156130725761307261304a565b500390565b60008160001904831182151516156130915761309161304a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826130bb576130bb613096565b500490565b60008083128015600160ff1b8501841216156130de576130de61304a565b6001600160ff1b03840183138116156130f9576130f961304a565b50500390565b60008261310e5761310e613096565b600160ff1b8214600019841416156131285761312861304a565b500590565b60006001600160ff1b03818413828413808216868404861116156131535761315361304a565b600160ff1b60008712828116878305891216156131725761317261304a565b6000871292508782058712848416161561318e5761318e61304a565b878505871281841616156131a4576131a461304a565b505050929093029392505050565b600080821280156001600160ff1b03849003851316156131d4576131d461304a565b600160ff1b83900384128116156131ed576131ed61304a565b50500190565b60006020828403121561320557600080fd5b81516114d881612db9565b6000806040838503121561322357600080fd5b505080516020909101519092909150565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561325d57600080fd5b825167ffffffffffffffff8082111561327557600080fd5b818501915085601f83011261328957600080fd5b81518181111561329b5761329b613234565b8060051b604051601f19603f830116810181811085821117156132c0576132c0613234565b6040529182528482019250838101850191888311156132de57600080fd5b938501935b828510156132fc578451845293850193928501926132e3565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b600082198211156133315761333161304a565b500190565b6000600182016133485761334861304a565b5060010190565b6000806040838503121561336257600080fd5b825161336d81612db9565b6020840151909250612e6081612db9565b600080835481600182811c91508083168061339a57607f831692505b602080841082036133b957634e487b7160e01b86526022600452602486fd5b8180156133cd57600181146133de5761340b565b60ff1986168952848901965061340b565b60008a81526020902060005b868110156134035781548b8201529085019083016133ea565b505084890196505b509498975050505050505050565b6000825161342b818460208701612d56565b9190910192915050565b60006020828403121561344757600080fd5b815180151581146114d857600080fd5b60006020828403121561346957600080fd5b5051919050565b60008060006060848603121561348557600080fd5b8351925060208401519150604084015190509250925092565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516134d6816017850160208801612d56565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613507816028840160208801612d56565b01602801949350505050565b6000816135225761352261304a565b50600019019056fedf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209be36efbc4b70ce243646cec260ff2b1f90ed986bb58e4dd0989f69553de4b0f64736f6c634300080d0033df8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000088dec6df03c2c111efd4ad89cef2c0347034afc000000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b5475000000000000000000000000cebf358ebdca8e17d2f6dfcf672be6ec538f25a3000000000000000000000000b9bc49c87920092097e2080a3b91be674732735f00000000000000000000000088dec6df03c2c111efd4ad89cef2c0347034afc00000000000000000000000001e7d4dafa8e16f90fd5b1220059607fe1f69aa0c00000000000000000000000034172780901ef075c67942392ab461186d8c8cc5000000000000000000000000197b8f8185b84112dd95527ce472a55052cee03000000000000000000000000000000000000000000000000000000000000000114f7074696f6e20746f206275792046564d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046f46564d00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106104285760003560e01c806379c797071161022b578063d539139311610130578063e6ec64ec116100b8578063f7b188a511610087578063f7b188a514610962578063f887ea401461096a578063f897bd1d1461097d578063fa4473b314610990578063fb1d6bd9146109a357600080fd5b8063e6ec64ec14610916578063e8772bb214610929578063f0f442601461093c578063f595c5ad1461094f57600080fd5b8063dabd2719116100ff578063dabd271914610896578063dd62ed3e146108a9578063de87db2f146108d4578063e3495569146108e7578063e63ab1e9146108ef57600080fd5b8063d539139314610840578063d547741f14610867578063d6379b721461087a578063d7c94efd1461088d57600080fd5b8063a217fddf116101b3578063b187bd2611610182578063b187bd26146107f1578063b3427576146107fe578063c0d7865514610807578063c7d1e3951461081a578063d505accf1461082d57600080fd5b8063a217fddf14610530578063a6f19c84146107b8578063a8aa1b31146107cb578063a9059cbb146107de57600080fd5b8063881326b3116101fa578063881326b3146105bd57806391d148541461077757806395d89b411461078a5780639e66645b14610792578063a1d50c3a146107a557600080fd5b806379c797071461073e5780637ecebe00146107465780638456cb5914610766578063860ca9bb1461076e57600080fd5b806336568abe1161033157806355a68ed3116102b95780636b6f4a9d116102885780636b6f4a9d146106da5780636e180f6a146106e357806370a08231146106f657806375b238fc14610716578063787dd9e41461072b57600080fd5b806355a68ed3146106985780635d283021146106ab57806361d027b3146106b457806362994c05146106c757600080fd5b806346c96aac1161030057806346c96aac146106235780634f2bfe5b1461064a57806350a566c51461067157806351217cbe1461068457806354cb03841461068d57600080fd5b806336568abe146105cd5780633cdfed56146105e057806340c10f19146105fd57806342966c681461061057600080fd5b80632495a599116103b45780633013ce29116103835780633013ce291461055e578063313ce56714610571578063339ccade146105aa57806334ba7a9e146105bd5780633644e515146105c557600080fd5b80632495a599146104f15780632ac8a92c146105305780632f2ff15d146105385780632fc1b0571461054b57600080fd5b8063095ea7b3116103fb578063095ea7b31461049657806318160ddd146104a95780631adb040a146104b257806323b872dd146104bb578063248a9ca3146104ce57600080fd5b806301ffc9a71461042d578063062e5bbe146104555780630694d1f11461046c57806306fdde0314610481575b600080fd5b61044061043b366004612d13565b6109b6565b60405190151581526020015b60405180910390f35b61045e600c5481565b60405190815260200161044c565b61047f61047a366004612d3d565b6109ed565b005b610489610a80565b60405161044c9190612d86565b6104406104a4366004612dce565b610b0e565b61045e60025481565b61045e60105481565b6104406104c9366004612dfa565b610b7a565b61045e6104dc366004612d3d565b60009081526006602052604090206001015490565b6105187f000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b547581565b6040516001600160a01b03909116815260200161044c565b61045e600081565b61047f610546366004612e3b565b610c5a565b61047f610559366004612d3d565b610c84565b600754610518906001600160a01b031681565b6105987f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff909116815260200161044c565b61045e6105b8366004612d3d565b610d11565b61045e603281565b61045e610d35565b61047f6105db366004612e3b565b610d90565b6105e8610e13565b6040805192835260208301919091520161044c565b61047f61060b366004612dce565b610e63565b61047f61061e366004612d3d565b610f03565b6105187f0000000000000000000000001e7d4dafa8e16f90fd5b1220059607fe1f69aa0c81565b6105187f00000000000000000000000034172780901ef075c67942392ab461186d8c8cc581565b61047f61067f366004612d3d565b610f70565b61045e600f5481565b61045e6301dfe20081565b61047f6106a6366004612e6b565b611011565b61045e60135481565b600b54610518906001600160a01b031681565b6105e86106d5366004612e88565b611090565b61045e600e5481565b61045e6106f1366004612d3d565b6110cc565b61045e610704366004612e6b565b60036020526000908152604090205481565b61045e60008051602061352b83398151915281565b61045e610739366004612d3d565b6110dc565b61047f611113565b61045e610754366004612e6b565b60056020526000908152604090205481565b61047f6111f1565b61045e600d5481565b610440610785366004612e3b565b611289565b6104896112b4565b6105e86107a0366004612ec7565b6112c1565b61045e6107b3366004612e88565b61139a565b600a54610518906001600160a01b031681565b600954610518906001600160a01b031681565b6104406107ec366004612dce565b6113d1565b6014546104409060ff1681565b61045e60115481565b61047f610815366004612e6b565b611437565b61045e610828366004612ec7565b6114b6565b61047f61083b366004612ee9565b6114df565b61045e7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b61047f610875366004612e3b565b611723565b61045e610888366004612f60565b611748565b61045e60125481565b61047f6108a4366004612d3d565b611755565b61045e6108b7366004612f99565b600460209081526000928352604080842090915290825290205481565b61047f6108e2366004612d3d565b6117ea565b61045e606481565b61045e7f539440820030c4994db4e31b6b800deafd503688728f932addfe7a410515c14c81565b61047f610924366004612d3d565b61187f565b61045e610937366004612d3d565b61190b565b61047f61094a366004612e6b565b611a0a565b61047f61095d366004612d3d565b611a89565b61047f611b2a565b600854610518906001600160a01b031681565b6105e861098b366004612fc7565b611ba5565b61047f61099e366004612d3d565b611be3565b61047f6109b1366004612f99565b611c78565b60006001600160e01b03198216637965db0b60e01b14806109e757506301ffc9a760e01b6001600160e01b03198316145b92915050565b610a0560008051602061352b83398151915233611289565b610a225760405163f982dd0f60e01b815260040160405180910390fd5b6011548111610a4457604051634dd99fe760e01b815260040160405180910390fd5b60108190556040518181527f9604eee1326ca00c5073dfa77c88157865a7db1ed7323c9b1e0bc2aa17fa2ea2906020015b60405180910390a150565b60008054610a8d90613010565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab990613010565b8015610b065780601f10610adb57610100808354040283529160200191610b06565b820191906000526020600020905b815481529060010190602001808311610ae957829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610b699086815260200190565b60405180910390a350600192915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610bd657610bb18382613060565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b03851660009081526003602052604081208054859290610bfe908490613060565b90915550506001600160a01b038085166000818152600360205260409081902080548701905551909187169060008051602061354b83398151915290610c479087815260200190565b60405180910390a3506001949350505050565b600082815260066020526040902060010154610c7581611ee1565b610c7f8383611eeb565b505050565b610c9c60008051602061352b83398151915233611289565b610cb95760405163f982dd0f60e01b815260040160405180910390fd5b601054811115610cdc57604051634dd99fe760e01b815260040160405180910390fd5b60118190556040518181527f5de612882d01106e49434ea40eed209dc8ad1a1f752a3388f45824f19b07abbb90602001610a75565b60006064600e54610d218461190b565b610d2b9190613077565b6109e791906130ac565b60007f00000000000000000000000000000000000000000000000000000000000000fa4614610d6b57610d66611f71565b905090565b507f3125f00e3c588260b17b324aec7a6b92da9943e46c09fc7f1fcdd403162d8f0a90565b6001600160a01b0381163314610e055760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610e0f828261200b565b5050565b600080600d54600c54610e2691906130c0565b601154601054610e369190613060565b610e4091906130ff565b9150600d5482610e50919061312d565b601154610e5d91906130c0565b90509091565b610e7b60008051602061352b83398151915233611289565b158015610eaf5750610ead7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc933611289565b155b15610ecd57604051634fcb6d0160e01b815260040160405180910390fd5b610ef97f000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b5475333084612072565b610e0f828261216a565b610f1b60008051602061352b83398151915233611289565b610f385760405163f982dd0f60e01b815260040160405180910390fd5b610f637f000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b547533836121c4565b610f6d33826122c4565b50565b610f8860008051602061352b83398151915233611289565b610fa55760405163f982dd0f60e01b815260040160405180910390fd5b6064811180610fb2575080155b80610fbe575080600c54115b15610fdc576040516304a5f22d60e41b815260040160405180910390fd5b600d8190556040518181527feccba1be6a56ca0e2c089e59a99f130b3f0bbe23d7bb2d085c278d51b384205890602001610a75565b61102960008051602061352b83398151915233611289565b6110465760405163f982dd0f60e01b815260040160405180910390fd5b600a80546001600160a01b0319166001600160a01b0383169081179091556040517f17228b08e4c958112a0827a6d8dc8475dba58dd068a3d400800a606794db02a690600090a250565b600080824211156110b457604051632d56313160e11b815260040160405180910390fd5b6110bf868686612326565b9150915094509492505050565b60006064600f54610d218461190b565b60008060006110e9610e13565b909250905061110b816110fc868561312d565b61110691906131b2565b6124ea565b949350505050565b60095460405163b9a09fd560e01b81526001600160a01b0391821660048201526000917f0000000000000000000000001e7d4dafa8e16f90fd5b1220059607fe1f69aa0c169063b9a09fd590602401602060405180830381865afa15801561117f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a391906131f3565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250907f17228b08e4c958112a0827a6d8dc8475dba58dd068a3d400800a606794db02a690600090a250565b61121b7f539440820030c4994db4e31b6b800deafd503688728f932addfe7a410515c14c33611289565b611238576040516316390a3f60e31b815260040160405180910390fd5b60145460ff16611287576014805460ff191660019081179091556040519081527f4543baa938cb97f5073ec206ad35638cdb1f4db8f677d31579b2f6fe7d18c14a906020015b60405180910390a15b565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60018054610a8d90613010565b6000806112ce84846114b6565b600854600754604051635e60dab560e01b81526001600160a01b037f000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b547581166004830152918216602482015260006044820181905293955083929190911690635e60dab5906064016040805180830381865afa158015611351573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113759190613210565b9092509050816113858288613077565b61138f91906130ac565b925050509250929050565b6000814211156113bd57604051632d56313160e11b815260040160405180910390fd5b6113c8858585612501565b95945050505050565b336000908152600360205260408120805483919083906113f2908490613060565b90915550506001600160a01b0383166000818152600360205260409081902080548501905551339060008051602061354b83398151915290610b699086815260200190565b61144f60008051602061352b83398151915233611289565b61146c5760405163f982dd0f60e01b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0383169081179091556040517f6de4326a8b9054d72d9dbab97d27bc4edffadee7d966f5af9cc4eafdaf8e545590600090a250565b60006064826114c48561190b565b6114ce9190613077565b6114d891906130ac565b9392505050565b4284101561152f5760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610dfc565b6000600161153b610d35565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015611647573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381161580159061167d5750876001600160a01b0316816001600160a01b0316145b6116ba5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610dfc565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60008281526006602052604090206001015461173e81611ee1565b610c7f838361200b565b600061110b848484612501565b61176d60008051602061352b83398151915233611289565b61178a5760405163f982dd0f60e01b815260040160405180910390fd5b6064811180611797575080155b156117b5576040516304a5f22d60e41b815260040160405180910390fd5b600e8190556040518181527ff247e4dd947ab13ba6c46412e403447a26e67109ba13945a20e3170e9acef88390602001610a75565b61180260008051602061352b83398151915233611289565b61181f5760405163f982dd0f60e01b815260040160405180910390fd5b606481118061182c575080155b1561184a576040516304a5f22d60e41b815260040160405180910390fd5b600f8190556040518181527f88bde7c07a2800f63dadeaab0c0dca2f3792c92736de0f8e6f89954bb0f3c7df90602001610a75565b61189760008051602061352b83398151915233611289565b6118b45760405163f982dd0f60e01b815260040160405180910390fd5b60328111156118d6576040516324fb142760e01b815260040160405180910390fd5b60128190556040518181527f1f959de556e9781ad22aee00c473b2854fa158982d05168c17263d4e1f00351890602001610a75565b600954601354604051635881c47560e01b81526001600160a01b037f000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b54758116600483015260248201859052604482019290925260009283921690635881c47590606401600060405180830381865afa15801561198a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119b2919081019061324a565b80519091506000805b828110156119fc578381815181106119d5576119d5613308565b6020026020010151826119e8919061331e565b9150806119f481613336565b9150506119bb565b506013546113c890826130ac565b611a2260008051602061352b83398151915233611289565b611a3f5760405163f982dd0f60e01b815260040160405180910390fd5b600b80546001600160a01b0319166001600160a01b0383169081179091556040517fcb7ef3e545f5cdb893f5c568ba710fe08f336375a2d9fd66e161033f8fc09ef390600090a250565b611aa160008051602061352b83398151915233611289565b611abe5760405163f982dd0f60e01b815260040160405180910390fd5b6064811180611acb575080155b80611ad75750600d5481115b15611af5576040516304a5f22d60e41b815260040160405180910390fd5b600c8190556040518181527f09734b71a2b91b11a979f46fe8751cc0a22e29af3006d1ba5196a7ace08798b490602001610a75565b611b4260008051602061352b83398151915233611289565b611b5f5760405163f982dd0f60e01b815260040160405180910390fd5b60145460ff1615611287576014805460ff19169055604051600081527f4543baa938cb97f5073ec206ad35638cdb1f4db8f677d31579b2f6fe7d18c14a9060200161127e565b60008082421115611bc957604051632d56313160e11b815260040160405180910390fd5b611bd5878787876125fa565b915091509550959350505050565b611bfb60008051602061352b83398151915233611289565b611c185760405163f982dd0f60e01b815260040160405180910390fd5b6032811180611c25575080155b15611c4357604051630ac0408560e01b815260040160405180910390fd5b60138190556040518181527f0ede3419bb2e44475a8c470a557b5e3fa75d2ea0c4a8519c9600579d4091678d90602001610a75565b611c9060008051602061352b83398151915233611289565b611cad5760405163f982dd0f60e01b815260040160405180910390fd5b600080836001600160a01b0316639d63848a6040518163ffffffff1660e01b815260040160408051808303816000875af1158015611cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d13919061334f565b91509150826001600160a01b0316826001600160a01b0316148015611d6957507f000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b54756001600160a01b0316816001600160a01b0316145b80611dc157507f000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b54756001600160a01b0316826001600160a01b0316148015611dc15750826001600160a01b0316816001600160a01b0316145b611dde5760405163a818b0ad60e01b815260040160405180910390fd5b600980546001600160a01b0319166001600160a01b0386811691821790925560405163b9a09fd560e01b815260048101919091527f0000000000000000000000001e7d4dafa8e16f90fd5b1220059607fe1f69aa0c9091169063b9a09fd590602401602060405180830381865afa158015611e5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8191906131f3565b600a80546001600160a01b039283166001600160a01b0319918216179091556007805486841692168217905560405190918616907f8f7f94e208aee73a455947efb48867081ee05f8c16656f34f471c2fec95b8d6e90600090a350505050565b610f6d81336128f0565b611ef58282611289565b610e0f5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611f2d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051611fa3919061337e565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6120158282611289565b15610e0f5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000846001600160a01b03163b1161208957600080fd5b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291516000928392908816916120ed9190613419565b6000604051808303816000865af19150503d806000811461212a576040519150601f19603f3d011682016040523d82523d6000602084013e61212f565b606091505b50915091508180156121595750805115806121595750808060200190518101906121599190613435565b61216257600080fd5b505050505050565b806002600082825461217c919061331e565b90915550506001600160a01b03821660008181526003602090815260408083208054860190555184815260008051602061354b83398151915291015b60405180910390a35050565b6000836001600160a01b03163b116121db57600080fd5b6040516001600160a01b03838116602483015260448201839052600091829186169063a9059cbb60e01b906064015b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516122489190613419565b6000604051808303816000865af19150503d8060008114612285576040519150601f19603f3d011682016040523d82523d6000602084013e61228a565b606091505b50915091508180156122b45750805115806122b45750808060200190518101906122b49190613435565b6122bd57600080fd5b5050505050565b6001600160a01b038216600090815260036020526040812080548392906122ec908490613060565b90915550506002805482900390556040518181526000906001600160a01b0384169060008051602061354b833981519152906020016121b8565b601454600090819060ff161561234e5760405162b4aa3760e01b815260040160405180910390fd5b61235833866122c4565b612361856110cc565b915083821115612384576040516323a4850d60e21b815260040160405180910390fd5b60075460009061239d906001600160a01b031684612949565b90506123a88161298d565b6123f37f000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b54757f00000000000000000000000034172780901ef075c67942392ab461186d8c8cc5886129ad565b60405163d4e54c3b60e01b8152600481018790526301dfe20060248201526001600160a01b0385811660448301527f00000000000000000000000034172780901ef075c67942392ab461186d8c8cc5169063d4e54c3b906064016020604051808303816000875af115801561246c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124909190613457565b60408051888152602081018690529081018290529092506001600160a01b0385169033907f74b7132649649ee4ac2519ff0bb963ce812aaa4c8a0ad0f73c9ac1149fa6e3f49060600160405180910390a350935093915050565b6000808212156124fd57816000036109e7565b5090565b60145460009060ff16156125275760405162b4aa3760e01b815260040160405180910390fd5b61253133856122c4565b61253a84610d11565b90508281111561255d576040516323a4850d60e21b815260040160405180910390fd5b600754600090612576906001600160a01b031683612949565b90506125818161298d565b6125ac7f000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b547584876121c4565b60408051868152602081018490526001600160a01b0385169133917fb1c971764663d561c0ec2baf395a55f33f0a79fabb35bbad580247ba2959523d910160405180910390a3509392505050565b601454600090819060ff16156126225760405162b4aa3760e01b815260040160405180910390fd5b600d548311806126335750600c5483105b15612651576040516304a5f22d60e41b815260040160405180910390fd5b61265b33876122c4565b60008061266888866112c1565b915091508682111561268d576040516323a4850d60e21b815260040160405180910390fd5b6007546000906126a6906001600160a01b031684612949565b6007549091506126ca906001600160a01b031633306126c5868661331e565b612072565b600854612702907f000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b5475906001600160a01b03168b6129ad565b60075460085461271f916001600160a01b039081169116846129ad565b600854600754604051635a47ddc360e01b81526001600160a01b037f000000000000000000000000e1689e9aad6b36d91e357faf95cd7c2c4c1b547581166004830152918216602482015260006044820152606481018c905260848101859052600160a4820181905260c48201523060e482015242610104820152911690635a47ddc390610124016060604051808303816000875af11580156127c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127ea9190613470565b600a546009549197506001600160a01b03908116935061280d92501682876129ad565b806001600160a01b0316631f933c2d89876128278b6110dc565b6040516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091526044820152606401600060405180830381600087803b15801561287557600080fd5b505af1158015612889573d6000803e3d6000fd5b505050506128956129f7565b604080518b8152602081018690529081018690526001600160a01b0389169033907f49a80f92a21531b6bccc1cf51cb96a7f814282e7d6a69d0a4dea0167193cd3589060600160405180910390a35050505094509492505050565b6128fa8282611289565b610e0f5761290781612b65565b612912836020612b77565b60405160200161292392919061349e565b60408051601f198184030181529082905262461bcd60e51b8252610dfc91600401612d86565b60008060646012548461295c9190613077565b61296691906130ac565b600b5490915061298390859033906001600160a01b031684612072565b61110b8184613060565b6007546129a5906001600160a01b0316333084612072565b610f6d6129f7565b6000836001600160a01b03163b116129c457600080fd5b6040516001600160a01b03838116602483015260448201839052600091829186169063095ea7b360e01b9060640161220a565b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612a40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a649190613457565b600a54600754604051634cde602960e11b81526001600160a01b0391821660048201529293506000929116906399bcc05290602401602060405180830381865afa158015612ab6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ada9190613457565b905080821115610e0f57600754600a54612b01916001600160a01b039081169116846129ad565b600a5460075460405163b66503cf60e01b81526001600160a01b0391821660048201526024810185905291169063b66503cf90604401600060405180830381600087803b158015612b5157600080fd5b505af1158015612162573d6000803e3d6000fd5b60606109e76001600160a01b03831660145b60606000612b86836002613077565b612b9190600261331e565b67ffffffffffffffff811115612ba957612ba9613234565b6040519080825280601f01601f191660200182016040528015612bd3576020820181803683370190505b509050600360fc1b81600081518110612bee57612bee613308565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612c1d57612c1d613308565b60200101906001600160f81b031916908160001a9053506000612c41846002613077565b612c4c90600161331e565b90505b6001811115612cc4576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612c8057612c80613308565b1a60f81b828281518110612c9657612c96613308565b60200101906001600160f81b031916908160001a90535060049490941c93612cbd81613513565b9050612c4f565b5083156114d85760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610dfc565b600060208284031215612d2557600080fd5b81356001600160e01b0319811681146114d857600080fd5b600060208284031215612d4f57600080fd5b5035919050565b60005b83811015612d71578181015183820152602001612d59565b83811115612d80576000848401525b50505050565b6020815260008251806020840152612da5816040850160208701612d56565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610f6d57600080fd5b60008060408385031215612de157600080fd5b8235612dec81612db9565b946020939093013593505050565b600080600060608486031215612e0f57600080fd5b8335612e1a81612db9565b92506020840135612e2a81612db9565b929592945050506040919091013590565b60008060408385031215612e4e57600080fd5b823591506020830135612e6081612db9565b809150509250929050565b600060208284031215612e7d57600080fd5b81356114d881612db9565b60008060008060808587031215612e9e57600080fd5b84359350602085013592506040850135612eb781612db9565b9396929550929360600135925050565b60008060408385031215612eda57600080fd5b50508035926020909101359150565b600080600080600080600060e0888a031215612f0457600080fd5b8735612f0f81612db9565b96506020880135612f1f81612db9565b95506040880135945060608801359350608088013560ff81168114612f4357600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080600060608486031215612f7557600080fd5b83359250602084013591506040840135612f8e81612db9565b809150509250925092565b60008060408385031215612fac57600080fd5b8235612fb781612db9565b91506020830135612e6081612db9565b600080600080600060a08688031215612fdf57600080fd5b85359450602086013593506040860135612ff881612db9565b94979396509394606081013594506080013592915050565b600181811c9082168061302457607f821691505b60208210810361304457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156130725761307261304a565b500390565b60008160001904831182151516156130915761309161304a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826130bb576130bb613096565b500490565b60008083128015600160ff1b8501841216156130de576130de61304a565b6001600160ff1b03840183138116156130f9576130f961304a565b50500390565b60008261310e5761310e613096565b600160ff1b8214600019841416156131285761312861304a565b500590565b60006001600160ff1b03818413828413808216868404861116156131535761315361304a565b600160ff1b60008712828116878305891216156131725761317261304a565b6000871292508782058712848416161561318e5761318e61304a565b878505871281841616156131a4576131a461304a565b505050929093029392505050565b600080821280156001600160ff1b03849003851316156131d4576131d461304a565b600160ff1b83900384128116156131ed576131ed61304a565b50500190565b60006020828403121561320557600080fd5b81516114d881612db9565b6000806040838503121561322357600080fd5b505080516020909101519092909150565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561325d57600080fd5b825167ffffffffffffffff8082111561327557600080fd5b818501915085601f83011261328957600080fd5b81518181111561329b5761329b613234565b8060051b604051601f19603f830116810181811085821117156132c0576132c0613234565b6040529182528482019250838101850191888311156132de57600080fd5b938501935b828510156132fc578451845293850193928501926132e3565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b600082198211156133315761333161304a565b500190565b6000600182016133485761334861304a565b5060010190565b6000806040838503121561336257600080fd5b825161336d81612db9565b6020840151909250612e6081612db9565b600080835481600182811c91508083168061339a57607f831692505b602080841082036133b957634e487b7160e01b86526022600452602486fd5b8180156133cd57600181146133de5761340b565b60ff1986168952848901965061340b565b60008a81526020902060005b868110156134035781548b8201529085019083016133ea565b505084890196505b509498975050505050505050565b6000825161342b818460208701612d56565b9190910192915050565b60006020828403121561344757600080fd5b815180151581146114d857600080fd5b60006020828403121561346957600080fd5b5051919050565b60008060006060848603121561348557600080fd5b8351925060208401519150604084015190509250925092565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516134d6816017850160208801612d56565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613507816028840160208801612d56565b01602801949350505050565b6000816135225761352261304a565b50600019019056fedf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209be36efbc4b70ce243646cec260ff2b1f90ed986bb58e4dd0989f69553de4b0f64736f6c634300080d0033

Deployed Bytecode Sourcemap

43681:28493:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25295:204;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;25295:204:0;;;;;;;;48322:34;;;;;;;;;643:25:1;;;631:2;616:18;48322:34:0;497:177:1;62914:323:0;;;;;;:::i;:::-;;:::i;:::-;;31950:18;;;:::i;:::-;;;;;;;:::i;33427:217::-;;;;;;:::i;:::-;;:::i;32233:26::-;;;;;;48750:55;;;;;;34045:612;;;;;;:::i;:::-;;:::i;27118:131::-;;;;;;:::i;:::-;27192:7;27219:12;;;:6;:12;;;;;:22;;;;27118:131;47324:40;;;;;;;;-1:-1:-1;;;;;2963:32:1;;;2945:51;;2933:2;2918:18;47324:40:0;2799:203:1;43973:40:0;;44012:1;43973:40;;27559:147;;;;;;:::i;:::-;;:::i;63418:322::-;;;;;;:::i;:::-;;:::i;47222:27::-;;;;;-1:-1:-1;;;;;47222:27:0;;;32006:31;;;;;;;;3499:4:1;3487:17;;;3469:36;;3457:2;3442:18;32006:31:0;3327:184:1;55460:156:0;;;;;;:::i;:::-;;:::i;44158:41::-;;44197:2;44158:41;;36387:179;;;:::i;28703:218::-;;;;;;:::i;:::-;;:::i;57681:390::-;;;:::i;:::-;;;;3686:25:1;;;3742:2;3727:18;;3720:34;;;;3659:18;57681:390:0;3516:244:1;64386:270:0;;;;;;:::i;:::-;;:::i;64891:241::-;;;;;;:::i;:::-;;:::i;47517:30::-;;;;;47435:37;;;;;61932:329;;;;;;:::i;:::-;;:::i;48622:30::-;;;;;;44089:50;;44125:14;44089:50;;60056:118;;;;;;:::i;:::-;;:::i;49178:29::-;;;;;;48213:23;;;;;-1:-1:-1;;;;;48213:23:0;;;53744:336;;;;;;:::i;:::-;;:::i;48516:28::-;;;;;;55895:176;;;;;;:::i;:::-;;:::i;32268:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;44474:55;;-1:-1:-1;;;;;;;;;;;44474:55:0;;56702:273;;;;;;:::i;:::-;;:::i;59727:166::-;;;:::i;32694:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;65570:141;;;:::i;48381:34::-;;;;;;25591:147;;;;;;:::i;:::-;;:::i;31977:20::-;;;:::i;57216:457::-;;;;;;:::i;:::-;;:::i;52848:323::-;;;;;;:::i;:::-;;:::i;48101:20::-;;;;;-1:-1:-1;;;;;48101:20:0;;;48026:17;;;;;-1:-1:-1;;;;;48026:17:0;;;33652:385;;;;;;:::i;:::-;;:::i;49273:20::-;;;;;;;;;48897:55;;;;;;60566:124;;;;;;:::i;:::-;;:::i;56396:203::-;;;;;;:::i;:::-;;:::i;34852:1527::-;;;;;;:::i;:::-;;:::i;44618:57::-;;44656:19;44618:57;;27999:149;;;;;;:::i;:::-;;:::i;52057:218::-;;;;;;:::i;:::-;;:::i;48988:27::-;;;;;;61120:255;;;;;;:::i;:::-;;:::i;32321:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;61519:271;;;;;;:::i;:::-;;:::i;43916:42::-;;43955:3;43916:42;;44806:57;;44844:19;44806:57;;60801:189;;;;;;:::i;:::-;;:::i;58307:466::-;;;;;;:::i;:::-;;:::i;60305:136::-;;;;;;:::i;:::-;;:::i;62403:329::-;;;;;;:::i;:::-;;:::i;65229:145::-;;;:::i;47806:21::-;;;;;-1:-1:-1;;;;;47806:21:0;;;54635:375;;;;;;:::i;:::-;;:::i;63870:265::-;;;;;;:::i;:::-;;:::i;59083:569::-;;;;;;:::i;:::-;;:::i;25295:204::-;25380:4;-1:-1:-1;;;;;;25404:47:0;;-1:-1:-1;;;25404:47:0;;:87;;-1:-1:-1;;;;;;;;;;22710:40:0;;;25455:36;25397:94;25295:204;-1:-1:-1;;25295:204:0:o;62914:323::-;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;63037:28:::1;;63024:9;:41;63020:100;;63087:33;;-1:-1:-1::0;;;63087:33:0::1;;;;;;;;;;;63020:100;63131:28;:40:::0;;;63187:42:::1;::::0;643:25:1;;;63187:42:0::1;::::0;631:2:1;616:18;63187:42:0::1;;;;;;;;62914:323:::0;:::o;31950:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;33427:217::-;33528:10;33501:4;33518:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;33518:30:0;;;;;;;;;;:39;;;33575:37;33501:4;;33518:30;;33575:37;;;;33551:6;643:25:1;;631:2;616:18;;497:177;33575:37:0;;;;;;;;-1:-1:-1;33632:4:0;33427:217;;;;:::o;34045:612::-;-1:-1:-1;;;;;34202:15:0;;34167:4;34202:15;;;:9;:15;;;;;;;;34218:10;34202:27;;;;;;;;-1:-1:-1;;34282:28:0;;34278:80;;34342:16;34352:6;34342:7;:16;:::i;:::-;-1:-1:-1;;;;;34312:15:0;;;;;;:9;:15;;;;;;;;34328:10;34312:27;;;;;;;:46;34278:80;-1:-1:-1;;;;;34371:15:0;;;;;;:9;:15;;;;;:25;;34390:6;;34371:15;:25;;34390:6;;34371:25;:::i;:::-;;;;-1:-1:-1;;;;;;;34547:13:0;;;;;;;:9;:13;;;;;;;:23;;;;;;34599:26;34547:13;;34599:26;;;-1:-1:-1;;;;;;;;;;;34599:26:0;;;34564:6;643:25:1;;631:2;616:18;;497:177;34599:26:0;;;;;;;;-1:-1:-1;34645:4:0;;34045:612;-1:-1:-1;;;;34045:612:0:o;27559:147::-;27192:7;27219:12;;;:6;:12;;;;;:22;;;25187:16;25198:4;25187:10;:16::i;:::-;27673:25:::1;27684:4;27690:7;27673:10;:25::i;:::-;27559:147:::0;;;:::o;63418:322::-;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;63540:28:::1;;63528:9;:40;63524:99;;;63590:33;;-1:-1:-1::0;;;63590:33:0::1;;;;;;;;;;;63524:99;63634:28;:40:::0;;;63690:42:::1;::::0;643:25:1;;;63690:42:0::1;::::0;631:2:1;616:18;63690:42:0::1;497:177:1::0;55460:156:0;55526:7;55605:3;55593:8;;55554:36;55582:7;55554:27;:36::i;:::-;:47;;;;:::i;:::-;55553:55;;;;:::i;36387:179::-;36444:7;36488:16;36471:13;:33;:87;;36534:24;:22;:24::i;:::-;36464:94;;36387:179;:::o;36471:87::-;-1:-1:-1;36507:24:0;;36387:179::o;28703:218::-;-1:-1:-1;;;;;28799:23:0;;3787:10;28799:23;28791:83;;;;-1:-1:-1;;;28791:83:0;;9029:2:1;28791:83:0;;;9011:21:1;9068:2;9048:18;;;9041:30;9107:34;9087:18;;;9080:62;-1:-1:-1;;;9158:18:1;;;9151:45;9213:19;;28791:83:0;;;;;;;;;28887:26;28899:4;28905:7;28887:11;:26::i;:::-;28703:218;;:::o;57681:390::-;57771:12;57785:16;57955:13;;57931;;57924:45;;;;:::i;:::-;57878:28;;57847;;:59;;;;:::i;:::-;57840:130;;;;:::i;:::-;57819:151;;58048:13;;58033:5;:29;;;;:::i;:::-;58000:28;;57993:70;;;;:::i;:::-;57981:82;;57681:390;;:::o;64386:270::-;49813:31;-1:-1:-1;;;;;;;;;;;49833:10:0;49813:7;:31::i;:::-;49812:32;:82;;;;;49862:32;44656:19;49883:10;49862:7;:32::i;:::-;49861:33;49812:82;49794:145;;;49913:26;;-1:-1:-1;;;49913:26:0;;;;;;;;;;;49794:145;64516:70:::1;64534:15;64551:10;64571:4;64578:7;64516:17;:70::i;:::-;64629:19;64635:3;64640:7;64629:5;:19::i;64891:241::-:0;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;65005:51:::1;65019:15;65036:10;65048:7;65005:13;:51::i;:::-;65098:26;65104:10;65116:7;65098:5;:26::i;:::-;64891:241:::0;:::o;61932:329::-;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;43955:3:::1;62016:14;:29;:63;;;-1:-1:-1::0;62049:30:0;;62016:63:::1;:97;;;;62099:14;62083:13;;:30;62016:97;62012:152;;;62135:29;;-1:-1:-1::0;;;62135:29:0::1;;;;;;;;;;;62012:152;62175:13;:30:::0;;;62221:32:::1;::::0;643:25:1;;;62221:32:0::1;::::0;631:2:1;616:18;62221:32:0::1;497:177:1::0;60056:118:0;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;60120:5:::1;:14:::0;;-1:-1:-1;;;;;;60120:14:0::1;-1:-1:-1::0;;;;;60120:14:0;::::1;::::0;;::::1;::::0;;;60150:16:::1;::::0;::::1;::::0;-1:-1:-1;;60150:16:0::1;60056:118:::0;:::o;53744:336::-;53908:7;53917;53959:9;53941:15;:27;53937:66;;;53977:26;;-1:-1:-1;;;53977:26:0;;;;;;;;;;;53937:66;54021:51;54033:7;54042:17;54061:10;54021:11;:51::i;:::-;54014:58;;;;53744:336;;;;;;;:::o;55895:176::-;55979:7;56060:3;56046:10;;56007:36;56035:7;56007:27;:36::i;56702:273::-;56796:16;56826:12;56840:16;56860:32;:30;:32::i;:::-;56825:67;;-1:-1:-1;56825:67:0;-1:-1:-1;56914:53:0;56825:67;56929:25;56944:9;56825:67;56929:25;:::i;:::-;:37;;;;:::i;:::-;56914:14;:53::i;:::-;56903:64;56702:273;-1:-1:-1;;;;56702:273:0:o;59727:166::-;59818:4;;59789:35;;-1:-1:-1;;;59789:35:0;;-1:-1:-1;;;;;59818:4:0;;;59789:35;;;2945:51:1;59770:16:0;;59796:5;59789:20;;;;2918:18:1;;59789:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59835:5;:16;;-1:-1:-1;;;;;;59835:16:0;-1:-1:-1;;;;;59835:16:0;;;;;;;;59867:18;;59835:16;;-1:-1:-1;59835:16:0;59867:18;;-1:-1:-1;;59867:18:0;59759:134;59727:166::o;65570:141::-;50079:32;44844:19;50100:10;50079:7;:32::i;:::-;50074:85;;50133:26;;-1:-1:-1;;;50133:26:0;;;;;;;;;;;50074:85;65622:8:::1;::::0;::::1;;65632:7;65618:21;65649:8;:15:::0;;-1:-1:-1;;65649:15:0::1;65660:4;65649:15:::0;;::::1;::::0;;;65680:23:::1;::::0;445:41:1;;;65680:23:0::1;::::0;433:2:1;418:18;65680:23:0::1;;;;;;;;50170:1;65570:141::o:0;25591:147::-;25677:4;25701:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;25701:29:0;;;;;;;;;;;;;;;25591:147::o;31977:20::-;;;;;;;:::i;57216:457::-;57316:21;57339:35;57408:40;57429:7;57438:9;57408:20;:40::i;:::-;57521:6;;57558:12;;57513:65;;-1:-1:-1;;;57513:65:0;;-1:-1:-1;;;;;57541:15:0;11049::1;;57513:65:0;;;11031:34:1;57558:12:0;;;11081:18:1;;;11074:43;-1:-1:-1;11133:18:1;;;11126:50;;;57392:56:0;;-1:-1:-1;;;57521:6:0;;;;;57513:27;;10966:18:1;;57513:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57459:119;;-1:-1:-1;57459:119:0;-1:-1:-1;57459:119:0;57620:24;57459:119;57620:7;:24;:::i;:::-;57619:46;;;;:::i;:::-;57589:76;;57381:292;;57216:457;;;;;:::o;52848:323::-;53010:7;53052:9;53034:15;:27;53030:66;;;53070:26;;-1:-1:-1;;;53070:26:0;;;;;;;;;;;53030:66;53114:49;53124:7;53133:17;53152:10;53114:9;:49::i;:::-;53107:56;52848:323;-1:-1:-1;;;;;52848:323:0:o;33652:385::-;33749:10;33722:4;33739:21;;;:9;:21;;;;;:31;;33764:6;;33739:21;33722:4;;33739:31;;33764:6;;33739:31;:::i;:::-;;;;-1:-1:-1;;;;;;;33921:13:0;;;;;;:9;:13;;;;;;;:23;;;;;;33973:32;33982:10;;-1:-1:-1;;;;;;;;;;;33973:32:0;;;33938:6;643:25:1;;631:2;616:18;;497:177;60566:124:0;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;60632:6:::1;:16:::0;;-1:-1:-1;;;;;;60632:16:0::1;-1:-1:-1::0;;;;;60632:16:0;::::1;::::0;;::::1;::::0;;;60664:18:::1;::::0;::::1;::::0;-1:-1:-1;;60664:18:0::1;60566:124:::0;:::o;56396:203::-;56508:7;56588:3;56575:9;56536:36;56564:7;56536:27;:36::i;:::-;:48;;;;:::i;:::-;56535:56;;;;:::i;:::-;56528:63;56396:203;-1:-1:-1;;;56396:203:0:o;34852:1527::-;35080:15;35068:8;:27;;35060:63;;;;-1:-1:-1;;;35060:63:0;;11639:2:1;35060:63:0;;;11621:21:1;11678:2;11658:18;;;11651:30;11717:25;11697:18;;;11690:53;11760:18;;35060:63:0;11437:347:1;35060:63:0;35293:24;35320:827;35460:18;:16;:18::i;:::-;-1:-1:-1;;;;;35914:13:0;;;;;;;:6;:13;;;;;;;;;:15;;;;;;;;35545:458;;35590:167;35545:458;;;12076:25:1;12155:18;;;12148:43;;;;12227:15;;;12207:18;;;12200:43;12259:18;;;12252:34;;;12302:19;;;12295:35;;;;12346:19;;;;12339:35;;;35545:458:0;;;;;;;;;;12048:19:1;;;35545:458:0;;;35505:525;;;;;;;;-1:-1:-1;;;35380:673:0;;;12643:27:1;12686:11;;;12679:27;;;;12722:12;;;12715:28;;;;12759:12;;35380:673:0;;;-1:-1:-1;;35380:673:0;;;;;;;;;35348:724;;35380:673;35348:724;;;;35320:827;;;;;;;;;13009:25:1;13082:4;13070:17;;13050:18;;;13043:45;13104:18;;;13097:34;;;13147:18;;;13140:34;;;12981:19;;35320:827:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35320:827:0;;-1:-1:-1;;35320:827:0;;;-1:-1:-1;;;;;;;36172:30:0;;;;;;:59;;;36226:5;-1:-1:-1;;;;;36206:25:0;:16;-1:-1:-1;;;;;36206:25:0;;36172:59;36164:86;;;;-1:-1:-1;;;36164:86:0;;13387:2:1;36164:86:0;;;13369:21:1;13426:2;13406:18;;;13399:30;-1:-1:-1;;;13445:18:1;;;13438:44;13499:18;;36164:86:0;13185:338:1;36164:86:0;-1:-1:-1;;;;;36267:27:0;;;;;;;:9;:27;;;;;;;;:36;;;;;;;;;;;;;:44;;;36340:31;643:25:1;;;36267:36:0;;36340:31;;;;;616:18:1;36340:31:0;;;;;;;34852:1527;;;;;;;:::o;27999:149::-;27192:7;27219:12;;;:6;:12;;;;;:22;;;25187:16;25198:4;25187:10;:16::i;:::-;28114:26:::1;28126:4;28132:7;28114:11;:26::i;52057:218::-:0;52191:7;52218:49;52228:7;52237:17;52256:10;52218:9;:49::i;61120:255::-;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;43955:3:::1;61194:9;:24;:53;;;-1:-1:-1::0;61222:25:0;;61194:53:::1;61190:108;;;61269:29;;-1:-1:-1::0;;;61269:29:0::1;;;;;;;;;;;61190:108;61309:8;:20:::0;;;61345:22:::1;::::0;643:25:1;;;61345:22:0::1;::::0;631:2:1;616:18;61345:22:0::1;497:177:1::0;61519:271:0;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;43955:3:::1;61597:11;:26;:57;;;-1:-1:-1::0;61627:27:0;;61597:57:::1;61593:112;;;61676:29;;-1:-1:-1::0;;;61676:29:0::1;;;;;;;;;;;61593:112;61716:10;:24:::0;;;61756:26:::1;::::0;643:25:1;;;61756:26:0::1;::::0;631:2:1;616:18;61756:26:0::1;497:177:1::0;60801:189:0;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;44197:2:::1;60869:4;:19;60865:60;;;60897:28;;-1:-1:-1::0;;;60897:28:0::1;;;;;;;;;;;60865:60;60936:7;:14:::0;;;60966:16:::1;::::0;643:25:1;;;60966:16:0::1;::::0;631:2:1;616:18;60966:16:0::1;497:177:1::0;58307:466:0;58451:4;;58530:10;;58445:106;;-1:-1:-1;;;58445:106:0;;-1:-1:-1;;;;;58478:15:0;13748:32:1;;58445:106:0;;;13730:51:1;13797:18;;;13790:34;;;13840:18;;;13833:34;;;;-1:-1:-1;;;;58451:4:0;;58445:18;;13703::1;;58445:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;58445:106:0;;;;;;;;;;;;:::i;:::-;58576:14;;58418:133;;-1:-1:-1;58562:11:0;;58634:87;58658:3;58654:1;:7;58634:87;;;58699:7;58707:1;58699:10;;;;;;;;:::i;:::-;;;;;;;58683:26;;;;;:::i;:::-;;-1:-1:-1;58663:3:0;;;;:::i;:::-;;;;58634:87;;;-1:-1:-1;58755:10:0;;58740:25;;:12;:25;:::i;60305:136::-;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;60375:8:::1;:20:::0;;-1:-1:-1;;;;;;60375:20:0::1;-1:-1:-1::0;;;;;60375:20:0;::::1;::::0;;::::1;::::0;;;60411:22:::1;::::0;::::1;::::0;-1:-1:-1;;60411:22:0::1;60305:136:::0;:::o;62403:329::-;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;43955:3:::1;62487:14;:29;:63;;;-1:-1:-1::0;62520:30:0;;62487:63:::1;:97;;;;62571:13;;62554:14;:30;62487:97;62483:152;;;62606:29;;-1:-1:-1::0;;;62606:29:0::1;;;;;;;;;;;62483:152;62646:13;:30:::0;;;62692:32:::1;::::0;643:25:1;;;62692:32:0::1;::::0;631:2:1;616:18;62692:32:0::1;497:177:1::0;65229:145:0;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;65283:8:::1;::::0;::::1;;65278:22:::0;65293:7:::1;65278:22;65310:8;:16:::0;;-1:-1:-1;;65310:16:0::1;::::0;;65342:24:::1;::::0;-1:-1:-1;445:41:1;;65342:24:0::1;::::0;433:2:1;418:18;65342:24:0::1;305:187:1::0;54635:375:0;54827:7;54836;54878:9;54860:15;:27;54856:66;;;54896:26;;-1:-1:-1;;;54896:26:0;;;;;;;;;;;54856:66;54940:62;54952:7;54961:17;54980:10;54992:9;54940:11;:62::i;:::-;54933:69;;;;54635:375;;;;;;;;:::o;63870:265::-;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;44068:2:::1;63948:11;:29;:49;;;-1:-1:-1::0;63981:16:0;;63948:49:::1;63944:106;;;64019:31;;-1:-1:-1::0;;;64019:31:0::1;;;;;;;;;;;63944:106;64061:10;:24:::0;;;64101:26:::1;::::0;643:25:1;;;64101:26:0::1;::::0;631:2:1;616:18;64101:26:0::1;497:177:1::0;59083:569:0;49594:31;-1:-1:-1;;;;;;;;;;;49614:10:0;49594:7;:31::i;:::-;49589:70;;49634:25;;-1:-1:-1;;;49634:25:0;;;;;;;;;;;49589:70;59207:14:::1;59223::::0;59241:5:::1;-1:-1:-1::0;;;;;59241:12:0::1;;:14;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59206:49;;;;59297:13;-1:-1:-1::0;;;;;59287:23:0::1;:6;-1:-1:-1::0;;;;;59287:23:0::1;;:52;;;;;59324:15;-1:-1:-1::0;;;;;59314:25:0::1;:6;-1:-1:-1::0;;;;;59314:25:0::1;;59287:52;59286:129;;;;59372:15;-1:-1:-1::0;;;;;59362:25:0::1;:6;-1:-1:-1::0;;;;;59362:25:0::1;;:52;;;;;59401:13;-1:-1:-1::0;;;;;59391:23:0::1;:6;-1:-1:-1::0;;;;;59391:23:0::1;;59362:52;59266:201;;59435:32;;-1:-1:-1::0;;;59435:32:0::1;;;;;;;;;;;59266:201;59478:4;:12:::0;;-1:-1:-1;;;;;;59478:12:0::1;-1:-1:-1::0;;;;;59478:12:0;;::::1;::::0;;::::1;::::0;;;59509:36:::1;::::0;-1:-1:-1;;;59509:36:0;;::::1;::::0;::::1;2945:51:1::0;;;;59516:5:0::1;59509:20:::0;;::::1;::::0;::::1;::::0;2918:18:1;;59509:36:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59501:5;:44:::0;;-1:-1:-1;;;;;59501:44:0;;::::1;-1:-1:-1::0;;;;;;59501:44:0;;::::1;;::::0;;;59556:12:::1;:28:::0;;;;::::1;::::0;::::1;::::0;::::1;::::0;;59600:44:::1;::::0;59556:28;;59600:44;::::1;::::0;::::1;::::0;59501:5:::1;::::0;59600:44:::1;59195:457;;59083:569:::0;;:::o;26042:105::-;26109:30;26120:4;3787:10;26109;:30::i;30300:238::-;30384:22;30392:4;30398:7;30384;:22::i;:::-;30379:152;;30423:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;30423:29:0;;;;;;;;;:36;;-1:-1:-1;;30423:36:0;30455:4;30423:36;;;30506:12;3787:10;;3707:98;30506:12;-1:-1:-1;;;;;30479:40:0;30497:7;-1:-1:-1;;;;;30479:40:0;30491:4;30479:40;;;;;;;;;;30300:238;;:::o;36574:457::-;36639:7;36740:95;36874:4;36858:22;;;;;;:::i;:::-;;;;;;;;;;36707:301;;;17412:25:1;;;;17453:18;;17446:34;;;;36903:14:0;17496:18:1;;;17489:34;36940:13:0;17539:18:1;;;17532:34;36984:4:0;17582:19:1;;;17575:61;17384:19;;36707:301:0;;;;;;;;;;;;36679:344;;;;;;36659:364;;36574:457;:::o;30718:239::-;30802:22;30810:4;30816:7;30802;:22::i;:::-;30798:152;;;30873:5;30841:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;30841:29:0;;;;;;;;;;:37;;-1:-1:-1;;30841:37:0;;;30898:40;3787:10;;30841:12;;30898:40;;30873:5;30898:40;30718:239;;:::o;71283:496::-;71457:1;71437:5;-1:-1:-1;;;;;71437:17:0;;:21;71429:30;;;;;;71531:152;;;-1:-1:-1;;;;;17905:15:1;;;71531:152:0;;;17887:34:1;17957:15;;;17937:18;;;17930:43;17989:18;;;;17982:34;;;71531:152:0;;;;;;;;;;17822:18:1;;;;71531:152:0;;;;;;;-1:-1:-1;;;;;71531:152:0;-1:-1:-1;;;71531:152:0;;;71506:188;;-1:-1:-1;;;;71506:10:0;;;;:188;;71531:152;71506:188;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71470:224;;;;71713:7;:57;;;;-1:-1:-1;71725:11:0;;:16;;:44;;;71756:4;71745:24;;;;;;;;;;;;:::i;:::-;71705:66;;;;;;71418:361;;71283:496;;;;:::o;37231:335::-;37317:6;37302:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;37474:13:0;;;;;;:9;:13;;;;;;;;:23;;;;;;37526:32;643:25:1;;;-1:-1:-1;;;;;;;;;;;37526:32:0;616:18:1;37526:32:0;;;;;;;;37231:335;;:::o;70933:342::-;71046:1;71026:5;-1:-1:-1;;;;;71026:17:0;;:21;71018:30;;;;;;71120:59;;-1:-1:-1;;;;;18780:32:1;;;71120:59:0;;;18762:51:1;18829:18;;;18822:34;;;71060:12:0;;;;71095:10;;;-1:-1:-1;;;71143:24:0;18735:18:1;;71120:59:0;;;;-1:-1:-1;;71120:59:0;;;;;;;;;;;;;;-1:-1:-1;;;;;71120:59:0;-1:-1:-1;;;;;;71120:59:0;;;;;;;;;;71095:95;;;;71120:59;71095:95;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71059:131;;;;71209:7;:57;;;;-1:-1:-1;71221:11:0;;:16;;:44;;;71252:4;71241:24;;;;;;;;;;;;:::i;:::-;71201:66;;;;;;71007:268;;70933:342;;;:::o;37574:338::-;-1:-1:-1;;;;;37647:15:0;;;;;;:9;:15;;;;;:25;;37666:6;;37647:15;:25;;37666:6;;37647:25;:::i;:::-;;;;-1:-1:-1;;37820:11:0;:21;;;;;;;37870:34;;643:25:1;;;-1:-1:-1;;;;;;;37870:34:0;;;-1:-1:-1;;;;;;;;;;;37870:34:0;631:2:1;616:18;37870:34:0;497:177:1;66759:1010:0;66949:8;;66896:21;;;;66949:8;;66945:41;;;66966:20;;-1:-1:-1;;;66966:20:0;;;;;;;;;;;66945:41;67031:26;67037:10;67049:7;67031:5;:26::i;:::-;67084:29;67105:7;67084:20;:29::i;:::-;67068:45;;67144:17;67128:13;:33;67124:88;;;67183:29;;-1:-1:-1;;;67183:29:0;;;;;;;;;;;67124:88;67342:12;;67301:25;;67329:41;;-1:-1:-1;;;;;67342:12:0;67356:13;67329:12;:41::i;:::-;67301:69;;67381:43;67406:17;67381:24;:43::i;:::-;67482:52;67495:15;67512:12;67526:7;67482:12;:52::i;:::-;67553:125;;-1:-1:-1;;;67553:125:0;;;;;19069:25:1;;;44125:14:0;19110:18:1;;;19103:34;-1:-1:-1;;;;;19173:32:1;;;19153:18;;;19146:60;67567:12:0;67553:43;;;;19042:18:1;;67553:125:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67696:65;;;19608:25:1;;;19664:2;19649:18;;19642:34;;;19692:18;;;19685:34;;;67545:133:0;;-1:-1:-1;;;;;;67696:65:0;;;67707:10;;67696:65;;19596:2:1;19581:18;67696:65:0;;;;;;;66934:835;66759:1010;;;;;;:::o;18099:218::-;18145:7;18287:1;18282;:6;;:15;;18296:1;18295:2;;18282:15;;;-1:-1:-1;18291:1:0;18099:218::o;65911:840::-;66084:8;;66046:21;;66084:8;;66080:41;;;66101:20;;-1:-1:-1;;;66101:20:0;;;;;;;;;;;66080:41;66166:26;66172:10;66184:7;66166:5;:26::i;:::-;66219:27;66238:7;66219:18;:27::i;:::-;66203:43;;66277:17;66261:13;:33;66257:88;;;66316:29;;-1:-1:-1;;;66316:29:0;;;;;;;;;;;66257:88;66475:12;;66434:25;;66462:41;;-1:-1:-1;;;;;66475:12:0;66489:13;66462:12;:41::i;:::-;66434:69;;66514:43;66539:17;66514:24;:43::i;:::-;66618:51;66632:15;66649:10;66661:7;66618:13;:51::i;:::-;66687:56;;;3686:25:1;;;3742:2;3727:18;;3720:34;;;-1:-1:-1;;;;;66687:56:0;;;66696:10;;66687:56;;3659:18:1;66687:56:0;;;;;;;66069:682;65911:840;;;;;:::o;67777:2102::-;68059:8;;68003:21;;;;68059:8;;68055:41;;;68076:20;;-1:-1:-1;;;68076:20:0;;;;;;;;;;;68055:41;68123:13;;68111:9;:25;:54;;;;68152:13;;68140:9;:25;68111:54;68107:109;;;68187:29;;-1:-1:-1;;;68187:29:0;;;;;;;;;;;68107:109;68261:26;68267:10;68279:7;68261:5;:26::i;:::-;68299:21;68321:35;68361:53;68396:7;68404:9;68361:34;:53::i;:::-;68298:116;;;;68445:17;68429:13;:33;68425:88;;;68484:29;;-1:-1:-1;;;68484:29:0;;;;;;;;;;;68425:88;68624:12;;68562:32;;68597:78;;-1:-1:-1;;;;;68624:12:0;68651:13;68597:12;:78::i;:::-;68718:12;;68562:113;;-1:-1:-1;68686:177:0;;-1:-1:-1;;;;;68718:12:0;68745:10;68778:4;68798:54;68825:27;68562:113;68798:54;:::i;:::-;68686:17;:177::i;:::-;68938:6;;68908:46;;68921:15;;-1:-1:-1;;;;;68938:6:0;68946:7;68908:12;:46::i;:::-;68978:12;;68992:6;;68965:63;;-1:-1:-1;;;;;68978:12:0;;;;68992:6;69000:27;68965:12;:63::i;:::-;69064:6;;69129:12;;69056:270;;-1:-1:-1;;;69056:270:0;;-1:-1:-1;;;;;69099:15:0;20167::1;;69056:270:0;;;20149:34:1;69129:12:0;;;20199:18:1;;;20192:43;-1:-1:-1;20251:18:1;;;20244:50;20310:18;;;20303:34;;;20353:19;;;20346:35;;;69064:6:0;20397:19:1;;;20390:35;;;20441:19;;;20434:35;69280:4:0;20485:19:1;;;20478:44;69300:15:0;20538:19:1;;;20531:35;69064:6:0;;;69056:28;;20083:19:1;;69056:270:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69404:5;;69441:4;;69039:287;;-1:-1:-1;;;;;;69404:5:0;;;;-1:-1:-1;69420:45:0;;-1:-1:-1;69441:4:0;69404:5;69039:287;69420:12;:45::i;:::-;69485:6;-1:-1:-1;;;;;69476:32:0;;69523:10;69548:8;69571:39;69600:9;69571:28;:39::i;:::-;69476:145;;-1:-1:-1;;;;;;69476:145:0;;;;;;;-1:-1:-1;;;;;13748:32:1;;;69476:145:0;;;13730:51:1;13797:18;;;13790:34;;;;13840:18;;;13833:34;13703:18;;69476:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69685:24;:22;:24::i;:::-;69727:144;;;19608:25:1;;;19664:2;19649:18;;19642:34;;;19692:18;;;19685:34;;;-1:-1:-1;;;;;69727:144:0;;;69752:10;;69727:144;;19596:2:1;19581:18;69727:144:0;;;;;;;68044:1835;;;;67777:2102;;;;;;;:::o;26437:492::-;26526:22;26534:4;26540:7;26526;:22::i;:::-;26521:401;;26714:28;26734:7;26714:19;:28::i;:::-;26815:38;26843:4;26850:2;26815:19;:38::i;:::-;26619:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;26619:257:0;;;;;;;;;;-1:-1:-1;;;26565:345:0;;;;;;;:::i;69887:305::-;69990:17;70020:16;70067:3;70056:7;;70040:13;:23;;;;:::i;:::-;70039:31;;;;:::i;:::-;70118:8;;70020:50;;-1:-1:-1;70081:56:0;;70099:5;;70106:10;;-1:-1:-1;;;;;70118:8:0;70020:50;70081:17;:56::i;:::-;70160:24;70176:8;70160:13;:24;:::i;70200:179::-;70288:12;;70270:66;;-1:-1:-1;;;;;70288:12:0;70302:10;70322:4;70329:6;70270:17;:66::i;:::-;70347:24;:22;:24::i;71787:384::-;71938:1;71918:5;-1:-1:-1;;;;;71918:17:0;;:21;71910:30;;;;;;72012:63;;-1:-1:-1;;;;;18780:32:1;;;72012:63:0;;;18762:51:1;18829:18;;;18822:34;;;71952:12:0;;;;71987:10;;;-1:-1:-1;;;72035:23:0;18735:18:1;;72012:63:0;18588:274:1;70387:538:0;70486:12;;70479:45;;-1:-1:-1;;;70479:45:0;;70518:4;70479:45;;;2945:51:1;70441:35:0;;-1:-1:-1;;;;;70486:12:0;;70479:30;;2918:18:1;;70479:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70568:5;;70580:12;;70559:34;;-1:-1:-1;;;70559:34:0;;-1:-1:-1;;;;;70580:12:0;;;70559:34;;;2945:51:1;70441:83:0;;-1:-1:-1;70537:19:0;;70568:5;;;70559:20;;2918:18:1;;70559:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70537:56;;70639:11;70609:27;:41;70606:312;;;70765:12;;70779:5;;70752:62;;-1:-1:-1;;;;;70765:12:0;;;;70779:5;70786:27;70752:12;:62::i;:::-;70838:5;;70864:12;;70829:77;;-1:-1:-1;;;70829:77:0;;-1:-1:-1;;;;;70864:12:0;;;70829:77;;;18762:51:1;18829:18;;;18822:34;;;70838:5:0;;;70829:34;;18735:18:1;;70829:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20614:151;20672:13;20705:52;-1:-1:-1;;;;;20717:22:0;;18489:2;20010:447;20085:13;20111:19;20143:10;20147:6;20143:1;:10;:::i;:::-;:14;;20156:1;20143:14;:::i;:::-;20133:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20133:25:0;;20111:47;;-1:-1:-1;;;20169:6:0;20176:1;20169:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20169:15:0;;;;;;;;;-1:-1:-1;;;20195:6:0;20202:1;20195:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20195:15:0;;;;;;;;-1:-1:-1;20226:9:0;20238:10;20242:6;20238:1;:10;:::i;:::-;:14;;20251:1;20238:14;:::i;:::-;20226:26;;20221:131;20258:1;20254;:5;20221:131;;;-1:-1:-1;;;20302:5:0;20310:3;20302:11;20293:21;;;;;;;:::i;:::-;;;;20281:6;20288:1;20281:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;20281:33:0;;;;;;;;-1:-1:-1;20339:1:0;20329:11;;;;;20261:3;;;:::i;:::-;;;20221:131;;;-1:-1:-1;20370:10:0;;20362:55;;;;-1:-1:-1;;;20362:55:0;;22022:2:1;20362:55:0;;;22004:21:1;;;22041:18;;;22034:30;22100:34;22080:18;;;22073:62;22152:18;;20362:55:0;21820:356:1;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:1;;679:180;-1:-1:-1;679:180:1:o;864:258::-;936:1;946:113;960:6;957:1;954:13;946:113;;;1036:11;;;1030:18;1017:11;;;1010:39;982:2;975:10;946:113;;;1077:6;1074:1;1071:13;1068:48;;;1112:1;1103:6;1098:3;1094:16;1087:27;1068:48;;864:258;;;:::o;1127:383::-;1276:2;1265:9;1258:21;1239:4;1308:6;1302:13;1351:6;1346:2;1335:9;1331:18;1324:34;1367:66;1426:6;1421:2;1410:9;1406:18;1401:2;1393:6;1389:15;1367:66;:::i;:::-;1494:2;1473:15;-1:-1:-1;;1469:29:1;1454:45;;;;1501:2;1450:54;;1127:383;-1:-1:-1;;1127:383:1:o;1515:131::-;-1:-1:-1;;;;;1590:31:1;;1580:42;;1570:70;;1636:1;1633;1626:12;1651:315;1719:6;1727;1780:2;1768:9;1759:7;1755:23;1751:32;1748:52;;;1796:1;1793;1786:12;1748:52;1835:9;1822:23;1854:31;1879:5;1854:31;:::i;:::-;1904:5;1956:2;1941:18;;;;1928:32;;-1:-1:-1;;;1651:315:1:o;1971:456::-;2048:6;2056;2064;2117:2;2105:9;2096:7;2092:23;2088:32;2085:52;;;2133:1;2130;2123:12;2085:52;2172:9;2159:23;2191:31;2216:5;2191:31;:::i;:::-;2241:5;-1:-1:-1;2298:2:1;2283:18;;2270:32;2311:33;2270:32;2311:33;:::i;:::-;1971:456;;2363:7;;-1:-1:-1;;;2417:2:1;2402:18;;;;2389:32;;1971:456::o;3007:315::-;3075:6;3083;3136:2;3124:9;3115:7;3111:23;3107:32;3104:52;;;3152:1;3149;3142:12;3104:52;3188:9;3175:23;3165:33;;3248:2;3237:9;3233:18;3220:32;3261:31;3286:5;3261:31;:::i;:::-;3311:5;3301:15;;;3007:315;;;;;:::o;3765:247::-;3824:6;3877:2;3865:9;3856:7;3852:23;3848:32;3845:52;;;3893:1;3890;3883:12;3845:52;3932:9;3919:23;3951:31;3976:5;3951:31;:::i;4017:452::-;4103:6;4111;4119;4127;4180:3;4168:9;4159:7;4155:23;4151:33;4148:53;;;4197:1;4194;4187:12;4148:53;4233:9;4220:23;4210:33;;4290:2;4279:9;4275:18;4262:32;4252:42;;4344:2;4333:9;4329:18;4316:32;4357:31;4382:5;4357:31;:::i;:::-;4017:452;;;;-1:-1:-1;4407:5:1;;4459:2;4444:18;4431:32;;-1:-1:-1;;4017:452:1:o;4727:248::-;4795:6;4803;4856:2;4844:9;4835:7;4831:23;4827:32;4824:52;;;4872:1;4869;4862:12;4824:52;-1:-1:-1;;4895:23:1;;;4965:2;4950:18;;;4937:32;;-1:-1:-1;4727:248:1:o;5202:829::-;5313:6;5321;5329;5337;5345;5353;5361;5414:3;5402:9;5393:7;5389:23;5385:33;5382:53;;;5431:1;5428;5421:12;5382:53;5470:9;5457:23;5489:31;5514:5;5489:31;:::i;:::-;5539:5;-1:-1:-1;5596:2:1;5581:18;;5568:32;5609:33;5568:32;5609:33;:::i;:::-;5661:7;-1:-1:-1;5715:2:1;5700:18;;5687:32;;-1:-1:-1;5766:2:1;5751:18;;5738:32;;-1:-1:-1;5822:3:1;5807:19;;5794:33;5871:4;5858:18;;5846:31;;5836:59;;5891:1;5888;5881:12;5836:59;5202:829;;;;-1:-1:-1;5202:829:1;;;;5914:7;5968:3;5953:19;;5940:33;;-1:-1:-1;6020:3:1;6005:19;;;5992:33;;5202:829;-1:-1:-1;;5202:829:1:o;6036:383::-;6113:6;6121;6129;6182:2;6170:9;6161:7;6157:23;6153:32;6150:52;;;6198:1;6195;6188:12;6150:52;6234:9;6221:23;6211:33;;6291:2;6280:9;6276:18;6263:32;6253:42;;6345:2;6334:9;6330:18;6317:32;6358:31;6383:5;6358:31;:::i;:::-;6408:5;6398:15;;;6036:383;;;;;:::o;6424:388::-;6492:6;6500;6553:2;6541:9;6532:7;6528:23;6524:32;6521:52;;;6569:1;6566;6559:12;6521:52;6608:9;6595:23;6627:31;6652:5;6627:31;:::i;:::-;6677:5;-1:-1:-1;6734:2:1;6719:18;;6706:32;6747:33;6706:32;6747:33;:::i;6817:521::-;6912:6;6920;6928;6936;6944;6997:3;6985:9;6976:7;6972:23;6968:33;6965:53;;;7014:1;7011;7004:12;6965:53;7050:9;7037:23;7027:33;;7107:2;7096:9;7092:18;7079:32;7069:42;;7161:2;7150:9;7146:18;7133:32;7174:31;7199:5;7174:31;:::i;:::-;6817:521;;;;-1:-1:-1;7224:5:1;;7276:2;7261:18;;7248:32;;-1:-1:-1;7327:3:1;7312:19;7299:33;;6817:521;-1:-1:-1;;6817:521:1:o;7750:380::-;7829:1;7825:12;;;;7872;;;7893:61;;7947:4;7939:6;7935:17;7925:27;;7893:61;8000:2;7992:6;7989:14;7969:18;7966:38;7963:161;;8046:10;8041:3;8037:20;8034:1;8027:31;8081:4;8078:1;8071:15;8109:4;8106:1;8099:15;7963:161;;7750:380;;;:::o;8135:127::-;8196:10;8191:3;8187:20;8184:1;8177:31;8227:4;8224:1;8217:15;8251:4;8248:1;8241:15;8267:125;8307:4;8335:1;8332;8329:8;8326:34;;;8340:18;;:::i;:::-;-1:-1:-1;8377:9:1;;8267:125::o;8397:168::-;8437:7;8503:1;8499;8495:6;8491:14;8488:1;8485:21;8480:1;8473:9;8466:17;8462:45;8459:71;;;8510:18;;:::i;:::-;-1:-1:-1;8550:9:1;;8397:168::o;8570:127::-;8631:10;8626:3;8622:20;8619:1;8612:31;8662:4;8659:1;8652:15;8686:4;8683:1;8676:15;8702:120;8742:1;8768;8758:35;;8773:18;;:::i;:::-;-1:-1:-1;8807:9:1;;8702:120::o;9243:267::-;9282:4;9311:9;;;9336:10;;-1:-1:-1;;;9355:19:1;;9348:27;;9332:44;9329:70;;;9379:18;;:::i;:::-;-1:-1:-1;;;;;9426:27:1;;9419:35;;9411:44;;9408:70;;;9458:18;;:::i;:::-;-1:-1:-1;;9495:9:1;;9243:267::o;9515:193::-;9554:1;9580;9570:35;;9585:18;;:::i;:::-;-1:-1:-1;;;9621:18:1;;-1:-1:-1;;9641:13:1;;9617:38;9614:64;;;9658:18;;:::i;:::-;-1:-1:-1;9692:10:1;;9515:193::o;9713:553::-;9752:7;-1:-1:-1;;;;;9822:9:1;;;9850;;;9875:11;;;9894:10;;;9888:17;;9871:35;9868:61;;;9909:18;;:::i;:::-;-1:-1:-1;;;9985:1:1;9978:9;;10003:11;;;10023;;;10016:19;;9999:37;9996:63;;;10039:18;;:::i;:::-;10085:1;10082;10078:9;10068:19;;10132:1;10128:2;10123:11;10120:1;10116:19;10111:2;10107;10103:11;10099:37;10096:63;;;10139:18;;:::i;:::-;10204:1;10200:2;10195:11;10192:1;10188:19;10183:2;10179;10175:11;10171:37;10168:63;;;10211:18;;:::i;:::-;-1:-1:-1;;;10251:9:1;;;;;9713:553;-1:-1:-1;;;9713:553:1:o;10271:265::-;10310:3;10338:9;;;10363:10;;-1:-1:-1;;;;;10382:27:1;;;10375:35;;10359:52;10356:78;;;10414:18;;:::i;:::-;-1:-1:-1;;;10461:19:1;;;10454:27;;10446:36;;10443:62;;;10485:18;;:::i;:::-;-1:-1:-1;;10521:9:1;;10271:265::o;10541:251::-;10611:6;10664:2;10652:9;10643:7;10639:23;10635:32;10632:52;;;10680:1;10677;10670:12;10632:52;10712:9;10706:16;10731:31;10756:5;10731:31;:::i;11187:245::-;11266:6;11274;11327:2;11315:9;11306:7;11302:23;11298:32;11295:52;;;11343:1;11340;11333:12;11295:52;-1:-1:-1;;11366:16:1;;11422:2;11407:18;;;11401:25;11366:16;;11401:25;;-1:-1:-1;11187:245:1:o;13878:127::-;13939:10;13934:3;13930:20;13927:1;13920:31;13970:4;13967:1;13960:15;13994:4;13991:1;13984:15;14010:1105;14105:6;14136:2;14179;14167:9;14158:7;14154:23;14150:32;14147:52;;;14195:1;14192;14185:12;14147:52;14228:9;14222:16;14257:18;14298:2;14290:6;14287:14;14284:34;;;14314:1;14311;14304:12;14284:34;14352:6;14341:9;14337:22;14327:32;;14397:7;14390:4;14386:2;14382:13;14378:27;14368:55;;14419:1;14416;14409:12;14368:55;14448:2;14442:9;14470:2;14466;14463:10;14460:36;;;14476:18;;:::i;:::-;14522:2;14519:1;14515:10;14554:2;14548:9;14617:2;14613:7;14608:2;14604;14600:11;14596:25;14588:6;14584:38;14672:6;14660:10;14657:22;14652:2;14640:10;14637:18;14634:46;14631:72;;;14683:18;;:::i;:::-;14719:2;14712:22;14769:18;;;14803:15;;;;-1:-1:-1;14845:11:1;;;14841:20;;;14873:19;;;14870:39;;;14905:1;14902;14895:12;14870:39;14929:11;;;;14949:135;14965:6;14960:3;14957:15;14949:135;;;15031:10;;15019:23;;14982:12;;;;15062;;;;14949:135;;;15103:6;14010:1105;-1:-1:-1;;;;;;;;14010:1105:1:o;15120:127::-;15181:10;15176:3;15172:20;15169:1;15162:31;15212:4;15209:1;15202:15;15236:4;15233:1;15226:15;15252:128;15292:3;15323:1;15319:6;15316:1;15313:13;15310:39;;;15329:18;;:::i;:::-;-1:-1:-1;15365:9:1;;15252:128::o;15385:135::-;15424:3;15445:17;;;15442:43;;15465:18;;:::i;:::-;-1:-1:-1;15512:1:1;15501:13;;15385:135::o;15525:385::-;15604:6;15612;15665:2;15653:9;15644:7;15640:23;15636:32;15633:52;;;15681:1;15678;15671:12;15633:52;15713:9;15707:16;15732:31;15757:5;15732:31;:::i;:::-;15832:2;15817:18;;15811:25;15782:5;;-1:-1:-1;15845:33:1;15811:25;15845:33;:::i;16044:1104::-;16174:3;16203:1;16236:6;16230:13;16266:3;16288:1;16316:9;16312:2;16308:18;16298:28;;16376:2;16365:9;16361:18;16398;16388:61;;16442:4;16434:6;16430:17;16420:27;;16388:61;16468:2;16516;16508:6;16505:14;16485:18;16482:38;16479:165;;-1:-1:-1;;;16543:33:1;;16599:4;16596:1;16589:15;16629:4;16550:3;16617:17;16479:165;16660:18;16687:104;;;;16805:1;16800:323;;;;16653:470;;16687:104;-1:-1:-1;;16720:24:1;;16708:37;;16765:16;;;;-1:-1:-1;16687:104:1;;16800:323;15991:1;15984:14;;;16028:4;16015:18;;16898:1;16912:165;16926:6;16923:1;16920:13;16912:165;;;17004:14;;16991:11;;;16984:35;17047:16;;;;16941:10;;16912:165;;;16916:3;;17106:6;17101:3;17097:16;17090:23;;16653:470;-1:-1:-1;17139:3:1;;16044:1104;-1:-1:-1;;;;;;;;16044:1104:1:o;18027:274::-;18156:3;18194:6;18188:13;18210:53;18256:6;18251:3;18244:4;18236:6;18232:17;18210:53;:::i;:::-;18279:16;;;;;18027:274;-1:-1:-1;;18027:274:1:o;18306:277::-;18373:6;18426:2;18414:9;18405:7;18401:23;18397:32;18394:52;;;18442:1;18439;18432:12;18394:52;18474:9;18468:16;18527:5;18520:13;18513:21;18506:5;18503:32;18493:60;;18549:1;18546;18539:12;19217:184;19287:6;19340:2;19328:9;19319:7;19315:23;19311:32;19308:52;;;19356:1;19353;19346:12;19308:52;-1:-1:-1;19379:16:1;;19217:184;-1:-1:-1;19217:184:1:o;20577:306::-;20665:6;20673;20681;20734:2;20722:9;20713:7;20709:23;20705:32;20702:52;;;20750:1;20747;20740:12;20702:52;20779:9;20773:16;20763:26;;20829:2;20818:9;20814:18;20808:25;20798:35;;20873:2;20862:9;20858:18;20852:25;20842:35;;20577:306;;;;;:::o;20888:786::-;21299:25;21294:3;21287:38;21269:3;21354:6;21348:13;21370:62;21425:6;21420:2;21415:3;21411:12;21404:4;21396:6;21392:17;21370:62;:::i;:::-;-1:-1:-1;;;21491:2:1;21451:16;;;21483:11;;;21476:40;21541:13;;21563:63;21541:13;21612:2;21604:11;;21597:4;21585:17;;21563:63;:::i;:::-;21646:17;21665:2;21642:26;;20888:786;-1:-1:-1;;;;20888:786:1:o;21679:136::-;21718:3;21746:5;21736:39;;21755:18;;:::i;:::-;-1:-1:-1;;;21791:18:1;;21679:136::o

Swarm Source

ipfs://9be36efbc4b70ce243646cec260ff2b1f90ed986bb58e4dd0989f69553de4b0f
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.